@up42/up-components 2.13.0 → 3.0.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 (111) hide show
  1. package/README.md +6 -6
  2. package/dist/cjs/index.js +2 -2
  3. package/dist/cjs/types/components/Alert/Alert.d.ts +5 -5
  4. package/dist/cjs/types/components/Avatar/Avatar.d.ts +3 -3
  5. package/dist/cjs/types/components/Badge/Badge.d.ts +3 -3
  6. package/dist/cjs/types/components/Banner/Banner.d.ts +3 -3
  7. package/dist/cjs/types/components/Button/Button.d.ts +3 -3
  8. package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +3 -3
  9. package/dist/cjs/types/components/CodeInline/CodeInline.d.ts +2 -2
  10. package/dist/cjs/types/components/CodeSnippet/CodeSnippet.d.ts +3 -3
  11. package/dist/cjs/types/components/ContactBox/ContactBox.d.ts +2 -2
  12. package/dist/cjs/types/components/ControlButton/ControlButton.d.ts +3 -3
  13. package/dist/cjs/types/components/CopyButton/CopyButton.d.ts +2 -2
  14. package/dist/cjs/types/components/DataGrid/DataGrid.d.ts +5 -5
  15. package/dist/cjs/types/components/DateTime/DateTime.d.ts +1 -1
  16. package/dist/cjs/types/components/Divider/Divider.d.ts +3 -3
  17. package/dist/cjs/types/components/DocumentationPopover/DocumentationPopover.d.ts +2 -2
  18. package/dist/cjs/types/components/EmptyState/EmptyState.d.ts +3 -3
  19. package/dist/cjs/types/components/FormCheckbox/FormCheckbox.d.ts +4 -9
  20. package/dist/cjs/types/components/FormDatePicker/FormDatePicker.d.ts +4 -4
  21. package/dist/cjs/types/components/FormDateRangePicker/FormDateRangePicker.d.ts +5 -5
  22. package/dist/cjs/types/components/FormInput/FormInput.d.ts +3 -8
  23. package/dist/cjs/types/components/FormLabel/FormLabel.d.ts +3 -3
  24. package/dist/cjs/types/components/FormRadio/FormRadio.d.ts +4 -9
  25. package/dist/cjs/types/components/FormSelect/FormSelect.d.ts +5 -10
  26. package/dist/cjs/types/components/FormSwitch/FormSwitch.d.ts +5 -10
  27. package/dist/cjs/types/components/Grid/Grid.d.ts +5 -5
  28. package/dist/cjs/types/components/Icon/Icon.d.ts +3 -3
  29. package/dist/cjs/types/components/Illustration/Illustration.d.ts +3 -3
  30. package/dist/cjs/types/components/InfoCard/InfoCard.d.ts +4 -4
  31. package/dist/cjs/types/components/InfoModal/InfoModal.d.ts +3 -3
  32. package/dist/cjs/types/components/InfoPopover/InfoPopover.d.ts +2 -2
  33. package/dist/cjs/types/components/Input/Input.d.ts +3 -3
  34. package/dist/cjs/types/components/Link/Link.d.ts +2 -2
  35. package/dist/cjs/types/components/Loading/Loading.d.ts +3 -3
  36. package/dist/cjs/types/components/NotFound/NotFound.d.ts +3 -3
  37. package/dist/cjs/types/components/PageContainer/PageContainer.d.ts +3 -3
  38. package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +2 -2
  39. package/dist/cjs/types/components/Radio/Radio.d.ts +3 -3
  40. package/dist/cjs/types/components/Select/Select.d.ts +3 -3
  41. package/dist/cjs/types/components/Slider/Slider.d.ts +3 -3
  42. package/dist/cjs/types/components/Switch/Switch.d.ts +3 -3
  43. package/dist/cjs/types/components/TabGroup/TabGroup.d.ts +4 -4
  44. package/dist/cjs/types/components/Table/Table.d.ts +19 -19
  45. package/dist/cjs/types/components/Tabs/Tabs.d.ts +5 -5
  46. package/dist/cjs/types/components/Tag/Tag.d.ts +3 -3
  47. package/dist/cjs/types/components/Typography/Typography.d.ts +6 -14
  48. package/dist/cjs/types/global/providers/AlertProvider/AlertProvider.d.ts +8 -8
  49. package/dist/cjs/types/global/providers/AlertProvider/AlertStack.d.ts +2 -2
  50. package/dist/cjs/types/global/providers/AlertProvider/SnackbarWrapper.d.ts +2 -2
  51. package/dist/cjs/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +6 -2
  52. package/dist/cjs/types/global/utils/types.d.ts +2 -2
  53. package/dist/cjs/types/utils/helpers/formatDate.d.ts +3 -3
  54. package/dist/cjs/types/utils/helpers/formatNumber.d.ts +1 -1
  55. package/dist/cjs/types/utils/hooks/useRemotePagination.d.ts +2 -2
  56. package/dist/esm/index.js +2 -2
  57. package/dist/esm/types/components/Alert/Alert.d.ts +5 -5
  58. package/dist/esm/types/components/Avatar/Avatar.d.ts +3 -3
  59. package/dist/esm/types/components/Badge/Badge.d.ts +3 -3
  60. package/dist/esm/types/components/Banner/Banner.d.ts +3 -3
  61. package/dist/esm/types/components/Button/Button.d.ts +3 -3
  62. package/dist/esm/types/components/Checkbox/Checkbox.d.ts +3 -3
  63. package/dist/esm/types/components/CodeInline/CodeInline.d.ts +2 -2
  64. package/dist/esm/types/components/CodeSnippet/CodeSnippet.d.ts +3 -3
  65. package/dist/esm/types/components/ContactBox/ContactBox.d.ts +2 -2
  66. package/dist/esm/types/components/ControlButton/ControlButton.d.ts +3 -3
  67. package/dist/esm/types/components/CopyButton/CopyButton.d.ts +2 -2
  68. package/dist/esm/types/components/DataGrid/DataGrid.d.ts +5 -5
  69. package/dist/esm/types/components/DateTime/DateTime.d.ts +1 -1
  70. package/dist/esm/types/components/Divider/Divider.d.ts +3 -3
  71. package/dist/esm/types/components/DocumentationPopover/DocumentationPopover.d.ts +2 -2
  72. package/dist/esm/types/components/EmptyState/EmptyState.d.ts +3 -3
  73. package/dist/esm/types/components/FormCheckbox/FormCheckbox.d.ts +4 -9
  74. package/dist/esm/types/components/FormDatePicker/FormDatePicker.d.ts +4 -4
  75. package/dist/esm/types/components/FormDateRangePicker/FormDateRangePicker.d.ts +5 -5
  76. package/dist/esm/types/components/FormInput/FormInput.d.ts +3 -8
  77. package/dist/esm/types/components/FormLabel/FormLabel.d.ts +3 -3
  78. package/dist/esm/types/components/FormRadio/FormRadio.d.ts +4 -9
  79. package/dist/esm/types/components/FormSelect/FormSelect.d.ts +5 -10
  80. package/dist/esm/types/components/FormSwitch/FormSwitch.d.ts +5 -10
  81. package/dist/esm/types/components/Grid/Grid.d.ts +5 -5
  82. package/dist/esm/types/components/Icon/Icon.d.ts +3 -3
  83. package/dist/esm/types/components/Illustration/Illustration.d.ts +3 -3
  84. package/dist/esm/types/components/InfoCard/InfoCard.d.ts +4 -4
  85. package/dist/esm/types/components/InfoModal/InfoModal.d.ts +3 -3
  86. package/dist/esm/types/components/InfoPopover/InfoPopover.d.ts +2 -2
  87. package/dist/esm/types/components/Input/Input.d.ts +3 -3
  88. package/dist/esm/types/components/Link/Link.d.ts +2 -2
  89. package/dist/esm/types/components/Loading/Loading.d.ts +3 -3
  90. package/dist/esm/types/components/NotFound/NotFound.d.ts +3 -3
  91. package/dist/esm/types/components/PageContainer/PageContainer.d.ts +3 -3
  92. package/dist/esm/types/components/PageHeader/PageHeader.d.ts +2 -2
  93. package/dist/esm/types/components/Radio/Radio.d.ts +3 -3
  94. package/dist/esm/types/components/Select/Select.d.ts +3 -3
  95. package/dist/esm/types/components/Slider/Slider.d.ts +3 -3
  96. package/dist/esm/types/components/Switch/Switch.d.ts +3 -3
  97. package/dist/esm/types/components/TabGroup/TabGroup.d.ts +4 -4
  98. package/dist/esm/types/components/Table/Table.d.ts +19 -19
  99. package/dist/esm/types/components/Tabs/Tabs.d.ts +5 -5
  100. package/dist/esm/types/components/Tag/Tag.d.ts +3 -3
  101. package/dist/esm/types/components/Typography/Typography.d.ts +6 -14
  102. package/dist/esm/types/global/providers/AlertProvider/AlertProvider.d.ts +8 -8
  103. package/dist/esm/types/global/providers/AlertProvider/AlertStack.d.ts +2 -2
  104. package/dist/esm/types/global/providers/AlertProvider/SnackbarWrapper.d.ts +2 -2
  105. package/dist/esm/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +6 -2
  106. package/dist/esm/types/global/utils/types.d.ts +2 -2
  107. package/dist/esm/types/utils/helpers/formatDate.d.ts +3 -3
  108. package/dist/esm/types/utils/helpers/formatNumber.d.ts +1 -1
  109. package/dist/esm/types/utils/hooks/useRemotePagination.d.ts +2 -2
  110. package/dist/index.d.ts +148 -179
  111. package/package.json +14 -5
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { RadioGroupProps } from '@mui/material';
3
3
  import { FormBaseProps } from '@global/utils/types';
4
4
  import { RadioProps } from '../Radio/Radio';
5
- export declare type FormRadioProps = FormBaseProps & RadioGroupProps & {
5
+ export type FormRadioProps = FormBaseProps & RadioGroupProps & {
6
6
  inputRef?: RadioProps['inputRef'];
7
7
  data: {
8
8
  value: string | number;
@@ -13,18 +13,13 @@ export declare type FormRadioProps = FormBaseProps & RadioGroupProps & {
13
13
  /**
14
14
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
15
15
  */
16
- export declare const FormRadio: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
17
- children?: React.ReactNode;
18
- component?: React.ElementType<any> | undefined;
19
- ref?: React.Ref<unknown> | undefined;
20
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
21
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
16
+ export declare const FormRadio: React.ForwardRefExoticComponent<Omit<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
17
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
23
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | "component" | ("color" | "fontSize" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & Pick<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & RadioGroupProps & {
18
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & Pick<import("@mui/material").StandardTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & RadioGroupProps & {
24
19
  inputRef?: RadioProps['inputRef'];
25
20
  data: {
26
21
  value: string | number;
27
22
  label?: string;
28
23
  message?: string;
29
24
  }[];
30
- }, "className" | "style" | "classes" | "children" | "color" | "fontSize" | "sx" | "data" | "label" | "p" | "slot" | "title" | "height" | "id" | "lang" | "name" | "width" | "role" | "tabIndex" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "row" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "disabled" | "value" | "required" | "left" | "right" | "top" | "bottom" | "error" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "component" | "focused" | "helperText" | "inputRef"> & React.RefAttributes<unknown>>;
25
+ }, "ref"> & React.RefAttributes<unknown>>;
@@ -1,26 +1,21 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { FormBaseProps } from '@global/utils/types';
3
3
  import { SelectProps } from '../Select/Select';
4
- declare type Option = {
4
+ type Option = {
5
5
  value: string | number;
6
6
  label: string | ReactNode;
7
7
  };
8
- export declare type FormSelectProps = FormBaseProps & SelectProps<string | number> & {
8
+ export type FormSelectProps = FormBaseProps & SelectProps<string | number> & {
9
9
  options: Option[];
10
10
  };
11
11
  /**
12
12
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
13
13
  */
14
- export declare const FormSelect: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
15
- children?: React.ReactNode;
16
- component?: React.ElementType<any> | undefined;
17
- ref?: React.Ref<unknown> | undefined;
18
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
19
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
14
+ export declare const FormSelect: React.ForwardRefExoticComponent<Omit<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
15
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
21
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | "component" | ("color" | "fontSize" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & Pick<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & Omit<import("@mui/material").SelectProps<string | number>, "variant"> & {
16
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & Pick<import("@mui/material").StandardTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & Omit<import("@mui/material").SelectProps<string | number>, "variant"> & {
22
17
  withBorder?: boolean | undefined;
23
18
  } & {
24
19
  options: Option[];
25
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "input" | "label" | "slot" | "title" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "value" | "open" | "autoComplete" | "multiple" | "readOnly" | "required" | "size" | "rows" | "error" | "component" | "components" | "componentsProps" | "onClose" | "slotProps" | "slots" | "fullWidth" | ("color" | "fontSize" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "focused" | "helperText" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "onOpen" | "labelId" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "renderSuffix" | "startAdornment" | "disableUnderline" | "notched" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps" | "withBorder" | "options"> & React.RefAttributes<unknown>>;
20
+ }, "ref"> & React.RefAttributes<unknown>>;
26
21
  export {};
@@ -1,20 +1,15 @@
1
1
  import React from 'react';
2
2
  import { FormBaseProps } from '@global/utils/types';
3
3
  import { SwitchProps } from '../Switch/Switch';
4
- export declare type FormSwitchProps = FormBaseProps & SwitchProps & {
4
+ export type FormSwitchProps = FormBaseProps & SwitchProps & {
5
5
  formControlLabel?: string;
6
6
  };
7
- export declare const BaseFormSwitch: ({ component, disabled, label, error, formControlLabel, sx, ...props }: FormSwitchProps) => JSX.Element;
7
+ export declare const BaseFormSwitch: ({ component, disabled, label, error, formControlLabel, sx, ...props }: FormSwitchProps) => React.JSX.Element;
8
8
  /**
9
9
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
10
10
  */
11
- export declare const FormSwitch: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
12
- children?: React.ReactNode;
13
- component?: React.ElementType<any> | undefined;
14
- ref?: React.Ref<unknown> | undefined;
15
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
16
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
11
+ export declare const FormSwitch: React.ForwardRefExoticComponent<Omit<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
12
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
18
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | "component" | ("color" | "fontSize" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & Pick<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & Omit<import("@mui/material").SwitchProps, "classes" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple"> & {
13
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & Pick<import("@mui/material").StandardTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "label" | "id" | "disabled" | "required" | "error" | "focused" | "helperText"> & Omit<import("@mui/material").SwitchProps, "classes" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple"> & {
19
14
  formControlLabel?: string | undefined;
20
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "form" | "label" | "slot" | "title" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "checked" | "readOnly" | "required" | "size" | "error" | "icon" | "component" | "onFocusVisible" | ("color" | "fontSize" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "focused" | "helperText" | "inputProps" | "inputRef" | "checkedIcon" | "edge" | "formControlLabel"> & React.RefAttributes<unknown>>;
15
+ }, "ref"> & React.RefAttributes<unknown>>;
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { GridProps } from '@mui/material';
3
- export declare type GridContainerProps = Omit<GridProps, 'container' | 'item' | 'xs' | 'columnSpacing'>;
3
+ export type GridContainerProps = Omit<GridProps, 'container' | 'item' | 'xs' | 'columnSpacing'>;
4
4
  /**
5
5
  * Documentation: https://up-components.up42.com/?path=/docs/layout-grid--docs
6
6
  */
7
- export declare const GridContainer: ({ children, ...props }: GridContainerProps) => JSX.Element;
8
- export declare type GridItemProps = GridContainerProps & {
7
+ export declare const GridContainer: ({ children, ...props }: GridContainerProps) => React.JSX.Element;
8
+ export type GridItemProps = GridContainerProps & {
9
9
  /**
10
10
  * `span` prop is used to set the column span.
11
11
  */
@@ -14,4 +14,4 @@ export declare type GridItemProps = GridContainerProps & {
14
14
  /**
15
15
  * Documentation: https://up-components.up42.com/?path=/docs/layout-grid--docs
16
16
  */
17
- export declare const GridItem: ({ children, span, ...props }: GridItemProps) => JSX.Element;
17
+ export declare const GridItem: ({ children, span, ...props }: GridItemProps) => React.JSX.Element;
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
3
  import * as icons from '@global/icons';
4
- export declare type IconProps = {
4
+ export type IconProps = {
5
5
  name: keyof typeof icons;
6
6
  } & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox'>;
7
7
  /**
8
8
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-icon--docs
9
9
  * Icons: https://up-components.up42.com/?path=/docs/icons--docs
10
10
  */
11
- export declare const Icon: ({ name, ...props }: IconProps) => JSX.Element;
11
+ export declare const Icon: ({ name, ...props }: IconProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
3
  import * as illustrations from '@global/illustrations';
4
- export declare type IllustrationProps = {
4
+ export type IllustrationProps = {
5
5
  name: keyof typeof illustrations;
6
6
  size?: SvgIconProps['width'];
7
7
  } & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox' | 'fontSize'>;
@@ -9,4 +9,4 @@ export declare type IllustrationProps = {
9
9
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-illustrations--docs
10
10
  * Illustrations: https://up-components.up42.com/?path=/docs/illustrations--docs
11
11
  */
12
- export declare function Illustration({ name, size, sx, ...props }: IllustrationProps): JSX.Element;
12
+ export declare function Illustration({ name, size, sx, ...props }: IllustrationProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { CardProps } from '@mui/material';
3
- export declare type InfoCardProps = {
3
+ export type InfoCardProps = {
4
4
  title: string;
5
5
  subtitle?: string;
6
6
  /**
@@ -44,11 +44,11 @@ export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, a
44
44
  hideDivider?: boolean | undefined;
45
45
  } & Omit<CardProps<"div", {}>, "square" | "variant" | "raised"> & {
46
46
  innerRef: CardProps['ref'];
47
- }) => JSX.Element;
47
+ }) => React.JSX.Element;
48
48
  /**
49
49
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
50
50
  */
51
- export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
51
+ export declare const InfoCard: React.ForwardRefExoticComponent<Omit<{
52
52
  title: string;
53
53
  subtitle?: string | undefined;
54
54
  /**
@@ -67,4 +67,4 @@ export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
67
67
  * Choose whether to hide divider or not.
68
68
  */
69
69
  hideDivider?: boolean | undefined;
70
- } & Omit<CardProps<"div", {}>, "square" | "variant" | "raised">, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "color" | "sx" | "slot" | "title" | "id" | "lang" | "role" | "tabIndex" | "elevation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "actions" | "titleVariant" | "subtitle" | "headerAction" | "hideDivider"> & React.RefAttributes<unknown>>;
70
+ } & Omit<CardProps<"div", {}>, "square" | "variant" | "raised">, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ModalProps as MUIModalProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
4
  import { InfoCardProps } from '../InfoCard/InfoCard';
5
- export declare type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'BackdropProps' | 'BackdropComponent' | 'onBackdropClick'>, Omit<InfoCardProps, 'headerAction'> & {
5
+ export type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'BackdropProps' | 'BackdropComponent' | 'onBackdropClick'>, Omit<InfoCardProps, 'headerAction'> & {
6
6
  /**
7
7
  * Maximum width of the modal, in pixels.
8
8
  */
@@ -11,4 +11,4 @@ export declare type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'Backdrop
11
11
  /**
12
12
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-infomodal--docs
13
13
  */
14
- export declare const InfoModal: ({ title, subtitle, children, actions, open, maxWidth, onClose, ...props }: InfoModalProps) => JSX.Element;
14
+ export declare const InfoModal: ({ title, subtitle, children, actions, open, maxWidth, onClose, ...props }: InfoModalProps) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { InfoCardProps } from '../InfoCard/InfoCard';
3
- export declare type InfoPopoverProps = InfoCardProps & {
3
+ export type InfoPopoverProps = InfoCardProps & {
4
4
  icon?: React.ElementType;
5
5
  };
6
6
  /**
7
7
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-popovers-infopopover--docs
8
8
  */
9
- export declare const InfoPopover: ({ id, icon: CustomIcon, actions, title, children, sx, ...props }: InfoPopoverProps) => JSX.Element;
9
+ export declare const InfoPopover: ({ id, icon: CustomIcon, actions, title, children, sx, ...props }: InfoPopoverProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TextFieldProps } from '@mui/material';
3
- export declare type InputProps = Omit<TextFieldProps, 'maxRows' | 'minRows' | 'multiline' | 'rows' | 'size' | 'variant'>;
3
+ export type InputProps = Omit<TextFieldProps, 'maxRows' | 'minRows' | 'multiline' | 'rows' | 'size' | 'variant'>;
4
4
  /**
5
5
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-input--docs
6
6
  */
7
- export declare const Input: ({ type, ...props }: InputProps) => JSX.Element;
7
+ export declare const Input: ({ type, ...props }: InputProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { LinkProps as MuiLinkProps } from '@mui/material';
3
- export declare type LinkProps<C extends React.ElementType> = MuiLinkProps<C, {
3
+ export type LinkProps<C extends React.ElementType> = MuiLinkProps<C, {
4
4
  component?: C;
5
5
  }> & {
6
6
  /**
@@ -28,4 +28,4 @@ export declare type LinkProps<C extends React.ElementType> = MuiLinkProps<C, {
28
28
  *
29
29
  * Documentation: https://up-components.up42.com/?path=/docs/navigation-link--docs
30
30
  */
31
- export declare const Link: <C extends React.ElementType<any>>({ children, underline, hideIcon, openInSameTab, ...props }: LinkProps<C>) => JSX.Element;
31
+ export declare const Link: <C extends React.ElementType<any>>({ children, underline, hideIcon, openInSameTab, ...props }: LinkProps<C>) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BoxProps } from '@mui/material';
3
- export declare type LoadingProps = {
3
+ export type LoadingProps = {
4
4
  /**
5
5
  * Controls the `height` of the component. Defaults to `100vh`
6
6
  */
@@ -13,4 +13,4 @@ export declare type LoadingProps = {
13
13
  /**
14
14
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-loading--docs
15
15
  */
16
- export declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => JSX.Element | null;
16
+ export declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => React.JSX.Element | null;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- export declare type NotFoundProps = {
1
+ import React from 'react';
2
+ export type NotFoundProps = {
3
3
  /**
4
4
  * The label of the CTA button
5
5
  */
@@ -12,4 +12,4 @@ export declare type NotFoundProps = {
12
12
  /**
13
13
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-notfound--docs
14
14
  */
15
- export declare const NotFound: ({ ctaLabel, ctaPath }: NotFoundProps) => JSX.Element;
15
+ export declare const NotFound: ({ ctaLabel, ctaPath }: NotFoundProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ContainerProps } from '@mui/material';
3
- export declare type PageContainerProps = Omit<ContainerProps, 'fixed' | 'maxWidth'> & {
3
+ export type PageContainerProps = Omit<ContainerProps, 'fixed' | 'maxWidth'> & {
4
4
  /**
5
5
  * The number of `columns` to use in the grid system
6
6
  */
@@ -13,4 +13,4 @@ export declare type PageContainerProps = Omit<ContainerProps, 'fixed' | 'maxWidt
13
13
  /**
14
14
  * Documentation: https://up-components.up42.com/?path=/docs/layout-pagecontainer--docs
15
15
  */
16
- export declare const PageContainer: ({ children, fluid, columns, ...props }: PageContainerProps) => JSX.Element;
16
+ export declare const PageContainer: ({ children, fluid, columns, ...props }: PageContainerProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type PageHeaderProps = {
2
+ export type PageHeaderProps = {
3
3
  title: string;
4
4
  divider?: boolean;
5
5
  description?: React.ReactNode;
@@ -19,4 +19,4 @@ export declare type PageHeaderProps = {
19
19
  /**
20
20
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-pageheader--docs
21
21
  */
22
- export declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => JSX.Element;
22
+ export declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { RadioProps as MUIRadioProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type RadioProps = MUIGlobalOmit<MUIRadioProps>;
4
+ export type RadioProps = MUIGlobalOmit<MUIRadioProps>;
5
5
  /**
6
6
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
7
7
  */
8
- export declare const Radio: (props: RadioProps) => JSX.Element;
8
+ export declare const Radio: (props: RadioProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SelectProps as MUISelectProps } from '@mui/material';
3
3
  import { FormBaseProps } from '@global/utils/types';
4
- export declare type SelectProps<T extends unknown> = FormBaseProps & Omit<MUISelectProps<T>, 'variant'> & {
4
+ export type SelectProps<T extends unknown> = FormBaseProps & Omit<MUISelectProps<T>, 'variant'> & {
5
5
  /**
6
6
  * Determines whether to display a border around the select component.
7
7
  * @default true
@@ -11,4 +11,4 @@ export declare type SelectProps<T extends unknown> = FormBaseProps & Omit<MUISel
11
11
  /**
12
12
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-select--docs
13
13
  */
14
- export declare const Select: <T extends unknown>({ withBorder, size, ...props }: SelectProps<T>) => JSX.Element;
14
+ export declare const Select: <T extends unknown>({ withBorder, size, ...props }: SelectProps<T>) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SliderProps as MUISliderProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type SliderProps = MUIGlobalOmit<Omit<MUISliderProps, 'variant' | 'label'>>;
4
+ export type SliderProps = MUIGlobalOmit<Omit<MUISliderProps, 'variant' | 'label'>>;
5
5
  /**
6
6
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-slider--default--docs
7
7
  */
8
- export declare const Slider: (props: SliderProps) => JSX.Element;
8
+ export declare const Slider: (props: SliderProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { SwitchProps as MUISwitchProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type SwitchProps = MUIGlobalOmit<MUISwitchProps>;
4
+ export type SwitchProps = MUIGlobalOmit<MUISwitchProps>;
5
5
  /**
6
6
  * Documentation: https://up-components.up42.com/?path=/docs/data-entry-switch--docs
7
7
  */
8
- export declare const Switch: (props: SwitchProps) => JSX.Element;
8
+ export declare const Switch: (props: SwitchProps) => React.JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import { BoxProps } from '@mui/material';
2
- import { ReactNode } from 'react';
2
+ import React, { ReactNode } from 'react';
3
3
  import { TabsProps } from '../Tabs/Tabs';
4
- declare type TabDataType = {
4
+ type TabDataType = {
5
5
  label: string | ReactNode;
6
6
  content: string | ReactNode;
7
7
  hidden?: boolean;
8
8
  };
9
- export declare type TabGroupProps = {
9
+ export type TabGroupProps = {
10
10
  tabs: TabDataType[];
11
11
  tabContentProps?: BoxProps;
12
12
  tabsProps?: TabsProps;
@@ -26,5 +26,5 @@ export declare type TabGroupProps = {
26
26
  /**
27
27
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-tabgroup--docs
28
28
  */
29
- export declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue, onChange, }: TabGroupProps) => JSX.Element;
29
+ export declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue, onChange, }: TabGroupProps) => React.JSX.Element;
30
30
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TableProps as MuiTableProps } from '@mui/material/Table';
3
3
  import { TableBodyProps as MuiTableBodyProps } from '@mui/material/TableBody';
4
4
  import { TableCellProps as MuiTableCellProps } from '@mui/material/TableCell';
@@ -9,24 +9,24 @@ import { TablePaginationProps as MuiTablePaginationProps } from '@mui/material/T
9
9
  import { TableSortLabelProps as MuiTableSortLabelProps } from '@mui/material/TableSortLabel';
10
10
  import { TableFooterProps as MuiTableFooterProps } from '@mui/material/TableFooter';
11
11
  import { MUIGlobalOmit } from '@global/utils/types';
12
- export declare type TableProps = MUIGlobalOmit<MuiTableProps>;
12
+ export type TableProps = MUIGlobalOmit<MuiTableProps>;
13
13
  /**
14
14
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-table--docs
15
15
  */
16
- export declare const Table: ({ children, ...props }: TableProps) => JSX.Element;
17
- export declare type TableBodyProps = MUIGlobalOmit<MuiTableBodyProps>;
18
- export declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
19
- export declare type TableCellProps = MUIGlobalOmit<MuiTableCellProps>;
20
- export declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
21
- export declare type TableContainerProps = MUIGlobalOmit<MuiTableContainerProps>;
22
- export declare const TableContainer: ({ children, ...props }: TableContainerProps) => JSX.Element;
23
- export declare type TableHeadProps = MUIGlobalOmit<MuiTableHeadProps>;
24
- export declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
25
- export declare type TableRowProps = MUIGlobalOmit<MuiTableRowProps>;
26
- export declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
27
- export declare type TablePaginationProps = MUIGlobalOmit<MuiTablePaginationProps>;
28
- export declare const TablePagination: ({ ...props }: TablePaginationProps) => JSX.Element;
29
- export declare type TableSortLabelProps = MUIGlobalOmit<MuiTableSortLabelProps>;
30
- export declare const TableSortLabel: ({ children, ...props }: TableSortLabelProps) => JSX.Element;
31
- export declare type TableFooterProps = MUIGlobalOmit<MuiTableFooterProps>;
32
- export declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
16
+ export declare const Table: ({ children, ...props }: TableProps) => React.JSX.Element;
17
+ export type TableBodyProps = MUIGlobalOmit<MuiTableBodyProps>;
18
+ export declare const TableBody: ({ children, ...props }: TableBodyProps) => React.JSX.Element;
19
+ export type TableCellProps = MUIGlobalOmit<MuiTableCellProps>;
20
+ export declare const TableCell: ({ children, ...props }: TableCellProps) => React.JSX.Element;
21
+ export type TableContainerProps = MUIGlobalOmit<MuiTableContainerProps>;
22
+ export declare const TableContainer: ({ children, ...props }: TableContainerProps) => React.JSX.Element;
23
+ export type TableHeadProps = MUIGlobalOmit<MuiTableHeadProps>;
24
+ export declare const TableHead: ({ children, ...props }: TableHeadProps) => React.JSX.Element;
25
+ export type TableRowProps = MUIGlobalOmit<MuiTableRowProps>;
26
+ export declare const TableRow: ({ children, ...props }: TableRowProps) => React.JSX.Element;
27
+ export type TablePaginationProps = MUIGlobalOmit<MuiTablePaginationProps>;
28
+ export declare const TablePagination: ({ ...props }: TablePaginationProps) => React.JSX.Element;
29
+ export type TableSortLabelProps = MUIGlobalOmit<MuiTableSortLabelProps>;
30
+ export declare const TableSortLabel: ({ children, ...props }: TableSortLabelProps) => React.JSX.Element;
31
+ export type TableFooterProps = MUIGlobalOmit<MuiTableFooterProps>;
32
+ export declare const TableFooter: ({ children, ...props }: TableFooterProps) => React.JSX.Element;
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TabsProps as MuiTabsProps, TabProps as MuiTabProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type TabsProps = MUIGlobalOmit<MuiTabsProps>;
5
- export declare type TabProps = MUIGlobalOmit<MuiTabProps>;
4
+ export type TabsProps = MUIGlobalOmit<MuiTabsProps>;
5
+ export type TabProps = MUIGlobalOmit<MuiTabProps>;
6
6
  /**
7
7
  * Documentation: https://up-components.up42.com/?path=/docs/navigation-tabs--docs
8
8
  */
9
- export declare const Tabs: ({ children, ...props }: TabsProps) => JSX.Element;
10
- export declare const Tab: ({ children, ...props }: TabProps) => JSX.Element;
9
+ export declare const Tabs: ({ children, ...props }: TabsProps) => React.JSX.Element;
10
+ export declare const Tab: ({ children, ...props }: TabProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ChipProps as MUIChipProps } from '@mui/material';
3
3
  import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type TagProps = MUIGlobalOmit<Omit<MUIChipProps, 'size' | 'avatar'>>;
4
+ export type TagProps = MUIGlobalOmit<Omit<MUIChipProps, 'size' | 'avatar'>>;
5
5
  /**
6
6
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-tag--docs
7
7
  */
8
- export declare const Tag: ({ color, ...props }: TagProps) => JSX.Element;
8
+ export declare const Tag: ({ color, ...props }: TagProps) => React.JSX.Element;