@discourser/design-system 0.28.0 → 0.28.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/{chunk-7N32LXVA.js → chunk-JDERS7J6.js} +5 -5
- package/dist/chunk-JDERS7J6.js.map +1 -0
- package/dist/{chunk-BTI7U4DO.cjs → chunk-X3W33YGV.cjs} +5 -5
- package/dist/chunk-X3W33YGV.cjs.map +1 -0
- package/dist/components/SettingsPopover/SettingsPopover.d.ts.map +1 -1
- package/dist/components/StudioControls/StudioControls.d.ts.map +1 -1
- package/dist/components/index.cjs +76 -76
- package/dist/components/index.js +1 -1
- package/dist/figma-codex.json +2 -2
- package/dist/index.cjs +76 -76
- package/dist/index.js +1 -1
- package/dist/panda.buildinfo.json +2 -2
- package/docs/component-catalog.md +2 -2
- package/package.json +1 -1
- package/src/components/SettingsPopover/SettingsPopover.tsx +1 -3
- package/src/components/StudioControls/StudioControls.tsx +2 -1
- package/src/test/setup.ts +17 -3
- package/dist/chunk-7N32LXVA.js.map +0 -1
- package/dist/chunk-BTI7U4DO.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk5H764SHY_cjs = require('./chunk-5H764SHY.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkX3W33YGV_cjs = require('./chunk-X3W33YGV.cjs');
|
|
5
5
|
require('./chunk-EARF7VDF.cjs');
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
|
|
@@ -23,303 +23,303 @@ Object.defineProperty(exports, "transformToPandaTheme", {
|
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "AbsoluteCenter", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkX3W33YGV_cjs.AbsoluteCenter_exports; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "Accordion", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkX3W33YGV_cjs.Accordion_exports; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "AccountIcon", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkX3W33YGV_cjs.AccountIcon; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "AddScenarioDialog", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkX3W33YGV_cjs.AddScenarioDialog; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "AudienceIcon", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkX3W33YGV_cjs.AudienceIcon; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "AudioSpeakerIcon", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkX3W33YGV_cjs.AudioSpeakerIcon; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "Avatar", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkX3W33YGV_cjs.Avatar_exports; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "Badge", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkX3W33YGV_cjs.Badge; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "BookmarkPlusIcon", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkX3W33YGV_cjs.BookmarkPlusIcon; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "Breadcrumb", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkX3W33YGV_cjs.Breadcrumb_exports; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "Button", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkX3W33YGV_cjs.Button; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "ButtonGroup", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkX3W33YGV_cjs.ButtonGroup; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "Card", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkX3W33YGV_cjs.Card_exports; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "Checkbox", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkX3W33YGV_cjs.Checkbox_exports; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "ChevronUpDownIcon", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkX3W33YGV_cjs.ChevronUpDownIcon; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "ChevronUpIcon", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkX3W33YGV_cjs.ChevronUpIcon; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "ClipBoardIcon", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkX3W33YGV_cjs.ClipBoardIcon; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "ClockIcon", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkX3W33YGV_cjs.ClockIcon; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "CloseButton", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkX3W33YGV_cjs.CloseButton_exports; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "ContentCard", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkX3W33YGV_cjs.ContentCard_exports; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "DashboardIcon", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkX3W33YGV_cjs.DashboardIcon; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "Dialog", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkX3W33YGV_cjs.Dialog_exports; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "DiscourserLogo", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkX3W33YGV_cjs.DiscourserLogo; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "Divider", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkX3W33YGV_cjs.Divider; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "Drawer", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkX3W33YGV_cjs.Drawer_exports; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "ExitStudioIcon", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkX3W33YGV_cjs.ExitStudioIcon; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "GripDotsVerticalIcon", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkX3W33YGV_cjs.GripDotsVerticalIcon; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "Group", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkX3W33YGV_cjs.Group_exports; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "Header", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkX3W33YGV_cjs.Header; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "HelpIcon", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkX3W33YGV_cjs.HelpIcon; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "Icon", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkX3W33YGV_cjs.Icon_exports; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "IconButton", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkX3W33YGV_cjs.IconButton; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "Input", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkX3W33YGV_cjs.Input; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "InputAddon", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkX3W33YGV_cjs.InputAddon; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "InputGroup", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkX3W33YGV_cjs.InputGroup; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "LeftArrowIcon", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkX3W33YGV_cjs.LeftArrowIcon; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "LoginIcon", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkX3W33YGV_cjs.LoginIcon; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "LogoutIcon", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkX3W33YGV_cjs.LogoutIcon; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "MicrophoneIcon", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkX3W33YGV_cjs.MicrophoneIcon; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "NavigationMenu", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkX3W33YGV_cjs.NavigationMenu; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "NotebookIcon", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkX3W33YGV_cjs.NotebookIcon; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "NotebookPenIcon", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkX3W33YGV_cjs.NotebookPenIcon; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "PausePlayIcon", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkX3W33YGV_cjs.PausePlayIcon; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "PlayIcon", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkX3W33YGV_cjs.PlayIcon; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "Popover", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkX3W33YGV_cjs.Popover_exports; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "Progress", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkX3W33YGV_cjs.Progress_exports; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "RadioGroup", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkX3W33YGV_cjs.RadioGroup_exports; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "RecordIcon", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkX3W33YGV_cjs.RecordIcon; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "RepeatQuestionIcon", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkX3W33YGV_cjs.RepeatQuestionIcon; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "RightArrowIcon", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkX3W33YGV_cjs.RightArrowIcon; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "ScenarioCard", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkX3W33YGV_cjs.ScenarioCard; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "ScenarioIcon", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkX3W33YGV_cjs.ScenarioIcon; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "ScenarioQueue", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkX3W33YGV_cjs.ScenarioQueue; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "ScenarioSettings", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkX3W33YGV_cjs.ScenarioSettings; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "ScrollTextIcon", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkX3W33YGV_cjs.ScrollTextIcon; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "Select", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkX3W33YGV_cjs.Select_exports; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "SettingsPopover", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkX3W33YGV_cjs.SettingsPopover; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "Skeleton", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkX3W33YGV_cjs.Skeleton_exports; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "Slider", {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkX3W33YGV_cjs.Slider_exports; }
|
|
259
259
|
});
|
|
260
260
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
261
261
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkX3W33YGV_cjs.SparklesIcon; }
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "SpeechIcon", {
|
|
265
265
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkX3W33YGV_cjs.SpeechIcon; }
|
|
267
267
|
});
|
|
268
268
|
Object.defineProperty(exports, "Spinner", {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkX3W33YGV_cjs.Spinner; }
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "Stepper", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkX3W33YGV_cjs.Stepper; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "StopPlayIcon", {
|
|
277
277
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkX3W33YGV_cjs.StopPlayIcon; }
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(exports, "StudioControls", {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkX3W33YGV_cjs.StudioControls; }
|
|
283
283
|
});
|
|
284
284
|
Object.defineProperty(exports, "Switch", {
|
|
285
285
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkX3W33YGV_cjs.Switch_exports; }
|
|
287
287
|
});
|
|
288
288
|
Object.defineProperty(exports, "Tabs", {
|
|
289
289
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkX3W33YGV_cjs.Tabs_exports; }
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "Textarea", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkX3W33YGV_cjs.Textarea; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "TimerIcon", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkX3W33YGV_cjs.TimerIcon; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "Toaster", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkX3W33YGV_cjs.Toaster; }
|
|
303
303
|
});
|
|
304
304
|
Object.defineProperty(exports, "Tooltip", {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkX3W33YGV_cjs.Tooltip_exports; }
|
|
307
307
|
});
|
|
308
308
|
Object.defineProperty(exports, "UserProfileIcon", {
|
|
309
309
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkX3W33YGV_cjs.UserProfileIcon; }
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "difficultyColorMap", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkX3W33YGV_cjs.difficultyColorMap; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "difficultyLabel", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkX3W33YGV_cjs.difficultyLabel; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "toaster", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkX3W33YGV_cjs.toaster; }
|
|
323
323
|
});
|
|
324
324
|
exports.cn = cn;
|
|
325
325
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { material3Language as activeLanguage, discourserPandaPreset, transformToPandaTheme } from './chunk-WMHVCIDI.js';
|
|
2
|
-
export { AbsoluteCenter_exports as AbsoluteCenter, Accordion_exports as Accordion, AccountIcon, AddScenarioDialog, AudienceIcon, AudioSpeakerIcon, Avatar_exports as Avatar, Badge, BookmarkPlusIcon, Breadcrumb_exports as Breadcrumb, Button, ButtonGroup, Card_exports as Card, Checkbox_exports as Checkbox, ChevronUpDownIcon, ChevronUpIcon, ClipBoardIcon, ClockIcon, CloseButton_exports as CloseButton, ContentCard_exports as ContentCard, DashboardIcon, Dialog_exports as Dialog, DiscourserLogo, Divider, Drawer_exports as Drawer, ExitStudioIcon, GripDotsVerticalIcon, Group_exports as Group, Header, HelpIcon, Icon_exports as Icon, IconButton, Input, InputAddon, InputGroup, LeftArrowIcon, LoginIcon, LogoutIcon, MicrophoneIcon, NavigationMenu, NotebookIcon, NotebookPenIcon, PausePlayIcon, PlayIcon, Popover_exports as Popover, Progress_exports as Progress, RadioGroup_exports as RadioGroup, RecordIcon, RepeatQuestionIcon, RightArrowIcon, ScenarioCard, ScenarioIcon, ScenarioQueue, ScenarioSettings, ScrollTextIcon, Select_exports as Select, SettingsPopover, Skeleton_exports as Skeleton, Slider_exports as Slider, SparklesIcon, SpeechIcon, Spinner, Stepper, StopPlayIcon, StudioControls, Switch_exports as Switch, Tabs_exports as Tabs, Textarea, TimerIcon, Toaster, Tooltip_exports as Tooltip, UserProfileIcon, difficultyColorMap, difficultyLabel, toaster } from './chunk-
|
|
2
|
+
export { AbsoluteCenter_exports as AbsoluteCenter, Accordion_exports as Accordion, AccountIcon, AddScenarioDialog, AudienceIcon, AudioSpeakerIcon, Avatar_exports as Avatar, Badge, BookmarkPlusIcon, Breadcrumb_exports as Breadcrumb, Button, ButtonGroup, Card_exports as Card, Checkbox_exports as Checkbox, ChevronUpDownIcon, ChevronUpIcon, ClipBoardIcon, ClockIcon, CloseButton_exports as CloseButton, ContentCard_exports as ContentCard, DashboardIcon, Dialog_exports as Dialog, DiscourserLogo, Divider, Drawer_exports as Drawer, ExitStudioIcon, GripDotsVerticalIcon, Group_exports as Group, Header, HelpIcon, Icon_exports as Icon, IconButton, Input, InputAddon, InputGroup, LeftArrowIcon, LoginIcon, LogoutIcon, MicrophoneIcon, NavigationMenu, NotebookIcon, NotebookPenIcon, PausePlayIcon, PlayIcon, Popover_exports as Popover, Progress_exports as Progress, RadioGroup_exports as RadioGroup, RecordIcon, RepeatQuestionIcon, RightArrowIcon, ScenarioCard, ScenarioIcon, ScenarioQueue, ScenarioSettings, ScrollTextIcon, Select_exports as Select, SettingsPopover, Skeleton_exports as Skeleton, Slider_exports as Slider, SparklesIcon, SpeechIcon, Spinner, Stepper, StopPlayIcon, StudioControls, Switch_exports as Switch, Tabs_exports as Tabs, Textarea, TimerIcon, Toaster, Tooltip_exports as Tooltip, UserProfileIcon, difficultyColorMap, difficultyLabel, toaster } from './chunk-JDERS7J6.js';
|
|
3
3
|
import './chunk-WR5Z5QMQ.js';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
|
|
@@ -210,11 +210,10 @@
|
|
|
210
210
|
"borderTopWidth]___[value:1px",
|
|
211
211
|
"borderTopStyle]___[value:solid",
|
|
212
212
|
"borderTopColor]___[value:neutral.3",
|
|
213
|
-
"boxShadow]___[value:0px -1px 2px rgba(0, 0, 0, 0.3), 0px -2px 6px 2px rgba(0, 0, 0, 0.15)",
|
|
214
213
|
"transition]___[value:background 0.2s",
|
|
215
214
|
"background]___[value:surface.containerHighest]___[cond:_hover",
|
|
216
215
|
"width]___[value:275px",
|
|
217
|
-
"boxShadow]___[value:
|
|
216
|
+
"boxShadow]___[value:md",
|
|
218
217
|
"paddingTop]___[value:3",
|
|
219
218
|
"paddingBottom]___[value:2",
|
|
220
219
|
"fontSize]___[value:bodyMedium",
|
|
@@ -443,6 +442,7 @@
|
|
|
443
442
|
"background]___[value:shadow",
|
|
444
443
|
"boxShadow]___[value:level0",
|
|
445
444
|
"boxShadow]___[value:level1",
|
|
445
|
+
"boxShadow]___[value:level2",
|
|
446
446
|
"boxShadow]___[value:level3",
|
|
447
447
|
"boxShadow]___[value:level4",
|
|
448
448
|
"boxShadow]___[value:level5",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> **Status:** Generated — auto-produced by `scripts/generate-component-catalog.ts`
|
|
4
4
|
> **Source:** `stories/ComponentCatalog.stories.tsx` + `src/components/index.ts`
|
|
5
|
-
> **Design System Version:** 0.28.
|
|
6
|
-
> **Generated:** 2026-04-
|
|
5
|
+
> **Design System Version:** 0.28.1
|
|
6
|
+
> **Generated:** 2026-04-08
|
|
7
7
|
> **Do not hand-edit** — this file is overwritten on every build
|
|
8
8
|
|
|
9
9
|
---
|
package/package.json
CHANGED
|
@@ -35,8 +35,6 @@ export function SettingsPopover({
|
|
|
35
35
|
borderTopStyle: 'solid',
|
|
36
36
|
borderTopColor: 'neutral.3',
|
|
37
37
|
borderRadius: '0',
|
|
38
|
-
boxShadow:
|
|
39
|
-
'0px -1px 2px rgba(0, 0, 0, 0.3), 0px -2px 6px 2px rgba(0, 0, 0, 0.15)',
|
|
40
38
|
cursor: 'pointer',
|
|
41
39
|
transition: 'background 0.2s',
|
|
42
40
|
_hover: {
|
|
@@ -87,7 +85,7 @@ export function SettingsPopover({
|
|
|
87
85
|
p: '0',
|
|
88
86
|
w: '275px',
|
|
89
87
|
borderRadius: 'l3',
|
|
90
|
-
boxShadow: '
|
|
88
|
+
boxShadow: 'md',
|
|
91
89
|
overflow: 'hidden',
|
|
92
90
|
})}
|
|
93
91
|
>
|
|
@@ -282,7 +282,8 @@ export function StudioControls({
|
|
|
282
282
|
}}
|
|
283
283
|
/>
|
|
284
284
|
<RadioGroup.ItemText
|
|
285
|
-
css={{
|
|
285
|
+
css={{ textStyle: 'bodyMedium' }}
|
|
286
|
+
style={{ fontWeight: 'var(--font-weights-normal)' }}
|
|
286
287
|
>
|
|
287
288
|
{option.label}
|
|
288
289
|
</RadioGroup.ItemText>
|
package/src/test/setup.ts
CHANGED
|
@@ -6,15 +6,29 @@ import { toHaveNoViolations } from 'jest-axe';
|
|
|
6
6
|
// Extend Vitest's expect with jest-axe matchers
|
|
7
7
|
expect.extend(toHaveNoViolations);
|
|
8
8
|
|
|
9
|
-
// Mock ResizeObserver — JSDOM does not implement it, but @zag-js
|
|
10
|
-
//
|
|
9
|
+
// Mock ResizeObserver — JSDOM does not implement it, but @zag-js components
|
|
10
|
+
// (tabs, accordion, etc.) require it to measure content dimensions.
|
|
11
|
+
// The mock calls back immediately on observe() so that accordion content panels
|
|
12
|
+
// receive their height measurement and remove their `hidden` attribute, making
|
|
13
|
+
// links/content accessible to RTL after a click interaction.
|
|
11
14
|
// Guard for Node.js environment (e.g. figma-codex tests with @vitest-environment node)
|
|
12
15
|
if (typeof window !== 'undefined') {
|
|
13
16
|
Object.defineProperty(window, 'ResizeObserver', {
|
|
14
17
|
writable: true,
|
|
15
18
|
configurable: true,
|
|
16
19
|
value: class ResizeObserver {
|
|
17
|
-
|
|
20
|
+
private callback: (entries: object[], observer: object) => void;
|
|
21
|
+
constructor(callback: (entries: object[], observer: object) => void) {
|
|
22
|
+
this.callback = callback;
|
|
23
|
+
}
|
|
24
|
+
observe(target: Element) {
|
|
25
|
+
// Call back synchronously with a mock entry so zag-js state machines
|
|
26
|
+
// receive content dimensions and proceed to unhide animated content.
|
|
27
|
+
this.callback(
|
|
28
|
+
[{ contentRect: target.getBoundingClientRect(), target }],
|
|
29
|
+
this,
|
|
30
|
+
);
|
|
31
|
+
}
|
|
18
32
|
unobserve() {}
|
|
19
33
|
disconnect() {}
|
|
20
34
|
},
|