@up42/up-components 1.0.0-douglas.2 → 1.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.
- package/README.md +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/types/components/Alert/Alert.d.ts +1 -1
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/cjs/types/components/Badge/Badge.d.ts +1 -1
- package/dist/cjs/types/components/Banner/Banner.d.ts +1 -1
- package/dist/cjs/types/components/Box/Box.d.ts +1 -1
- package/dist/cjs/types/components/Button/Button.d.ts +1 -1
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/types/components/Chip/Chip.d.ts +1 -1
- package/dist/cjs/types/components/CodeInline/CodeInline.d.ts +1 -1
- package/dist/cjs/types/components/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/cjs/types/components/ContactBox/ContactBox.d.ts +1 -1
- package/dist/cjs/types/components/Container/Container.d.ts +1 -1
- package/dist/cjs/types/components/ControlButton/ControlButton.d.ts +1 -1
- package/dist/cjs/types/components/CopyButton/CopyButton.d.ts +1 -1
- package/dist/cjs/types/components/DataGrid/DataGrid.d.ts +1 -1
- package/dist/cjs/types/components/DateTime/DateTime.d.ts +1 -1
- package/dist/cjs/types/components/DocumentationPopover/DocumentationPopover.d.ts +1 -1
- package/dist/cjs/types/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/cjs/types/components/FormCheckbox/FormCheckbox.d.ts +1 -1
- package/dist/cjs/types/components/FormDateRangePicker/FormDateRangePicker.d.ts +3 -0
- package/dist/cjs/types/components/FormInput/FormInput.d.ts +1 -1
- package/dist/cjs/types/components/FormRadio/FormRadio.d.ts +1 -1
- package/dist/cjs/types/components/FormSelect/FormSelect.d.ts +1 -1
- package/dist/cjs/types/components/FormSwitch/FormSwitch.d.ts +1 -1
- package/dist/cjs/types/components/Icon/Icon.d.ts +2 -2
- package/dist/cjs/types/components/InfoCard/InfoCard.d.ts +2 -2
- package/dist/cjs/types/components/InfoModal/InfoModal.d.ts +1 -1
- package/dist/cjs/types/components/InfoPopover/InfoPopover.d.ts +1 -1
- package/dist/cjs/types/components/Input/Input.d.ts +1 -1
- package/dist/cjs/types/components/Link/Link.d.ts +1 -1
- package/dist/cjs/types/components/Loading/Loading.d.ts +1 -1
- package/dist/cjs/types/components/Menu/Menu.d.ts +1 -1
- package/dist/cjs/types/components/Modal/Modal.d.ts +1 -1
- package/dist/cjs/types/components/NotFound/NotFound.d.ts +1 -1
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/cjs/types/components/Popover/Popover.d.ts +1 -1
- package/dist/cjs/types/components/Radio/Radio.d.ts +1 -1
- package/dist/cjs/types/components/Select/Select.d.ts +1 -1
- package/dist/cjs/types/components/Slider/Slider.d.ts +1 -1
- package/dist/cjs/types/components/Switch/Switch.d.ts +1 -1
- package/dist/cjs/types/components/TabGroup/TabGroup.d.ts +1 -1
- package/dist/cjs/types/components/Table/Table.d.ts +1 -1
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +1 -1
- package/dist/cjs/types/components/Tag/Tag.d.ts +1 -1
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/types/components/Typography/Typography.d.ts +2 -2
- package/dist/cjs/types/global/providers/AlertProvider/AlertProvider.d.ts +1 -1
- package/dist/cjs/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +1 -1
- package/dist/cjs/types/utils/helpers/capitalize.d.ts +1 -1
- package/dist/cjs/types/utils/helpers/copyToClipboard.d.ts +1 -1
- package/dist/cjs/types/utils/helpers/formatDate.d.ts +1 -1
- package/dist/cjs/types/utils/helpers/formatFileSize.d.ts +1 -1
- package/dist/cjs/types/utils/helpers/formatNumber.d.ts +1 -1
- package/dist/cjs/types/utils/hooks/useQueryParams.d.ts +1 -1
- package/dist/cjs/types/utils/hooks/useRemotePagination.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/Alert/Alert.d.ts +1 -1
- package/dist/esm/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/esm/types/components/Badge/Badge.d.ts +1 -1
- package/dist/esm/types/components/Banner/Banner.d.ts +1 -1
- package/dist/esm/types/components/Box/Box.d.ts +1 -1
- package/dist/esm/types/components/Button/Button.d.ts +1 -1
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/types/components/Chip/Chip.d.ts +1 -1
- package/dist/esm/types/components/CodeInline/CodeInline.d.ts +1 -1
- package/dist/esm/types/components/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/esm/types/components/ContactBox/ContactBox.d.ts +1 -1
- package/dist/esm/types/components/Container/Container.d.ts +1 -1
- package/dist/esm/types/components/ControlButton/ControlButton.d.ts +1 -1
- package/dist/esm/types/components/CopyButton/CopyButton.d.ts +1 -1
- package/dist/esm/types/components/DataGrid/DataGrid.d.ts +1 -1
- package/dist/esm/types/components/DateTime/DateTime.d.ts +1 -1
- package/dist/esm/types/components/DocumentationPopover/DocumentationPopover.d.ts +1 -1
- package/dist/esm/types/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/esm/types/components/FormCheckbox/FormCheckbox.d.ts +1 -1
- package/dist/esm/types/components/FormDateRangePicker/FormDateRangePicker.d.ts +3 -0
- package/dist/esm/types/components/FormInput/FormInput.d.ts +1 -1
- package/dist/esm/types/components/FormRadio/FormRadio.d.ts +1 -1
- package/dist/esm/types/components/FormSelect/FormSelect.d.ts +1 -1
- package/dist/esm/types/components/FormSwitch/FormSwitch.d.ts +1 -1
- package/dist/esm/types/components/Icon/Icon.d.ts +2 -2
- package/dist/esm/types/components/InfoCard/InfoCard.d.ts +2 -2
- package/dist/esm/types/components/InfoModal/InfoModal.d.ts +1 -1
- package/dist/esm/types/components/InfoPopover/InfoPopover.d.ts +1 -1
- package/dist/esm/types/components/Input/Input.d.ts +1 -1
- package/dist/esm/types/components/Link/Link.d.ts +1 -1
- package/dist/esm/types/components/Loading/Loading.d.ts +1 -1
- package/dist/esm/types/components/Menu/Menu.d.ts +1 -1
- package/dist/esm/types/components/Modal/Modal.d.ts +1 -1
- package/dist/esm/types/components/NotFound/NotFound.d.ts +1 -1
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/esm/types/components/Popover/Popover.d.ts +1 -1
- package/dist/esm/types/components/Radio/Radio.d.ts +1 -1
- package/dist/esm/types/components/Select/Select.d.ts +1 -1
- package/dist/esm/types/components/Slider/Slider.d.ts +1 -1
- package/dist/esm/types/components/Switch/Switch.d.ts +1 -1
- package/dist/esm/types/components/TabGroup/TabGroup.d.ts +1 -1
- package/dist/esm/types/components/Table/Table.d.ts +1 -1
- package/dist/esm/types/components/Tabs/Tabs.d.ts +1 -1
- package/dist/esm/types/components/Tag/Tag.d.ts +1 -1
- package/dist/esm/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/esm/types/components/Typography/Typography.d.ts +2 -2
- package/dist/esm/types/global/providers/AlertProvider/AlertProvider.d.ts +1 -1
- package/dist/esm/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +1 -1
- package/dist/esm/types/utils/helpers/capitalize.d.ts +1 -1
- package/dist/esm/types/utils/helpers/copyToClipboard.d.ts +1 -1
- package/dist/esm/types/utils/helpers/formatDate.d.ts +1 -1
- package/dist/esm/types/utils/helpers/formatFileSize.d.ts +1 -1
- package/dist/esm/types/utils/helpers/formatNumber.d.ts +1 -1
- package/dist/esm/types/utils/hooks/useQueryParams.d.ts +1 -1
- package/dist/esm/types/utils/hooks/useRemotePagination.d.ts +1 -1
- package/dist/index.d.ts +59 -56
- package/package.json +9 -5
|
@@ -9,7 +9,7 @@ export declare type AlertProps = Omit<MUIALertProps, 'color' | 'elevation' | 'ic
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const AlertBase: React.ForwardRefExoticComponent<Pick<MUIALertProps, "className" | "style" | "classes" | "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" | "square" | "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" | "action" | "icon" | "iconMapping" | "severity" | "variant" | "closeText" | "components" | "componentsProps" | "onClose" | "slotProps" | "slots"> & React.RefAttributes<unknown>>;
|
|
11
11
|
/**
|
|
12
|
-
* Documentation: https://up-components.up42.
|
|
12
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-alert--docs
|
|
13
13
|
*/
|
|
14
14
|
export declare const Alert: React.ForwardRefExoticComponent<Pick<Omit<MUIALertProps, "color" | "elevation" | "square" | "action" | "iconMapping" | "severity" | "variant"> & {
|
|
15
15
|
type?: AlertColor | undefined;
|
|
@@ -7,7 +7,7 @@ export declare type AvatarProps = MUIGlobalOmit<Omit<MUIAvatarProps, 'children'
|
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
}>;
|
|
9
9
|
/**
|
|
10
|
-
* Documentation: https://up-components.up42.
|
|
10
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-avatar--docs
|
|
11
11
|
*/
|
|
12
12
|
export declare const Avatar: React.ForwardRefExoticComponent<Pick<{
|
|
13
13
|
firstName?: string | undefined;
|
|
@@ -3,6 +3,6 @@ import { BadgeProps as MUIBadgeProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type BadgeProps = MUIGlobalOmit<MUIBadgeProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-badge--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Badge: ({ children, color, ...props }: BadgeProps) => JSX.Element;
|
|
@@ -25,7 +25,7 @@ export declare type BannerProps = {
|
|
|
25
25
|
title: string;
|
|
26
26
|
} & Omit<AlertProps, 'title' | 'closeText' | 'icon' | 'role' | 'onClose'>;
|
|
27
27
|
/**
|
|
28
|
-
* Documentation: https://up-components.up42.
|
|
28
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-banner--docs
|
|
29
29
|
*/
|
|
30
30
|
export declare const Banner: React.ForwardRefExoticComponent<Pick<{
|
|
31
31
|
/**
|
|
@@ -3,6 +3,6 @@ import { BoxProps as MUIBoxProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type BoxProps = MUIGlobalOmit<MUIBoxProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/layout-box--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Box: React.ForwardRefExoticComponent<Pick<Omit<MUIBoxProps<"div", {}>, "classes" | "tabIndex" | "action" | "disableRipple" | "disableFocusRipple" | "disableElevation" | "disableTouchRipple" | "focusRipple" | "centerRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef">, "className" | "style" | "children" | "sx" | "slot" | "title" | "id" | "lang" | "role" | "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" | "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")> & React.RefAttributes<unknown>>;
|
|
@@ -6,7 +6,7 @@ export declare type ButtonProps = MUIGlobalOmit<Omit<MUIButtonProps, 'size'>, {
|
|
|
6
6
|
size?: 'default' | 'slim';
|
|
7
7
|
}>;
|
|
8
8
|
/**
|
|
9
|
-
* Documentation: https://up-components.up42.
|
|
9
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-button--docs
|
|
10
10
|
*/
|
|
11
11
|
export declare const Button: React.ForwardRefExoticComponent<Pick<{
|
|
12
12
|
loading?: boolean | undefined;
|
|
@@ -3,6 +3,6 @@ import { CheckboxProps as MUICheckboxProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type CheckboxProps = MUIGlobalOmit<MUICheckboxProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-checkbox--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Checkbox: ({ ...props }: CheckboxProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { ChipProps as MUIChipProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type ChipProps = MUIGlobalOmit<Omit<MUIChipProps, 'size'>>;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated Please use [Tags](https://up-components.up42.
|
|
6
|
+
* @deprecated Please use [Tags](https://up-components.up42.com/?path=/docs/data-display-tag) instead--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Chip: ({ label, sx, ...props }: ChipProps) => JSX.Element;
|
|
@@ -5,6 +5,6 @@ export interface CodeInlineProps {
|
|
|
5
5
|
'data-testid'?: string;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Documentation: https://up-components.up42.
|
|
8
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-codeinline--docs
|
|
9
9
|
*/
|
|
10
10
|
export declare const CodeInline: ({ label, text, "data-testid": dataTestId }: CodeInlineProps) => JSX.Element;
|
|
@@ -27,6 +27,6 @@ export interface CodeSnippetProps {
|
|
|
27
27
|
initialSnippetIndex?: number;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Documentation: https://up-components.up42.
|
|
30
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-CodeSnippet--docs
|
|
31
31
|
*/
|
|
32
32
|
export declare const CodeSnippet: ({ snippets, sx, onCopy, initialSnippetIndex }: CodeSnippetProps) => JSX.Element;
|
|
@@ -8,6 +8,6 @@ export declare type ContactBoxProps = {
|
|
|
8
8
|
sx?: SxProps<Theme>;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Documentation: https://up-components.up42.
|
|
11
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-contactbox--docs
|
|
12
12
|
*/
|
|
13
13
|
export declare const ContactBox: ({ customIcon, text, actions, size, sx }: ContactBoxProps) => JSX.Element;
|
|
@@ -24,6 +24,6 @@ export declare type ContainerProps = MUIGlobalOmit<Omit<MUIContainerProps, 'maxW
|
|
|
24
24
|
*
|
|
25
25
|
* To now more about the requirements please check here: https://up42.atlassian.net/browse/B2B-215.
|
|
26
26
|
*
|
|
27
|
-
* Documentation: https://up-components.up42.
|
|
27
|
+
* Documentation: https://up-components.up42.com/?path=/docs/layout-container--docs
|
|
28
28
|
*/
|
|
29
29
|
export declare const Container: ({ component, size, children, ...props }: ContainerProps) => JSX.Element;
|
|
@@ -9,7 +9,7 @@ export declare type ControlButtonProps = MUIGlobalOmit<MUIIconButtonProps, {
|
|
|
9
9
|
removePadding?: boolean;
|
|
10
10
|
}>;
|
|
11
11
|
/**
|
|
12
|
-
* Documentation: https://up-components.up42.
|
|
12
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-controlbutton--docs
|
|
13
13
|
*/
|
|
14
14
|
export declare const ControlButton: React.ForwardRefExoticComponent<Pick<{
|
|
15
15
|
size?: "small" | "medium" | undefined;
|
|
@@ -7,6 +7,6 @@ export interface CopyButtonProps {
|
|
|
7
7
|
onCopy?: (data: string) => void;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Documentation: https://up-components.up42.
|
|
10
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-copybutton--docs
|
|
11
11
|
*/
|
|
12
12
|
export declare const CopyButton: ({ data, tooltip, sx, onCopy }: CopyButtonProps) => JSX.Element;
|
|
@@ -4,6 +4,6 @@ export { type GridColDef, type GridRenderCellParams, type GridRowId, type GridRo
|
|
|
4
4
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
5
5
|
export declare type DataGridProps = MUIGlobalOmit<MuiDataGridProps>;
|
|
6
6
|
/**
|
|
7
|
-
* Documentation: https://up-components.up42.
|
|
7
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-datagrid--docs
|
|
8
8
|
*/
|
|
9
9
|
export declare const DataGrid: ({ autoHeight, pageSizeOptions, disableRowSelectionOnClick, ...props }: MuiDataGridProps) => JSX.Element;
|
|
@@ -4,7 +4,7 @@ export declare type DateTimeProps = {
|
|
|
4
4
|
date: DateType;
|
|
5
5
|
} & FormatDateOptions;
|
|
6
6
|
/**
|
|
7
|
-
* Documentation: https://up-components.up42.
|
|
7
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-datetime--docs
|
|
8
8
|
*/
|
|
9
9
|
export declare const DateTime: React.ForwardRefExoticComponent<{
|
|
10
10
|
date: DateType;
|
|
@@ -13,6 +13,6 @@ export declare type DocumentationPopoverProps = {
|
|
|
13
13
|
ctaPath: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
-
* Documentation: https://up-components.up42.
|
|
16
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-popovers-documentationpopover--docs
|
|
17
17
|
*/
|
|
18
18
|
export declare const DocumentationPopover: ({ children, ctaPath, ctaLabel, title }: DocumentationPopoverProps) => JSX.Element;
|
|
@@ -20,6 +20,6 @@ export declare type EmptyStateProps = MUIGlobalOmit<Omit<BoxProps, 'component'>,
|
|
|
20
20
|
action?: ReactNode;
|
|
21
21
|
}>;
|
|
22
22
|
/**
|
|
23
|
-
* Documentation: https://up-components.up42.
|
|
23
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-emptystate--docs
|
|
24
24
|
*/
|
|
25
25
|
export declare const EmptyState: ({ icon: Icon, title, subTitle, action, sx, ...props }: EmptyStateProps) => JSX.Element;
|
|
@@ -8,7 +8,7 @@ export declare type FormCheckboxProps = FormBaseProps & CheckboxProps & {
|
|
|
8
8
|
}[];
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Documentation: https://up-components.up42.
|
|
11
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
12
12
|
*/
|
|
13
13
|
export declare const FormCheckbox: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
14
14
|
children?: React.ReactNode;
|
|
@@ -16,5 +16,8 @@ export declare type FormDateRangePickerProps = Omit<MUIGlobalOmit<NonGenericMuiD
|
|
|
16
16
|
slotProps: FormDatePickerProps['slotProps'];
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepicker--docs
|
|
21
|
+
*/
|
|
19
22
|
export declare const FormDateRangePicker: ({ start, onStartChange, end, onEndChange, label, minDate, maxDate, startPickerProps, endPickerProps, ...props }: FormDateRangePickerProps) => JSX.Element;
|
|
20
23
|
export {};
|
|
@@ -3,7 +3,7 @@ import { FormBaseProps } from '@global/utils/types';
|
|
|
3
3
|
import { InputProps } from '../Input/Input';
|
|
4
4
|
export declare type FormInputProps = FormBaseProps & InputProps;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const FormInput: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
9
9
|
children?: React.ReactNode;
|
|
@@ -11,7 +11,7 @@ export declare type FormRadioProps = FormBaseProps & RadioGroupProps & {
|
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
* Documentation: https://up-components.up42.
|
|
14
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
15
15
|
*/
|
|
16
16
|
export declare const FormRadio: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
17
17
|
children?: React.ReactNode;
|
|
@@ -9,7 +9,7 @@ export declare type FormSelectProps = FormBaseProps & SelectProps<string | numbe
|
|
|
9
9
|
options: Option[];
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* Documentation: https://up-components.up42.
|
|
12
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
13
13
|
*/
|
|
14
14
|
export declare const FormSelect: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
15
15
|
children?: React.ReactNode;
|
|
@@ -6,7 +6,7 @@ export declare type FormSwitchProps = FormBaseProps & SwitchProps & {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const BaseFormSwitch: ({ component, disabled, label, error, formControlLabel, sx, ...props }: FormSwitchProps) => JSX.Element;
|
|
8
8
|
/**
|
|
9
|
-
* Documentation: https://up-components.up42.
|
|
9
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
10
10
|
*/
|
|
11
11
|
export declare const FormSwitch: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
@@ -5,7 +5,7 @@ export declare type IconProps = {
|
|
|
5
5
|
name: keyof typeof icons;
|
|
6
6
|
} & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox'>;
|
|
7
7
|
/**
|
|
8
|
-
* Documentation: https://up-components.up42.
|
|
9
|
-
* Icons: https://up-components.up42.
|
|
8
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-icon--docs
|
|
9
|
+
* Icons: https://up-components.up42.com/?path=/docs/icons--docs
|
|
10
10
|
*/
|
|
11
11
|
export declare const Icon: ({ name, ...props }: IconProps) => JSX.Element;
|
|
@@ -21,7 +21,7 @@ export declare type InfoCardProps = {
|
|
|
21
21
|
hideDivider?: boolean;
|
|
22
22
|
} & Omit<CardProps, 'variant' | 'square' | 'raised'>;
|
|
23
23
|
/**
|
|
24
|
-
* Documentation: https://up-components.up42.
|
|
24
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
|
|
25
25
|
*/
|
|
26
26
|
export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, actions, headerAction, hideDivider, innerRef, ...props }: {
|
|
27
27
|
title: string;
|
|
@@ -46,7 +46,7 @@ export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, a
|
|
|
46
46
|
innerRef: CardProps['ref'];
|
|
47
47
|
}) => JSX.Element;
|
|
48
48
|
/**
|
|
49
|
-
* Documentation: https://up-components.up42.
|
|
49
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
|
|
50
50
|
*/
|
|
51
51
|
export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
|
|
52
52
|
title: string;
|
|
@@ -9,6 +9,6 @@ export declare type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'Backdrop
|
|
|
9
9
|
maxWidth?: number;
|
|
10
10
|
}>;
|
|
11
11
|
/**
|
|
12
|
-
* Documentation: https://up-components.up42.
|
|
12
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infomodal--docs
|
|
13
13
|
*/
|
|
14
14
|
export declare const InfoModal: ({ title, subtitle, children, actions, open, maxWidth, onClose, ...props }: InfoModalProps) => JSX.Element;
|
|
@@ -4,6 +4,6 @@ export declare type InfoPopoverProps = InfoCardProps & {
|
|
|
4
4
|
icon?: React.ElementType;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
* Documentation: https://up-components.up42.
|
|
7
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-popovers-infopopover--docs
|
|
8
8
|
*/
|
|
9
9
|
export declare const InfoPopover: ({ id, icon: Icon, actions, title, children, sx, ...props }: InfoPopoverProps) => JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { TextFieldProps } from '@mui/material';
|
|
3
3
|
export declare type InputProps = Omit<TextFieldProps, 'maxRows' | 'minRows' | 'multiline' | 'rows' | 'size' | 'variant'>;
|
|
4
4
|
/**
|
|
5
|
-
* Documentation: https://up-components.up42.
|
|
5
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-input--docs
|
|
6
6
|
*/
|
|
7
7
|
export declare const Input: ({ type, ...props }: InputProps) => JSX.Element;
|
|
@@ -19,6 +19,6 @@ export declare type LinkProps<C extends React.ElementType> = MuiLinkProps<C, {
|
|
|
19
19
|
* </Link>
|
|
20
20
|
```
|
|
21
21
|
*
|
|
22
|
-
* Documentation: https://up-components.up42.
|
|
22
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-link--docs
|
|
23
23
|
*/
|
|
24
24
|
export declare const Link: <C extends React.ElementType<any>>({ children, underline, hideIcon, ...props }: LinkProps<C>) => JSX.Element;
|
|
@@ -11,6 +11,6 @@ export declare type LoadingProps = {
|
|
|
11
11
|
visible?: boolean;
|
|
12
12
|
} & BoxProps;
|
|
13
13
|
/**
|
|
14
|
-
* Documentation: https://up-components.up42.
|
|
14
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-loading--docs
|
|
15
15
|
*/
|
|
16
16
|
export declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => JSX.Element | null;
|
|
@@ -4,7 +4,7 @@ import { MenuItemProps as MUIMenuItemProps } from '@mui/material';
|
|
|
4
4
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
5
5
|
export declare type MenuProps = MUIGlobalOmit<MUIMenuProps>;
|
|
6
6
|
/**
|
|
7
|
-
* Documentation: https://up-components.up42.
|
|
7
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-menu--docs
|
|
8
8
|
*/
|
|
9
9
|
export declare const Menu: React.ForwardRefExoticComponent<Pick<Omit<MUIMenuProps, "classes" | "tabIndex" | "action" | "disableRipple" | "disableFocusRipple" | "disableElevation" | "disableTouchRipple" | "focusRipple" | "centerRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef">, "className" | "style" | "children" | "color" | "sx" | "slot" | "title" | "id" | "lang" | "role" | "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" | "autoFocus" | "open" | "transformOrigin" | "transitionDuration" | "container" | "variant" | "components" | "componentsProps" | "onClose" | "slotProps" | "slots" | "anchorEl" | "disablePortal" | "keepMounted" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "TransitionComponent" | "BackdropComponent" | "BackdropProps" | "TransitionProps" | "anchorOrigin" | "anchorPosition" | "anchorReference" | "marginThreshold" | "PaperProps" | "disableAutoFocusItem" | "MenuListProps" | "PopoverClasses"> & React.RefAttributes<unknown>>;
|
|
10
10
|
export declare type MenuItemProps = MUIGlobalOmit<MUIMenuItemProps>;
|
|
@@ -3,6 +3,6 @@ import { ModalProps as MUIModalProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type ModalProps = MUIGlobalOmit<MUIModalProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-modal--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Modal: ({ children, ...props }: ModalProps) => JSX.Element;
|
|
@@ -17,6 +17,6 @@ export declare type PageHeaderProps = {
|
|
|
17
17
|
onSubmitTitle?: (title: string) => void;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
* Documentation: https://up-components.up42.
|
|
20
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-pageheader--docs
|
|
21
21
|
*/
|
|
22
22
|
export declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { PopoverProps as MUIPopoverProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type PopoverProps = MUIGlobalOmit<MUIPopoverProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-popover--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Popover: ({ children, ...props }: PopoverProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { RadioProps as MUIRadioProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type RadioProps = MUIGlobalOmit<MUIRadioProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Radio: (props: RadioProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { SelectProps as MUISelectProps } from '@mui/material';
|
|
|
3
3
|
import { FormBaseProps } from '@global/utils/types';
|
|
4
4
|
export declare type SelectProps<T extends unknown> = FormBaseProps & Omit<MUISelectProps<T>, 'variant'>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-select--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Select: <T extends unknown>(props: SelectProps<T>) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { SliderProps as MUISliderProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type SliderProps = MUIGlobalOmit<Omit<MUISliderProps, 'variant' | 'label'>>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-slider--default--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Slider: (props: SliderProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { SwitchProps as MUISwitchProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type SwitchProps = MUIGlobalOmit<MUISwitchProps>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-switch--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Switch: (props: SwitchProps) => JSX.Element;
|
|
@@ -24,7 +24,7 @@ export declare type TabGroupProps = {
|
|
|
24
24
|
onChange?: TabsProps['onChange'];
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Documentation: https://up-components.up42.
|
|
27
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-tabgroup--docs
|
|
28
28
|
*/
|
|
29
29
|
export declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue, onChange, }: TabGroupProps) => JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -11,7 +11,7 @@ import { TableFooterProps as MuiTableFooterProps } from '@mui/material/TableFoot
|
|
|
11
11
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
12
12
|
export declare type TableProps = MUIGlobalOmit<MuiTableProps>;
|
|
13
13
|
/**
|
|
14
|
-
* Documentation: https://up-components.up42.
|
|
14
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-table--docs
|
|
15
15
|
*/
|
|
16
16
|
export declare const Table: ({ children, ...props }: TableProps) => JSX.Element;
|
|
17
17
|
export declare type TableBodyProps = MUIGlobalOmit<MuiTableBodyProps>;
|
|
@@ -4,7 +4,7 @@ import { MUIGlobalOmit } from '@global/utils/types';
|
|
|
4
4
|
export declare type TabsProps = MUIGlobalOmit<MuiTabsProps>;
|
|
5
5
|
export declare type TabProps = MUIGlobalOmit<MuiTabProps>;
|
|
6
6
|
/**
|
|
7
|
-
* Documentation: https://up-components.up42.
|
|
7
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-tabs--docs
|
|
8
8
|
*/
|
|
9
9
|
export declare const Tabs: ({ children, ...props }: TabsProps) => JSX.Element;
|
|
10
10
|
export declare const Tab: ({ children, ...props }: TabProps) => JSX.Element;
|
|
@@ -3,6 +3,6 @@ import { ChipProps as MUIChipProps } from '@mui/material';
|
|
|
3
3
|
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
4
|
export declare type TagProps = MUIGlobalOmit<Omit<MUIChipProps, 'size'>>;
|
|
5
5
|
/**
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-tag--docs
|
|
7
7
|
*/
|
|
8
8
|
export declare const Tag: ({ color, ...props }: TagProps) => JSX.Element;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { TooltipProps as MUITooltipProps } from '@mui/material';
|
|
3
3
|
export declare type TooltipProps = Omit<MUITooltipProps, 'TransitionComponent' | 'TransitionProps' | 'PopperComponent' | 'followCursor'>;
|
|
4
4
|
/**
|
|
5
|
-
* Documentation: https://up-components.up42.
|
|
5
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-tooltip--docs
|
|
6
6
|
*/
|
|
7
7
|
export declare const Tooltip: ({ children, ...props }: TooltipProps) => JSX.Element;
|
|
@@ -5,8 +5,8 @@ export declare type TypographyProps<C extends React.ElementType = 'p'> = MUITypo
|
|
|
5
5
|
innerRef?: TypographyProps['ref'];
|
|
6
6
|
}>;
|
|
7
7
|
/**
|
|
8
|
-
* Tokens: https://up-components.up42.
|
|
9
|
-
* Documentation: https://up-components.up42.
|
|
8
|
+
* Tokens: https://up-components.up42.com/?path=/docs/tokens-typography--docs
|
|
9
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-typography--docs
|
|
10
10
|
*/
|
|
11
11
|
export declare const Typography: React.ForwardRefExoticComponent<Pick<{
|
|
12
12
|
component?: React.ElementType<any> | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const AlertProvider: ({ children }: {
|
|
|
19
19
|
children: ReactNode;
|
|
20
20
|
}) => JSX.Element;
|
|
21
21
|
/**
|
|
22
|
-
* Documentation: https://up-components.up42.
|
|
22
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-alert-usealert--create-alert--docs
|
|
23
23
|
*/
|
|
24
24
|
export declare const useAlert: () => ContextState;
|
|
25
25
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ThemeProviderProps } from '@mui/material/styles/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
* Documentation: https://up-components.up42.
|
|
4
|
+
* Documentation: https://up-components.up42.com/?path=/docs/introduction--docs
|
|
5
5
|
*/
|
|
6
6
|
export declare const UpComponentsProvider: (props: Omit<ThemeProviderProps, 'theme'>) => JSX.Element;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* A strict capitalization should uppercase the first letter of each word in the sentence.
|
|
4
4
|
* This helper only handles the first word.
|
|
5
5
|
*
|
|
6
|
-
* Documentation: https://up-components.up42.
|
|
6
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#capitalize
|
|
7
7
|
*/
|
|
8
8
|
export declare const capitalize: (string: string) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Documentation: https://up-components.up42.
|
|
2
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#copytoclipboard
|
|
3
3
|
*/
|
|
4
4
|
export declare const copyToClipboard: (text: string, successCallBack: () => void) => void;
|
|
@@ -11,6 +11,6 @@ export declare type DateType = dayjs.ConfigType;
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns formatted date string. The format will depend on the option passed in the second argument.
|
|
13
13
|
*
|
|
14
|
-
* Documentation: https://up-components.up42.
|
|
14
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatnumber
|
|
15
15
|
*/
|
|
16
16
|
export declare const formatDate: (date: DateType, options?: FormatDateOptions | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Takes bytes as a value and returns formatted file size as a string.
|
|
3
3
|
*
|
|
4
|
-
* Documentation: https://up-components.up42.
|
|
4
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatfilesize
|
|
5
5
|
*/
|
|
6
6
|
export declare const formatFileSize: (value: number) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns a string with en-US formatted number.
|
|
3
3
|
*
|
|
4
|
-
* Documentation: https://up-components.up42.
|
|
4
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatnumber
|
|
5
5
|
*/
|
|
6
6
|
export declare const formatNumber: (number: string | number, options?: Intl.NumberFormatOptions | undefined) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns query parameter values from a string or an array of strings.
|
|
3
3
|
*
|
|
4
|
-
* Documentation: https://up-components.up42.
|
|
4
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#usequeryparams
|
|
5
5
|
*/
|
|
6
6
|
export declare function useQueryParams(paramName: string): string;
|
|
7
7
|
export declare function useQueryParams(paramNames: string[]): Array<string>;
|