@harpercollins/harpercollins-design-system 1.12.0 → 1.13.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.
- package/dist/cjs/index.cjs +185 -113
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/index.d.ts +3 -1
- package/dist/cjs/types/src/components/inputs/{DateInput/DateInput.d.ts → DatePicker/DatePicker.d.ts} +2 -2
- package/dist/cjs/types/src/components/inputs/DatePicker/DatePicker.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/inputs/DatePicker/index.d.ts +2 -0
- package/dist/cjs/types/src/components/inputs/DateTimeInput/DateTimeInput.d.ts +9 -0
- package/dist/cjs/types/src/components/inputs/DateTimeInput/DateTimeInput.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/inputs/DateTimeInput/index.d.ts +2 -0
- package/dist/esm/index.js +208 -136
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/index.d.ts +3 -1
- package/dist/esm/types/src/components/inputs/{DateInput/DateInput.d.ts → DatePicker/DatePicker.d.ts} +2 -2
- package/dist/esm/types/src/components/inputs/DatePicker/DatePicker.stories.d.ts +6 -0
- package/dist/esm/types/src/components/inputs/DatePicker/index.d.ts +2 -0
- package/dist/esm/types/src/components/inputs/DateTimeInput/DateTimeInput.d.ts +9 -0
- package/dist/esm/types/src/components/inputs/DateTimeInput/DateTimeInput.stories.d.ts +6 -0
- package/dist/esm/types/src/components/inputs/DateTimeInput/index.d.ts +2 -0
- package/dist/index.d.ts +32 -20
- package/package.json +1 -1
- package/dist/cjs/types/src/components/inputs/DateInput/DateInput.stories.d.ts +0 -6
- package/dist/cjs/types/src/components/inputs/DateInput/index.d.ts +0 -2
- package/dist/esm/types/src/components/inputs/DateInput/DateInput.stories.d.ts +0 -6
- package/dist/esm/types/src/components/inputs/DateInput/index.d.ts +0 -2
|
@@ -17,6 +17,8 @@ import Checkbox from "./inputs/Checkbox";
|
|
|
17
17
|
import Chip from "./data-display/Chip";
|
|
18
18
|
import ChipIcon from "./data-display/ChipIcon";
|
|
19
19
|
import Container from "./layout/Container";
|
|
20
|
+
import DatePicker from "./inputs/DatePicker";
|
|
21
|
+
import DateTimeInput from "./inputs/DateTimeInput";
|
|
20
22
|
import Divider from "./data-display/Divider";
|
|
21
23
|
import Drawer from "./overlay/Drawer";
|
|
22
24
|
import Dropdown from "./navigation/Dropdown";
|
|
@@ -57,4 +59,4 @@ import TextField from "./inputs/TextField";
|
|
|
57
59
|
import ToastMessages from "./feedback/ToastMessages";
|
|
58
60
|
import Tooltip from "./data-display/Tooltip";
|
|
59
61
|
import Typography from "./data-display/Typography";
|
|
60
|
-
export { Accordion, Alert, AppBar, Autocomplete, AutocompleteSelectMultiple, Avatar, Badge, Box, Breadcrumb, Button, Card, CardActions, CardContent, CardCover, CardOverflow, Checkbox, Chip, ChipIcon, Container, Divider, Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, IconButton, Input, Layout, List, ListItem, ListItemButton, ListItemContent, ListItemDecorator, ListDivider, ListSubheader, LoadingSpinner, Logo, LogoMini, Menu, MenuButton, MenuHeading, MenuItem, ProgressBar, ProgressCircle, RadioButton, RadioGroup, ReadMore, RelativeTime, StatusIcon, Table, Tabs, Textarea, TextBlock, TextField, ToastMessages, Tooltip, Typography, };
|
|
62
|
+
export { Accordion, Alert, AppBar, Autocomplete, AutocompleteSelectMultiple, Avatar, Badge, Box, Breadcrumb, Button, Card, CardActions, CardContent, CardCover, CardOverflow, Checkbox, Chip, ChipIcon, Container, DatePicker, DateTimeInput, Divider, Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, IconButton, Input, Layout, List, ListItem, ListItemButton, ListItemContent, ListItemDecorator, ListDivider, ListSubheader, LoadingSpinner, Logo, LogoMini, Menu, MenuButton, MenuHeading, MenuItem, ProgressBar, ProgressCircle, RadioButton, RadioGroup, ReadMore, RelativeTime, StatusIcon, Table, Tabs, Textarea, TextBlock, TextField, ToastMessages, Tooltip, Typography, };
|
package/dist/esm/types/src/components/inputs/{DateInput/DateInput.d.ts → DatePicker/DatePicker.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import ReactDatePicker, { ReactDatePickerProps } from "react-datepicker";
|
|
3
3
|
import "react-datepicker/dist/react-datepicker.css";
|
|
4
4
|
type DateInputProps = ReactDatePickerProps;
|
|
5
|
-
declare const DateInput: React.ForwardRefExoticComponent<DateInputProps & React.RefAttributes<
|
|
5
|
+
declare const DateInput: React.ForwardRefExoticComponent<DateInputProps & React.RefAttributes<ReactDatePicker<undefined, undefined>>>;
|
|
6
6
|
export default DateInput;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
declare function DateTimeInput({ id, name, defaultValue, onChangeValue, showNowButton, }: React.InputHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
onChangeValue?: (newDate: string) => void;
|
|
4
|
+
showNowButton?: boolean;
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
}): ReactElement;
|
|
9
|
+
export default DateTimeInput;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as _mui_joy from '@mui/joy';
|
|
3
3
|
import { AlertProps, AutocompleteProps as AutocompleteProps$1, AvatarProps, BadgeProps, CardProps, CheckboxProps, ChipProps, ColorPaletteProp, ContainerProps, DividerProps, DropdownProps, FormControlProps, GridProps, InputProps, ListProps, MenuProps, RadioProps, TextareaProps, TooltipProps as TooltipProps$1, TypographyProps } from '@mui/joy';
|
|
4
4
|
export { Box, CardActions, CardContent, CardCover, CardOverflow, IconButton, ListDivider, ListItem, ListItemButton, ListItemContent, ListItemDecorator, ListSubheader, MenuButton, RadioGroup, TextField } from '@mui/joy';
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
5
|
+
import * as React$1 from 'react';
|
|
6
|
+
import React__default, { ReactElement, PropsWithChildren } from 'react';
|
|
7
7
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
8
8
|
import * as styled_components from 'styled-components';
|
|
9
9
|
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
10
10
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
11
|
+
import ReactDatePicker, { ReactDatePickerProps } from 'react-datepicker';
|
|
11
12
|
import * as _mui_joy_styles_types from '@mui/joy/styles/types';
|
|
12
13
|
import * as _mui_types from '@mui/types';
|
|
13
14
|
import { ColumnDef } from '@tanstack/react-table';
|
|
@@ -33,7 +34,7 @@ interface AppBarProps {
|
|
|
33
34
|
}[];
|
|
34
35
|
workspacesMenu?: JSX.Element;
|
|
35
36
|
helpButton?: {
|
|
36
|
-
as?:
|
|
37
|
+
as?: React__default.ElementType;
|
|
37
38
|
href: string;
|
|
38
39
|
text: string;
|
|
39
40
|
};
|
|
@@ -63,7 +64,7 @@ interface AutocompleteSelectMultipleProps<T extends BaseOption> extends Autocomp
|
|
|
63
64
|
id: string;
|
|
64
65
|
inline?: boolean;
|
|
65
66
|
defaultValue?: T[];
|
|
66
|
-
SelectedOption?:
|
|
67
|
+
SelectedOption?: React__default.JSXElementConstructor<{
|
|
67
68
|
option: T;
|
|
68
69
|
}>;
|
|
69
70
|
placeholder?: string;
|
|
@@ -79,10 +80,10 @@ declare function Breadcrumb({ children, }: PropsWithChildren<{
|
|
|
79
80
|
children: React.ReactNode;
|
|
80
81
|
}>): react_jsx_runtime.JSX.Element;
|
|
81
82
|
declare namespace Breadcrumb {
|
|
82
|
-
var Item: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<
|
|
83
|
+
var Item: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
83
84
|
}
|
|
84
85
|
|
|
85
|
-
interface LinkButtonInternalProps extends
|
|
86
|
+
interface LinkButtonInternalProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
86
87
|
kind?: "primary" | "secondary" | "danger" | "basic" | "debug";
|
|
87
88
|
size?: "normal" | "small";
|
|
88
89
|
}
|
|
@@ -90,13 +91,13 @@ interface CommonButtonProps {
|
|
|
90
91
|
kind?: "primary" | "secondary" | "danger" | "basic" | "debug";
|
|
91
92
|
size?: "normal" | "small";
|
|
92
93
|
disabled?: boolean;
|
|
93
|
-
style?:
|
|
94
|
+
style?: React__default.CSSProperties;
|
|
94
95
|
isSubmitting?: boolean;
|
|
95
96
|
}
|
|
96
97
|
interface LinkButtonProps extends CommonButtonProps, LinkButtonInternalProps {
|
|
97
98
|
type: "link";
|
|
98
99
|
href: string;
|
|
99
|
-
as?:
|
|
100
|
+
as?: React__default.ElementType;
|
|
100
101
|
}
|
|
101
102
|
interface SubmitButtonProps extends CommonButtonProps {
|
|
102
103
|
type: "submit";
|
|
@@ -106,9 +107,9 @@ interface SubmitButtonProps extends CommonButtonProps {
|
|
|
106
107
|
}
|
|
107
108
|
interface ButtonProps extends CommonButtonProps {
|
|
108
109
|
type: "button";
|
|
109
|
-
onClick: (e:
|
|
110
|
+
onClick: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
110
111
|
}
|
|
111
|
-
declare function Button({ children, ...props }:
|
|
112
|
+
declare function Button({ children, ...props }: React__default.PropsWithChildren<LinkButtonProps | SubmitButtonProps | ButtonProps>): React__default.ReactElement;
|
|
112
113
|
|
|
113
114
|
declare function Card(props: CardProps): react_jsx_runtime.JSX.Element;
|
|
114
115
|
|
|
@@ -145,6 +146,17 @@ declare function ChipIcon({ icon, chip, }: IChipIconProps): react_jsx_runtime.JS
|
|
|
145
146
|
|
|
146
147
|
declare function Container(props: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
147
148
|
|
|
149
|
+
type DateInputProps = ReactDatePickerProps;
|
|
150
|
+
declare const DateInput: React__default.ForwardRefExoticComponent<DateInputProps & React__default.RefAttributes<ReactDatePicker<undefined, undefined>>>;
|
|
151
|
+
|
|
152
|
+
declare function DateTimeInput({ id, name, defaultValue, onChangeValue, showNowButton, }: React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
153
|
+
onChangeValue?: (newDate: string) => void;
|
|
154
|
+
showNowButton?: boolean;
|
|
155
|
+
defaultValue?: string;
|
|
156
|
+
name: string;
|
|
157
|
+
id?: string;
|
|
158
|
+
}): ReactElement;
|
|
159
|
+
|
|
148
160
|
declare function Divider(props: DividerProps): react_jsx_runtime.JSX.Element;
|
|
149
161
|
|
|
150
162
|
interface ModalWindowProps {
|
|
@@ -158,9 +170,9 @@ interface ModalWindowProps {
|
|
|
158
170
|
disableGutters?: boolean;
|
|
159
171
|
showCloseButton?: boolean;
|
|
160
172
|
}
|
|
161
|
-
declare const Modal:
|
|
162
|
-
children?:
|
|
163
|
-
} &
|
|
173
|
+
declare const Modal: React__default.ForwardRefExoticComponent<ModalWindowProps & {
|
|
174
|
+
children?: React__default.ReactNode | undefined;
|
|
175
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
164
176
|
|
|
165
177
|
declare function Dropdown(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
166
178
|
|
|
@@ -214,13 +226,13 @@ declare const MenuHeading: styled_components_dist_types.IStyledComponentBase<"we
|
|
|
214
226
|
sticky?: boolean;
|
|
215
227
|
variant?: _mui_types.OverridableStringUnion<_mui_joy.VariantProp, _mui_joy.ListItemPropsVariantOverrides>;
|
|
216
228
|
sx?: _mui_joy_styles_types.SxProps;
|
|
217
|
-
} & Omit<Omit<
|
|
218
|
-
ref?: ((instance: HTMLLIElement | null) => void |
|
|
219
|
-
}, "children" | "color" | "sticky" | "sx" | "variant" | keyof _mui_joy.ListItemSlotsAndSlotProps | "startAction" | "endAction" | "nested">, never>> & string & Omit<_mui_types.OverridableComponent<_mui_joy.ListItemTypeMap<{}, "li">>, keyof
|
|
229
|
+
} & Omit<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
230
|
+
ref?: ((instance: HTMLLIElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLLIElement> | null | undefined;
|
|
231
|
+
}, "children" | "color" | "sticky" | "sx" | "variant" | keyof _mui_joy.ListItemSlotsAndSlotProps | "startAction" | "endAction" | "nested">, never>> & string & Omit<_mui_types.OverridableComponent<_mui_joy.ListItemTypeMap<{}, "li">>, keyof React$1.Component<any, {}, any>>;
|
|
220
232
|
|
|
221
|
-
declare const StyledMenuItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<Omit<_mui_joy.ListItemButtonProps, "slots" | "slotProps"> & _mui_joy.MenuItemSlotsAndSlotProps & Omit<Omit<
|
|
222
|
-
ref?: ((instance: HTMLDivElement | null) => void |
|
|
223
|
-
}, "children" | "style" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "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" | "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
|
|
233
|
+
declare const StyledMenuItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<Omit<_mui_joy.ListItemButtonProps, "slots" | "slotProps"> & _mui_joy.MenuItemSlotsAndSlotProps & Omit<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
234
|
+
ref?: ((instance: HTMLDivElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLDivElement> | null | undefined;
|
|
235
|
+
}, "children" | "style" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "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" | "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$1.Component<any, {}, any>>;
|
|
224
236
|
|
|
225
237
|
interface ProgressBarProps {
|
|
226
238
|
ariaLabel: string;
|
|
@@ -394,4 +406,4 @@ declare const formatText: (text: string | null | undefined) => string;
|
|
|
394
406
|
* */
|
|
395
407
|
declare const formatCurrency: (value: number | string | null | undefined, locale?: string | undefined, options?: Intl.NumberFormatOptions) => string;
|
|
396
408
|
|
|
397
|
-
export { Accordion, Alert, AppBar, AutoComplete as Autocomplete, AutocompleteSelectMultiple, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Chip, ChipIcon, Container, Divider, Modal as Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, Input, Layout, List, LoadingSpinner, LogoSVG as Logo, LogoSVGMini as LogoMini, Menu, MenuHeading, StyledMenuItem as MenuItem, ProgressBar, ProgressCircle, Radio as RadioButton, ReadMore, RelativeTime, StatusIcon, Table, Tabs, TextBlock, Textarea, ToastMessages, Tooltip, Typography, formatCurrency, formatDate, formatNumber, formatText, useFetch, useLocalStorage, useToggle };
|
|
409
|
+
export { Accordion, Alert, AppBar, AutoComplete as Autocomplete, AutocompleteSelectMultiple, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Chip, ChipIcon, Container, DateInput as DatePicker, DateTimeInput, Divider, Modal as Drawer, Dropdown, FormControl, FullPageErrorFallback, Grid, Heading, Icon, Input, Layout, List, LoadingSpinner, LogoSVG as Logo, LogoSVGMini as LogoMini, Menu, MenuHeading, StyledMenuItem as MenuItem, ProgressBar, ProgressCircle, Radio as RadioButton, ReadMore, RelativeTime, StatusIcon, Table, Tabs, TextBlock, Textarea, ToastMessages, Tooltip, Typography, formatCurrency, formatDate, formatNumber, formatText, useFetch, useLocalStorage, useToggle };
|
package/package.json
CHANGED