@arbidocs/blocks 0.4.7 → 0.4.9
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/AssistantToaster.d.ts +8 -0
- package/dist/chat/index.cjs +123 -117
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/index.js +4 -2
- package/dist/{chunk-MGUHR3JI.cjs → chunk-22T6KHGB.cjs} +10 -2
- package/dist/chunk-22T6KHGB.cjs.map +1 -0
- package/dist/chunk-5LUI4G5R.js +34 -0
- package/dist/chunk-5LUI4G5R.js.map +1 -0
- package/dist/{chunk-LRUCMZK6.cjs → chunk-D6XY3C4O.cjs} +4 -15
- package/dist/chunk-D6XY3C4O.cjs.map +1 -0
- package/dist/chunk-FX3K6LNZ.cjs +47 -0
- package/dist/chunk-FX3K6LNZ.cjs.map +1 -0
- package/dist/{chunk-QXEJXIP4.js → chunk-H7OD4CHN.js} +5 -16
- package/dist/chunk-H7OD4CHN.js.map +1 -0
- package/dist/{chunk-7OCFHEE6.js → chunk-IMA6I73C.js} +10 -3
- package/dist/chunk-IMA6I73C.js.map +1 -0
- package/dist/{chunk-QMDLPO3M.cjs → chunk-LXC5PTTI.cjs} +2 -2
- package/dist/{chunk-QMDLPO3M.cjs.map → chunk-LXC5PTTI.cjs.map} +1 -1
- package/dist/{chunk-G2E3O3HI.js → chunk-OJSWQM4G.js} +158 -5
- package/dist/chunk-OJSWQM4G.js.map +1 -0
- package/dist/{chunk-5SLLMK5K.cjs → chunk-PRVKJ5XL.cjs} +3 -3
- package/dist/chunk-PRVKJ5XL.cjs.map +1 -0
- package/dist/{chunk-JG4TFS3Z.cjs → chunk-RGHQFJOL.cjs} +160 -2
- package/dist/chunk-RGHQFJOL.cjs.map +1 -0
- package/dist/{chunk-UHVNYKV2.js → chunk-S74WZNK7.js} +3 -3
- package/dist/{chunk-UHVNYKV2.js.map → chunk-S74WZNK7.js.map} +1 -1
- package/dist/chunk-SLSBJRWW.js +41 -0
- package/dist/chunk-SLSBJRWW.js.map +1 -0
- package/dist/chunk-TO4FAMQP.cjs +37 -0
- package/dist/chunk-TO4FAMQP.cjs.map +1 -0
- package/dist/{chunk-G2T3KTZ3.js → chunk-UVIOQUJA.js} +4 -4
- package/dist/chunk-UVIOQUJA.js.map +1 -0
- package/dist/{chunk-EY2RJW27.js → chunk-ZJ6RIPFS.js} +2 -2
- package/dist/{chunk-EY2RJW27.js.map → chunk-ZJ6RIPFS.js.map} +1 -1
- package/dist/{chunk-23XL6SVZ.cjs → chunk-ZPOLKYR2.cjs} +4 -4
- package/dist/{chunk-23XL6SVZ.cjs.map → chunk-ZPOLKYR2.cjs.map} +1 -1
- package/dist/collaboration/contacts/ContactCard.d.ts +43 -0
- package/dist/collaboration/contacts/index.d.ts +2 -0
- package/dist/collaboration/contacts/vcard.d.ts +26 -0
- package/dist/collaboration/index.cjs +56 -36
- package/dist/collaboration/index.js +1 -1
- package/dist/connect/index.cjs +20 -20
- package/dist/connect/index.js +3 -3
- package/dist/facts/index.cjs +4 -3
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +2 -1
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +7 -6
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +3 -2
- package/dist/files/index.js.map +1 -1
- package/dist/index.cjs +249 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/use-media-query.d.ts +32 -0
- package/dist/shell/Toaster.d.ts +28 -0
- package/dist/shell/index.cjs +72 -42
- package/dist/shell/index.d.ts +2 -0
- package/dist/shell/index.js +3 -1
- package/dist/studio/index.cjs +4 -4
- package/dist/studio/index.js +2 -2
- package/dist/workspaces/index.cjs +10 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +11 -4
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-5SLLMK5K.cjs.map +0 -1
- package/dist/chunk-7OCFHEE6.js.map +0 -1
- package/dist/chunk-G2E3O3HI.js.map +0 -1
- package/dist/chunk-G2T3KTZ3.js.map +0 -1
- package/dist/chunk-JG4TFS3Z.cjs.map +0 -1
- package/dist/chunk-LRUCMZK6.cjs.map +0 -1
- package/dist/chunk-MGUHR3JI.cjs.map +0 -1
- package/dist/chunk-QXEJXIP4.js.map +0 -1
package/dist/shell/index.cjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkLXC5PTTI_cjs = require('../chunk-LXC5PTTI.cjs');
|
|
5
5
|
var chunk5B4PXAKI_cjs = require('../chunk-5B4PXAKI.cjs');
|
|
6
6
|
require('../chunk-OB5F4577.cjs');
|
|
7
|
+
var chunkTO4FAMQP_cjs = require('../chunk-TO4FAMQP.cjs');
|
|
8
|
+
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
7
9
|
require('../chunk-C54XEN5T.cjs');
|
|
8
10
|
var chunkVGOFFCMT_cjs = require('../chunk-VGOFFCMT.cjs');
|
|
9
11
|
require('../chunk-PPCATBOY.cjs');
|
|
@@ -13,167 +15,167 @@ require('../chunk-MHVNT4J3.cjs');
|
|
|
13
15
|
|
|
14
16
|
Object.defineProperty(exports, "ActionCluster", {
|
|
15
17
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkLXC5PTTI_cjs.ActionCluster; }
|
|
17
19
|
});
|
|
18
20
|
Object.defineProperty(exports, "AskField", {
|
|
19
21
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkLXC5PTTI_cjs.AskField; }
|
|
21
23
|
});
|
|
22
24
|
Object.defineProperty(exports, "AskRow", {
|
|
23
25
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkLXC5PTTI_cjs.AskRow; }
|
|
25
27
|
});
|
|
26
28
|
Object.defineProperty(exports, "AskTrigger", {
|
|
27
29
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkLXC5PTTI_cjs.AskTrigger; }
|
|
29
31
|
});
|
|
30
32
|
Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
|
|
31
33
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_ASK_FIELD_LABELS; }
|
|
33
35
|
});
|
|
34
36
|
Object.defineProperty(exports, "DEFAULT_INSTALL_PROMPT_LABELS", {
|
|
35
37
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
|
|
37
39
|
});
|
|
38
40
|
Object.defineProperty(exports, "DEFAULT_MOBILE_BARS_LABELS", {
|
|
39
41
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_MOBILE_BARS_LABELS; }
|
|
41
43
|
});
|
|
42
44
|
Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
|
|
43
45
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
|
|
45
47
|
});
|
|
46
48
|
Object.defineProperty(exports, "DEFAULT_REMOTE_CONTROL_PILL_LABELS", {
|
|
47
49
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
|
|
49
51
|
});
|
|
50
52
|
Object.defineProperty(exports, "DEFAULT_SIDEBAR_LABELS", {
|
|
51
53
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_SIDEBAR_LABELS; }
|
|
53
55
|
});
|
|
54
56
|
Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
|
|
55
57
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_TIP_CARD_LABELS; }
|
|
57
59
|
});
|
|
58
60
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_KIND_LABELS", {
|
|
59
61
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
|
|
61
63
|
});
|
|
62
64
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_SWITCHER_LABELS", {
|
|
63
65
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkLXC5PTTI_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
|
|
65
67
|
});
|
|
66
68
|
Object.defineProperty(exports, "INSTALL_PROMPT_DISMISSED_KEY", {
|
|
67
69
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkLXC5PTTI_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
|
|
69
71
|
});
|
|
70
72
|
Object.defineProperty(exports, "InfoBar", {
|
|
71
73
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkLXC5PTTI_cjs.InfoBar; }
|
|
73
75
|
});
|
|
74
76
|
Object.defineProperty(exports, "InstallPrompt", {
|
|
75
77
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkLXC5PTTI_cjs.InstallPrompt; }
|
|
77
79
|
});
|
|
78
80
|
Object.defineProperty(exports, "MobileAppBar", {
|
|
79
81
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkLXC5PTTI_cjs.MobileAppBar; }
|
|
81
83
|
});
|
|
82
84
|
Object.defineProperty(exports, "MobileTabBar", {
|
|
83
85
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkLXC5PTTI_cjs.MobileTabBar; }
|
|
85
87
|
});
|
|
86
88
|
Object.defineProperty(exports, "NotificationBell", {
|
|
87
89
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkLXC5PTTI_cjs.NotificationBell; }
|
|
89
91
|
});
|
|
90
92
|
Object.defineProperty(exports, "OfflinePill", {
|
|
91
93
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkLXC5PTTI_cjs.OfflinePill; }
|
|
93
95
|
});
|
|
94
96
|
Object.defineProperty(exports, "RemoteControlPill", {
|
|
95
97
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkLXC5PTTI_cjs.RemoteControlPill; }
|
|
97
99
|
});
|
|
98
100
|
Object.defineProperty(exports, "Sidebar", {
|
|
99
101
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkLXC5PTTI_cjs.Sidebar; }
|
|
101
103
|
});
|
|
102
104
|
Object.defineProperty(exports, "SidebarBadgeRow", {
|
|
103
105
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkLXC5PTTI_cjs.SidebarBadgeRow; }
|
|
105
107
|
});
|
|
106
108
|
Object.defineProperty(exports, "SidebarRowAction", {
|
|
107
109
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkLXC5PTTI_cjs.SidebarRowAction; }
|
|
109
111
|
});
|
|
110
112
|
Object.defineProperty(exports, "SidebarRowHoverContext", {
|
|
111
113
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkLXC5PTTI_cjs.SidebarRowHoverContext; }
|
|
113
115
|
});
|
|
114
116
|
Object.defineProperty(exports, "SplitLayout", {
|
|
115
117
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkLXC5PTTI_cjs.SplitLayout; }
|
|
117
119
|
});
|
|
118
120
|
Object.defineProperty(exports, "StatusRow", {
|
|
119
121
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkLXC5PTTI_cjs.StatusRow; }
|
|
121
123
|
});
|
|
122
124
|
Object.defineProperty(exports, "TipCard", {
|
|
123
125
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkLXC5PTTI_cjs.TipCard; }
|
|
125
127
|
});
|
|
126
128
|
Object.defineProperty(exports, "UserMenu", {
|
|
127
129
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkLXC5PTTI_cjs.UserMenu; }
|
|
129
131
|
});
|
|
130
132
|
Object.defineProperty(exports, "WorkspaceIdentity", {
|
|
131
133
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkLXC5PTTI_cjs.WorkspaceIdentity; }
|
|
133
135
|
});
|
|
134
136
|
Object.defineProperty(exports, "WorkspaceSwitcher", {
|
|
135
137
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkLXC5PTTI_cjs.WorkspaceSwitcher; }
|
|
137
139
|
});
|
|
138
140
|
Object.defineProperty(exports, "getInstallInstructions", {
|
|
139
141
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkLXC5PTTI_cjs.getInstallInstructions; }
|
|
141
143
|
});
|
|
142
144
|
Object.defineProperty(exports, "initInstallPrompt", {
|
|
143
145
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkLXC5PTTI_cjs.initInstallPrompt; }
|
|
145
147
|
});
|
|
146
148
|
Object.defineProperty(exports, "isIosDevice", {
|
|
147
149
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkLXC5PTTI_cjs.isIosDevice; }
|
|
149
151
|
});
|
|
150
152
|
Object.defineProperty(exports, "promptAppInstall", {
|
|
151
153
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkLXC5PTTI_cjs.promptAppInstall; }
|
|
153
155
|
});
|
|
154
156
|
Object.defineProperty(exports, "resolveSidebarLayout", {
|
|
155
157
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkLXC5PTTI_cjs.resolveSidebarLayout; }
|
|
157
159
|
});
|
|
158
160
|
Object.defineProperty(exports, "useInstallPrompt", {
|
|
159
161
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkLXC5PTTI_cjs.useInstallPrompt; }
|
|
161
163
|
});
|
|
162
164
|
Object.defineProperty(exports, "useSidebarContext", {
|
|
163
165
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkLXC5PTTI_cjs.useSidebarContext; }
|
|
165
167
|
});
|
|
166
168
|
Object.defineProperty(exports, "useSidebarSettle", {
|
|
167
169
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkLXC5PTTI_cjs.useSidebarSettle; }
|
|
169
171
|
});
|
|
170
172
|
Object.defineProperty(exports, "workspaceKindColor", {
|
|
171
173
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkLXC5PTTI_cjs.workspaceKindColor; }
|
|
173
175
|
});
|
|
174
176
|
Object.defineProperty(exports, "workspaceKindMeta", {
|
|
175
177
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkLXC5PTTI_cjs.workspaceKindMeta; }
|
|
177
179
|
});
|
|
178
180
|
Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
|
|
179
181
|
enumerable: true,
|
|
@@ -183,6 +185,34 @@ Object.defineProperty(exports, "TabHeader", {
|
|
|
183
185
|
enumerable: true,
|
|
184
186
|
get: function () { return chunk5B4PXAKI_cjs.TabHeader; }
|
|
185
187
|
});
|
|
188
|
+
Object.defineProperty(exports, "DEFAULT_DOCK_WIDTH", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkTO4FAMQP_cjs.DEFAULT_DOCK_WIDTH; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "Toaster", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkTO4FAMQP_cjs.Toaster; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "BREAKPOINT_QUERIES", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkFX3K6LNZ_cjs.BREAKPOINT_QUERIES; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "useIsNarrow", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkFX3K6LNZ_cjs.useIsNarrow; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "useIsPhone", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkFX3K6LNZ_cjs.useIsPhone; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "useIsTouchScreen", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkFX3K6LNZ_cjs.useIsTouchScreen; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "useMediaQuery", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkFX3K6LNZ_cjs.useMediaQuery; }
|
|
215
|
+
});
|
|
186
216
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_ZONE_ID", {
|
|
187
217
|
enumerable: true,
|
|
188
218
|
get: function () { return chunkVGOFFCMT_cjs.DEFAULT_OVERLAY_ZONE_ID; }
|
package/dist/shell/index.d.ts
CHANGED
|
@@ -18,8 +18,10 @@ export { TipCard, DEFAULT_TIP_CARD_LABELS, type TipCardLabels, type TipCardProps
|
|
|
18
18
|
export { TabHeader, DEFAULT_TAB_HEADER_LABELS, type Tab, type TabHeaderLabels, type TabHeaderProps, } from './TabHeader';
|
|
19
19
|
export type { NavItem, ShellActionLayout, ShellRecentWorkspace, ShellWorkspace, ShellWorkspaceKind, } from './types';
|
|
20
20
|
export { useDrawerBehavior } from '../lib/use-drawer';
|
|
21
|
+
export { BREAKPOINT_QUERIES, useMediaQuery, useIsPhone, useIsNarrow, useIsTouchScreen, } from '../lib/use-media-query';
|
|
21
22
|
export { resolveSidebarLayout, useSidebarSettle, type SidebarLayout, type SidebarMode, type SidebarModeInput, } from '../lib/sidebar-mode';
|
|
22
23
|
export { InfoBar, type InfoBarProps, type InfoBarVariant } from './InfoBar';
|
|
23
24
|
export { UserMenu, type UserMenuProps, type UserMenuItem, type UserMenuStatus, } from '@arbidocs/react/ui';
|
|
24
25
|
export { NotificationBell, type NotificationBellProps } from '@arbidocs/react/shell';
|
|
25
26
|
export { SplitLayout, type SplitLayoutProps } from './SplitLayout';
|
|
27
|
+
export { Toaster, DEFAULT_DOCK_WIDTH, type ShellToasterProps } from './Toaster';
|
package/dist/shell/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from '../chunk-
|
|
2
|
+
export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from '../chunk-ZJ6RIPFS.js';
|
|
3
3
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-UBNVIIBT.js';
|
|
4
4
|
import '../chunk-S7PSMMRG.js';
|
|
5
|
+
export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-5LUI4G5R.js';
|
|
6
|
+
export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
|
|
5
7
|
import '../chunk-76JDDMSP.js';
|
|
6
8
|
export { DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from '../chunk-KZJAG7T3.js';
|
|
7
9
|
import '../chunk-NPLYHR2E.js';
|
package/dist/studio/index.cjs
CHANGED
|
@@ -9,8 +9,8 @@ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
|
9
9
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
10
10
|
require('../chunk-OB5F4577.cjs');
|
|
11
11
|
var chunkC54XEN5T_cjs = require('../chunk-C54XEN5T.cjs');
|
|
12
|
-
var
|
|
13
|
-
require('../chunk-
|
|
12
|
+
var chunkZPOLKYR2_cjs = require('../chunk-ZPOLKYR2.cjs');
|
|
13
|
+
require('../chunk-PRVKJ5XL.cjs');
|
|
14
14
|
require('../chunk-VGOFFCMT.cjs');
|
|
15
15
|
require('../chunk-PPCATBOY.cjs');
|
|
16
16
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
@@ -54,7 +54,7 @@ function WidgetPlaceholder({
|
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
56
|
function useActiveWorkspaceId() {
|
|
57
|
-
const { workspaceId, fallbackWorkspaceId } =
|
|
57
|
+
const { workspaceId, fallbackWorkspaceId } = chunkZPOLKYR2_cjs.useConnection();
|
|
58
58
|
return workspaceId ?? fallbackWorkspaceId ?? void 0;
|
|
59
59
|
}
|
|
60
60
|
function timeAgo(iso) {
|
|
@@ -879,7 +879,7 @@ function latestImageDocId(artifacts) {
|
|
|
879
879
|
return null;
|
|
880
880
|
}
|
|
881
881
|
function useImageGen() {
|
|
882
|
-
const task =
|
|
882
|
+
const task = chunkZPOLKYR2_cjs.useConnectedAiTask();
|
|
883
883
|
const { run } = task;
|
|
884
884
|
const generate = react.useCallback(
|
|
885
885
|
async (prompt, referenceDocIds = []) => {
|
package/dist/studio/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import { Callout } from '../chunk-UJE32SST.js';
|
|
|
8
8
|
import { EmptyState } from '../chunk-P6GHJSLR.js';
|
|
9
9
|
import '../chunk-S7PSMMRG.js';
|
|
10
10
|
import { useBlocksEnvironment } from '../chunk-76JDDMSP.js';
|
|
11
|
-
import { useConnectedAiTask, useConnection } from '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import { useConnectedAiTask, useConnection } from '../chunk-S74WZNK7.js';
|
|
12
|
+
import '../chunk-UVIOQUJA.js';
|
|
13
13
|
import '../chunk-KZJAG7T3.js';
|
|
14
14
|
import '../chunk-NPLYHR2E.js';
|
|
15
15
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
@@ -39,7 +39,7 @@ function WorkspaceCardRoot({
|
|
|
39
39
|
}) {
|
|
40
40
|
const mergedLabels = react.useMemo(() => ({ ...DEFAULT_WORKSPACE_CARD_LABELS, ...labels }), [labels]);
|
|
41
41
|
const surfaceClass = ui.cn(
|
|
42
|
-
"flex min-h-40 w-full cursor-pointer flex-col gap-3 rounded-lg p-4 text-left transition-colors",
|
|
42
|
+
"@container/ws-card flex min-h-40 w-full cursor-pointer flex-col gap-3 rounded-lg p-4 text-left transition-colors",
|
|
43
43
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
44
44
|
current ? "bg-accent text-accent-foreground" : "bg-muted hover:bg-accent/60",
|
|
45
45
|
className
|
|
@@ -117,10 +117,17 @@ function WorkspaceCardOpenCue({
|
|
|
117
117
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
118
118
|
"span",
|
|
119
119
|
{
|
|
120
|
-
className: "inline-flex shrink-0 items-center text-sm text-muted-foreground",
|
|
120
|
+
className: "inline-flex max-w-full min-w-0 shrink-0 items-center text-sm text-muted-foreground",
|
|
121
121
|
"data-slot": "workspace-card-open-cue",
|
|
122
122
|
"data-testid": testId,
|
|
123
|
-
children: current ?
|
|
123
|
+
children: current ? (
|
|
124
|
+
// Never wider than the card: the words truncate, and in a card narrower than 20rem
|
|
125
|
+
// the pill shrinks to a check (the words stay as the accessible name).
|
|
126
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-full bg-background px-2 py-0.5 text-xs font-medium text-foreground", children: [
|
|
127
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "hidden size-3 shrink-0 @max-xs/ws-card:block", "aria-hidden": "true" }),
|
|
128
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate @max-xs/ws-card:sr-only", children: currentLabel ?? labels.currentWorkspace })
|
|
129
|
+
] })
|
|
130
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "size-4", "aria-hidden": "true" })
|
|
124
131
|
}
|
|
125
132
|
);
|
|
126
133
|
}
|