@floegence/floe-webapp-core 0.56.16 → 0.57.1
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-media.d.ts +1 -0
- package/dist/chat-media.js +8 -0
- package/dist/chat.css +34 -0
- package/dist/chat.js +89 -81
- package/dist/components/chat/blocks/MarkdownMedia.d.ts +30 -0
- package/dist/components/chat/blocks/MarkdownMedia.js +220 -0
- package/dist/components/chat/index.d.ts +2 -0
- package/dist/components/chat/markdown/media.d.ts +16 -0
- package/dist/components/chat/markdown/media.js +42 -0
- package/dist/full.js +496 -488
- package/dist/styles/themes/presets.d.ts +3 -3
- package/dist/styles/themes/presets.js +70 -70
- package/dist/styles.css +1 -1
- package/dist/themes/shell-presets.generated.css +155 -155
- package/package.json +5 -1
|
@@ -1,4 +1,84 @@
|
|
|
1
1
|
/* Generated from src/styles/themes/presets.ts. Do not edit by hand. */
|
|
2
|
+
:root[data-floe-shell-theme='porcelain-light'] {
|
|
3
|
+
--floe-window-background: color-mix(in srgb, var(--card) 35%, white);
|
|
4
|
+
--floe-window-foreground: var(--foreground);
|
|
5
|
+
--floe-window-muted-foreground: var(--muted-foreground);
|
|
6
|
+
--floe-window-titlebar-background: color-mix(in srgb, var(--floe-window-background) 92%, var(--foreground));
|
|
7
|
+
--floe-window-border: color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground));
|
|
8
|
+
--floe-window-shadow: 0 1px 3px rgb(0 0 0 / 14%), 0 12px 28px -8px rgb(0 0 0 / 18%);
|
|
9
|
+
--background: #f4f1ed;
|
|
10
|
+
--foreground: #202a37;
|
|
11
|
+
--primary: #202a37;
|
|
12
|
+
--primary-foreground: #fffdfa;
|
|
13
|
+
--secondary: #f1efec;
|
|
14
|
+
--secondary-foreground: #202a37;
|
|
15
|
+
--muted: #f1efec;
|
|
16
|
+
--muted-foreground: #576579;
|
|
17
|
+
--accent: #e4e1dd;
|
|
18
|
+
--accent-foreground: #202a37;
|
|
19
|
+
--border: #d8d3cc;
|
|
20
|
+
--input: #828891;
|
|
21
|
+
--ring: #202a37;
|
|
22
|
+
--chrome-border: #d8d3cc;
|
|
23
|
+
--top-bar-border: #d8d3cc;
|
|
24
|
+
--activity-bar-border: #d8d3cc;
|
|
25
|
+
--bottom-bar-border: #d8d3cc;
|
|
26
|
+
--terminal-panel-border: #d8d3cc;
|
|
27
|
+
--card: #fffdfa;
|
|
28
|
+
--card-foreground: #202a37;
|
|
29
|
+
--popover: #fffdfa;
|
|
30
|
+
--popover-foreground: #202a37;
|
|
31
|
+
--success: #287a4b;
|
|
32
|
+
--success-foreground: #ffffff;
|
|
33
|
+
--warning: #835800;
|
|
34
|
+
--warning-foreground: #ffffff;
|
|
35
|
+
--error: #b42318;
|
|
36
|
+
--error-foreground: #ffffff;
|
|
37
|
+
--info: #245b9b;
|
|
38
|
+
--info-foreground: #ffffff;
|
|
39
|
+
--highlight-block-info-accent: #245b9b;
|
|
40
|
+
--highlight-block-warning-accent: #835800;
|
|
41
|
+
--highlight-block-success-accent: #287a4b;
|
|
42
|
+
--highlight-block-error-accent: #b42318;
|
|
43
|
+
--highlight-block-note-accent: #6847a0;
|
|
44
|
+
--highlight-block-tip-accent: #1e6f73;
|
|
45
|
+
--sidebar: #eeece9;
|
|
46
|
+
--sidebar-foreground: #202a37;
|
|
47
|
+
--sidebar-primary: #202a37;
|
|
48
|
+
--sidebar-primary-foreground: #fffdfa;
|
|
49
|
+
--sidebar-accent: #e4e1dd;
|
|
50
|
+
--sidebar-accent-foreground: #202a37;
|
|
51
|
+
--sidebar-border: #d8d3cc;
|
|
52
|
+
--sidebar-ring: #202a37;
|
|
53
|
+
--activity-bar: #eeece9;
|
|
54
|
+
--activity-bar-foreground: #576579;
|
|
55
|
+
--activity-bar-foreground-active: #202a37;
|
|
56
|
+
--activity-bar-badge: #202a37;
|
|
57
|
+
--activity-bar-badge-foreground: #fffdfa;
|
|
58
|
+
--terminal-background: #202a37;
|
|
59
|
+
--terminal-foreground: #ebebeb;
|
|
60
|
+
--chart-1: #202a37;
|
|
61
|
+
--chart-2: #5a687c;
|
|
62
|
+
--chart-3: #2671d9;
|
|
63
|
+
--chart-4: #287a4b;
|
|
64
|
+
--chart-5: #835800;
|
|
65
|
+
--selection-bg: #2671d9;
|
|
66
|
+
--selection-fg: #ffffff;
|
|
67
|
+
--selection-on-primary-bg: #f4c95d;
|
|
68
|
+
--selection-on-primary-fg: #243447;
|
|
69
|
+
--selection-code-bg: #58a6ff;
|
|
70
|
+
--selection-code-fg: #08111d;
|
|
71
|
+
--glow: #202a37;
|
|
72
|
+
--floe-progress-text-base: rgb(13 23 35);
|
|
73
|
+
--floe-progress-text-peak: rgb(93 99 107);
|
|
74
|
+
--floe-progress-primary-base: rgb(32 42 55);
|
|
75
|
+
--floe-progress-primary-white-mix: 28.0%;
|
|
76
|
+
--floe-file-icon-primary: hsl(214 26% 17%);
|
|
77
|
+
--floe-file-icon-warning: hsl(38 92% 50%);
|
|
78
|
+
--floe-file-icon-info: hsl(217 91% 60%);
|
|
79
|
+
--floe-file-icon-success: oklch(0.68 0.16 150);
|
|
80
|
+
--floe-file-icon-error: oklch(0.65 0.2 25);
|
|
81
|
+
}
|
|
2
82
|
:root[data-floe-shell-theme='paper'] {
|
|
3
83
|
--floe-window-background: color-mix(in srgb, var(--card) 35%, white);
|
|
4
84
|
--floe-window-foreground: var(--foreground);
|
|
@@ -749,6 +829,81 @@
|
|
|
749
829
|
--floe-progress-primary-base: rgb(0 0 168);
|
|
750
830
|
--floe-progress-primary-white-mix: 28.0%;
|
|
751
831
|
}
|
|
832
|
+
:root[data-floe-shell-theme='porcelain-dark'] {
|
|
833
|
+
--floe-window-background: color-mix(in srgb, var(--card) 90%, white);
|
|
834
|
+
--floe-window-foreground: var(--foreground);
|
|
835
|
+
--floe-window-muted-foreground: color-mix(in srgb, var(--muted-foreground) 72%, var(--foreground));
|
|
836
|
+
--floe-window-titlebar-background: color-mix(in srgb, var(--floe-window-background) 95%, white);
|
|
837
|
+
--floe-window-border: color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground));
|
|
838
|
+
--floe-window-shadow: 0 1px 3px rgb(0 0 0 / 30%), 0 12px 28px -8px rgb(0 0 0 / 32%);
|
|
839
|
+
--background: #0c0c0d;
|
|
840
|
+
--foreground: #f2f1ee;
|
|
841
|
+
--primary: #e8e7e3;
|
|
842
|
+
--primary-foreground: #161617;
|
|
843
|
+
--secondary: #252526;
|
|
844
|
+
--secondary-foreground: #f2f1ee;
|
|
845
|
+
--muted: #252526;
|
|
846
|
+
--muted-foreground: #b7b6b3;
|
|
847
|
+
--accent: #252526;
|
|
848
|
+
--accent-foreground: #f2f1ee;
|
|
849
|
+
--border: #343435;
|
|
850
|
+
--input: #383839;
|
|
851
|
+
--ring: #bdbcb8;
|
|
852
|
+
--chrome-border: #343435;
|
|
853
|
+
--top-bar-border: #343435;
|
|
854
|
+
--activity-bar-border: #343435;
|
|
855
|
+
--bottom-bar-border: #343435;
|
|
856
|
+
--terminal-panel-border: #343435;
|
|
857
|
+
--card: #1a1a1b;
|
|
858
|
+
--card-foreground: #f2f1ee;
|
|
859
|
+
--popover: #1a1a1b;
|
|
860
|
+
--popover-foreground: #f2f1ee;
|
|
861
|
+
--success: #72d39c;
|
|
862
|
+
--success-foreground: #07160e;
|
|
863
|
+
--warning: #f0c36a;
|
|
864
|
+
--warning-foreground: #1b1405;
|
|
865
|
+
--error: #ff8a82;
|
|
866
|
+
--error-foreground: #210706;
|
|
867
|
+
--info: #79b8ff;
|
|
868
|
+
--info-foreground: #061321;
|
|
869
|
+
--highlight-block-info-accent: #79b8ff;
|
|
870
|
+
--highlight-block-warning-accent: #f0c36a;
|
|
871
|
+
--highlight-block-success-accent: #72d39c;
|
|
872
|
+
--highlight-block-error-accent: #ff8a82;
|
|
873
|
+
--highlight-block-note-accent: #c19be8;
|
|
874
|
+
--highlight-block-tip-accent: #71c8c0;
|
|
875
|
+
--sidebar: #111112;
|
|
876
|
+
--sidebar-foreground: #f2f1ee;
|
|
877
|
+
--sidebar-primary: #e8e7e3;
|
|
878
|
+
--sidebar-primary-foreground: #161617;
|
|
879
|
+
--sidebar-accent: #252526;
|
|
880
|
+
--sidebar-accent-foreground: #f2f1ee;
|
|
881
|
+
--sidebar-border: #343435;
|
|
882
|
+
--sidebar-ring: #bdbcb8;
|
|
883
|
+
--activity-bar: #111112;
|
|
884
|
+
--activity-bar-foreground: #b7b6b3;
|
|
885
|
+
--activity-bar-foreground-active: #f2f1ee;
|
|
886
|
+
--activity-bar-badge: #e8e7e3;
|
|
887
|
+
--activity-bar-badge-foreground: #161617;
|
|
888
|
+
--terminal-background: #09090a;
|
|
889
|
+
--terminal-foreground: #f2f1ee;
|
|
890
|
+
--chart-1: #e8e7e3;
|
|
891
|
+
--chart-2: #79b8ff;
|
|
892
|
+
--chart-3: #c19be8;
|
|
893
|
+
--chart-4: #72d39c;
|
|
894
|
+
--chart-5: #f0c36a;
|
|
895
|
+
--selection-bg: #454544;
|
|
896
|
+
--selection-fg: #ffffff;
|
|
897
|
+
--selection-on-primary-bg: #0c0c0d;
|
|
898
|
+
--selection-on-primary-fg: #f2f1ee;
|
|
899
|
+
--selection-code-bg: #58a6ff;
|
|
900
|
+
--selection-code-fg: #08111d;
|
|
901
|
+
--glow: #454544;
|
|
902
|
+
--floe-progress-text-base: rgb(156 155 152);
|
|
903
|
+
--floe-progress-text-peak: rgb(255 255 255);
|
|
904
|
+
--floe-progress-primary-base: rgb(220 219 215);
|
|
905
|
+
--floe-progress-primary-white-mix: 96.0%;
|
|
906
|
+
}
|
|
752
907
|
:root[data-floe-shell-theme='ink'] {
|
|
753
908
|
--floe-window-background: color-mix(in srgb, var(--card) 90%, white);
|
|
754
909
|
--floe-window-foreground: var(--foreground);
|
|
@@ -1649,158 +1804,3 @@
|
|
|
1649
1804
|
--floe-progress-primary-base: rgb(10 132 255);
|
|
1650
1805
|
--floe-progress-primary-white-mix: 29.0%;
|
|
1651
1806
|
}
|
|
1652
|
-
:root[data-floe-shell-theme='porcelain-light'] {
|
|
1653
|
-
--floe-window-background: color-mix(in srgb, var(--card) 35%, white);
|
|
1654
|
-
--floe-window-foreground: var(--foreground);
|
|
1655
|
-
--floe-window-muted-foreground: var(--muted-foreground);
|
|
1656
|
-
--floe-window-titlebar-background: color-mix(in srgb, var(--floe-window-background) 92%, var(--foreground));
|
|
1657
|
-
--floe-window-border: color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground));
|
|
1658
|
-
--floe-window-shadow: 0 1px 3px rgb(0 0 0 / 14%), 0 12px 28px -8px rgb(0 0 0 / 18%);
|
|
1659
|
-
--background: #f4f1ed;
|
|
1660
|
-
--foreground: #202a37;
|
|
1661
|
-
--primary: #202a37;
|
|
1662
|
-
--primary-foreground: #fffdfa;
|
|
1663
|
-
--secondary: #f1efec;
|
|
1664
|
-
--secondary-foreground: #202a37;
|
|
1665
|
-
--muted: #f1efec;
|
|
1666
|
-
--muted-foreground: #576579;
|
|
1667
|
-
--accent: #e4e1dd;
|
|
1668
|
-
--accent-foreground: #202a37;
|
|
1669
|
-
--border: #d8d3cc;
|
|
1670
|
-
--input: #828891;
|
|
1671
|
-
--ring: #202a37;
|
|
1672
|
-
--chrome-border: #d8d3cc;
|
|
1673
|
-
--top-bar-border: #d8d3cc;
|
|
1674
|
-
--activity-bar-border: #d8d3cc;
|
|
1675
|
-
--bottom-bar-border: #d8d3cc;
|
|
1676
|
-
--terminal-panel-border: #d8d3cc;
|
|
1677
|
-
--card: #fffdfa;
|
|
1678
|
-
--card-foreground: #202a37;
|
|
1679
|
-
--popover: #fffdfa;
|
|
1680
|
-
--popover-foreground: #202a37;
|
|
1681
|
-
--success: #287a4b;
|
|
1682
|
-
--success-foreground: #ffffff;
|
|
1683
|
-
--warning: #835800;
|
|
1684
|
-
--warning-foreground: #ffffff;
|
|
1685
|
-
--error: #b42318;
|
|
1686
|
-
--error-foreground: #ffffff;
|
|
1687
|
-
--info: #245b9b;
|
|
1688
|
-
--info-foreground: #ffffff;
|
|
1689
|
-
--highlight-block-info-accent: #245b9b;
|
|
1690
|
-
--highlight-block-warning-accent: #835800;
|
|
1691
|
-
--highlight-block-success-accent: #287a4b;
|
|
1692
|
-
--highlight-block-error-accent: #b42318;
|
|
1693
|
-
--highlight-block-note-accent: #6847a0;
|
|
1694
|
-
--highlight-block-tip-accent: #1e6f73;
|
|
1695
|
-
--sidebar: #eeece9;
|
|
1696
|
-
--sidebar-foreground: #202a37;
|
|
1697
|
-
--sidebar-primary: #202a37;
|
|
1698
|
-
--sidebar-primary-foreground: #fffdfa;
|
|
1699
|
-
--sidebar-accent: #e4e1dd;
|
|
1700
|
-
--sidebar-accent-foreground: #202a37;
|
|
1701
|
-
--sidebar-border: #d8d3cc;
|
|
1702
|
-
--sidebar-ring: #202a37;
|
|
1703
|
-
--activity-bar: #eeece9;
|
|
1704
|
-
--activity-bar-foreground: #576579;
|
|
1705
|
-
--activity-bar-foreground-active: #202a37;
|
|
1706
|
-
--activity-bar-badge: #202a37;
|
|
1707
|
-
--activity-bar-badge-foreground: #fffdfa;
|
|
1708
|
-
--terminal-background: #202a37;
|
|
1709
|
-
--terminal-foreground: #ebebeb;
|
|
1710
|
-
--chart-1: #202a37;
|
|
1711
|
-
--chart-2: #5a687c;
|
|
1712
|
-
--chart-3: #2671d9;
|
|
1713
|
-
--chart-4: #287a4b;
|
|
1714
|
-
--chart-5: #835800;
|
|
1715
|
-
--selection-bg: #2671d9;
|
|
1716
|
-
--selection-fg: #ffffff;
|
|
1717
|
-
--selection-on-primary-bg: #f4c95d;
|
|
1718
|
-
--selection-on-primary-fg: #243447;
|
|
1719
|
-
--selection-code-bg: #58a6ff;
|
|
1720
|
-
--selection-code-fg: #08111d;
|
|
1721
|
-
--glow: #202a37;
|
|
1722
|
-
--floe-progress-text-base: rgb(13 23 35);
|
|
1723
|
-
--floe-progress-text-peak: rgb(93 99 107);
|
|
1724
|
-
--floe-progress-primary-base: rgb(32 42 55);
|
|
1725
|
-
--floe-progress-primary-white-mix: 28.0%;
|
|
1726
|
-
--floe-file-icon-primary: hsl(214 26% 17%);
|
|
1727
|
-
--floe-file-icon-warning: hsl(38 92% 50%);
|
|
1728
|
-
--floe-file-icon-info: hsl(217 91% 60%);
|
|
1729
|
-
--floe-file-icon-success: oklch(0.68 0.16 150);
|
|
1730
|
-
--floe-file-icon-error: oklch(0.65 0.2 25);
|
|
1731
|
-
}
|
|
1732
|
-
:root[data-floe-shell-theme='porcelain-dark'] {
|
|
1733
|
-
--floe-window-background: color-mix(in srgb, var(--card) 90%, white);
|
|
1734
|
-
--floe-window-foreground: var(--foreground);
|
|
1735
|
-
--floe-window-muted-foreground: color-mix(in srgb, var(--muted-foreground) 72%, var(--foreground));
|
|
1736
|
-
--floe-window-titlebar-background: color-mix(in srgb, var(--floe-window-background) 95%, white);
|
|
1737
|
-
--floe-window-border: color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground));
|
|
1738
|
-
--floe-window-shadow: 0 1px 3px rgb(0 0 0 / 30%), 0 12px 28px -8px rgb(0 0 0 / 32%);
|
|
1739
|
-
--background: #0c0c0d;
|
|
1740
|
-
--foreground: #f2f1ee;
|
|
1741
|
-
--primary: #e8e7e3;
|
|
1742
|
-
--primary-foreground: #161617;
|
|
1743
|
-
--secondary: #252526;
|
|
1744
|
-
--secondary-foreground: #f2f1ee;
|
|
1745
|
-
--muted: #252526;
|
|
1746
|
-
--muted-foreground: #b7b6b3;
|
|
1747
|
-
--accent: #252526;
|
|
1748
|
-
--accent-foreground: #f2f1ee;
|
|
1749
|
-
--border: #343435;
|
|
1750
|
-
--input: #383839;
|
|
1751
|
-
--ring: #bdbcb8;
|
|
1752
|
-
--chrome-border: #343435;
|
|
1753
|
-
--top-bar-border: #343435;
|
|
1754
|
-
--activity-bar-border: #343435;
|
|
1755
|
-
--bottom-bar-border: #343435;
|
|
1756
|
-
--terminal-panel-border: #343435;
|
|
1757
|
-
--card: #1a1a1b;
|
|
1758
|
-
--card-foreground: #f2f1ee;
|
|
1759
|
-
--popover: #1a1a1b;
|
|
1760
|
-
--popover-foreground: #f2f1ee;
|
|
1761
|
-
--success: #72d39c;
|
|
1762
|
-
--success-foreground: #07160e;
|
|
1763
|
-
--warning: #f0c36a;
|
|
1764
|
-
--warning-foreground: #1b1405;
|
|
1765
|
-
--error: #ff8a82;
|
|
1766
|
-
--error-foreground: #210706;
|
|
1767
|
-
--info: #79b8ff;
|
|
1768
|
-
--info-foreground: #061321;
|
|
1769
|
-
--highlight-block-info-accent: #79b8ff;
|
|
1770
|
-
--highlight-block-warning-accent: #f0c36a;
|
|
1771
|
-
--highlight-block-success-accent: #72d39c;
|
|
1772
|
-
--highlight-block-error-accent: #ff8a82;
|
|
1773
|
-
--highlight-block-note-accent: #c19be8;
|
|
1774
|
-
--highlight-block-tip-accent: #71c8c0;
|
|
1775
|
-
--sidebar: #111112;
|
|
1776
|
-
--sidebar-foreground: #f2f1ee;
|
|
1777
|
-
--sidebar-primary: #e8e7e3;
|
|
1778
|
-
--sidebar-primary-foreground: #161617;
|
|
1779
|
-
--sidebar-accent: #252526;
|
|
1780
|
-
--sidebar-accent-foreground: #f2f1ee;
|
|
1781
|
-
--sidebar-border: #343435;
|
|
1782
|
-
--sidebar-ring: #bdbcb8;
|
|
1783
|
-
--activity-bar: #111112;
|
|
1784
|
-
--activity-bar-foreground: #b7b6b3;
|
|
1785
|
-
--activity-bar-foreground-active: #f2f1ee;
|
|
1786
|
-
--activity-bar-badge: #e8e7e3;
|
|
1787
|
-
--activity-bar-badge-foreground: #161617;
|
|
1788
|
-
--terminal-background: #09090a;
|
|
1789
|
-
--terminal-foreground: #f2f1ee;
|
|
1790
|
-
--chart-1: #e8e7e3;
|
|
1791
|
-
--chart-2: #79b8ff;
|
|
1792
|
-
--chart-3: #c19be8;
|
|
1793
|
-
--chart-4: #72d39c;
|
|
1794
|
-
--chart-5: #f0c36a;
|
|
1795
|
-
--selection-bg: #454544;
|
|
1796
|
-
--selection-fg: #ffffff;
|
|
1797
|
-
--selection-on-primary-bg: #0c0c0d;
|
|
1798
|
-
--selection-on-primary-fg: #f2f1ee;
|
|
1799
|
-
--selection-code-bg: #58a6ff;
|
|
1800
|
-
--selection-code-fg: #08111d;
|
|
1801
|
-
--glow: #454544;
|
|
1802
|
-
--floe-progress-text-base: rgb(156 155 152);
|
|
1803
|
-
--floe-progress-text-peak: rgb(255 255 255);
|
|
1804
|
-
--floe-progress-primary-base: rgb(220 219 215);
|
|
1805
|
-
--floe-progress-primary-white-mix: 96.0%;
|
|
1806
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floegence/floe-webapp-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
"types": "./dist/chat.d.ts",
|
|
61
61
|
"import": "./dist/chat.js"
|
|
62
62
|
},
|
|
63
|
+
"./chat-media": {
|
|
64
|
+
"types": "./dist/chat-media.d.ts",
|
|
65
|
+
"import": "./dist/chat-media.js"
|
|
66
|
+
},
|
|
63
67
|
"./notes": {
|
|
64
68
|
"types": "./dist/notes.d.ts",
|
|
65
69
|
"import": "./dist/notes.js"
|