@ceed/ads 1.35.0 → 1.36.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 (124) hide show
  1. package/README.md +85 -95
  2. package/dist/components/Accordions/Accordions.d.ts +1 -0
  3. package/dist/components/Alert/Alert.d.ts +5 -5
  4. package/dist/components/Autocomplete/Autocomplete.d.ts +2 -2
  5. package/dist/components/Avatar/Avatar.d.ts +7 -17
  6. package/dist/components/Box/Box.d.ts +1 -0
  7. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +6 -5
  8. package/dist/components/Button/Button.d.ts +3 -2
  9. package/dist/components/Calendar/Calendar.d.ts +1 -0
  10. package/dist/components/Card/Card.d.ts +1 -0
  11. package/dist/components/Checkbox/Checkbox.d.ts +1 -0
  12. package/dist/components/Chip/Chip.d.ts +1 -0
  13. package/dist/components/Container/Container.d.ts +6 -1
  14. package/dist/components/DialogActions/DialogActions.d.ts +1 -0
  15. package/dist/components/DialogContent/DialogContent.d.ts +1 -0
  16. package/dist/components/DialogFrame/DialogFrame.d.ts +1 -1
  17. package/dist/components/DialogTitle/DialogTitle.d.ts +1 -0
  18. package/dist/components/Divider/Divider.d.ts +1 -0
  19. package/dist/components/Dropdown/Dropdown.d.ts +28 -1
  20. package/dist/components/FilterMenu/components/MonthRange.d.ts +11 -0
  21. package/dist/components/FilterMenu/types.d.ts +5 -1
  22. package/dist/components/FormControl/FormControl.d.ts +1 -0
  23. package/dist/components/FormHelperText/FormHelperText.d.ts +1 -0
  24. package/dist/components/FormLabel/FormLabel.d.ts +1 -0
  25. package/dist/components/Grid/Grid.d.ts +1 -0
  26. package/dist/components/IconButton/IconButton.d.ts +3 -2
  27. package/dist/components/IconMenuButton/IconMenuButton.d.ts +7 -6
  28. package/dist/components/InfoSign/InfoSign.d.ts +3 -2
  29. package/dist/components/Input/Input.d.ts +8 -22
  30. package/dist/components/InsetDrawer/InsetDrawer.d.ts +1 -0
  31. package/dist/components/Markdown/Markdown.d.ts +9 -24
  32. package/dist/components/Menu/Menu.d.ts +2 -1
  33. package/dist/components/MenuButton/MenuButton.d.ts +10 -8
  34. package/dist/components/Modal/Modal.d.ts +4 -2
  35. package/dist/components/NavigationGroup/NavigationGroup.d.ts +3 -2
  36. package/dist/components/NavigationItem/NavigationItem.d.ts +3 -2
  37. package/dist/components/Navigator/Navigator.d.ts +5 -4
  38. package/dist/components/Pagination/Pagination.d.ts +1 -1
  39. package/dist/components/ProfileMenu/ProfileMenu.d.ts +2 -2
  40. package/dist/components/Radio/Radio.d.ts +1 -0
  41. package/dist/components/RadioList/RadioList.d.ts +3 -2
  42. package/dist/components/SearchBar/SearchBar.d.ts +6 -5
  43. package/dist/components/SearchBar/index.d.ts +3 -2
  44. package/dist/components/Select/Select.d.ts +12 -10
  45. package/dist/components/Sheet/Sheet.d.ts +1 -0
  46. package/dist/components/Stack/Stack.d.ts +1 -0
  47. package/dist/components/Stepper/Stepper.d.ts +2 -1
  48. package/dist/components/Switch/Switch.d.ts +1 -0
  49. package/dist/components/Table/Table.d.ts +7 -5
  50. package/dist/components/Tabs/Tabs.d.ts +1 -0
  51. package/dist/components/Textarea/Textarea.d.ts +8 -20
  52. package/dist/components/ThemeProvider/ThemeProvider.d.ts +4 -2
  53. package/dist/components/Tooltip/Tooltip.d.ts +1 -0
  54. package/dist/components/Typography/Typography.d.ts +1 -0
  55. package/dist/components/Uploader/Uploader.d.ts +18 -17
  56. package/dist/components/data-display/Avatar.md +60 -72
  57. package/dist/components/data-display/Badge.md +197 -181
  58. package/dist/components/data-display/Chip.md +164 -142
  59. package/dist/components/data-display/DataTable.md +843 -338
  60. package/dist/components/data-display/InfoSign.md +1 -3
  61. package/dist/components/data-display/Markdown.md +93 -125
  62. package/dist/components/data-display/Table.md +1453 -1007
  63. package/dist/components/data-display/Typography.md +101 -104
  64. package/dist/components/feedback/Alert.md +80 -86
  65. package/dist/components/feedback/CircularProgress.md +32 -36
  66. package/dist/components/feedback/Dialog.md +25 -17
  67. package/dist/components/feedback/Modal.md +296 -265
  68. package/dist/components/feedback/Skeleton.md +125 -89
  69. package/dist/components/index.d.ts +61 -3
  70. package/dist/components/inputs/Autocomplete.md +191 -95
  71. package/dist/components/inputs/Button.md +83 -83
  72. package/dist/components/inputs/ButtonGroup.md +195 -185
  73. package/dist/components/inputs/Calendar.md +25 -28
  74. package/dist/components/inputs/Checkbox.md +11 -29
  75. package/dist/components/inputs/CurrencyInput.md +4 -4
  76. package/dist/components/inputs/DatePicker.md +229 -110
  77. package/dist/components/inputs/DateRangePicker.md +248 -137
  78. package/dist/components/inputs/FilterMenu.md +138 -8
  79. package/dist/components/inputs/FilterableCheckboxGroup.md +115 -55
  80. package/dist/components/inputs/FormControl.md +75 -69
  81. package/dist/components/inputs/IconButton.md +229 -205
  82. package/dist/components/inputs/Input.md +131 -98
  83. package/dist/components/inputs/MonthPicker.md +186 -84
  84. package/dist/components/inputs/MonthRangePicker.md +73 -49
  85. package/dist/components/inputs/PercentageInput.md +15 -31
  86. package/dist/components/inputs/RadioButton.md +320 -256
  87. package/dist/components/inputs/RadioList.md +66 -50
  88. package/dist/components/inputs/RadioTileGroup.md +287 -170
  89. package/dist/components/inputs/SearchBar.md +154 -55
  90. package/dist/components/inputs/Select.md +106 -95
  91. package/dist/components/inputs/Slider.md +153 -102
  92. package/dist/components/inputs/Switch.md +193 -138
  93. package/dist/components/inputs/Textarea.md +15 -20
  94. package/dist/components/inputs/Uploader/Uploader.md +68 -39
  95. package/dist/components/layout/Box.md +841 -662
  96. package/dist/components/layout/Container.md +3 -11
  97. package/dist/components/layout/Grid.md +480 -394
  98. package/dist/components/layout/Stack.md +739 -566
  99. package/dist/components/navigation/Breadcrumbs.md +182 -116
  100. package/dist/components/navigation/Dropdown.md +732 -391
  101. package/dist/components/navigation/IconMenuButton.md +14 -6
  102. package/dist/components/navigation/InsetDrawer.md +550 -378
  103. package/dist/components/navigation/Link.md +104 -94
  104. package/dist/components/navigation/Menu.md +623 -502
  105. package/dist/components/navigation/MenuButton.md +18 -10
  106. package/dist/components/navigation/NavigationGroup.md +19 -50
  107. package/dist/components/navigation/NavigationItem.md +6 -6
  108. package/dist/components/navigation/Navigator.md +26 -28
  109. package/dist/components/navigation/Pagination.md +86 -75
  110. package/dist/components/navigation/ProfileMenu.md +65 -43
  111. package/dist/components/navigation/Stepper.md +2 -12
  112. package/dist/components/navigation/Tabs.md +209 -183
  113. package/dist/components/surfaces/Accordions.md +89 -172
  114. package/dist/components/surfaces/Card.md +1094 -709
  115. package/dist/components/surfaces/Divider.md +562 -412
  116. package/dist/components/surfaces/Sheet.md +700 -518
  117. package/dist/guides/ThemeProvider.md +65 -40
  118. package/dist/index.browser.js +4 -4
  119. package/dist/index.browser.js.map +4 -4
  120. package/dist/index.cjs +1653 -1560
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +1316 -1215
  123. package/framer/index.js +1 -1
  124. package/package.json +32 -35
@@ -4,31 +4,16 @@ import { MotionProps } from 'framer-motion';
4
4
  import { TypographyProps } from '@mui/joy';
5
5
  import { TypographySystem } from '@mui/joy';
6
6
  import { TextColor } from '@mui/joy/styles/types';
7
+ export type MarkdownProps = TypographyProps & MotionProps & {
8
+ defaultLevel?: Exclude<keyof TypographySystem, 'h1' | 'h2' | 'h3' | 'h4'>;
9
+ accentColor?: TextColor;
10
+ defaultLinkAction?: '_self' | '_blank' | '_parent' | '_top' | '_unfencedTop';
11
+ markdownOptions?: Options;
12
+ boldFontWeight?: 'sm' | 'md' | 'lg' | 'xl';
13
+ fallback?: React.ReactNode;
14
+ };
7
15
  declare const Markdown: {
8
- (props: {
9
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
10
- } & import("@mui/joy").TypographySlotsAndSlotProps & Omit<import("@mui/joy/styles/types").SystemProps, "color"> & {
11
- children?: React.ReactNode;
12
- color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TypographyPropsColorOverrides> | undefined;
13
- endDecorator?: React.ReactNode;
14
- gutterBottom?: boolean | undefined;
15
- level?: "inherit" | keyof TypographySystem | undefined;
16
- levelMapping?: Partial<Record<"inherit" | keyof TypographySystem, string>> | undefined;
17
- noWrap?: boolean | undefined;
18
- startDecorator?: React.ReactNode;
19
- textColor?: TextColor | undefined;
20
- sx?: import("@mui/joy/styles/types").SxProps | undefined;
21
- variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TypographyPropsVariantOverrides> | undefined;
22
- } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
23
- ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
24
- }, "p" | "children" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "sx" | keyof import("@mui/joy").TypographySlotsAndSlotProps | "endDecorator" | "gutterBottom" | "level" | "levelMapping" | "noWrap" | "startDecorator" | "textColor" | "component"> & MotionProps & {
25
- defaultLevel?: "title-lg" | "title-md" | "title-sm" | "body-lg" | "body-md" | "body-sm" | "body-xs" | undefined;
26
- accentColor?: TextColor | undefined;
27
- defaultLinkAction?: "_self" | "_blank" | "_parent" | "_top" | "_unfencedTop" | undefined;
28
- markdownOptions?: import("react-markdown").Options | undefined;
29
- boldFontWeight?: "sm" | "md" | "lg" | "xl" | undefined;
30
- fallback?: React.ReactNode;
31
- }): React.JSX.Element | null;
16
+ (props: MarkdownProps): React.JSX.Element | null;
32
17
  displayName: string;
33
18
  };
34
19
  export { Markdown };
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
- import { MenuProps } from '@mui/joy';
2
+ import { MenuProps, MenuItemProps } from '@mui/joy';
3
3
  import { MotionProps } from 'framer-motion';
4
+ export type { MenuProps, MenuItemProps };
4
5
  /**
5
6
  * @todo [v1.0.0] Restructure menu component to:
6
7
  * - Abstract the menu component.
@@ -1,16 +1,17 @@
1
1
  import React, { ComponentProps, ElementType } from 'react';
2
- import { MenuButtonProps } from '@mui/joy';
3
- declare function MenuButton<T extends ElementType, P extends ElementType>(props: {
4
- size?: MenuButtonProps<T, P>['size'];
2
+ import { MenuButtonProps as JoyMenuButtonProps } from '@mui/joy';
3
+ export type { JoyMenuButtonProps };
4
+ export interface MenuButtonProps<T extends ElementType = 'button', P extends ElementType = 'li'> {
5
+ size?: JoyMenuButtonProps<T, P>['size'];
5
6
  buttonText: string;
6
7
  buttonComponent?: T;
7
8
  buttonComponentProps?: ComponentProps<T>;
8
9
  disabled?: boolean;
9
10
  loading?: boolean;
10
- color?: MenuButtonProps<T, P>['color'];
11
- variant?: MenuButtonProps<T, P>['variant'];
12
- endDecorator?: MenuButtonProps<T, P>['endDecorator'];
13
- startDecorator?: MenuButtonProps<T, P>['startDecorator'];
11
+ color?: JoyMenuButtonProps<T, P>['color'];
12
+ variant?: JoyMenuButtonProps<T, P>['variant'];
13
+ endDecorator?: JoyMenuButtonProps<T, P>['endDecorator'];
14
+ startDecorator?: JoyMenuButtonProps<T, P>['startDecorator'];
14
15
  items?: {
15
16
  text: string;
16
17
  component?: P;
@@ -18,7 +19,8 @@ declare function MenuButton<T extends ElementType, P extends ElementType>(props:
18
19
  }[];
19
20
  showIcon?: boolean;
20
21
  placement?: 'bottom-start' | 'bottom' | 'bottom-end';
21
- }): React.JSX.Element;
22
+ }
23
+ declare function MenuButton<T extends ElementType, P extends ElementType>(props: MenuButtonProps<T, P>): React.JSX.Element;
22
24
  declare namespace MenuButton {
23
25
  var displayName: string;
24
26
  }
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ export type { ModalProps, ModalDialogProps, ModalCloseProps, ModalOverflowProps } from '@mui/joy';
2
3
  declare const Modal: import("framer-motion").CustomDomComponent<Pick<import("@mui/base").ModalOwnProps, "children" | "container" | "open" | "disablePortal" | "keepMounted" | "disableAutoFocus" | "disableEnforceFocus" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableScrollLock" | "hideBackdrop"> & {
3
4
  onClose?: ((event: {}, reason: "escapeKeyDown" | "backdropClick" | "closeClick") => void) | undefined;
4
5
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
@@ -29,12 +30,13 @@ declare const ModalOverflow: import("framer-motion").CustomDomComponent<{
29
30
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
30
31
  }, "sx" | keyof import("@mui/joy").ModalOverflowSlotsAndSlotProps>>;
31
32
  export { ModalOverflow };
32
- declare function ModalFrame(props: {
33
+ export type ModalFrameProps = {
33
34
  title: React.ReactNode;
34
35
  children: React.ReactNode;
35
36
  titleStartDecorator?: React.ReactNode;
36
37
  onClose?: () => void;
37
- } & React.ComponentProps<typeof ModalDialog>): React.JSX.Element;
38
+ } & React.ComponentProps<typeof ModalDialog>;
39
+ declare function ModalFrame(props: ModalFrameProps): React.JSX.Element;
38
40
  declare namespace ModalFrame {
39
41
  var displayName: string;
40
42
  }
@@ -1,9 +1,10 @@
1
1
  import React, { ComponentProps, ReactNode } from 'react';
2
2
  import { Accordion as JoyAccordion } from '@mui/joy';
3
- declare function NavigationGroup(props: Omit<ComponentProps<typeof JoyAccordion>, 'title'> & {
3
+ export type NavigationGroupProps = Omit<ComponentProps<typeof JoyAccordion>, 'title'> & {
4
4
  title: string | ReactNode;
5
5
  startDecorator?: ReactNode;
6
6
  children: ReactNode;
7
7
  level?: number;
8
- }): React.JSX.Element;
8
+ };
9
+ declare function NavigationGroup(props: NavigationGroupProps): React.JSX.Element;
9
10
  export { NavigationGroup };
@@ -1,11 +1,12 @@
1
1
  import React, { ComponentProps, ReactNode } from 'react';
2
2
  import { ListItem as JoyListItem } from '@mui/joy';
3
- declare function NavigationItem(props: Omit<ComponentProps<typeof JoyListItem>, 'onClick'> & {
3
+ export type NavigationItemProps = Omit<ComponentProps<typeof JoyListItem>, 'onClick'> & {
4
4
  id: string;
5
5
  startDecorator?: ReactNode;
6
6
  level?: number;
7
7
  selected?: boolean;
8
8
  children: ReactNode;
9
9
  onClick?: (id: string) => void;
10
- }): React.JSX.Element;
10
+ };
11
+ declare function NavigationItem(props: NavigationItemProps): React.JSX.Element;
11
12
  export { NavigationItem };
@@ -1,23 +1,24 @@
1
1
  import React from 'react';
2
- type NavigatorItemProperty = {
2
+ export type NavigatorItemProperty = {
3
3
  id: string;
4
4
  type: 'item';
5
5
  title: string | React.ReactNode;
6
6
  startDecorator?: React.ReactNode;
7
7
  selected?: boolean;
8
8
  };
9
- type NavigatorGroupProperty = {
9
+ export type NavigatorGroupProperty = {
10
10
  type: 'group';
11
11
  title: string | React.ReactNode;
12
12
  startDecorator?: React.ReactNode;
13
13
  expanded?: boolean;
14
14
  content: React.ReactNode;
15
15
  };
16
- declare function Navigator(props: {
16
+ export interface NavigatorProps {
17
17
  level?: number;
18
18
  items: (NavigatorItemProperty | NavigatorGroupProperty)[];
19
19
  onSelect?: (id: string) => void;
20
- }): React.JSX.Element;
20
+ }
21
+ declare function Navigator(props: NavigatorProps): React.JSX.Element;
21
22
  declare namespace Navigator {
22
23
  var displayName: string;
23
24
  }
@@ -9,7 +9,7 @@ declare const PaginationRoot: import("@emotion/styled").StyledComponent<Pick<{
9
9
  } & import("@mui/joy").StackSlotsAndSlotProps & import("@mui/joy/styles/types").SystemProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
11
11
  }, "children" | "direction" | "sx" | ("p" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "divider" | "spacing" | "useFlexGap" | keyof import("@mui/joy").StackSlotsAndSlotProps>, "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "content" | "direction" | "translate" | "ref" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | ("p" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "divider" | "spacing" | "useFlexGap" | keyof import("@mui/joy").StackSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
12
- interface PaginationProps extends React.ComponentProps<typeof PaginationRoot> {
12
+ export interface PaginationProps extends React.ComponentProps<typeof PaginationRoot> {
13
13
  paginationModel: {
14
14
  page: number;
15
15
  pageSize: number;
@@ -16,7 +16,7 @@ declare const ProfileMenuRoot: import("@emotion/styled").StyledComponent<Pick<{
16
16
  } & import("@mui/joy").MenuSlotsAndSlotProps & Omit<import("@mui/base").PopperProps, "children" | "open"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
17
17
  ref?: ((instance: HTMLUListElement | null) => void) | React.RefObject<HTMLUListElement> | null | undefined;
18
18
  }, "style" | "title" | "transition" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "color" | "content" | "direction" | "translate" | "container" | "ref" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "sx" | "size" | "component" | "invertedColors" | "actions" | "open" | "onClose" | "anchorEl" | "disablePortal" | "keepMounted" | "modifiers" | "placement" | "popperOptions" | "popperRef" | "onItemsChange" | keyof import("@mui/joy").MenuSlotsAndSlotProps> & import("framer-motion").MotionProps, "title" | keyof import("framer-motion").MotionProps | "color" | "content" | "direction" | "translate" | "container" | "ref" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "sx" | "size" | "component" | "invertedColors" | "actions" | "open" | "onClose" | "anchorEl" | "disablePortal" | "keepMounted" | "modifiers" | "placement" | "popperOptions" | "popperRef" | "onItemsChange" | keyof import("@mui/joy").MenuSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
19
- interface BaseProfileMenuProps {
19
+ export interface BaseProfileMenuProps {
20
20
  open?: boolean;
21
21
  defaultOpen?: boolean;
22
22
  onOpenChange?: (open: boolean) => void;
@@ -35,7 +35,7 @@ interface BaseProfileMenuProps {
35
35
  getInitial?: (name: string) => string;
36
36
  size?: 'sm' | 'md';
37
37
  }
38
- type ProfileMenuProps = BaseProfileMenuProps & Omit<ComponentProps<typeof ProfileMenuRoot>, 'size'>;
38
+ export type ProfileMenuProps = BaseProfileMenuProps & Omit<ComponentProps<typeof ProfileMenuRoot>, 'size'>;
39
39
  declare function ProfileMenu(props: ProfileMenuProps): React.JSX.Element;
40
40
  declare namespace ProfileMenu {
41
41
  var displayName: string;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ export type { RadioProps, RadioGroupProps } from '@mui/joy';
2
3
  declare const Radio: import("framer-motion").CustomDomComponent<import("@mui/base").UseSwitchParameters & {
3
4
  checkedIcon?: React.ReactNode;
4
5
  className?: string | undefined;
@@ -1,11 +1,12 @@
1
1
  import React, { ComponentProps, ReactNode } from 'react';
2
2
  import { RadioGroup } from '../Radio/Radio';
3
- declare function RadioList(props: {
3
+ export type RadioListProps = {
4
4
  items: {
5
5
  label: ReactNode;
6
6
  value: string;
7
7
  }[];
8
- } & ComponentProps<typeof RadioGroup>): React.JSX.Element;
8
+ } & ComponentProps<typeof RadioGroup>;
9
+ declare function RadioList(props: RadioListProps): React.JSX.Element;
9
10
  declare namespace RadioList {
10
11
  var displayName: string;
11
12
  }
@@ -1,13 +1,15 @@
1
1
  import * as React from 'react';
2
+ import { type BoxProps } from '@mui/joy/Box';
2
3
  export type SearchBarSlot = 'root';
3
4
  export interface SearchBarOption {
4
5
  label: string;
5
6
  value: string;
6
7
  placeholder?: string;
7
8
  }
8
- export interface SearchBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
9
- hideSelect?: boolean;
9
+ export interface SearchBarProps extends Omit<BoxProps, 'onChange'> {
10
+ showSelect?: boolean;
10
11
  options?: SearchBarOption[];
12
+ placeholder?: string;
11
13
  value: string;
12
14
  onChange: (value: string) => void;
13
15
  onSearch?: (params: {
@@ -15,6 +17,5 @@ export interface SearchBarProps extends Omit<React.HTMLAttributes<HTMLDivElement
15
17
  inputValue: string;
16
18
  }) => void;
17
19
  }
18
- export interface SearchBarOwnerState extends Required<Pick<SearchBarProps, 'hideSelect'>> {
19
- }
20
- export declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<HTMLDivElement>>;
20
+ export type SearchBarOwnerState = Required<Pick<SearchBarProps, 'showSelect'>>;
21
+ export declare const SearchBar: React.ForwardRefExoticComponent<Omit<SearchBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,3 @@
1
- export { SearchBar } from './SearchBar';
2
- export type { SearchBarOption, SearchBarOwnerState, SearchBarProps, SearchBarSlot } from './SearchBar';
1
+ import { SearchBar } from './SearchBar';
2
+ export * from './SearchBar';
3
+ export default SearchBar;
@@ -1,6 +1,14 @@
1
1
  import React, { ComponentProps } from 'react';
2
- import { Select as JoySelect } from '@mui/joy';
2
+ import { Select as JoySelect, type SelectProps as JoySelectProps } from '@mui/joy';
3
3
  import { SelectValue } from '@mui/base';
4
+ export type { JoySelectProps };
5
+ export type { OptionProps } from '@mui/joy';
6
+ export type OptionType = {
7
+ label: string;
8
+ value: string | number;
9
+ disabled?: boolean;
10
+ secondaryText?: string;
11
+ } | string | number;
4
12
  declare const Option: import("framer-motion").CustomDomComponent<{
5
13
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").OptionPropsColorOverrides> | undefined;
6
14
  children?: React.ReactNode;
@@ -13,16 +21,10 @@ declare const Option: import("framer-motion").CustomDomComponent<{
13
21
  ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
14
22
  }, "label" | "children" | "color" | "variant" | "sx" | "disabled" | "value" | keyof import("@mui/joy").OptionSlotsAndSlotProps>>;
15
23
  export { Option };
16
- type OptionType = {
17
- label: string;
18
- value: string | number;
19
- disabled?: boolean;
20
- secondaryText?: string;
21
- } | string | number;
22
- type InferOptionValue<OptionValue> = OptionValue extends {
24
+ export type InferOptionValue<OptionValue> = OptionValue extends {
23
25
  value: infer V;
24
26
  } ? V : OptionValue;
25
- interface CeedSelectProps<OptionValue extends OptionType, Multiple extends boolean = false> extends Omit<ComponentProps<typeof JoySelect<OptionValue, any, Multiple>>, 'value' | 'onChange' | 'multiple'> {
27
+ export interface SelectProps<OptionValue extends OptionType, Multiple extends boolean = false> extends Omit<ComponentProps<typeof JoySelect<OptionValue, any, Multiple>>, 'value' | 'onChange' | 'multiple'> {
26
28
  options: OptionValue[];
27
29
  label?: string;
28
30
  helperText?: string;
@@ -36,7 +38,7 @@ interface CeedSelectProps<OptionValue extends OptionType, Multiple extends boole
36
38
  }, newValue: InferOptionValue<OptionValue>) => void;
37
39
  multiple?: Multiple;
38
40
  }
39
- declare function Select<OptionValue extends OptionType, Multiple extends boolean = false>(props: CeedSelectProps<OptionValue, Multiple>): React.JSX.Element;
41
+ declare function Select<OptionValue extends OptionType, Multiple extends boolean = false>(props: SelectProps<OptionValue, Multiple>): React.JSX.Element;
40
42
  declare namespace Select {
41
43
  var displayName: string;
42
44
  }
@@ -1,2 +1,3 @@
1
1
  declare const Sheet: import("@mui/types").OverridableComponent<import("@mui/joy").SheetTypeMap<{}, "div">>;
2
2
  export { Sheet };
3
+ export type { SheetProps } from '@mui/joy';
@@ -1,2 +1,3 @@
1
1
  import { Stack } from '@mui/joy';
2
2
  export { Stack };
3
+ export type { StackProps } from '@mui/joy';
@@ -21,7 +21,8 @@ declare const StepIndicator: import("@emotion/styled").StyledComponent<{
21
21
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
22
22
  }, "children" | "color" | "variant" | "sx" | keyof import("@mui/joy").StepIndicatorSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
23
23
  export { StepIndicator };
24
- interface StepperProps {
24
+ export type { StepProps, StepIndicatorProps, StepperProps as JoyStepperProps } from '@mui/joy';
25
+ export interface StepperProps {
25
26
  steps: {
26
27
  indicatorContent?: ReactNode | string;
27
28
  label?: ReactNode | string;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { SwitchProps } from '@mui/joy';
3
3
  import { MotionProps } from 'framer-motion';
4
+ export type { SwitchProps };
4
5
  declare const Switch: {
5
6
  (props: SwitchProps & MotionProps): React.JSX.Element;
6
7
  displayName: string;
@@ -1,19 +1,20 @@
1
1
  import React from 'react';
2
2
  import { TableProps } from '@mui/joy';
3
+ export type { TableProps };
3
4
  declare const Table: {
4
5
  (props: TableProps): React.JSX.Element;
5
6
  displayName: string;
6
7
  };
7
8
  export { Table };
8
- interface HeadCell {
9
+ export interface TableHeadCell {
9
10
  label: string;
10
11
  numeric?: boolean;
11
12
  width?: string;
12
13
  minWidth?: string;
13
14
  maxWidth?: string;
14
15
  }
15
- declare function TableHead<D extends Record<string, unknown>>(props: {
16
- headCells: HeadCell[];
16
+ export interface TableHeadProps<D extends Record<string, unknown> = Record<string, unknown>> {
17
+ headCells: TableHeadCell[];
17
18
  /**
18
19
  * Show Checkbox to select all rows
19
20
  */
@@ -32,12 +33,13 @@ declare function TableHead<D extends Record<string, unknown>>(props: {
32
33
  [key: string]: any;
33
34
  }>;
34
35
  };
35
- }): React.JSX.Element;
36
+ }
37
+ declare function TableHead<D extends Record<string, unknown>>(props: TableHeadProps<D>): React.JSX.Element;
36
38
  declare namespace TableHead {
37
39
  var displayName: string;
38
40
  }
39
41
  export { TableHead };
40
- interface TableBodyProps<D extends Record<string, unknown>> {
42
+ export interface TableBodyProps<D extends Record<string, unknown> = Record<string, unknown>> {
41
43
  rows: D[];
42
44
  cellOrder: (keyof D)[];
43
45
  rowOptions?: Partial<Record<keyof D, {
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ export type { TabProps, TabsProps, TabListProps, TabPanelProps } from '@mui/joy';
2
3
  declare const Tabs: import("@emotion/styled").StyledComponent<Omit<import("@mui/base").TabsOwnProps, "slots" | "slotProps"> & {
3
4
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TabsPropsColorOverrides> | undefined;
4
5
  size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").TabsPropsSizeOverrides> | undefined;
@@ -1,26 +1,14 @@
1
1
  import React from 'react';
2
- import { TextareaProps } from '@mui/joy';
2
+ import { TextareaProps as JoyTextareaProps } from '@mui/joy';
3
3
  import { MotionProps } from 'framer-motion';
4
+ export type { JoyTextareaProps };
5
+ export type TextareaProps = {
6
+ label?: string;
7
+ error?: boolean;
8
+ helperText?: React.ReactNode;
9
+ } & JoyTextareaProps & MotionProps;
4
10
  declare const Textarea: {
5
- (props: {
6
- label?: string | undefined;
7
- error?: boolean | undefined;
8
- helperText?: React.ReactNode;
9
- } & {
10
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
11
- } & import("@mui/joy").TextareaSlotsAndSlotProps & Pick<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "name" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required"> & {
12
- color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TextareaPropsColorOverrides> | undefined;
13
- endDecorator?: React.ReactNode;
14
- error?: boolean | undefined;
15
- maxRows?: string | number | undefined;
16
- minRows?: string | number | undefined;
17
- startDecorator?: React.ReactNode;
18
- size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").TextareaPropsSizeOverrides> | undefined;
19
- sx?: import("@mui/joy/styles/types").SxProps | undefined;
20
- variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TextareaPropsVariantOverrides> | undefined;
21
- } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
23
- }, "color" | "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "variant" | "sx" | "disabled" | "size" | "endDecorator" | "startDecorator" | "component" | "name" | "value" | "autoComplete" | "placeholder" | "readOnly" | "required" | "error" | keyof import("@mui/joy").TextareaSlotsAndSlotProps | "maxRows" | "minRows"> & MotionProps): React.JSX.Element;
11
+ (props: TextareaProps): React.JSX.Element;
24
12
  displayName: string;
25
13
  };
26
14
  export { Textarea };
@@ -52,10 +52,12 @@ declare module '@mui/joy/Avatar' {
52
52
  }
53
53
  declare const defaultTheme: Partial<Theme>;
54
54
  export { CssBaseline, defaultTheme as theme, extendTheme };
55
- declare function ThemeProvider(props: {
55
+ export type { Theme };
56
+ export interface ThemeProviderProps {
56
57
  children?: React.ReactNode;
57
58
  theme?: Theme;
58
- }): React.JSX.Element;
59
+ }
60
+ declare function ThemeProvider(props: ThemeProviderProps): React.JSX.Element;
59
61
  declare namespace ThemeProvider {
60
62
  var displayName: string;
61
63
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TooltipProps } from '@mui/joy';
3
3
  import { MotionProps } from 'framer-motion';
4
+ export type { TooltipProps };
4
5
  declare const Tooltip: {
5
6
  (props: TooltipProps & MotionProps): React.JSX.Element;
6
7
  displayName: string;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TypographyProps } from '@mui/joy';
3
3
  import { MotionProps } from 'framer-motion';
4
+ export type { TypographyProps };
4
5
  declare const Typography: {
5
6
  (props: TypographyProps & MotionProps): React.JSX.Element;
6
7
  displayName: string;
@@ -1,38 +1,39 @@
1
1
  import React from 'react';
2
- type UserUpload = {
2
+ export type UserUpload = {
3
3
  id: string | number;
4
4
  name: string;
5
5
  size?: number;
6
6
  };
7
- declare const Uploader: React.MemoExoticComponent<(props: {
8
- onChange?: ((event: {
7
+ export interface UploaderProps {
8
+ onChange?: (event: {
9
9
  target: {
10
- name?: string | undefined;
10
+ name?: string;
11
11
  value: File[];
12
12
  };
13
- }) => void) | undefined;
14
- onDelete?: ((deletedFile: UserUpload) => void) | undefined;
15
- name?: string | undefined;
16
- size?: "sm" | "md" | undefined;
17
- label?: string | undefined;
18
- error?: boolean | undefined;
13
+ }) => void;
14
+ onDelete?: (deletedFile: UserUpload) => void;
15
+ name?: string;
16
+ size?: 'sm' | 'md';
17
+ label?: string;
18
+ error?: boolean;
19
19
  accept: string;
20
- disabled?: boolean | undefined;
21
- minCount?: number | undefined;
22
- maxCount?: number | undefined;
20
+ disabled?: boolean;
21
+ minCount?: number;
22
+ maxCount?: number;
23
23
  /**
24
24
  * Maximum size per file in bytes
25
25
  */
26
- maxFileSize?: number | undefined;
26
+ maxFileSize?: number;
27
27
  /**
28
28
  * Maximum size of all files in bytes
29
29
  */
30
30
  maxFileTotalSize: number;
31
- uploaded?: UserUpload[] | undefined;
31
+ uploaded?: UserUpload[];
32
32
  /**
33
33
  * 모든 안내 메세지/에러 메세지보다 해당 메세지가 우선적으로 보여진다.
34
34
  * 기본 안내 메세지 및 에러 메세지를 사용하려면 해당 필드를 비워야 한다.
35
35
  */
36
- helperText?: string | undefined;
37
- }) => React.JSX.Element>;
36
+ helperText?: string;
37
+ }
38
+ declare const Uploader: React.MemoExoticComponent<(props: UploaderProps) => React.JSX.Element>;
38
39
  export { Uploader };