@refineui/react 0.0.8 → 0.0.10
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 +571 -446
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -25
- package/dist/index.d.ts +38 -25
- package/dist/index.js +518 -388
- package/dist/index.js.map +1 -1
- package/dist/spec/components/select.json +1 -0
- package/dist/spec/components/sidebar.json +3 -1
- package/dist/spec/contract-index.json +1 -1
- package/dist/spec/token-graph.json +71 -89
- package/dist/spec/token-trace-v2.json +29 -44
- package/package.json +1 -1
- package/refineui.css +66 -28
- package/spec/components/select.json +1 -0
- package/spec/components/sidebar.json +3 -1
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"peek_inset": "sidebar-peek-inset",
|
|
19
19
|
"peek_panel": "sidebar-peek-panel",
|
|
20
20
|
"peek_pin": "sidebar-peek-pin",
|
|
21
|
-
"peek_surface": "sidebar-peek-surface"
|
|
21
|
+
"peek_surface": "sidebar-peek-surface",
|
|
22
|
+
"provider": "sidebar-provider",
|
|
23
|
+
"trigger": "button"
|
|
22
24
|
},
|
|
23
25
|
"attributes": {
|
|
24
26
|
"data-refineui": "sidebar"
|
|
@@ -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-28T07:29:58.247Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|
|
@@ -150,11 +150,15 @@
|
|
|
150
150
|
"layer": "component"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
"id": "semantic.
|
|
153
|
+
"id": "semantic.backgroundSurfaceHover",
|
|
154
154
|
"layer": "semantic"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
"id": "foundation.
|
|
157
|
+
"id": "foundation.neutral100",
|
|
158
|
+
"layer": "foundation"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "foundation.neutral750",
|
|
158
162
|
"layer": "foundation"
|
|
159
163
|
},
|
|
160
164
|
{
|
|
@@ -162,108 +166,96 @@
|
|
|
162
166
|
"layer": "component"
|
|
163
167
|
},
|
|
164
168
|
{
|
|
165
|
-
"id": "component.button.secondary.
|
|
169
|
+
"id": "component.button.secondary.hoverBackground",
|
|
166
170
|
"layer": "component"
|
|
167
171
|
},
|
|
168
172
|
{
|
|
169
|
-
"id": "semantic.
|
|
173
|
+
"id": "semantic.backgroundSurfaceActive",
|
|
170
174
|
"layer": "semantic"
|
|
171
175
|
},
|
|
172
176
|
{
|
|
173
|
-
"id": "foundation.
|
|
177
|
+
"id": "foundation.neutral700",
|
|
174
178
|
"layer": "foundation"
|
|
175
179
|
},
|
|
176
180
|
{
|
|
177
|
-
"id": "component.button.secondary.
|
|
181
|
+
"id": "component.button.secondary.hoverForeground",
|
|
178
182
|
"layer": "component"
|
|
179
183
|
},
|
|
180
184
|
{
|
|
181
|
-
"id": "semantic.
|
|
185
|
+
"id": "semantic.foregroundPrimaryHover",
|
|
182
186
|
"layer": "semantic"
|
|
183
187
|
},
|
|
184
188
|
{
|
|
185
|
-
"id": "
|
|
186
|
-
"layer": "
|
|
189
|
+
"id": "component.button.secondary.activeBackground",
|
|
190
|
+
"layer": "component"
|
|
187
191
|
},
|
|
188
192
|
{
|
|
189
|
-
"id": "
|
|
190
|
-
"layer": "
|
|
193
|
+
"id": "component.button.secondary.activeForeground",
|
|
194
|
+
"layer": "component"
|
|
191
195
|
},
|
|
192
196
|
{
|
|
193
|
-
"id": "component.button.secondary.
|
|
197
|
+
"id": "component.button.secondary.disabledBackground",
|
|
194
198
|
"layer": "component"
|
|
195
199
|
},
|
|
196
200
|
{
|
|
197
|
-
"id": "semantic.
|
|
201
|
+
"id": "semantic.backgroundSurfaceDisabled",
|
|
198
202
|
"layer": "semantic"
|
|
199
203
|
},
|
|
200
204
|
{
|
|
201
|
-
"id": "foundation.
|
|
202
|
-
"layer": "foundation"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"id": "foundation.neutral550",
|
|
205
|
+
"id": "foundation.neutral850",
|
|
206
206
|
"layer": "foundation"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
"id": "component.button.secondary.
|
|
209
|
+
"id": "component.button.secondary.disabledForeground",
|
|
210
210
|
"layer": "component"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
"id": "
|
|
214
|
-
"layer": "
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"id": "foundation.neutral700",
|
|
218
|
-
"layer": "foundation"
|
|
213
|
+
"id": "component.button.outline.foreground",
|
|
214
|
+
"layer": "component"
|
|
219
215
|
},
|
|
220
216
|
{
|
|
221
|
-
"id": "component.button.
|
|
217
|
+
"id": "component.button.outline.border",
|
|
222
218
|
"layer": "component"
|
|
223
219
|
},
|
|
224
220
|
{
|
|
225
|
-
"id": "semantic.
|
|
221
|
+
"id": "semantic.borderDefault",
|
|
226
222
|
"layer": "semantic"
|
|
227
223
|
},
|
|
228
224
|
{
|
|
229
|
-
"id": "foundation.
|
|
225
|
+
"id": "foundation.neutral300",
|
|
230
226
|
"layer": "foundation"
|
|
231
227
|
},
|
|
232
228
|
{
|
|
233
|
-
"id": "component.button.
|
|
229
|
+
"id": "component.button.outline.hoverBorder",
|
|
234
230
|
"layer": "component"
|
|
235
231
|
},
|
|
236
232
|
{
|
|
237
|
-
"id": "semantic.
|
|
233
|
+
"id": "semantic.borderStrong",
|
|
238
234
|
"layer": "semantic"
|
|
239
235
|
},
|
|
240
236
|
{
|
|
241
|
-
"id": "foundation.
|
|
237
|
+
"id": "foundation.neutral450",
|
|
242
238
|
"layer": "foundation"
|
|
243
239
|
},
|
|
244
240
|
{
|
|
245
|
-
"id": "
|
|
246
|
-
"layer": "
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"id": "component.button.outline.foreground",
|
|
250
|
-
"layer": "component"
|
|
241
|
+
"id": "foundation.neutral550",
|
|
242
|
+
"layer": "foundation"
|
|
251
243
|
},
|
|
252
244
|
{
|
|
253
|
-
"id": "component.button.outline.
|
|
245
|
+
"id": "component.button.outline.activeBorder",
|
|
254
246
|
"layer": "component"
|
|
255
247
|
},
|
|
256
248
|
{
|
|
257
|
-
"id": "component.button.outline.
|
|
249
|
+
"id": "component.button.outline.disabledBorder",
|
|
258
250
|
"layer": "component"
|
|
259
251
|
},
|
|
260
252
|
{
|
|
261
|
-
"id": "
|
|
262
|
-
"layer": "
|
|
253
|
+
"id": "semantic.borderDisabled",
|
|
254
|
+
"layer": "semantic"
|
|
263
255
|
},
|
|
264
256
|
{
|
|
265
|
-
"id": "
|
|
266
|
-
"layer": "
|
|
257
|
+
"id": "foundation.neutral250",
|
|
258
|
+
"layer": "foundation"
|
|
267
259
|
},
|
|
268
260
|
{
|
|
269
261
|
"id": "component.button.outline.disabledForeground",
|
|
@@ -285,10 +277,6 @@
|
|
|
285
277
|
"id": "component.button.ghost.hoverForeground",
|
|
286
278
|
"layer": "component"
|
|
287
279
|
},
|
|
288
|
-
{
|
|
289
|
-
"id": "semantic.foregroundPrimaryHover",
|
|
290
|
-
"layer": "semantic"
|
|
291
|
-
},
|
|
292
280
|
{
|
|
293
281
|
"id": "component.button.ghost.activeBackground",
|
|
294
282
|
"layer": "component"
|
|
@@ -329,6 +317,14 @@
|
|
|
329
317
|
"id": "component.input.background",
|
|
330
318
|
"layer": "component"
|
|
331
319
|
},
|
|
320
|
+
{
|
|
321
|
+
"id": "semantic.backgroundPrimary",
|
|
322
|
+
"layer": "semantic"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "foundation.neutral900",
|
|
326
|
+
"layer": "foundation"
|
|
327
|
+
},
|
|
332
328
|
{
|
|
333
329
|
"id": "component.input.disabledBackground",
|
|
334
330
|
"layer": "component"
|
|
@@ -2109,16 +2105,16 @@
|
|
|
2109
2105
|
},
|
|
2110
2106
|
{
|
|
2111
2107
|
"from": "component.button.secondary.background",
|
|
2112
|
-
"to": "semantic.
|
|
2108
|
+
"to": "semantic.backgroundSurfaceHover"
|
|
2113
2109
|
},
|
|
2114
2110
|
{
|
|
2115
|
-
"from": "semantic.
|
|
2116
|
-
"to": "foundation.
|
|
2111
|
+
"from": "semantic.backgroundSurfaceHover",
|
|
2112
|
+
"to": "foundation.neutral100",
|
|
2117
2113
|
"context": "light"
|
|
2118
2114
|
},
|
|
2119
2115
|
{
|
|
2120
|
-
"from": "semantic.
|
|
2121
|
-
"to": "foundation.
|
|
2116
|
+
"from": "semantic.backgroundSurfaceHover",
|
|
2117
|
+
"to": "foundation.neutral750",
|
|
2122
2118
|
"context": "dark"
|
|
2123
2119
|
},
|
|
2124
2120
|
{
|
|
@@ -2135,46 +2131,32 @@
|
|
|
2135
2131
|
"to": "foundation.neutralWhite",
|
|
2136
2132
|
"context": "dark"
|
|
2137
2133
|
},
|
|
2138
|
-
{
|
|
2139
|
-
"from": "component.button.secondary.border",
|
|
2140
|
-
"to": "semantic.borderDefault"
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
"from": "semantic.borderDefault",
|
|
2144
|
-
"to": "foundation.neutral300",
|
|
2145
|
-
"context": "light"
|
|
2146
|
-
},
|
|
2147
|
-
{
|
|
2148
|
-
"from": "semantic.borderDefault",
|
|
2149
|
-
"to": "foundation.neutral650",
|
|
2150
|
-
"context": "dark"
|
|
2151
|
-
},
|
|
2152
2134
|
{
|
|
2153
2135
|
"from": "component.button.secondary.hoverBackground",
|
|
2154
|
-
"to": "semantic.
|
|
2136
|
+
"to": "semantic.backgroundSurfaceActive"
|
|
2155
2137
|
},
|
|
2156
2138
|
{
|
|
2157
|
-
"from": "semantic.
|
|
2158
|
-
"to": "foundation.
|
|
2139
|
+
"from": "semantic.backgroundSurfaceActive",
|
|
2140
|
+
"to": "foundation.neutral150",
|
|
2159
2141
|
"context": "light"
|
|
2160
2142
|
},
|
|
2161
2143
|
{
|
|
2162
|
-
"from": "semantic.
|
|
2163
|
-
"to": "foundation.
|
|
2144
|
+
"from": "semantic.backgroundSurfaceActive",
|
|
2145
|
+
"to": "foundation.neutral700",
|
|
2164
2146
|
"context": "dark"
|
|
2165
2147
|
},
|
|
2166
2148
|
{
|
|
2167
|
-
"from": "component.button.secondary.
|
|
2168
|
-
"to": "semantic.
|
|
2149
|
+
"from": "component.button.secondary.hoverForeground",
|
|
2150
|
+
"to": "semantic.foregroundPrimaryHover"
|
|
2169
2151
|
},
|
|
2170
2152
|
{
|
|
2171
|
-
"from": "semantic.
|
|
2172
|
-
"to": "foundation.
|
|
2153
|
+
"from": "semantic.foregroundPrimaryHover",
|
|
2154
|
+
"to": "foundation.neutralBlack",
|
|
2173
2155
|
"context": "light"
|
|
2174
2156
|
},
|
|
2175
2157
|
{
|
|
2176
|
-
"from": "semantic.
|
|
2177
|
-
"to": "foundation.
|
|
2158
|
+
"from": "semantic.foregroundPrimaryHover",
|
|
2159
|
+
"to": "foundation.neutral100",
|
|
2178
2160
|
"context": "dark"
|
|
2179
2161
|
},
|
|
2180
2162
|
{
|
|
@@ -2192,31 +2174,31 @@
|
|
|
2192
2174
|
"context": "dark"
|
|
2193
2175
|
},
|
|
2194
2176
|
{
|
|
2195
|
-
"from": "component.button.secondary.
|
|
2196
|
-
"to": "semantic.
|
|
2177
|
+
"from": "component.button.secondary.activeForeground",
|
|
2178
|
+
"to": "semantic.foregroundPrimary"
|
|
2197
2179
|
},
|
|
2198
2180
|
{
|
|
2199
|
-
"from": "semantic.
|
|
2200
|
-
"to": "foundation.
|
|
2181
|
+
"from": "semantic.foregroundPrimary",
|
|
2182
|
+
"to": "foundation.primaryBlack",
|
|
2201
2183
|
"context": "light"
|
|
2202
2184
|
},
|
|
2203
2185
|
{
|
|
2204
|
-
"from": "semantic.
|
|
2205
|
-
"to": "foundation.
|
|
2186
|
+
"from": "semantic.foregroundPrimary",
|
|
2187
|
+
"to": "foundation.neutralWhite",
|
|
2206
2188
|
"context": "dark"
|
|
2207
2189
|
},
|
|
2208
2190
|
{
|
|
2209
|
-
"from": "component.button.secondary.
|
|
2210
|
-
"to": "semantic.
|
|
2191
|
+
"from": "component.button.secondary.disabledBackground",
|
|
2192
|
+
"to": "semantic.backgroundSurfaceDisabled"
|
|
2211
2193
|
},
|
|
2212
2194
|
{
|
|
2213
|
-
"from": "semantic.
|
|
2214
|
-
"to": "foundation.
|
|
2195
|
+
"from": "semantic.backgroundSurfaceDisabled",
|
|
2196
|
+
"to": "foundation.neutral150",
|
|
2215
2197
|
"context": "light"
|
|
2216
2198
|
},
|
|
2217
2199
|
{
|
|
2218
|
-
"from": "semantic.
|
|
2219
|
-
"to": "foundation.
|
|
2200
|
+
"from": "semantic.backgroundSurfaceDisabled",
|
|
2201
|
+
"to": "foundation.neutral850",
|
|
2220
2202
|
"context": "dark"
|
|
2221
2203
|
},
|
|
2222
2204
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"generatedAt": "2026-09-28T07:29:58.244Z",
|
|
4
4
|
"contractLayer": "component-token-trace",
|
|
5
5
|
"tokens": {
|
|
6
6
|
"webIcon.primary": {
|
|
@@ -247,14 +247,14 @@
|
|
|
247
247
|
"type": "component",
|
|
248
248
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
249
249
|
"resolvesTo": {
|
|
250
|
-
"semantic": "
|
|
250
|
+
"semantic": "backgroundSurfaceHover",
|
|
251
251
|
"light": {
|
|
252
|
-
"foundation": "
|
|
253
|
-
"value": "#
|
|
252
|
+
"foundation": "neutral100",
|
|
253
|
+
"value": "#F5F5F5"
|
|
254
254
|
},
|
|
255
255
|
"dark": {
|
|
256
|
-
"foundation": "
|
|
257
|
-
"value": "#
|
|
256
|
+
"foundation": "neutral750",
|
|
257
|
+
"value": "#333333"
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
},
|
|
@@ -273,48 +273,33 @@
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
|
-
"button.secondary.border": {
|
|
277
|
-
"type": "component",
|
|
278
|
-
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
279
|
-
"resolvesTo": {
|
|
280
|
-
"semantic": "borderDefault",
|
|
281
|
-
"light": {
|
|
282
|
-
"foundation": "neutral300",
|
|
283
|
-
"value": "#DBDBDB"
|
|
284
|
-
},
|
|
285
|
-
"dark": {
|
|
286
|
-
"foundation": "neutral650",
|
|
287
|
-
"value": "#5B5B5B"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
276
|
"button.secondary.hoverBackground": {
|
|
292
277
|
"type": "component",
|
|
293
278
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
294
279
|
"resolvesTo": {
|
|
295
|
-
"semantic": "
|
|
280
|
+
"semantic": "backgroundSurfaceActive",
|
|
296
281
|
"light": {
|
|
297
|
-
"foundation": "
|
|
298
|
-
"value": "#
|
|
282
|
+
"foundation": "neutral150",
|
|
283
|
+
"value": "#F0F0F0"
|
|
299
284
|
},
|
|
300
285
|
"dark": {
|
|
301
|
-
"foundation": "
|
|
302
|
-
"value": "#
|
|
286
|
+
"foundation": "neutral700",
|
|
287
|
+
"value": "#404040"
|
|
303
288
|
}
|
|
304
289
|
}
|
|
305
290
|
},
|
|
306
|
-
"button.secondary.
|
|
291
|
+
"button.secondary.hoverForeground": {
|
|
307
292
|
"type": "component",
|
|
308
293
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
309
294
|
"resolvesTo": {
|
|
310
|
-
"semantic": "
|
|
295
|
+
"semantic": "foregroundPrimaryHover",
|
|
311
296
|
"light": {
|
|
312
|
-
"foundation": "
|
|
313
|
-
"value": "#
|
|
297
|
+
"foundation": "neutralBlack",
|
|
298
|
+
"value": "#000000"
|
|
314
299
|
},
|
|
315
300
|
"dark": {
|
|
316
|
-
"foundation": "
|
|
317
|
-
"value": "#
|
|
301
|
+
"foundation": "neutral100",
|
|
302
|
+
"value": "#F5F5F5"
|
|
318
303
|
}
|
|
319
304
|
}
|
|
320
305
|
},
|
|
@@ -333,33 +318,33 @@
|
|
|
333
318
|
}
|
|
334
319
|
}
|
|
335
320
|
},
|
|
336
|
-
"button.secondary.
|
|
321
|
+
"button.secondary.activeForeground": {
|
|
337
322
|
"type": "component",
|
|
338
323
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
339
324
|
"resolvesTo": {
|
|
340
|
-
"semantic": "
|
|
325
|
+
"semantic": "foregroundPrimary",
|
|
341
326
|
"light": {
|
|
342
|
-
"foundation": "
|
|
343
|
-
"value": "#
|
|
327
|
+
"foundation": "primaryBlack",
|
|
328
|
+
"value": "#212121"
|
|
344
329
|
},
|
|
345
330
|
"dark": {
|
|
346
|
-
"foundation": "
|
|
347
|
-
"value": "#
|
|
331
|
+
"foundation": "neutralWhite",
|
|
332
|
+
"value": "#FFFFFF"
|
|
348
333
|
}
|
|
349
334
|
}
|
|
350
335
|
},
|
|
351
|
-
"button.secondary.
|
|
336
|
+
"button.secondary.disabledBackground": {
|
|
352
337
|
"type": "component",
|
|
353
338
|
"source": "packages/react/src/tokens/componentColorTokens.ts",
|
|
354
339
|
"resolvesTo": {
|
|
355
|
-
"semantic": "
|
|
340
|
+
"semantic": "backgroundSurfaceDisabled",
|
|
356
341
|
"light": {
|
|
357
|
-
"foundation": "
|
|
358
|
-
"value": "#
|
|
342
|
+
"foundation": "neutral150",
|
|
343
|
+
"value": "#F0F0F0"
|
|
359
344
|
},
|
|
360
345
|
"dark": {
|
|
361
|
-
"foundation": "
|
|
362
|
-
"value": "#
|
|
346
|
+
"foundation": "neutral850",
|
|
347
|
+
"value": "#222222"
|
|
363
348
|
}
|
|
364
349
|
}
|
|
365
350
|
},
|
package/package.json
CHANGED
package/refineui.css
CHANGED
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
}
|
|
70
70
|
[data-refineui="select-item"] {
|
|
71
71
|
transition:
|
|
72
|
-
background-color var(--refineui-motion-duration-fast),
|
|
73
|
-
transform var(--refineui-motion-duration-fast);
|
|
72
|
+
background-color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
73
|
+
transform var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out);
|
|
74
74
|
}
|
|
75
75
|
/* List rows — Sidebar link plate (primary hover / active) */
|
|
76
76
|
[data-refineui="dropdown-item"][data-selected="true"]:not(:disabled) {
|
|
@@ -160,22 +160,37 @@
|
|
|
160
160
|
}
|
|
161
161
|
[data-refineui="calendar-day"] {
|
|
162
162
|
transition:
|
|
163
|
-
background-color var(--refineui-motion-duration-fast),
|
|
164
|
-
border-color var(--refineui-motion-duration-fast),
|
|
165
|
-
color var(--refineui-motion-duration-fast),
|
|
166
|
-
transform var(--refineui-motion-duration-fast);
|
|
163
|
+
background-color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
164
|
+
border-color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
165
|
+
color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
166
|
+
transform var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out);
|
|
167
167
|
}
|
|
168
|
-
/*
|
|
169
|
-
[data-refineui="
|
|
170
|
-
|
|
168
|
+
/* Select trigger — Button-like transform (press scale) */
|
|
169
|
+
[data-refineui="select-trigger"] {
|
|
170
|
+
transition:
|
|
171
|
+
color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
172
|
+
background-color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
173
|
+
border-color var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out),
|
|
174
|
+
transform var(--refineui-motion-duration-fast) var(--refineui-motion-easing-ease-out);
|
|
175
|
+
}
|
|
176
|
+
/* Select trigger ghost — Button-like plate (Calendar caption, compact chrome) */
|
|
177
|
+
[data-refineui="select-trigger"][data-appearance="ghost"]:not(:disabled):hover:not(:active):not([data-pressed]),
|
|
178
|
+
[data-refineui="select-trigger"][data-appearance="ghost"][data-state="open"]:not(:disabled):not(:active):not([data-pressed]) {
|
|
171
179
|
background-color: var(--refineui-color-alias-background-primary-hover);
|
|
172
180
|
color: var(--refineui-color-alias-foreground-primary-hover);
|
|
173
181
|
}
|
|
174
|
-
[data-refineui="
|
|
175
|
-
[data-refineui="
|
|
182
|
+
[data-refineui="select-trigger"][data-appearance="ghost"]:not(:disabled):active,
|
|
183
|
+
[data-refineui="select-trigger"][data-appearance="ghost"][data-pressed]:not(:disabled),
|
|
184
|
+
[data-refineui="select-trigger"][data-appearance="ghost"][data-state="open"]:not(:disabled):active,
|
|
185
|
+
[data-refineui="select-trigger"][data-appearance="ghost"][data-state="open"][data-pressed]:not(:disabled) {
|
|
176
186
|
background-color: var(--refineui-color-alias-background-primary-active);
|
|
177
187
|
color: var(--refineui-color-alias-foreground-primary);
|
|
178
188
|
}
|
|
189
|
+
[data-refineui="select-trigger"][data-appearance="ghost"]:focus-visible:not(:disabled) {
|
|
190
|
+
outline: none;
|
|
191
|
+
background-color: var(--refineui-color-alias-background-primary-hover);
|
|
192
|
+
color: var(--refineui-color-alias-foreground-primary-hover);
|
|
193
|
+
}
|
|
179
194
|
[data-refineui="calendar-nav"]:hover,
|
|
180
195
|
[data-refineui="chip-remove"]:hover {
|
|
181
196
|
opacity: 0.9;
|
|
@@ -357,6 +372,28 @@
|
|
|
357
372
|
[data-refineui="tabs-indicator"] {
|
|
358
373
|
transition: none;
|
|
359
374
|
display: block;
|
|
375
|
+
opacity: 0;
|
|
376
|
+
}
|
|
377
|
+
[data-refineui="tabs-indicator"][data-ready="true"] {
|
|
378
|
+
opacity: 1;
|
|
379
|
+
}
|
|
380
|
+
/*
|
|
381
|
+
* SSR / pre-measure: selected tab carries a static underline until the sliding
|
|
382
|
+
* indicator has geometry (`data-ready`). Avoids a missing brand line on first paint.
|
|
383
|
+
*/
|
|
384
|
+
[data-refineui="tabs-list"]:not(:has([data-refineui="tabs-indicator"][data-ready="true"]))
|
|
385
|
+
[data-refineui="tab"][data-selected="true"]::after {
|
|
386
|
+
content: "";
|
|
387
|
+
position: absolute;
|
|
388
|
+
inset-inline: 0;
|
|
389
|
+
bottom: 0;
|
|
390
|
+
height: var(--refineui-stroke-width-thick);
|
|
391
|
+
background-color: var(--refineui-color-alias-background-brand);
|
|
392
|
+
pointer-events: none;
|
|
393
|
+
}
|
|
394
|
+
[data-refineui="tabs-list"]:not(:has([data-refineui="tabs-indicator"][data-ready="true"]))
|
|
395
|
+
[data-refineui="tab"][data-selected="true"]:not(:disabled):not([aria-disabled="true"]):hover::after {
|
|
396
|
+
background-color: var(--refineui-color-alias-background-brand-hover);
|
|
360
397
|
}
|
|
361
398
|
/* Animate only after first layout (`data-animate`) — same contract as Segmented Control. */
|
|
362
399
|
[data-refineui="tabs-indicator"][data-animate="true"] {
|
|
@@ -383,7 +420,7 @@
|
|
|
383
420
|
[data-refineui="tab"]:active {
|
|
384
421
|
transform: none;
|
|
385
422
|
}
|
|
386
|
-
/* Calendar / Day — Web Kit `Calendar / Day` (`639:7052`) */
|
|
423
|
+
/* Calendar / Day — Web Kit `Calendar / Day` (`639:7052`) + Button press scale */
|
|
387
424
|
[data-refineui="calendar-day"]:not([disabled]):not([data-inactive="true"]):not([data-selected]):not([data-range-middle]):hover:not(:active) {
|
|
388
425
|
background-color: var(--refineui-color-alias-background-primary-hover) !important;
|
|
389
426
|
color: var(--refineui-color-alias-foreground-primary-hover) !important;
|
|
@@ -391,6 +428,7 @@
|
|
|
391
428
|
[data-refineui="calendar-day"]:not([disabled]):not([data-inactive="true"]):not([data-selected]):not([data-range-middle]):active {
|
|
392
429
|
background-color: var(--refineui-color-alias-background-primary-active) !important;
|
|
393
430
|
color: var(--refineui-color-alias-foreground-primary) !important;
|
|
431
|
+
transform: scale(var(--refineui-motion-scale-press));
|
|
394
432
|
}
|
|
395
433
|
[data-refineui="calendar-day"][data-range-middle]:not([disabled]):not([data-inactive="true"]):hover:not(:active) {
|
|
396
434
|
background-color: var(--refineui-color-alias-background-primary-hover) !important;
|
|
@@ -399,8 +437,12 @@
|
|
|
399
437
|
[data-refineui="calendar-day"][data-range-middle]:not([disabled]):not([data-inactive="true"]):active {
|
|
400
438
|
background-color: var(--refineui-color-alias-background-primary-active) !important;
|
|
401
439
|
color: var(--refineui-color-alias-foreground-primary) !important;
|
|
440
|
+
transform: scale(var(--refineui-motion-scale-press));
|
|
441
|
+
}
|
|
442
|
+
/* Selected day — keep rest fill; still press-scale on click like Button */
|
|
443
|
+
[data-refineui="calendar-day"][data-selected]:not([disabled]):not([data-inactive="true"]):active {
|
|
444
|
+
transform: scale(var(--refineui-motion-scale-press));
|
|
402
445
|
}
|
|
403
|
-
/* Selected / Day — selection uses fixed rest only; no hover/pressed background (Web Kit) */
|
|
404
446
|
/* Stepper — markers share Calendar day cell selection; upcoming uses primary hover/active */
|
|
405
447
|
[data-refineui="stepper-item"]:not([data-disabled="true"])
|
|
406
448
|
[data-refineui="stepper-indicator"][data-state="upcoming"]:active {
|
|
@@ -440,13 +482,11 @@
|
|
|
440
482
|
background-color: var(--refineui-btn-primary-pressed) !important;
|
|
441
483
|
}
|
|
442
484
|
[data-refineui="button"][data-variant="secondary"]:not([data-inactive="true"]):hover:not(:active) {
|
|
443
|
-
background-color: var(--refineui-color-alias-background-surface-
|
|
444
|
-
border-color: var(--refineui-color-alias-border-strong) !important;
|
|
485
|
+
background-color: var(--refineui-color-alias-background-surface-active) !important;
|
|
445
486
|
color: var(--refineui-color-alias-foreground-primary-hover) !important;
|
|
446
487
|
}
|
|
447
488
|
[data-refineui="button"][data-variant="secondary"]:not([data-inactive="true"]):active {
|
|
448
489
|
background-color: var(--refineui-color-alias-background-surface-active) !important;
|
|
449
|
-
border-color: var(--refineui-color-alias-border-strong) !important;
|
|
450
490
|
color: var(--refineui-color-alias-foreground-primary) !important;
|
|
451
491
|
}
|
|
452
492
|
[data-refineui="button"][data-variant="outline"]:not([data-inactive="true"]):hover:not(:active) {
|
|
@@ -477,7 +517,7 @@
|
|
|
477
517
|
}
|
|
478
518
|
[data-refineui="button"][data-variant="secondary"][data-inactive="true"] {
|
|
479
519
|
background-color: var(--refineui-color-alias-background-surface-disabled) !important;
|
|
480
|
-
border-color:
|
|
520
|
+
border-color: transparent !important;
|
|
481
521
|
color: var(--refineui-color-alias-foreground-disabled) !important;
|
|
482
522
|
}
|
|
483
523
|
[data-refineui="button"][data-variant="outline"][data-inactive="true"] {
|
|
@@ -496,6 +536,8 @@
|
|
|
496
536
|
[data-refineui="pagination"]:not(:disabled):active,
|
|
497
537
|
[data-refineui="dropdown-item"]:not(:disabled):active,
|
|
498
538
|
[data-refineui="select-item"]:not([aria-disabled="true"]):active,
|
|
539
|
+
[data-refineui="select-trigger"]:not(:disabled):active,
|
|
540
|
+
[data-refineui="select-trigger"][data-pressed]:not(:disabled),
|
|
499
541
|
[data-refineui="menu-item"]:not(:disabled):active,
|
|
500
542
|
[data-refineui="command-item"]:not(:disabled):active,
|
|
501
543
|
[data-refineui="calendar-nav"]:active,
|
|
@@ -789,28 +831,24 @@
|
|
|
789
831
|
}
|
|
790
832
|
|
|
791
833
|
/* Select trigger — Navigation Menu hover / press / open plate; hairline field chrome */
|
|
792
|
-
[data-refineui="select-trigger"]
|
|
793
|
-
transition:
|
|
794
|
-
color var(--refineui-motion-duration-fast),
|
|
795
|
-
background-color var(--refineui-motion-duration-fast),
|
|
796
|
-
border-color var(--refineui-motion-duration-fast);
|
|
797
|
-
}
|
|
798
|
-
[data-refineui="select-trigger"]:not([data-appearance="plain"]):not(:disabled):hover:not(:active) {
|
|
834
|
+
[data-refineui="select-trigger"][data-appearance="filled"]:not(:disabled):hover:not(:active):not([data-pressed]) {
|
|
799
835
|
color: var(--refineui-color-alias-foreground-primary-hover) !important;
|
|
800
836
|
background-color: var(--refineui-color-alias-background-primary-hover) !important;
|
|
801
837
|
}
|
|
802
|
-
[data-refineui="select-trigger"]
|
|
838
|
+
[data-refineui="select-trigger"][data-appearance="filled"]:not(:disabled):active,
|
|
839
|
+
[data-refineui="select-trigger"][data-appearance="filled"][data-pressed]:not(:disabled) {
|
|
803
840
|
color: var(--refineui-color-alias-foreground-primary) !important;
|
|
804
841
|
background-color: var(--refineui-color-alias-background-primary-active) !important;
|
|
805
842
|
}
|
|
806
|
-
[data-refineui="select-trigger"]
|
|
843
|
+
[data-refineui="select-trigger"][data-appearance="filled"][data-state="open"]:not(:disabled):not(:active):not([data-pressed]) {
|
|
807
844
|
color: var(--refineui-color-alias-foreground-primary) !important;
|
|
808
845
|
background-color: var(--refineui-color-alias-background-primary-hover) !important;
|
|
809
846
|
}
|
|
810
|
-
[data-refineui="select-trigger"]
|
|
847
|
+
[data-refineui="select-trigger"][data-appearance="filled"][data-state="open"]:not(:disabled):active,
|
|
848
|
+
[data-refineui="select-trigger"][data-appearance="filled"][data-state="open"][data-pressed]:not(:disabled) {
|
|
811
849
|
background-color: var(--refineui-color-alias-background-primary-active) !important;
|
|
812
850
|
}
|
|
813
|
-
[data-refineui="select-trigger"]
|
|
851
|
+
[data-refineui="select-trigger"][data-appearance="filled"]:focus-visible:not(:disabled) {
|
|
814
852
|
outline: none;
|
|
815
853
|
color: var(--refineui-color-alias-foreground-primary-hover);
|
|
816
854
|
background-color: var(--refineui-color-alias-background-primary-hover);
|