@pstdio/ui 0.23.0 → 0.24.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.
Files changed (46) hide show
  1. package/dist/chat-ui.js +840 -834
  2. package/dist/chat-ui.js.map +1 -1
  3. package/dist/components/chat-ui/components/chat-input-actions.d.ts +2 -0
  4. package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +3 -0
  5. package/dist/components/chat-ui/components/chat-input.d.ts +2 -0
  6. package/dist/components/chat-ui/components/chat-panel.d.ts +2 -0
  7. package/dist/components/chat-ui/components/timeline-title.d.ts +6 -0
  8. package/dist/components/layout/index.d.ts +1 -0
  9. package/dist/components/layout/resizable-split-layout.d.ts +4 -3
  10. package/dist/components/layout/resizable-split-layout.handle.d.ts +6 -2
  11. package/dist/components/layout/resizable-split-layout.panels.d.ts +6 -2
  12. package/dist/components/layout/resizable-split-layout.root-size.d.ts +3 -0
  13. package/dist/components/primitives/index.d.ts +2 -0
  14. package/dist/data-table.js +1 -1
  15. package/dist/{diff-editor-BnfV8cYB.js → diff-bubble-DvUPRnfB.js} +49 -48
  16. package/dist/diff-bubble-DvUPRnfB.js.map +1 -0
  17. package/dist/diff.js +111 -111
  18. package/dist/diff.js.map +1 -1
  19. package/dist/index.js +44 -43
  20. package/dist/index.js.map +1 -1
  21. package/dist/kanban-renderer.js +4 -4
  22. package/dist/kanban-renderer.js.map +1 -1
  23. package/dist/{param-editor-DgzVeyJ0.js → param-editor-DhoxgwGd.js} +2 -2
  24. package/dist/{param-editor-DgzVeyJ0.js.map → param-editor-DhoxgwGd.js.map} +1 -1
  25. package/dist/{param-editor-field-BMvuSAP5.js → param-editor-field-DurcyLuw.js} +43 -42
  26. package/dist/param-editor-field-DurcyLuw.js.map +1 -0
  27. package/dist/theme/primitives/colors.d.ts +34 -0
  28. package/dist/theme/primitives/sizes.d.ts +9 -0
  29. package/dist/theme/recipes/landing-story.d.ts +10 -0
  30. package/dist/theme/recipes/landing-tool-demo.d.ts +1 -0
  31. package/dist/theme/recipes/landing.d.ts +23 -0
  32. package/dist/theme/recipes/resizable-split-layout.d.ts +106 -0
  33. package/dist/theme/tokens/colors-background.d.ts +260 -0
  34. package/dist/theme/tokens/colors-visualization.d.ts +162 -0
  35. package/dist/theme/tokens/colors.d.ts +2 -422
  36. package/dist/{theme-C0empEin.js → theme-Ca-KyNoi.js} +1409 -568
  37. package/dist/theme-Ca-KyNoi.js.map +1 -0
  38. package/dist/theme.js +1 -1
  39. package/dist/tree-list-DXwHWodb.js +1348 -0
  40. package/dist/tree-list-DXwHWodb.js.map +1 -0
  41. package/package.json +2 -2
  42. package/dist/diff-editor-BnfV8cYB.js.map +0 -1
  43. package/dist/param-editor-field-BMvuSAP5.js.map +0 -1
  44. package/dist/theme-C0empEin.js.map +0 -1
  45. package/dist/tree-list-BHFSyvIZ.js +0 -1262
  46. package/dist/tree-list-BHFSyvIZ.js.map +0 -1
@@ -533,6 +533,40 @@ export declare const mint: {
533
533
  };
534
534
  };
535
535
  export declare const colors: {
536
+ windowControl: {
537
+ close: {
538
+ value: string;
539
+ };
540
+ minimize: {
541
+ value: string;
542
+ };
543
+ zoom: {
544
+ value: string;
545
+ };
546
+ };
547
+ illustration: {
548
+ desktop: {
549
+ value: string;
550
+ };
551
+ page: {
552
+ value: string;
553
+ };
554
+ command: {
555
+ value: string;
556
+ };
557
+ editor: {
558
+ value: string;
559
+ };
560
+ skill: {
561
+ value: string;
562
+ };
563
+ hook: {
564
+ value: string;
565
+ };
566
+ automation: {
567
+ value: string;
568
+ };
569
+ };
536
570
  sand: {
537
571
  DEFAULT: {
538
572
  value: string;
@@ -75,8 +75,14 @@ export declare const spacing: {
75
75
  "5xl": {
76
76
  value: string;
77
77
  };
78
+ "panel-gap": {
79
+ value: string;
80
+ };
78
81
  };
79
82
  export declare const sizes: {
83
+ "panel-gap": {
84
+ value: string;
85
+ };
80
86
  "window-title-bar": {
81
87
  value: string;
82
88
  };
@@ -89,6 +95,9 @@ export declare const sizes: {
89
95
  "window-tab-max": {
90
96
  value: string;
91
97
  };
98
+ "mobile-titlebar": {
99
+ value: string;
100
+ };
92
101
  "collection-row": {
93
102
  value: string;
94
103
  };
@@ -0,0 +1,10 @@
1
+ export declare const landingStorySlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"page" | "section" | "block" | "panel" | "featureSection" | "intro" | "visual" | "panels" | "panelHeader" | "panelBody" | "blockGrid" | "blockSymbol" | "blockMark" | "composition", {
2
+ spacing: {
3
+ normal: {};
4
+ spacious: {
5
+ page: {
6
+ gap: "5xl";
7
+ };
8
+ };
9
+ };
10
+ }>;
@@ -0,0 +1 @@
1
+ export declare const landingToolDemoSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"toolbar" | "preview" | "iconEditor" | "iconPicker" | "iconGrid" | "iconTile" | "iconName" | "tileSymbol" | "iconCanvas" | "inspectorSymbol" | "inspector" | "metrics" | "metric" | "sessions" | "session" | "sessionStatus" | "checks" | "prompt" | "plot" | "plotGrid" | "plotCurve" | "plotComparison" | "plotCursor" | "plotPoint" | "shaderCode" | "shaderCanvas" | "extensionPanels", import('@chakra-ui/react').SlotRecipeVariantRecord<"toolbar" | "preview" | "iconEditor" | "iconPicker" | "iconGrid" | "iconTile" | "iconName" | "tileSymbol" | "iconCanvas" | "inspectorSymbol" | "inspector" | "metrics" | "metric" | "sessions" | "session" | "sessionStatus" | "checks" | "prompt" | "plot" | "plotGrid" | "plotCurve" | "plotComparison" | "plotCursor" | "plotPoint" | "shaderCode" | "shaderCanvas" | "extensionPanels">>;
@@ -0,0 +1,23 @@
1
+ export declare const landingSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "main" | "status" | "root" | "windowControl" | "download" | "window" | "titlebar" | "windowControls" | "mobileTitlebar" | "mobileNav" | "sidebar" | "hero" | "heroCopy" | "heroNavigation" | "tools" | "brandTab" | "panelsScroll" | "panelScroll", {
2
+ windowed: {
3
+ true: {
4
+ root: {
5
+ bg: "illustration.desktop";
6
+ };
7
+ window: {
8
+ height: "calc(100dvh - 12rem)";
9
+ width: "calc(100% - 15rem)";
10
+ mx: "7.5rem";
11
+ my: "6rem";
12
+ borderRadius: "lg";
13
+ boxShadow: "2xl";
14
+ };
15
+ titlebar: {
16
+ cursor: "grab";
17
+ _active: {
18
+ cursor: "grabbing";
19
+ };
20
+ };
21
+ };
22
+ };
23
+ }>;
@@ -0,0 +1,106 @@
1
+ export declare const resizableSplitLayoutSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "separator" | "resizablePanel" | "contentPanel", {
2
+ orientation: {
3
+ horizontal: {
4
+ root: {
5
+ "--split-direction": "row";
6
+ "--split-width": "var(--split-size)";
7
+ "--split-height": "100%";
8
+ };
9
+ };
10
+ vertical: {
11
+ root: {
12
+ "--split-direction": "column";
13
+ "--split-width": "100%";
14
+ "--split-height": "var(--split-size)";
15
+ };
16
+ };
17
+ };
18
+ layout: {
19
+ split: {
20
+ root: {
21
+ flexDirection: "var(--split-direction)";
22
+ height: "full";
23
+ overflow: "hidden";
24
+ gap: "0";
25
+ };
26
+ resizablePanel: {
27
+ display: "flex";
28
+ width: "var(--split-width)";
29
+ height: "var(--split-height)";
30
+ flex: "0 0 var(--split-size)";
31
+ overflow: "hidden";
32
+ };
33
+ contentPanel: {
34
+ height: "full";
35
+ flex: "1";
36
+ overflow: "hidden";
37
+ };
38
+ separator: {
39
+ display: "flex";
40
+ };
41
+ };
42
+ stacked: {
43
+ readonly root: {
44
+ readonly flexDirection: "column";
45
+ readonly height: "auto";
46
+ readonly overflow: "visible";
47
+ readonly gap: "panel-gap";
48
+ };
49
+ readonly resizablePanel: {
50
+ readonly display: "flex";
51
+ readonly width: "full";
52
+ readonly height: "auto";
53
+ readonly flex: "initial";
54
+ readonly overflow: "visible";
55
+ };
56
+ readonly contentPanel: {
57
+ readonly height: "auto";
58
+ readonly flex: "initial";
59
+ readonly overflow: "visible";
60
+ };
61
+ readonly separator: {
62
+ readonly display: "none";
63
+ };
64
+ };
65
+ "stacked-reverse": {
66
+ root: {
67
+ flexDirection: "column-reverse";
68
+ height: "auto";
69
+ overflow: "visible";
70
+ gap: "panel-gap";
71
+ };
72
+ resizablePanel: {
73
+ readonly display: "flex";
74
+ readonly width: "full";
75
+ readonly height: "auto";
76
+ readonly flex: "initial";
77
+ readonly overflow: "visible";
78
+ };
79
+ contentPanel: {
80
+ readonly height: "auto";
81
+ readonly flex: "initial";
82
+ readonly overflow: "visible";
83
+ };
84
+ separator: {
85
+ readonly display: "none";
86
+ };
87
+ };
88
+ content: {
89
+ root: {
90
+ height: "full";
91
+ overflow: "hidden";
92
+ };
93
+ resizablePanel: {
94
+ display: "none";
95
+ };
96
+ contentPanel: {
97
+ height: "full";
98
+ flex: "1";
99
+ overflow: "hidden";
100
+ };
101
+ separator: {
102
+ display: "none";
103
+ };
104
+ };
105
+ };
106
+ }>;
@@ -0,0 +1,260 @@
1
+ export declare const bg: {
2
+ DEFAULT: {
3
+ value: {
4
+ _light: string;
5
+ _dark: string;
6
+ };
7
+ };
8
+ muted: {
9
+ value: {
10
+ _light: string;
11
+ _dark: string;
12
+ };
13
+ };
14
+ subtle: {
15
+ value: {
16
+ _light: string;
17
+ _dark: string;
18
+ };
19
+ };
20
+ hover: {
21
+ value: {
22
+ _light: string;
23
+ _dark: string;
24
+ };
25
+ };
26
+ active: {
27
+ value: {
28
+ _light: string;
29
+ _dark: string;
30
+ };
31
+ };
32
+ info: {
33
+ value: {
34
+ _light: string;
35
+ _dark: string;
36
+ };
37
+ };
38
+ warning: {
39
+ value: {
40
+ _light: string;
41
+ _dark: string;
42
+ };
43
+ };
44
+ success: {
45
+ value: {
46
+ _light: string;
47
+ _dark: string;
48
+ };
49
+ };
50
+ error: {
51
+ value: {
52
+ _light: string;
53
+ _dark: string;
54
+ };
55
+ };
56
+ code: {
57
+ value: {
58
+ _light: string;
59
+ _dark: string;
60
+ };
61
+ };
62
+ emphasized: {
63
+ value: {
64
+ _light: string;
65
+ _dark: string;
66
+ };
67
+ };
68
+ elevated: {
69
+ value: {
70
+ _light: string;
71
+ _dark: string;
72
+ };
73
+ };
74
+ inverted: {
75
+ value: {
76
+ _light: string;
77
+ _dark: string;
78
+ };
79
+ };
80
+ panel: {
81
+ value: {
82
+ _light: string;
83
+ _dark: string;
84
+ };
85
+ };
86
+ dark: {
87
+ value: {
88
+ _light: string;
89
+ _dark: string;
90
+ };
91
+ };
92
+ white: {
93
+ value: {
94
+ _light: string;
95
+ _dark: string;
96
+ };
97
+ };
98
+ button: {
99
+ primary: {
100
+ default: {
101
+ value: string;
102
+ };
103
+ hover: {
104
+ value: string;
105
+ };
106
+ pressed: {
107
+ value: string;
108
+ };
109
+ disabled: {
110
+ value: string;
111
+ };
112
+ };
113
+ };
114
+ "menu-item": {
115
+ default: {
116
+ value: string;
117
+ };
118
+ hover: {
119
+ value: string;
120
+ };
121
+ focus: {
122
+ value: string;
123
+ };
124
+ selected: {
125
+ value: string;
126
+ };
127
+ };
128
+ display: {
129
+ "very-light": {
130
+ value: {
131
+ _light: string;
132
+ _dark: string;
133
+ };
134
+ };
135
+ };
136
+ "accent-primary": {
137
+ default: {
138
+ value: {
139
+ _light: string;
140
+ _dark: string;
141
+ };
142
+ };
143
+ hover: {
144
+ value: {
145
+ _light: string;
146
+ _dark: string;
147
+ };
148
+ };
149
+ pressed: {
150
+ value: {
151
+ _light: string;
152
+ _dark: string;
153
+ };
154
+ };
155
+ "very-light": {
156
+ value: {
157
+ _light: string;
158
+ _dark: string;
159
+ };
160
+ };
161
+ light: {
162
+ value: {
163
+ _light: string;
164
+ _dark: string;
165
+ };
166
+ };
167
+ medium: {
168
+ value: {
169
+ _light: string;
170
+ _dark: string;
171
+ };
172
+ };
173
+ dark: {
174
+ value: {
175
+ _light: string;
176
+ _dark: string;
177
+ };
178
+ };
179
+ };
180
+ "accent-secondary": {
181
+ "grey-dark": {
182
+ value: {
183
+ _light: string;
184
+ _dark: string;
185
+ };
186
+ };
187
+ "grey-light": {
188
+ value: {
189
+ _light: string;
190
+ _dark: string;
191
+ };
192
+ };
193
+ "red-very-light": {
194
+ value: {
195
+ _light: string;
196
+ _dark: string;
197
+ };
198
+ };
199
+ "red-light": {
200
+ value: {
201
+ _light: string;
202
+ _dark: string;
203
+ };
204
+ };
205
+ "pink-light": {
206
+ value: {
207
+ _light: string;
208
+ _dark: string;
209
+ };
210
+ };
211
+ "pink-medium": {
212
+ value: {
213
+ _light: string;
214
+ _dark: string;
215
+ };
216
+ };
217
+ "blue-very-light": {
218
+ value: {
219
+ _light: string;
220
+ _dark: string;
221
+ };
222
+ };
223
+ "blue-light": {
224
+ value: {
225
+ _light: string;
226
+ _dark: string;
227
+ };
228
+ };
229
+ "blue-medium": {
230
+ value: {
231
+ _light: string;
232
+ _dark: string;
233
+ };
234
+ };
235
+ "blue-dark": {
236
+ value: {
237
+ _light: string;
238
+ _dark: string;
239
+ };
240
+ };
241
+ "cyan-light": {
242
+ value: {
243
+ _light: string;
244
+ _dark: string;
245
+ };
246
+ };
247
+ "green-light": {
248
+ value: {
249
+ _light: string;
250
+ _dark: string;
251
+ };
252
+ };
253
+ "sand-light": {
254
+ value: {
255
+ _light: string;
256
+ _dark: string;
257
+ };
258
+ };
259
+ };
260
+ };
@@ -0,0 +1,162 @@
1
+ export declare const vis: {
2
+ text: {
3
+ primary: {
4
+ value: {
5
+ _light: string;
6
+ _dark: string;
7
+ };
8
+ };
9
+ secondary: {
10
+ value: {
11
+ _light: string;
12
+ _dark: string;
13
+ };
14
+ };
15
+ };
16
+ grid: {
17
+ value: {
18
+ _light: string;
19
+ _dark: string;
20
+ };
21
+ };
22
+ axis: {
23
+ value: {
24
+ _light: string;
25
+ _dark: string;
26
+ };
27
+ };
28
+ categorical: {
29
+ 1: {
30
+ value: {
31
+ _light: string;
32
+ _dark: string;
33
+ };
34
+ };
35
+ 2: {
36
+ value: {
37
+ _light: string;
38
+ _dark: string;
39
+ };
40
+ };
41
+ 3: {
42
+ value: {
43
+ _light: string;
44
+ _dark: string;
45
+ };
46
+ };
47
+ 4: {
48
+ value: {
49
+ _light: string;
50
+ _dark: string;
51
+ };
52
+ };
53
+ 5: {
54
+ value: {
55
+ _light: string;
56
+ _dark: string;
57
+ };
58
+ };
59
+ 6: {
60
+ value: {
61
+ _light: string;
62
+ _dark: string;
63
+ };
64
+ };
65
+ 7: {
66
+ value: {
67
+ _light: string;
68
+ _dark: string;
69
+ };
70
+ };
71
+ };
72
+ sequential: {
73
+ blue: {
74
+ "low-3": {
75
+ value: {
76
+ _light: string;
77
+ _dark: string;
78
+ };
79
+ };
80
+ "low-2": {
81
+ value: {
82
+ _light: string;
83
+ _dark: string;
84
+ };
85
+ };
86
+ "low-1": {
87
+ value: {
88
+ _light: string;
89
+ _dark: string;
90
+ };
91
+ };
92
+ default: {
93
+ value: {
94
+ _light: string;
95
+ _dark: string;
96
+ };
97
+ };
98
+ "high-1": {
99
+ value: {
100
+ _light: string;
101
+ _dark: string;
102
+ };
103
+ };
104
+ "high-2": {
105
+ value: {
106
+ _light: string;
107
+ _dark: string;
108
+ };
109
+ };
110
+ "high-3": {
111
+ value: {
112
+ _light: string;
113
+ _dark: string;
114
+ };
115
+ };
116
+ };
117
+ red: {
118
+ "low-3": {
119
+ value: {
120
+ _light: string;
121
+ _dark: string;
122
+ };
123
+ };
124
+ "low-2": {
125
+ value: {
126
+ _light: string;
127
+ _dark: string;
128
+ };
129
+ };
130
+ "low-1": {
131
+ value: {
132
+ _light: string;
133
+ _dark: string;
134
+ };
135
+ };
136
+ default: {
137
+ value: {
138
+ _light: string;
139
+ _dark: string;
140
+ };
141
+ };
142
+ "high-1": {
143
+ value: {
144
+ _light: string;
145
+ _dark: string;
146
+ };
147
+ };
148
+ "high-2": {
149
+ value: {
150
+ _light: string;
151
+ _dark: string;
152
+ };
153
+ };
154
+ "high-3": {
155
+ value: {
156
+ _light: string;
157
+ _dark: string;
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };