@ciridae/ui 1.0.9 → 1.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/preset.js +10 -0
- package/dist/styled-system/styles.css +12 -12
- package/dist/theme/tokens.js +3 -2
- package/package.json +1 -1
package/dist/preset.js
CHANGED
|
@@ -34,6 +34,16 @@ export function createCiridaePreset({ appBase = false, ...theme } = {}) {
|
|
|
34
34
|
...(appBase ? { globalCss: appBaseCss } : {}),
|
|
35
35
|
utilities: {
|
|
36
36
|
extend: {
|
|
37
|
+
/*
|
|
38
|
+
* The standard property goes after the `-webkit-` one. A minifier that merges the pair,
|
|
39
|
+
* such as Vite's lightningcss, keeps only the last, and Chrome ignores the prefixed one.
|
|
40
|
+
* Panda's own utility writes them the other way round.
|
|
41
|
+
*/
|
|
42
|
+
backdropFilter: {
|
|
43
|
+
transform(value) {
|
|
44
|
+
return { WebkitBackdropFilter: value, backdropFilter: value };
|
|
45
|
+
},
|
|
46
|
+
},
|
|
37
47
|
/*
|
|
38
48
|
* The one focus ring, drawn under whatever state shows focus, usually
|
|
39
49
|
* `_focusVisible: { focusRing: "outer" }`. Replaces Panda's own `focusRing`, which
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
--colors-bg\.card: rgba(255,255,255,.05);
|
|
323
323
|
--colors-bg\.avatar: #36363C;
|
|
324
324
|
--colors-bg\.backdrop: rgba(20,20,22,.6);
|
|
325
|
-
--colors-bg\.popover:
|
|
325
|
+
--colors-bg\.popover: #141416;
|
|
326
326
|
--colors-bg\.modal-shell: rgba(255,255,255,.01);
|
|
327
327
|
--colors-bg\.modal-sheet: rgba(255,255,255,.01);
|
|
328
328
|
--colors-bg\.drawer-shell: rgba(39,39,42,.33);
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
--colors-bg\.card: #FBFBFB;
|
|
458
458
|
--colors-bg\.avatar: #D8D8DE;
|
|
459
459
|
--colors-bg\.backdrop: rgba(42,42,45,.24);
|
|
460
|
-
--colors-bg\.popover:
|
|
460
|
+
--colors-bg\.popover: #F0F0F0;
|
|
461
461
|
--colors-bg\.modal-shell: rgba(238,238,238,.66);
|
|
462
462
|
--colors-bg\.modal-sheet: rgba(251,251,251,.88);
|
|
463
463
|
--colors-bg\.drawer-shell: rgba(240,240,240,.33);
|
|
@@ -2256,8 +2256,8 @@
|
|
|
2256
2256
|
}
|
|
2257
2257
|
|
|
2258
2258
|
.bkdp_\[blur\(token\(blurs\.popover\)\)\] {
|
|
2259
|
-
backdrop-filter: blur(var(--blurs-popover));
|
|
2260
2259
|
-webkit-backdrop-filter: blur(var(--blurs-popover));
|
|
2260
|
+
backdrop-filter: blur(var(--blurs-popover));
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
2263
|
.bx-sh_soft {
|
|
@@ -2457,8 +2457,8 @@
|
|
|
2457
2457
|
}
|
|
2458
2458
|
|
|
2459
2459
|
.bkdp_\[blur\(token\(blurs\.modalShell\)\)\] {
|
|
2460
|
-
backdrop-filter: blur(var(--blurs-modal-shell));
|
|
2461
2460
|
-webkit-backdrop-filter: blur(var(--blurs-modal-shell));
|
|
2461
|
+
backdrop-filter: blur(var(--blurs-modal-shell));
|
|
2462
2462
|
}
|
|
2463
2463
|
|
|
2464
2464
|
.trf_translateX\(-50\%\) {
|
|
@@ -2614,8 +2614,8 @@
|
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
2616
2616
|
.bkdp_\[blur\(token\(blurs\.drawerShell\)\)\] {
|
|
2617
|
-
backdrop-filter: blur(var(--blurs-drawer-shell));
|
|
2618
2617
|
-webkit-backdrop-filter: blur(var(--blurs-drawer-shell));
|
|
2618
|
+
backdrop-filter: blur(var(--blurs-drawer-shell));
|
|
2619
2619
|
}
|
|
2620
2620
|
|
|
2621
2621
|
.bx-sh_drawerShell {
|
|
@@ -2858,8 +2858,8 @@
|
|
|
2858
2858
|
}
|
|
2859
2859
|
|
|
2860
2860
|
.bkdp_\[blur\(token\(blurs\.modalSheet\)\)\] {
|
|
2861
|
-
backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
2862
2861
|
-webkit-backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
2862
|
+
backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
2863
2863
|
}
|
|
2864
2864
|
|
|
2865
2865
|
.trs-prop_\[width\] {
|
|
@@ -3186,8 +3186,8 @@
|
|
|
3186
3186
|
padding-block-start: var(--spacing-panel\.comfortable);
|
|
3187
3187
|
}
|
|
3188
3188
|
|
|
3189
|
-
.grid-tc_minmax\(200px\,_1fr\)
|
|
3190
|
-
grid-template-columns: minmax(200px, 1fr) 96px 180px 140px 176px
|
|
3189
|
+
.grid-tc_minmax\(200px\,_1fr\)_96px_180px_140px_176px_124px {
|
|
3190
|
+
grid-template-columns: minmax(200px, 1fr) 96px 180px 140px 176px 124px;
|
|
3191
3191
|
}
|
|
3192
3192
|
|
|
3193
3193
|
.grid-tc_minmax\(0\,_1fr\)_auto_auto {
|
|
@@ -6593,8 +6593,8 @@
|
|
|
6593
6593
|
}
|
|
6594
6594
|
|
|
6595
6595
|
.\[\&_\>_\[cmdk-root\]\]\:bkdp_\[blur\(token\(blurs\.modalSheet\)\)\] > [cmdk-root] {
|
|
6596
|
-
backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
6597
6596
|
-webkit-backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
6597
|
+
backdrop-filter: blur(var(--blurs-modal-sheet));
|
|
6598
6598
|
}
|
|
6599
6599
|
|
|
6600
6600
|
.\[\&_\>_\[cmdk-root\]\]\:bx-sh_soft > [cmdk-root] {
|
|
@@ -9654,8 +9654,8 @@
|
|
|
9654
9654
|
}
|
|
9655
9655
|
|
|
9656
9656
|
@media (max-width: 1200px) {
|
|
9657
|
-
.wide\:grid-tc_minmax\(200px\,_1fr\)_96px_minmax\(120px\,_max-content\)
|
|
9658
|
-
grid-template-columns: minmax(200px, 1fr) 96px minmax(120px, max-content) 140px
|
|
9657
|
+
.wide\:grid-tc_minmax\(200px\,_1fr\)_96px_minmax\(120px\,_max-content\)_140px_124px {
|
|
9658
|
+
grid-template-columns: minmax(200px, 1fr) 96px minmax(120px, max-content) 140px 124px;
|
|
9659
9659
|
}
|
|
9660
9660
|
.wide\:d_none {
|
|
9661
9661
|
display: none;
|
|
@@ -9822,8 +9822,8 @@
|
|
|
9822
9822
|
scrollbar-width: none;
|
|
9823
9823
|
}
|
|
9824
9824
|
.phone\:bkdp_\[none\] {
|
|
9825
|
-
backdrop-filter: none;
|
|
9826
9825
|
-webkit-backdrop-filter: none;
|
|
9826
|
+
backdrop-filter: none;
|
|
9827
9827
|
}
|
|
9828
9828
|
.phone\:ps_panel\.default {
|
|
9829
9829
|
padding-inline-start: var(--spacing-panel\.default);
|
package/dist/theme/tokens.js
CHANGED
|
@@ -32,8 +32,9 @@ export function deriveThemeTokens(theme = {}) {
|
|
|
32
32
|
"bg.avatar": { base: dark.avatar, _light: light.avatar },
|
|
33
33
|
// Behind a modal, full screen; the design gives a drawer none.
|
|
34
34
|
"bg.backdrop": { base: alpha(dark.scrim, 0.6), _light: alpha(light.scrim, 0.24) },
|
|
35
|
-
// A popover or menu is one
|
|
36
|
-
|
|
35
|
+
// A popover or menu is one opaque sheet, so a row under it never reads through; a modal and a
|
|
36
|
+
// drawer are a glass shell holding a sheet.
|
|
37
|
+
"bg.popover": { base: dark.popover, _light: light.popover },
|
|
37
38
|
"bg.modalShell": {
|
|
38
39
|
base: alpha(dark.modalShell, 0.01),
|
|
39
40
|
_light: alpha(light.modalShell, 0.66),
|