@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.
- package/dist/components/ActionList/ActionList.stories.d.ts +22 -426
- package/dist/components/Alert/Alert.stories.d.ts +4 -4
- package/dist/components/AnimatedElement/AnimatedElement.stories.d.ts +4 -4
- package/dist/components/AnimatedList/AnimatedList.stories.d.ts +6 -6
- package/dist/components/Avatar/Avatar.stories.d.ts +33 -11
- package/dist/components/BackgroundIcon/BackgroundIcon.stories.d.ts +9 -4
- package/dist/components/Badge/Badge.stories.d.ts +31 -11
- package/dist/components/Banner/Banner.stories.d.ts +2 -2
- package/dist/components/BaseInput/BaseInput.stories.d.ts +35 -7
- package/dist/components/BlankSlate/BlankSlate.stories.d.ts +21 -6
- package/dist/components/Box/Box.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +4 -4
- package/dist/components/Calendar/Calendar.stories.d.ts +17 -7
- package/dist/components/Card/Card.stories.d.ts +4 -4
- package/dist/components/Card/PreviewCard.stories.d.ts +1 -1
- package/dist/components/Carousel/Carousel.stories.d.ts +6 -14
- package/dist/components/Checkbox/Checkbox.stories.d.ts +15 -2
- package/dist/components/CheckerBoard/CheckerBoard.stories.d.ts +8 -6
- package/dist/components/CodeBlock/CodeBlock.stories.d.ts +3 -3
- package/dist/components/ColorInput/ColorInput.stories.d.ts +11 -7
- package/dist/components/ComboBox/ComboBox.stories.d.ts +2 -2
- package/dist/components/ConjoinedIcons/ConjoinedIcons.stories.d.ts +19 -1
- package/dist/components/ContentEditable/useEditor.d.ts +1 -2
- package/dist/components/Cropper/Cropper.stories.d.ts +6 -28
- package/dist/components/DateInput/DateInput.stories.d.ts +2 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +43 -37
- package/dist/components/Dot/Dot.stories.d.ts +1 -1
- package/dist/components/Draggable/Draggable.stories.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +34 -7
- package/dist/components/EditableText/EditableText.stories.d.ts +20 -10
- package/dist/components/ErrorBoundary/ErrorBoundary.stories.d.ts +14 -7
- package/dist/components/Field/Field.stories.d.ts +4 -4
- package/dist/components/FieldSet/FieldSet.stories.d.ts +30 -7
- package/dist/components/FileUpload/FileDropZone.d.ts +1 -0
- package/dist/components/FileUpload/FileDropZone.stories.d.ts +9 -9
- package/dist/components/FilterField/FilterField.stories.d.ts +8 -17
- package/dist/components/Form/Form.stories.d.ts +1 -1
- package/dist/components/Gradient/Gradient.stories.d.ts +13 -14
- package/dist/components/HairlineButton/HairlineButton.stories.d.ts +28 -11
- package/dist/components/Icon/Icon.stories.d.ts +20 -8
- package/dist/components/IconButton/IconButton.stories.d.ts +15 -7
- package/dist/components/Image/Image.stories.d.ts +20 -9
- package/dist/components/LazyRender/LazyRender.stories.d.ts +15 -6
- package/dist/components/Line/Line.stories.d.ts +2 -2
- package/dist/components/List/UnorderedList.stories.d.ts +1 -1
- package/dist/components/MediaCard/MediaCard.stories.d.ts +2 -2
- package/dist/components/NumberInput/NumberInput.stories.d.ts +27 -8
- package/dist/components/OverflowContainer/OverflowContainer.stories.d.ts +2 -17
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +5 -94
- package/dist/components/ProgressCircle/ProgressCircle.stories.d.ts +9 -5
- package/dist/components/Radio/RadioGroup.stories.d.ts +10 -8
- package/dist/components/ScrollArea/ScrollArea.stories.d.ts +21 -17
- package/dist/components/SearchInput/SearchInput.stories.d.ts +14 -9
- package/dist/components/Select/Select.stories.d.ts +10 -10
- package/dist/components/SelectCard/SelectCard.stories.d.ts +8 -11
- package/dist/components/Separator/Separator.stories.d.ts +3 -3
- package/dist/components/Skeleton/Skeleton.stories.d.ts +5 -5
- package/dist/components/Slice/Slice.stories.d.ts +10 -45
- package/dist/components/Slider/Slider.stories.d.ts +10 -9
- package/dist/components/Switch/Switch.stories.d.ts +2 -2
- package/dist/components/Table/Table.stories.d.ts +15 -5
- package/dist/components/Tag/Tag.stories.d.ts +14 -10
- package/dist/components/TagField/TagField.stories.d.ts +8 -11
- package/dist/components/Text/Text.stories.d.ts +6 -13
- package/dist/components/TextArea/TextArea.stories.d.ts +6 -9
- package/dist/components/TextInput/TextInput.stories.d.ts +27 -7
- package/dist/components/Toast/Toast.stories.d.ts +65 -6
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +4 -4
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +5 -5
- package/dist/components/Toolbar/Toolbar.stories.d.ts +25 -6
- package/dist/components/Video/Video.stories.d.ts +2 -2
- package/dist/components/Window/Window.stories.d.ts +1 -1
- package/dist/index.cjs.js +169 -169
- package/dist/index.es.js +6000 -5954
- package/dist/style.css +1 -1
- 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:
|
|
9
|
+
control: "select";
|
|
10
10
|
options: string[];
|
|
11
11
|
};
|
|
12
12
|
iconName: {
|
|
13
|
-
control:
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
@@ -6,7 +6,7 @@ declare const meta: {
|
|
|
6
6
|
onClick: {};
|
|
7
7
|
startIcon: {
|
|
8
8
|
control: {
|
|
9
|
-
type:
|
|
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:
|
|
8
|
+
disable: true;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
density: {
|
|
12
12
|
control: {
|
|
13
|
-
type:
|
|
13
|
+
type: "select";
|
|
14
14
|
};
|
|
15
15
|
options: string[];
|
|
16
16
|
};
|
|
17
17
|
size: {
|
|
18
18
|
control: {
|
|
19
|
-
type:
|
|
19
|
+
type: "select";
|
|
20
20
|
};
|
|
21
21
|
options: string[];
|
|
22
22
|
};
|
|
23
23
|
color: {
|
|
24
24
|
control: {
|
|
25
|
-
type:
|
|
25
|
+
type: "select";
|
|
26
26
|
};
|
|
27
27
|
options: string[];
|
|
28
28
|
};
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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:
|
|
8
|
+
disable: true;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
color: {
|
|
12
12
|
control: {
|
|
13
|
-
type:
|
|
13
|
+
type: "select";
|
|
14
14
|
};
|
|
15
15
|
options: string[];
|
|
16
16
|
};
|
|
17
17
|
variant: {
|
|
18
18
|
control: {
|
|
19
|
-
type:
|
|
19
|
+
type: "select";
|
|
20
20
|
};
|
|
21
21
|
options: string[];
|
|
22
22
|
};
|
|
23
23
|
paddingBlock: {
|
|
24
24
|
control: {
|
|
25
|
-
type:
|
|
25
|
+
type: "select";
|
|
26
26
|
};
|
|
27
27
|
options: number[];
|
|
28
28
|
};
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
3
|
-
declare const meta:
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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:
|
|
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:
|
|
32
|
+
control: false;
|
|
33
33
|
};
|
|
34
34
|
code: {
|
|
35
|
-
control:
|
|
35
|
+
control: false;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
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):
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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:
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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;
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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;
|