@harpercollins/harpercollins-design-system 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/cjs/index.cjs +393 -412
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/types/src/components/data-display/Badge/Badge.d.ts +2 -6
  4. package/dist/cjs/types/src/components/data-display/Badge/Badge.stories.d.ts +0 -2
  5. package/dist/cjs/types/src/components/data-display/List/ListSubheader.d.ts +2 -0
  6. package/dist/cjs/types/src/components/global/AppBar/AppBar.d.ts +18 -3
  7. package/dist/cjs/types/src/components/global/AppBar/testdata.d.ts +2 -1
  8. package/dist/cjs/types/src/components/global/Logo/Logo.d.ts +3 -2
  9. package/dist/cjs/types/src/components/global/Logo/Logo.stories.d.ts +3 -0
  10. package/dist/cjs/types/src/components/global/Logo/LogoMini.d.ts +3 -0
  11. package/dist/cjs/types/src/components/global/Logo/LogoMini.stories.d.ts +9 -0
  12. package/dist/cjs/types/src/components/index.d.ts +5 -2
  13. package/dist/cjs/types/src/components/navigation/Menu/MenuHeading.d.ts +4 -4
  14. package/dist/cjs/types/src/components/navigation/Menu/MenuItem.d.ts +1 -1
  15. package/dist/cjs/types/src/components/overlay/Drawer/Drawer.d.ts +2 -0
  16. package/dist/cjs/types/src/components/overlay/Drawer/Drawer.stories.d.ts +1 -0
  17. package/dist/esm/index.js +393 -412
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/types/src/components/data-display/Badge/Badge.d.ts +2 -6
  20. package/dist/esm/types/src/components/data-display/Badge/Badge.stories.d.ts +0 -2
  21. package/dist/esm/types/src/components/data-display/List/ListSubheader.d.ts +2 -0
  22. package/dist/esm/types/src/components/global/AppBar/AppBar.d.ts +18 -3
  23. package/dist/esm/types/src/components/global/AppBar/testdata.d.ts +2 -1
  24. package/dist/esm/types/src/components/global/Logo/Logo.d.ts +3 -2
  25. package/dist/esm/types/src/components/global/Logo/Logo.stories.d.ts +3 -0
  26. package/dist/esm/types/src/components/global/Logo/LogoMini.d.ts +3 -0
  27. package/dist/esm/types/src/components/global/Logo/LogoMini.stories.d.ts +9 -0
  28. package/dist/esm/types/src/components/index.d.ts +5 -2
  29. package/dist/esm/types/src/components/navigation/Menu/MenuHeading.d.ts +4 -4
  30. package/dist/esm/types/src/components/navigation/Menu/MenuItem.d.ts +1 -1
  31. package/dist/esm/types/src/components/overlay/Drawer/Drawer.d.ts +2 -0
  32. package/dist/esm/types/src/components/overlay/Drawer/Drawer.stories.d.ts +1 -0
  33. package/package.json +10 -10
  34. package/dist/cjs/types/src/components/global/Logo/index.d.ts +0 -2
  35. package/dist/esm/types/src/components/global/Logo/index.d.ts +0 -2
  36. package/dist/index.d.ts +0 -363
@@ -1,7 +1,3 @@
1
- import React from "react";
2
- interface BadgeInternalProps extends React.HTMLAttributes<HTMLElement> {
3
- size?: "small" | "medium" | "xsmall" | "xxsmall";
4
- kind?: "default" | "danger" | "warning" | "grey";
5
- }
6
- declare function Badge({ children, ...props }: React.PropsWithChildren<BadgeInternalProps>): React.ReactElement;
1
+ import { BadgeProps } from "@mui/joy";
2
+ declare function Badge(props: BadgeProps): import("react/jsx-runtime").JSX.Element;
7
3
  export default Badge;
@@ -4,5 +4,3 @@ declare const meta: Meta<typeof Badge>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Badge>;
6
6
  export declare const Default: Story;
7
- export declare const Danger: Story;
8
- export declare const Warning: Story;
@@ -0,0 +1,2 @@
1
+ import { ListSubheader } from "@mui/joy";
2
+ export default ListSubheader;
@@ -1,5 +1,6 @@
1
- export declare const AppBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
2
- export declare const LogoLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
1
+ import React from "react";
2
+ export declare const AppBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
3
+ export declare const LogoLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
3
4
  interface AppBarProps {
4
5
  leftSide?: JSX.Element;
5
6
  rightSide?: JSX.Element;
@@ -17,6 +18,20 @@ interface AppBarProps {
17
18
  href: string;
18
19
  text: string;
19
20
  };
21
+ menuPrimary: {
22
+ label: string;
23
+ url: string;
24
+ subMenu: {
25
+ heading: string;
26
+ items: {
27
+ label: string;
28
+ url: string;
29
+ }[];
30
+ }[];
31
+ }[];
32
+ mobileMenuPrimary: JSX.Element;
33
+ mobileMenuSecondary: JSX.Element;
34
+ adminMenu?: JSX.Element;
20
35
  }
21
- declare function AppBar({ apps, currentApp, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
36
+ declare function AppBar({ apps, currentApp, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, menuPrimary, mobileMenuSecondary, mobileMenuPrimary, adminMenu, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
22
37
  export default AppBar;
@@ -4,8 +4,9 @@ export declare const workspaces: {
4
4
  settings_url: string;
5
5
  is_admin: boolean;
6
6
  }[];
7
- export declare function WorkspacesMenu(): import("react/jsx-runtime").JSX.Element;
7
+ export declare function WorkspacesMenu(): import("react/jsx-runtime").JSX.Element[];
8
8
  export declare function MyAccountMenu(): import("react/jsx-runtime").JSX.Element;
9
9
  export declare function Apps(): import("react/jsx-runtime").JSX.Element;
10
10
  export declare function CurrentApp(): import("react/jsx-runtime").JSX.Element;
11
+ export declare function MainMenuMobile(): import("react/jsx-runtime").JSX.Element;
11
12
  export declare function MockAppBar(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,3 @@
1
- declare function Logo(): import("react/jsx-runtime").JSX.Element;
2
- export default Logo;
1
+ import { LogoProps } from "./types";
2
+ declare function LogoSVG({ width, fillColour }: LogoProps): JSX.Element;
3
+ export default LogoSVG;
@@ -4,3 +4,6 @@ declare const meta: Meta<typeof Logo>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Logo>;
6
6
  export declare const Default: Story;
7
+ export declare const Large: Story;
8
+ export declare const White: Story;
9
+ export declare const DarkBlue: Story;
@@ -0,0 +1,3 @@
1
+ import { LogoProps } from "./types";
2
+ declare function LogoSVGMini({ width, fillColour }: LogoProps): JSX.Element;
3
+ export default LogoSVGMini;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from "@storybook/react";
2
+ import LogoMini from "./LogoMini";
3
+ declare const meta: Meta<typeof LogoMini>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LogoMini>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const White: Story;
9
+ export declare const DarkBlue: Story;
@@ -29,8 +29,11 @@ import List from "./data-display/List/List";
29
29
  import ListItem from "./data-display/List/ListItem";
30
30
  import ListItemButton from "./data-display/List/ListItemButton";
31
31
  import ListItemDecorator from "./data-display/List/ListItemDecorator";
32
+ import ListSubheader from "./data-display/List/ListSubheader";
33
+ import ListItemContent from "./data-display/List/ListItemContent";
32
34
  import LoadingSpinner from "./feedback/LoadingSpinner";
33
- import Logo from "./global/Logo";
35
+ import Logo from "./global/Logo/Logo";
36
+ import LogoMini from "./global/Logo/LogoMini";
34
37
  import Menu from "./navigation/Menu";
35
38
  import MenuButton from "./navigation/Menu/MenuButton";
36
39
  import MenuHeading from "./navigation/Menu/MenuHeading";
@@ -50,4 +53,4 @@ import TextField from "./inputs/TextField";
50
53
  import ToastMessages from "./feedback/ToastMessages";
51
54
  import Tooltip from "./data-display/Tooltip";
52
55
  import Typography from "./data-display/Typography";
53
- export { Accordion, AppBar, Autocomplete, AutocompleteSelectMultiple, Badge, Box, Breadcrumb, Button, Card, CardActions, CardContent, CardCover, CardOverflow, Checkbox, Chip, Container, Divider, Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, IconButton, Input, Layout, List, ListItem, ListItemButton, ListItemDecorator, LoadingSpinner, Logo, Menu, MenuButton, MenuHeading, MenuItem, ProgressBar, ProgressCircle, RadioButton, RadioGroup, ReadMore, RelativeTime, StatusIcon, Table, Tabs, Textarea, TextBlock, TextField, ToastMessages, Tooltip, Typography, };
56
+ export { Accordion, AppBar, Autocomplete, AutocompleteSelectMultiple, Badge, Box, Breadcrumb, Button, Card, CardActions, CardContent, CardCover, CardOverflow, Checkbox, Chip, Container, Divider, Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, IconButton, Input, Layout, List, ListItem, ListItemButton, ListItemContent, ListItemDecorator, ListSubheader, LoadingSpinner, Logo, LogoMini, Menu, MenuButton, MenuHeading, MenuItem, ProgressBar, ProgressCircle, RadioButton, RadioGroup, ReadMore, RelativeTime, StatusIcon, Table, Tabs, Textarea, TextBlock, TextField, ToastMessages, Tooltip, Typography, };
@@ -1,13 +1,13 @@
1
1
  declare const MenuHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@mui/joy").ListItemSlotsAndSlotProps & {
2
2
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").ListItemPropsColorOverrides>;
3
- children?: import("react").ReactNode;
4
- startAction?: import("react").ReactNode;
5
- endAction?: import("react").ReactNode;
3
+ children?: React.ReactNode;
4
+ startAction?: React.ReactNode;
5
+ endAction?: React.ReactNode;
6
6
  nested?: boolean;
7
7
  sticky?: boolean;
8
8
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ListItemPropsVariantOverrides>;
9
9
  sx?: import("@mui/joy/styles/types").SxProps;
10
10
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
11
11
  ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
12
- }, "children" | "color" | "sticky" | keyof import("@mui/joy").ListItemSlotsAndSlotProps | "startAction" | "endAction" | "nested" | "variant" | "sx">, never>> & string & Omit<import("@mui/types").OverridableComponent<import("@mui/joy").ListItemTypeMap<{}, "li">>, keyof import("react").Component<any, {}, any>>;
12
+ }, "children" | "color" | "sticky" | "sx" | "variant" | keyof import("@mui/joy").ListItemSlotsAndSlotProps | "startAction" | "endAction" | "nested">, never>> & string & Omit<import("@mui/types").OverridableComponent<import("@mui/joy").ListItemTypeMap<{}, "li">>, keyof import("react").Component<any, {}, any>>;
13
13
  export default MenuHeading;
@@ -1,4 +1,4 @@
1
1
  declare const StyledMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("@mui/joy").ListItemButtonProps, "slots" | "slotProps"> & import("@mui/joy").MenuItemSlotsAndSlotProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
- }, "children" | "style" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "action" | "selected" | "orientation" | "variant" | "sx" | "component" | "focusVisibleClassName" | keyof import("@mui/joy").MenuItemSlotsAndSlotProps>, never>> & string & Omit<import("@mui/joy").ExtendMenuItem<import("@mui/joy").MenuItemTypeMap<{}, "div">>, keyof import("react").Component<any, {}, any>>;
3
+ }, "children" | "style" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "action" | "selected" | "orientation" | "sx" | "variant" | "component" | "focusVisibleClassName" | keyof import("@mui/joy").MenuItemSlotsAndSlotProps>, never>> & string & Omit<import("@mui/joy").ExtendMenuItem<import("@mui/joy").MenuItemTypeMap<{}, "div">>, keyof import("react").Component<any, {}, any>>;
4
4
  export default StyledMenuItem;
@@ -7,6 +7,8 @@ export interface ModalWindowProps {
7
7
  onCloseCompleted?: () => void;
8
8
  closeRequested?: boolean;
9
9
  closeBlocked?: boolean;
10
+ disableGutters?: boolean;
11
+ showCloseButton?: boolean;
10
12
  }
11
13
  declare const Modal: React.ForwardRefExoticComponent<ModalWindowProps & {
12
14
  children?: React.ReactNode | undefined;
@@ -6,3 +6,4 @@ export default meta;
6
6
  export declare const Left: Story;
7
7
  export declare const Right: Story;
8
8
  export declare const Warning: Story;
9
+ export declare const DisableGutters: Story;