@floegence/floe-webapp-core 0.35.28 → 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/chat.css +67 -0
- 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.d.ts
CHANGED
|
@@ -210,6 +210,46 @@ export declare const floeColorTokenCategories: readonly [{
|
|
|
210
210
|
readonly darkValue: "hsl(0 0% 100%)";
|
|
211
211
|
readonly description: "Foreground color used on info surfaces.";
|
|
212
212
|
}];
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "Highlight Blocks";
|
|
215
|
+
readonly description: "Dedicated accent colors for HighlightBlock variants so callouts can diverge from shared status tokens.";
|
|
216
|
+
readonly tokens: readonly [{
|
|
217
|
+
readonly name: "Highlight Block Info Accent";
|
|
218
|
+
readonly variable: "--highlight-block-info-accent";
|
|
219
|
+
readonly lightValue: "oklch(0.52 0.14 245)";
|
|
220
|
+
readonly darkValue: "oklch(0.62 0.12 240)";
|
|
221
|
+
readonly description: "Info accent used by HighlightBlock surfaces and borders.";
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "Highlight Block Warning Accent";
|
|
224
|
+
readonly variable: "--highlight-block-warning-accent";
|
|
225
|
+
readonly lightValue: "oklch(0.62 0.16 65)";
|
|
226
|
+
readonly darkValue: "oklch(0.7 0.14 65)";
|
|
227
|
+
readonly description: "Warning accent used by HighlightBlock surfaces and borders.";
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "Highlight Block Success Accent";
|
|
230
|
+
readonly variable: "--highlight-block-success-accent";
|
|
231
|
+
readonly lightValue: "oklch(0.55 0.14 155)";
|
|
232
|
+
readonly darkValue: "oklch(0.62 0.12 155)";
|
|
233
|
+
readonly description: "Success accent used by HighlightBlock surfaces and borders.";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "Highlight Block Error Accent";
|
|
236
|
+
readonly variable: "--highlight-block-error-accent";
|
|
237
|
+
readonly lightValue: "oklch(0.55 0.16 25)";
|
|
238
|
+
readonly darkValue: "oklch(0.6 0.14 25)";
|
|
239
|
+
readonly description: "Error accent used by HighlightBlock surfaces and borders.";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "Highlight Block Note Accent";
|
|
242
|
+
readonly variable: "--highlight-block-note-accent";
|
|
243
|
+
readonly lightValue: "oklch(0.52 0.16 285)";
|
|
244
|
+
readonly darkValue: "oklch(0.62 0.14 285)";
|
|
245
|
+
readonly description: "Note accent used by HighlightBlock surfaces and borders.";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "Highlight Block Tip Accent";
|
|
248
|
+
readonly variable: "--highlight-block-tip-accent";
|
|
249
|
+
readonly lightValue: "oklch(0.52 0.12 175)";
|
|
250
|
+
readonly darkValue: "oklch(0.6 0.1 175)";
|
|
251
|
+
readonly description: "Tip accent used by HighlightBlock surfaces and borders.";
|
|
252
|
+
}];
|
|
213
253
|
}, {
|
|
214
254
|
readonly name: "Shell Chrome";
|
|
215
255
|
readonly description: "Stable shell chrome borders that can be overridden through theme.tokens.";
|
|
@@ -760,6 +800,46 @@ export declare const floeDesignTokens: {
|
|
|
760
800
|
readonly darkValue: "hsl(0 0% 100%)";
|
|
761
801
|
readonly description: "Foreground color used on info surfaces.";
|
|
762
802
|
}];
|
|
803
|
+
}, {
|
|
804
|
+
readonly name: "Highlight Blocks";
|
|
805
|
+
readonly description: "Dedicated accent colors for HighlightBlock variants so callouts can diverge from shared status tokens.";
|
|
806
|
+
readonly tokens: readonly [{
|
|
807
|
+
readonly name: "Highlight Block Info Accent";
|
|
808
|
+
readonly variable: "--highlight-block-info-accent";
|
|
809
|
+
readonly lightValue: "oklch(0.52 0.14 245)";
|
|
810
|
+
readonly darkValue: "oklch(0.62 0.12 240)";
|
|
811
|
+
readonly description: "Info accent used by HighlightBlock surfaces and borders.";
|
|
812
|
+
}, {
|
|
813
|
+
readonly name: "Highlight Block Warning Accent";
|
|
814
|
+
readonly variable: "--highlight-block-warning-accent";
|
|
815
|
+
readonly lightValue: "oklch(0.62 0.16 65)";
|
|
816
|
+
readonly darkValue: "oklch(0.7 0.14 65)";
|
|
817
|
+
readonly description: "Warning accent used by HighlightBlock surfaces and borders.";
|
|
818
|
+
}, {
|
|
819
|
+
readonly name: "Highlight Block Success Accent";
|
|
820
|
+
readonly variable: "--highlight-block-success-accent";
|
|
821
|
+
readonly lightValue: "oklch(0.55 0.14 155)";
|
|
822
|
+
readonly darkValue: "oklch(0.62 0.12 155)";
|
|
823
|
+
readonly description: "Success accent used by HighlightBlock surfaces and borders.";
|
|
824
|
+
}, {
|
|
825
|
+
readonly name: "Highlight Block Error Accent";
|
|
826
|
+
readonly variable: "--highlight-block-error-accent";
|
|
827
|
+
readonly lightValue: "oklch(0.55 0.16 25)";
|
|
828
|
+
readonly darkValue: "oklch(0.6 0.14 25)";
|
|
829
|
+
readonly description: "Error accent used by HighlightBlock surfaces and borders.";
|
|
830
|
+
}, {
|
|
831
|
+
readonly name: "Highlight Block Note Accent";
|
|
832
|
+
readonly variable: "--highlight-block-note-accent";
|
|
833
|
+
readonly lightValue: "oklch(0.52 0.16 285)";
|
|
834
|
+
readonly darkValue: "oklch(0.62 0.14 285)";
|
|
835
|
+
readonly description: "Note accent used by HighlightBlock surfaces and borders.";
|
|
836
|
+
}, {
|
|
837
|
+
readonly name: "Highlight Block Tip Accent";
|
|
838
|
+
readonly variable: "--highlight-block-tip-accent";
|
|
839
|
+
readonly lightValue: "oklch(0.52 0.12 175)";
|
|
840
|
+
readonly darkValue: "oklch(0.6 0.1 175)";
|
|
841
|
+
readonly description: "Tip accent used by HighlightBlock surfaces and borders.";
|
|
842
|
+
}];
|
|
763
843
|
}, {
|
|
764
844
|
readonly name: "Shell Chrome";
|
|
765
845
|
readonly description: "Stable shell chrome borders that can be overridden through theme.tokens.";
|
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
|
};
|