@prismicio/editor-ui 0.4.61 → 0.4.62-alpha.jp-table-render-default-layout.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 (77) hide show
  1. package/dist/components/ActionList/ActionList.stories.d.ts +22 -426
  2. package/dist/components/Alert/Alert.stories.d.ts +4 -4
  3. package/dist/components/AnimatedElement/AnimatedElement.stories.d.ts +4 -4
  4. package/dist/components/AnimatedList/AnimatedList.stories.d.ts +6 -6
  5. package/dist/components/Avatar/Avatar.stories.d.ts +33 -11
  6. package/dist/components/BackgroundIcon/BackgroundIcon.stories.d.ts +9 -4
  7. package/dist/components/Badge/Badge.stories.d.ts +31 -11
  8. package/dist/components/Banner/Banner.stories.d.ts +2 -2
  9. package/dist/components/BaseInput/BaseInput.stories.d.ts +35 -7
  10. package/dist/components/BlankSlate/BlankSlate.stories.d.ts +21 -6
  11. package/dist/components/Box/Box.stories.d.ts +1 -1
  12. package/dist/components/Button/Button.stories.d.ts +1 -1
  13. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +4 -4
  14. package/dist/components/Calendar/Calendar.stories.d.ts +17 -7
  15. package/dist/components/Card/Card.stories.d.ts +4 -4
  16. package/dist/components/Card/PreviewCard.stories.d.ts +1 -1
  17. package/dist/components/Carousel/Carousel.stories.d.ts +6 -14
  18. package/dist/components/Checkbox/Checkbox.stories.d.ts +15 -2
  19. package/dist/components/CheckerBoard/CheckerBoard.stories.d.ts +8 -6
  20. package/dist/components/CodeBlock/CodeBlock.stories.d.ts +3 -3
  21. package/dist/components/ColorInput/ColorInput.stories.d.ts +11 -7
  22. package/dist/components/ComboBox/ComboBox.stories.d.ts +2 -2
  23. package/dist/components/ConjoinedIcons/ConjoinedIcons.stories.d.ts +19 -1
  24. package/dist/components/ContentEditable/useEditor.d.ts +1 -2
  25. package/dist/components/Cropper/Cropper.stories.d.ts +6 -28
  26. package/dist/components/DateInput/DateInput.stories.d.ts +2 -1
  27. package/dist/components/Dialog/Dialog.stories.d.ts +43 -37
  28. package/dist/components/Dot/Dot.stories.d.ts +1 -1
  29. package/dist/components/Draggable/Draggable.stories.d.ts +1 -1
  30. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +34 -7
  31. package/dist/components/EditableText/EditableText.stories.d.ts +20 -10
  32. package/dist/components/ErrorBoundary/ErrorBoundary.stories.d.ts +14 -7
  33. package/dist/components/Field/Field.stories.d.ts +4 -4
  34. package/dist/components/FieldSet/FieldSet.stories.d.ts +30 -7
  35. package/dist/components/FileUpload/FileDropZone.d.ts +1 -0
  36. package/dist/components/FileUpload/FileDropZone.stories.d.ts +9 -9
  37. package/dist/components/FilterField/FilterField.stories.d.ts +8 -17
  38. package/dist/components/Form/Form.stories.d.ts +1 -1
  39. package/dist/components/Gradient/Gradient.stories.d.ts +13 -14
  40. package/dist/components/HairlineButton/HairlineButton.stories.d.ts +28 -11
  41. package/dist/components/Icon/Icon.stories.d.ts +20 -8
  42. package/dist/components/IconButton/IconButton.stories.d.ts +15 -7
  43. package/dist/components/Image/Image.stories.d.ts +20 -9
  44. package/dist/components/LazyRender/LazyRender.stories.d.ts +15 -6
  45. package/dist/components/Line/Line.stories.d.ts +2 -2
  46. package/dist/components/List/UnorderedList.stories.d.ts +1 -1
  47. package/dist/components/MediaCard/MediaCard.stories.d.ts +2 -2
  48. package/dist/components/NumberInput/NumberInput.stories.d.ts +27 -8
  49. package/dist/components/OverflowContainer/OverflowContainer.stories.d.ts +2 -17
  50. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +5 -94
  51. package/dist/components/ProgressCircle/ProgressCircle.stories.d.ts +9 -5
  52. package/dist/components/Radio/RadioGroup.stories.d.ts +10 -8
  53. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +21 -17
  54. package/dist/components/SearchInput/SearchInput.stories.d.ts +14 -9
  55. package/dist/components/Select/Select.stories.d.ts +10 -10
  56. package/dist/components/SelectCard/SelectCard.stories.d.ts +8 -11
  57. package/dist/components/Separator/Separator.stories.d.ts +3 -3
  58. package/dist/components/Skeleton/Skeleton.stories.d.ts +5 -5
  59. package/dist/components/Slice/Slice.stories.d.ts +10 -45
  60. package/dist/components/Slider/Slider.stories.d.ts +10 -9
  61. package/dist/components/Switch/Switch.stories.d.ts +2 -2
  62. package/dist/components/Table/Table.stories.d.ts +15 -5
  63. package/dist/components/Tag/Tag.stories.d.ts +14 -10
  64. package/dist/components/TagField/TagField.stories.d.ts +8 -11
  65. package/dist/components/Text/Text.stories.d.ts +6 -13
  66. package/dist/components/TextArea/TextArea.stories.d.ts +6 -9
  67. package/dist/components/TextInput/TextInput.stories.d.ts +27 -7
  68. package/dist/components/Toast/Toast.stories.d.ts +65 -6
  69. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +4 -4
  70. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +5 -5
  71. package/dist/components/Toolbar/Toolbar.stories.d.ts +25 -6
  72. package/dist/components/Video/Video.stories.d.ts +2 -2
  73. package/dist/components/Window/Window.stories.d.ts +1 -1
  74. package/dist/index.cjs.js +169 -169
  75. package/dist/index.es.js +6000 -5954
  76. package/dist/style.css +1 -1
  77. package/package.json +7 -15
@@ -1,430 +1,26 @@
1
- import type { Meta } from "@storybook/react";
2
- import type { PropsWithChildren } from "react";
3
- import type { SeparatorProps } from "../Separator/Separator";
4
- import { ActionList, type ActionListItemProps, type ActionListProps } from "./ActionList";
5
- declare const meta: Meta<typeof ActionList>;
6
- export default meta;
7
- export declare const Default: {
8
- args: {
9
- variant: "bordered";
10
- gap: 8;
11
- items: ({
12
- startIcon: "add";
13
- description: string;
14
- children: string;
15
- endIcon?: undefined;
16
- endAdornment?: undefined;
17
- color?: undefined;
18
- disabled?: undefined;
19
- selected?: undefined;
20
- } | {
21
- startIcon: "add";
22
- endIcon: "folder";
23
- description: string;
24
- children: string;
25
- endAdornment?: undefined;
26
- color?: undefined;
27
- disabled?: undefined;
28
- selected?: undefined;
29
- } | {
30
- startIcon: "add";
31
- description: string;
32
- endAdornment: JSX.Element;
33
- children: string;
34
- endIcon?: undefined;
35
- color?: undefined;
36
- disabled?: undefined;
37
- selected?: undefined;
38
- } | {
39
- color: "tomato";
40
- startIcon: "add";
41
- endIcon: "folder";
42
- description: string;
43
- endAdornment: JSX.Element;
44
- children: string;
45
- disabled?: undefined;
46
- selected?: undefined;
47
- } | {
48
- disabled: true;
49
- startIcon: "add";
50
- description: string;
51
- children: string;
52
- endIcon?: undefined;
53
- endAdornment?: undefined;
54
- color?: undefined;
55
- selected?: undefined;
56
- } | {
57
- color: "tomato";
58
- disabled: true;
59
- startIcon: "add";
60
- description: string;
61
- children: string;
62
- endIcon?: undefined;
63
- endAdornment?: undefined;
64
- selected?: undefined;
65
- } | {
66
- startIcon: "add";
67
- description: string;
68
- children: string;
69
- selected: true;
70
- disabled: true;
71
- endIcon?: undefined;
72
- endAdornment?: undefined;
73
- color?: undefined;
74
- } | {
75
- startIcon: "add";
76
- description: string;
77
- children: string;
78
- selected: true;
79
- endIcon?: undefined;
80
- endAdornment?: undefined;
81
- color?: undefined;
82
- disabled?: undefined;
83
- })[];
84
- };
85
- decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
86
- variant?: import("./ActionList").ActionListVariant | undefined;
87
- gap?: 0 | 4 | 8 | undefined;
88
- sx?: import("../../theme").SX | undefined;
89
- children?: import("react").ReactNode;
90
- items: ActionListItemProps[];
91
- }>[] | undefined;
92
- parameters?: import("@storybook/types").Parameters | undefined;
93
- argTypes?: Partial<import("@storybook/types").ArgTypes<ActionListProps & {
94
- items: ActionListItemProps[];
95
- }>> | undefined;
96
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
97
- items: ActionListItemProps[];
98
- }>[] | undefined;
99
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
100
- items: ActionListItemProps[];
101
- }> | undefined;
102
- name?: string | undefined;
103
- storyName?: string | undefined;
104
- play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
105
- items: ActionListItemProps[];
106
- }> | undefined;
107
- tags?: string[] | undefined;
108
- story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
109
- items: ActionListItemProps[];
110
- }, Partial<ActionListProps & {
111
- items: ActionListItemProps[];
112
- }>>, "story"> | undefined;
113
- };
114
- export declare const WithProgress: {
115
- name: string;
116
- args: {
117
- variant: "bordered";
118
- gap: 8;
119
- items: ({
120
- completed: true;
121
- description: string;
122
- endAdornment: JSX.Element;
123
- children: string;
124
- } | {
125
- completed: false;
126
- description: string;
127
- endAdornment: JSX.Element;
128
- children: string;
129
- })[];
130
- };
131
- decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
132
- variant?: import("./ActionList").ActionListVariant | undefined;
133
- gap?: 0 | 4 | 8 | undefined;
134
- sx?: import("../../theme").SX | undefined;
135
- children?: import("react").ReactNode;
136
- items: ActionListItemProps[];
137
- }>[] | undefined;
138
- parameters?: import("@storybook/types").Parameters | undefined;
139
- argTypes?: Partial<import("@storybook/types").ArgTypes<ActionListProps & {
140
- items: ActionListItemProps[];
141
- }>> | undefined;
142
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
143
- items: ActionListItemProps[];
144
- }>[] | undefined;
145
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
146
- items: ActionListItemProps[];
147
- }> | undefined;
148
- storyName?: string | undefined;
149
- play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
150
- items: ActionListItemProps[];
151
- }> | undefined;
152
- tags?: string[] | undefined;
153
- story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
154
- items: ActionListItemProps[];
155
- }, Partial<ActionListProps & {
156
- items: ActionListItemProps[];
157
- }>>, "story"> | undefined;
158
- };
159
- export declare const WithReadonlyProgress: {
160
- args: {
161
- variant: "bordered";
162
- gap: 8;
163
- items: ({
164
- completed: true;
165
- description: string;
166
- readOnly: true;
167
- children: string;
168
- } | {
169
- completed: false;
170
- description: string;
171
- readOnly: true;
172
- children: string;
173
- })[];
174
- };
175
- name: string;
176
- decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
177
- variant?: import("./ActionList").ActionListVariant | undefined;
178
- gap?: 0 | 4 | 8 | undefined;
179
- sx?: import("../../theme").SX | undefined;
180
- children?: import("react").ReactNode;
181
- items: ActionListItemProps[];
182
- }>[] | undefined;
183
- parameters?: import("@storybook/types").Parameters | undefined;
184
- argTypes?: Partial<import("@storybook/types").ArgTypes<ActionListProps & {
185
- items: ActionListItemProps[];
186
- }>> | undefined;
187
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
188
- items: ActionListItemProps[];
189
- }>[] | undefined;
190
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
191
- items: ActionListItemProps[];
192
- }> | undefined;
193
- storyName?: string | undefined;
194
- play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
195
- items: ActionListItemProps[];
196
- }> | undefined;
197
- tags?: string[] | undefined;
198
- story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
199
- items: ActionListItemProps[];
200
- }, Partial<ActionListProps & {
201
- items: ActionListItemProps[];
202
- }>>, "story"> | undefined;
203
- };
204
- export declare const NavigationMenu: {
205
- parameters: {
206
- controls: {
207
- exclude: string[];
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { ActionList } from "./ActionList";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof ActionList;
6
+ argTypes: {
7
+ variant: {
8
+ control: {
9
+ type: "radio";
10
+ };
11
+ options: string[];
208
12
  };
209
- };
210
- args: {
211
- gap: 4;
212
- variant: "compact";
213
- items: ({
214
- component: "ActionListHeader";
215
- children: JSX.Element;
216
- backgroundColor?: undefined;
217
- startIcon?: undefined;
218
- endOverlay?: undefined;
219
- style?: undefined;
220
- sx?: undefined;
221
- selected?: undefined;
222
- renderEndIcon?: undefined;
223
- } | {
224
- component: "ActionListItem";
225
- backgroundColor: "transparent";
226
- startIcon: "prismic";
227
- children: string;
228
- endOverlay?: undefined;
229
- style?: undefined;
230
- sx?: undefined;
231
- selected?: undefined;
232
- renderEndIcon?: undefined;
233
- } | {
234
- component: "ActionListItem";
235
- backgroundColor: "transparent";
236
- startIcon: "checkBox";
237
- children: string;
238
- endOverlay?: undefined;
239
- style?: undefined;
240
- sx?: undefined;
241
- selected?: undefined;
242
- renderEndIcon?: undefined;
243
- } | {
244
- component: "ActionListItem";
245
- backgroundColor: "transparent";
246
- startIcon: "colorLens";
247
- children: string;
248
- endOverlay?: undefined;
249
- style?: undefined;
250
- sx?: undefined;
251
- selected?: undefined;
252
- renderEndIcon?: undefined;
253
- } | {
254
- component: "ActionListItem";
255
- backgroundColor: "transparent";
256
- startIcon: "search";
257
- children: string;
258
- endOverlay?: undefined;
259
- style?: undefined;
260
- sx?: undefined;
261
- selected?: undefined;
262
- renderEndIcon?: undefined;
263
- } | {
264
- component: "ActionListItem";
265
- backgroundColor: "transparent";
266
- startIcon: "language";
267
- children: string;
268
- endOverlay: JSX.Element;
269
- style?: undefined;
270
- sx?: undefined;
271
- selected?: undefined;
272
- renderEndIcon?: undefined;
273
- } | {
274
- component: "Separator";
275
- style: "dashed";
276
- sx: {
277
- marginBlock: 20;
13
+ gap: {
14
+ control: {
15
+ type: "radio";
278
16
  };
279
- children?: undefined;
280
- backgroundColor?: undefined;
281
- startIcon?: undefined;
282
- endOverlay?: undefined;
283
- selected?: undefined;
284
- renderEndIcon?: undefined;
285
- } | {
286
- component: "ActionListLabel";
287
- children: string;
288
- backgroundColor?: undefined;
289
- startIcon?: undefined;
290
- endOverlay?: undefined;
291
- style?: undefined;
292
- sx?: undefined;
293
- selected?: undefined;
294
- renderEndIcon?: undefined;
295
- } | {
296
- component: "ActionListItem";
297
- backgroundColor: "transparent";
298
- startIcon: "database";
299
- children: string;
300
- endOverlay?: undefined;
301
- style?: undefined;
302
- sx?: undefined;
303
- selected?: undefined;
304
- renderEndIcon?: undefined;
305
- } | {
306
- component: "ActionListItem";
307
- backgroundColor: "transparent";
308
- startIcon: "folder";
309
- children: string;
310
- endOverlay?: undefined;
311
- style?: undefined;
312
- sx?: undefined;
313
- selected?: undefined;
314
- renderEndIcon?: undefined;
315
- } | {
316
- component: "ActionListItem";
317
- backgroundColor: "transparent";
318
- startIcon: "checkBox";
319
- children: string;
320
- selected: true;
321
- endOverlay?: undefined;
322
- style?: undefined;
323
- sx?: undefined;
324
- renderEndIcon?: undefined;
325
- } | {
326
- component: "ActionListItem";
327
- backgroundColor: "transparent";
328
- startIcon: "multipleStop";
329
- children: string;
330
- endOverlay?: undefined;
331
- style?: undefined;
332
- sx?: undefined;
333
- selected?: undefined;
334
- renderEndIcon?: undefined;
335
- } | {
336
- component: "ActionListItem";
337
- backgroundColor: "transparent";
338
- startIcon: "colorLens";
339
- children: string;
340
- renderEndIcon: () => JSX.Element;
341
- endOverlay?: undefined;
342
- style?: undefined;
343
- sx?: undefined;
344
- selected?: undefined;
345
- })[];
17
+ options: number[];
18
+ };
346
19
  };
347
- decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
348
- variant?: import("./ActionList").ActionListVariant | undefined;
349
- gap?: 0 | 4 | 8 | undefined;
350
- sx?: import("../../theme").SX | undefined;
351
- children?: import("react").ReactNode;
352
- items: ((ActionListItemProps & {
353
- component: "ActionListItem";
354
- }) | (PropsWithChildren & {
355
- component: "ActionListLabel";
356
- }) | (SeparatorProps & {
357
- component: "Separator";
358
- }) | (PropsWithChildren & {
359
- component: "ActionListHeader";
360
- }))[];
361
- }>[] | undefined;
362
- argTypes?: Partial<import("@storybook/types").ArgTypes<ActionListProps & {
363
- items: ((ActionListItemProps & {
364
- component: "ActionListItem";
365
- }) | (PropsWithChildren & {
366
- component: "ActionListLabel";
367
- }) | (SeparatorProps & {
368
- component: "Separator";
369
- }) | (PropsWithChildren & {
370
- component: "ActionListHeader";
371
- }))[];
372
- }>> | undefined;
373
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
374
- items: ((ActionListItemProps & {
375
- component: "ActionListItem";
376
- }) | (PropsWithChildren & {
377
- component: "ActionListLabel";
378
- }) | (SeparatorProps & {
379
- component: "Separator";
380
- }) | (PropsWithChildren & {
381
- component: "ActionListHeader";
382
- }))[];
383
- }>[] | undefined;
384
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
385
- items: ((ActionListItemProps & {
386
- component: "ActionListItem";
387
- }) | (PropsWithChildren & {
388
- component: "ActionListLabel";
389
- }) | (SeparatorProps & {
390
- component: "Separator";
391
- }) | (PropsWithChildren & {
392
- component: "ActionListHeader";
393
- }))[];
394
- }> | undefined;
395
- name?: string | undefined;
396
- storyName?: string | undefined;
397
- play?: import("@storybook/types").PlayFunction<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
398
- items: ((ActionListItemProps & {
399
- component: "ActionListItem";
400
- }) | (PropsWithChildren & {
401
- component: "ActionListLabel";
402
- }) | (SeparatorProps & {
403
- component: "Separator";
404
- }) | (PropsWithChildren & {
405
- component: "ActionListHeader";
406
- }))[];
407
- }> | undefined;
408
- tags?: string[] | undefined;
409
- story?: Omit<import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ActionListProps & {
410
- items: ((ActionListItemProps & {
411
- component: "ActionListItem";
412
- }) | (PropsWithChildren & {
413
- component: "ActionListLabel";
414
- }) | (SeparatorProps & {
415
- component: "Separator";
416
- }) | (PropsWithChildren & {
417
- component: "ActionListHeader";
418
- }))[];
419
- }, Partial<ActionListProps & {
420
- items: ((ActionListItemProps & {
421
- component: "ActionListItem";
422
- }) | (PropsWithChildren & {
423
- component: "ActionListLabel";
424
- }) | (SeparatorProps & {
425
- component: "Separator";
426
- }) | (PropsWithChildren & {
427
- component: "ActionListHeader";
428
- }))[];
429
- }>>, "story"> | undefined;
430
20
  };
21
+ export default meta;
22
+ type Story = StoryObj<typeof meta>;
23
+ export declare const Default: Story;
24
+ export declare const WithProgress: Story;
25
+ export declare const WithReadonlyProgress: Story;
26
+ export declare const NavigationMenu: Story;
@@ -6,18 +6,18 @@ declare const meta: {
6
6
  tags: string[];
7
7
  argTypes: {
8
8
  icon: {
9
- control: string;
9
+ control: "select";
10
10
  options: readonly ["add", "alert", "arrowBack", "arrowDownward", "arrowDropDown", "arrowDropDownCircle", "arrowForward", "arrowUpward", "attachFile", "autoFixHigh", "autorenew", "biToggle", "block", "calendarToday", "centerFocusWeak", "check", "checkBox", "checkBoxOutlinedBlank", "chevronLeft", "chevronRight", "close", "cloud", "cloudUpload", "code", "colorLens", "contentCopy", "contentPaste", "createNewFolder", "creditCard", "crop", "cropLandscape", "cropPortrait", "dataObject", "dataUsage", "database", "dateRange", "delete", "description", "desktopWindows", "dragIndicator", "driveFileMove", "edit", "event", "expandLess", "expandMore", "firstPage", "folder", "folderManaged", "formatBold", "formatClear", "formatItalic", "formatListBulleted", "formatListNumbered", "formatTextDirectionRToL", "groupWork", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
11
11
  };
12
12
  color: {
13
- control: string;
13
+ control: "select";
14
14
  options: string[];
15
15
  };
16
16
  titleLoading: {
17
- control: string;
17
+ control: "boolean";
18
18
  };
19
19
  noShadow: {
20
- control: string;
20
+ control: "boolean";
21
21
  };
22
22
  };
23
23
  };
@@ -32,24 +32,24 @@ export declare const Default: {
32
32
  argTypes: {
33
33
  children: {
34
34
  control: {
35
- disable: boolean;
35
+ disable: true;
36
36
  };
37
37
  };
38
38
  enterDuration: {
39
39
  control: {
40
- type: string;
40
+ type: "select";
41
41
  };
42
42
  options: string[];
43
43
  };
44
44
  exitDuration: {
45
45
  control: {
46
- type: string;
46
+ type: "select";
47
47
  };
48
48
  options: string[];
49
49
  };
50
50
  animation: {
51
51
  control: {
52
- type: string;
52
+ type: "select";
53
53
  };
54
54
  options: string[];
55
55
  mapping: {
@@ -30,34 +30,34 @@ export declare const Default: {
30
30
  argTypes: {
31
31
  children: {
32
32
  control: {
33
- disable: boolean;
33
+ disable: true;
34
34
  };
35
35
  };
36
36
  items: {
37
37
  control: {
38
- disable: boolean;
38
+ disable: true;
39
39
  };
40
40
  };
41
41
  ariaLabel: {
42
42
  control: {
43
- disable: boolean;
43
+ disable: true;
44
44
  };
45
45
  };
46
46
  gap: {
47
47
  control: {
48
- type: string;
48
+ type: "select";
49
49
  };
50
50
  options: string[];
51
51
  };
52
52
  direction: {
53
53
  control: {
54
- type: string;
54
+ type: "select";
55
55
  };
56
56
  options: string[];
57
57
  };
58
58
  animationDuration: {
59
59
  control: {
60
- type: string;
60
+ type: "select";
61
61
  };
62
62
  options: string[];
63
63
  };
@@ -1,13 +1,35 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Avatar").AvatarProps>;
2
- export default _default;
3
- export declare const Default: {
4
- args: {
5
- firstName: string;
6
- lastName: string;
7
- imageUrl: string;
8
- hasBorder: boolean;
9
- size: number;
10
- variant: string;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { Avatar } from "./Avatar";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Avatar;
6
+ argTypes: {
7
+ imageUrl: {
8
+ control: {
9
+ type: "radio";
10
+ };
11
+ options: (string | undefined)[];
12
+ };
13
+ hasBorder: {
14
+ control: {
15
+ type: "boolean";
16
+ };
17
+ defaultValue: boolean;
18
+ };
19
+ size: {
20
+ control: {
21
+ type: "radio";
22
+ };
23
+ options: number[];
24
+ };
25
+ variant: {
26
+ control: {
27
+ type: "radio";
28
+ };
29
+ options: string[];
30
+ };
11
31
  };
12
- name: string;
13
32
  };
33
+ export default meta;
34
+ type Story = StoryObj<typeof meta>;
35
+ export declare const Default: Story;
@@ -4,16 +4,21 @@ declare const meta: {
4
4
  component: typeof BackgroundIcon;
5
5
  argTypes: {
6
6
  color: {
7
- control: string;
7
+ control: "select";
8
8
  options: string[];
9
9
  };
10
10
  name: {
11
- control: string;
11
+ control: "select";
12
12
  options: readonly ["add", "alert", "arrowBack", "arrowDownward", "arrowDropDown", "arrowDropDownCircle", "arrowForward", "arrowUpward", "attachFile", "autoFixHigh", "autorenew", "biToggle", "block", "calendarToday", "centerFocusWeak", "check", "checkBox", "checkBoxOutlinedBlank", "chevronLeft", "chevronRight", "close", "cloud", "cloudUpload", "code", "colorLens", "contentCopy", "contentPaste", "createNewFolder", "creditCard", "crop", "cropLandscape", "cropPortrait", "dataObject", "dataUsage", "database", "dateRange", "delete", "description", "desktopWindows", "dragIndicator", "driveFileMove", "edit", "event", "expandLess", "expandMore", "firstPage", "folder", "folderManaged", "formatBold", "formatClear", "formatItalic", "formatListBulleted", "formatListNumbered", "formatTextDirectionRToL", "groupWork", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
13
13
  };
14
- size: import("@storybook/types").InputType | undefined;
14
+ size: {
15
+ control: {
16
+ type: "select";
17
+ };
18
+ options: string[];
19
+ };
15
20
  variant: {
16
- control: string;
21
+ control: "select";
17
22
  options: string[];
18
23
  };
19
24
  };
@@ -1,14 +1,34 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Badge").BadgeProps & import("react").RefAttributes<HTMLDivElement>>;
3
- export default _default;
4
- export declare const Default: {
5
- args: {
6
- title: string;
7
- color: string;
8
- size: string;
9
- onClose: () => undefined;
10
- icon: string;
11
- selected: boolean;
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("./Badge").BadgeProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
6
+ argTypes: {
7
+ color: {
8
+ control: {
9
+ type: "select";
10
+ };
11
+ options: string[];
12
+ };
13
+ size: {
14
+ control: {
15
+ type: "select";
16
+ };
17
+ options: string[];
18
+ };
19
+ icon: {
20
+ control: {
21
+ type: "select";
22
+ };
23
+ options: readonly ["add", "alert", "arrowBack", "arrowDownward", "arrowDropDown", "arrowDropDownCircle", "arrowForward", "arrowUpward", "attachFile", "autoFixHigh", "autorenew", "biToggle", "block", "calendarToday", "centerFocusWeak", "check", "checkBox", "checkBoxOutlinedBlank", "chevronLeft", "chevronRight", "close", "cloud", "cloudUpload", "code", "colorLens", "contentCopy", "contentPaste", "createNewFolder", "creditCard", "crop", "cropLandscape", "cropPortrait", "dataObject", "dataUsage", "database", "dateRange", "delete", "description", "desktopWindows", "dragIndicator", "driveFileMove", "edit", "event", "expandLess", "expandMore", "firstPage", "folder", "folderManaged", "formatBold", "formatClear", "formatItalic", "formatListBulleted", "formatListNumbered", "formatTextDirectionRToL", "groupWork", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
24
+ };
25
+ onClose: {
26
+ control: {
27
+ type: "boolean";
28
+ };
29
+ };
12
30
  };
13
- name: string;
14
31
  };
32
+ export default meta;
33
+ type Story = StoryObj<typeof meta>;
34
+ export declare const Default: Story;