@brett_lamy/ui 1.1.0 → 2.0.0
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/README.md +36 -22
- package/dist/components/button.stories.d.ts +2 -0
- package/dist/components/button.stories.d.ts.map +1 -1
- package/dist/components/chat/chat-column.stories.d.ts +2 -0
- package/dist/components/chat/chat-column.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.d.ts +19 -0
- package/dist/components/chat/floating-chat.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.d.ts +21 -1
- package/dist/components/chat/floating-sheet.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -1
- package/dist/components/command-menu.d.ts +210 -0
- package/dist/components/command-menu.d.ts.map +1 -0
- package/dist/components/command-menu.stories.d.ts +17 -0
- package/dist/components/command-menu.stories.d.ts.map +1 -0
- package/dist/components/credenza.d.ts +7 -2
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/edge-drawer.d.ts +14 -2
- package/dist/components/edge-drawer.d.ts.map +1 -1
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/list-row.stories.d.ts +3 -0
- package/dist/components/list-row.stories.d.ts.map +1 -1
- package/dist/components/list.d.ts +15 -1
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/morph.d.ts +6 -3
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/navigation-stack.d.ts +13 -2
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.d.ts +7 -5
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -1
- package/dist/components/progress-ring.d.ts +34 -15
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/segmented.d.ts +1 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/side-drawer.d.ts +6 -1
- package/dist/components/side-drawer.d.ts.map +1 -1
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/slider.d.ts +9 -3
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/split-view.d.ts +34 -5
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.stories.d.ts +7 -0
- package/dist/components/split-view.stories.d.ts.map +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/tab-view.d.ts +7 -6
- package/dist/components/tab-view.d.ts.map +1 -1
- package/dist/components/tab-view.stories.d.ts +9 -0
- package/dist/components/tab-view.stories.d.ts.map +1 -1
- package/dist/components/toast.d.ts +8 -0
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/workbench/chat.d.ts +2 -2
- package/dist/components/workbench/chat.d.ts.map +1 -1
- package/dist/components/workbench/composer.d.ts +8 -8
- package/dist/components/workbench/composer.d.ts.map +1 -1
- package/dist/components/workbench/fixtures.d.ts.map +1 -1
- package/dist/components/workbench/markdown.d.ts.map +1 -1
- package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -1
- package/dist/components/workbench/model-picker.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.d.ts +3 -2
- package/dist/components/workbench/snap-sheet.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -1
- package/dist/components/workbench/surfaces.d.ts +2 -2
- package/dist/components/workbench/surfaces.d.ts.map +1 -1
- package/dist/components/workbench/terminal.d.ts +10 -2
- package/dist/components/workbench/terminal.d.ts.map +1 -1
- package/dist/components/workbench/terminal.stories.d.ts.map +1 -1
- package/dist/components/workbench/wb-popover.d.ts +2 -4
- package/dist/components/workbench/wb-popover.d.ts.map +1 -1
- package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
- package/dist/demos/haptics-playground.d.ts.map +1 -1
- package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
- package/dist/demos/map-chat/tile-map.d.ts +36 -0
- package/dist/demos/map-chat/tile-map.d.ts.map +1 -1
- package/dist/demos/pencilkit/pencilkit-demo.d.ts +2 -0
- package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -1
- package/dist/demos/sidebar-demo.d.ts +0 -3
- package/dist/demos/sidebar-demo.d.ts.map +1 -1
- package/dist/demos/split-view-demos.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +24 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8610 -8452
- package/dist/lib/chat/chat-shell-context.d.ts +2 -1
- package/dist/lib/chat/chat-shell-context.d.ts.map +1 -1
- package/dist/lib/icon-shapes/chat.d.ts +32 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts +49 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -0
- package/dist/lib/icon-shapes/workbench.d.ts +199 -0
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -0
- package/dist/lib/icon.d.ts +352 -1
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/pencilkit/constants.d.ts +8 -8
- package/dist/lib/pencilkit/constants.d.ts.map +1 -1
- package/dist/lib/primitives.d.ts +1 -1
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/row-label.d.ts +9 -0
- package/dist/lib/row-label.d.ts.map +1 -0
- package/dist/lib/sheet-drag.d.ts +22 -7
- package/dist/lib/sheet-drag.d.ts.map +1 -1
- package/dist/lib/theme.d.ts +36 -5
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/workbench/icons.d.ts +5 -15
- package/dist/lib/workbench/icons.d.ts.map +1 -1
- package/dist/lib/workbench/motion.d.ts +0 -64
- package/dist/lib/workbench/motion.d.ts.map +1 -1
- package/dist/lib/workbench/theme.d.ts +2 -3
- package/dist/lib/workbench/theme.d.ts.map +1 -1
- package/dist/lib/workbench/util.d.ts +5 -3
- package/dist/lib/workbench/util.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.d.ts +6 -1
- package/dist/templates/artifact-chat-container.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -1
- package/dist/templates/chat-shell.d.ts +6 -5
- package/dist/templates/chat-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.d.ts +7 -7
- package/dist/templates/workbench-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.stories.d.ts.map +1 -1
- package/dist/theme.css +325 -0
- package/package.json +5 -1
- package/dist/components/chat/channel-list.d.ts +0 -35
- package/dist/components/chat/channel-list.d.ts.map +0 -1
- package/dist/components/chat/channel-list.stories.d.ts +0 -13
- package/dist/components/chat/channel-list.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.d.ts +0 -13
- package/dist/components/chat/chat-avatar.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.stories.d.ts +0 -9
- package/dist/components/chat/chat-avatar.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.d.ts +0 -22
- package/dist/components/chat/chat-composer.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.stories.d.ts +0 -16
- package/dist/components/chat/chat-composer.stories.d.ts.map +0 -1
- package/dist/components/chat/chat.fixtures.d.ts +0 -29
- package/dist/components/chat/chat.fixtures.d.ts.map +0 -1
- package/dist/components/chat/member-list.d.ts +0 -21
- package/dist/components/chat/member-list.d.ts.map +0 -1
- package/dist/components/chat/message-list.d.ts +0 -34
- package/dist/components/chat/message-list.d.ts.map +0 -1
- package/dist/components/chat/message.d.ts +0 -47
- package/dist/components/chat/message.d.ts.map +0 -1
- package/dist/components/chat/message.stories.d.ts +0 -30
- package/dist/components/chat/message.stories.d.ts.map +0 -1
- package/dist/components/chat/rich-text.d.ts +0 -8
- package/dist/components/chat/rich-text.d.ts.map +0 -1
- package/dist/components/chat/rich-text.stories.d.ts +0 -9
- package/dist/components/chat/rich-text.stories.d.ts.map +0 -1
- package/dist/components/chat/server-header.d.ts +0 -10
- package/dist/components/chat/server-header.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.d.ts +0 -25
- package/dist/components/chat/thread-preview.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.stories.d.ts +0 -18
- package/dist/components/chat/thread-preview.stories.d.ts.map +0 -1
- package/dist/components/chat/user-panel.d.ts +0 -16
- package/dist/components/chat/user-panel.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.d.ts +0 -56
- package/dist/components/chat/workspace-rail.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.stories.d.ts +0 -12
- package/dist/components/chat/workspace-rail.stories.d.ts.map +0 -1
- package/dist/components/pencilkit/pk-icon.d.ts +0 -8
- package/dist/components/pencilkit/pk-icon.d.ts.map +0 -1
- package/dist/components/pill-button.d.ts +0 -11
- package/dist/components/pill-button.d.ts.map +0 -1
- package/dist/components/pill-button.stories.d.ts +0 -9
- package/dist/components/pill-button.stories.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.d.ts +0 -100
- package/dist/components/workbench/thread-sidebar.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.stories.d.ts +0 -9
- package/dist/components/workbench/thread-sidebar.stories.d.ts.map +0 -1
- package/dist/lib/chat/chat-icon.d.ts +0 -24
- package/dist/lib/chat/chat-icon.d.ts.map +0 -1
- package/dist/lib/chat/chat-tokens.d.ts +0 -72
- package/dist/lib/chat/chat-tokens.d.ts.map +0 -1
- package/dist/lib/chat/chat-users.d.ts +0 -18
- package/dist/lib/chat/chat-users.d.ts.map +0 -1
- package/dist/lib/chat/kvib.d.ts +0 -3
- package/dist/lib/chat/kvib.d.ts.map +0 -1
- package/dist/lib/chat/title-ref.d.ts +0 -3
- package/dist/lib/chat/title-ref.d.ts.map +0 -1
- package/dist/templates/chat-shell.stories.d.ts +0 -22
- package/dist/templates/chat-shell.stories.d.ts.map +0 -1
package/dist/theme.css
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
/* bl-theme — BL UI's iOS look as a shadcn theme (`@brett_lamy/ui/theme.css`, or the `bl-theme` registry item).
|
|
2
|
+
It sets shadcn's CSS variables (plus BL UI's few extras) for light (`:root`, `.light`) and dark (`.dark`), and
|
|
3
|
+
the theme scopes: surfaces that restyle a subtree with the same variables — the Workbench, its always-dark
|
|
4
|
+
terminal, and team chat. `<ThemeScope scope="workbench">` (WorkbenchShell, ChatShell … render one) marks a
|
|
5
|
+
scope; BLProvider / ThemeScope put `light` or `dark` on their root. A scope sets only the variables its surface
|
|
6
|
+
changes — the rest (primary, overlay, bars, …) come from around it — so the plain `.light` / `.dark` rules skip
|
|
7
|
+
scope roots. Plain CSS — no Tailwind needed. */
|
|
8
|
+
|
|
9
|
+
:root,
|
|
10
|
+
.light:not([data-theme-scope]) {
|
|
11
|
+
color-scheme: light;
|
|
12
|
+
--background: #fff;
|
|
13
|
+
--foreground: #0B0B0F;
|
|
14
|
+
--card: #fff;
|
|
15
|
+
--card-foreground: #0B0B0F;
|
|
16
|
+
--popover: #fff;
|
|
17
|
+
--popover-foreground: #0B0B0F;
|
|
18
|
+
--primary: #0A84FF;
|
|
19
|
+
--primary-foreground: #fff;
|
|
20
|
+
--secondary: rgba(120, 120, 128, .13);
|
|
21
|
+
--secondary-foreground: #0B0B0F;
|
|
22
|
+
--muted: #F2F2F7;
|
|
23
|
+
--muted-foreground: rgba(60, 60, 67, .6);
|
|
24
|
+
--accent: rgba(120, 120, 128, .16);
|
|
25
|
+
--accent-foreground: #0B0B0F;
|
|
26
|
+
--destructive: #FF3B30;
|
|
27
|
+
--border: rgba(60, 60, 67, .22);
|
|
28
|
+
--input: rgba(120, 120, 128, .13);
|
|
29
|
+
--ring: #0A84FF;
|
|
30
|
+
--chart-1: #0A84FF;
|
|
31
|
+
--chart-2: #34C759;
|
|
32
|
+
--chart-3: #FF9500;
|
|
33
|
+
--chart-4: #FF3B30;
|
|
34
|
+
--chart-5: #AF52DE;
|
|
35
|
+
--radius: .625rem;
|
|
36
|
+
--sidebar: #ECECF1;
|
|
37
|
+
--sidebar-foreground: #0B0B0F;
|
|
38
|
+
--sidebar-primary: #0A84FF;
|
|
39
|
+
--sidebar-primary-foreground: #fff;
|
|
40
|
+
--sidebar-accent: rgba(120, 120, 128, .16);
|
|
41
|
+
--sidebar-accent-foreground: #0B0B0F;
|
|
42
|
+
--sidebar-border: rgba(60, 60, 67, .22);
|
|
43
|
+
--sidebar-ring: #0A84FF;
|
|
44
|
+
/* BL UI extras */
|
|
45
|
+
--success: #34C759;
|
|
46
|
+
--warning: #FF9F0A;
|
|
47
|
+
--tertiary-foreground: rgba(60, 60, 67, .33);
|
|
48
|
+
--secondary-strong: rgba(120, 120, 128, .24);
|
|
49
|
+
--overlay: rgba(0, 0, 0, .38);
|
|
50
|
+
--bar: rgba(250, 250, 252, .85);
|
|
51
|
+
--sticky: rgba(244, 244, 248, .92);
|
|
52
|
+
--handle: rgba(120, 120, 128, .24);
|
|
53
|
+
--code: #101014;
|
|
54
|
+
--code-foreground: #D8D8E2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dark:not([data-theme-scope]) {
|
|
58
|
+
color-scheme: dark;
|
|
59
|
+
--background: #000;
|
|
60
|
+
--foreground: #F5F5F7;
|
|
61
|
+
--card: #1C1C1E;
|
|
62
|
+
--card-foreground: #F5F5F7;
|
|
63
|
+
--popover: #1C1C1E;
|
|
64
|
+
--popover-foreground: #F5F5F7;
|
|
65
|
+
--primary: #0A84FF;
|
|
66
|
+
--primary-foreground: #fff;
|
|
67
|
+
--secondary: rgba(120, 120, 128, .22);
|
|
68
|
+
--secondary-foreground: #F5F5F7;
|
|
69
|
+
--muted: #0A0A0C;
|
|
70
|
+
--muted-foreground: rgba(235, 235, 245, .62);
|
|
71
|
+
--accent: rgba(120, 120, 128, .22);
|
|
72
|
+
--accent-foreground: #F5F5F7;
|
|
73
|
+
--destructive: #FF453A;
|
|
74
|
+
--border: rgba(84, 84, 88, .48);
|
|
75
|
+
--input: rgba(120, 120, 128, .22);
|
|
76
|
+
--ring: #0A84FF;
|
|
77
|
+
--chart-1: #0A84FF;
|
|
78
|
+
--chart-2: #30D158;
|
|
79
|
+
--chart-3: #FF9F0A;
|
|
80
|
+
--chart-4: #FF453A;
|
|
81
|
+
--chart-5: #BF5AF2;
|
|
82
|
+
--sidebar: #111114;
|
|
83
|
+
--sidebar-foreground: #F5F5F7;
|
|
84
|
+
--sidebar-primary: #0A84FF;
|
|
85
|
+
--sidebar-primary-foreground: #fff;
|
|
86
|
+
--sidebar-accent: rgba(120, 120, 128, .22);
|
|
87
|
+
--sidebar-accent-foreground: #F5F5F7;
|
|
88
|
+
--sidebar-border: rgba(84, 84, 88, .48);
|
|
89
|
+
--sidebar-ring: #0A84FF;
|
|
90
|
+
--success: #30D158;
|
|
91
|
+
--warning: #FF9F0A;
|
|
92
|
+
--tertiary-foreground: rgba(235, 235, 245, .3);
|
|
93
|
+
--secondary-strong: rgba(120, 120, 128, .34);
|
|
94
|
+
--overlay: rgba(0, 0, 0, .5);
|
|
95
|
+
--bar: rgba(16, 16, 18, .82);
|
|
96
|
+
--sticky: rgba(18, 18, 20, .9);
|
|
97
|
+
--handle: rgba(120, 120, 128, .34);
|
|
98
|
+
--code: #101014;
|
|
99
|
+
--code-foreground: #D8D8E2;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* ── Workbench scope (WorkbenchShell, WorkbenchTheme, Composer surfaces): dark-first IDE palette ── */
|
|
103
|
+
[data-theme-scope="workbench"] {
|
|
104
|
+
color-scheme: light;
|
|
105
|
+
--background: #FFFFFF;
|
|
106
|
+
--foreground: #17171C;
|
|
107
|
+
--card: #FFFFFF;
|
|
108
|
+
--card-foreground: #17171C;
|
|
109
|
+
--popover: #F2F2F5;
|
|
110
|
+
--popover-foreground: #17171C;
|
|
111
|
+
--secondary: rgba(0, 0, 0, .05);
|
|
112
|
+
--secondary-foreground: #17171C;
|
|
113
|
+
--muted: #F7F7F9;
|
|
114
|
+
--muted-foreground: #6B6B76;
|
|
115
|
+
--accent: rgba(0, 0, 0, .05);
|
|
116
|
+
--accent-foreground: #17171C;
|
|
117
|
+
--destructive: #FF3B30;
|
|
118
|
+
--border: rgba(0, 0, 0, .08);
|
|
119
|
+
--input: rgba(0, 0, 0, .05);
|
|
120
|
+
--sidebar: #F7F7F9;
|
|
121
|
+
--sidebar-foreground: #17171C;
|
|
122
|
+
--sidebar-accent: rgba(0, 0, 0, .05);
|
|
123
|
+
--sidebar-accent-foreground: #17171C;
|
|
124
|
+
--sidebar-border: rgba(0, 0, 0, .08);
|
|
125
|
+
--success: #34C759;
|
|
126
|
+
--tertiary-foreground: #9A9AA3;
|
|
127
|
+
--secondary-strong: rgba(0, 0, 0, .09);
|
|
128
|
+
--handle: rgba(0, 0, 0, .18);
|
|
129
|
+
--code: #F4F4F7;
|
|
130
|
+
--code-foreground: #24242B;
|
|
131
|
+
--scope-terminal-background: #1A1A1F;
|
|
132
|
+
}
|
|
133
|
+
[data-theme-scope="workbench"].dark {
|
|
134
|
+
color-scheme: dark;
|
|
135
|
+
--background: #141419;
|
|
136
|
+
--foreground: #EDEDF2;
|
|
137
|
+
--card: #1C1C23;
|
|
138
|
+
--card-foreground: #EDEDF2;
|
|
139
|
+
--popover: #26262E;
|
|
140
|
+
--popover-foreground: #EDEDF2;
|
|
141
|
+
--secondary: rgba(255, 255, 255, .06);
|
|
142
|
+
--secondary-foreground: #EDEDF2;
|
|
143
|
+
--muted: #101014;
|
|
144
|
+
--muted-foreground: #9C9CA6;
|
|
145
|
+
--accent: rgba(255, 255, 255, .06);
|
|
146
|
+
--accent-foreground: #EDEDF2;
|
|
147
|
+
--destructive: #FF453A;
|
|
148
|
+
--border: rgba(255, 255, 255, .08);
|
|
149
|
+
--input: rgba(255, 255, 255, .06);
|
|
150
|
+
--sidebar: #101015;
|
|
151
|
+
--sidebar-foreground: #EDEDF2;
|
|
152
|
+
--sidebar-accent: rgba(255, 255, 255, .06);
|
|
153
|
+
--sidebar-accent-foreground: #EDEDF2;
|
|
154
|
+
--sidebar-border: rgba(255, 255, 255, .08);
|
|
155
|
+
--success: #30D158;
|
|
156
|
+
--tertiary-foreground: #69696F;
|
|
157
|
+
--secondary-strong: rgba(255, 255, 255, .11);
|
|
158
|
+
--handle: rgba(255, 255, 255, .22);
|
|
159
|
+
--code: #0C0C10;
|
|
160
|
+
--code-foreground: #D8D8E2;
|
|
161
|
+
--scope-terminal-background: #0C0C10;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* ── Terminal scope: the Workbench's integrated terminal stays dark in both appearances ── */
|
|
165
|
+
[data-theme-scope="terminal"] {
|
|
166
|
+
color-scheme: dark;
|
|
167
|
+
--background: var(--scope-terminal-background, #0C0C10);
|
|
168
|
+
--foreground: #EDEDF2;
|
|
169
|
+
--card-foreground: #EDEDF2;
|
|
170
|
+
--secondary: rgba(255, 255, 255, .06);
|
|
171
|
+
--secondary-foreground: #EDEDF2;
|
|
172
|
+
--muted-foreground: #9C9CA6;
|
|
173
|
+
--accent: rgba(255, 255, 255, .06);
|
|
174
|
+
--accent-foreground: #EDEDF2;
|
|
175
|
+
--border: rgba(255, 255, 255, .08);
|
|
176
|
+
--tertiary-foreground: #69696F;
|
|
177
|
+
--secondary-strong: rgba(255, 255, 255, .11);
|
|
178
|
+
--handle: rgba(255, 255, 255, .22);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* ── Chat scope (ChatShell): the team-chat palette ── */
|
|
182
|
+
[data-theme-scope="chat"] {
|
|
183
|
+
color-scheme: light;
|
|
184
|
+
--background: #FFFFFF;
|
|
185
|
+
--foreground: #17171C;
|
|
186
|
+
--card: #F4F4F7;
|
|
187
|
+
--card-foreground: #17171C;
|
|
188
|
+
--popover: #F4F4F7;
|
|
189
|
+
--popover-foreground: #17171C;
|
|
190
|
+
--secondary: rgba(0, 0, 0, .045);
|
|
191
|
+
--secondary-foreground: #3C3C43;
|
|
192
|
+
--muted: #ECECF0;
|
|
193
|
+
--muted-foreground: rgba(60, 60, 67, .72);
|
|
194
|
+
--accent: rgba(0, 0, 0, .025);
|
|
195
|
+
--accent-foreground: #17171C;
|
|
196
|
+
--destructive: #E0352B;
|
|
197
|
+
--border: rgba(0, 0, 0, .08);
|
|
198
|
+
--input: rgba(0, 0, 0, .045);
|
|
199
|
+
--sidebar: #F7F7F9;
|
|
200
|
+
--sidebar-foreground: #17171C;
|
|
201
|
+
--sidebar-accent: rgba(0, 0, 0, .025);
|
|
202
|
+
--sidebar-accent-foreground: #17171C;
|
|
203
|
+
--sidebar-border: rgba(0, 0, 0, .08);
|
|
204
|
+
--success: #1F9D45;
|
|
205
|
+
--warning: #C76A00;
|
|
206
|
+
--tertiary-foreground: rgba(60, 60, 67, .46);
|
|
207
|
+
--secondary-strong: rgba(0, 0, 0, .08);
|
|
208
|
+
--overlay: rgba(0, 0, 0, .25);
|
|
209
|
+
--link: #0A64D6;
|
|
210
|
+
}
|
|
211
|
+
[data-theme-scope="chat"].dark {
|
|
212
|
+
color-scheme: dark;
|
|
213
|
+
--background: #131318;
|
|
214
|
+
--foreground: #EDEDF2;
|
|
215
|
+
--card: #1B1B22;
|
|
216
|
+
--card-foreground: #EDEDF2;
|
|
217
|
+
--popover: #1B1B22;
|
|
218
|
+
--popover-foreground: #EDEDF2;
|
|
219
|
+
--secondary: rgba(255, 255, 255, .055);
|
|
220
|
+
--secondary-foreground: #fff;
|
|
221
|
+
--muted: #0D0D11;
|
|
222
|
+
--muted-foreground: rgba(235, 235, 245, .6);
|
|
223
|
+
--accent: rgba(255, 255, 255, .035);
|
|
224
|
+
--accent-foreground: #EDEDF2;
|
|
225
|
+
--destructive: #FF453A;
|
|
226
|
+
--border: rgba(255, 255, 255, .07);
|
|
227
|
+
--input: rgba(255, 255, 255, .055);
|
|
228
|
+
--sidebar: #101015;
|
|
229
|
+
--sidebar-foreground: #EDEDF2;
|
|
230
|
+
--sidebar-accent: rgba(255, 255, 255, .035);
|
|
231
|
+
--sidebar-accent-foreground: #EDEDF2;
|
|
232
|
+
--sidebar-border: rgba(255, 255, 255, .07);
|
|
233
|
+
--success: #32D74B;
|
|
234
|
+
--warning: #FF9F0A;
|
|
235
|
+
--tertiary-foreground: rgba(235, 235, 245, .35);
|
|
236
|
+
--secondary-strong: rgba(255, 255, 255, .1);
|
|
237
|
+
--overlay: rgba(0, 0, 0, .5);
|
|
238
|
+
--link: #7EB6FF;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* ── Sheet scope (FloatingSheet, FloatingChat, ArtifactChatContainer given a `tone`): the surface's text,
|
|
242
|
+
cards, fills and hairlines take the tone; the page's background and accent stay the host's ── */
|
|
243
|
+
[data-theme-scope="sheet"].dark {
|
|
244
|
+
color-scheme: dark;
|
|
245
|
+
--foreground: #F5F5F7;
|
|
246
|
+
--card: #1C1C1E;
|
|
247
|
+
--card-foreground: #F5F5F7;
|
|
248
|
+
--popover: #2C2C2E;
|
|
249
|
+
--popover-foreground: #F5F5F7;
|
|
250
|
+
--secondary: rgba(120, 120, 128, .24);
|
|
251
|
+
--secondary-foreground: #F5F5F7;
|
|
252
|
+
--muted-foreground: rgba(235, 235, 245, .62);
|
|
253
|
+
--accent-foreground: #F5F5F7;
|
|
254
|
+
--border: rgba(84, 84, 88, .6);
|
|
255
|
+
--input: rgba(120, 120, 128, .24);
|
|
256
|
+
--tertiary-foreground: rgba(235, 235, 245, .32);
|
|
257
|
+
--secondary-strong: rgba(120, 120, 128, .36);
|
|
258
|
+
}
|
|
259
|
+
[data-theme-scope="sheet"].light {
|
|
260
|
+
color-scheme: light;
|
|
261
|
+
--foreground: #1C1C1E;
|
|
262
|
+
--card: #FFFFFF;
|
|
263
|
+
--card-foreground: #1C1C1E;
|
|
264
|
+
--popover: #F2F2F7;
|
|
265
|
+
--popover-foreground: #1C1C1E;
|
|
266
|
+
--secondary: rgba(120, 120, 128, .14);
|
|
267
|
+
--secondary-foreground: #1C1C1E;
|
|
268
|
+
--muted-foreground: rgba(60, 60, 67, .6);
|
|
269
|
+
--accent-foreground: #1C1C1E;
|
|
270
|
+
--border: rgba(60, 60, 67, .24);
|
|
271
|
+
--input: rgba(120, 120, 128, .14);
|
|
272
|
+
--tertiary-foreground: rgba(60, 60, 67, .3);
|
|
273
|
+
--secondary-strong: rgba(120, 120, 128, .22);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* ── Glass scope: the Workbench palette as translucent glass over content — the Composer that FloatingChat and
|
|
277
|
+
ArtifactChatContainer embed. Dark unless the chat's tone is light. ── */
|
|
278
|
+
[data-theme-scope="glass"] {
|
|
279
|
+
color-scheme: dark;
|
|
280
|
+
--background: #111116;
|
|
281
|
+
--foreground: #EDEDF2;
|
|
282
|
+
--card: rgba(31, 31, 39, .86);
|
|
283
|
+
--card-foreground: #EDEDF2;
|
|
284
|
+
--popover: #26262E;
|
|
285
|
+
--popover-foreground: #EDEDF2;
|
|
286
|
+
--secondary: rgba(255, 255, 255, .08);
|
|
287
|
+
--secondary-foreground: #EDEDF2;
|
|
288
|
+
--muted: #101014;
|
|
289
|
+
--muted-foreground: rgba(235, 235, 245, .68);
|
|
290
|
+
--accent: rgba(255, 255, 255, .06);
|
|
291
|
+
--accent-foreground: #EDEDF2;
|
|
292
|
+
--destructive: #FF453A;
|
|
293
|
+
--border: rgba(255, 255, 255, .13);
|
|
294
|
+
--input: rgba(255, 255, 255, .08);
|
|
295
|
+
--success: #30D158;
|
|
296
|
+
--tertiary-foreground: rgba(235, 235, 245, .4);
|
|
297
|
+
--secondary-strong: rgba(255, 255, 255, .15);
|
|
298
|
+
--handle: rgba(255, 255, 255, .22);
|
|
299
|
+
--code: #0C0C10;
|
|
300
|
+
--code-foreground: #D8D8E2;
|
|
301
|
+
}
|
|
302
|
+
[data-theme-scope="glass"].light {
|
|
303
|
+
color-scheme: light;
|
|
304
|
+
--background: #FFFFFF;
|
|
305
|
+
--foreground: #1C1C1E;
|
|
306
|
+
--card: rgba(255, 255, 255, .86);
|
|
307
|
+
--card-foreground: #1C1C1E;
|
|
308
|
+
--popover: #F2F2F5;
|
|
309
|
+
--popover-foreground: #1C1C1E;
|
|
310
|
+
--secondary: rgba(0, 0, 0, .05);
|
|
311
|
+
--secondary-foreground: #1C1C1E;
|
|
312
|
+
--muted: #F7F7F9;
|
|
313
|
+
--muted-foreground: rgba(60, 60, 67, .68);
|
|
314
|
+
--accent: rgba(0, 0, 0, .05);
|
|
315
|
+
--accent-foreground: #1C1C1E;
|
|
316
|
+
--destructive: #FF3B30;
|
|
317
|
+
--border: rgba(0, 0, 0, .1);
|
|
318
|
+
--input: rgba(0, 0, 0, .05);
|
|
319
|
+
--success: #34C759;
|
|
320
|
+
--tertiary-foreground: rgba(60, 60, 67, .4);
|
|
321
|
+
--secondary-strong: rgba(0, 0, 0, .1);
|
|
322
|
+
--handle: rgba(0, 0, 0, .18);
|
|
323
|
+
--code: #F4F4F7;
|
|
324
|
+
--code-foreground: #24242B;
|
|
325
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brett_lamy/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"./styles.css": {
|
|
17
17
|
"@org/source": "./src/styles.css",
|
|
18
18
|
"default": "./dist/index.css"
|
|
19
|
+
},
|
|
20
|
+
"./theme.css": {
|
|
21
|
+
"@org/source": "./src/theme.css",
|
|
22
|
+
"default": "./dist/theme.css"
|
|
19
23
|
}
|
|
20
24
|
},
|
|
21
25
|
"dependencies": {
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import { Button } from 'react-aria-components';
|
|
3
|
-
export interface ChannelListProps extends Omit<ComponentProps<'nav'>, 'onChange'> {
|
|
4
|
-
/** the current channel */
|
|
5
|
-
selectedKey?: string | null;
|
|
6
|
-
onSelectionChange?: (id: string) => void;
|
|
7
|
-
}
|
|
8
|
-
/** The scrolling channel list. Owns the selection its ChannelItems read. */
|
|
9
|
-
export declare function ChannelList({ selectedKey, onSelectionChange, className, children, ...props }: ChannelListProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export interface ChannelGroupProps extends ComponentProps<'div'> {
|
|
11
|
-
label: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
/** A labelled section of channels ("Team", "Direct messages"). */
|
|
14
|
-
export declare function ChannelGroup({ label, className, children, ...props }: ChannelGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export interface ChannelItemProps extends Omit<ComponentProps<typeof Button>, 'id' | 'children'> {
|
|
16
|
-
id: string;
|
|
17
|
-
children?: ReactNode;
|
|
18
|
-
/** leading glyph; a # by default (pass a ChatAvatar for a DM) */
|
|
19
|
-
icon?: ReactNode;
|
|
20
|
-
/** new activity: bold label and a tint dot (hidden while selected) */
|
|
21
|
-
unread?: boolean;
|
|
22
|
-
/** mention count: a red pill (replaces the dot) */
|
|
23
|
-
mentions?: number;
|
|
24
|
-
/** overrides the list's selection */
|
|
25
|
-
isActive?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare function ChannelItem({ id, icon, unread, mentions, isActive, className, children, onPress, ...props }: ChannelItemProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export interface ChannelThreadItemProps extends Omit<ComponentProps<typeof Button>, 'children'> {
|
|
29
|
-
children?: ReactNode;
|
|
30
|
-
/** the thread is open (full view) */
|
|
31
|
-
isActive?: boolean;
|
|
32
|
-
}
|
|
33
|
-
/** An indented thread row under its channel, with an elbow connector. */
|
|
34
|
-
export declare function ChannelThreadItem({ isActive, className, children, onPress, ...props }: ChannelThreadItemProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
//# sourceMappingURL=channel-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channel-list.d.ts","sourceRoot":"","sources":["../../../src/components/chat/channel-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,EAAE,MAAM,EAAsB,MAAM,uBAAuB,CAAC;AAoBnE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC/E,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAa9G;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC9D,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAOvF;AAaD,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,IAAI,GAAG,UAAU,CAAC;IAC9F,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CA+B7H;AAED,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,UAAU,CAAC;IAC7F,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,yEAAyE;AACzE,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAyB7G"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj;
|
|
5
|
-
export declare const Default: Story;
|
|
6
|
-
/** `ServerHeader onClose` swaps the chevron for a close button (automatic inside a compact ChatShell). */
|
|
7
|
-
export declare const WithCloseButton: Story;
|
|
8
|
-
/** The active channel lists its threads as ChannelThreadItems (elbow connector). #dev has three. */
|
|
9
|
-
export declare const ActiveChannelThreadRows: Story;
|
|
10
|
-
export declare const CustomTitleNoFooter: Story;
|
|
11
|
-
/** Mention pills, and direct messages with avatars in place of the #. */
|
|
12
|
-
export declare const MentionsAndDirectMessages: Story;
|
|
13
|
-
//# sourceMappingURL=channel-list.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channel-list.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/channel-list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQ5D,OAAO,kBAAkB,CAAC;AAI1B,QAAA,MAAM,IAAI,EAAE,IAoBX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAOtB,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,0GAA0G;AAC1G,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,uBAAuB,EAAE,KAwBrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAKjC,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,yBAAyB,EAAE,KA4BvC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { ChatUser } from '../../lib/chat/chat-users';
|
|
3
|
-
export interface ChatAvatarProps {
|
|
4
|
-
user: ChatUser;
|
|
5
|
-
size?: number;
|
|
6
|
-
square?: boolean;
|
|
7
|
-
/** presence dot on the lower-right; ringed in `--ck-avatar-ring` (the surface it sits on: ChatShell regions set it) */
|
|
8
|
-
status?: 'online' | 'idle' | 'dnd' | 'offline';
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
export declare function ChatAvatar({ user, size, square, status, className, style }: ChatAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
//# sourceMappingURL=chat-avatar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-avatar.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAG1D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uHAAuH;IACvH,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAUD,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CAgChG"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ChatAvatar } from './chat-avatar';
|
|
3
|
-
declare const meta: Meta<typeof ChatAvatar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ChatAvatar>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Bot: Story;
|
|
8
|
-
export declare const Sizes: Story;
|
|
9
|
-
//# sourceMappingURL=chat-avatar.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,kBAAkB,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAsBjC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAEjB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import { Button, Input } from 'react-aria-components';
|
|
3
|
-
export interface ChatComposerProps extends Omit<ComponentProps<'div'>, 'onChange'> {
|
|
4
|
-
onSend: (text: string) => void;
|
|
5
|
-
/** placeholder of the default input */
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
/** focus the default input on mount */
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
/** controlled draft */
|
|
10
|
-
value?: string;
|
|
11
|
-
onValueChange?: (value: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare function ChatComposer({ onSend, placeholder, autoFocus, value: valueProp, onValueChange, className, children, ...props }: ChatComposerProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare function ChatComposerInput({ className, onKeyDown, ...props }: Omit<ComponentProps<typeof Input>, 'value' | 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export interface ChatComposerSendProps extends Omit<ComponentProps<typeof Button>, 'children'> {
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
/** Sends the draft; tinted once there is something to send. */
|
|
19
|
-
export declare function ChatComposerSend({ className, children, ...props }: ChatComposerSendProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
/** A secondary button inside the field (attach, emoji…). */
|
|
21
|
-
export declare function ChatComposerAction({ className, ...props }: ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
//# sourceMappingURL=chat-composer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-composer.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-composer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAsB,MAAM,uBAAuB,CAAC;AA2B1E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAChF,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CA6BjJ;AAED,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,2CAkB7H;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,UAAU,CAAC;IAC5F,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,+DAA+D;AAC/D,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAqBxF;AAED,4DAA4D;AAC5D,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,2CAUxF"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
interface Args {
|
|
3
|
-
placeholder: string;
|
|
4
|
-
autoFocus?: boolean;
|
|
5
|
-
tint: string;
|
|
6
|
-
}
|
|
7
|
-
declare const meta: Meta<Args>;
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<Args>;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const ThreadReply: Story;
|
|
12
|
-
/** `--ck-tint` (ChatShell's `tint`) colors the send button once there's a draft. */
|
|
13
|
-
export declare const PurpleTint: Story;
|
|
14
|
-
/** Composed: an attach action before the input. */
|
|
15
|
-
export declare const WithAction: Story;
|
|
16
|
-
//# sourceMappingURL=chat-composer.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-composer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-composer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,kBAAkB,CAAC;AAE1B,UAAU,IAAI;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CAoBpB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE5B,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,mDAAmD;AACnD,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { ChatUsers } from '../../lib/chat/chat-users';
|
|
3
|
-
export declare const USERS: ChatUsers;
|
|
4
|
-
export declare const CHANNEL_GROUPS: {
|
|
5
|
-
label: string;
|
|
6
|
-
channels: {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
unread?: boolean;
|
|
10
|
-
threads?: {
|
|
11
|
-
id: string;
|
|
12
|
-
title: string;
|
|
13
|
-
}[];
|
|
14
|
-
}[];
|
|
15
|
-
}[];
|
|
16
|
-
export declare function FixtureUserPanel(): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export interface FixtureSidebarProps {
|
|
18
|
-
selected: string;
|
|
19
|
-
onSelect?: (id: string) => void;
|
|
20
|
-
onPickThread?: (channel: string, thread: string) => void;
|
|
21
|
-
title?: ReactNode;
|
|
22
|
-
onClose?: () => void;
|
|
23
|
-
/** replaces the UserPanel; null for none */
|
|
24
|
-
footer?: ReactNode;
|
|
25
|
-
style?: CSSProperties;
|
|
26
|
-
}
|
|
27
|
-
/** The whole channel sidebar, composed from the parts. */
|
|
28
|
-
export declare function FixtureSidebar({ selected, onSelect, onPickThread, title, onClose, footer, style }: FixtureSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
//# sourceMappingURL=chat.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.fixtures.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat.fixtures.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQ3D,eAAO,MAAM,KAAK,EAAE,SAMnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,EAAE,CAAA;CAAE,EA0BpJ,CAAC;AAEF,wBAAgB,gBAAgB,4CAa/B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,0DAA0D;AAC1D,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CA0BnI"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import { ChatPresence } from './user-panel';
|
|
3
|
-
import { ChatUser } from '../../lib/chat/chat-users';
|
|
4
|
-
export declare function MemberList({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export interface MemberGroupProps extends ComponentProps<'div'> {
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
/** shown after the label: "Team — 5" */
|
|
8
|
-
count?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare function MemberGroup({ label, count, className, children, ...props }: MemberGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export interface MemberItemProps extends Omit<ComponentProps<'div'>, 'children'> {
|
|
12
|
-
user: ChatUser;
|
|
13
|
-
/** presence dot on the avatar; `offline` also dims the row */
|
|
14
|
-
status?: ChatPresence;
|
|
15
|
-
/** a tag after the name; bots default to "APP" (pass null for none) */
|
|
16
|
-
badge?: ReactNode;
|
|
17
|
-
/** replaces the name */
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export declare function MemberItem({ user, status, badge, className, style, children, ...props }: MemberItemProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
//# sourceMappingURL=member-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member-list.d.ts","sourceRoot":"","sources":["../../../src/components/chat/member-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAW1D,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAExE;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,KAAK,EAAE,SAAS,CAAC;IACjB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAU5F;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC9E,IAAI,EAAE,QAAQ,CAAC;IACf,8DAA8D;IAC9D,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,uEAAuE;IACvE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAoBxG"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
export interface MessageListProps extends ComponentProps<'div'> {
|
|
4
|
-
/** keep the list pinned to the newest message while the reader is at the bottom (default true) */
|
|
5
|
-
autoScroll?: boolean;
|
|
6
|
-
/** changing it (switching channels) snaps back to the bottom */
|
|
7
|
-
scrollKey?: string | number;
|
|
8
|
-
}
|
|
9
|
-
/** The scrolling transcript (a `log` region). Pinned to the bottom until the reader scrolls up. */
|
|
10
|
-
export declare function MessageList({ autoScroll, scrollKey, className, onScroll, ref, ...props }: MessageListProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
/** Consecutive messages from one author (the first a full Message, the rest `variant="continued"`). The rows
|
|
12
|
-
* sit on an even 2px rhythm inside the group's padding. */
|
|
13
|
-
export declare function MessageGroup({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export interface ChannelIntroProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
15
|
-
title: ReactNode;
|
|
16
|
-
/** the tile glyph; a # by default */
|
|
17
|
-
icon?: ReactNode;
|
|
18
|
-
}
|
|
19
|
-
/** "Welcome to #channel" at the top of a transcript. */
|
|
20
|
-
export declare function ChannelIntro({ title, icon, className, children, ...props }: ChannelIntroProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare const messageDividerVariants: (props?: ({
|
|
22
|
-
variant?: "date" | "subtle" | null | undefined;
|
|
23
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
24
|
-
export interface MessageDividerProps extends ComponentProps<'div'>, VariantProps<typeof messageDividerVariants> {
|
|
25
|
-
}
|
|
26
|
-
/** A labelled rule across the transcript. */
|
|
27
|
-
export declare function MessageDivider({ variant, className, children, ...props }: MessageDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
/** `MessageDivider variant="date"`. */
|
|
29
|
-
export declare function DateDivider(props: Omit<MessageDividerProps, 'variant'>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
/** Placeholder text for an empty transcript or thread. */
|
|
31
|
-
export declare function MessageListEmpty({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
/** "Stitch is typing…" with three dots taking turns. */
|
|
33
|
-
export declare function TypingIndicator({ className, children, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
//# sourceMappingURL=message-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message-list.d.ts","sourceRoot":"","sources":["../../../src/components/chat/message-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,cAAc,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAYlE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,kGAAkG;IAClG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B;AAED,mGAAmG;AACnG,wBAAgB,WAAW,CAAC,EAAE,UAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CA6BjH;AAOD;4DAC4D;AAC5D,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAE1E;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAC7E,KAAK,EAAE,SAAS,CAAC;IACjB,qCAAqC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,wDAAwD;AACxD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAU7F;AAED,eAAO,MAAM,sBAAsB;;8EAUjC,CAAC;AAEH,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAElH,6CAA6C;AAC7C,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAQ7F;AAED,uCAAuC;AACvC,wBAAgB,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,2CAEtE;AAED,0DAA0D;AAC1D,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAE9E;AAED,wDAAwD;AACxD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAuBvF"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { Button, ToggleButton } from 'react-aria-components';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ChatUser } from '../../lib/chat/chat-users';
|
|
5
|
-
export declare const messageVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "continued" | null | undefined;
|
|
7
|
-
appear?: boolean | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export interface MessageProps extends ComponentProps<'div'>, VariantProps<typeof messageVariants> {
|
|
10
|
-
/** the author, read by MessageAvatar and MessageAuthor */
|
|
11
|
-
user?: ChatUser;
|
|
12
|
-
}
|
|
13
|
-
export declare function Message({ user, variant, appear, className, style, ...props }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export interface MessageAvatarProps {
|
|
15
|
-
user?: ChatUser;
|
|
16
|
-
size?: number;
|
|
17
|
-
className?: string;
|
|
18
|
-
style?: CSSProperties;
|
|
19
|
-
}
|
|
20
|
-
/** The author's avatar (bots get a rounded square). In a continued row it keeps the gutter empty. */
|
|
21
|
-
export declare function MessageAvatar({ user: userProp, size, className, style }: MessageAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare function MessageBody({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export declare function MessageHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
/** The author's name in their role color; defaults to the row's user. */
|
|
25
|
-
export declare function MessageAuthor({ className, children, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
/** A small tag after the name ("APP", "BOT", "MOD"). */
|
|
27
|
-
export declare function MessageBadge({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export declare function MessageTimestamp({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
/** The message text. A string child is rendered as RichText (so @mentions become chips). */
|
|
30
|
-
export declare function MessageContent({ className, children, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare function MessageReactions({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export interface MessageReactionProps extends Omit<ComponentProps<typeof ToggleButton>, 'children' | 'isSelected'> {
|
|
33
|
-
emoji: ReactNode;
|
|
34
|
-
count: number;
|
|
35
|
-
/** your own reaction: tinted outline */
|
|
36
|
-
mine?: boolean;
|
|
37
|
-
}
|
|
38
|
-
/** A reaction pill; a toggle (react-aria ToggleButton) that is on when it's yours. */
|
|
39
|
-
export declare function MessageReaction({ emoji, count, mine, className, onChange, ...props }: MessageReactionProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
/** The floating action bar on the row's top-right corner: shown on hover and on keyboard focus. */
|
|
41
|
-
export declare function MessageActions({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export interface MessageActionProps extends ComponentProps<typeof Button> {
|
|
43
|
-
/** accessible name and tooltip */
|
|
44
|
-
label: string;
|
|
45
|
-
}
|
|
46
|
-
export declare function MessageAction({ label, className, onPress, ...props }: MessageActionProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/components/chat/message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3G,OAAO,EAAE,MAAM,EAAE,YAAY,EAAsB,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAwB1D,eAAO,MAAM,eAAe;;;8EAiB3B,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,eAAe,CAAC;IAC/F,0DAA0D;IAC1D,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAY1F;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,qGAAqG;AACrG,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,kBAAkB,2CAOhG;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAEzE;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAE3E;AAED,yEAAyE;AACzE,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,MAAM,CAAC,2CAOtF;AAED,wDAAwD;AACxD,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,MAAM,CAAC,2CAQ3E;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,MAAM,CAAC,2CAE/E;AAED,4FAA4F;AAC5F,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAMtF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAE9E;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IAChH,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,sFAAsF;AACtF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,2CAsB1G;AAED,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,2CAW5E;AAED,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,OAAO,MAAM,CAAC;IACvE,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAgBxF"}
|