@prismicio/editor-ui 0.4.61 → 0.4.62-alpha.jp-table-render-default-layout.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -6,11 +6,11 @@ declare const meta: {
6
6
  component: typeof Banner;
7
7
  argTypes: {
8
8
  color: {
9
- control: string;
9
+ control: "select";
10
10
  options: string[];
11
11
  };
12
12
  iconName: {
13
- control: string;
13
+ control: "select";
14
14
  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"];
15
15
  };
16
16
  };
@@ -1,11 +1,39 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./BaseInput").BaseInputProps & import("react").RefAttributes<HTMLInputElement>>;
3
- export default _default;
4
- export declare const Default: {
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("./BaseInput").BaseInputProps & import("react").RefAttributes<HTMLInputElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
6
+ argTypes: {
7
+ autoComplete: {
8
+ control: {
9
+ type: "text";
10
+ };
11
+ };
12
+ endAdornment: {};
13
+ id: {
14
+ control: {
15
+ type: "text";
16
+ };
17
+ };
18
+ inputMode: {
19
+ control: {
20
+ type: "select";
21
+ };
22
+ options: string[];
23
+ };
24
+ name: {
25
+ control: {
26
+ type: "text";
27
+ };
28
+ };
29
+ onFocus: {};
30
+ onBlur: {};
31
+ startAdornment: {};
32
+ };
5
33
  args: {
6
- inputMode: string;
7
- placeholder: string;
8
- readOnly: boolean;
34
+ value: string;
9
35
  };
10
- name: string;
11
36
  };
37
+ export default meta;
38
+ type Story = StoryObj<typeof meta>;
39
+ export declare const Default: Story;
@@ -1,7 +1,22 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./BlankSlate").BlankSlateProps>;
2
- export default _default;
3
- export declare const Default: {
4
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./BlankSlate").BlankSlateProps>;
5
- args: {};
6
- name: string;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import type { ComponentType } from "react";
3
+ import { BlankSlate } from "./BlankSlate";
4
+ declare const meta: {
5
+ title: string;
6
+ component: typeof BlankSlate;
7
+ subcomponents: {
8
+ BlankSlateActions: ComponentType<unknown>;
9
+ BlankSlateIcon: ComponentType<unknown>;
10
+ BlankSlateTitle: ComponentType<unknown>;
11
+ };
12
+ argTypes: {
13
+ children: {
14
+ control: {
15
+ disable: true;
16
+ };
17
+ };
18
+ };
7
19
  };
20
+ export default meta;
21
+ type Story = StoryObj<typeof meta>;
22
+ export declare const Default: Story;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  argTypes: {
8
8
  children: {
9
9
  control: {
10
- disable: boolean;
10
+ disable: true;
11
11
  };
12
12
  };
13
13
  };
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  onClick: {};
7
7
  startIcon: {
8
8
  control: {
9
- type: string;
9
+ type: "select";
10
10
  };
11
11
  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"];
12
12
  };
@@ -5,24 +5,24 @@ declare const meta: {
5
5
  argTypes: {
6
6
  children: {
7
7
  control: {
8
- disable: boolean;
8
+ disable: true;
9
9
  };
10
10
  };
11
11
  density: {
12
12
  control: {
13
- type: string;
13
+ type: "select";
14
14
  };
15
15
  options: string[];
16
16
  };
17
17
  size: {
18
18
  control: {
19
- type: string;
19
+ type: "select";
20
20
  };
21
21
  options: string[];
22
22
  };
23
23
  color: {
24
24
  control: {
25
- type: string;
25
+ type: "select";
26
26
  };
27
27
  options: string[];
28
28
  };
@@ -1,9 +1,19 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Calendar").CalendarProps>;
2
- export default _default;
3
- export declare const Default: {
4
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Calendar").CalendarProps>;
5
- name: string;
6
- args: {
7
- minValue: undefined;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { Calendar } from "./Calendar";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Calendar;
6
+ argTypes: {
7
+ value: {};
8
+ onValueChange: {};
9
+ minValue: {
10
+ control: {
11
+ type: "select";
12
+ };
13
+ options: string[];
14
+ };
8
15
  };
9
16
  };
17
+ export default meta;
18
+ type Story = StoryObj<typeof meta>;
19
+ export declare const Default: Story;
@@ -5,24 +5,24 @@ declare const meta: {
5
5
  argTypes: {
6
6
  children: {
7
7
  control: {
8
- disable: boolean;
8
+ disable: true;
9
9
  };
10
10
  };
11
11
  color: {
12
12
  control: {
13
- type: string;
13
+ type: "select";
14
14
  };
15
15
  options: string[];
16
16
  };
17
17
  variant: {
18
18
  control: {
19
- type: string;
19
+ type: "select";
20
20
  };
21
21
  options: string[];
22
22
  };
23
23
  paddingBlock: {
24
24
  control: {
25
- type: string;
25
+ type: "select";
26
26
  };
27
27
  options: number[];
28
28
  };
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  argTypes: {
7
7
  children: {
8
8
  control: {
9
- disable: boolean;
9
+ disable: true;
10
10
  };
11
11
  };
12
12
  };
@@ -1,14 +1,6 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Carousel").CarouselProps<unknown>>;
2
- export default _default;
3
- export declare const Default: {
4
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Carousel").CarouselProps<unknown>>;
5
- args: {};
6
- name: string;
7
- parameters: {
8
- docs: {
9
- source: {
10
- code: string;
11
- };
12
- };
13
- };
14
- };
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { Carousel } from "./Carousel";
3
+ declare const meta: Meta<typeof Carousel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -1,5 +1,18 @@
1
1
  import type { StoryObj } from "@storybook/react";
2
- type Story = StoryObj<typeof meta>;
3
- declare const meta: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Checkbox").CheckboxProps>;
2
+ import { Checkbox } from "./Checkbox";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Checkbox;
6
+ argTypes: {
7
+ onCheckedChange: {};
8
+ variant: {
9
+ options: string[];
10
+ control: {
11
+ type: "radio";
12
+ };
13
+ };
14
+ };
15
+ };
4
16
  export default meta;
17
+ type Story = StoryObj<typeof meta>;
5
18
  export declare const Default: Story;
@@ -1,7 +1,9 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./CheckerBoard").CheckerBoardProps>;
2
- export default _default;
3
- export declare const Default: {
4
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./CheckerBoard").CheckerBoardProps>;
5
- args: {};
6
- name: string;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { CheckerBoard } from "./CheckerBoard";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof CheckerBoard;
7
6
  };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Default: Story;
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  language: {
7
7
  options: readonly ["typescript", "tsx", "javascript", "jsx", "vue", "svelte", "plaintext", "json", "bash"];
8
8
  control: {
9
- type: string;
9
+ type: "select";
10
10
  };
11
11
  };
12
12
  };
@@ -29,10 +29,10 @@ export declare const Bash: {
29
29
  };
30
30
  argTypes: {
31
31
  language: {
32
- control: boolean;
32
+ control: false;
33
33
  };
34
34
  code: {
35
- control: boolean;
35
+ control: false;
36
36
  };
37
37
  };
38
38
  };
@@ -1,9 +1,13 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./ColorInput").ColorInputProps>;
2
- export default _default;
3
- export declare const Default: {
4
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./ColorInput").ColorInputProps>;
5
- args: {
6
- value: string;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { ColorInput } from "./ColorInput";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof ColorInput;
6
+ argTypes: {
7
+ onValueChange: {};
8
+ "aria-labelledby": {};
7
9
  };
8
- name: string;
9
10
  };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -6,11 +6,11 @@ declare const meta: {
6
6
  tags: string[];
7
7
  argTypes: {
8
8
  variant: {
9
- control: string;
9
+ control: "select";
10
10
  options: string[];
11
11
  };
12
12
  overlay: {
13
- control: string;
13
+ control: "boolean";
14
14
  };
15
15
  };
16
16
  };
@@ -1,4 +1,22 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./ConjoinedIcons").ConjoinedIconsProps>;
1
+ import { ConjoinedIcons } from "./ConjoinedIcons";
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof ConjoinedIcons;
5
+ argTypes: {
6
+ largeIconName: {
7
+ control: {
8
+ type: "select";
9
+ };
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
+ };
12
+ smallIconName: {
13
+ control: {
14
+ type: "select";
15
+ };
16
+ 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"];
17
+ };
18
+ };
19
+ };
2
20
  export default _default;
3
21
  export declare const Default: {
4
22
  args: {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { EditorOptions } from "@tiptap/core";
3
2
  import { Editor } from "@tiptap/react";
4
3
  import { type DependencyList } from "react";
@@ -7,6 +6,6 @@ export declare function useEditor(options?: Partial<UseEditorOptions>, deps?: De
7
6
  * setTimeout is required to combat tiptap flushsync issue
8
7
  * https://github.com/ueberdosis/tiptap/issues/3764
9
8
  */
10
- export declare function handleEditorFlushSyncError(callback: VoidFunction): NodeJS.Timeout;
9
+ export declare function handleEditorFlushSyncError(callback: VoidFunction): number;
11
10
  type UseEditorOptions = Omit<EditorOptions, "onBeforeCreate" | "onCreate" | "onSelectionUpdate" | "onTransaction" | "onFocus" | "onDestroy">;
12
11
  export {};
@@ -1,28 +1,6 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
2
- zoom: number;
3
- crop: import("react-easy-crop").Point;
4
- image?: string | undefined;
5
- aspect: number;
6
- onZoomChange?: ((zoom: number) => void) | undefined;
7
- onCropChange: (location: import("react-easy-crop").Point) => void;
8
- onCropAreaChange?: ((croppedArea: import("react-easy-crop").Area, croppedAreaPixels: import("react-easy-crop").Area) => void) | undefined;
9
- initialCroppedAreaPixels?: import("react-easy-crop").Area | undefined;
10
- }>;
11
- export default _default;
12
- export declare const Default: {
13
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
14
- zoom: number;
15
- crop: import("react-easy-crop").Point;
16
- image?: string | undefined;
17
- aspect: number;
18
- onZoomChange?: ((zoom: number) => void) | undefined;
19
- onCropChange: (location: import("react-easy-crop").Point) => void;
20
- onCropAreaChange?: ((croppedArea: import("react-easy-crop").Area, croppedAreaPixels: import("react-easy-crop").Area) => void) | undefined;
21
- initialCroppedAreaPixels?: import("react-easy-crop").Area | undefined;
22
- }>;
23
- args: {
24
- image: string;
25
- aspect: number;
26
- };
27
- name: string;
28
- };
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { Cropper } from "./Cropper";
3
+ declare const meta: Meta<typeof Cropper>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  argTypes: {
7
7
  mode: {
8
8
  control: {
9
- type: string;
9
+ type: "select";
10
10
  };
11
11
  options: string[];
12
12
  };
@@ -30,6 +30,7 @@ export declare const Default: {
30
30
  args: {
31
31
  mode: "date";
32
32
  "aria-labelledby": string;
33
+ onValueChange: () => void;
33
34
  };
34
35
  name: string;
35
36
  };
@@ -1,40 +1,46 @@
1
- import type { DialogProps } from "./Dialog";
2
- export declare const DialogActionsStory: {
3
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, DialogProps>;
4
- args: {
5
- open: boolean;
6
- trigger: JSX.Element;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import { type ComponentType } from "react";
3
+ import { Dialog, DialogOptions } from "./";
4
+ export declare const DialogActionsStory: Story;
5
+ export declare const DialogOptionsStory: StoryObj<typeof DialogOptions>;
6
+ declare const meta: {
7
+ title: string;
8
+ component: typeof Dialog;
9
+ subcomponents: {
10
+ DialogContent: ComponentType<unknown>;
11
+ DialogHeader: ComponentType<unknown>;
12
+ DialogOptions: ComponentType<unknown>;
13
+ DialogOptionsItem: ComponentType<unknown>;
7
14
  };
8
- name: string;
9
- };
10
- export declare const DialogOptionsStory: {
11
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Options/DialogOptions").DialogOptionsProps>;
12
- args: {
13
- value: string;
14
- children: JSX.Element;
15
- };
16
- name: string;
17
- };
18
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, DialogProps>;
19
- export default _default;
20
- export declare const Default: {
21
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, DialogProps>;
22
- args: {
23
- open: boolean;
24
- modal: boolean;
25
- size: string;
26
- position: string;
27
- trigger: JSX.Element;
28
- };
29
- name: string;
30
- };
31
- export declare const DialogNestedScrollables: {
32
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, DialogProps>;
33
- args: {
34
- open: boolean;
35
- modal: boolean;
36
- size: string;
37
- position: string;
15
+ argTypes: {
16
+ trigger: {
17
+ control: {
18
+ disable: true;
19
+ };
20
+ };
21
+ size: {
22
+ control: {
23
+ type: "select";
24
+ };
25
+ options: ("small" | "large" | "fullscreen")[];
26
+ };
27
+ children: {
28
+ control: {
29
+ disable: true;
30
+ };
31
+ };
32
+ open: {};
33
+ onOpenChange: {};
34
+ modal: {};
35
+ position: {
36
+ control: {
37
+ type: "select";
38
+ };
39
+ options: ("center" | "bottomRight")[];
40
+ };
38
41
  };
39
- name: string;
40
42
  };
43
+ export default meta;
44
+ type Story = StoryObj<typeof meta>;
45
+ export declare const Default: Story;
46
+ export declare const DialogNestedScrollables: Story;
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  argTypes: {
6
6
  color: {
7
7
  control: {
8
- type: string;
8
+ type: "select";
9
9
  };
10
10
  options: string[];
11
11
  };
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  argTypes: {
9
9
  disabled: {
10
10
  control: {
11
- disable: boolean;
11
+ disable: false;
12
12
  };
13
13
  };
14
14
  };
@@ -1,8 +1,35 @@
1
- import { type DropdownMenuContentProps, type DropdownMenuProps } from "./DropdownMenu";
2
- type Args = DropdownMenuProps & Pick<DropdownMenuContentProps, "minWidth" | "maxHeight">;
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Args>;
4
- export default _default;
5
- export declare const Default: {
6
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Args>;
7
- name: string;
1
+ import type { StoryObj } from "@storybook/react";
2
+ import type { ComponentType } from "react";
3
+ import { DropdownMenu } from "./DropdownMenu";
4
+ declare const meta: {
5
+ title: string;
6
+ component: typeof DropdownMenu;
7
+ subcomponents: {
8
+ DropdownMenuContent: ComponentType<unknown>;
9
+ DropdownMenuItem: ComponentType<unknown>;
10
+ DropdownMenuLabel: ComponentType<unknown>;
11
+ DropdownMenuTrigger: ComponentType<unknown>;
12
+ };
13
+ argTypes: {
14
+ children: {
15
+ control: {
16
+ disable: true;
17
+ };
18
+ };
19
+ minWidth: {
20
+ control: {
21
+ type: "select";
22
+ };
23
+ options: (number | undefined)[];
24
+ };
25
+ maxHeight: {
26
+ control: {
27
+ type: "select";
28
+ };
29
+ options: (number | undefined)[];
30
+ };
31
+ };
8
32
  };
33
+ export default meta;
34
+ type Story = StoryObj<typeof meta>;
35
+ export declare const Default: Story;
@@ -1,13 +1,23 @@
1
1
  /// <reference types="react" />
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./EditableText").EditableTextProps & import("react").RefAttributes<HTMLDivElement>>;
3
- export default _default;
4
- export declare const Default: {
5
- render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./EditableText").EditableTextProps & import("react").RefAttributes<HTMLDivElement>>;
6
- args: {
7
- "aria-label": string;
8
- value: string;
9
- color: string;
10
- variant: string;
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("./EditableText").EditableTextProps & 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
+ variant: {
14
+ control: {
15
+ type: "select";
16
+ };
17
+ options: string[];
18
+ };
11
19
  };
12
- name: string;
13
20
  };
21
+ export default meta;
22
+ type Story = StoryObj<typeof meta>;
23
+ export declare const Default: Story;