The inheritance declaration. References: entityExtends [ { "kind": "extends", "extends": { "identifier": "button", "system": "@acme/core", "url": "https://design.acme.com/core/components/button", "version": "^3.0.0", "description": "Enterprise Button — adds an `enterprise` variant, a `loading` state, and stricter accessibility guidelines on top of the core Button. Inherits anatomy, states, and base API.", "modifications": [ { "type": "added", "target": "variant:enterprise", "description": "New high-emphasis variant for enterprise contexts that uses brand-on-dark colors and an outlined focus ring." }, { "type": "added", "target": "state:loading", "description": "Adds a `loading` state that swaps the label for a spinner while preserving button width." }, { "type": "modified", "target": "guideline:accessibility", "description": "Tightens the minimum touch-target guideline from 40px to 44px to align with WCAG 2.2 AA." }, { "type": "inherited", "target": "prop:variant", "description": "Inherits the `variant` prop from the core Button. The new `enterprise` value extends the core enum." } ] } }, { "kind": "extends", "extends": { "identifier": "button", "system": "@acme/core", "version": "3.1.0" } } ]

Design System Documentation Spec (DSDS) 0.2.1 — Draft Specification

GitHub