@atom63/ui-react 0.2.0-beta.1 → 0.2.0-beta.11
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.
- package/LICENSE +21 -0
- package/README.md +61 -50
- package/dist/{button-sktq-nvV.d.ts → button-CfLIHg-R.d.ts} +1 -1
- package/dist/calendar/index.d.ts +7 -0
- package/dist/calendar/index.js +116 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/chunk-GDUMA6FI.js +2678 -0
- package/dist/chunk-GDUMA6FI.js.map +1 -0
- package/dist/{chunk-STCXERLM.js → chunk-J77BAGTA.js} +8 -148
- package/dist/chunk-J77BAGTA.js.map +1 -0
- package/dist/chunk-NBHGMMQN.js +135 -0
- package/dist/chunk-NBHGMMQN.js.map +1 -0
- package/dist/{chunk-7VSPECOH.js → chunk-R67OZVA2.js} +4 -14
- package/dist/chunk-R67OZVA2.js.map +1 -0
- package/dist/chunk-UPPHQLZ2.js +18 -0
- package/dist/chunk-UPPHQLZ2.js.map +1 -0
- package/dist/{chunk-MXNO63TC.js → chunk-X5L5DEUZ.js} +597 -290
- package/dist/chunk-X5L5DEUZ.js.map +1 -0
- package/dist/{destination-link-C9NKeKLe.d.ts → destination-link-DMLeR-oF.d.ts} +1 -1
- package/dist/index-BDzW8upQ.d.ts +442 -0
- package/dist/index.d.ts +56 -458
- package/dist/index.js +344 -3038
- package/dist/index.js.map +1 -1
- package/dist/layout/index.d.ts +8 -6
- package/dist/layout/index.js +16 -14
- package/dist/layout/index.js.map +1 -1
- package/dist/media/index.d.ts +15 -4
- package/dist/media/index.js +213 -46
- package/dist/media/index.js.map +1 -1
- package/dist/media/media-lightbox/parts/index.d.ts +23 -15
- package/dist/media/media-lightbox/parts/index.js +3 -2
- package/dist/preview/index.d.ts +16 -0
- package/dist/preview/index.js +6 -0
- package/dist/preview/index.js.map +1 -0
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/index.js +82 -37
- package/dist/theme/index.js.map +1 -1
- package/package.json +36 -27
- package/src/components/accordion/accordion.css +2 -4
- package/src/components/alert-dialog/alert-dialog.css +1 -1
- package/src/components/autocomplete/autocomplete.css +3 -7
- package/src/components/badge/badge.css +48 -51
- package/src/components/breadcrumb/breadcrumb.css +1 -2
- package/src/components/button/button.css +8 -6
- package/src/components/button-group/button-group.css +17 -1
- package/src/components/calendar/calendar.css +6 -9
- package/src/components/card/card.css +2 -2
- package/src/components/carousel/carousel.css +4 -8
- package/src/components/checkbox/checkbox.css +1 -1
- package/src/components/command/command.css +8 -0
- package/src/components/connected-panel/connected-panel.css +3 -2
- package/src/components/dialog/dialog.css +1 -1
- package/src/components/drawer/drawer.css +1 -1
- package/src/components/empty/empty.css +2 -2
- package/src/components/feedback-state/feedback-state.css +1 -1
- package/src/components/field/field.css +4 -4
- package/src/components/form/form.css +2 -2
- package/src/components/input/input.css +2 -6
- package/src/components/input-otp/input-otp.css +4 -11
- package/src/components/item/item.css +3 -3
- package/src/components/menu/menu.css +5 -4
- package/src/components/menubar/menubar.css +4 -1
- package/src/components/navigation-menu/navigation-menu.css +5 -1
- package/src/components/panel-setting-button/panel-setting-button.css +1 -1
- package/src/components/radio/radio.css +1 -1
- package/src/components/resizable/resizable.css +1 -1
- package/src/components/scroll-area/scroll-area.css +1 -2
- package/src/components/scrollable-list/scrollable-list.css +4 -7
- package/src/components/segmented-control/segmented-control.css +8 -1
- package/src/components/select/select.css +2 -6
- package/src/components/sidebar/sidebar.css +12 -12
- package/src/components/sidebar-nav-tree/sidebar-nav-tree.css +8 -8
- package/src/components/slider/slider.css +6 -6
- package/src/components/switch/switch.css +3 -3
- package/src/components/table/table.css +7 -1
- package/src/components/tabs/tabs.css +15 -1
- package/src/components/textarea/textarea.css +2 -6
- package/src/components/toggle/toggle.css +5 -4
- package/src/components/toggle-group/toggle-group.css +4 -4
- package/src/media/media-lightbox/media-lightbox.css +15 -5
- package/src/styles/index.css +1 -0
- package/src/styles/utilities.css +2234 -0
- package/dist/chunk-7VSPECOH.js.map +0 -1
- package/dist/chunk-MXNO63TC.js.map +0 -1
- package/dist/chunk-STCXERLM.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom63/ui-react",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.11",
|
|
4
4
|
"description": "React components, layout primitives, media, and theme controls for the Atom63 design system",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/atom63/atom63-design-system.git",
|
|
9
9
|
"directory": "packages/ui-react"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/
|
|
11
|
+
"homepage": "https://github.com/atom63/atom63-design-system/tree/main/packages/ui-react#readme",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/atom63/atom63-design-system/issues"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
@@ -30,29 +30,35 @@
|
|
|
30
30
|
"style": "./src/styles/index.css",
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
33
|
-
"
|
|
34
|
-
"typescript": "./src/index.ts",
|
|
33
|
+
"@atom63/source": "./src/index.ts",
|
|
35
34
|
"types": "./dist/index.d.ts",
|
|
36
35
|
"import": "./dist/index.js"
|
|
37
36
|
},
|
|
37
|
+
"./calendar": {
|
|
38
|
+
"@atom63/source": "./src/calendar/index.ts",
|
|
39
|
+
"types": "./dist/calendar/index.d.ts",
|
|
40
|
+
"import": "./dist/calendar/index.js"
|
|
41
|
+
},
|
|
38
42
|
"./layout": {
|
|
39
|
-
"
|
|
40
|
-
"typescript": "./src/layout/index.ts",
|
|
43
|
+
"@atom63/source": "./src/layout/index.ts",
|
|
41
44
|
"types": "./dist/layout/index.d.ts",
|
|
42
45
|
"import": "./dist/layout/index.js"
|
|
43
46
|
},
|
|
44
47
|
"./media": {
|
|
45
|
-
"
|
|
46
|
-
"typescript": "./src/media/index.ts",
|
|
48
|
+
"@atom63/source": "./src/media/index.ts",
|
|
47
49
|
"types": "./dist/media/index.d.ts",
|
|
48
50
|
"import": "./dist/media/index.js"
|
|
49
51
|
},
|
|
50
52
|
"./media/lightbox": {
|
|
51
|
-
"
|
|
52
|
-
"typescript": "./src/media/media-lightbox/parts/index.ts",
|
|
53
|
+
"@atom63/source": "./src/media/media-lightbox/parts/index.ts",
|
|
53
54
|
"types": "./dist/media/media-lightbox/parts/index.d.ts",
|
|
54
55
|
"import": "./dist/media/media-lightbox/parts/index.js"
|
|
55
56
|
},
|
|
57
|
+
"./preview": {
|
|
58
|
+
"@atom63/source": "./src/preview/index.ts",
|
|
59
|
+
"types": "./dist/preview/index.d.ts",
|
|
60
|
+
"import": "./dist/preview/index.js"
|
|
61
|
+
},
|
|
56
62
|
"./recipes.css": "./src/styles/recipes.css",
|
|
57
63
|
"./recipes/media-lightbox.css": "./src/media/media-lightbox/media-lightbox.css",
|
|
58
64
|
"./recipes/accordion.css": "./src/components/accordion/accordion.css",
|
|
@@ -119,8 +125,7 @@
|
|
|
119
125
|
"./reset.css": "./src/styles/reset.css",
|
|
120
126
|
"./styles.css": "./src/styles/index.css",
|
|
121
127
|
"./theme": {
|
|
122
|
-
"
|
|
123
|
-
"typescript": "./src/theme/index.ts",
|
|
128
|
+
"@atom63/source": "./src/theme/index.ts",
|
|
124
129
|
"types": "./dist/theme/index.d.ts",
|
|
125
130
|
"import": "./dist/theme/index.js"
|
|
126
131
|
}
|
|
@@ -134,29 +139,29 @@
|
|
|
134
139
|
"src/**/*.css"
|
|
135
140
|
],
|
|
136
141
|
"dependencies": {
|
|
137
|
-
"@base-ui/react": "
|
|
142
|
+
"@base-ui/react": "1.6.0",
|
|
138
143
|
"clsx": "^2.1.1",
|
|
139
|
-
"date-fns": "^4.4.0",
|
|
140
144
|
"embla-carousel-react": "^8.6.0",
|
|
141
145
|
"input-otp": "^1.4.2",
|
|
142
146
|
"lucide-react": "^1.34.0",
|
|
143
147
|
"motion": "^13.1.1",
|
|
144
148
|
"react-day-picker": "^10.0.1",
|
|
145
|
-
"react-hook-form": "^7.81.0",
|
|
146
149
|
"react-resizable-panels": "^4.12.1",
|
|
147
150
|
"sonner": "^2.0.7",
|
|
148
151
|
"tailwind-merge": "^3.6.0",
|
|
149
|
-
"@atom63/styles": "0.1.0-beta.
|
|
150
|
-
"@atom63/ui-foundation": "0.1.1-beta.
|
|
152
|
+
"@atom63/styles": "0.1.0-beta.7",
|
|
153
|
+
"@atom63/ui-foundation": "0.1.1-beta.4"
|
|
151
154
|
},
|
|
152
155
|
"peerDependencies": {
|
|
153
156
|
"react": "^19.1.0",
|
|
154
|
-
"react-dom": "^19.1.0"
|
|
157
|
+
"react-dom": "^19.1.0",
|
|
158
|
+
"react-hook-form": "^7.81.0"
|
|
155
159
|
},
|
|
156
160
|
"devDependencies": {
|
|
157
161
|
"@eslint/js": "10.0.1",
|
|
158
|
-
"@storybook/addon-docs": "^10.
|
|
159
|
-
"@storybook/react-vite": "^10.
|
|
162
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
163
|
+
"@storybook/react-vite": "^10.6.0",
|
|
164
|
+
"@tailwindcss/cli": "^4.3.2",
|
|
160
165
|
"@testing-library/jest-dom": "6.9.1",
|
|
161
166
|
"@testing-library/react": "16.3.2",
|
|
162
167
|
"@testing-library/user-event": "14.6.1",
|
|
@@ -170,19 +175,23 @@
|
|
|
170
175
|
"jsdom": "29.1.1",
|
|
171
176
|
"react": "^19.2.7",
|
|
172
177
|
"react-dom": "^19.2.7",
|
|
178
|
+
"react-hook-form": "^7.81.0",
|
|
179
|
+
"tailwindcss": "^4.3.2",
|
|
173
180
|
"tsup": "^8.3.5",
|
|
174
181
|
"typescript": "~5.8.3",
|
|
175
182
|
"typescript-eslint": "8.64.0",
|
|
176
|
-
"vitest": "4.1.
|
|
177
|
-
"@atom63/
|
|
178
|
-
"@atom63/
|
|
183
|
+
"vitest": "4.1.11",
|
|
184
|
+
"@atom63/eslint-config": "0.1.0",
|
|
185
|
+
"@atom63/tsconfig": "0.1.0"
|
|
179
186
|
},
|
|
180
187
|
"scripts": {
|
|
181
188
|
"build": "tsup",
|
|
182
189
|
"dev": "tsup --watch",
|
|
183
190
|
"typecheck": "tsc --noEmit",
|
|
184
|
-
"lint": "eslint . --cache --max-warnings
|
|
191
|
+
"lint": "eslint . --cache --max-warnings 11",
|
|
185
192
|
"test": "vitest run",
|
|
186
|
-
"test:watch": "vitest"
|
|
193
|
+
"test:watch": "vitest",
|
|
194
|
+
"generate:utilities": "node scripts/generate-utilities-css.mjs",
|
|
195
|
+
"check:utilities": "node scripts/generate-utilities-css.mjs --check"
|
|
187
196
|
}
|
|
188
197
|
}
|
|
@@ -77,10 +77,8 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.a63-Accordion-trigger:focus-visible {
|
|
80
|
-
|
|
81
|
-
var(--a63-
|
|
82
|
-
0 0 0 var(--a63-trigger-focus-ring-width)
|
|
83
|
-
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
80
|
+
outline: var(--a63-trigger-focus-ring-width) solid
|
|
81
|
+
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
.a63-Accordion-trigger[data-disabled] {
|
|
@@ -42,9 +42,7 @@
|
|
|
42
42
|
line-height: 1;
|
|
43
43
|
appearance: none;
|
|
44
44
|
outline: none;
|
|
45
|
-
transition:
|
|
46
|
-
border-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
47
|
-
box-shadow var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
45
|
+
transition: border-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
.a63-Autocomplete-input::placeholder {
|
|
@@ -53,10 +51,8 @@
|
|
|
53
51
|
|
|
54
52
|
.a63-Autocomplete-input:focus-visible {
|
|
55
53
|
border-color: var(--a63-action-primary);
|
|
56
|
-
|
|
57
|
-
var(--a63-
|
|
58
|
-
0 0 0 var(--a63-control-focus-ring-width)
|
|
59
|
-
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
54
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
55
|
+
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
60
56
|
}
|
|
61
57
|
|
|
62
58
|
.a63-Autocomplete-input[data-has-start-addon] {
|
|
@@ -96,95 +96,95 @@
|
|
|
96
96
|
--badge-fg: var(--a63-action-danger-foreground);
|
|
97
97
|
}
|
|
98
98
|
.a63-Badge[data-variant='error'] {
|
|
99
|
-
--badge-bg:
|
|
100
|
-
--badge-fg: var(--a63-action-danger);
|
|
99
|
+
--badge-bg: var(--a63-action-danger-subtle);
|
|
100
|
+
--badge-fg: var(--a63-action-danger-subtle-foreground);
|
|
101
101
|
}
|
|
102
102
|
.a63-Badge[data-variant='info'] {
|
|
103
|
-
--badge-bg:
|
|
104
|
-
--badge-fg: var(--a63-status-info);
|
|
103
|
+
--badge-bg: var(--a63-status-info-subtle);
|
|
104
|
+
--badge-fg: var(--a63-status-info-subtle-foreground);
|
|
105
105
|
}
|
|
106
106
|
.a63-Badge[data-variant='success'] {
|
|
107
|
-
--badge-bg:
|
|
108
|
-
--badge-fg: var(--a63-status-success);
|
|
107
|
+
--badge-bg: var(--a63-status-success-subtle);
|
|
108
|
+
--badge-fg: var(--a63-status-success-subtle-foreground);
|
|
109
109
|
}
|
|
110
110
|
.a63-Badge[data-variant='warning'] {
|
|
111
|
-
--badge-bg:
|
|
112
|
-
--badge-fg: var(--a63-status-warning);
|
|
111
|
+
--badge-bg: var(--a63-status-warning-subtle);
|
|
112
|
+
--badge-fg: var(--a63-status-warning-subtle-foreground);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
/* ── Palette variants (category hues
|
|
116
|
-
/* Tonal chip:
|
|
115
|
+
/* ── Palette variants (category hues) ───────────────────────────────────── */
|
|
116
|
+
/* Tonal chip: the semantic category tint (--a63-category-<hue>-subtle) and its text. */
|
|
117
117
|
.a63-Badge[data-variant='red'] {
|
|
118
|
-
--badge-bg:
|
|
119
|
-
--badge-fg: var(--a63-
|
|
118
|
+
--badge-bg: var(--a63-category-red-subtle);
|
|
119
|
+
--badge-fg: var(--a63-category-red-subtle-foreground);
|
|
120
120
|
}
|
|
121
121
|
.a63-Badge[data-variant='orange'] {
|
|
122
|
-
--badge-bg:
|
|
123
|
-
--badge-fg: var(--a63-
|
|
122
|
+
--badge-bg: var(--a63-category-orange-subtle);
|
|
123
|
+
--badge-fg: var(--a63-category-orange-subtle-foreground);
|
|
124
124
|
}
|
|
125
125
|
.a63-Badge[data-variant='amber'] {
|
|
126
|
-
--badge-bg:
|
|
127
|
-
--badge-fg: var(--a63-
|
|
126
|
+
--badge-bg: var(--a63-category-amber-subtle);
|
|
127
|
+
--badge-fg: var(--a63-category-amber-subtle-foreground);
|
|
128
128
|
}
|
|
129
129
|
.a63-Badge[data-variant='yellow'] {
|
|
130
|
-
--badge-bg:
|
|
131
|
-
--badge-fg: var(--a63-
|
|
130
|
+
--badge-bg: var(--a63-category-yellow-subtle);
|
|
131
|
+
--badge-fg: var(--a63-category-yellow-subtle-foreground);
|
|
132
132
|
}
|
|
133
133
|
.a63-Badge[data-variant='lime'] {
|
|
134
|
-
--badge-bg:
|
|
135
|
-
--badge-fg: var(--a63-
|
|
134
|
+
--badge-bg: var(--a63-category-lime-subtle);
|
|
135
|
+
--badge-fg: var(--a63-category-lime-subtle-foreground);
|
|
136
136
|
}
|
|
137
137
|
.a63-Badge[data-variant='green'] {
|
|
138
|
-
--badge-bg:
|
|
139
|
-
--badge-fg: var(--a63-
|
|
138
|
+
--badge-bg: var(--a63-category-green-subtle);
|
|
139
|
+
--badge-fg: var(--a63-category-green-subtle-foreground);
|
|
140
140
|
}
|
|
141
141
|
.a63-Badge[data-variant='emerald'] {
|
|
142
|
-
--badge-bg:
|
|
143
|
-
--badge-fg: var(--a63-
|
|
142
|
+
--badge-bg: var(--a63-category-emerald-subtle);
|
|
143
|
+
--badge-fg: var(--a63-category-emerald-subtle-foreground);
|
|
144
144
|
}
|
|
145
145
|
.a63-Badge[data-variant='teal'] {
|
|
146
|
-
--badge-bg:
|
|
147
|
-
--badge-fg: var(--a63-
|
|
146
|
+
--badge-bg: var(--a63-category-teal-subtle);
|
|
147
|
+
--badge-fg: var(--a63-category-teal-subtle-foreground);
|
|
148
148
|
}
|
|
149
149
|
.a63-Badge[data-variant='cyan'] {
|
|
150
|
-
--badge-bg:
|
|
151
|
-
--badge-fg: var(--a63-
|
|
150
|
+
--badge-bg: var(--a63-category-cyan-subtle);
|
|
151
|
+
--badge-fg: var(--a63-category-cyan-subtle-foreground);
|
|
152
152
|
}
|
|
153
153
|
.a63-Badge[data-variant='sky'] {
|
|
154
|
-
--badge-bg:
|
|
155
|
-
--badge-fg: var(--a63-
|
|
154
|
+
--badge-bg: var(--a63-category-sky-subtle);
|
|
155
|
+
--badge-fg: var(--a63-category-sky-subtle-foreground);
|
|
156
156
|
}
|
|
157
157
|
.a63-Badge[data-variant='blue'] {
|
|
158
|
-
--badge-bg:
|
|
159
|
-
--badge-fg: var(--a63-
|
|
158
|
+
--badge-bg: var(--a63-category-blue-subtle);
|
|
159
|
+
--badge-fg: var(--a63-category-blue-subtle-foreground);
|
|
160
160
|
}
|
|
161
161
|
.a63-Badge[data-variant='indigo'] {
|
|
162
|
-
--badge-bg:
|
|
163
|
-
--badge-fg: var(--a63-
|
|
162
|
+
--badge-bg: var(--a63-category-indigo-subtle);
|
|
163
|
+
--badge-fg: var(--a63-category-indigo-subtle-foreground);
|
|
164
164
|
}
|
|
165
165
|
.a63-Badge[data-variant='violet'] {
|
|
166
|
-
--badge-bg:
|
|
167
|
-
--badge-fg: var(--a63-
|
|
166
|
+
--badge-bg: var(--a63-category-violet-subtle);
|
|
167
|
+
--badge-fg: var(--a63-category-violet-subtle-foreground);
|
|
168
168
|
}
|
|
169
169
|
.a63-Badge[data-variant='purple'] {
|
|
170
|
-
--badge-bg:
|
|
171
|
-
--badge-fg: var(--a63-
|
|
170
|
+
--badge-bg: var(--a63-category-purple-subtle);
|
|
171
|
+
--badge-fg: var(--a63-category-purple-subtle-foreground);
|
|
172
172
|
}
|
|
173
173
|
.a63-Badge[data-variant='fuchsia'] {
|
|
174
|
-
--badge-bg:
|
|
175
|
-
--badge-fg: var(--a63-
|
|
174
|
+
--badge-bg: var(--a63-category-fuchsia-subtle);
|
|
175
|
+
--badge-fg: var(--a63-category-fuchsia-subtle-foreground);
|
|
176
176
|
}
|
|
177
177
|
.a63-Badge[data-variant='pink'] {
|
|
178
|
-
--badge-bg:
|
|
179
|
-
--badge-fg: var(--a63-
|
|
178
|
+
--badge-bg: var(--a63-category-pink-subtle);
|
|
179
|
+
--badge-fg: var(--a63-category-pink-subtle-foreground);
|
|
180
180
|
}
|
|
181
181
|
.a63-Badge[data-variant='rose'] {
|
|
182
|
-
--badge-bg:
|
|
183
|
-
--badge-fg: var(--a63-
|
|
182
|
+
--badge-bg: var(--a63-category-rose-subtle);
|
|
183
|
+
--badge-fg: var(--a63-category-rose-subtle-foreground);
|
|
184
184
|
}
|
|
185
185
|
.a63-Badge[data-variant='neutral'] {
|
|
186
|
-
--badge-bg:
|
|
187
|
-
--badge-fg: var(--a63-
|
|
186
|
+
--badge-bg: var(--a63-category-neutral-subtle);
|
|
187
|
+
--badge-fg: var(--a63-category-neutral-subtle-foreground);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
/* Interactive badges (rendered as button/a) get a pointer + hover feedback. */
|
|
@@ -215,9 +215,6 @@
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.a63-Badge:focus-visible {
|
|
218
|
-
outline:
|
|
219
|
-
|
|
220
|
-
var(--a63-marker-shadow),
|
|
221
|
-
0 0 0 var(--a63-control-focus-ring-width)
|
|
222
|
-
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
218
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
219
|
+
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
223
220
|
}
|
|
@@ -42,9 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
.a63-Breadcrumb-link:focus-visible {
|
|
45
|
-
outline: none;
|
|
46
45
|
border-radius: var(--radius-sm, 0.25rem);
|
|
47
|
-
|
|
46
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
48
47
|
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
49
48
|
}
|
|
50
49
|
|
|
@@ -169,7 +169,9 @@
|
|
|
169
169
|
border-radius: 0 0 50% 50% / 0 0 100% 100%;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
/* Disabled buttons keep their resting look under the pointer. `:where()` keeps
|
|
173
|
+
the specificity of a plain `:hover`, so the rules that override it still do. */
|
|
174
|
+
.a63-Button:where(:not(:disabled, [data-disabled])):hover {
|
|
173
175
|
background-color: var(--button-state-hover-background);
|
|
174
176
|
border-color: var(--button-state-hover-border-color);
|
|
175
177
|
}
|
|
@@ -182,11 +184,11 @@
|
|
|
182
184
|
transform: var(--button-motion-press);
|
|
183
185
|
}
|
|
184
186
|
|
|
187
|
+
/* The ring is an outline, not a box-shadow layer: recipes that set a Button's
|
|
188
|
+
box-shadow (ButtonGroup cells, ScrollableList chevrons, ConnectedPanel
|
|
189
|
+
triggers) would otherwise replace it, and forced-colors mode drops shadows. */
|
|
185
190
|
.a63-Button:focus-visible {
|
|
186
|
-
|
|
187
|
-
var(--button-shadow),
|
|
188
|
-
var(--button-tint-drop),
|
|
189
|
-
0 0 0 var(--a63-control-focus-ring-width) var(--button-focus-ring);
|
|
191
|
+
outline: var(--a63-control-focus-ring-width) solid var(--button-focus-ring);
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
.a63-Button:disabled,
|
|
@@ -358,7 +360,7 @@
|
|
|
358
360
|
text-underline-offset: 4px;
|
|
359
361
|
}
|
|
360
362
|
|
|
361
|
-
.a63-Button[data-variant='link']:hover,
|
|
363
|
+
.a63-Button[data-variant='link']:where(:not(:disabled, [data-disabled])):hover,
|
|
362
364
|
.a63-Button[data-variant='link']:active,
|
|
363
365
|
.a63-Button[data-variant='link'][data-pressed] {
|
|
364
366
|
text-decoration: underline;
|
|
@@ -44,10 +44,26 @@
|
|
|
44
44
|
flex-direction: column;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/* Focused member floats above its neighbours
|
|
47
|
+
/* Focused member floats above its neighbours, and its ring sits inside its own
|
|
48
|
+
edge: the horizontal group scrolls (overflow-x), which would clip an outer
|
|
49
|
+
ring at the group's edges. */
|
|
48
50
|
.a63-ButtonGroup > *:focus-visible {
|
|
49
51
|
position: relative;
|
|
50
52
|
z-index: 1;
|
|
53
|
+
outline-offset: calc(-1 * var(--a63-control-focus-ring-width));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* On a loud fill (primary, destructive, …) a brand ring drawn inside the cell
|
|
57
|
+
disappears into the fill, so it takes the label colour, which contrasts with
|
|
58
|
+
the fill by design. Quiet cells (listed below) keep the brand ring. */
|
|
59
|
+
.a63-ButtonGroup
|
|
60
|
+
> [data-button]:not(
|
|
61
|
+
[data-variant='ghost'],
|
|
62
|
+
[data-variant='link'],
|
|
63
|
+
[data-variant='secondary'],
|
|
64
|
+
[data-variant='outline']
|
|
65
|
+
):focus-visible {
|
|
66
|
+
outline-color: var(--button-foreground);
|
|
51
67
|
}
|
|
52
68
|
|
|
53
69
|
.a63-ButtonGroup > [data-slot] {
|
|
@@ -83,9 +83,7 @@
|
|
|
83
83
|
color: var(--a63-text-primary);
|
|
84
84
|
cursor: pointer;
|
|
85
85
|
outline: none;
|
|
86
|
-
transition:
|
|
87
|
-
background-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
88
|
-
box-shadow var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
86
|
+
transition: background-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
89
87
|
}
|
|
90
88
|
.a63-Calendar-nav-button:not(:disabled):hover {
|
|
91
89
|
background-color: var(--a63-surface-control-hover);
|
|
@@ -95,7 +93,7 @@
|
|
|
95
93
|
opacity: 0.64;
|
|
96
94
|
}
|
|
97
95
|
.a63-Calendar-nav-button:focus-visible {
|
|
98
|
-
|
|
96
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
99
97
|
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
100
98
|
}
|
|
101
99
|
|
|
@@ -139,9 +137,9 @@
|
|
|
139
137
|
border: var(--a63-control-border-width) solid var(--a63-border-control);
|
|
140
138
|
border-radius: var(--a63-control-radius);
|
|
141
139
|
}
|
|
142
|
-
.a63-Calendar-dropdown-root:has(:focus) {
|
|
140
|
+
.a63-Calendar-dropdown-root:has(:focus-visible) {
|
|
143
141
|
border-color: var(--a63-focus-ring);
|
|
144
|
-
|
|
142
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
145
143
|
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
146
144
|
}
|
|
147
145
|
.a63-Calendar-dropdown-root .a63-Calendar-chevron {
|
|
@@ -194,8 +192,7 @@
|
|
|
194
192
|
transition:
|
|
195
193
|
color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
196
194
|
background-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
197
|
-
border-radius var(--a63-control-feedback-duration) var(--a63-control-feedback-ease)
|
|
198
|
-
box-shadow var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
195
|
+
border-radius var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
199
196
|
}
|
|
200
197
|
|
|
201
198
|
/* Hover on any non-selected day. */
|
|
@@ -239,7 +236,7 @@
|
|
|
239
236
|
|
|
240
237
|
.a63-Calendar-day-button:focus-visible {
|
|
241
238
|
z-index: 1;
|
|
242
|
-
|
|
239
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
243
240
|
color-mix(in oklch, var(--a63-focus-ring) 50%, transparent);
|
|
244
241
|
}
|
|
245
242
|
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
display: flex;
|
|
313
313
|
align-items: center;
|
|
314
314
|
gap: var(--a63-space-2);
|
|
315
|
-
margin-
|
|
315
|
+
margin-inline-start: auto;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/* ── Link wrapper (unclipped so interactive lift isn't cut off) ────────── */
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
outline: none;
|
|
326
326
|
}
|
|
327
327
|
.a63-CardLink:focus-visible {
|
|
328
|
-
|
|
328
|
+
outline: 2px solid var(--a63-focus-ring);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
/* Responsive padding: once the CARD is wide enough, the `sm` step wins
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
display: flex;
|
|
24
24
|
}
|
|
25
25
|
.a63-Carousel-track[data-orientation='horizontal'] {
|
|
26
|
-
margin-
|
|
26
|
+
margin-inline-start: calc(var(--carousel-gutter) * -1);
|
|
27
27
|
}
|
|
28
28
|
.a63-Carousel-track[data-orientation='vertical'] {
|
|
29
29
|
flex-direction: column;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
flex: 0 0 100%;
|
|
36
36
|
}
|
|
37
37
|
.a63-Carousel-item[data-orientation='horizontal'] {
|
|
38
|
-
padding-
|
|
38
|
+
padding-inline-start: var(--carousel-gutter);
|
|
39
39
|
}
|
|
40
40
|
.a63-Carousel-item[data-orientation='vertical'] {
|
|
41
41
|
padding-top: var(--carousel-gutter);
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
transition:
|
|
65
65
|
background-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
66
66
|
border-color var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
67
|
-
box-shadow var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
68
67
|
opacity var(--a63-control-feedback-duration) var(--a63-control-feedback-ease);
|
|
69
68
|
}
|
|
70
69
|
|
|
@@ -73,11 +72,8 @@
|
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
.a63-Carousel-nav:focus-visible {
|
|
76
|
-
|
|
77
|
-
var(--a63-
|
|
78
|
-
var(--a63-overlay-shadow),
|
|
79
|
-
0 0 0 var(--a63-control-focus-ring-width)
|
|
80
|
-
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
75
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
76
|
+
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
.a63-Carousel-nav:disabled {
|
|
@@ -78,6 +78,14 @@
|
|
|
78
78
|
align-items: center;
|
|
79
79
|
gap: var(--a63-space-2);
|
|
80
80
|
padding: 0.625rem 0.875rem;
|
|
81
|
+
border-radius: var(--a63-control-radius);
|
|
82
|
+
}
|
|
83
|
+
/* The search field has no chrome of its own, so the row rings as a field when
|
|
84
|
+
it holds keyboard focus; inset so the popup's rounded corners do not clip it. */
|
|
85
|
+
.a63-Command-input-wrapper:has(> .a63-Command-input:focus-visible) {
|
|
86
|
+
outline: var(--a63-control-focus-ring-width) solid
|
|
87
|
+
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
88
|
+
outline-offset: calc(-1 * var(--a63-space-1_5));
|
|
81
89
|
}
|
|
82
90
|
.a63-Command-input-icon {
|
|
83
91
|
display: inline-flex;
|
|
@@ -257,9 +257,10 @@
|
|
|
257
257
|
color: var(--a63-text-primary);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
/* The Button's outline ring, drawn inside the row: the panel clips its
|
|
261
|
+
children (`overflow: hidden`) to its rounded corners. */
|
|
260
262
|
.a63-ConnectedPanel-trigger:focus-visible {
|
|
261
|
-
|
|
262
|
-
var(--a63-control-focus-ring-color, var(--a63-focus-ring));
|
|
263
|
+
outline-offset: calc(-1 * var(--a63-control-focus-ring-width));
|
|
263
264
|
}
|
|
264
265
|
|
|
265
266
|
/* Icon / text / chevron row lives inside the Button's label wrapper. */
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
text-underline-offset: 4px;
|
|
87
87
|
}
|
|
88
88
|
.a63-Empty-description a:hover {
|
|
89
|
-
color: var(--a63-
|
|
89
|
+
color: var(--a63-text-accent);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* ── Content ───────────────────────────────────────────────────────────── */
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
var(--a63-space-3) var(--a63-space-3);
|
|
128
128
|
border-radius: var(--radius-md);
|
|
129
129
|
background-color: color-mix(in oklch, var(--a63-surface-muted) 50%, transparent);
|
|
130
|
-
text-align:
|
|
130
|
+
text-align: start;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.a63-Empty-errorText {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
color: var(--a63-text-primary);
|
|
74
74
|
}
|
|
75
75
|
.a63-Field[data-invalid='true'] {
|
|
76
|
-
color: var(--a63-
|
|
76
|
+
color: var(--a63-text-danger);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* orientation: vertical (default) — stretch controls to the field width */
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
/* ── FieldDescription ──────────────────────────────────────────────────── */
|
|
191
191
|
.a63-FieldDescription {
|
|
192
192
|
margin: 0;
|
|
193
|
-
text-align:
|
|
193
|
+
text-align: start;
|
|
194
194
|
color: var(--a63-text-secondary);
|
|
195
195
|
font-family: var(--a63-control-font-family);
|
|
196
196
|
font-size: var(--a63-control-font-size-sm);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
text-underline-offset: 4px;
|
|
219
219
|
}
|
|
220
220
|
.a63-FieldDescription a:hover {
|
|
221
|
-
color: var(--a63-
|
|
221
|
+
color: var(--a63-text-accent);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
/* ── FieldSeparator ────────────────────────────────────────────────────── */
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
|
|
246
246
|
/* ── FieldError ────────────────────────────────────────────────────────── */
|
|
247
247
|
.a63-FieldError {
|
|
248
|
-
color: var(--a63-
|
|
248
|
+
color: var(--a63-text-danger);
|
|
249
249
|
font-family: var(--a63-control-font-family);
|
|
250
250
|
font-size: var(--a63-control-font-size-sm);
|
|
251
251
|
font-weight: 400;
|