@floegence/floe-webapp-core 0.35.29 → 0.35.30
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/components/ui/DirectoryInput.js +1 -1
- package/dist/components/ui/DirectoryPicker.js +1 -1
- package/dist/components/ui/FileSavePicker.js +1 -1
- package/dist/components/ui/picker/PickerBase.d.ts +2 -1
- package/dist/components/ui/picker/PickerBase.js +126 -118
- package/dist/styles/tokens.d.ts +80 -0
- package/dist/styles/tokens.js +57 -9
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +8 -0
- package/dist/themes/light.css +8 -0
- package/dist/ui.css +10 -10
- package/package.json +1 -1
package/dist/styles/tokens.js
CHANGED
|
@@ -196,6 +196,54 @@ const r = {
|
|
|
196
196
|
}
|
|
197
197
|
]
|
|
198
198
|
},
|
|
199
|
+
{
|
|
200
|
+
name: "Highlight Blocks",
|
|
201
|
+
description: "Dedicated accent colors for HighlightBlock variants so callouts can diverge from shared status tokens.",
|
|
202
|
+
tokens: [
|
|
203
|
+
{
|
|
204
|
+
name: "Highlight Block Info Accent",
|
|
205
|
+
variable: "--highlight-block-info-accent",
|
|
206
|
+
lightValue: "oklch(0.52 0.14 245)",
|
|
207
|
+
darkValue: "oklch(0.62 0.12 240)",
|
|
208
|
+
description: "Info accent used by HighlightBlock surfaces and borders."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: "Highlight Block Warning Accent",
|
|
212
|
+
variable: "--highlight-block-warning-accent",
|
|
213
|
+
lightValue: "oklch(0.62 0.16 65)",
|
|
214
|
+
darkValue: "oklch(0.7 0.14 65)",
|
|
215
|
+
description: "Warning accent used by HighlightBlock surfaces and borders."
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: "Highlight Block Success Accent",
|
|
219
|
+
variable: "--highlight-block-success-accent",
|
|
220
|
+
lightValue: "oklch(0.55 0.14 155)",
|
|
221
|
+
darkValue: "oklch(0.62 0.12 155)",
|
|
222
|
+
description: "Success accent used by HighlightBlock surfaces and borders."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
name: "Highlight Block Error Accent",
|
|
226
|
+
variable: "--highlight-block-error-accent",
|
|
227
|
+
lightValue: "oklch(0.55 0.16 25)",
|
|
228
|
+
darkValue: "oklch(0.6 0.14 25)",
|
|
229
|
+
description: "Error accent used by HighlightBlock surfaces and borders."
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: "Highlight Block Note Accent",
|
|
233
|
+
variable: "--highlight-block-note-accent",
|
|
234
|
+
lightValue: "oklch(0.52 0.16 285)",
|
|
235
|
+
darkValue: "oklch(0.62 0.14 285)",
|
|
236
|
+
description: "Note accent used by HighlightBlock surfaces and borders."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "Highlight Block Tip Accent",
|
|
240
|
+
variable: "--highlight-block-tip-accent",
|
|
241
|
+
lightValue: "oklch(0.52 0.12 175)",
|
|
242
|
+
darkValue: "oklch(0.6 0.1 175)",
|
|
243
|
+
description: "Tip accent used by HighlightBlock surfaces and borders."
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
199
247
|
{
|
|
200
248
|
name: "Shell Chrome",
|
|
201
249
|
description: "Stable shell chrome borders that can be overridden through theme.tokens.",
|
|
@@ -530,7 +578,7 @@ const r = {
|
|
|
530
578
|
{ name: "XL", value: "1rem", variable: "-", className: "rounded-xl" },
|
|
531
579
|
{ name: "2XL", value: "1.5rem", variable: "-", className: "rounded-2xl" },
|
|
532
580
|
{ name: "Full", value: "9999px", variable: "-", className: "rounded-full" }
|
|
533
|
-
],
|
|
581
|
+
], c = [
|
|
534
582
|
{
|
|
535
583
|
name: "Fade In",
|
|
536
584
|
keyframes: "animate-in",
|
|
@@ -567,10 +615,10 @@ const r = {
|
|
|
567
615
|
usage: "Neon and emphasis effects",
|
|
568
616
|
description: "Pulsing glow animation for elevated emphasis."
|
|
569
617
|
}
|
|
570
|
-
],
|
|
618
|
+
], d = i.reduce((a, e) => (a.push(...e.tokens), a), []);
|
|
571
619
|
function o(a) {
|
|
572
620
|
return Object.fromEntries(
|
|
573
|
-
|
|
621
|
+
d.map((e) => [
|
|
574
622
|
e.variable,
|
|
575
623
|
a === "light" ? e.lightValue : e.darkValue
|
|
576
624
|
])
|
|
@@ -580,27 +628,27 @@ const u = {
|
|
|
580
628
|
light: o("light"),
|
|
581
629
|
dark: o("dark")
|
|
582
630
|
};
|
|
583
|
-
function
|
|
631
|
+
function h(a, e) {
|
|
584
632
|
return u[e][a];
|
|
585
633
|
}
|
|
586
|
-
const
|
|
634
|
+
const g = {
|
|
587
635
|
colors: i,
|
|
588
636
|
typography: l,
|
|
589
637
|
fonts: n,
|
|
590
638
|
spacing: s,
|
|
591
639
|
radius: t,
|
|
592
|
-
motion:
|
|
640
|
+
motion: c,
|
|
593
641
|
shared: r
|
|
594
642
|
};
|
|
595
643
|
export {
|
|
596
644
|
i as floeColorTokenCategories,
|
|
597
|
-
|
|
645
|
+
g as floeDesignTokens,
|
|
598
646
|
n as floeFontFamilyTokens,
|
|
599
|
-
|
|
647
|
+
c as floeMotionTokens,
|
|
600
648
|
t as floeRadiusTokens,
|
|
601
649
|
r as floeSharedCssVariables,
|
|
602
650
|
s as floeSpacingTokens,
|
|
603
651
|
u as floeThemeColorVariables,
|
|
604
652
|
l as floeTypographyTokens,
|
|
605
|
-
|
|
653
|
+
h as getFloeColorTokenValue
|
|
606
654
|
};
|