@prismicio/editor-ui 0.4.89-alpha.jp-box-display-none.1 → 0.4.90

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 (64) hide show
  1. package/dist/{BarChart-J-9aaJWh.mjs → BarChart-jYMpa1yF.mjs} +1 -1
  2. package/dist/{BarChart-5DXuOp2r.js → BarChart-nHr2K5Ft.js} +1 -1
  3. package/dist/components/Alert/Alert.stories.d.ts +1 -1
  4. package/dist/components/AnimatedElement/AnimatedElement.d.ts +3 -7
  5. package/dist/components/AnimatedElement/AnimatedElement.stories.d.ts +9 -1
  6. package/dist/components/AnimatedList/AnimatedList.stories.d.ts +1 -0
  7. package/dist/components/BackgroundIcon/BackgroundIcon.stories.d.ts +2 -2
  8. package/dist/components/Badge/Badge.d.ts +10 -2
  9. package/dist/components/Badge/Badge.stories.d.ts +2 -1
  10. package/dist/components/Banner/Banner.stories.d.ts +1 -1
  11. package/dist/components/BarChart/LazyBarChart.d.ts +1 -0
  12. package/dist/components/BaseInput/BaseInput.d.ts +1 -0
  13. package/dist/components/BaseInput/BaseInput.stories.d.ts +1 -0
  14. package/dist/components/Box/Box.d.ts +2 -2
  15. package/dist/components/Box/Box.stories.d.ts +1 -0
  16. package/dist/components/Button/Button.d.ts +1 -1
  17. package/dist/components/Button/Button.stories.d.ts +4 -3
  18. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +1 -0
  19. package/dist/components/Card/Card.d.ts +3 -7
  20. package/dist/components/Card/Card.stories.d.ts +15 -0
  21. package/dist/components/Card/PreviewCard.stories.d.ts +1 -0
  22. package/dist/components/Card/index.d.ts +1 -1
  23. package/dist/components/CodeBlock/LazyCodeBlock.d.ts +1 -0
  24. package/dist/components/ComboBox/ComboBox.stories.d.ts +1 -0
  25. package/dist/components/ConjoinedIcons/ConjoinedIcons.stories.d.ts +2 -2
  26. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  27. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  28. package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -0
  29. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
  30. package/dist/components/Draggable/Draggable.stories.d.ts +1 -0
  31. package/dist/components/EditableText/EditableText.d.ts +1 -0
  32. package/dist/components/EditableText/EditableText.stories.d.ts +1 -0
  33. package/dist/components/Field/Field.stories.d.ts +1 -0
  34. package/dist/components/FieldSet/FieldSet.d.ts +1 -0
  35. package/dist/components/Form/Form.stories.d.ts +1 -0
  36. package/dist/components/Form/FormTextArea.d.ts +1 -0
  37. package/dist/components/HairlineButton/HairlineButton.stories.d.ts +2 -1
  38. package/dist/components/Icon/Icon.d.ts +1 -0
  39. package/dist/components/Icon/Icon.stories.d.ts +1 -0
  40. package/dist/components/Icon/PrismicLogo.d.ts +1 -0
  41. package/dist/components/Icon/iconNames.d.ts +1 -1
  42. package/dist/components/IconButton/IconButton.d.ts +15 -3
  43. package/dist/components/IconButton/IconButton.stories.d.ts +2 -1
  44. package/dist/components/ProgressCircle/ProgressCircle.d.ts +7 -1
  45. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +1 -0
  46. package/dist/components/SearchInput/SearchInput.stories.d.ts +1 -0
  47. package/dist/components/Separator/Separator.d.ts +1 -0
  48. package/dist/components/Separator/Separator.stories.d.ts +1 -0
  49. package/dist/components/Skeleton/Skeleton.stories.d.ts +1 -0
  50. package/dist/components/TextArea/TextArea.d.ts +1 -0
  51. package/dist/components/TextInput/TextInput.d.ts +2 -0
  52. package/dist/components/TextInput/TextInput.stories.d.ts +1 -0
  53. package/dist/components/Toast/ToastContext.d.ts +7 -1
  54. package/dist/components/Toast/index.d.ts +1 -1
  55. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +3 -2
  56. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +1 -0
  57. package/dist/{index-GyaARmwW.mjs → index-OXjw_74o.mjs} +20592 -15676
  58. package/dist/index-TC6X8wB2.js +694 -0
  59. package/dist/index.cjs.js +1 -1
  60. package/dist/index.d.ts +2 -2
  61. package/dist/index.es.js +150 -151
  62. package/dist/style.css +1 -1
  63. package/package.json +3 -3
  64. package/dist/index--GXDPe1K.js +0 -677
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  argTypes: {
8
8
  icon: {
9
9
  control: "select";
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
11
11
  };
12
12
  color: {
13
13
  control: "select";
@@ -16,17 +16,13 @@ export interface AnimatedElementProps {
16
16
  exitDuration?: AnimationDuration;
17
17
  focusable?: boolean;
18
18
  sx?: SX;
19
+ animateOnMount?: boolean;
19
20
  }
21
+ type AnimationDuration = ThemeKeys<"transitionDuration">;
22
+ type OnlyChild = ReactElement | null | undefined | false | 0;
20
23
  /**
21
24
  * Animates a single element in & out based on whether it's currently rendered.
22
25
  * An exit then enter animation will also play sequentially if the element's key changes.
23
- * Unlike React CSSTransition(Group), this is based on CSS animations rather than a bunch of transition classes
24
- * and the element doesn't have to be evaluated/rendered at all if it's not currently shown.
25
- *
26
- * If you only need to animate a single element's entrance (and not exit/swap), you don't need this component:
27
- * you can just set a CSS animation on the element styles.
28
26
  */
29
27
  export declare const AnimatedElement: (props: AnimatedElementProps & import("react").RefAttributes<HTMLDivElement | null>) => ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
30
- type AnimationDuration = ThemeKeys<"transitionDuration">;
31
- type OnlyChild = ReactElement | null | undefined | false | 0;
32
28
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: import("./AnimatedElement").AnimatedElementProps & import("react").RefAttributes<HTMLDivElement | null>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
@@ -20,13 +21,14 @@ export declare const Default: {
20
21
  exitDuration?: 0 | 100 | 75 | 150 | 200 | 250 | 300 | 400 | undefined;
21
22
  focusable?: boolean | undefined;
22
23
  sx?: import("../../theme").SX | undefined;
24
+ animateOnMount?: boolean | undefined;
23
25
  ref?: import("react").Ref<HTMLDivElement | null> | undefined;
24
26
  key?: import("react").Key | null | undefined;
25
27
  }) => JSX.Element;
26
28
  args: {
27
29
  children: null;
28
30
  enterDuration: 300;
29
- exitDuration: 100;
31
+ exitDuration: 300;
30
32
  };
31
33
  argTypes: {
32
34
  children: {
@@ -59,6 +61,12 @@ export declare const Default: {
59
61
  name: string;
60
62
  offset: number;
61
63
  };
64
+ "expand-vertical": {
65
+ name: string;
66
+ };
67
+ "expand-horizontal": {
68
+ name: string;
69
+ };
62
70
  };
63
71
  };
64
72
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AnimatedList } from "./AnimatedList";
2
3
  declare const meta: {
3
4
  title: string;
@@ -9,7 +9,7 @@ declare const meta: {
9
9
  };
10
10
  name: {
11
11
  control: "select";
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
13
13
  };
14
14
  size: {
15
15
  control: {
@@ -27,7 +27,7 @@ export default meta;
27
27
  export declare const Default: {
28
28
  name: string;
29
29
  render: (args: {
30
- name: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap";
30
+ name: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "github" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap";
31
31
  color?: ("white" | "green" | "grey" | "indigo" | "purple" | "tomato" | "amber") | undefined;
32
32
  size?: "small" | "medium" | "large" | "extraSmall" | undefined;
33
33
  iconSize?: "small" | "medium" | "large" | undefined;
@@ -1,7 +1,7 @@
1
1
  import { type MouseEvent, type ReactNode } from "react";
2
2
  import type { SX } from "../../theme";
3
3
  import { type IconName } from "../Icon";
4
- export interface BadgeProps {
4
+ type BaseProps = {
5
5
  title: ReactNode;
6
6
  color?: "grey" | "green" | "amber" | "purple" | "tomato" | "indigo";
7
7
  size?: "large" | "medium" | "small";
@@ -9,11 +9,19 @@ export interface BadgeProps {
9
9
  icon?: IconName;
10
10
  selected?: boolean;
11
11
  sx?: SX;
12
+ };
13
+ type InteractiveProps = {
14
+ interactive?: never;
12
15
  onClick?: (event?: MouseEvent<HTMLDivElement>) => void;
13
16
  onClose?: () => void;
14
17
  onMouseEnter?: () => void;
15
18
  onMouseLeave?: () => void;
16
19
  /** Makes the badge content editable, fires onBlur when the value has changed */
17
20
  onEdit?: (newTitle: string) => void | Promise<void>;
18
- }
21
+ };
22
+ type NonInteractiveProps = {
23
+ interactive: false;
24
+ };
25
+ export type BadgeProps = BaseProps & (InteractiveProps | NonInteractiveProps);
19
26
  export declare const Badge: (props: BadgeProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
27
+ export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -19,7 +20,7 @@ declare const meta: {
19
20
  control: {
20
21
  type: "select";
21
22
  };
22
- 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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
23
24
  };
24
25
  onClose: {
25
26
  control: {
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  };
12
12
  iconName: {
13
13
  control: "select";
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
15
15
  };
16
16
  };
17
17
  };
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const LazyBarChart: import("react").LazyExoticComponent<typeof import("./BarChart").BarChart>;
@@ -36,6 +36,7 @@ export interface BaseInputProps {
36
36
  * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns
37
37
  */
38
38
  autoFocus?: boolean;
39
+ "data-tag"?: string;
39
40
  }
40
41
  interface Padding {
41
42
  input?: PaddingInline | PaddingLeftRight;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -58,8 +58,8 @@ export type BoxFlexDisplayProps = {
58
58
  gridTemplateColumns?: never;
59
59
  gridTemplateRows?: never;
60
60
  };
61
- export type BoxNoneDisplayProps = {
62
- display?: "none";
61
+ type BoxNoneDisplayProps = {
62
+ display: "none";
63
63
  flexDirection?: never;
64
64
  gridTemplateColumns?: never;
65
65
  gridTemplateRows?: never;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  type Story = StoryObj<typeof meta>;
3
4
  declare const meta: {
@@ -6,7 +6,7 @@ export interface ButtonProps {
6
6
  /**
7
7
  * If true, children must be a valid ReactElement and it will be used as the
8
8
  * top level component instead of <button>.
9
- * Note that said component must be implemented with forwardRef() and spread/provide all its props to its first child VNode.
9
+ * Note that said component must be implemented with forwardRef() and spread/provide all its props to its first child ReactNode.
10
10
  */
11
11
  asChild?: boolean;
12
12
  /** Note that black & white are only supported for the invisible button */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: import("./Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
@@ -7,7 +8,7 @@ declare const meta: {
7
8
  control: {
8
9
  type: "select";
9
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
11
12
  };
12
13
  };
13
14
  };
@@ -25,8 +26,8 @@ export declare const Default: {
25
26
  textWeight?: "bold" | "normal" | undefined;
26
27
  radius?: "normal" | "full" | undefined;
27
28
  sx?: import("../../theme").SX | undefined;
28
- startIcon?: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap" | undefined;
29
- endIcon?: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap" | undefined;
29
+ startIcon?: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "github" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap" | undefined;
30
+ endIcon?: "translate" | "visibility" | "search" | "link" | "description" | "code" | "add" | "alert" | "arrowBack" | "arrowDownward" | "arrowDropDown" | "arrowDropDownCircle" | "arrowForward" | "arrowUpward" | "attachFile" | "autoFixHigh" | "autorenew" | "biToggle" | "block" | "calendarToday" | "centerFocusWeak" | "check" | "checkBox" | "checkBoxOutlinedBlank" | "chevronLeft" | "chevronRight" | "close" | "cloud" | "cloudUpload" | "colorLens" | "contentCopy" | "contentPaste" | "createNewFolder" | "creditCard" | "crop" | "cropLandscape" | "cropPortrait" | "dataObject" | "dataUsage" | "database" | "dateRange" | "delete" | "desktopWindows" | "dragIndicator" | "driveFileMove" | "edit" | "event" | "expandLess" | "expandMore" | "firstPage" | "folder" | "folderManaged" | "formatBold" | "formatClear" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatTextDirectionRToL" | "github" | "groupWork" | "help" | "hideImage" | "image" | "imageSearch" | "insertDriveFile" | "inventory" | "invite" | "javascript" | "json" | "keyboardArrowDown" | "keyboardArrowUp" | "label" | "language" | "linkOff" | "lock" | "logout" | "looks1" | "looks2" | "looks3" | "looks4" | "looks5" | "looks6" | "menuBook" | "migrationRelease" | "moreVert" | "moveDown" | "moveLeft" | "moveRight" | "moveUp" | "multipleStop" | "musicNote" | "notStarted" | "notes" | "openInFull" | "openInNew" | "outbound" | "people" | "phoneIphone" | "photo" | "photoCamera" | "pin" | "place" | "playCircle" | "preview" | "prismic" | "public" | "receiptLong" | "refresh" | "save" | "schedule" | "security" | "sentimentSatisfied" | "settings" | "settingsEthernet" | "smartDisplay" | "svelte" | "table" | "tabletMac" | "tag" | "terminal" | "textFields" | "thumbDown" | "thumbUp" | "title" | "toggleOff" | "tune" | "typescript" | "unfoldMore" | "unsplash" | "upload" | "videocam" | "viewDay" | "vue" | "warning" | "zoomOutMap" | undefined;
30
31
  renderStartIcon?: ((icon: import("react").ReactNode) => import("react").ReactNode) | undefined;
31
32
  renderEndIcon?: ((icon: import("react").ReactNode) => import("react").ReactNode) | undefined;
32
33
  invisible?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: import("./ButtonGroup").ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
@@ -2,7 +2,6 @@ import { type KeyboardEvent, type MouseEvent, type ReactNode } from "react";
2
2
  import { type SX, type ThemeKeys } from "../../theme";
3
3
  import { type ImageProps } from "../Image";
4
4
  import { type TextProps } from "../Text";
5
- import { type VideoProps } from "../Video";
6
5
  export interface CardProps {
7
6
  children?: ReactNode;
8
7
  color?: "grey1" | "grey2" | "grey3" | "indigo2" | "purple1" | "purple2" | "tomato2";
@@ -41,17 +40,14 @@ interface CardContentProps {
41
40
  children?: ReactNode;
42
41
  sx?: SX;
43
42
  gap?: ThemeKeys<"space", 0 | 4 | 8 | 12 | 16 | 24>;
44
- padding?: 0 | 16 | 32;
43
+ padding?: 0 | 12 | 16 | 32;
45
44
  }
46
45
  export declare function CardContent(props: CardContentProps): JSX.Element;
47
46
  interface CardImageProps extends ImageProps {
48
- height: 280;
47
+ height: 280 | "100%";
48
+ hasBorderBottom?: boolean;
49
49
  }
50
50
  export declare function CardImage(props: CardImageProps): JSX.Element;
51
- interface CardVideoProps extends VideoProps {
52
- height: 280;
53
- }
54
- export declare function CardVideo(props: CardVideoProps): JSX.Element;
55
51
  interface CardFooterProps {
56
52
  children?: ReactNode;
57
53
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: import("./Card").CardProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
@@ -67,3 +68,17 @@ export declare const ProgressCard: {
67
68
  };
68
69
  };
69
70
  };
71
+ export declare const InvoicePreviewCard: {
72
+ args: {
73
+ children: JSX.Element;
74
+ color: "grey2";
75
+ paddingBlock: 16;
76
+ paddingInline: 24;
77
+ variant: "outlined";
78
+ };
79
+ parameters: {
80
+ controls: {
81
+ include: never[];
82
+ };
83
+ };
84
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PreviewCard } from "./PreviewCard";
2
3
  declare const meta: {
3
4
  title: string;
@@ -1,2 +1,2 @@
1
- export { Card, CardContent, CardFooter, CardHeader, CardHeaderActions, CardHeaderTitle, CardImage, type CardProps, CardVideo, } from "./Card";
1
+ export { Card, CardContent, CardFooter, CardHeader, CardHeaderActions, CardHeaderTitle, CardImage, type CardProps, } from "./Card";
2
2
  export { PreviewCard, PreviewContent, PreviewImage } from "./PreviewCard";
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const LazyCodeBlock: import("react").LazyExoticComponent<typeof import("./CodeBlock").CodeBlock>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -7,13 +7,13 @@ declare const _default: {
7
7
  control: {
8
8
  type: "select";
9
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
11
11
  };
12
12
  smallIconName: {
13
13
  control: {
14
14
  type: "select";
15
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
17
17
  };
18
18
  };
19
19
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface DatePickerProps {
2
3
  value: Date | undefined;
3
4
  minValue?: "today";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  type Story = StoryObj<typeof meta>;
3
4
  declare const meta: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type DateRange } from "@prismicio/editor-support/Date";
2
3
  export interface DateRangePickerProps<Value extends DateRange | null> {
3
4
  value: Value;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DateRange } from "@prismicio/editor-support/Date";
2
3
  import type { StoryObj } from "@storybook/react";
3
4
  declare const meta: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type SX, type ThemeKeys } from "../../theme";
2
3
  import { textVariantMapping } from "../Text";
3
4
  export interface EditableTextProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: (props: import("./Field").FieldProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
@@ -12,6 +12,7 @@ export interface FieldSetProps {
12
12
  */
13
13
  header?: ReactNode;
14
14
  variant?: Variant;
15
+ endAdornment?: ReactNode;
15
16
  }
16
17
  export declare function FieldSet(props: FieldSetProps): JSX.Element;
17
18
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Form } from "./";
2
3
  declare const meta: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { SX } from "../../theme";
2
3
  import { type TextAreaProps } from "../TextArea/TextArea";
3
4
  export interface FormTextAreaProps extends TextAreaProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -7,7 +8,7 @@ declare const meta: {
7
8
  control: {
8
9
  type: "select";
9
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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
11
12
  };
12
13
  variant: {
13
14
  control: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type SX, type ThemeKeys } from "../../theme";
2
3
  import type { IconName } from "./iconNames";
3
4
  export interface IconProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const PrismicLogo: import("react").MemoExoticComponent<() => JSX.Element>;
@@ -1,2 +1,2 @@
1
- export declare const iconNames: 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", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
1
+ export declare const iconNames: 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", "github", "groupWork", "help", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "logout", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "moveDown", "moveLeft", "moveRight", "moveUp", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "photoCamera", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "table", "tabletMac", "tag", "terminal", "textFields", "thumbDown", "thumbUp", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
2
2
  export type IconName = (typeof iconNames)[number];