@adobe/design-system-registry 0.0.0-layout-20260209174611

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,184 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/registry-value.json",
3
+ "type": "state",
4
+ "description": "Interaction states for components",
5
+ "allowCustom": true,
6
+ "customPattern": "^[a-z][a-z0-9-]*(\\s\\+\\s[a-z][a-z0-9-]*)*$",
7
+ "values": [
8
+ {
9
+ "id": "default",
10
+ "label": "Default",
11
+ "description": "The default, resting state of a component",
12
+ "default": true,
13
+ "usedIn": ["tokens", "component-options", "component-schemas"],
14
+ "definition": {
15
+ "superordinate": "interaction state",
16
+ "description": "The initial, resting state of a user interface component before any user interaction occurs",
17
+ "essentialCharacteristics": [
18
+ "Represents the component's appearance without user interaction",
19
+ "The baseline state from which all other states transition",
20
+ "Should communicate the component's purpose and interactivity at a glance"
21
+ ]
22
+ },
23
+ "terminology": {
24
+ "conceptType": "term",
25
+ "namingRationale": "Industry-standard term used consistently across design systems and platforms"
26
+ },
27
+ "sources": [
28
+ {
29
+ "type": "industry-standard",
30
+ "reference": "Common UI design terminology",
31
+ "date": "2025-01-12"
32
+ }
33
+ ],
34
+ "governance": {
35
+ "owner": "Spectrum Core Team",
36
+ "reviewDate": "2025-01-12",
37
+ "status": "approved"
38
+ },
39
+ "relatedTerms": ["hover", "focus", "disabled"]
40
+ },
41
+ {
42
+ "id": "hover",
43
+ "label": "Hover",
44
+ "description": "Mouse hover state",
45
+ "usedIn": ["tokens", "component-options", "component-schemas"],
46
+ "definition": {
47
+ "superordinate": "interaction state",
48
+ "description": "The state when a pointer device (such as a mouse cursor) is positioned over a component's interactive area without pressing",
49
+ "essentialCharacteristics": [
50
+ "Triggered by pointer positioning, not by clicking or pressing",
51
+ "Provides visual feedback that the element is interactive",
52
+ "Should be subtle enough not to distract from the overall interface",
53
+ "Reversible when the pointer moves away"
54
+ ]
55
+ },
56
+ "platforms": {
57
+ "web": {
58
+ "term": "hover",
59
+ "notes": "CSS :hover pseudo-class",
60
+ "reference": "https://developer.mozilla.org/en-US/docs/Web/CSS/:hover"
61
+ },
62
+ "iOS": {
63
+ "term": "highlighted",
64
+ "notes": "iOS uses 'highlighted' for similar visual feedback on touch devices with pointer support",
65
+ "reference": "UIControl.State.highlighted"
66
+ }
67
+ },
68
+ "terminology": {
69
+ "conceptType": "term",
70
+ "namingRationale": "Standard interaction design term describing pointer-based feedback"
71
+ },
72
+ "sources": [
73
+ {
74
+ "type": "industry-standard",
75
+ "reference": "W3C CSS specification",
76
+ "url": "https://www.w3.org/TR/selectors-4/#hover-pseudo",
77
+ "date": "2025-01-12"
78
+ }
79
+ ],
80
+ "governance": {
81
+ "owner": "Spectrum Core Team",
82
+ "reviewDate": "2025-01-12",
83
+ "status": "approved"
84
+ },
85
+ "relatedTerms": ["default", "active", "focus"]
86
+ },
87
+ {
88
+ "id": "active",
89
+ "label": "Active",
90
+ "description": "Active or pressed state",
91
+ "usedIn": ["component-options", "component-schemas"]
92
+ },
93
+ {
94
+ "id": "focus",
95
+ "label": "Focus",
96
+ "description": "Focused state (generic)",
97
+ "usedIn": ["component-options", "component-schemas"]
98
+ },
99
+ {
100
+ "id": "keyboard-focus",
101
+ "label": "Keyboard Focus",
102
+ "aliases": ["keyboard focus"],
103
+ "description": "Focused via keyboard navigation",
104
+ "usedIn": ["tokens", "component-options", "component-schemas"],
105
+ "definition": {
106
+ "superordinate": "interaction state",
107
+ "description": "The state when a component receives focus through keyboard navigation, indicating it will respond to keyboard input",
108
+ "essentialCharacteristics": [
109
+ "Specifically indicates focus achieved through keyboard interaction (Tab, arrow keys)",
110
+ "Requires prominent visual indicator for accessibility (WCAG 2.4.7)",
111
+ "Different from generic focus to support :focus-visible patterns",
112
+ "Critical for keyboard-only users to understand their current position"
113
+ ]
114
+ },
115
+ "platforms": {
116
+ "web": {
117
+ "term": "keyboard-focus",
118
+ "notes": "Often implemented with :focus-visible pseudo-class",
119
+ "reference": "https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible"
120
+ },
121
+ "iOS": {
122
+ "term": "focused",
123
+ "notes": "UIFocusSystem for keyboard and pointer navigation",
124
+ "reference": "UIFocusSystem"
125
+ }
126
+ },
127
+ "terminology": {
128
+ "conceptType": "term",
129
+ "namingRationale": "Distinguishes keyboard-based focus from programmatic focus, following modern accessibility standards"
130
+ },
131
+ "sources": [
132
+ {
133
+ "type": "industry-standard",
134
+ "reference": "WCAG 2.4.7 Focus Visible",
135
+ "url": "https://www.w3.org/WAI/WCAG21/Understanding/focus-visible.html",
136
+ "date": "2025-01-12"
137
+ },
138
+ {
139
+ "type": "industry-standard",
140
+ "reference": "W3C :focus-visible specification",
141
+ "url": "https://www.w3.org/TR/selectors-4/#the-focus-visible-pseudo",
142
+ "date": "2025-01-12"
143
+ }
144
+ ],
145
+ "governance": {
146
+ "owner": "Spectrum Core Team",
147
+ "reviewDate": "2025-01-12",
148
+ "status": "approved"
149
+ },
150
+ "relatedTerms": ["focus", "default", "hover"]
151
+ },
152
+ {
153
+ "id": "disabled",
154
+ "label": "Disabled",
155
+ "description": "Disabled or inactive state",
156
+ "usedIn": ["component-options", "component-schemas"]
157
+ },
158
+ {
159
+ "id": "down",
160
+ "label": "Down",
161
+ "description": "Pressed or down state (mouse button down)",
162
+ "usedIn": ["tokens", "component-schemas"]
163
+ },
164
+ {
165
+ "id": "pending",
166
+ "label": "Pending",
167
+ "description": "Loading or pending state",
168
+ "usedIn": ["tokens"]
169
+ },
170
+ {
171
+ "id": "selected",
172
+ "label": "Selected",
173
+ "description": "Selected or chosen state",
174
+ "usedIn": ["component-schemas"]
175
+ },
176
+ {
177
+ "id": "drag-and-drop",
178
+ "label": "Drag and Drop",
179
+ "aliases": ["drag and drop"],
180
+ "description": "Being dragged or drag target state",
181
+ "usedIn": ["component-schemas"]
182
+ }
183
+ ]
184
+ }