@refineui/react 0.0.10 → 0.0.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/dist/index.cjs +272 -153
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +260 -141
- package/dist/index.js.map +1 -1
- package/dist/spec/contract-index.json +1 -1
- package/dist/spec/token-graph.json +2 -22
- package/dist/spec/token-trace-v2.json +7 -19
- package/package.json +1 -1
- package/refineui.css +34 -11
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractLayer": "component-spec",
|
|
4
4
|
"contractLayerVersion": "1.1",
|
|
5
5
|
"status": "catalog",
|
|
6
|
-
"generatedAt": "2026-
|
|
6
|
+
"generatedAt": "2026-10-15T07:20:10.756Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|
|
@@ -3051,17 +3051,7 @@
|
|
|
3051
3051
|
},
|
|
3052
3052
|
{
|
|
3053
3053
|
"from": "component.tooltip.default.background",
|
|
3054
|
-
"to": "semantic.
|
|
3055
|
-
},
|
|
3056
|
-
{
|
|
3057
|
-
"from": "semantic.backgroundPrimary",
|
|
3058
|
-
"to": "foundation.neutralWhite",
|
|
3059
|
-
"context": "light"
|
|
3060
|
-
},
|
|
3061
|
-
{
|
|
3062
|
-
"from": "semantic.backgroundPrimary",
|
|
3063
|
-
"to": "foundation.neutral900",
|
|
3064
|
-
"context": "dark"
|
|
3054
|
+
"to": "semantic.surfaceFrosted"
|
|
3065
3055
|
},
|
|
3066
3056
|
{
|
|
3067
3057
|
"from": "component.tooltip.default.foreground",
|
|
@@ -3093,17 +3083,7 @@
|
|
|
3093
3083
|
},
|
|
3094
3084
|
{
|
|
3095
3085
|
"from": "component.popover.default.background",
|
|
3096
|
-
"to": "semantic.
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
"from": "semantic.backgroundPrimary",
|
|
3100
|
-
"to": "foundation.neutralWhite",
|
|
3101
|
-
"context": "light"
|
|
3102
|
-
},
|
|
3103
|
-
{
|
|
3104
|
-
"from": "semantic.backgroundPrimary",
|
|
3105
|
-
"to": "foundation.neutral900",
|
|
3106
|
-
"context": "dark"
|
|
3086
|
+
"to": "semantic.surfaceFrosted"
|
|
3107
3087
|
},
|
|
3108
3088
|
{
|
|
3109
3089
|
"from": "component.popover.default.foreground",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedAt": "2026-10-15T07:20:10.753Z",
|
|
4
4
|
"contractLayer": "component-token-trace",
|
|
5
5
|
"tokens": {
|
|
6
6
|
"webIcon.primary": {
|
|
@@ -1270,15 +1270,9 @@
|
|
|
1270
1270
|
"type": "component",
|
|
1271
1271
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1272
1272
|
"resolvesTo": {
|
|
1273
|
-
"semantic": "
|
|
1274
|
-
"light":
|
|
1275
|
-
|
|
1276
|
-
"value": "#FFFFFF"
|
|
1277
|
-
},
|
|
1278
|
-
"dark": {
|
|
1279
|
-
"foundation": "neutral900",
|
|
1280
|
-
"value": "#1A1A1A"
|
|
1281
|
-
}
|
|
1273
|
+
"semantic": "surfaceFrosted",
|
|
1274
|
+
"light": null,
|
|
1275
|
+
"dark": null
|
|
1282
1276
|
}
|
|
1283
1277
|
},
|
|
1284
1278
|
"tooltip.default.foreground": {
|
|
@@ -1315,15 +1309,9 @@
|
|
|
1315
1309
|
"type": "component",
|
|
1316
1310
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
1317
1311
|
"resolvesTo": {
|
|
1318
|
-
"semantic": "
|
|
1319
|
-
"light":
|
|
1320
|
-
|
|
1321
|
-
"value": "#FFFFFF"
|
|
1322
|
-
},
|
|
1323
|
-
"dark": {
|
|
1324
|
-
"foundation": "neutral900",
|
|
1325
|
-
"value": "#1A1A1A"
|
|
1326
|
-
}
|
|
1312
|
+
"semantic": "surfaceFrosted",
|
|
1313
|
+
"light": null,
|
|
1314
|
+
"dark": null
|
|
1327
1315
|
}
|
|
1328
1316
|
},
|
|
1329
1317
|
"popover.default.foreground": {
|
package/package.json
CHANGED
package/refineui.css
CHANGED
|
@@ -1105,17 +1105,21 @@
|
|
|
1105
1105
|
@media (prefers-reduced-transparency: reduce) {
|
|
1106
1106
|
[data-refineui="dialog"] > [role="presentation"],
|
|
1107
1107
|
[data-refineui="drawer"] > [role="presentation"] {
|
|
1108
|
-
backdrop-filter: none;
|
|
1109
|
-
-webkit-backdrop-filter: none;
|
|
1108
|
+
backdrop-filter: none !important;
|
|
1109
|
+
-webkit-backdrop-filter: none !important;
|
|
1110
1110
|
}
|
|
1111
1111
|
/* Frosted panels — fall back to opaque primary when blur is disabled */
|
|
1112
1112
|
[data-refineui="menu"],
|
|
1113
1113
|
[data-refineui="dropdown-menu"],
|
|
1114
1114
|
[data-refineui="select-menu"],
|
|
1115
|
-
[data-refineui="
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1115
|
+
[data-refineui="popover"],
|
|
1116
|
+
[data-refineui="tooltip-panel"],
|
|
1117
|
+
[data-refineui="floating-beak-surface"],
|
|
1118
|
+
[data-refineui="sidebar-peek-panel"],
|
|
1119
|
+
[data-refineui="navigation-menu-content-panel"] {
|
|
1120
|
+
background-color: var(--refineui-color-alias-background-primary) !important;
|
|
1121
|
+
backdrop-filter: none !important;
|
|
1122
|
+
-webkit-backdrop-filter: none !important;
|
|
1119
1123
|
}
|
|
1120
1124
|
}
|
|
1121
1125
|
|
|
@@ -1127,19 +1131,31 @@
|
|
|
1127
1131
|
}
|
|
1128
1132
|
|
|
1129
1133
|
/*
|
|
1130
|
-
* Frosted panels — fill + surface blur (Menu, ContextMenu, Dropdown, Select, SidebarPeek).
|
|
1134
|
+
* Frosted panels — fill + surface blur (Menu, ContextMenu, Dropdown, Select, Popover, Tooltip, SidebarPeek, Navigation Menu).
|
|
1131
1135
|
* Fill: `--refineui-color-alias-surface-frosted`; blur: `--refineui-blur-surface-frost`.
|
|
1132
1136
|
* Avoid ancestor `transform` / leftover animation transform on these nodes (breaks backdrop).
|
|
1133
1137
|
*/
|
|
1134
1138
|
[data-refineui="menu"],
|
|
1135
1139
|
[data-refineui="dropdown-menu"],
|
|
1136
1140
|
[data-refineui="select-menu"],
|
|
1137
|
-
[data-refineui="
|
|
1141
|
+
[data-refineui="popover"],
|
|
1142
|
+
[data-refineui="tooltip-panel"],
|
|
1143
|
+
[data-refineui="sidebar-peek-panel"],
|
|
1144
|
+
[data-refineui="navigation-menu-content-panel"] {
|
|
1138
1145
|
background-color: var(--refineui-color-alias-surface-frosted);
|
|
1139
1146
|
-webkit-backdrop-filter: blur(var(--refineui-blur-surface-frost));
|
|
1140
1147
|
backdrop-filter: blur(var(--refineui-blur-surface-frost));
|
|
1141
1148
|
}
|
|
1142
1149
|
|
|
1150
|
+
/*
|
|
1151
|
+
* Beaks are smaller than the surface blur radius. A separate backdrop-filter
|
|
1152
|
+
* samples the nearby trigger and shifts their visible color, so use the
|
|
1153
|
+
* frosted panel's resolved base tone to keep the seam pixel-consistent.
|
|
1154
|
+
*/
|
|
1155
|
+
[data-refineui="floating-beak-surface"] {
|
|
1156
|
+
background-color: var(--refineui-color-alias-background-primary);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1143
1159
|
[data-refineui="toast"][data-swiping="true"] {
|
|
1144
1160
|
cursor: grabbing;
|
|
1145
1161
|
transition: none;
|
|
@@ -2269,8 +2285,12 @@ a[data-refineui="link"]:focus-visible {
|
|
|
2269
2285
|
[data-refineui="menu"],
|
|
2270
2286
|
[data-refineui="dropdown-menu"],
|
|
2271
2287
|
[data-refineui="select-menu"],
|
|
2288
|
+
[data-refineui="popover"],
|
|
2289
|
+
[data-refineui="tooltip-panel"],
|
|
2290
|
+
[data-refineui="floating-beak-surface"],
|
|
2291
|
+
[data-refineui="navigation-menu-content-panel"],
|
|
2272
2292
|
[data-refineui="sidebar-peek-panel"] {
|
|
2273
|
-
background-color: Canvas;
|
|
2293
|
+
background-color: Canvas !important;
|
|
2274
2294
|
backdrop-filter: none;
|
|
2275
2295
|
-webkit-backdrop-filter: none;
|
|
2276
2296
|
}
|
|
@@ -2324,10 +2344,13 @@ a[data-refineui="link"]:focus-visible {
|
|
|
2324
2344
|
border-width: var(--refineui-stroke-width-thick);
|
|
2325
2345
|
}
|
|
2326
2346
|
|
|
2327
|
-
[data-refineui="toast"]
|
|
2347
|
+
[data-refineui="toast"],
|
|
2348
|
+
[data-refineui="popover"],
|
|
2349
|
+
[data-refineui="tooltip-panel"],
|
|
2350
|
+
[data-refineui="floating-beak-surface"] {
|
|
2328
2351
|
border-style: solid;
|
|
2329
2352
|
border-color: var(--refineui-color-alias-border-default);
|
|
2330
|
-
background-color: var(--refineui-color-alias-surface-popover);
|
|
2353
|
+
background-color: var(--refineui-color-alias-surface-popover) !important;
|
|
2331
2354
|
backdrop-filter: none;
|
|
2332
2355
|
-webkit-backdrop-filter: none;
|
|
2333
2356
|
}
|