@up42/up-components 1.0.0-douglas.1 → 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 +2 -2
- package/dist/cjs/types/components/Alert/Alert.d.ts +1 -1
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +2 -2
- 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 +2 -2
- package/dist/cjs/types/components/Button/Button.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/types/components/Alert/Alert.d.ts +1 -1
- package/dist/esm/types/components/Avatar/Avatar.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/types/components/Button/Button.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +149 -211
- package/package.json +20 -15
|
@@ -4,8 +4,8 @@ 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
|
-
export declare const Menu: React.ForwardRefExoticComponent<Pick<Omit<MUIMenuProps, "classes" | "tabIndex" | "action" | "
|
|
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>;
|
|
11
11
|
export declare const MenuItem: (props: MenuItemProps) => JSX.Element;
|
|
@@ -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>;
|
|
@@ -21,7 +21,7 @@ declare type UseRemotePaginationResponse = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns pagination data and and helper functions.
|
|
23
23
|
*
|
|
24
|
-
* Documentation: https://up-components.up42.
|
|
24
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#useremotepagination
|
|
25
25
|
*/
|
|
26
26
|
export declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
27
27
|
params: string;
|