@harpercollins/harpercollins-design-system 1.8.68 → 1.8.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +150 -226
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/Chip/Chip.d.ts +2 -1
- package/dist/cjs/types/src/components/data-display/Chip/Chip.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/data-display/List/List.d.ts +2 -1
- package/dist/cjs/types/src/components/data-display/List/List.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/data-display/List/ListItemContent.d.ts +2 -0
- package/dist/cjs/types/src/components/global/AppBar/AppBar.d.ts +7 -1
- package/dist/cjs/types/src/components/global/AppBar/testdata.d.ts +1 -1
- package/dist/cjs/types/src/components/index.d.ts +4 -2
- package/dist/cjs/types/src/components/inputs/Input/Input.d.ts +1 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.d.ts +4 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/navigation/Dropdown/Dropdown.d.ts +3 -0
- package/dist/cjs/types/src/components/navigation/Dropdown/index.d.ts +2 -0
- package/dist/cjs/types/src/components/navigation/Menu/Menu.d.ts +3 -0
- package/dist/cjs/types/src/components/navigation/Menu/Menu.stories.d.ts +5 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuButton.d.ts +2 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuHeading.d.ts +13 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuItem.d.ts +4 -0
- package/dist/cjs/types/src/components/navigation/Menu/index.d.ts +2 -0
- package/dist/esm/index.js +179 -255
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/Chip/Chip.d.ts +2 -1
- package/dist/esm/types/src/components/data-display/Chip/Chip.stories.d.ts +6 -0
- package/dist/esm/types/src/components/data-display/List/List.d.ts +2 -1
- package/dist/esm/types/src/components/data-display/List/List.stories.d.ts +6 -0
- package/dist/esm/types/src/components/data-display/List/ListItemContent.d.ts +2 -0
- package/dist/esm/types/src/components/global/AppBar/AppBar.d.ts +7 -1
- package/dist/esm/types/src/components/global/AppBar/testdata.d.ts +1 -1
- package/dist/esm/types/src/components/index.d.ts +4 -2
- package/dist/esm/types/src/components/inputs/Input/Input.d.ts +1 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.d.ts +4 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.stories.d.ts +6 -0
- package/dist/esm/types/src/components/navigation/Dropdown/Dropdown.d.ts +3 -0
- package/dist/esm/types/src/components/navigation/Dropdown/index.d.ts +2 -0
- package/dist/esm/types/src/components/navigation/Menu/Menu.d.ts +3 -0
- package/dist/esm/types/src/components/navigation/Menu/Menu.stories.d.ts +5 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuButton.d.ts +2 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuHeading.d.ts +13 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuItem.d.ts +4 -0
- package/dist/esm/types/src/components/navigation/Menu/index.d.ts +2 -0
- package/dist/index.d.ts +28 -12
- package/package.json +1 -1
- package/dist/cjs/types/src/components/global/AppBar/DropDownMenu.d.ts +0 -11
- package/dist/esm/types/src/components/global/AppBar/DropDownMenu.d.ts +0 -11
|
@@ -5,6 +5,12 @@ interface AppBarProps {
|
|
|
5
5
|
rightSide?: JSX.Element;
|
|
6
6
|
currentApp?: JSX.Element | string;
|
|
7
7
|
apps: JSX.Element;
|
|
8
|
+
myAccountMenu: JSX.Element;
|
|
9
|
+
helpButton?: {
|
|
10
|
+
as: React.ElementType;
|
|
11
|
+
href: string;
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
|
-
declare function AppBar({ apps, currentApp, leftSide, rightSide }: AppBarProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function AppBar({ apps, currentApp, leftSide, rightSide, myAccountMenu, helpButton, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
16
|
export default AppBar;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare function Apps(): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export declare function CurrentApp(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export
|
|
3
|
+
export declare function MockAppBar(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,7 +15,6 @@ import LoadingSpinner from "./feedback/LoadingSpinner";
|
|
|
15
15
|
import ProgressBar from "./feedback/ProgressBar";
|
|
16
16
|
import ToastMessages from "./feedback/ToastMessages";
|
|
17
17
|
import AppBar from "./global/AppBar";
|
|
18
|
-
import DropDownMenu from "./global/AppBar/DropDownMenu";
|
|
19
18
|
import Layout from "./global/Layout";
|
|
20
19
|
import Logo from "./global/Logo";
|
|
21
20
|
import Button from "./inputs/Button";
|
|
@@ -33,4 +32,7 @@ import ListItem from "./data-display/List/ListItem";
|
|
|
33
32
|
import ListItemDecorator from "./data-display/List/ListItemDecorator";
|
|
34
33
|
import ListItemButton from "./data-display/List/ListItemButton";
|
|
35
34
|
import Grid from "./layout/Grid";
|
|
36
|
-
|
|
35
|
+
import Menu from "./navigation/Menu";
|
|
36
|
+
import MenuItem from "./navigation/Menu/MenuItem";
|
|
37
|
+
import Dropdown from "./navigation/Dropdown";
|
|
38
|
+
export { Accordion, AppBar, Autocomplete, AutocompleteSelectMultiple, Badge, Box, Breadcrumb, Button, Chip, Divider, Drawer, Dropdown, Heading, Icon, IconButton, Input, Grid, Layout, List, ListItemButton, ListItem, ListItemDecorator, LoadingSpinner, Logo, Menu, MenuItem, ProgressBar, ProgressCircle, ReadMore, RelativeTime, StatusIcon, Table, Tabs, TextBlock, TextField, ToastMessages, Tooltip, };
|
|
@@ -10,5 +10,5 @@ declare const Input: import("styled-components/dist/types").IStyledComponentBase
|
|
|
10
10
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").InputPropsVariantOverrides>;
|
|
11
11
|
} & import("@mui/joy").InputSlotsAndSlotProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
12
|
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;
|
|
13
|
-
}, "name" | "type" | "defaultValue" | "autoFocus" | "className" | "id" | "color" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required" | "size" | "error" | "endDecorator" | "
|
|
13
|
+
}, "name" | "type" | "defaultValue" | "autoFocus" | "className" | "id" | "color" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required" | "size" | "error" | "endDecorator" | "fullWidth" | "startDecorator" | "sx" | "variant" | keyof import("@mui/joy").InputSlotsAndSlotProps>, never>> & string & Omit<import("@mui/types").OverridableComponent<import("@mui/joy").InputTypeMap<{}, "div">>, keyof import("react").Component<any, {}, any>>;
|
|
14
14
|
export default Input;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const MenuHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@mui/joy").ListItemSlotsAndSlotProps & {
|
|
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;
|
|
6
|
+
nested?: boolean;
|
|
7
|
+
sticky?: boolean;
|
|
8
|
+
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ListItemPropsVariantOverrides>;
|
|
9
|
+
sx?: import("@mui/joy/styles/types").SxProps;
|
|
10
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
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" | "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
|
+
export default MenuHeading;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const StyleMenuItem: 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
|
+
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" | "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
|
+
export default StyleMenuItem;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import * as styled_components from 'styled-components';
|
|
|
6
6
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
7
7
|
import { ColumnDef } from '@tanstack/react-table';
|
|
8
8
|
import * as _mui_joy from '@mui/joy';
|
|
9
|
-
import { AutocompleteProps as AutocompleteProps$1 } from '@mui/joy';
|
|
10
|
-
export { Box,
|
|
9
|
+
import { AutocompleteProps as AutocompleteProps$1, ChipProps, ListProps, MenuProps, DropdownProps } from '@mui/joy';
|
|
10
|
+
export { Box, IconButton, ListItem, ListItemButton, ListItemDecorator, TextField } from '@mui/joy';
|
|
11
11
|
import * as _mui_joy_styles_types from '@mui/joy/styles/types';
|
|
12
12
|
import * as _mui_types from '@mui/types';
|
|
13
13
|
|
|
@@ -157,15 +157,14 @@ interface AppBarProps {
|
|
|
157
157
|
rightSide?: JSX.Element;
|
|
158
158
|
currentApp?: JSX.Element | string;
|
|
159
159
|
apps: JSX.Element;
|
|
160
|
+
myAccountMenu: JSX.Element;
|
|
161
|
+
helpButton?: {
|
|
162
|
+
as: React.ElementType;
|
|
163
|
+
href: string;
|
|
164
|
+
text: string;
|
|
165
|
+
};
|
|
160
166
|
}
|
|
161
|
-
declare function AppBar({ apps, currentApp, leftSide, rightSide }: AppBarProps): react_jsx_runtime.JSX.Element;
|
|
162
|
-
|
|
163
|
-
interface DropDownMenuProps {
|
|
164
|
-
children: react__default.ReactNode;
|
|
165
|
-
toggle: react__default.ReactNode;
|
|
166
|
-
rightAlign?: boolean;
|
|
167
|
-
}
|
|
168
|
-
declare function DropDownMenu({ children, toggle, rightAlign, }: DropDownMenuProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function AppBar({ apps, currentApp, leftSide, rightSide, myAccountMenu, helpButton, }: AppBarProps): react_jsx_runtime.JSX.Element;
|
|
169
168
|
|
|
170
169
|
interface LayoutProps {
|
|
171
170
|
header?: JSX.Element;
|
|
@@ -245,7 +244,7 @@ declare const Input: styled_components_dist_types.IStyledComponentBase<"web", st
|
|
|
245
244
|
variant?: _mui_types.OverridableStringUnion<_mui_joy.VariantProp, _mui_joy.InputPropsVariantOverrides>;
|
|
246
245
|
} & _mui_joy.InputSlotsAndSlotProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
247
246
|
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
248
|
-
}, "name" | "type" | "defaultValue" | "autoFocus" | "className" | "id" | "color" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required" | "size" | "error" | "endDecorator" | "
|
|
247
|
+
}, "name" | "type" | "defaultValue" | "autoFocus" | "className" | "id" | "color" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required" | "size" | "error" | "endDecorator" | "fullWidth" | "startDecorator" | "sx" | "variant" | keyof _mui_joy.InputSlotsAndSlotProps>, never>> & string & Omit<_mui_types.OverridableComponent<_mui_joy.InputTypeMap<{}, "div">>, keyof react.Component<any, {}, any>>;
|
|
249
248
|
|
|
250
249
|
interface ModalWindowProps {
|
|
251
250
|
side: "left" | "right";
|
|
@@ -260,6 +259,23 @@ declare const Modal: react__default.ForwardRefExoticComponent<ModalWindowProps &
|
|
|
260
259
|
children?: react__default.ReactNode | undefined;
|
|
261
260
|
} & react__default.RefAttributes<HTMLDivElement>>;
|
|
262
261
|
|
|
262
|
+
declare function Chip(props: ChipProps): react_jsx_runtime.JSX.Element;
|
|
263
|
+
|
|
264
|
+
declare function List(props: ListProps): react_jsx_runtime.JSX.Element;
|
|
265
|
+
|
|
266
|
+
interface GridProps {
|
|
267
|
+
label: string;
|
|
268
|
+
}
|
|
269
|
+
declare function Grid({ label, ...rest }: GridProps): react_jsx_runtime.JSX.Element;
|
|
270
|
+
|
|
271
|
+
declare function Menu(props: MenuProps): react_jsx_runtime.JSX.Element;
|
|
272
|
+
|
|
273
|
+
declare const StyleMenuItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<Omit<_mui_joy.ListItemButtonProps, "slots" | "slotProps"> & _mui_joy.MenuItemSlotsAndSlotProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
274
|
+
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
275
|
+
}, "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" | "sx" | "variant" | "component" | "focusVisibleClassName" | keyof _mui_joy.MenuItemSlotsAndSlotProps>, never>> & string & Omit<_mui_joy.ExtendMenuItem<_mui_joy.MenuItemTypeMap<{}, "div">>, keyof react.Component<any, {}, any>>;
|
|
276
|
+
|
|
277
|
+
declare function Dropdown(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
278
|
+
|
|
263
279
|
/**
|
|
264
280
|
* A hook to toggle a boolean value.
|
|
265
281
|
* @param initialState The initial state of the toggle.
|
|
@@ -323,4 +339,4 @@ declare const formatText: (text: string | null | undefined) => string;
|
|
|
323
339
|
* */
|
|
324
340
|
declare const formatCurrency: (value: number | string | null | undefined, locale?: string | undefined, options?: Intl.NumberFormatOptions) => string;
|
|
325
341
|
|
|
326
|
-
export { Accordion, AppBar, AutoComplete as Autocomplete, AutocompleteSelectMultiple, Badge, Breadcrumb, Button, Divider, Modal as Drawer,
|
|
342
|
+
export { Accordion, AppBar, AutoComplete as Autocomplete, AutocompleteSelectMultiple, Badge, Breadcrumb, Button, Chip, Divider, Modal as Drawer, Dropdown, Grid, Heading, Icon, Input, Layout, List, LoadingSpinner, Logo, Menu, StyleMenuItem as MenuItem, ProgressBar, ProgressCircle, ReadMore, RelativeTime, StatusIcon, Table, Tabs, TextBlock, ToastMessages, Tooltip, formatCurrency, formatDate, formatNumber, formatText, useFetch, useLocalStorage, useToggle };
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const Menu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, never>> & string;
|
|
3
|
-
export declare const MenuToggle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
4
|
-
export declare const MenuBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
interface DropDownMenuProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
toggle: React.ReactNode;
|
|
8
|
-
rightAlign?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export default function DropDownMenu({ children, toggle, rightAlign, }: DropDownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const Menu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, never>> & string;
|
|
3
|
-
export declare const MenuToggle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
4
|
-
export declare const MenuBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
interface DropDownMenuProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
toggle: React.ReactNode;
|
|
8
|
-
rightAlign?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export default function DropDownMenu({ children, toggle, rightAlign, }: DropDownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|