@refineui/react 0.0.6 → 0.0.7
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/dist/index.cjs +205 -209
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -34
- package/dist/index.d.ts +45 -34
- package/dist/index.js +190 -194
- package/dist/index.js.map +1 -1
- package/dist/spec/components/menu.json +1 -1
- package/dist/spec/contract-index.json +2 -2
- package/dist/spec/manifest.json +1 -1
- package/dist/spec/token-graph.json +33 -33
- package/dist/spec/token-trace-v2.json +34 -28
- package/package.json +1 -1
- package/refineui.css +92 -54
- package/spec/components/menu.json +1 -1
- package/spec/manifest.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractLayer": "component-spec",
|
|
4
4
|
"contractLayerVersion": "1.1",
|
|
5
5
|
"status": "catalog",
|
|
6
|
-
"generatedAt": "2026-09-
|
|
6
|
+
"generatedAt": "2026-09-23T05:49:35.021Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
"menu-item",
|
|
394
394
|
"menu-popover",
|
|
395
395
|
"menu-root",
|
|
396
|
-
"menu-
|
|
396
|
+
"menu-label"
|
|
397
397
|
]
|
|
398
398
|
},
|
|
399
399
|
{
|
package/dist/spec/manifest.json
CHANGED
|
@@ -473,6 +473,10 @@
|
|
|
473
473
|
"id": "component.dropdown.menu.background",
|
|
474
474
|
"layer": "component"
|
|
475
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"id": "semantic.surfaceFrosted",
|
|
478
|
+
"layer": "semantic"
|
|
479
|
+
},
|
|
476
480
|
{
|
|
477
481
|
"id": "component.dropdown.menu.border",
|
|
478
482
|
"layer": "component"
|
|
@@ -513,6 +517,14 @@
|
|
|
513
517
|
"id": "component.select.disabledBackground",
|
|
514
518
|
"layer": "component"
|
|
515
519
|
},
|
|
520
|
+
{
|
|
521
|
+
"id": "component.select.menu.background",
|
|
522
|
+
"layer": "component"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "component.select.menu.border",
|
|
526
|
+
"layer": "component"
|
|
527
|
+
},
|
|
516
528
|
{
|
|
517
529
|
"id": "component.select.border.default",
|
|
518
530
|
"layer": "component"
|
|
@@ -2839,17 +2851,7 @@
|
|
|
2839
2851
|
},
|
|
2840
2852
|
{
|
|
2841
2853
|
"from": "component.dropdown.menu.background",
|
|
2842
|
-
"to": "semantic.
|
|
2843
|
-
},
|
|
2844
|
-
{
|
|
2845
|
-
"from": "semantic.backgroundPrimary",
|
|
2846
|
-
"to": "foundation.neutralWhite",
|
|
2847
|
-
"context": "light"
|
|
2848
|
-
},
|
|
2849
|
-
{
|
|
2850
|
-
"from": "semantic.backgroundPrimary",
|
|
2851
|
-
"to": "foundation.neutral900",
|
|
2852
|
-
"context": "dark"
|
|
2854
|
+
"to": "semantic.surfaceFrosted"
|
|
2853
2855
|
},
|
|
2854
2856
|
{
|
|
2855
2857
|
"from": "component.dropdown.menu.border",
|
|
@@ -2991,6 +2993,24 @@
|
|
|
2991
2993
|
"to": "foundation.neutral850",
|
|
2992
2994
|
"context": "dark"
|
|
2993
2995
|
},
|
|
2996
|
+
{
|
|
2997
|
+
"from": "component.select.menu.background",
|
|
2998
|
+
"to": "semantic.surfaceFrosted"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"from": "component.select.menu.border",
|
|
3002
|
+
"to": "semantic.borderDefault"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"from": "semantic.borderDefault",
|
|
3006
|
+
"to": "foundation.neutral300",
|
|
3007
|
+
"context": "light"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"from": "semantic.borderDefault",
|
|
3011
|
+
"to": "foundation.neutral650",
|
|
3012
|
+
"context": "dark"
|
|
3013
|
+
},
|
|
2994
3014
|
{
|
|
2995
3015
|
"from": "component.select.border.default",
|
|
2996
3016
|
"to": "semantic.borderDefault"
|
|
@@ -5899,17 +5919,7 @@
|
|
|
5899
5919
|
},
|
|
5900
5920
|
{
|
|
5901
5921
|
"from": "component.menu.panel.background",
|
|
5902
|
-
"to": "semantic.
|
|
5903
|
-
},
|
|
5904
|
-
{
|
|
5905
|
-
"from": "semantic.backgroundPrimary",
|
|
5906
|
-
"to": "foundation.neutralWhite",
|
|
5907
|
-
"context": "light"
|
|
5908
|
-
},
|
|
5909
|
-
{
|
|
5910
|
-
"from": "semantic.backgroundPrimary",
|
|
5911
|
-
"to": "foundation.neutral900",
|
|
5912
|
-
"context": "dark"
|
|
5922
|
+
"to": "semantic.surfaceFrosted"
|
|
5913
5923
|
},
|
|
5914
5924
|
{
|
|
5915
5925
|
"from": "component.menu.panel.border",
|
|
@@ -5927,17 +5937,7 @@
|
|
|
5927
5937
|
},
|
|
5928
5938
|
{
|
|
5929
5939
|
"from": "component.menu.list.background",
|
|
5930
|
-
"to": "semantic.
|
|
5931
|
-
},
|
|
5932
|
-
{
|
|
5933
|
-
"from": "semantic.backgroundPrimary",
|
|
5934
|
-
"to": "foundation.neutralWhite",
|
|
5935
|
-
"context": "light"
|
|
5936
|
-
},
|
|
5937
|
-
{
|
|
5938
|
-
"from": "semantic.backgroundPrimary",
|
|
5939
|
-
"to": "foundation.neutral900",
|
|
5940
|
-
"context": "dark"
|
|
5940
|
+
"to": "semantic.surfaceFrosted"
|
|
5941
5941
|
},
|
|
5942
5942
|
{
|
|
5943
5943
|
"from": "component.menu.list.border",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"generatedAt": "2026-09-23T05:49:35.017Z",
|
|
4
4
|
"contractLayer": "component-token-trace",
|
|
5
5
|
"tokens": {
|
|
6
6
|
"webIcon.primary": {
|
|
@@ -1042,15 +1042,9 @@
|
|
|
1042
1042
|
"type": "component",
|
|
1043
1043
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1044
1044
|
"resolvesTo": {
|
|
1045
|
-
"semantic": "
|
|
1046
|
-
"light":
|
|
1047
|
-
|
|
1048
|
-
"value": "#FFFFFF"
|
|
1049
|
-
},
|
|
1050
|
-
"dark": {
|
|
1051
|
-
"foundation": "neutral900",
|
|
1052
|
-
"value": "#1A1A1A"
|
|
1053
|
-
}
|
|
1045
|
+
"semantic": "surfaceFrosted",
|
|
1046
|
+
"light": null,
|
|
1047
|
+
"dark": null
|
|
1054
1048
|
}
|
|
1055
1049
|
},
|
|
1056
1050
|
"dropdown.menu.border": {
|
|
@@ -1203,6 +1197,30 @@
|
|
|
1203
1197
|
}
|
|
1204
1198
|
}
|
|
1205
1199
|
},
|
|
1200
|
+
"select.menu.background": {
|
|
1201
|
+
"type": "component",
|
|
1202
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1203
|
+
"resolvesTo": {
|
|
1204
|
+
"semantic": "surfaceFrosted",
|
|
1205
|
+
"light": null,
|
|
1206
|
+
"dark": null
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
"select.menu.border": {
|
|
1210
|
+
"type": "component",
|
|
1211
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1212
|
+
"resolvesTo": {
|
|
1213
|
+
"semantic": "borderDefault",
|
|
1214
|
+
"light": {
|
|
1215
|
+
"foundation": "neutral300",
|
|
1216
|
+
"value": "#DBDBDB"
|
|
1217
|
+
},
|
|
1218
|
+
"dark": {
|
|
1219
|
+
"foundation": "neutral650",
|
|
1220
|
+
"value": "#5B5B5B"
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1206
1224
|
"select.border.default": {
|
|
1207
1225
|
"type": "component",
|
|
1208
1226
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
@@ -4330,15 +4348,9 @@
|
|
|
4330
4348
|
"type": "component",
|
|
4331
4349
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
4332
4350
|
"resolvesTo": {
|
|
4333
|
-
"semantic": "
|
|
4334
|
-
"light":
|
|
4335
|
-
|
|
4336
|
-
"value": "#FFFFFF"
|
|
4337
|
-
},
|
|
4338
|
-
"dark": {
|
|
4339
|
-
"foundation": "neutral900",
|
|
4340
|
-
"value": "#1A1A1A"
|
|
4341
|
-
}
|
|
4351
|
+
"semantic": "surfaceFrosted",
|
|
4352
|
+
"light": null,
|
|
4353
|
+
"dark": null
|
|
4342
4354
|
}
|
|
4343
4355
|
},
|
|
4344
4356
|
"menu.panel.border": {
|
|
@@ -4360,15 +4372,9 @@
|
|
|
4360
4372
|
"type": "component",
|
|
4361
4373
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
4362
4374
|
"resolvesTo": {
|
|
4363
|
-
"semantic": "
|
|
4364
|
-
"light":
|
|
4365
|
-
|
|
4366
|
-
"value": "#FFFFFF"
|
|
4367
|
-
},
|
|
4368
|
-
"dark": {
|
|
4369
|
-
"foundation": "neutral900",
|
|
4370
|
-
"value": "#1A1A1A"
|
|
4371
|
-
}
|
|
4375
|
+
"semantic": "surfaceFrosted",
|
|
4376
|
+
"light": null,
|
|
4377
|
+
"dark": null
|
|
4372
4378
|
}
|
|
4373
4379
|
},
|
|
4374
4380
|
"menu.list.border": {
|
package/package.json
CHANGED
package/refineui.css
CHANGED
|
@@ -134,40 +134,22 @@
|
|
|
134
134
|
color: inherit;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
[data-refineui="
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
[data-refineui="dropdown-menu"][data-side="top"] {
|
|
146
|
-
transform-origin: bottom center;
|
|
147
|
-
animation: refineui-dropdown-menu-enter-top var(--refineui-motion-duration-normal) var(--refineui-motion-easing-standard) both;
|
|
148
|
-
}
|
|
137
|
+
/*
|
|
138
|
+
* Enter: opacity only. A leftover `transform` (esp. with `animation-fill-mode: both`)
|
|
139
|
+
* creates a containing group and kills `backdrop-filter` on frosted panels.
|
|
140
|
+
*/
|
|
141
|
+
[data-refineui="dropdown-menu"][data-side="bottom"],
|
|
142
|
+
[data-refineui="select-menu"][data-side="bottom"],
|
|
143
|
+
[data-refineui="dropdown-menu"][data-side="top"],
|
|
149
144
|
[data-refineui="select-menu"][data-side="top"] {
|
|
150
|
-
|
|
151
|
-
animation: refineui-dropdown-menu-enter-top var(--refineui-motion-duration-normal) var(--refineui-motion-easing-standard) both;
|
|
152
|
-
}
|
|
153
|
-
@keyframes refineui-dropdown-menu-enter-bottom {
|
|
154
|
-
from {
|
|
155
|
-
opacity: 0;
|
|
156
|
-
transform: translateY(-4px);
|
|
157
|
-
}
|
|
158
|
-
to {
|
|
159
|
-
opacity: 1;
|
|
160
|
-
transform: translateY(0);
|
|
161
|
-
}
|
|
145
|
+
animation: refineui-frosted-panel-enter var(--refineui-motion-duration-normal) var(--refineui-motion-easing-standard);
|
|
162
146
|
}
|
|
163
|
-
@keyframes refineui-
|
|
147
|
+
@keyframes refineui-frosted-panel-enter {
|
|
164
148
|
from {
|
|
165
149
|
opacity: 0;
|
|
166
|
-
transform: translateY(4px);
|
|
167
150
|
}
|
|
168
151
|
to {
|
|
169
152
|
opacity: 1;
|
|
170
|
-
transform: translateY(0);
|
|
171
153
|
}
|
|
172
154
|
}
|
|
173
155
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -321,13 +303,30 @@
|
|
|
321
303
|
[data-refineui="segmented-control-indicator"] {
|
|
322
304
|
transition: none;
|
|
323
305
|
display: block;
|
|
306
|
+
opacity: 0;
|
|
307
|
+
}
|
|
308
|
+
[data-refineui="segmented-control-indicator"][data-ready="true"] {
|
|
309
|
+
opacity: 1;
|
|
310
|
+
}
|
|
311
|
+
/*
|
|
312
|
+
* SSR / pre-measure: selected item carries brand fill until the sliding thumb
|
|
313
|
+
* has geometry (`data-ready`). Avoids a blank selection on first paint.
|
|
314
|
+
*/
|
|
315
|
+
[data-refineui="segmented-control"]:not(:has([data-refineui="segmented-control-indicator"][data-ready="true"]))
|
|
316
|
+
[data-refineui="segmented-control-item"][data-selected="true"]:not(:disabled):not([aria-disabled="true"]) {
|
|
317
|
+
background-color: var(--refineui-color-alias-background-brand);
|
|
318
|
+
box-shadow: var(--refineui-elevation-2);
|
|
324
319
|
}
|
|
325
|
-
|
|
320
|
+
[data-refineui="segmented-control"]:not(:has([data-refineui="segmented-control-indicator"][data-ready="true"]))
|
|
321
|
+
[data-refineui="segmented-control-item"][data-selected="true"]:not(:disabled):not([aria-disabled="true"]):hover {
|
|
322
|
+
background-color: var(--refineui-color-alias-background-brand-hover);
|
|
323
|
+
}
|
|
324
|
+
/* Animate only after first layout (`data-animate`) so mount does not slide from 0.
|
|
325
|
+
* Transform leads; width lags slightly so leading/trailing edges arrive apart. */
|
|
326
326
|
[data-refineui="segmented-control-indicator"][data-animate="true"] {
|
|
327
|
-
/* Selection slide: medium + emphasized for a springier thumb move. */
|
|
328
327
|
transition:
|
|
329
328
|
transform var(--refineui-motion-duration-medium) var(--refineui-motion-easing-emphasized),
|
|
330
|
-
width var(--refineui-motion-duration-
|
|
329
|
+
width var(--refineui-motion-duration-slow) var(--refineui-motion-easing-emphasized);
|
|
331
330
|
}
|
|
332
331
|
@media (prefers-reduced-motion: reduce) {
|
|
333
332
|
[data-refineui="segmented-control-indicator"][data-animate="true"] {
|
|
@@ -339,7 +338,9 @@
|
|
|
339
338
|
color: var(--refineui-color-alias-foreground-primary);
|
|
340
339
|
background-color: transparent;
|
|
341
340
|
}
|
|
342
|
-
|
|
341
|
+
/* Once the thumb is ready, selection fill lives on the indicator — keep item transparent. */
|
|
342
|
+
[data-refineui="segmented-control"]:has([data-refineui="segmented-control-indicator"][data-ready="true"])
|
|
343
|
+
[data-refineui="segmented-control-item"][data-selected="true"]:not(:disabled):not([aria-disabled="true"]):hover {
|
|
343
344
|
color: var(--refineui-color-alias-foreground-on-brand);
|
|
344
345
|
background-color: transparent;
|
|
345
346
|
}
|
|
@@ -632,34 +633,29 @@
|
|
|
632
633
|
background-color: var(--refineui-color-alias-background-primary-active) !important;
|
|
633
634
|
}
|
|
634
635
|
|
|
636
|
+
/* Opacity-only — parent transform would isolate and break child `backdrop-filter`. */
|
|
635
637
|
@keyframes refineui-menu-popover-enter {
|
|
636
638
|
from {
|
|
637
639
|
opacity: 0;
|
|
638
|
-
transform: translateY(calc(-1 * var(--refineui-motion-distance-float))) scale(var(--refineui-motion-scale-press));
|
|
639
640
|
}
|
|
640
641
|
to {
|
|
641
642
|
opacity: 1;
|
|
642
|
-
transform: translateY(0) scale(1);
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
@keyframes refineui-menu-popover-exit {
|
|
647
647
|
from {
|
|
648
648
|
opacity: 1;
|
|
649
|
-
transform: translateY(0) scale(1);
|
|
650
649
|
}
|
|
651
650
|
to {
|
|
652
651
|
opacity: 0;
|
|
653
|
-
transform: translateY(calc(-1 * var(--refineui-motion-distance-float))) scale(var(--refineui-motion-scale-press));
|
|
654
652
|
}
|
|
655
653
|
}
|
|
656
654
|
|
|
657
655
|
[data-refineui="menu-popover"][data-state="open"] {
|
|
658
|
-
transform-origin: top left;
|
|
659
656
|
animation: refineui-menu-popover-enter var(--refineui-motion-duration-normal) var(--refineui-motion-easing-standard);
|
|
660
657
|
}
|
|
661
658
|
[data-refineui="menu-popover"][data-state="closed"] {
|
|
662
|
-
transform-origin: top left;
|
|
663
659
|
pointer-events: none;
|
|
664
660
|
animation: refineui-menu-popover-exit var(--refineui-motion-duration-normal) var(--refineui-motion-easing-standard);
|
|
665
661
|
}
|
|
@@ -677,46 +673,38 @@
|
|
|
677
673
|
@keyframes refineui-menu-submenu-enter-right {
|
|
678
674
|
from {
|
|
679
675
|
opacity: 0;
|
|
680
|
-
transform: translateX(calc(-1 * var(--refineui-motion-distance-float)));
|
|
681
676
|
}
|
|
682
677
|
to {
|
|
683
678
|
opacity: 1;
|
|
684
|
-
transform: translateX(0);
|
|
685
679
|
}
|
|
686
680
|
}
|
|
687
681
|
|
|
688
682
|
@keyframes refineui-menu-submenu-enter-left {
|
|
689
683
|
from {
|
|
690
684
|
opacity: 0;
|
|
691
|
-
transform: translateX(var(--refineui-motion-distance-float));
|
|
692
685
|
}
|
|
693
686
|
to {
|
|
694
687
|
opacity: 1;
|
|
695
|
-
transform: translateX(0);
|
|
696
688
|
}
|
|
697
689
|
}
|
|
698
690
|
|
|
699
691
|
[data-refineui="menu"][data-submenu="true"][data-state="open"] {
|
|
700
|
-
animation: refineui-menu-submenu-enter-right var(--refineui-motion-duration-fast) var(--refineui-motion-easing-standard)
|
|
692
|
+
animation: refineui-menu-submenu-enter-right var(--refineui-motion-duration-fast) var(--refineui-motion-easing-standard);
|
|
701
693
|
}
|
|
702
694
|
[data-refineui="menu"][data-submenu="true"][data-state="open"][data-side="left"] {
|
|
703
|
-
transform-origin: right center;
|
|
704
695
|
animation-name: refineui-menu-submenu-enter-left;
|
|
705
696
|
}
|
|
706
697
|
[data-refineui="menu"][data-submenu="true"][data-state="open"][data-side="right"] {
|
|
707
|
-
transform-origin: left center;
|
|
708
698
|
animation-name: refineui-menu-submenu-enter-right;
|
|
709
699
|
}
|
|
710
700
|
|
|
711
701
|
[data-refineui="dropdown-menu"][data-submenu="true"][data-state="open"] {
|
|
712
|
-
animation: refineui-menu-submenu-enter-right var(--refineui-motion-duration-fast) var(--refineui-motion-easing-standard)
|
|
702
|
+
animation: refineui-menu-submenu-enter-right var(--refineui-motion-duration-fast) var(--refineui-motion-easing-standard);
|
|
713
703
|
}
|
|
714
704
|
[data-refineui="dropdown-menu"][data-submenu="true"][data-state="open"][data-side="left"] {
|
|
715
|
-
transform-origin: right center;
|
|
716
705
|
animation-name: refineui-menu-submenu-enter-left;
|
|
717
706
|
}
|
|
718
707
|
[data-refineui="dropdown-menu"][data-submenu="true"][data-state="open"][data-side="right"] {
|
|
719
|
-
transform-origin: left center;
|
|
720
708
|
animation-name: refineui-menu-submenu-enter-right;
|
|
721
709
|
}
|
|
722
710
|
|
|
@@ -833,6 +821,23 @@
|
|
|
833
821
|
border-color var(--refineui-motion-duration-fast);
|
|
834
822
|
caret-color: var(--refineui-color-alias-foreground-primary);
|
|
835
823
|
}
|
|
824
|
+
/*
|
|
825
|
+
* Empty slots — same opacity pulse as Skeleton; staggered by `--refineui-input-otp-slot-index`.
|
|
826
|
+
* Stops when filled, focused, disabled, or reduced-motion.
|
|
827
|
+
*/
|
|
828
|
+
[data-refineui="input-otp"]:not([data-disabled="true"])
|
|
829
|
+
[data-refineui="input-otp-slot"]:not([data-filled]):not(:disabled):not(:focus) {
|
|
830
|
+
animation: refineui-skeleton-pulse var(--refineui-motion-duration-skeleton)
|
|
831
|
+
var(--refineui-motion-easing-ease-in-out) infinite;
|
|
832
|
+
animation-delay: calc(
|
|
833
|
+
var(--refineui-input-otp-slot-index, 0) * var(--refineui-motion-duration-fast) * -1
|
|
834
|
+
);
|
|
835
|
+
}
|
|
836
|
+
@media (prefers-reduced-motion: reduce) {
|
|
837
|
+
[data-refineui="input-otp"] [data-refineui="input-otp-slot"] {
|
|
838
|
+
animation: none;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
836
841
|
/* OTP digit typography — CSS vars (not Tailwind @utility; runtime-resolved classes are tree-shaken) */
|
|
837
842
|
[data-refineui="input-otp"][data-size="sm"] [data-refineui="input-otp-slot"] {
|
|
838
843
|
font-family: var(--refineui-typography-sub-title-1-font-family);
|
|
@@ -1065,13 +1070,36 @@
|
|
|
1065
1070
|
backdrop-filter: none;
|
|
1066
1071
|
-webkit-backdrop-filter: none;
|
|
1067
1072
|
}
|
|
1073
|
+
/* Frosted panels — fall back to opaque primary when blur is disabled */
|
|
1074
|
+
[data-refineui="menu"],
|
|
1075
|
+
[data-refineui="dropdown-menu"],
|
|
1076
|
+
[data-refineui="select-menu"],
|
|
1077
|
+
[data-refineui="sidebar-peek-panel"] {
|
|
1078
|
+
background-color: var(--refineui-color-alias-background-primary);
|
|
1079
|
+
backdrop-filter: none;
|
|
1080
|
+
-webkit-backdrop-filter: none;
|
|
1081
|
+
}
|
|
1068
1082
|
}
|
|
1069
1083
|
|
|
1070
|
-
/* Dialog / Drawer scrim — tint (`surfaceOverlay`) +
|
|
1084
|
+
/* Dialog / Drawer scrim — tint (`surfaceOverlay`) + semantic overlay blur */
|
|
1071
1085
|
[data-refineui="dialog"] > [role="presentation"],
|
|
1072
1086
|
[data-refineui="drawer"] > [role="presentation"] {
|
|
1073
|
-
backdrop-filter: blur(var(--refineui-
|
|
1074
|
-
-webkit-backdrop-filter: blur(var(--refineui-
|
|
1087
|
+
backdrop-filter: blur(var(--refineui-blur-overlay-scrim));
|
|
1088
|
+
-webkit-backdrop-filter: blur(var(--refineui-blur-overlay-scrim));
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/*
|
|
1092
|
+
* Frosted panels — fill + surface blur (Menu, ContextMenu, Dropdown, Select, SidebarPeek).
|
|
1093
|
+
* Fill: `--refineui-color-alias-surface-frosted`; blur: `--refineui-blur-surface-frost`.
|
|
1094
|
+
* Avoid ancestor `transform` / leftover animation transform on these nodes (breaks backdrop).
|
|
1095
|
+
*/
|
|
1096
|
+
[data-refineui="menu"],
|
|
1097
|
+
[data-refineui="dropdown-menu"],
|
|
1098
|
+
[data-refineui="select-menu"],
|
|
1099
|
+
[data-refineui="sidebar-peek-panel"] {
|
|
1100
|
+
background-color: var(--refineui-color-alias-surface-frosted);
|
|
1101
|
+
-webkit-backdrop-filter: blur(var(--refineui-blur-surface-frost));
|
|
1102
|
+
backdrop-filter: blur(var(--refineui-blur-surface-frost));
|
|
1075
1103
|
}
|
|
1076
1104
|
|
|
1077
1105
|
[data-refineui="toast"][data-swiping="true"] {
|
|
@@ -1205,12 +1233,12 @@
|
|
|
1205
1233
|
min-width: var(--refineui-size-control-checkbox, 20px);
|
|
1206
1234
|
min-height: var(--refineui-size-control-checkbox, 20px);
|
|
1207
1235
|
border: 1px solid var(--refineui-color-alias-border-default);
|
|
1208
|
-
border-radius:
|
|
1236
|
+
border-radius: var(--refineui-radius-rounded-large);
|
|
1209
1237
|
background-color: var(--refineui-color-alias-background-primary);
|
|
1210
1238
|
transition: background-color var(--refineui-motion-duration-fast), border-color var(--refineui-motion-duration-fast), border-width var(--refineui-motion-duration-fast);
|
|
1211
1239
|
}
|
|
1212
1240
|
[data-refineui="checkbox"][data-variant="circular"] {
|
|
1213
|
-
border-radius:
|
|
1241
|
+
border-radius: var(--refineui-radius-rounded-circle);
|
|
1214
1242
|
}
|
|
1215
1243
|
/* Unchecked — Hover: border subtle; Pressed: border strong */
|
|
1216
1244
|
label:hover:not(:active) [data-refineui="checkbox"][data-checked="false"]:not([data-disabled="true"]) {
|
|
@@ -1568,7 +1596,8 @@ a[data-refineui="link"]:focus-visible {
|
|
|
1568
1596
|
[data-refineui="sidebar-peek-surface"][data-sidebar-peek-panel-open] {
|
|
1569
1597
|
visibility: visible;
|
|
1570
1598
|
pointer-events: auto;
|
|
1571
|
-
|
|
1599
|
+
/* `translateX(0)` still creates a containing group and kills child backdrop-filter */
|
|
1600
|
+
transform: none;
|
|
1572
1601
|
transition:
|
|
1573
1602
|
transform var(--refineui-motion-duration-overlay) var(--refineui-motion-easing-standard),
|
|
1574
1603
|
visibility 0s linear 0s;
|
|
@@ -1580,7 +1609,7 @@ a[data-refineui="link"]:focus-visible {
|
|
|
1580
1609
|
pointer-events: auto;
|
|
1581
1610
|
border: var(--refineui-stroke-width-thin) solid var(--refineui-color-alias-border-default);
|
|
1582
1611
|
border-radius: var(--refineui-radius-rounded-xx-large);
|
|
1583
|
-
|
|
1612
|
+
/* Fill + blur: shared frosted panel rule above (`surfaceFrosted` / `surfaceFrost`) */
|
|
1584
1613
|
box-shadow: var(--refineui-elevation-16);
|
|
1585
1614
|
overflow: hidden;
|
|
1586
1615
|
transition: box-shadow var(--refineui-motion-duration-overlay) var(--refineui-motion-easing-standard);
|
|
@@ -2199,6 +2228,15 @@ a[data-refineui="link"]:focus-visible {
|
|
|
2199
2228
|
-webkit-backdrop-filter: none;
|
|
2200
2229
|
}
|
|
2201
2230
|
|
|
2231
|
+
[data-refineui="menu"],
|
|
2232
|
+
[data-refineui="dropdown-menu"],
|
|
2233
|
+
[data-refineui="select-menu"],
|
|
2234
|
+
[data-refineui="sidebar-peek-panel"] {
|
|
2235
|
+
background-color: Canvas;
|
|
2236
|
+
backdrop-filter: none;
|
|
2237
|
+
-webkit-backdrop-filter: none;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2202
2240
|
[data-refineui="dialog"] > [role="presentation"],
|
|
2203
2241
|
[data-refineui="drawer"] > [role="presentation"] {
|
|
2204
2242
|
backdrop-filter: none;
|