burne-ui 1.6.8 → 1.7.0
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/README.md +5 -2
- package/cli/init.js +2 -2
- package/dist/components/composite/AlertDialog/alertDialogAPI.d.ts +1 -1
- package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +1 -0
- package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +0 -1
- package/dist/components/composite/AlertDialog/index.d.ts +0 -1
- package/dist/components/core/Alert/alertStyles.d.ts +3 -1
- package/dist/components/core/Button/Button.d.ts +0 -1
- package/dist/components/core/Button/buttonAnimations.d.ts +3 -4
- package/dist/components/core/Button/buttonParts.d.ts +2 -2
- package/dist/components/core/Button/buttonStyles.d.ts +2 -1
- package/dist/components/core/Button/buttonTypes.d.ts +4 -5
- package/dist/components/core/Button/index.d.ts +0 -1
- package/dist/components/core/Button/useButtonRootState.d.ts +1 -2
- package/dist/components/core/Calendar/calendarAnimations.d.ts +10 -11
- package/dist/components/core/Calendar/calendarStyles.d.ts +1 -1
- package/dist/components/core/Card/Card.d.ts +0 -1
- package/dist/components/core/Card/cardAnimations.d.ts +1 -1
- package/dist/components/core/Card/cardTypes.d.ts +0 -7
- package/dist/components/core/Card/index.d.ts +0 -1
- package/dist/components/core/Checkbox/checkboxStyles.d.ts +5 -4
- package/dist/components/core/CloseButton/CloseButton.d.ts +0 -1
- package/dist/components/core/CloseButton/closeButtonAnimations.d.ts +1 -1
- package/dist/components/core/CloseButton/closeButtonTypes.d.ts +0 -2
- package/dist/components/core/CloseButton/useCloseButtonRootState.d.ts +1 -2
- package/dist/components/core/ComboBox/comboBoxStyles.d.ts +2 -2
- package/dist/components/core/ComboBox/comboBoxTypes.d.ts +0 -9
- package/dist/components/core/Dialog/dialogAnimations.d.ts +2 -2
- package/dist/components/core/Dialog/dialogParts.d.ts +0 -1
- package/dist/components/core/Dialog/index.d.ts +0 -1
- package/dist/components/core/Disclosure/disclosureStyles.d.ts +1 -1
- package/dist/components/core/Drawer/drawerAnimations.d.ts +1 -2
- package/dist/components/core/Drawer/drawerParts.d.ts +0 -1
- package/dist/components/core/Drawer/index.d.ts +0 -1
- package/dist/components/core/Dropdown/dropdownItemParts.d.ts +1 -1
- package/dist/components/core/Dropdown/dropdownStyles.d.ts +1 -1
- package/dist/components/core/Dropdown/index.d.ts +1 -1
- package/dist/components/core/Dropdown/useDropdownItemState.d.ts +6 -1
- package/dist/components/core/Expandable/expandableStyles.d.ts +2 -2
- package/dist/components/core/Input/inputStyles.d.ts +3 -11
- package/dist/components/core/ListBox/ListBox.d.ts +1 -1
- package/dist/components/core/ListBox/index.d.ts +3 -3
- package/dist/components/core/ListBox/listBoxAnimations.d.ts +11 -1
- package/dist/components/core/ListBox/listBoxContext.d.ts +6 -0
- package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
- package/dist/components/core/ListBox/listBoxStyles.d.ts +2 -3
- package/dist/components/core/ListBox/listBoxTypes.d.ts +0 -1
- package/dist/components/core/ListBox/useListBoxItemState.d.ts +0 -1
- package/dist/components/core/ListBox/useListBoxRootState.d.ts +1 -0
- package/dist/components/core/Pagination/paginationAnimations.d.ts +16 -4
- package/dist/components/core/Pagination/paginationStyles.d.ts +1 -1
- package/dist/components/core/Popover/popoverStyles.d.ts +1 -1
- package/dist/components/core/ProgressBar/progressBarAPI.d.ts +0 -2
- package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +1 -1
- package/dist/components/core/ProgressBar/progressBarStyles.d.ts +1 -5
- package/dist/components/core/ProgressBar/progressBarTypes.d.ts +3 -2
- package/dist/components/core/ProgressBar/useProgressBarTrackState.d.ts +1 -1
- package/dist/components/core/Radio/radioStyles.d.ts +5 -4
- package/dist/components/core/Ripple/Ripple.d.ts +4 -0
- package/dist/components/core/Select/selectStyles.d.ts +2 -2
- package/dist/components/core/Select/selectTypes.d.ts +0 -8
- package/dist/components/core/Slider/sliderStyles.d.ts +2 -1
- package/dist/components/core/Switch/switchStyles.d.ts +5 -5
- package/dist/components/core/Table/index.d.ts +2 -2
- package/dist/components/core/Table/tableAPI.d.ts +1 -0
- package/dist/components/core/Table/tableContext.d.ts +4 -0
- package/dist/components/core/Table/tableParts.d.ts +2 -2
- package/dist/components/core/Table/tableTypes.d.ts +13 -4
- package/dist/components/core/TextArea/textAreaStyles.d.ts +2 -4
- package/dist/components/core/TimeField/timeFieldStyles.d.ts +3 -6
- package/dist/components/core/Toast/toastAPI.d.ts +5 -0
- package/dist/components/core/Toast/toastStyles.d.ts +4 -4
- package/dist/components/core/ToggleButton/ToggleButton.d.ts +0 -1
- package/dist/components/core/ToggleButton/index.d.ts +0 -1
- package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +1 -1
- package/dist/components/core/ToggleButton/toggleButtonStyles.d.ts +1 -1
- package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +1 -3
- package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +1 -2
- package/dist/components/core/Tooltip/tooltipStyles.d.ts +11 -8
- package/dist/components/core/utils/fieldShellVariant.d.ts +7 -3
- package/dist/components/core/utils/glossInteractiveMotion.d.ts +1 -1
- package/dist/components/core/utils/gsapMotion.d.ts +17 -3
- package/dist/components/core/utils/hoverInteractiveLift.d.ts +2 -3
- package/dist/components/core/utils/hoverVariant.d.ts +1 -1
- package/dist/components/core/utils/modalSurfaceMotion.d.ts +1 -0
- package/dist/components/core/utils/motionConfig.d.ts +70 -2
- package/dist/components/core/utils/optionListItemStyles.d.ts +1 -1
- package/dist/components/core/utils/pressRipple.d.ts +2 -2
- package/dist/components/core/utils/reducedMotion.d.ts +11 -0
- package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +19 -5
- package/dist/components/core/utils/useCollapsibleHeight.d.ts +1 -1
- package/dist/components/core/utils/useContainerPointerHoverHandlers.d.ts +20 -0
- package/dist/components/core/utils/useFieldShellHoverLift.d.ts +20 -6
- package/dist/components/core/utils/useFirstLevelInteractiveMotion.d.ts +1 -5
- package/dist/components/core/utils/useModalMotion.d.ts +45 -0
- package/dist/components/core/utils/usePressableElementTextMotion.d.ts +15 -7
- package/dist/components/core/utils/useShadowMotion.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12305 -12143
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +4 -2
- package/dist/internal.js +55 -52
- package/dist/theme/themeConfig.d.ts +1 -1
- package/dist/theme/themeDefaults.d.ts +25 -1
- package/dist/theme/themeScript.d.ts +2 -1
- package/dist/themeRuntimeContext-BGPGJ9Al.cjs +14 -0
- package/dist/themeRuntimeContext-D_BFeuKg.js +5691 -0
- package/dist/tokens/config.d.ts +4 -0
- package/dist/tokens/index.d.ts +1 -1
- package/dist/ui.css +253 -100
- package/package.json +4 -4
- package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +0 -5
- package/dist/components/core/Select/selectAnimations.d.ts +0 -5
- package/dist/themeRuntimeContext-CE8HsqSx.js +0 -7742
- package/dist/themeRuntimeContext-zhfbKb8L.cjs +0 -50
package/dist/ui.css
CHANGED
|
@@ -95,6 +95,55 @@
|
|
|
95
95
|
--color-primary: #ebebef;
|
|
96
96
|
--color-primary-foreground: #0c0c0e;
|
|
97
97
|
--color-focus-ring: var(--color-primary);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
101
|
+
:root {
|
|
102
|
+
--color-focus-ring: color-mix(in oklab, var(--color-primary) 60%, transparent);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:root {
|
|
107
|
+
--color-focus-ring-danger: var(--color-danger);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
111
|
+
:root {
|
|
112
|
+
--color-focus-ring-danger: color-mix(in oklab, var(--color-danger) 60%, transparent);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:root {
|
|
117
|
+
--color-focus-ring-success: var(--color-success);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
121
|
+
:root {
|
|
122
|
+
--color-focus-ring-success: color-mix(in oklab, var(--color-success) 60%, transparent);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:root {
|
|
127
|
+
--color-focus-ring-info: var(--color-info);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
131
|
+
:root {
|
|
132
|
+
--color-focus-ring-info: color-mix(in oklab, var(--color-info) 60%, transparent);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:root {
|
|
137
|
+
--color-focus-ring-warning: var(--color-warning);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
141
|
+
:root {
|
|
142
|
+
--color-focus-ring-warning: color-mix(in oklab, var(--color-warning) 60%, transparent);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:root {
|
|
98
147
|
--focus-ring-width: 2px;
|
|
99
148
|
--focus-ring-offset: 0px;
|
|
100
149
|
--motion-surface-duration: .6s;
|
|
@@ -123,7 +172,7 @@
|
|
|
123
172
|
--z-tooltip: 400;
|
|
124
173
|
--color-indicator: var(--color-primary);
|
|
125
174
|
--color-indicator-foreground: var(--color-primary-foreground);
|
|
126
|
-
--color-danger: #
|
|
175
|
+
--color-danger: #d73737;
|
|
127
176
|
--color-danger-foreground: #fafafa;
|
|
128
177
|
--color-surface-tint-danger: var(--color-danger);
|
|
129
178
|
}
|
|
@@ -131,8 +180,8 @@
|
|
|
131
180
|
@supports (color: color-mix(in lab, red, red)) {
|
|
132
181
|
:root {
|
|
133
182
|
--color-surface-tint-danger: color-mix(in oklab,
|
|
134
|
-
var(--color-danger)
|
|
135
|
-
|
|
183
|
+
var(--color-danger) 15%,
|
|
184
|
+
transparent);
|
|
136
185
|
}
|
|
137
186
|
}
|
|
138
187
|
|
|
@@ -143,8 +192,8 @@
|
|
|
143
192
|
@supports (color: color-mix(in lab, red, red)) {
|
|
144
193
|
:root {
|
|
145
194
|
--color-surface-tint-danger-hover: color-mix(in oklab,
|
|
146
|
-
var(--color-danger)
|
|
147
|
-
|
|
195
|
+
var(--color-danger) 25%,
|
|
196
|
+
transparent);
|
|
148
197
|
}
|
|
149
198
|
}
|
|
150
199
|
|
|
@@ -155,13 +204,13 @@
|
|
|
155
204
|
@supports (color: color-mix(in lab, red, red)) {
|
|
156
205
|
:root {
|
|
157
206
|
--color-danger-fill-hover: color-mix(in oklab,
|
|
158
|
-
var(--color-danger)
|
|
159
|
-
|
|
207
|
+
var(--color-danger) 80%,
|
|
208
|
+
transparent);
|
|
160
209
|
}
|
|
161
210
|
}
|
|
162
211
|
|
|
163
212
|
:root {
|
|
164
|
-
--color-success: #
|
|
213
|
+
--color-success: #35b664;
|
|
165
214
|
--color-success-foreground: #fafafa;
|
|
166
215
|
--color-surface-tint-success: var(--color-success);
|
|
167
216
|
}
|
|
@@ -169,8 +218,8 @@
|
|
|
169
218
|
@supports (color: color-mix(in lab, red, red)) {
|
|
170
219
|
:root {
|
|
171
220
|
--color-surface-tint-success: color-mix(in oklab,
|
|
172
|
-
var(--color-success)
|
|
173
|
-
|
|
221
|
+
var(--color-success) 15%,
|
|
222
|
+
transparent);
|
|
174
223
|
}
|
|
175
224
|
}
|
|
176
225
|
|
|
@@ -181,8 +230,8 @@
|
|
|
181
230
|
@supports (color: color-mix(in lab, red, red)) {
|
|
182
231
|
:root {
|
|
183
232
|
--color-surface-tint-success-hover: color-mix(in oklab,
|
|
184
|
-
var(--color-success)
|
|
185
|
-
|
|
233
|
+
var(--color-success) 25%,
|
|
234
|
+
transparent);
|
|
186
235
|
}
|
|
187
236
|
}
|
|
188
237
|
|
|
@@ -193,13 +242,13 @@
|
|
|
193
242
|
@supports (color: color-mix(in lab, red, red)) {
|
|
194
243
|
:root {
|
|
195
244
|
--color-success-fill-hover: color-mix(in oklab,
|
|
196
|
-
var(--color-success)
|
|
197
|
-
|
|
245
|
+
var(--color-success) 80%,
|
|
246
|
+
transparent);
|
|
198
247
|
}
|
|
199
248
|
}
|
|
200
249
|
|
|
201
250
|
:root {
|
|
202
|
-
--color-info: #
|
|
251
|
+
--color-info: #389dcc;
|
|
203
252
|
--color-info-foreground: #fafafa;
|
|
204
253
|
--color-surface-tint-info: var(--color-info);
|
|
205
254
|
}
|
|
@@ -207,8 +256,8 @@
|
|
|
207
256
|
@supports (color: color-mix(in lab, red, red)) {
|
|
208
257
|
:root {
|
|
209
258
|
--color-surface-tint-info: color-mix(in oklab,
|
|
210
|
-
var(--color-info)
|
|
211
|
-
|
|
259
|
+
var(--color-info) 15%,
|
|
260
|
+
transparent);
|
|
212
261
|
}
|
|
213
262
|
}
|
|
214
263
|
|
|
@@ -219,8 +268,8 @@
|
|
|
219
268
|
@supports (color: color-mix(in lab, red, red)) {
|
|
220
269
|
:root {
|
|
221
270
|
--color-surface-tint-info-hover: color-mix(in oklab,
|
|
222
|
-
var(--color-info)
|
|
223
|
-
|
|
271
|
+
var(--color-info) 25%,
|
|
272
|
+
transparent);
|
|
224
273
|
}
|
|
225
274
|
}
|
|
226
275
|
|
|
@@ -231,13 +280,13 @@
|
|
|
231
280
|
@supports (color: color-mix(in lab, red, red)) {
|
|
232
281
|
:root {
|
|
233
282
|
--color-info-fill-hover: color-mix(in oklab,
|
|
234
|
-
var(--color-info)
|
|
235
|
-
|
|
283
|
+
var(--color-info) 80%,
|
|
284
|
+
transparent);
|
|
236
285
|
}
|
|
237
286
|
}
|
|
238
287
|
|
|
239
288
|
:root {
|
|
240
|
-
--color-warning: #
|
|
289
|
+
--color-warning: #daa13e;
|
|
241
290
|
--color-warning-foreground: #0c0c0e;
|
|
242
291
|
--color-surface-tint-warning: var(--color-warning);
|
|
243
292
|
}
|
|
@@ -245,8 +294,8 @@
|
|
|
245
294
|
@supports (color: color-mix(in lab, red, red)) {
|
|
246
295
|
:root {
|
|
247
296
|
--color-surface-tint-warning: color-mix(in oklab,
|
|
248
|
-
var(--color-warning)
|
|
249
|
-
|
|
297
|
+
var(--color-warning) 15%,
|
|
298
|
+
transparent);
|
|
250
299
|
}
|
|
251
300
|
}
|
|
252
301
|
|
|
@@ -257,8 +306,8 @@
|
|
|
257
306
|
@supports (color: color-mix(in lab, red, red)) {
|
|
258
307
|
:root {
|
|
259
308
|
--color-surface-tint-warning-hover: color-mix(in oklab,
|
|
260
|
-
var(--color-warning)
|
|
261
|
-
|
|
309
|
+
var(--color-warning) 25%,
|
|
310
|
+
transparent);
|
|
262
311
|
}
|
|
263
312
|
}
|
|
264
313
|
|
|
@@ -269,8 +318,8 @@
|
|
|
269
318
|
@supports (color: color-mix(in lab, red, red)) {
|
|
270
319
|
:root {
|
|
271
320
|
--color-warning-fill-hover: color-mix(in oklab,
|
|
272
|
-
var(--color-warning)
|
|
273
|
-
|
|
321
|
+
var(--color-warning) 80%,
|
|
322
|
+
transparent);
|
|
274
323
|
}
|
|
275
324
|
}
|
|
276
325
|
|
|
@@ -471,8 +520,8 @@
|
|
|
471
520
|
--text-scale-base--line-height: calc(1.25rem / .875rem);
|
|
472
521
|
--text-scale-mid: 1rem;
|
|
473
522
|
--text-scale-mid--line-height: calc(1.5rem / 1rem);
|
|
474
|
-
--text-scale-large: 1.
|
|
475
|
-
--text-scale-large--line-height: calc(1.75rem / 1.
|
|
523
|
+
--text-scale-large: 1.15rem;
|
|
524
|
+
--text-scale-large--line-height: calc(1.75rem / 1.15rem);
|
|
476
525
|
--text-scale-xlarge: 1.5rem;
|
|
477
526
|
--text-scale-xlarge--line-height: calc(2rem / 1.5rem);
|
|
478
527
|
--text-scale-2xlarge: 1.875rem;
|
|
@@ -649,6 +698,55 @@
|
|
|
649
698
|
--color-primary: #18181b;
|
|
650
699
|
--color-primary-foreground: #fafafa;
|
|
651
700
|
--color-focus-ring: var(--color-primary);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
704
|
+
[data-theme="light"] {
|
|
705
|
+
--color-focus-ring: color-mix(in oklab, var(--color-primary) 60%, transparent);
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
[data-theme="light"] {
|
|
710
|
+
--color-focus-ring-danger: var(--color-danger);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
714
|
+
[data-theme="light"] {
|
|
715
|
+
--color-focus-ring-danger: color-mix(in oklab, var(--color-danger) 60%, transparent);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
[data-theme="light"] {
|
|
720
|
+
--color-focus-ring-success: var(--color-success);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
724
|
+
[data-theme="light"] {
|
|
725
|
+
--color-focus-ring-success: color-mix(in oklab, var(--color-success) 60%, transparent);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
[data-theme="light"] {
|
|
730
|
+
--color-focus-ring-info: var(--color-info);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
734
|
+
[data-theme="light"] {
|
|
735
|
+
--color-focus-ring-info: color-mix(in oklab, var(--color-info) 60%, transparent);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
[data-theme="light"] {
|
|
740
|
+
--color-focus-ring-warning: var(--color-warning);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
744
|
+
[data-theme="light"] {
|
|
745
|
+
--color-focus-ring-warning: color-mix(in oklab, var(--color-warning) 60%, transparent);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
[data-theme="light"] {
|
|
652
750
|
--color-indicator: var(--color-primary);
|
|
653
751
|
--color-indicator-foreground: var(--color-primary-foreground);
|
|
654
752
|
--color-primary-tint: var(--color-primary);
|
|
@@ -675,13 +773,13 @@
|
|
|
675
773
|
}
|
|
676
774
|
|
|
677
775
|
[data-theme="light"] {
|
|
678
|
-
--color-danger: #
|
|
776
|
+
--color-danger: #df4e4e;
|
|
679
777
|
--color-danger-foreground: #fff;
|
|
680
|
-
--color-success: #
|
|
778
|
+
--color-success: #2ebd62;
|
|
681
779
|
--color-success-foreground: #fff;
|
|
682
|
-
--color-info: #
|
|
780
|
+
--color-info: #31a0d3;
|
|
683
781
|
--color-info-foreground: #fff;
|
|
684
|
-
--color-warning: #
|
|
782
|
+
--color-warning: #e1a53d;
|
|
685
783
|
--color-warning-foreground: #0c0c0e;
|
|
686
784
|
--color-surface-tint-danger: var(--color-danger);
|
|
687
785
|
}
|
|
@@ -689,8 +787,8 @@
|
|
|
689
787
|
@supports (color: color-mix(in lab, red, red)) {
|
|
690
788
|
[data-theme="light"] {
|
|
691
789
|
--color-surface-tint-danger: color-mix(in oklab,
|
|
692
|
-
var(--color-danger)
|
|
693
|
-
|
|
790
|
+
var(--color-danger) 15%,
|
|
791
|
+
transparent);
|
|
694
792
|
}
|
|
695
793
|
}
|
|
696
794
|
|
|
@@ -701,8 +799,8 @@
|
|
|
701
799
|
@supports (color: color-mix(in lab, red, red)) {
|
|
702
800
|
[data-theme="light"] {
|
|
703
801
|
--color-surface-tint-danger-hover: color-mix(in oklab,
|
|
704
|
-
var(--color-danger)
|
|
705
|
-
|
|
802
|
+
var(--color-danger) 25%,
|
|
803
|
+
transparent);
|
|
706
804
|
}
|
|
707
805
|
}
|
|
708
806
|
|
|
@@ -713,8 +811,8 @@
|
|
|
713
811
|
@supports (color: color-mix(in lab, red, red)) {
|
|
714
812
|
[data-theme="light"] {
|
|
715
813
|
--color-danger-fill-hover: color-mix(in oklab,
|
|
716
|
-
var(--color-danger)
|
|
717
|
-
|
|
814
|
+
var(--color-danger) 80%,
|
|
815
|
+
transparent);
|
|
718
816
|
}
|
|
719
817
|
}
|
|
720
818
|
|
|
@@ -725,8 +823,8 @@
|
|
|
725
823
|
@supports (color: color-mix(in lab, red, red)) {
|
|
726
824
|
[data-theme="light"] {
|
|
727
825
|
--color-surface-tint-success: color-mix(in oklab,
|
|
728
|
-
var(--color-success)
|
|
729
|
-
|
|
826
|
+
var(--color-success) 15%,
|
|
827
|
+
transparent);
|
|
730
828
|
}
|
|
731
829
|
}
|
|
732
830
|
|
|
@@ -737,8 +835,8 @@
|
|
|
737
835
|
@supports (color: color-mix(in lab, red, red)) {
|
|
738
836
|
[data-theme="light"] {
|
|
739
837
|
--color-surface-tint-success-hover: color-mix(in oklab,
|
|
740
|
-
var(--color-success)
|
|
741
|
-
|
|
838
|
+
var(--color-success) 25%,
|
|
839
|
+
transparent);
|
|
742
840
|
}
|
|
743
841
|
}
|
|
744
842
|
|
|
@@ -749,8 +847,8 @@
|
|
|
749
847
|
@supports (color: color-mix(in lab, red, red)) {
|
|
750
848
|
[data-theme="light"] {
|
|
751
849
|
--color-success-fill-hover: color-mix(in oklab,
|
|
752
|
-
var(--color-success)
|
|
753
|
-
|
|
850
|
+
var(--color-success) 80%,
|
|
851
|
+
transparent);
|
|
754
852
|
}
|
|
755
853
|
}
|
|
756
854
|
|
|
@@ -762,7 +860,7 @@
|
|
|
762
860
|
[data-theme="light"] {
|
|
763
861
|
--color-surface-tint-info: color-mix(in oklab,
|
|
764
862
|
var(--color-info) 15%,
|
|
765
|
-
|
|
863
|
+
transparent);
|
|
766
864
|
}
|
|
767
865
|
}
|
|
768
866
|
|
|
@@ -773,8 +871,8 @@
|
|
|
773
871
|
@supports (color: color-mix(in lab, red, red)) {
|
|
774
872
|
[data-theme="light"] {
|
|
775
873
|
--color-surface-tint-info-hover: color-mix(in oklab,
|
|
776
|
-
var(--color-info)
|
|
777
|
-
|
|
874
|
+
var(--color-info) 25%,
|
|
875
|
+
transparent);
|
|
778
876
|
}
|
|
779
877
|
}
|
|
780
878
|
|
|
@@ -785,8 +883,8 @@
|
|
|
785
883
|
@supports (color: color-mix(in lab, red, red)) {
|
|
786
884
|
[data-theme="light"] {
|
|
787
885
|
--color-info-fill-hover: color-mix(in oklab,
|
|
788
|
-
var(--color-info)
|
|
789
|
-
|
|
886
|
+
var(--color-info) 80%,
|
|
887
|
+
transparent);
|
|
790
888
|
}
|
|
791
889
|
}
|
|
792
890
|
|
|
@@ -797,8 +895,8 @@
|
|
|
797
895
|
@supports (color: color-mix(in lab, red, red)) {
|
|
798
896
|
[data-theme="light"] {
|
|
799
897
|
--color-surface-tint-warning: color-mix(in oklab,
|
|
800
|
-
var(--color-warning)
|
|
801
|
-
|
|
898
|
+
var(--color-warning) 15%,
|
|
899
|
+
transparent);
|
|
802
900
|
}
|
|
803
901
|
}
|
|
804
902
|
|
|
@@ -809,8 +907,8 @@
|
|
|
809
907
|
@supports (color: color-mix(in lab, red, red)) {
|
|
810
908
|
[data-theme="light"] {
|
|
811
909
|
--color-surface-tint-warning-hover: color-mix(in oklab,
|
|
812
|
-
var(--color-warning)
|
|
813
|
-
|
|
910
|
+
var(--color-warning) 25%,
|
|
911
|
+
transparent);
|
|
814
912
|
}
|
|
815
913
|
}
|
|
816
914
|
|
|
@@ -821,8 +919,8 @@
|
|
|
821
919
|
@supports (color: color-mix(in lab, red, red)) {
|
|
822
920
|
[data-theme="light"] {
|
|
823
921
|
--color-warning-fill-hover: color-mix(in oklab,
|
|
824
|
-
var(--color-warning)
|
|
825
|
-
|
|
922
|
+
var(--color-warning) 80%,
|
|
923
|
+
transparent);
|
|
826
924
|
}
|
|
827
925
|
}
|
|
828
926
|
|
|
@@ -1104,6 +1202,10 @@
|
|
|
1104
1202
|
--color-indicator: var(--color-indicator);
|
|
1105
1203
|
--color-indicator-foreground: var(--color-indicator-foreground);
|
|
1106
1204
|
--color-focus-ring: var(--color-focus-ring);
|
|
1205
|
+
--color-focus-ring-danger: var(--color-focus-ring-danger);
|
|
1206
|
+
--color-focus-ring-success: var(--color-focus-ring-success);
|
|
1207
|
+
--color-focus-ring-info: var(--color-focus-ring-info);
|
|
1208
|
+
--color-focus-ring-warning: var(--color-focus-ring-warning);
|
|
1107
1209
|
--focus-ring-width: var(--focus-ring-width);
|
|
1108
1210
|
--focus-ring-offset: var(--focus-ring-offset);
|
|
1109
1211
|
--color-primary-tint: var(--color-primary-tint);
|
|
@@ -3010,6 +3112,10 @@
|
|
|
3010
3112
|
min-width: 10rem;
|
|
3011
3113
|
}
|
|
3012
3114
|
|
|
3115
|
+
.min-w-\[11rem\] {
|
|
3116
|
+
min-width: 11rem;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3013
3119
|
.min-w-\[12rem\] {
|
|
3014
3120
|
min-width: 12rem;
|
|
3015
3121
|
}
|
|
@@ -3154,10 +3260,6 @@
|
|
|
3154
3260
|
flex-shrink: 0;
|
|
3155
3261
|
}
|
|
3156
3262
|
|
|
3157
|
-
.basis-\[12rem\] {
|
|
3158
|
-
flex-basis: 12rem;
|
|
3159
|
-
}
|
|
3160
|
-
|
|
3161
3263
|
.basis-component-xsmall {
|
|
3162
3264
|
flex-basis: var(--max-component-xsmall);
|
|
3163
3265
|
}
|
|
@@ -3609,6 +3711,10 @@
|
|
|
3609
3711
|
overflow-y: auto;
|
|
3610
3712
|
}
|
|
3611
3713
|
|
|
3714
|
+
.overscroll-x-contain {
|
|
3715
|
+
overscroll-behavior-x: contain;
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3612
3718
|
.\!rounded-base {
|
|
3613
3719
|
border-radius: var(--radius-base) !important;
|
|
3614
3720
|
}
|
|
@@ -5724,6 +5830,8 @@
|
|
|
5724
5830
|
}
|
|
5725
5831
|
|
|
5726
5832
|
.focus-ring-inset {
|
|
5833
|
+
box-shadow: inset 0 0 0 var(--focus-ring-width, 2px) transparent;
|
|
5834
|
+
transition: background-color var(--motion-surface-duration) var(--motion-surface-ease), border-color var(--motion-surface-duration) var(--motion-surface-ease), color var(--motion-surface-duration) var(--motion-surface-ease), fill var(--motion-surface-duration) var(--motion-surface-ease), stroke var(--motion-surface-duration) var(--motion-surface-ease), box-shadow var(--motion-surface-duration) var(--motion-shadow-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
|
|
5727
5835
|
outline: none;
|
|
5728
5836
|
}
|
|
5729
5837
|
|
|
@@ -5932,6 +6040,7 @@
|
|
|
5932
6040
|
outline-style: solid;
|
|
5933
6041
|
outline-width: var(--focus-ring-width, 2px);
|
|
5934
6042
|
outline-offset: var(--focus-ring-offset, 0px);
|
|
6043
|
+
transition: background-color var(--motion-surface-duration) var(--motion-surface-ease), border-color var(--motion-surface-duration) var(--motion-surface-ease), color var(--motion-surface-duration) var(--motion-surface-ease), fill var(--motion-surface-duration) var(--motion-surface-ease), stroke var(--motion-surface-duration) var(--motion-surface-ease), box-shadow var(--motion-surface-duration) var(--motion-shadow-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
|
|
5935
6044
|
outline-color: #0000;
|
|
5936
6045
|
}
|
|
5937
6046
|
|
|
@@ -5946,6 +6055,7 @@
|
|
|
5946
6055
|
outline-style: solid;
|
|
5947
6056
|
outline-width: var(--focus-ring-width, 2px);
|
|
5948
6057
|
outline-offset: var(--focus-ring-offset, 0px);
|
|
6058
|
+
transition: background-color var(--motion-surface-duration) var(--motion-surface-ease), border-color var(--motion-surface-duration) var(--motion-surface-ease), color var(--motion-surface-duration) var(--motion-surface-ease), fill var(--motion-surface-duration) var(--motion-surface-ease), stroke var(--motion-surface-duration) var(--motion-surface-ease), box-shadow var(--motion-surface-duration) var(--motion-shadow-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
|
|
5949
6059
|
outline-color: #0000;
|
|
5950
6060
|
}
|
|
5951
6061
|
|
|
@@ -5956,11 +6066,51 @@
|
|
|
5956
6066
|
outline-color: var(--color-focus-ring);
|
|
5957
6067
|
}
|
|
5958
6068
|
|
|
6069
|
+
.has-focus-ring {
|
|
6070
|
+
outline-style: solid;
|
|
6071
|
+
outline-width: var(--focus-ring-width, 2px);
|
|
6072
|
+
outline-offset: var(--focus-ring-offset, 0px);
|
|
6073
|
+
transition: background-color var(--motion-surface-duration) var(--motion-surface-ease), border-color var(--motion-surface-duration) var(--motion-surface-ease), color var(--motion-surface-duration) var(--motion-surface-ease), fill var(--motion-surface-duration) var(--motion-surface-ease), stroke var(--motion-surface-duration) var(--motion-surface-ease), box-shadow var(--motion-surface-duration) var(--motion-shadow-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
|
|
6074
|
+
outline-color: #0000;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6077
|
+
.has-focus-ring:has(:focus-visible) {
|
|
6078
|
+
outline-style: solid;
|
|
6079
|
+
outline-width: var(--focus-ring-width, 2px);
|
|
6080
|
+
outline-offset: var(--focus-ring-offset, 0px);
|
|
6081
|
+
outline-color: var(--color-focus-ring);
|
|
6082
|
+
}
|
|
6083
|
+
|
|
5959
6084
|
.outline {
|
|
5960
6085
|
outline-style: var(--tw-outline-style);
|
|
5961
6086
|
outline-width: 1px;
|
|
5962
6087
|
}
|
|
5963
6088
|
|
|
6089
|
+
.outline-\[length\:var\(--focus-ring-width\,2px\)\] {
|
|
6090
|
+
outline-style: var(--tw-outline-style);
|
|
6091
|
+
outline-width: var(--focus-ring-width, 2px);
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6094
|
+
.outline-offset-\[length\:var\(--focus-ring-offset\,0px\)\] {
|
|
6095
|
+
outline-offset: var(--focus-ring-offset, 0px);
|
|
6096
|
+
}
|
|
6097
|
+
|
|
6098
|
+
.outline-\[var\(--color-focus-ring-danger\)\] {
|
|
6099
|
+
outline-color: var(--color-focus-ring-danger);
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
.outline-\[var\(--color-focus-ring-info\)\] {
|
|
6103
|
+
outline-color: var(--color-focus-ring-info);
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
.outline-\[var\(--color-focus-ring-success\)\] {
|
|
6107
|
+
outline-color: var(--color-focus-ring-success);
|
|
6108
|
+
}
|
|
6109
|
+
|
|
6110
|
+
.outline-\[var\(--color-focus-ring-warning\)\] {
|
|
6111
|
+
outline-color: var(--color-focus-ring-warning);
|
|
6112
|
+
}
|
|
6113
|
+
|
|
5964
6114
|
.blur {
|
|
5965
6115
|
--tw-blur: blur(8px);
|
|
5966
6116
|
filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
|
|
@@ -6031,10 +6181,6 @@
|
|
|
6031
6181
|
transition-timing-function: var(--ease-out);
|
|
6032
6182
|
}
|
|
6033
6183
|
|
|
6034
|
-
.will-change-\[transform\,opacity\] {
|
|
6035
|
-
will-change: transform,opacity;
|
|
6036
|
-
}
|
|
6037
|
-
|
|
6038
6184
|
.will-change-transform {
|
|
6039
6185
|
will-change: transform;
|
|
6040
6186
|
}
|
|
@@ -6044,6 +6190,11 @@
|
|
|
6044
6190
|
outline-style: none;
|
|
6045
6191
|
}
|
|
6046
6192
|
|
|
6193
|
+
.outline-solid {
|
|
6194
|
+
--tw-outline-style: solid;
|
|
6195
|
+
outline-style: solid;
|
|
6196
|
+
}
|
|
6197
|
+
|
|
6047
6198
|
.select-none {
|
|
6048
6199
|
-webkit-user-select: none;
|
|
6049
6200
|
user-select: none;
|
|
@@ -6053,6 +6204,22 @@
|
|
|
6053
6204
|
--border-width: 0px;
|
|
6054
6205
|
}
|
|
6055
6206
|
|
|
6207
|
+
.\[--color-focus-ring\:var\(--color-focus-ring-danger\)\] {
|
|
6208
|
+
--color-focus-ring: var(--color-focus-ring-danger);
|
|
6209
|
+
}
|
|
6210
|
+
|
|
6211
|
+
.\[--color-focus-ring\:var\(--color-focus-ring-info\)\] {
|
|
6212
|
+
--color-focus-ring: var(--color-focus-ring-info);
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
.\[--color-focus-ring\:var\(--color-focus-ring-success\)\] {
|
|
6216
|
+
--color-focus-ring: var(--color-focus-ring-success);
|
|
6217
|
+
}
|
|
6218
|
+
|
|
6219
|
+
.\[--color-focus-ring\:var\(--color-focus-ring-warning\)\] {
|
|
6220
|
+
--color-focus-ring: var(--color-focus-ring-warning);
|
|
6221
|
+
}
|
|
6222
|
+
|
|
6056
6223
|
.\[clip\:rect\(0\,0\,0\,0\)\] {
|
|
6057
6224
|
clip: rect(0,0,0,0);
|
|
6058
6225
|
}
|
|
@@ -6253,6 +6420,22 @@
|
|
|
6253
6420
|
background-color: var(--color-warning-fill-hover);
|
|
6254
6421
|
}
|
|
6255
6422
|
|
|
6423
|
+
.focus-within\:outline-\[var\(--color-focus-ring-danger\)\]:focus-within {
|
|
6424
|
+
outline-color: var(--color-focus-ring-danger);
|
|
6425
|
+
}
|
|
6426
|
+
|
|
6427
|
+
.focus-within\:outline-\[var\(--color-focus-ring-info\)\]:focus-within {
|
|
6428
|
+
outline-color: var(--color-focus-ring-info);
|
|
6429
|
+
}
|
|
6430
|
+
|
|
6431
|
+
.focus-within\:outline-\[var\(--color-focus-ring-success\)\]:focus-within {
|
|
6432
|
+
outline-color: var(--color-focus-ring-success);
|
|
6433
|
+
}
|
|
6434
|
+
|
|
6435
|
+
.focus-within\:outline-\[var\(--color-focus-ring-warning\)\]:focus-within {
|
|
6436
|
+
outline-color: var(--color-focus-ring-warning);
|
|
6437
|
+
}
|
|
6438
|
+
|
|
6256
6439
|
@media (hover: hover) {
|
|
6257
6440
|
.hover\:bg-danger-fill-hover:hover {
|
|
6258
6441
|
background-color: var(--color-danger-fill-hover);
|
|
@@ -6496,26 +6679,10 @@
|
|
|
6496
6679
|
outline-offset: 2px;
|
|
6497
6680
|
}
|
|
6498
6681
|
|
|
6499
|
-
.focus-visible\:outline-danger:focus-visible {
|
|
6500
|
-
outline-color: var(--color-danger);
|
|
6501
|
-
}
|
|
6502
|
-
|
|
6503
|
-
.focus-visible\:outline-info:focus-visible {
|
|
6504
|
-
outline-color: var(--color-info);
|
|
6505
|
-
}
|
|
6506
|
-
|
|
6507
6682
|
.focus-visible\:outline-primary:focus-visible {
|
|
6508
6683
|
outline-color: var(--color-primary);
|
|
6509
6684
|
}
|
|
6510
6685
|
|
|
6511
|
-
.focus-visible\:outline-success:focus-visible {
|
|
6512
|
-
outline-color: var(--color-success);
|
|
6513
|
-
}
|
|
6514
|
-
|
|
6515
|
-
.focus-visible\:outline-warning:focus-visible {
|
|
6516
|
-
outline-color: var(--color-warning);
|
|
6517
|
-
}
|
|
6518
|
-
|
|
6519
6686
|
.active\:cursor-grabbing:active {
|
|
6520
6687
|
cursor: grabbing;
|
|
6521
6688
|
}
|
|
@@ -6566,28 +6733,14 @@
|
|
|
6566
6733
|
background-color: var(--color-primary-tint);
|
|
6567
6734
|
}
|
|
6568
6735
|
|
|
6569
|
-
.has-\[\:focus-visible\]\:outline:has(:focus-visible) {
|
|
6570
|
-
outline-style: var(--tw-outline-style);
|
|
6571
|
-
outline-width: 1px;
|
|
6572
|
-
}
|
|
6573
|
-
|
|
6574
|
-
.has-\[\:focus-visible\]\:outline-2:has(:focus-visible) {
|
|
6575
|
-
outline-style: var(--tw-outline-style);
|
|
6576
|
-
outline-width: 2px;
|
|
6577
|
-
}
|
|
6578
|
-
|
|
6579
|
-
.has-\[\:focus-visible\]\:outline-offset-2:has(:focus-visible) {
|
|
6580
|
-
outline-offset: 2px;
|
|
6581
|
-
}
|
|
6582
|
-
|
|
6583
|
-
.has-\[\:focus-visible\]\:outline-primary:has(:focus-visible) {
|
|
6584
|
-
outline-color: var(--color-primary);
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
6736
|
.aria-expanded\:text-foreground[aria-expanded="true"] {
|
|
6588
6737
|
color: var(--color-foreground);
|
|
6589
6738
|
}
|
|
6590
6739
|
|
|
6740
|
+
.data-active\:bg-default-hover[data-active] {
|
|
6741
|
+
background-color: var(--color-default-hover);
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6591
6744
|
.data-\[selected\=true\]\:border-primary[data-selected="true"] {
|
|
6592
6745
|
border-color: var(--color-primary);
|
|
6593
6746
|
}
|
|
@@ -6980,7 +7133,7 @@ p {
|
|
|
6980
7133
|
backdrop-filter: none;
|
|
6981
7134
|
}
|
|
6982
7135
|
|
|
6983
|
-
.animate-shadow, .text-color-transition, .surface-color-transition, .field-shell-transition {
|
|
7136
|
+
.animate-shadow, .text-color-transition, .surface-color-transition, .field-shell-transition, .focus-ring, .focus-within-ring, .focus-ring-inset, .has-focus-ring {
|
|
6984
7137
|
transition: none;
|
|
6985
7138
|
}
|
|
6986
7139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "burne-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "React UI kit (Burne UI)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -51,15 +51,13 @@
|
|
|
51
51
|
"test-storybook:coverage": "PLAYWRIGHT_BROWSERS_PATH=0 vitest run --project=storybook --coverage"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
+
"gsap": "^3.12.0",
|
|
54
55
|
"react": "^18.0.0 || ^19.0.0",
|
|
55
56
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
56
57
|
"react-icons": "^5.0.0"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
|
-
"@gsap/react": "^2.1.2",
|
|
60
60
|
"clsx": "^2.1.1",
|
|
61
|
-
"gsap": "^3.15.0",
|
|
62
|
-
"ogl": "^1.0.11",
|
|
63
61
|
"tailwind-merge": "^3.6.0"
|
|
64
62
|
},
|
|
65
63
|
"devDependencies": {
|
|
@@ -75,6 +73,8 @@
|
|
|
75
73
|
"@vitest/browser-playwright": "^4.1.9",
|
|
76
74
|
"@vitest/coverage-v8": "^4.1.9",
|
|
77
75
|
"chromatic": "^17.7.2",
|
|
76
|
+
"gsap": "^3.15.0",
|
|
77
|
+
"ogl": "^1.0.11",
|
|
78
78
|
"playwright": "^1.61.1",
|
|
79
79
|
"react": "^19.1.0",
|
|
80
80
|
"react-dom": "^19.1.0",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RunComboBoxOpenAfterSqueezeOptions } from './comboBoxTypes';
|
|
2
|
-
export declare function runComboBoxOpenAfterSqueeze({ anchorRef, disabled, isGloss, groupSegment, setOpen, onOpened, openingRef, preferStandardSqueeze, }: RunComboBoxOpenAfterSqueezeOptions & {
|
|
3
|
-
openingRef: React.RefObject<boolean>;
|
|
4
|
-
}): void;
|
|
5
|
-
export declare function useComboBoxOpeningRef(): import('react').RefObject<boolean>;
|