@prismicio/editor-ui 0.4.88 → 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 (65) hide show
  1. package/dist/{BarChart-5g5rIx3E.mjs → BarChart-jYMpa1yF.mjs} +1 -1
  2. package/dist/{BarChart-uh63v45P.js → BarChart-nHr2K5Ft.js} +1 -1
  3. package/dist/components/Alert/Alert.stories.d.ts +1 -1
  4. package/dist/components/Alert/AlertContext.d.ts +2 -1
  5. package/dist/components/AnimatedElement/AnimatedElement.d.ts +3 -7
  6. package/dist/components/AnimatedElement/AnimatedElement.stories.d.ts +9 -1
  7. package/dist/components/AnimatedList/AnimatedList.stories.d.ts +1 -0
  8. package/dist/components/BackgroundIcon/BackgroundIcon.stories.d.ts +2 -2
  9. package/dist/components/Badge/Badge.d.ts +10 -2
  10. package/dist/components/Badge/Badge.stories.d.ts +2 -1
  11. package/dist/components/Banner/Banner.stories.d.ts +1 -1
  12. package/dist/components/BarChart/LazyBarChart.d.ts +1 -0
  13. package/dist/components/BaseInput/BaseInput.d.ts +1 -0
  14. package/dist/components/BaseInput/BaseInput.stories.d.ts +1 -0
  15. package/dist/components/Box/Box.d.ts +7 -1
  16. package/dist/components/Box/Box.stories.d.ts +1 -0
  17. package/dist/components/Button/Button.d.ts +1 -1
  18. package/dist/components/Button/Button.stories.d.ts +4 -3
  19. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +1 -0
  20. package/dist/components/Card/Card.d.ts +5 -9
  21. package/dist/components/Card/Card.stories.d.ts +17 -2
  22. package/dist/components/Card/PreviewCard.stories.d.ts +1 -0
  23. package/dist/components/Card/index.d.ts +1 -1
  24. package/dist/components/CodeBlock/LazyCodeBlock.d.ts +1 -0
  25. package/dist/components/ComboBox/ComboBox.stories.d.ts +1 -0
  26. package/dist/components/ConjoinedIcons/ConjoinedIcons.stories.d.ts +2 -2
  27. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  28. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  29. package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -0
  30. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
  31. package/dist/components/Draggable/Draggable.stories.d.ts +1 -0
  32. package/dist/components/EditableText/EditableText.d.ts +1 -0
  33. package/dist/components/EditableText/EditableText.stories.d.ts +1 -0
  34. package/dist/components/Field/Field.stories.d.ts +1 -0
  35. package/dist/components/FieldSet/FieldSet.d.ts +1 -0
  36. package/dist/components/Form/Form.stories.d.ts +1 -0
  37. package/dist/components/Form/FormTextArea.d.ts +1 -0
  38. package/dist/components/HairlineButton/HairlineButton.stories.d.ts +2 -1
  39. package/dist/components/Icon/Icon.d.ts +1 -0
  40. package/dist/components/Icon/Icon.stories.d.ts +1 -0
  41. package/dist/components/Icon/PrismicLogo.d.ts +1 -0
  42. package/dist/components/Icon/iconNames.d.ts +1 -1
  43. package/dist/components/IconButton/IconButton.d.ts +15 -3
  44. package/dist/components/IconButton/IconButton.stories.d.ts +2 -1
  45. package/dist/components/ProgressCircle/ProgressCircle.d.ts +7 -1
  46. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +1 -0
  47. package/dist/components/SearchInput/SearchInput.stories.d.ts +1 -0
  48. package/dist/components/Separator/Separator.d.ts +1 -0
  49. package/dist/components/Separator/Separator.stories.d.ts +1 -0
  50. package/dist/components/Skeleton/Skeleton.stories.d.ts +1 -0
  51. package/dist/components/TextArea/TextArea.d.ts +1 -0
  52. package/dist/components/TextInput/TextInput.d.ts +2 -0
  53. package/dist/components/TextInput/TextInput.stories.d.ts +1 -0
  54. package/dist/components/Toast/ToastContext.d.ts +7 -1
  55. package/dist/components/Toast/index.d.ts +1 -1
  56. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +3 -2
  57. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +1 -0
  58. package/dist/{index-lAhV2wrx.mjs → index-OXjw_74o.mjs} +20593 -15669
  59. package/dist/index-TC6X8wB2.js +694 -0
  60. package/dist/index.cjs.js +1 -1
  61. package/dist/index.d.ts +2 -2
  62. package/dist/index.es.js +150 -151
  63. package/dist/style.css +1 -1
  64. package/package.json +3 -2
  65. package/dist/index-Lwt5AObf.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";
@@ -13,7 +13,8 @@ export interface AlertConfig {
13
13
  color?: Colors;
14
14
  }
15
15
  interface AlertContext {
16
- showAlert: (config: AlertConfig) => void;
16
+ showAlert: (config: AlertConfig) => string;
17
+ removeAlert: (id: string) => void;
17
18
  /** Useful to ignore click events when interacting with the alerts.
18
19
  *
19
20
  * E.g. if you don't want to close a dialog when dismissing an alert. */
@@ -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;
@@ -39,7 +39,7 @@ type DisplayProps = {
39
39
  gap?: ThemeKeys<"space">;
40
40
  alignItems?: "flex-start" | "center" | "flex-end";
41
41
  justifyContent?: "center" | "space-between" | "end";
42
- } & (BoxBlockDisplayProps | BoxGridDisplayProps | BoxFlexDisplayProps);
42
+ } & (BoxBlockDisplayProps | BoxGridDisplayProps | BoxFlexDisplayProps | BoxNoneDisplayProps);
43
43
  type BoxBlockDisplayProps = {
44
44
  display: "block";
45
45
  flexDirection?: never;
@@ -58,6 +58,12 @@ export type BoxFlexDisplayProps = {
58
58
  gridTemplateColumns?: never;
59
59
  gridTemplateRows?: never;
60
60
  };
61
+ type BoxNoneDisplayProps = {
62
+ display: "none";
63
+ flexDirection?: never;
64
+ gridTemplateColumns?: never;
65
+ gridTemplateRows?: never;
66
+ };
61
67
  type Animation = {
62
68
  name?: "fadeIn";
63
69
  duration?: ThemeKeys<"transitionDuration">;
@@ -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,18 +2,17 @@ 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";
9
- variant?: "animated-light" | "animated-dark" | "dashed" | "elevated" | "highlighted" | "outlined" | "selected";
8
+ variant?: "animated-light" | "animated-dark" | "dashed" | "elevated" | "highlighted" | "outlined" | "raised" | "selected";
10
9
  radius?: 4 | 6;
11
10
  gap?: 0 | 4 | 8 | 12 | 16 | 28 | 32;
12
11
  paddingBlock?: 0 | 8 | 12 | 16 | 24 | 28 | 32;
13
12
  paddingInline?: 0 | 8 | 16 | 24 | 32;
14
13
  paddingLeft?: 0 | 16 | 32;
15
14
  paddingRight?: 0 | 16 | 32;
16
- padding?: 0 | 12 | 16 | 32;
15
+ padding?: 0 | 12 | 16 | 32 | 40;
17
16
  sx?: SX;
18
17
  onHoverChange?: (isHovering: boolean) => void;
19
18
  onSelect?: (event: MouseEvent | KeyboardEvent) => void;
@@ -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;
@@ -32,14 +33,14 @@ export declare const Default: {
32
33
  render: (args: {
33
34
  children?: import("react").ReactNode;
34
35
  color?: "grey1" | "grey2" | "grey3" | "indigo2" | "tomato2" | "purple1" | "purple2" | undefined;
35
- variant?: "dashed" | "selected" | "animated-light" | "animated-dark" | "elevated" | "highlighted" | "outlined" | undefined;
36
+ variant?: "dashed" | "selected" | "animated-light" | "animated-dark" | "elevated" | "highlighted" | "outlined" | "raised" | undefined;
36
37
  radius?: 4 | 6 | undefined;
37
38
  gap?: 0 | 4 | 8 | 12 | 16 | 28 | 32 | undefined;
38
39
  paddingBlock?: 0 | 8 | 12 | 16 | 24 | 28 | 32 | undefined;
39
40
  paddingInline?: 0 | 8 | 16 | 24 | 32 | undefined;
40
41
  paddingLeft?: 0 | 16 | 32 | undefined;
41
42
  paddingRight?: 0 | 16 | 32 | undefined;
42
- padding?: 0 | 12 | 16 | 32 | undefined;
43
+ padding?: 0 | 12 | 16 | 32 | 40 | undefined;
43
44
  sx?: import("../../theme").SX | undefined;
44
45
  onHoverChange?: ((isHovering: boolean) => void) | undefined;
45
46
  onSelect?: ((event: import("react").MouseEvent<Element, MouseEvent> | import("react").KeyboardEvent<Element>) => void) | undefined;
@@ -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;