@refineui/react 0.0.3 → 0.0.5
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 +1107 -361
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3779 -245
- package/dist/index.d.ts +3779 -245
- package/dist/index.js +995 -250
- package/dist/index.js.map +1 -1
- package/dist/spec/contract-index.json +1 -1
- package/dist/spec/token-graph.json +143 -35
- package/dist/spec/token-trace-v2.json +109 -19
- package/package.json +1 -1
- package/refineui.css +19 -16
|
@@ -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-18T17:04:40.672Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|
|
@@ -534,11 +534,11 @@
|
|
|
534
534
|
"layer": "component"
|
|
535
535
|
},
|
|
536
536
|
{
|
|
537
|
-
"id": "
|
|
538
|
-
"layer": "
|
|
537
|
+
"id": "component.tooltip.default.foreground",
|
|
538
|
+
"layer": "component"
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
|
-
"id": "component.tooltip.default.
|
|
541
|
+
"id": "component.tooltip.default.border",
|
|
542
542
|
"layer": "component"
|
|
543
543
|
},
|
|
544
544
|
{
|
|
@@ -1017,6 +1017,26 @@
|
|
|
1017
1017
|
"id": "semantic.foregroundOnSuccess",
|
|
1018
1018
|
"layer": "semantic"
|
|
1019
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"id": "component.badge.warning.background",
|
|
1022
|
+
"layer": "component"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"id": "semantic.backgroundWarning",
|
|
1026
|
+
"layer": "semantic"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"id": "foundation.yellow300",
|
|
1030
|
+
"layer": "foundation"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"id": "component.badge.warning.foreground",
|
|
1034
|
+
"layer": "component"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"id": "semantic.foregroundOnWarning",
|
|
1038
|
+
"layer": "semantic"
|
|
1039
|
+
},
|
|
1020
1040
|
{
|
|
1021
1041
|
"id": "component.badge.danger.background",
|
|
1022
1042
|
"layer": "component"
|
|
@@ -1153,14 +1173,6 @@
|
|
|
1153
1173
|
"id": "component.progress.indicator.warning",
|
|
1154
1174
|
"layer": "component"
|
|
1155
1175
|
},
|
|
1156
|
-
{
|
|
1157
|
-
"id": "semantic.backgroundWarning",
|
|
1158
|
-
"layer": "semantic"
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"id": "foundation.yellow300",
|
|
1162
|
-
"layer": "foundation"
|
|
1163
|
-
},
|
|
1164
1176
|
{
|
|
1165
1177
|
"id": "component.progress.indicator.danger",
|
|
1166
1178
|
"layer": "component"
|
|
@@ -1397,6 +1409,10 @@
|
|
|
1397
1409
|
"id": "component.toast.message",
|
|
1398
1410
|
"layer": "component"
|
|
1399
1411
|
},
|
|
1412
|
+
{
|
|
1413
|
+
"id": "component.toast.border",
|
|
1414
|
+
"layer": "component"
|
|
1415
|
+
},
|
|
1400
1416
|
{
|
|
1401
1417
|
"id": "component.toast.accent.default",
|
|
1402
1418
|
"layer": "component"
|
|
@@ -1805,6 +1821,14 @@
|
|
|
1805
1821
|
"id": "component.divider.line",
|
|
1806
1822
|
"layer": "component"
|
|
1807
1823
|
},
|
|
1824
|
+
{
|
|
1825
|
+
"id": "component.divider.label",
|
|
1826
|
+
"layer": "component"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"id": "component.divider.icon",
|
|
1830
|
+
"layer": "component"
|
|
1831
|
+
},
|
|
1808
1832
|
{
|
|
1809
1833
|
"id": "component.avatar.overflow.background",
|
|
1810
1834
|
"layer": "component"
|
|
@@ -3025,16 +3049,16 @@
|
|
|
3025
3049
|
},
|
|
3026
3050
|
{
|
|
3027
3051
|
"from": "component.tooltip.default.background",
|
|
3028
|
-
"to": "semantic.
|
|
3052
|
+
"to": "semantic.backgroundPrimary"
|
|
3029
3053
|
},
|
|
3030
3054
|
{
|
|
3031
|
-
"from": "semantic.
|
|
3055
|
+
"from": "semantic.backgroundPrimary",
|
|
3032
3056
|
"to": "foundation.neutralWhite",
|
|
3033
3057
|
"context": "light"
|
|
3034
3058
|
},
|
|
3035
3059
|
{
|
|
3036
|
-
"from": "semantic.
|
|
3037
|
-
"to": "foundation.
|
|
3060
|
+
"from": "semantic.backgroundPrimary",
|
|
3061
|
+
"to": "foundation.neutral900",
|
|
3038
3062
|
"context": "dark"
|
|
3039
3063
|
},
|
|
3040
3064
|
{
|
|
@@ -3051,18 +3075,32 @@
|
|
|
3051
3075
|
"to": "foundation.neutralWhite",
|
|
3052
3076
|
"context": "dark"
|
|
3053
3077
|
},
|
|
3078
|
+
{
|
|
3079
|
+
"from": "component.tooltip.default.border",
|
|
3080
|
+
"to": "semantic.borderDefault"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"from": "semantic.borderDefault",
|
|
3084
|
+
"to": "foundation.neutral300",
|
|
3085
|
+
"context": "light"
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"from": "semantic.borderDefault",
|
|
3089
|
+
"to": "foundation.neutral650",
|
|
3090
|
+
"context": "dark"
|
|
3091
|
+
},
|
|
3054
3092
|
{
|
|
3055
3093
|
"from": "component.popover.default.background",
|
|
3056
|
-
"to": "semantic.
|
|
3094
|
+
"to": "semantic.backgroundPrimary"
|
|
3057
3095
|
},
|
|
3058
3096
|
{
|
|
3059
|
-
"from": "semantic.
|
|
3097
|
+
"from": "semantic.backgroundPrimary",
|
|
3060
3098
|
"to": "foundation.neutralWhite",
|
|
3061
3099
|
"context": "light"
|
|
3062
3100
|
},
|
|
3063
3101
|
{
|
|
3064
|
-
"from": "semantic.
|
|
3065
|
-
"to": "foundation.
|
|
3102
|
+
"from": "semantic.backgroundPrimary",
|
|
3103
|
+
"to": "foundation.neutral900",
|
|
3066
3104
|
"context": "dark"
|
|
3067
3105
|
},
|
|
3068
3106
|
{
|
|
@@ -4361,6 +4399,34 @@
|
|
|
4361
4399
|
"to": "foundation.neutralBlack",
|
|
4362
4400
|
"context": "dark"
|
|
4363
4401
|
},
|
|
4402
|
+
{
|
|
4403
|
+
"from": "component.badge.warning.background",
|
|
4404
|
+
"to": "semantic.backgroundWarning"
|
|
4405
|
+
},
|
|
4406
|
+
{
|
|
4407
|
+
"from": "semantic.backgroundWarning",
|
|
4408
|
+
"to": "foundation.yellow300",
|
|
4409
|
+
"context": "light"
|
|
4410
|
+
},
|
|
4411
|
+
{
|
|
4412
|
+
"from": "semantic.backgroundWarning",
|
|
4413
|
+
"to": "foundation.yellow300",
|
|
4414
|
+
"context": "dark"
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
"from": "component.badge.warning.foreground",
|
|
4418
|
+
"to": "semantic.foregroundOnWarning"
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"from": "semantic.foregroundOnWarning",
|
|
4422
|
+
"to": "foundation.neutralWhite",
|
|
4423
|
+
"context": "light"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"from": "semantic.foregroundOnWarning",
|
|
4427
|
+
"to": "foundation.neutralBlack",
|
|
4428
|
+
"context": "dark"
|
|
4429
|
+
},
|
|
4364
4430
|
{
|
|
4365
4431
|
"from": "component.badge.danger.background",
|
|
4366
4432
|
"to": "semantic.backgroundError"
|
|
@@ -4881,16 +4947,16 @@
|
|
|
4881
4947
|
},
|
|
4882
4948
|
{
|
|
4883
4949
|
"from": "component.chart.tooltip.background",
|
|
4884
|
-
"to": "semantic.
|
|
4950
|
+
"to": "semantic.backgroundPrimary"
|
|
4885
4951
|
},
|
|
4886
4952
|
{
|
|
4887
|
-
"from": "semantic.
|
|
4953
|
+
"from": "semantic.backgroundPrimary",
|
|
4888
4954
|
"to": "foundation.neutralWhite",
|
|
4889
4955
|
"context": "light"
|
|
4890
4956
|
},
|
|
4891
4957
|
{
|
|
4892
|
-
"from": "semantic.
|
|
4893
|
-
"to": "foundation.
|
|
4958
|
+
"from": "semantic.backgroundPrimary",
|
|
4959
|
+
"to": "foundation.neutral900",
|
|
4894
4960
|
"context": "dark"
|
|
4895
4961
|
},
|
|
4896
4962
|
{
|
|
@@ -5301,16 +5367,16 @@
|
|
|
5301
5367
|
},
|
|
5302
5368
|
{
|
|
5303
5369
|
"from": "component.toast.background",
|
|
5304
|
-
"to": "semantic.
|
|
5370
|
+
"to": "semantic.backgroundPrimary"
|
|
5305
5371
|
},
|
|
5306
5372
|
{
|
|
5307
|
-
"from": "semantic.
|
|
5373
|
+
"from": "semantic.backgroundPrimary",
|
|
5308
5374
|
"to": "foundation.neutralWhite",
|
|
5309
5375
|
"context": "light"
|
|
5310
5376
|
},
|
|
5311
5377
|
{
|
|
5312
|
-
"from": "semantic.
|
|
5313
|
-
"to": "foundation.
|
|
5378
|
+
"from": "semantic.backgroundPrimary",
|
|
5379
|
+
"to": "foundation.neutral900",
|
|
5314
5380
|
"context": "dark"
|
|
5315
5381
|
},
|
|
5316
5382
|
{
|
|
@@ -5327,6 +5393,20 @@
|
|
|
5327
5393
|
"to": "foundation.neutralWhite",
|
|
5328
5394
|
"context": "dark"
|
|
5329
5395
|
},
|
|
5396
|
+
{
|
|
5397
|
+
"from": "component.toast.border",
|
|
5398
|
+
"to": "semantic.borderDefault"
|
|
5399
|
+
},
|
|
5400
|
+
{
|
|
5401
|
+
"from": "semantic.borderDefault",
|
|
5402
|
+
"to": "foundation.neutral300",
|
|
5403
|
+
"context": "light"
|
|
5404
|
+
},
|
|
5405
|
+
{
|
|
5406
|
+
"from": "semantic.borderDefault",
|
|
5407
|
+
"to": "foundation.neutral650",
|
|
5408
|
+
"context": "dark"
|
|
5409
|
+
},
|
|
5330
5410
|
{
|
|
5331
5411
|
"from": "component.toast.accent.default",
|
|
5332
5412
|
"to": "semantic.foregroundPrimary"
|
|
@@ -5819,16 +5899,16 @@
|
|
|
5819
5899
|
},
|
|
5820
5900
|
{
|
|
5821
5901
|
"from": "component.menu.panel.background",
|
|
5822
|
-
"to": "semantic.
|
|
5902
|
+
"to": "semantic.backgroundPrimary"
|
|
5823
5903
|
},
|
|
5824
5904
|
{
|
|
5825
|
-
"from": "semantic.
|
|
5905
|
+
"from": "semantic.backgroundPrimary",
|
|
5826
5906
|
"to": "foundation.neutralWhite",
|
|
5827
5907
|
"context": "light"
|
|
5828
5908
|
},
|
|
5829
5909
|
{
|
|
5830
|
-
"from": "semantic.
|
|
5831
|
-
"to": "foundation.
|
|
5910
|
+
"from": "semantic.backgroundPrimary",
|
|
5911
|
+
"to": "foundation.neutral900",
|
|
5832
5912
|
"context": "dark"
|
|
5833
5913
|
},
|
|
5834
5914
|
{
|
|
@@ -5847,16 +5927,16 @@
|
|
|
5847
5927
|
},
|
|
5848
5928
|
{
|
|
5849
5929
|
"from": "component.menu.list.background",
|
|
5850
|
-
"to": "semantic.
|
|
5930
|
+
"to": "semantic.backgroundPrimary"
|
|
5851
5931
|
},
|
|
5852
5932
|
{
|
|
5853
|
-
"from": "semantic.
|
|
5933
|
+
"from": "semantic.backgroundPrimary",
|
|
5854
5934
|
"to": "foundation.neutralWhite",
|
|
5855
5935
|
"context": "light"
|
|
5856
5936
|
},
|
|
5857
5937
|
{
|
|
5858
|
-
"from": "semantic.
|
|
5859
|
-
"to": "foundation.
|
|
5938
|
+
"from": "semantic.backgroundPrimary",
|
|
5939
|
+
"to": "foundation.neutral900",
|
|
5860
5940
|
"context": "dark"
|
|
5861
5941
|
},
|
|
5862
5942
|
{
|
|
@@ -6657,6 +6737,34 @@
|
|
|
6657
6737
|
"to": "foundation.neutral650",
|
|
6658
6738
|
"context": "dark"
|
|
6659
6739
|
},
|
|
6740
|
+
{
|
|
6741
|
+
"from": "component.divider.label",
|
|
6742
|
+
"to": "semantic.foregroundPrimary"
|
|
6743
|
+
},
|
|
6744
|
+
{
|
|
6745
|
+
"from": "semantic.foregroundPrimary",
|
|
6746
|
+
"to": "foundation.primaryBlack",
|
|
6747
|
+
"context": "light"
|
|
6748
|
+
},
|
|
6749
|
+
{
|
|
6750
|
+
"from": "semantic.foregroundPrimary",
|
|
6751
|
+
"to": "foundation.neutralWhite",
|
|
6752
|
+
"context": "dark"
|
|
6753
|
+
},
|
|
6754
|
+
{
|
|
6755
|
+
"from": "component.divider.icon",
|
|
6756
|
+
"to": "semantic.foregroundPrimary"
|
|
6757
|
+
},
|
|
6758
|
+
{
|
|
6759
|
+
"from": "semantic.foregroundPrimary",
|
|
6760
|
+
"to": "foundation.primaryBlack",
|
|
6761
|
+
"context": "light"
|
|
6762
|
+
},
|
|
6763
|
+
{
|
|
6764
|
+
"from": "semantic.foregroundPrimary",
|
|
6765
|
+
"to": "foundation.neutralWhite",
|
|
6766
|
+
"context": "dark"
|
|
6767
|
+
},
|
|
6660
6768
|
{
|
|
6661
6769
|
"from": "component.avatar.overflow.background",
|
|
6662
6770
|
"to": "semantic.backgroundPrimary"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"generatedAt": "2026-09-18T17:04:40.668Z",
|
|
4
4
|
"contractLayer": "component-token-trace",
|
|
5
5
|
"tokens": {
|
|
6
6
|
"webIcon.primary": {
|
|
@@ -1267,14 +1267,14 @@
|
|
|
1267
1267
|
"type": "component",
|
|
1268
1268
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1269
1269
|
"resolvesTo": {
|
|
1270
|
-
"semantic": "
|
|
1270
|
+
"semantic": "backgroundPrimary",
|
|
1271
1271
|
"light": {
|
|
1272
1272
|
"foundation": "neutralWhite",
|
|
1273
1273
|
"value": "#FFFFFF"
|
|
1274
1274
|
},
|
|
1275
1275
|
"dark": {
|
|
1276
|
-
"foundation": "
|
|
1277
|
-
"value": "#
|
|
1276
|
+
"foundation": "neutral900",
|
|
1277
|
+
"value": "#1A1A1A"
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
},
|
|
@@ -1293,18 +1293,33 @@
|
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
},
|
|
1296
|
+
"tooltip.default.border": {
|
|
1297
|
+
"type": "component",
|
|
1298
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1299
|
+
"resolvesTo": {
|
|
1300
|
+
"semantic": "borderDefault",
|
|
1301
|
+
"light": {
|
|
1302
|
+
"foundation": "neutral300",
|
|
1303
|
+
"value": "#DBDBDB"
|
|
1304
|
+
},
|
|
1305
|
+
"dark": {
|
|
1306
|
+
"foundation": "neutral650",
|
|
1307
|
+
"value": "#5B5B5B"
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1296
1311
|
"popover.default.background": {
|
|
1297
1312
|
"type": "component",
|
|
1298
1313
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1299
1314
|
"resolvesTo": {
|
|
1300
|
-
"semantic": "
|
|
1315
|
+
"semantic": "backgroundPrimary",
|
|
1301
1316
|
"light": {
|
|
1302
1317
|
"foundation": "neutralWhite",
|
|
1303
1318
|
"value": "#FFFFFF"
|
|
1304
1319
|
},
|
|
1305
1320
|
"dark": {
|
|
1306
|
-
"foundation": "
|
|
1307
|
-
"value": "#
|
|
1321
|
+
"foundation": "neutral900",
|
|
1322
|
+
"value": "#1A1A1A"
|
|
1308
1323
|
}
|
|
1309
1324
|
}
|
|
1310
1325
|
},
|
|
@@ -2706,6 +2721,36 @@
|
|
|
2706
2721
|
}
|
|
2707
2722
|
}
|
|
2708
2723
|
},
|
|
2724
|
+
"badge.warning.background": {
|
|
2725
|
+
"type": "component",
|
|
2726
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
2727
|
+
"resolvesTo": {
|
|
2728
|
+
"semantic": "backgroundWarning",
|
|
2729
|
+
"light": {
|
|
2730
|
+
"foundation": "yellow300",
|
|
2731
|
+
"value": "#F1B500"
|
|
2732
|
+
},
|
|
2733
|
+
"dark": {
|
|
2734
|
+
"foundation": "yellow300",
|
|
2735
|
+
"value": "#F1B500"
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
},
|
|
2739
|
+
"badge.warning.foreground": {
|
|
2740
|
+
"type": "component",
|
|
2741
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
2742
|
+
"resolvesTo": {
|
|
2743
|
+
"semantic": "foregroundOnWarning",
|
|
2744
|
+
"light": {
|
|
2745
|
+
"foundation": "neutralWhite",
|
|
2746
|
+
"value": "#FFFFFF"
|
|
2747
|
+
},
|
|
2748
|
+
"dark": {
|
|
2749
|
+
"foundation": "neutralBlack",
|
|
2750
|
+
"value": "#000000"
|
|
2751
|
+
}
|
|
2752
|
+
}
|
|
2753
|
+
},
|
|
2709
2754
|
"badge.danger.background": {
|
|
2710
2755
|
"type": "component",
|
|
2711
2756
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
@@ -3265,14 +3310,14 @@
|
|
|
3265
3310
|
"type": "component",
|
|
3266
3311
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
3267
3312
|
"resolvesTo": {
|
|
3268
|
-
"semantic": "
|
|
3313
|
+
"semantic": "backgroundPrimary",
|
|
3269
3314
|
"light": {
|
|
3270
3315
|
"foundation": "neutralWhite",
|
|
3271
3316
|
"value": "#FFFFFF"
|
|
3272
3317
|
},
|
|
3273
3318
|
"dark": {
|
|
3274
|
-
"foundation": "
|
|
3275
|
-
"value": "#
|
|
3319
|
+
"foundation": "neutral900",
|
|
3320
|
+
"value": "#1A1A1A"
|
|
3276
3321
|
}
|
|
3277
3322
|
}
|
|
3278
3323
|
},
|
|
@@ -3715,14 +3760,14 @@
|
|
|
3715
3760
|
"type": "component",
|
|
3716
3761
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
3717
3762
|
"resolvesTo": {
|
|
3718
|
-
"semantic": "
|
|
3763
|
+
"semantic": "backgroundPrimary",
|
|
3719
3764
|
"light": {
|
|
3720
3765
|
"foundation": "neutralWhite",
|
|
3721
3766
|
"value": "#FFFFFF"
|
|
3722
3767
|
},
|
|
3723
3768
|
"dark": {
|
|
3724
|
-
"foundation": "
|
|
3725
|
-
"value": "#
|
|
3769
|
+
"foundation": "neutral900",
|
|
3770
|
+
"value": "#1A1A1A"
|
|
3726
3771
|
}
|
|
3727
3772
|
}
|
|
3728
3773
|
},
|
|
@@ -3741,6 +3786,21 @@
|
|
|
3741
3786
|
}
|
|
3742
3787
|
}
|
|
3743
3788
|
},
|
|
3789
|
+
"toast.border": {
|
|
3790
|
+
"type": "component",
|
|
3791
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
3792
|
+
"resolvesTo": {
|
|
3793
|
+
"semantic": "borderDefault",
|
|
3794
|
+
"light": {
|
|
3795
|
+
"foundation": "neutral300",
|
|
3796
|
+
"value": "#DBDBDB"
|
|
3797
|
+
},
|
|
3798
|
+
"dark": {
|
|
3799
|
+
"foundation": "neutral650",
|
|
3800
|
+
"value": "#5B5B5B"
|
|
3801
|
+
}
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3744
3804
|
"toast.accent.default": {
|
|
3745
3805
|
"type": "component",
|
|
3746
3806
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
@@ -4270,14 +4330,14 @@
|
|
|
4270
4330
|
"type": "component",
|
|
4271
4331
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
4272
4332
|
"resolvesTo": {
|
|
4273
|
-
"semantic": "
|
|
4333
|
+
"semantic": "backgroundPrimary",
|
|
4274
4334
|
"light": {
|
|
4275
4335
|
"foundation": "neutralWhite",
|
|
4276
4336
|
"value": "#FFFFFF"
|
|
4277
4337
|
},
|
|
4278
4338
|
"dark": {
|
|
4279
|
-
"foundation": "
|
|
4280
|
-
"value": "#
|
|
4339
|
+
"foundation": "neutral900",
|
|
4340
|
+
"value": "#1A1A1A"
|
|
4281
4341
|
}
|
|
4282
4342
|
}
|
|
4283
4343
|
},
|
|
@@ -4300,14 +4360,14 @@
|
|
|
4300
4360
|
"type": "component",
|
|
4301
4361
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
4302
4362
|
"resolvesTo": {
|
|
4303
|
-
"semantic": "
|
|
4363
|
+
"semantic": "backgroundPrimary",
|
|
4304
4364
|
"light": {
|
|
4305
4365
|
"foundation": "neutralWhite",
|
|
4306
4366
|
"value": "#FFFFFF"
|
|
4307
4367
|
},
|
|
4308
4368
|
"dark": {
|
|
4309
|
-
"foundation": "
|
|
4310
|
-
"value": "#
|
|
4369
|
+
"foundation": "neutral900",
|
|
4370
|
+
"value": "#1A1A1A"
|
|
4311
4371
|
}
|
|
4312
4372
|
}
|
|
4313
4373
|
},
|
|
@@ -5166,6 +5226,36 @@
|
|
|
5166
5226
|
}
|
|
5167
5227
|
}
|
|
5168
5228
|
},
|
|
5229
|
+
"divider.label": {
|
|
5230
|
+
"type": "component",
|
|
5231
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
5232
|
+
"resolvesTo": {
|
|
5233
|
+
"semantic": "foregroundPrimary",
|
|
5234
|
+
"light": {
|
|
5235
|
+
"foundation": "primaryBlack",
|
|
5236
|
+
"value": "#212121"
|
|
5237
|
+
},
|
|
5238
|
+
"dark": {
|
|
5239
|
+
"foundation": "neutralWhite",
|
|
5240
|
+
"value": "#FFFFFF"
|
|
5241
|
+
}
|
|
5242
|
+
}
|
|
5243
|
+
},
|
|
5244
|
+
"divider.icon": {
|
|
5245
|
+
"type": "component",
|
|
5246
|
+
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
5247
|
+
"resolvesTo": {
|
|
5248
|
+
"semantic": "foregroundPrimary",
|
|
5249
|
+
"light": {
|
|
5250
|
+
"foundation": "primaryBlack",
|
|
5251
|
+
"value": "#212121"
|
|
5252
|
+
},
|
|
5253
|
+
"dark": {
|
|
5254
|
+
"foundation": "neutralWhite",
|
|
5255
|
+
"value": "#FFFFFF"
|
|
5256
|
+
}
|
|
5257
|
+
}
|
|
5258
|
+
},
|
|
5169
5259
|
"avatar.overflow.background": {
|
|
5170
5260
|
"type": "component",
|
|
5171
5261
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
package/package.json
CHANGED
package/refineui.css
CHANGED
|
@@ -322,11 +322,18 @@
|
|
|
322
322
|
transition: none;
|
|
323
323
|
display: block;
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
/* Animate only after first layout (`data-animate`) so mount does not slide from 0. */
|
|
326
|
+
[data-refineui="segmented-control-indicator"][data-animate="true"] {
|
|
327
|
+
/* Selection slide: medium + emphasized for a springier thumb move. */
|
|
326
328
|
transition:
|
|
327
329
|
transform var(--refineui-motion-duration-medium) var(--refineui-motion-easing-emphasized),
|
|
328
330
|
width var(--refineui-motion-duration-medium) var(--refineui-motion-easing-emphasized);
|
|
329
331
|
}
|
|
332
|
+
@media (prefers-reduced-motion: reduce) {
|
|
333
|
+
[data-refineui="segmented-control-indicator"][data-animate="true"] {
|
|
334
|
+
transition: none;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
330
337
|
|
|
331
338
|
[data-refineui="segmented-control"] [data-refineui="segmented-control-item"]:not(:disabled):not([aria-disabled="true"]):not([data-selected="true"]):hover {
|
|
332
339
|
color: var(--refineui-color-alias-foreground-primary);
|
|
@@ -350,11 +357,17 @@
|
|
|
350
357
|
transition: none;
|
|
351
358
|
display: block;
|
|
352
359
|
}
|
|
353
|
-
|
|
360
|
+
/* Animate only after first layout (`data-animate`) — same contract as Segmented Control. */
|
|
361
|
+
[data-refineui="tabs-indicator"][data-animate="true"] {
|
|
354
362
|
transition:
|
|
355
363
|
transform var(--refineui-motion-duration-medium) var(--refineui-motion-easing-emphasized),
|
|
356
364
|
width var(--refineui-motion-duration-medium) var(--refineui-motion-easing-emphasized);
|
|
357
365
|
}
|
|
366
|
+
@media (prefers-reduced-motion: reduce) {
|
|
367
|
+
[data-refineui="tabs-indicator"][data-animate="true"] {
|
|
368
|
+
transition: none;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
358
371
|
[data-refineui="tab"]:not(:disabled):not([aria-disabled="true"]):not([data-selected="true"]):hover {
|
|
359
372
|
color: var(--refineui-color-alias-foreground-primary-hover);
|
|
360
373
|
}
|
|
@@ -1016,14 +1029,10 @@
|
|
|
1016
1029
|
width: fit-content;
|
|
1017
1030
|
max-width: 100%;
|
|
1018
1031
|
box-sizing: border-box;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
);
|
|
1024
|
-
backdrop-filter: blur(var(--refineui-spacing-size-xxx-large));
|
|
1025
|
-
-webkit-backdrop-filter: blur(var(--refineui-spacing-size-xxx-large));
|
|
1026
|
-
box-shadow: var(--refineui-elevation-8);
|
|
1032
|
+
/* Semantic: backgroundPrimary + borderDefault (Menu / Select panel). */
|
|
1033
|
+
background-color: var(--refineui-color-alias-background-primary);
|
|
1034
|
+
border-color: var(--refineui-color-alias-border-default);
|
|
1035
|
+
box-shadow: var(--refineui-elevation-toast);
|
|
1027
1036
|
touch-action: none;
|
|
1028
1037
|
cursor: grab;
|
|
1029
1038
|
transform: translate3d(var(--refineui-toast-swipe-x), var(--refineui-toast-swipe-y), 0);
|
|
@@ -1051,12 +1060,6 @@
|
|
|
1051
1060
|
}
|
|
1052
1061
|
|
|
1053
1062
|
@media (prefers-reduced-transparency: reduce) {
|
|
1054
|
-
[data-refineui="toast"] {
|
|
1055
|
-
background-color: var(--refineui-color-alias-surface-popover);
|
|
1056
|
-
backdrop-filter: none;
|
|
1057
|
-
-webkit-backdrop-filter: none;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
1063
|
[data-refineui="dialog"] > [role="presentation"],
|
|
1061
1064
|
[data-refineui="drawer"] > [role="presentation"] {
|
|
1062
1065
|
backdrop-filter: none;
|