@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
|
@@ -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;
|
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ import { DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
|
|
|
54
54
|
export { GridColDef, GridRenderCellParams, GridRowId, GridRowSelectionModel, GridSortModel } from '@mui/x-data-grid';
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Documentation: https://up-components.up42.
|
|
57
|
+
* Documentation: https://up-components.up42.com/?path=/docs/introduction--docs
|
|
58
58
|
*/
|
|
59
59
|
declare const UpComponentsProvider: (props: Omit<ThemeProviderProps, 'theme'>) => JSX.Element;
|
|
60
60
|
|
|
@@ -86,7 +86,7 @@ declare type ButtonProps = MUIGlobalOmit<Omit<ButtonProps$1, 'size'>, {
|
|
|
86
86
|
size?: 'default' | 'slim';
|
|
87
87
|
}>;
|
|
88
88
|
/**
|
|
89
|
-
* Documentation: https://up-components.up42.
|
|
89
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-button--docs
|
|
90
90
|
*/
|
|
91
91
|
declare const Button: React__default.ForwardRefExoticComponent<Pick<{
|
|
92
92
|
loading?: boolean | undefined;
|
|
@@ -98,8 +98,8 @@ declare type TypographyProps<C extends React__default.ElementType = 'p'> = Typog
|
|
|
98
98
|
innerRef?: TypographyProps['ref'];
|
|
99
99
|
}>;
|
|
100
100
|
/**
|
|
101
|
-
* Tokens: https://up-components.up42.
|
|
102
|
-
* Documentation: https://up-components.up42.
|
|
101
|
+
* Tokens: https://up-components.up42.com/?path=/docs/tokens-typography--docs
|
|
102
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-typography--docs
|
|
103
103
|
*/
|
|
104
104
|
declare const Typography: React__default.ForwardRefExoticComponent<Pick<{
|
|
105
105
|
component?: React__default.ElementType<any> | undefined;
|
|
@@ -118,7 +118,7 @@ declare const Typography: React__default.ForwardRefExoticComponent<Pick<{
|
|
|
118
118
|
|
|
119
119
|
declare type ChipProps = MUIGlobalOmit<Omit<ChipProps$1, 'size'>>;
|
|
120
120
|
/**
|
|
121
|
-
* @deprecated Please use [Tags](https://up-components.up42.
|
|
121
|
+
* @deprecated Please use [Tags](https://up-components.up42.com/?path=/docs/data-display-tag) instead--docs
|
|
122
122
|
*/
|
|
123
123
|
declare const Chip: ({ label, sx, ...props }: ChipProps) => JSX.Element;
|
|
124
124
|
|
|
@@ -128,7 +128,7 @@ declare type AvatarProps = MUIGlobalOmit<Omit<AvatarProps$1, 'children' | 'alt'
|
|
|
128
128
|
icon?: React__default.ReactNode;
|
|
129
129
|
}>;
|
|
130
130
|
/**
|
|
131
|
-
* Documentation: https://up-components.up42.
|
|
131
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-avatar--docs
|
|
132
132
|
*/
|
|
133
133
|
declare const Avatar: React__default.ForwardRefExoticComponent<Pick<{
|
|
134
134
|
firstName?: string | undefined;
|
|
@@ -159,19 +159,19 @@ declare type ContainerProps = MUIGlobalOmit<Omit<ContainerProps$1, 'maxWidth'>,
|
|
|
159
159
|
*
|
|
160
160
|
* To now more about the requirements please check here: https://up42.atlassian.net/browse/B2B-215.
|
|
161
161
|
*
|
|
162
|
-
* Documentation: https://up-components.up42.
|
|
162
|
+
* Documentation: https://up-components.up42.com/?path=/docs/layout-container--docs
|
|
163
163
|
*/
|
|
164
164
|
declare const Container: ({ component, size, children, ...props }: ContainerProps) => JSX.Element;
|
|
165
165
|
|
|
166
166
|
declare type BoxProps = MUIGlobalOmit<BoxProps$1>;
|
|
167
167
|
/**
|
|
168
|
-
* Documentation: https://up-components.up42.
|
|
168
|
+
* Documentation: https://up-components.up42.com/?path=/docs/layout-box--docs
|
|
169
169
|
*/
|
|
170
170
|
declare const Box: React__default.ForwardRefExoticComponent<Pick<Omit<BoxProps$1<"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__default.RefAttributes<unknown>>;
|
|
171
171
|
|
|
172
172
|
declare type CheckboxProps = MUIGlobalOmit<CheckboxProps$1>;
|
|
173
173
|
/**
|
|
174
|
-
* Documentation: https://up-components.up42.
|
|
174
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-checkbox--docs
|
|
175
175
|
*/
|
|
176
176
|
declare const Checkbox: ({ ...props }: CheckboxProps) => JSX.Element;
|
|
177
177
|
|
|
@@ -182,7 +182,7 @@ declare type FormCheckboxProps = FormBaseProps & CheckboxProps & {
|
|
|
182
182
|
}[];
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
185
|
-
* Documentation: https://up-components.up42.
|
|
185
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
186
186
|
*/
|
|
187
187
|
declare const FormCheckbox: React__default.ForwardRefExoticComponent<Pick<_mui_system.SystemProps<_mui_material.Theme> & {
|
|
188
188
|
children?: React__default.ReactNode;
|
|
@@ -225,11 +225,14 @@ declare type FormDateRangePickerProps = Omit<MUIGlobalOmit<NonGenericMuiDatePick
|
|
|
225
225
|
slotProps: FormDatePickerProps['slotProps'];
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
|
+
/**
|
|
229
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepicker--docs
|
|
230
|
+
*/
|
|
228
231
|
declare const FormDateRangePicker: ({ start, onStartChange, end, onEndChange, label, minDate, maxDate, startPickerProps, endPickerProps, ...props }: FormDateRangePickerProps) => JSX.Element;
|
|
229
232
|
|
|
230
233
|
declare type RadioProps = MUIGlobalOmit<RadioProps$1>;
|
|
231
234
|
/**
|
|
232
|
-
* Documentation: https://up-components.up42.
|
|
235
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
|
|
233
236
|
*/
|
|
234
237
|
declare const Radio: (props: RadioProps) => JSX.Element;
|
|
235
238
|
|
|
@@ -242,7 +245,7 @@ declare type FormRadioProps = FormBaseProps & RadioGroupProps & {
|
|
|
242
245
|
}[];
|
|
243
246
|
};
|
|
244
247
|
/**
|
|
245
|
-
* Documentation: https://up-components.up42.
|
|
248
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
246
249
|
*/
|
|
247
250
|
declare const FormRadio: React__default.ForwardRefExoticComponent<Pick<_mui_system.SystemProps<_mui_material.Theme> & {
|
|
248
251
|
children?: React__default.ReactNode;
|
|
@@ -262,7 +265,7 @@ declare const FormRadio: React__default.ForwardRefExoticComponent<Pick<_mui_syst
|
|
|
262
265
|
|
|
263
266
|
declare type SwitchProps = MUIGlobalOmit<SwitchProps$1>;
|
|
264
267
|
/**
|
|
265
|
-
* Documentation: https://up-components.up42.
|
|
268
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-switch--docs
|
|
266
269
|
*/
|
|
267
270
|
declare const Switch: (props: SwitchProps) => JSX.Element;
|
|
268
271
|
|
|
@@ -270,7 +273,7 @@ declare type FormSwitchProps = FormBaseProps & SwitchProps & {
|
|
|
270
273
|
formControlLabel?: string;
|
|
271
274
|
};
|
|
272
275
|
/**
|
|
273
|
-
* Documentation: https://up-components.up42.
|
|
276
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
274
277
|
*/
|
|
275
278
|
declare const FormSwitch: React__default.ForwardRefExoticComponent<Pick<_mui_system.SystemProps<_mui_material.Theme> & {
|
|
276
279
|
children?: React__default.ReactNode;
|
|
@@ -285,7 +288,7 @@ declare const FormSwitch: React__default.ForwardRefExoticComponent<Pick<_mui_sys
|
|
|
285
288
|
|
|
286
289
|
declare type SelectProps<T extends unknown> = FormBaseProps & Omit<SelectProps$1<T>, 'variant'>;
|
|
287
290
|
/**
|
|
288
|
-
* Documentation: https://up-components.up42.
|
|
291
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-select--docs
|
|
289
292
|
*/
|
|
290
293
|
declare const Select: <T extends unknown>(props: SelectProps<T>) => JSX.Element;
|
|
291
294
|
|
|
@@ -297,7 +300,7 @@ declare type FormSelectProps = FormBaseProps & SelectProps<string | number> & {
|
|
|
297
300
|
options: Option[];
|
|
298
301
|
};
|
|
299
302
|
/**
|
|
300
|
-
* Documentation: https://up-components.up42.
|
|
303
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
301
304
|
*/
|
|
302
305
|
declare const FormSelect: React__default.ForwardRefExoticComponent<Pick<_mui_system.SystemProps<_mui_material.Theme> & {
|
|
303
306
|
children?: React__default.ReactNode;
|
|
@@ -312,13 +315,13 @@ declare const FormSelect: React__default.ForwardRefExoticComponent<Pick<_mui_sys
|
|
|
312
315
|
|
|
313
316
|
declare type InputProps = Omit<TextFieldProps, 'maxRows' | 'minRows' | 'multiline' | 'rows' | 'size' | 'variant'>;
|
|
314
317
|
/**
|
|
315
|
-
* Documentation: https://up-components.up42.
|
|
318
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-input--docs
|
|
316
319
|
*/
|
|
317
320
|
declare const Input: ({ type, ...props }: InputProps) => JSX.Element;
|
|
318
321
|
|
|
319
322
|
declare type FormInputProps = FormBaseProps & InputProps;
|
|
320
323
|
/**
|
|
321
|
-
* Documentation: https://up-components.up42.
|
|
324
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
322
325
|
*/
|
|
323
326
|
declare const FormInput: React__default.ForwardRefExoticComponent<Pick<_mui_system.SystemProps<_mui_material.Theme> & {
|
|
324
327
|
children?: React__default.ReactNode;
|
|
@@ -331,7 +334,7 @@ declare const FormInput: React__default.ForwardRefExoticComponent<Pick<_mui_syst
|
|
|
331
334
|
|
|
332
335
|
declare type SliderProps = MUIGlobalOmit<Omit<SliderProps$1, 'variant' | 'label'>>;
|
|
333
336
|
/**
|
|
334
|
-
* Documentation: https://up-components.up42.
|
|
337
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-slider--default--docs
|
|
335
338
|
*/
|
|
336
339
|
declare const Slider: (props: SliderProps) => JSX.Element;
|
|
337
340
|
|
|
@@ -354,14 +357,14 @@ declare type LinkProps<C extends React__default.ElementType> = LinkProps$1<C, {
|
|
|
354
357
|
* </Link>
|
|
355
358
|
```
|
|
356
359
|
*
|
|
357
|
-
* Documentation: https://up-components.up42.
|
|
360
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-link--docs
|
|
358
361
|
*/
|
|
359
362
|
declare const Link: <C extends React__default.ElementType<any>>({ children, underline, hideIcon, ...props }: LinkProps<C>) => JSX.Element;
|
|
360
363
|
|
|
361
364
|
declare type TabsProps = MUIGlobalOmit<TabsProps$1>;
|
|
362
365
|
declare type TabProps = MUIGlobalOmit<TabProps$1>;
|
|
363
366
|
/**
|
|
364
|
-
* Documentation: https://up-components.up42.
|
|
367
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-tabs--docs
|
|
365
368
|
*/
|
|
366
369
|
declare const Tabs: ({ children, ...props }: TabsProps) => JSX.Element;
|
|
367
370
|
declare const Tab: ({ children, ...props }: TabProps) => JSX.Element;
|
|
@@ -389,7 +392,7 @@ declare type TabGroupProps = {
|
|
|
389
392
|
onChange?: TabsProps['onChange'];
|
|
390
393
|
};
|
|
391
394
|
/**
|
|
392
|
-
* Documentation: https://up-components.up42.
|
|
395
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-tabgroup--docs
|
|
393
396
|
*/
|
|
394
397
|
declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue, onChange, }: TabGroupProps) => JSX.Element;
|
|
395
398
|
|
|
@@ -412,13 +415,13 @@ declare type EmptyStateProps = MUIGlobalOmit<Omit<BoxProps$1, 'component'>, {
|
|
|
412
415
|
action?: ReactNode;
|
|
413
416
|
}>;
|
|
414
417
|
/**
|
|
415
|
-
* Documentation: https://up-components.up42.
|
|
418
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-emptystate--docs
|
|
416
419
|
*/
|
|
417
420
|
declare const EmptyState: ({ icon: Icon, title, subTitle, action, sx, ...props }: EmptyStateProps) => JSX.Element;
|
|
418
421
|
|
|
419
422
|
declare type ModalProps = MUIGlobalOmit<ModalProps$1>;
|
|
420
423
|
/**
|
|
421
|
-
* Documentation: https://up-components.up42.
|
|
424
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-modal--docs
|
|
422
425
|
*/
|
|
423
426
|
declare const Modal: ({ children, ...props }: ModalProps) => JSX.Element;
|
|
424
427
|
|
|
@@ -443,7 +446,7 @@ declare type InfoCardProps = {
|
|
|
443
446
|
hideDivider?: boolean;
|
|
444
447
|
} & Omit<CardProps, 'variant' | 'square' | 'raised'>;
|
|
445
448
|
/**
|
|
446
|
-
* Documentation: https://up-components.up42.
|
|
449
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
|
|
447
450
|
*/
|
|
448
451
|
declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
|
|
449
452
|
title: string;
|
|
@@ -473,7 +476,7 @@ declare type InfoModalProps = MUIGlobalOmit<Omit<ModalProps, 'BackdropProps' | '
|
|
|
473
476
|
maxWidth?: number;
|
|
474
477
|
}>;
|
|
475
478
|
/**
|
|
476
|
-
* Documentation: https://up-components.up42.
|
|
479
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infomodal--docs
|
|
477
480
|
*/
|
|
478
481
|
declare const InfoModal: ({ title, subtitle, children, actions, open, maxWidth, onClose, ...props }: InfoModalProps) => JSX.Element;
|
|
479
482
|
|
|
@@ -482,7 +485,7 @@ declare type AlertProps = Omit<AlertProps$1, 'color' | 'elevation' | 'iconMappin
|
|
|
482
485
|
type?: AlertColor;
|
|
483
486
|
};
|
|
484
487
|
/**
|
|
485
|
-
* Documentation: https://up-components.up42.
|
|
488
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-alert--docs
|
|
486
489
|
*/
|
|
487
490
|
declare const Alert: React__default.ForwardRefExoticComponent<Pick<Omit<AlertProps$1, "color" | "elevation" | "square" | "action" | "iconMapping" | "severity" | "variant"> & {
|
|
488
491
|
type?: AlertColor | undefined;
|
|
@@ -512,7 +515,7 @@ declare type BannerProps = {
|
|
|
512
515
|
title: string;
|
|
513
516
|
} & Omit<AlertProps, 'title' | 'closeText' | 'icon' | 'role' | 'onClose'>;
|
|
514
517
|
/**
|
|
515
|
-
* Documentation: https://up-components.up42.
|
|
518
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-banner--docs
|
|
516
519
|
*/
|
|
517
520
|
declare const Banner: React__default.ForwardRefExoticComponent<Pick<{
|
|
518
521
|
/**
|
|
@@ -540,7 +543,7 @@ declare const Banner: React__default.ForwardRefExoticComponent<Pick<{
|
|
|
540
543
|
|
|
541
544
|
declare type TooltipProps = Omit<TooltipProps$1, 'TransitionComponent' | 'TransitionProps' | 'PopperComponent' | 'followCursor'>;
|
|
542
545
|
/**
|
|
543
|
-
* Documentation: https://up-components.up42.
|
|
546
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-tooltip--docs
|
|
544
547
|
*/
|
|
545
548
|
declare const Tooltip: ({ children, ...props }: TooltipProps) => JSX.Element;
|
|
546
549
|
|
|
@@ -552,13 +555,13 @@ declare type ContactBoxProps = {
|
|
|
552
555
|
sx?: SxProps<Theme>;
|
|
553
556
|
};
|
|
554
557
|
/**
|
|
555
|
-
* Documentation: https://up-components.up42.
|
|
558
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-contactbox--docs
|
|
556
559
|
*/
|
|
557
560
|
declare const ContactBox: ({ customIcon, text, actions, size, sx }: ContactBoxProps) => JSX.Element;
|
|
558
561
|
|
|
559
562
|
declare type MenuProps = MUIGlobalOmit<MenuProps$1>;
|
|
560
563
|
/**
|
|
561
|
-
* Documentation: https://up-components.up42.
|
|
564
|
+
* Documentation: https://up-components.up42.com/?path=/docs/navigation-menu--docs
|
|
562
565
|
*/
|
|
563
566
|
declare const Menu: React__default.ForwardRefExoticComponent<Pick<Omit<MenuProps$1, "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__default.RefAttributes<unknown>>;
|
|
564
567
|
declare type MenuItemProps = MUIGlobalOmit<MenuItemProps$1>;
|
|
@@ -572,7 +575,7 @@ declare type ControlButtonProps = MUIGlobalOmit<IconButtonProps, {
|
|
|
572
575
|
removePadding?: boolean;
|
|
573
576
|
}>;
|
|
574
577
|
/**
|
|
575
|
-
* Documentation: https://up-components.up42.
|
|
578
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-controlbutton--docs
|
|
576
579
|
*/
|
|
577
580
|
declare const ControlButton: React__default.ForwardRefExoticComponent<Pick<{
|
|
578
581
|
size?: "small" | "medium" | undefined;
|
|
@@ -589,13 +592,13 @@ interface CopyButtonProps {
|
|
|
589
592
|
onCopy?: (data: string) => void;
|
|
590
593
|
}
|
|
591
594
|
/**
|
|
592
|
-
* Documentation: https://up-components.up42.
|
|
595
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-copybutton--docs
|
|
593
596
|
*/
|
|
594
597
|
declare const CopyButton: ({ data, tooltip, sx, onCopy }: CopyButtonProps) => JSX.Element;
|
|
595
598
|
|
|
596
599
|
declare type PopoverProps = MUIGlobalOmit<PopoverProps$1>;
|
|
597
600
|
/**
|
|
598
|
-
* Documentation: https://up-components.up42.
|
|
601
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-popover--docs
|
|
599
602
|
*/
|
|
600
603
|
declare const Popover: ({ children, ...props }: PopoverProps) => JSX.Element;
|
|
601
604
|
|
|
@@ -603,7 +606,7 @@ declare type InfoPopoverProps = InfoCardProps & {
|
|
|
603
606
|
icon?: React__default.ElementType;
|
|
604
607
|
};
|
|
605
608
|
/**
|
|
606
|
-
* Documentation: https://up-components.up42.
|
|
609
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-popovers-infopopover--docs
|
|
607
610
|
*/
|
|
608
611
|
declare const InfoPopover: ({ id, icon: Icon, actions, title, children, sx, ...props }: InfoPopoverProps) => JSX.Element;
|
|
609
612
|
|
|
@@ -625,12 +628,12 @@ declare type PageHeaderProps = {
|
|
|
625
628
|
onSubmitTitle?: (title: string) => void;
|
|
626
629
|
};
|
|
627
630
|
/**
|
|
628
|
-
* Documentation: https://up-components.up42.
|
|
631
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-pageheader--docs
|
|
629
632
|
*/
|
|
630
633
|
declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => JSX.Element;
|
|
631
634
|
|
|
632
635
|
/**
|
|
633
|
-
* Documentation: https://up-components.up42.
|
|
636
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-notfound--docs
|
|
634
637
|
*/
|
|
635
638
|
declare const NotFound: () => JSX.Element;
|
|
636
639
|
|
|
@@ -645,7 +648,7 @@ declare type LoadingProps = {
|
|
|
645
648
|
visible?: boolean;
|
|
646
649
|
} & BoxProps$1;
|
|
647
650
|
/**
|
|
648
|
-
* Documentation: https://up-components.up42.
|
|
651
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-loading--docs
|
|
649
652
|
*/
|
|
650
653
|
declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => JSX.Element | null;
|
|
651
654
|
|
|
@@ -1837,20 +1840,20 @@ declare type IconProps = {
|
|
|
1837
1840
|
name: keyof typeof icons;
|
|
1838
1841
|
} & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox'>;
|
|
1839
1842
|
/**
|
|
1840
|
-
* Documentation: https://up-components.up42.
|
|
1841
|
-
* Icons: https://up-components.up42.
|
|
1843
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-icon--docs
|
|
1844
|
+
* Icons: https://up-components.up42.com/?path=/docs/icons--docs
|
|
1842
1845
|
*/
|
|
1843
1846
|
declare const Icon: ({ name, ...props }: IconProps) => JSX.Element;
|
|
1844
1847
|
|
|
1845
1848
|
declare type BadgeProps = MUIGlobalOmit<BadgeProps$1>;
|
|
1846
1849
|
/**
|
|
1847
|
-
* Documentation: https://up-components.up42.
|
|
1850
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-badge--docs
|
|
1848
1851
|
*/
|
|
1849
1852
|
declare const Badge: ({ children, color, ...props }: BadgeProps) => JSX.Element;
|
|
1850
1853
|
|
|
1851
1854
|
declare type TagProps = MUIGlobalOmit<Omit<ChipProps$1, 'size'>>;
|
|
1852
1855
|
/**
|
|
1853
|
-
* Documentation: https://up-components.up42.
|
|
1856
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-tag--docs
|
|
1854
1857
|
*/
|
|
1855
1858
|
declare const Tag: ({ color, ...props }: TagProps) => JSX.Element;
|
|
1856
1859
|
|
|
@@ -1866,7 +1869,7 @@ declare type DateType = dayjs.ConfigType;
|
|
|
1866
1869
|
/**
|
|
1867
1870
|
* Returns formatted date string. The format will depend on the option passed in the second argument.
|
|
1868
1871
|
*
|
|
1869
|
-
* Documentation: https://up-components.up42.
|
|
1872
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatnumber
|
|
1870
1873
|
*/
|
|
1871
1874
|
declare const formatDate: (date: DateType, options?: FormatDateOptions | undefined) => string;
|
|
1872
1875
|
|
|
@@ -1874,7 +1877,7 @@ declare type DateTimeProps = {
|
|
|
1874
1877
|
date: DateType;
|
|
1875
1878
|
} & FormatDateOptions;
|
|
1876
1879
|
/**
|
|
1877
|
-
* Documentation: https://up-components.up42.
|
|
1880
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-datetime--docs
|
|
1878
1881
|
*/
|
|
1879
1882
|
declare const DateTime: React__default.ForwardRefExoticComponent<{
|
|
1880
1883
|
date: DateType;
|
|
@@ -1894,7 +1897,7 @@ declare type DocumentationPopoverProps = {
|
|
|
1894
1897
|
ctaPath: string;
|
|
1895
1898
|
};
|
|
1896
1899
|
/**
|
|
1897
|
-
* Documentation: https://up-components.up42.
|
|
1900
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-popovers-documentationpopover--docs
|
|
1898
1901
|
*/
|
|
1899
1902
|
declare const DocumentationPopover: ({ children, ctaPath, ctaLabel, title }: DocumentationPopoverProps) => JSX.Element;
|
|
1900
1903
|
|
|
@@ -1904,7 +1907,7 @@ interface CodeInlineProps {
|
|
|
1904
1907
|
'data-testid'?: string;
|
|
1905
1908
|
}
|
|
1906
1909
|
/**
|
|
1907
|
-
* Documentation: https://up-components.up42.
|
|
1910
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-codeinline--docs
|
|
1908
1911
|
*/
|
|
1909
1912
|
declare const CodeInline: ({ label, text, "data-testid": dataTestId }: CodeInlineProps) => JSX.Element;
|
|
1910
1913
|
|
|
@@ -1928,13 +1931,13 @@ interface CodeSnippetProps {
|
|
|
1928
1931
|
initialSnippetIndex?: number;
|
|
1929
1932
|
}
|
|
1930
1933
|
/**
|
|
1931
|
-
* Documentation: https://up-components.up42.
|
|
1934
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-CodeSnippet--docs
|
|
1932
1935
|
*/
|
|
1933
1936
|
declare const CodeSnippet: ({ snippets, sx, onCopy, initialSnippetIndex }: CodeSnippetProps) => JSX.Element;
|
|
1934
1937
|
|
|
1935
1938
|
declare type TableProps = MUIGlobalOmit<TableProps$1>;
|
|
1936
1939
|
/**
|
|
1937
|
-
* Documentation: https://up-components.up42.
|
|
1940
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-table--docs
|
|
1938
1941
|
*/
|
|
1939
1942
|
declare const Table: ({ children, ...props }: TableProps) => JSX.Element;
|
|
1940
1943
|
declare type TableBodyProps = MUIGlobalOmit<TableBodyProps$1>;
|
|
@@ -1956,7 +1959,7 @@ declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Ele
|
|
|
1956
1959
|
|
|
1957
1960
|
declare type DataGridProps = MUIGlobalOmit<DataGridProps$1>;
|
|
1958
1961
|
/**
|
|
1959
|
-
* Documentation: https://up-components.up42.
|
|
1962
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-datagrid--docs
|
|
1960
1963
|
*/
|
|
1961
1964
|
declare const DataGrid: ({ autoHeight, pageSizeOptions, disableRowSelectionOnClick, ...props }: DataGridProps$1) => JSX.Element;
|
|
1962
1965
|
|
|
@@ -1965,33 +1968,33 @@ declare const DataGrid: ({ autoHeight, pageSizeOptions, disableRowSelectionOnCli
|
|
|
1965
1968
|
* A strict capitalization should uppercase the first letter of each word in the sentence.
|
|
1966
1969
|
* This helper only handles the first word.
|
|
1967
1970
|
*
|
|
1968
|
-
* Documentation: https://up-components.up42.
|
|
1971
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#capitalize
|
|
1969
1972
|
*/
|
|
1970
1973
|
declare const capitalize: (string: string) => string;
|
|
1971
1974
|
|
|
1972
1975
|
/**
|
|
1973
|
-
* Documentation: https://up-components.up42.
|
|
1976
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#copytoclipboard
|
|
1974
1977
|
*/
|
|
1975
1978
|
declare const copyToClipboard: (text: string, successCallBack: () => void) => void;
|
|
1976
1979
|
|
|
1977
1980
|
/**
|
|
1978
1981
|
* Returns a string with en-US formatted number.
|
|
1979
1982
|
*
|
|
1980
|
-
* Documentation: https://up-components.up42.
|
|
1983
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatnumber
|
|
1981
1984
|
*/
|
|
1982
1985
|
declare const formatNumber: (number: string | number, options?: Intl.NumberFormatOptions | undefined) => string;
|
|
1983
1986
|
|
|
1984
1987
|
/**
|
|
1985
1988
|
* Takes bytes as a value and returns formatted file size as a string.
|
|
1986
1989
|
*
|
|
1987
|
-
* Documentation: https://up-components.up42.
|
|
1990
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#formatfilesize
|
|
1988
1991
|
*/
|
|
1989
1992
|
declare const formatFileSize: (value: number) => string;
|
|
1990
1993
|
|
|
1991
1994
|
/**
|
|
1992
1995
|
* Returns query parameter values from a string or an array of strings.
|
|
1993
1996
|
*
|
|
1994
|
-
* Documentation: https://up-components.up42.
|
|
1997
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#usequeryparams
|
|
1995
1998
|
*/
|
|
1996
1999
|
declare function useQueryParams(paramName: string): string;
|
|
1997
2000
|
declare function useQueryParams(paramNames: string[]): Array<string>;
|
|
@@ -2019,7 +2022,7 @@ declare type UseRemotePaginationResponse = {
|
|
|
2019
2022
|
/**
|
|
2020
2023
|
* Returns pagination data and and helper functions.
|
|
2021
2024
|
*
|
|
2022
|
-
* Documentation: https://up-components.up42.
|
|
2025
|
+
* Documentation: https://up-components.up42.com/?path=/docs/utils--docs#useremotepagination
|
|
2023
2026
|
*/
|
|
2024
2027
|
declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
2025
2028
|
params: string;
|
|
@@ -2048,7 +2051,7 @@ declare type ContextState = {
|
|
|
2048
2051
|
animationTime: number;
|
|
2049
2052
|
};
|
|
2050
2053
|
/**
|
|
2051
|
-
* Documentation: https://up-components.up42.
|
|
2054
|
+
* Documentation: https://up-components.up42.com/?path=/docs/feedback-alert-usealert--create-alert--docs
|
|
2052
2055
|
*/
|
|
2053
2056
|
declare const useAlert: () => ContextState;
|
|
2054
2057
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@up42/up-components",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "UP42 Component Library",
|
|
5
5
|
"author": "Axel Fuhrmann axel.fuhrmann@up42.com",
|
|
6
6
|
"license": "ISC",
|
|
@@ -22,12 +22,11 @@
|
|
|
22
22
|
"storybook:build": "storybook build",
|
|
23
23
|
"lint": "eslint src/.",
|
|
24
24
|
"release": "standard-version",
|
|
25
|
-
"release:douglas": "npm run release -- --prerelease douglas",
|
|
26
25
|
"prepare": "husky install",
|
|
27
26
|
"format": "prettier --write ./**/*.mdx"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@up42/design-system-tokens": "^4.0.
|
|
29
|
+
"@up42/design-system-tokens": "^4.0.2",
|
|
31
30
|
"dayjs": "^1.11.7",
|
|
32
31
|
"prismjs": "^1.29.0"
|
|
33
32
|
},
|
|
@@ -37,8 +36,8 @@
|
|
|
37
36
|
"@babel/preset-env": "^7.16.10",
|
|
38
37
|
"@babel/preset-react": "^7.16.7",
|
|
39
38
|
"@babel/preset-typescript": "^7.16.7",
|
|
40
|
-
"@commitlint/cli": "^
|
|
41
|
-
"@commitlint/config-conventional": "^
|
|
39
|
+
"@commitlint/cli": "^17.7.0",
|
|
40
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
42
41
|
"@emotion/jest": "^11.7.1",
|
|
43
42
|
"@emotion/react": "^11.7.1",
|
|
44
43
|
"@emotion/styled": "^11.6.0",
|
|
@@ -109,5 +108,10 @@
|
|
|
109
108
|
"engines": {
|
|
110
109
|
"node": ">= 18",
|
|
111
110
|
"npm": ">= 8"
|
|
111
|
+
},
|
|
112
|
+
"standard-version": {
|
|
113
|
+
"skip": {
|
|
114
|
+
"tag": true
|
|
115
|
+
}
|
|
112
116
|
}
|
|
113
117
|
}
|