@up42/up-components 8.3.0 → 9.1.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 +0 -6
- package/dist/esm/index.js +12191 -2
- package/dist/index.d.ts +157 -8
- package/package.json +13 -10
- package/dist/cjs/index.js +0 -9
- package/dist/cjs/types/components/ActionToolbar/ActionToolbar.d.ts +0 -49
- package/dist/cjs/types/components/Alert/Alert.d.ts +0 -14
- package/dist/cjs/types/components/Alert/Alert.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Alert/Alert.test.d.ts +0 -1
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +0 -13
- package/dist/cjs/types/components/Avatar/Avatar.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Avatar/Avatar.test.d.ts +0 -1
- package/dist/cjs/types/components/Badge/Badge.d.ts +0 -8
- package/dist/cjs/types/components/Badge/Badge.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Badge/Badge.test.d.ts +0 -1
- package/dist/cjs/types/components/Banner/Banner.d.ts +0 -38
- package/dist/cjs/types/components/Banner/Banner.test.d.ts +0 -1
- package/dist/cjs/types/components/Button/Button.d.ts +0 -31
- package/dist/cjs/types/components/Button/Button.overrides.d.ts +0 -8
- package/dist/cjs/types/components/Button/Button.test.d.ts +0 -1
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +0 -8
- package/dist/cjs/types/components/Checkbox/Checkbox.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/cjs/types/components/Checkbox/icons/index.d.ts +0 -6
- package/dist/cjs/types/components/CodeInline/CodeInline.d.ts +0 -11
- package/dist/cjs/types/components/CodeInline/CodeInline.test.d.ts +0 -1
- package/dist/cjs/types/components/CodeSnippet/CodeSnippet.d.ts +0 -62
- package/dist/cjs/types/components/CodeSnippet/CodeSnippet.test.d.ts +0 -1
- package/dist/cjs/types/components/CodeSnippet/Pre.d.ts +0 -8
- package/dist/cjs/types/components/CodeSnippet/languagesMock.d.ts +0 -2
- package/dist/cjs/types/components/ContactBox/ContactBox.d.ts +0 -13
- package/dist/cjs/types/components/ContactBox/ContactBox.test.d.ts +0 -1
- package/dist/cjs/types/components/Container/Container.overrides.d.ts +0 -3
- package/dist/cjs/types/components/ControlButton/ControlButton.d.ts +0 -14
- package/dist/cjs/types/components/ControlButton/ControlButton.test.d.ts +0 -1
- package/dist/cjs/types/components/CopyButton/CopyButton.d.ts +0 -12
- package/dist/cjs/types/components/CopyButton/CopyButton.test.d.ts +0 -1
- package/dist/cjs/types/components/DataGrid/DataGrid.d.ts +0 -10
- package/dist/cjs/types/components/DataGrid/DataGrid.overrides.d.ts +0 -2
- package/dist/cjs/types/components/DataGrid/DataGrid.test.d.ts +0 -1
- package/dist/cjs/types/components/DateTime/DateTime.d.ts +0 -11
- package/dist/cjs/types/components/DateTime/DateTime.test.d.ts +0 -1
- package/dist/cjs/types/components/Divider/Divider.d.ts +0 -18
- package/dist/cjs/types/components/Divider/Divider.test.d.ts +0 -1
- package/dist/cjs/types/components/DocumentationPopover/DocumentationPopover.d.ts +0 -18
- package/dist/cjs/types/components/DocumentationPopover/DocumentationPopover.test.d.ts +0 -1
- package/dist/cjs/types/components/EditTagsButton/EditTagsButton.d.ts +0 -16
- package/dist/cjs/types/components/EditTagsButton/EditTagsButton.test.d.ts +0 -1
- package/dist/cjs/types/components/EditTagsButton/EditTagsCard.d.ts +0 -9
- package/dist/cjs/types/components/EditTagsButton/EditTagsModal.d.ts +0 -6
- package/dist/cjs/types/components/EditTagsButton/SearchTags.d.ts +0 -6
- package/dist/cjs/types/components/EditTagsButton/SearchTags.test.d.ts +0 -1
- package/dist/cjs/types/components/EditTagsButton/TagsManager.d.ts +0 -8
- package/dist/cjs/types/components/EditTagsButton/TagsManager.test.d.ts +0 -1
- package/dist/cjs/types/components/EmptyState/EmptyState.d.ts +0 -25
- package/dist/cjs/types/components/EmptyState/EmptyState.test.d.ts +0 -1
- package/dist/cjs/types/components/FeatureCard/Connector.d.ts +0 -2
- package/dist/cjs/types/components/FeatureCard/Connector.test.d.ts +0 -1
- package/dist/cjs/types/components/FeatureCard/FeatureCard.d.ts +0 -39
- package/dist/cjs/types/components/FeatureCard/PlaceholderArea.d.ts +0 -4
- package/dist/cjs/types/components/FeatureCardHeader/FeatureCardHeader.d.ts +0 -22
- package/dist/cjs/types/components/FeatureCardHeaderActions/FeatureCardHeaderActions.d.ts +0 -22
- package/dist/cjs/types/components/FeatureFlagCheckbox/FeatureFlagCheckbox.d.ts +0 -25
- package/dist/cjs/types/components/FeatureFlagCheckbox/FeatureFlagCheckbox.test.d.ts +0 -1
- package/dist/cjs/types/components/FilterPopover/FilterPopover.d.ts +0 -43
- package/dist/cjs/types/components/FormCheckbox/FormCheckbox.d.ts +0 -13
- package/dist/cjs/types/components/FormCheckbox/FormCheckbox.test.d.ts +0 -1
- package/dist/cjs/types/components/FormControl/FormControl.overrides.d.ts +0 -3
- package/dist/cjs/types/components/FormDatePickers/FormDatePicker/FormDatePicker.d.ts +0 -9
- package/dist/cjs/types/components/FormDatePickers/FormDatePicker/FormDatePicker.test.d.ts +0 -1
- package/dist/cjs/types/components/FormDatePickers/FormDatePickerClearInput.d.ts +0 -3
- package/dist/cjs/types/components/FormDatePickers/FormDatePickerWrapper.d.ts +0 -7
- package/dist/cjs/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.d.ts +0 -35
- package/dist/cjs/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.test.d.ts +0 -1
- package/dist/cjs/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +0 -17
- package/dist/cjs/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.d.ts +0 -8
- package/dist/cjs/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.test.d.ts +0 -1
- package/dist/cjs/types/components/FormInput/FormInput.d.ts +0 -8
- package/dist/cjs/types/components/FormInput/FormInput.test.d.ts +0 -1
- package/dist/cjs/types/components/FormLabel/FormLabel.d.ts +0 -8
- package/dist/cjs/types/components/FormLabel/FormLabel.overrides.d.ts +0 -2
- package/dist/cjs/types/components/FormLabel/FormLabel.test.d.ts +0 -1
- package/dist/cjs/types/components/FormRadio/FormRadio.d.ts +0 -16
- package/dist/cjs/types/components/FormRadio/FormRadio.test.d.ts +0 -1
- package/dist/cjs/types/components/FormSelect/FormSelect.d.ts +0 -15
- package/dist/cjs/types/components/FormSelect/FormSelect.test.d.ts +0 -1
- package/dist/cjs/types/components/FormSwitch/FormSwitch.d.ts +0 -11
- package/dist/cjs/types/components/FormSwitch/FormSwitch.test.d.ts +0 -1
- package/dist/cjs/types/components/Grid/Grid.d.ts +0 -17
- package/dist/cjs/types/components/Grid/Grid.test.d.ts +0 -1
- package/dist/cjs/types/components/Icon/Icon.d.ts +0 -11
- package/dist/cjs/types/components/Icon/Icon.test.d.ts +0 -1
- package/dist/cjs/types/components/Illustration/Illustration.d.ts +0 -12
- package/dist/cjs/types/components/InfoCard/InfoCard.d.ts +0 -51
- package/dist/cjs/types/components/InfoCard/InfoCard.test.d.ts +0 -1
- package/dist/cjs/types/components/InfoModal/InfoModal.d.ts +0 -14
- package/dist/cjs/types/components/InfoModal/InfoModal.test.d.ts +0 -1
- package/dist/cjs/types/components/InfoPopover/InfoPopover.d.ts +0 -9
- package/dist/cjs/types/components/InfoPopover/InfoPopover.test.d.ts +0 -1
- package/dist/cjs/types/components/Input/Input.d.ts +0 -7
- package/dist/cjs/types/components/Input/Input.overrides.d.ts +0 -4
- package/dist/cjs/types/components/Input/Input.test.d.ts +0 -1
- package/dist/cjs/types/components/Link/Link.d.ts +0 -31
- package/dist/cjs/types/components/Link/Link.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Link/Link.test.d.ts +0 -1
- package/dist/cjs/types/components/Loading/Loading.d.ts +0 -16
- package/dist/cjs/types/components/Loading/Loading.test.d.ts +0 -1
- package/dist/cjs/types/components/Logo/Logo.d.ts +0 -14
- package/dist/cjs/types/components/NotFound/NotFound.d.ts +0 -15
- package/dist/cjs/types/components/NotFound/NotFound.test.d.ts +0 -1
- package/dist/cjs/types/components/PageContainer/PageContainer.d.ts +0 -16
- package/dist/cjs/types/components/PageContainer/PageContainer.test.d.ts +0 -1
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +0 -23
- package/dist/cjs/types/components/PageHeader/PageHeader.test.d.ts +0 -1
- package/dist/cjs/types/components/PageHeaderV2/PageHeaderV2.d.ts +0 -29
- package/dist/cjs/types/components/PageHeaderV2/PageHeaderV2.test.d.ts +0 -1
- package/dist/cjs/types/components/Popover/Popover.d.ts +0 -84
- package/dist/cjs/types/components/Popover/Popover.test.d.ts +0 -1
- package/dist/cjs/types/components/Radio/Radio.d.ts +0 -8
- package/dist/cjs/types/components/Radio/Radio.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Radio/Radio.test.d.ts +0 -1
- package/dist/cjs/types/components/Radio/icons/index.d.ts +0 -4
- package/dist/cjs/types/components/RoleBanner/RoleBanner.d.ts +0 -13
- package/dist/cjs/types/components/Select/Select.d.ts +0 -14
- package/dist/cjs/types/components/Select/Select.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Select/Select.test.d.ts +0 -1
- package/dist/cjs/types/components/Slider/Slider.d.ts +0 -8
- package/dist/cjs/types/components/Slider/Slider.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Slider/Slider.test.d.ts +0 -1
- package/dist/cjs/types/components/StatusLight/StatusLight.d.ts +0 -46
- package/dist/cjs/types/components/StatusLight/StatusLight.test.d.ts +0 -1
- package/dist/cjs/types/components/Switch/Switch.d.ts +0 -8
- package/dist/cjs/types/components/Switch/Switch.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Switch/Switch.test.d.ts +0 -1
- package/dist/cjs/types/components/TabGroup/TabGroup.d.ts +0 -30
- package/dist/cjs/types/components/TabGroup/TabGroup.test.d.ts +0 -1
- package/dist/cjs/types/components/Table/Table.d.ts +0 -32
- package/dist/cjs/types/components/Table/Table.overrides.d.ts +0 -6
- package/dist/cjs/types/components/Table/Table.test.d.ts +0 -1
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +0 -10
- package/dist/cjs/types/components/Tabs/Tabs.overrides.d.ts +0 -3
- package/dist/cjs/types/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/cjs/types/components/Tag/Tag.d.ts +0 -8
- package/dist/cjs/types/components/Tag/Tag.overrides.d.ts +0 -2
- package/dist/cjs/types/components/Tag/Tag.test.d.ts +0 -1
- package/dist/cjs/types/components/TagsList/MoreTags.d.ts +0 -5
- package/dist/cjs/types/components/TagsList/MoreTags.test.d.ts +0 -1
- package/dist/cjs/types/components/TagsList/Tags.d.ts +0 -11
- package/dist/cjs/types/components/TagsList/Tags.test.d.ts +0 -1
- package/dist/cjs/types/components/TagsList/TagsList.d.ts +0 -15
- package/dist/cjs/types/components/TagsList/TagsList.test.d.ts +0 -1
- package/dist/cjs/types/components/TagsList/useCalculateTagsOverflow.d.ts +0 -34
- package/dist/cjs/types/components/TagsList/useCalculateTagsOverflow.test.d.ts +0 -1
- package/dist/cjs/types/components/ToggleButton/ToggleButton.d.ts +0 -15
- package/dist/cjs/types/components/ToggleButton/ToggleButton.test.d.ts +0 -1
- package/dist/cjs/types/components/Typography/Typography.d.ts +0 -10
- package/dist/cjs/types/components/Typography/Typography.overrides.d.ts +0 -44
- package/dist/cjs/types/components/Typography/Typography.test.d.ts +0 -1
- package/dist/cjs/types/global/icons/index.d.ts +0 -202
- package/dist/cjs/types/global/illustrations/index.d.ts +0 -22
- package/dist/cjs/types/global/logos/index.d.ts +0 -5
- package/dist/cjs/types/global/providers/AlertProvider/AlertProvider.d.ts +0 -64
- package/dist/cjs/types/global/providers/AlertProvider/AlertProvider.test.d.ts +0 -1
- package/dist/cjs/types/global/providers/AlertProvider/AlertStack.d.ts +0 -2
- package/dist/cjs/types/global/providers/AlertProvider/AlertStack.test.d.ts +0 -1
- package/dist/cjs/types/global/providers/AlertProvider/SnackbarWrapper.d.ts +0 -2
- package/dist/cjs/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +0 -10
- package/dist/cjs/types/global/theme.d.ts +0 -1
- package/dist/cjs/types/global/utils/types.d.ts +0 -3
- package/dist/cjs/types/index.d.ts +0 -80
- package/dist/cjs/types/test-setup.d.ts +0 -1
- package/dist/cjs/types/utils/analytics/analytics.d.ts +0 -12
- package/dist/cjs/types/utils/analytics/analytics.test.d.ts +0 -1
- package/dist/cjs/types/utils/analytics/providers/gtag.d.ts +0 -1
- package/dist/cjs/types/utils/analytics/providers/gtag.test.d.ts +0 -1
- package/dist/cjs/types/utils/analytics/providers/linkedin.d.ts +0 -4
- package/dist/cjs/types/utils/analytics/providers/linkedin.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/capitalize.d.ts +0 -8
- package/dist/cjs/types/utils/helpers/capitalize.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/copyToClipboard.d.ts +0 -4
- package/dist/cjs/types/utils/helpers/copyToclipboard.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/formatDate.d.ts +0 -16
- package/dist/cjs/types/utils/helpers/formatDate.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/formatFileSize.d.ts +0 -6
- package/dist/cjs/types/utils/helpers/formatFileSize.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/formatNumber.d.ts +0 -6
- package/dist/cjs/types/utils/helpers/formatNumber.test.d.ts +0 -1
- package/dist/cjs/types/utils/helpers/generateQueryKey.d.ts +0 -17
- package/dist/cjs/types/utils/helpers/generateQueryKey.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useCursorPagination.d.ts +0 -37
- package/dist/cjs/types/utils/hooks/useCursorPagination.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useDebounce.d.ts +0 -8
- package/dist/cjs/types/utils/hooks/useDebounce.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useQueryParams.d.ts +0 -7
- package/dist/cjs/types/utils/hooks/useQueryParams.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useRemotePagination.d.ts +0 -39
- package/dist/cjs/types/utils/hooks/useRemotePagination.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useToggle.d.ts +0 -24
- package/dist/cjs/types/utils/hooks/useToggle.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useUrlParams/index.d.ts +0 -3
- package/dist/cjs/types/utils/hooks/useUrlParams/types.d.ts +0 -22
- package/dist/cjs/types/utils/hooks/useUrlParams/useUrlParams.d.ts +0 -11
- package/dist/cjs/types/utils/hooks/useUrlParams/useUrlParams.test.d.ts +0 -1
- package/dist/cjs/types/utils/hooks/useUrlParams/utils.d.ts +0 -19
- package/dist/cjs/types/utils/hooks/useUrlParams/utils.test.d.ts +0 -1
- package/dist/esm/types/components/ActionToolbar/ActionToolbar.d.ts +0 -49
- package/dist/esm/types/components/Alert/Alert.d.ts +0 -14
- package/dist/esm/types/components/Alert/Alert.overrides.d.ts +0 -2
- package/dist/esm/types/components/Alert/Alert.test.d.ts +0 -1
- package/dist/esm/types/components/Avatar/Avatar.d.ts +0 -13
- package/dist/esm/types/components/Avatar/Avatar.overrides.d.ts +0 -2
- package/dist/esm/types/components/Avatar/Avatar.test.d.ts +0 -1
- package/dist/esm/types/components/Badge/Badge.d.ts +0 -8
- package/dist/esm/types/components/Badge/Badge.overrides.d.ts +0 -2
- package/dist/esm/types/components/Badge/Badge.test.d.ts +0 -1
- package/dist/esm/types/components/Banner/Banner.d.ts +0 -38
- package/dist/esm/types/components/Banner/Banner.test.d.ts +0 -1
- package/dist/esm/types/components/Button/Button.d.ts +0 -31
- package/dist/esm/types/components/Button/Button.overrides.d.ts +0 -8
- package/dist/esm/types/components/Button/Button.test.d.ts +0 -1
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +0 -8
- package/dist/esm/types/components/Checkbox/Checkbox.overrides.d.ts +0 -2
- package/dist/esm/types/components/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/esm/types/components/Checkbox/icons/index.d.ts +0 -6
- package/dist/esm/types/components/CodeInline/CodeInline.d.ts +0 -11
- package/dist/esm/types/components/CodeInline/CodeInline.test.d.ts +0 -1
- package/dist/esm/types/components/CodeSnippet/CodeSnippet.d.ts +0 -62
- package/dist/esm/types/components/CodeSnippet/CodeSnippet.test.d.ts +0 -1
- package/dist/esm/types/components/CodeSnippet/Pre.d.ts +0 -8
- package/dist/esm/types/components/CodeSnippet/languagesMock.d.ts +0 -2
- package/dist/esm/types/components/ContactBox/ContactBox.d.ts +0 -13
- package/dist/esm/types/components/ContactBox/ContactBox.test.d.ts +0 -1
- package/dist/esm/types/components/Container/Container.overrides.d.ts +0 -3
- package/dist/esm/types/components/ControlButton/ControlButton.d.ts +0 -14
- package/dist/esm/types/components/ControlButton/ControlButton.test.d.ts +0 -1
- package/dist/esm/types/components/CopyButton/CopyButton.d.ts +0 -12
- package/dist/esm/types/components/CopyButton/CopyButton.test.d.ts +0 -1
- package/dist/esm/types/components/DataGrid/DataGrid.d.ts +0 -10
- package/dist/esm/types/components/DataGrid/DataGrid.overrides.d.ts +0 -2
- package/dist/esm/types/components/DataGrid/DataGrid.test.d.ts +0 -1
- package/dist/esm/types/components/DateTime/DateTime.d.ts +0 -11
- package/dist/esm/types/components/DateTime/DateTime.test.d.ts +0 -1
- package/dist/esm/types/components/Divider/Divider.d.ts +0 -18
- package/dist/esm/types/components/Divider/Divider.test.d.ts +0 -1
- package/dist/esm/types/components/DocumentationPopover/DocumentationPopover.d.ts +0 -18
- package/dist/esm/types/components/DocumentationPopover/DocumentationPopover.test.d.ts +0 -1
- package/dist/esm/types/components/EditTagsButton/EditTagsButton.d.ts +0 -16
- package/dist/esm/types/components/EditTagsButton/EditTagsButton.test.d.ts +0 -1
- package/dist/esm/types/components/EditTagsButton/EditTagsCard.d.ts +0 -9
- package/dist/esm/types/components/EditTagsButton/EditTagsModal.d.ts +0 -6
- package/dist/esm/types/components/EditTagsButton/SearchTags.d.ts +0 -6
- package/dist/esm/types/components/EditTagsButton/SearchTags.test.d.ts +0 -1
- package/dist/esm/types/components/EditTagsButton/TagsManager.d.ts +0 -8
- package/dist/esm/types/components/EditTagsButton/TagsManager.test.d.ts +0 -1
- package/dist/esm/types/components/EmptyState/EmptyState.d.ts +0 -25
- package/dist/esm/types/components/EmptyState/EmptyState.test.d.ts +0 -1
- package/dist/esm/types/components/FeatureCard/Connector.d.ts +0 -2
- package/dist/esm/types/components/FeatureCard/Connector.test.d.ts +0 -1
- package/dist/esm/types/components/FeatureCard/FeatureCard.d.ts +0 -39
- package/dist/esm/types/components/FeatureCard/PlaceholderArea.d.ts +0 -4
- package/dist/esm/types/components/FeatureCardHeader/FeatureCardHeader.d.ts +0 -22
- package/dist/esm/types/components/FeatureCardHeaderActions/FeatureCardHeaderActions.d.ts +0 -22
- package/dist/esm/types/components/FeatureFlagCheckbox/FeatureFlagCheckbox.d.ts +0 -25
- package/dist/esm/types/components/FeatureFlagCheckbox/FeatureFlagCheckbox.test.d.ts +0 -1
- package/dist/esm/types/components/FilterPopover/FilterPopover.d.ts +0 -43
- package/dist/esm/types/components/FormCheckbox/FormCheckbox.d.ts +0 -13
- package/dist/esm/types/components/FormCheckbox/FormCheckbox.test.d.ts +0 -1
- package/dist/esm/types/components/FormControl/FormControl.overrides.d.ts +0 -3
- package/dist/esm/types/components/FormDatePickers/FormDatePicker/FormDatePicker.d.ts +0 -9
- package/dist/esm/types/components/FormDatePickers/FormDatePicker/FormDatePicker.test.d.ts +0 -1
- package/dist/esm/types/components/FormDatePickers/FormDatePickerClearInput.d.ts +0 -3
- package/dist/esm/types/components/FormDatePickers/FormDatePickerWrapper.d.ts +0 -7
- package/dist/esm/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.d.ts +0 -35
- package/dist/esm/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.test.d.ts +0 -1
- package/dist/esm/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +0 -17
- package/dist/esm/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.d.ts +0 -8
- package/dist/esm/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.test.d.ts +0 -1
- package/dist/esm/types/components/FormInput/FormInput.d.ts +0 -8
- package/dist/esm/types/components/FormInput/FormInput.test.d.ts +0 -1
- package/dist/esm/types/components/FormLabel/FormLabel.d.ts +0 -8
- package/dist/esm/types/components/FormLabel/FormLabel.overrides.d.ts +0 -2
- package/dist/esm/types/components/FormLabel/FormLabel.test.d.ts +0 -1
- package/dist/esm/types/components/FormRadio/FormRadio.d.ts +0 -16
- package/dist/esm/types/components/FormRadio/FormRadio.test.d.ts +0 -1
- package/dist/esm/types/components/FormSelect/FormSelect.d.ts +0 -15
- package/dist/esm/types/components/FormSelect/FormSelect.test.d.ts +0 -1
- package/dist/esm/types/components/FormSwitch/FormSwitch.d.ts +0 -11
- package/dist/esm/types/components/FormSwitch/FormSwitch.test.d.ts +0 -1
- package/dist/esm/types/components/Grid/Grid.d.ts +0 -17
- package/dist/esm/types/components/Grid/Grid.test.d.ts +0 -1
- package/dist/esm/types/components/Icon/Icon.d.ts +0 -11
- package/dist/esm/types/components/Icon/Icon.test.d.ts +0 -1
- package/dist/esm/types/components/Illustration/Illustration.d.ts +0 -12
- package/dist/esm/types/components/InfoCard/InfoCard.d.ts +0 -51
- package/dist/esm/types/components/InfoCard/InfoCard.test.d.ts +0 -1
- package/dist/esm/types/components/InfoModal/InfoModal.d.ts +0 -14
- package/dist/esm/types/components/InfoModal/InfoModal.test.d.ts +0 -1
- package/dist/esm/types/components/InfoPopover/InfoPopover.d.ts +0 -9
- package/dist/esm/types/components/InfoPopover/InfoPopover.test.d.ts +0 -1
- package/dist/esm/types/components/Input/Input.d.ts +0 -7
- package/dist/esm/types/components/Input/Input.overrides.d.ts +0 -4
- package/dist/esm/types/components/Input/Input.test.d.ts +0 -1
- package/dist/esm/types/components/Link/Link.d.ts +0 -31
- package/dist/esm/types/components/Link/Link.overrides.d.ts +0 -2
- package/dist/esm/types/components/Link/Link.test.d.ts +0 -1
- package/dist/esm/types/components/Loading/Loading.d.ts +0 -16
- package/dist/esm/types/components/Loading/Loading.test.d.ts +0 -1
- package/dist/esm/types/components/Logo/Logo.d.ts +0 -14
- package/dist/esm/types/components/NotFound/NotFound.d.ts +0 -15
- package/dist/esm/types/components/NotFound/NotFound.test.d.ts +0 -1
- package/dist/esm/types/components/PageContainer/PageContainer.d.ts +0 -16
- package/dist/esm/types/components/PageContainer/PageContainer.test.d.ts +0 -1
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +0 -23
- package/dist/esm/types/components/PageHeader/PageHeader.test.d.ts +0 -1
- package/dist/esm/types/components/PageHeaderV2/PageHeaderV2.d.ts +0 -29
- package/dist/esm/types/components/PageHeaderV2/PageHeaderV2.test.d.ts +0 -1
- package/dist/esm/types/components/Popover/Popover.d.ts +0 -84
- package/dist/esm/types/components/Popover/Popover.test.d.ts +0 -1
- package/dist/esm/types/components/Radio/Radio.d.ts +0 -8
- package/dist/esm/types/components/Radio/Radio.overrides.d.ts +0 -2
- package/dist/esm/types/components/Radio/Radio.test.d.ts +0 -1
- package/dist/esm/types/components/Radio/icons/index.d.ts +0 -4
- package/dist/esm/types/components/RoleBanner/RoleBanner.d.ts +0 -13
- package/dist/esm/types/components/Select/Select.d.ts +0 -14
- package/dist/esm/types/components/Select/Select.overrides.d.ts +0 -2
- package/dist/esm/types/components/Select/Select.test.d.ts +0 -1
- package/dist/esm/types/components/Slider/Slider.d.ts +0 -8
- package/dist/esm/types/components/Slider/Slider.overrides.d.ts +0 -2
- package/dist/esm/types/components/Slider/Slider.test.d.ts +0 -1
- package/dist/esm/types/components/StatusLight/StatusLight.d.ts +0 -46
- package/dist/esm/types/components/StatusLight/StatusLight.test.d.ts +0 -1
- package/dist/esm/types/components/Switch/Switch.d.ts +0 -8
- package/dist/esm/types/components/Switch/Switch.overrides.d.ts +0 -2
- package/dist/esm/types/components/Switch/Switch.test.d.ts +0 -1
- package/dist/esm/types/components/TabGroup/TabGroup.d.ts +0 -30
- package/dist/esm/types/components/TabGroup/TabGroup.test.d.ts +0 -1
- package/dist/esm/types/components/Table/Table.d.ts +0 -32
- package/dist/esm/types/components/Table/Table.overrides.d.ts +0 -6
- package/dist/esm/types/components/Table/Table.test.d.ts +0 -1
- package/dist/esm/types/components/Tabs/Tabs.d.ts +0 -10
- package/dist/esm/types/components/Tabs/Tabs.overrides.d.ts +0 -3
- package/dist/esm/types/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/esm/types/components/Tag/Tag.d.ts +0 -8
- package/dist/esm/types/components/Tag/Tag.overrides.d.ts +0 -2
- package/dist/esm/types/components/Tag/Tag.test.d.ts +0 -1
- package/dist/esm/types/components/TagsList/MoreTags.d.ts +0 -5
- package/dist/esm/types/components/TagsList/MoreTags.test.d.ts +0 -1
- package/dist/esm/types/components/TagsList/Tags.d.ts +0 -11
- package/dist/esm/types/components/TagsList/Tags.test.d.ts +0 -1
- package/dist/esm/types/components/TagsList/TagsList.d.ts +0 -15
- package/dist/esm/types/components/TagsList/TagsList.test.d.ts +0 -1
- package/dist/esm/types/components/TagsList/useCalculateTagsOverflow.d.ts +0 -34
- package/dist/esm/types/components/TagsList/useCalculateTagsOverflow.test.d.ts +0 -1
- package/dist/esm/types/components/ToggleButton/ToggleButton.d.ts +0 -15
- package/dist/esm/types/components/ToggleButton/ToggleButton.test.d.ts +0 -1
- package/dist/esm/types/components/Typography/Typography.d.ts +0 -10
- package/dist/esm/types/components/Typography/Typography.overrides.d.ts +0 -44
- package/dist/esm/types/components/Typography/Typography.test.d.ts +0 -1
- package/dist/esm/types/global/icons/index.d.ts +0 -202
- package/dist/esm/types/global/illustrations/index.d.ts +0 -22
- package/dist/esm/types/global/logos/index.d.ts +0 -5
- package/dist/esm/types/global/providers/AlertProvider/AlertProvider.d.ts +0 -64
- package/dist/esm/types/global/providers/AlertProvider/AlertProvider.test.d.ts +0 -1
- package/dist/esm/types/global/providers/AlertProvider/AlertStack.d.ts +0 -2
- package/dist/esm/types/global/providers/AlertProvider/AlertStack.test.d.ts +0 -1
- package/dist/esm/types/global/providers/AlertProvider/SnackbarWrapper.d.ts +0 -2
- package/dist/esm/types/global/providers/UpComponentsProvider/UpComponentsProvider.d.ts +0 -10
- package/dist/esm/types/global/theme.d.ts +0 -1
- package/dist/esm/types/global/utils/types.d.ts +0 -3
- package/dist/esm/types/index.d.ts +0 -80
- package/dist/esm/types/test-setup.d.ts +0 -1
- package/dist/esm/types/utils/analytics/analytics.d.ts +0 -12
- package/dist/esm/types/utils/analytics/analytics.test.d.ts +0 -1
- package/dist/esm/types/utils/analytics/providers/gtag.d.ts +0 -1
- package/dist/esm/types/utils/analytics/providers/gtag.test.d.ts +0 -1
- package/dist/esm/types/utils/analytics/providers/linkedin.d.ts +0 -4
- package/dist/esm/types/utils/analytics/providers/linkedin.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/capitalize.d.ts +0 -8
- package/dist/esm/types/utils/helpers/capitalize.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/copyToClipboard.d.ts +0 -4
- package/dist/esm/types/utils/helpers/copyToclipboard.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/formatDate.d.ts +0 -16
- package/dist/esm/types/utils/helpers/formatDate.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/formatFileSize.d.ts +0 -6
- package/dist/esm/types/utils/helpers/formatFileSize.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/formatNumber.d.ts +0 -6
- package/dist/esm/types/utils/helpers/formatNumber.test.d.ts +0 -1
- package/dist/esm/types/utils/helpers/generateQueryKey.d.ts +0 -17
- package/dist/esm/types/utils/helpers/generateQueryKey.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useCursorPagination.d.ts +0 -37
- package/dist/esm/types/utils/hooks/useCursorPagination.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useDebounce.d.ts +0 -8
- package/dist/esm/types/utils/hooks/useDebounce.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useQueryParams.d.ts +0 -7
- package/dist/esm/types/utils/hooks/useQueryParams.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useRemotePagination.d.ts +0 -39
- package/dist/esm/types/utils/hooks/useRemotePagination.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useToggle.d.ts +0 -24
- package/dist/esm/types/utils/hooks/useToggle.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useUrlParams/index.d.ts +0 -3
- package/dist/esm/types/utils/hooks/useUrlParams/types.d.ts +0 -22
- package/dist/esm/types/utils/hooks/useUrlParams/useUrlParams.d.ts +0 -11
- package/dist/esm/types/utils/hooks/useUrlParams/useUrlParams.test.d.ts +0 -1
- package/dist/esm/types/utils/hooks/useUrlParams/utils.d.ts +0 -19
- package/dist/esm/types/utils/hooks/useUrlParams/utils.test.d.ts +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
import { IconProps } from 'components/Icon/Icon';
|
|
4
|
-
export type IconAction = {
|
|
5
|
-
name: IconProps['name'];
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
sx?: SxProps;
|
|
11
|
-
};
|
|
12
|
-
export type MenuAction = {
|
|
13
|
-
label: string;
|
|
14
|
-
onClick: (event: React.MouseEvent<HTMLLIElement>) => void;
|
|
15
|
-
sx?: SxProps;
|
|
16
|
-
isExternal?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export type FeatureCardHeaderActionsProps = {
|
|
19
|
-
iconActions?: IconAction[];
|
|
20
|
-
menuActions?: MenuAction[];
|
|
21
|
-
};
|
|
22
|
-
export declare const FeatureCardHeaderActions: ({ iconActions, menuActions }: FeatureCardHeaderActionsProps) => React.JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React, { SyntheticEvent } from 'react';
|
|
2
|
-
export type FeatureFlagCheckboxProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
checked: boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Defines if the component should be rendered or not.
|
|
7
|
-
* Use this prop to indicate if the application is in a development environment.
|
|
8
|
-
*/
|
|
9
|
-
isDevelopment: boolean;
|
|
10
|
-
onChange: (event: SyntheticEvent, checked: boolean) => void;
|
|
11
|
-
onClose?: () => void;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* Development-only feature toggle component (not for production use).
|
|
16
|
-
*
|
|
17
|
-
* **Important**: This component is intended *strictly* for development environments and should not be included in production builds.
|
|
18
|
-
*
|
|
19
|
-
* The `FeatureFlagCheckbox` is a temporary UI component used by developers to enable or disable feature flags manually. It renders a labeled checkbox and an optional close button to dismiss the control.
|
|
20
|
-
*
|
|
21
|
-
* **Note**: The component is rendered only when the `isDevelopment` prop is set to `true`. It is the responsibility of the consuming application to ensure the provided value is correct so that is only rendered in non-production environments.
|
|
22
|
-
*
|
|
23
|
-
* Documentation: https://up-components.up42.com/?path=/docs/development-featureflagcheckbox--docs
|
|
24
|
-
*/
|
|
25
|
-
export declare function FeatureFlagCheckbox({ label, checked, isDevelopment, onChange, onClose }: FeatureFlagCheckboxProps): React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type PopoverProps } from '../Popover/Popover';
|
|
3
|
-
export type FilterPopoverProps = Pick<PopoverProps, 'anchorEl' | 'onClose' | 'header' | 'sx' | 'size'> & {
|
|
4
|
-
/**
|
|
5
|
-
* Filter area content (placeholder node for now).
|
|
6
|
-
*/
|
|
7
|
-
content?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Apply button text.
|
|
10
|
-
* @default 'Apply filters'
|
|
11
|
-
*/
|
|
12
|
-
applyButtonLabel?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Loading state for the count of results.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
isLoadingCount?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Clear button text.
|
|
20
|
-
* @default 'Reset to defaults'
|
|
21
|
-
*/
|
|
22
|
-
clearButtonLabel?: string;
|
|
23
|
-
/**
|
|
24
|
-
* When true, Apply is enabled; when false, disabled.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
disableApplyButton?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Called when Apply is clicked; popover closes after.
|
|
30
|
-
*/
|
|
31
|
-
onApply?: () => void | Promise<void>;
|
|
32
|
-
/**
|
|
33
|
-
* Called when Clear is clicked; no other behaviour (no close).
|
|
34
|
-
*/
|
|
35
|
-
onClear?: () => void | Promise<void>;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Main container for filter inputs. Composes Popover with Apply/Clear footer.
|
|
39
|
-
* Opens when the user clicks the anchor; closes on Apply or Escape.
|
|
40
|
-
*
|
|
41
|
-
* Documentation: https://up-components.up42.com/?path=/docs-patterns-popovers-filterpopover--docs
|
|
42
|
-
*/
|
|
43
|
-
export declare const FilterPopover: ({ anchorEl, onClose, header, content, applyButtonLabel, clearButtonLabel, disableApplyButton, isLoadingCount, onApply, onClear, ...popoverProps }: FilterPopoverProps) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormBaseProps } from '@global/utils/types';
|
|
3
|
-
import { CheckboxProps } from '../Checkbox/Checkbox';
|
|
4
|
-
export type FormCheckboxProps = FormBaseProps & CheckboxProps & {
|
|
5
|
-
data: {
|
|
6
|
-
value: string | number;
|
|
7
|
-
label?: React.ReactNode;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
12
|
-
*/
|
|
13
|
-
export declare const FormCheckbox: React.ForwardRefExoticComponent<Omit<FormCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps as MuiDatePickerProps } from '@mui/x-date-pickers-pro';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { type DatePickerWrapperProps } from '../FormDatePickerWrapper';
|
|
5
|
-
export type FormDatePickerDateType = Date | Dayjs | null | undefined;
|
|
6
|
-
type NonGenericMuiDatePickerProps = MuiDatePickerProps<FormDatePickerDateType>;
|
|
7
|
-
export type FormDatePickerProps = NonGenericMuiDatePickerProps & DatePickerWrapperProps;
|
|
8
|
-
export declare const FormDatePicker: React.ForwardRefExoticComponent<NonGenericMuiDatePickerProps & DatePickerWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
export type DatePickerWrapperProps = {
|
|
3
|
-
error?: boolean;
|
|
4
|
-
label?: string | ReactNode;
|
|
5
|
-
helperText?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const FormDatePickerWrapper: ({ label, error, helperText, children, }: PropsWithChildren<DatePickerWrapperProps>) => React.JSX.Element;
|
package/dist/cjs/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateRangePickerProps } from '@mui/x-date-pickers-pro/DateRangePicker';
|
|
3
|
-
import { type DatePickerWrapperProps } from '../FormDatePickerWrapper';
|
|
4
|
-
import { FormDatePickerDateType } from '../FormDatePicker/FormDatePicker';
|
|
5
|
-
export type DateRange = {
|
|
6
|
-
start: FormDatePickerDateType;
|
|
7
|
-
end: FormDatePickerDateType;
|
|
8
|
-
};
|
|
9
|
-
export declare const DEFAULT_FORMAT = "YYYY\u2013MM\u2013DD";
|
|
10
|
-
export type FormDateRangePickerProps = {
|
|
11
|
-
startLabel?: string;
|
|
12
|
-
startPlaceholder?: string;
|
|
13
|
-
endLabel?: string;
|
|
14
|
-
endPlaceholder?: string;
|
|
15
|
-
value: DateRange | null;
|
|
16
|
-
onChange?: (value: DateRange | null) => void;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Defines whether or not the user can input values and navigate in the calendars using the keyboard.
|
|
20
|
-
*/
|
|
21
|
-
allowKeyboard?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Defines the minimum number of days after the "start date" that the "end date" can be selected.
|
|
24
|
-
*/
|
|
25
|
-
minEndDateOffset?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Defines the maximum number of days after the "start date" that the "end date" can be selected.
|
|
28
|
-
*/
|
|
29
|
-
maxEndDateOffset?: number;
|
|
30
|
-
} & DatePickerWrapperProps & Omit<DateRangePickerProps<FormDatePickerDateType | Date>, 'value' | 'onChange'>;
|
|
31
|
-
/**
|
|
32
|
-
* FormDateRangePicker allows users to choose two dates (start and end) using calendar view.
|
|
33
|
-
* Documentation: https://up-components.up42.com/?path=/docs-patterns-form-formdaterangepicker--docs
|
|
34
|
-
*/
|
|
35
|
-
export declare const FormDateRangePicker: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, allowKeyboard, startPlaceholder, endPlaceholder, format, ...props }: FormDateRangePickerProps) => React.JSX.Element;
|
package/dist/cjs/types/components/FormDatePickers/FormDateRangePicker/FormDateRangePicker.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type DatePickerWrapperProps } from '../FormDatePickerWrapper';
|
|
3
|
-
import { FormDateRangePickerProps, DateRange } from '../FormDateRangePicker/FormDateRangePicker';
|
|
4
|
-
export type FormDateRangePickerListProps = {
|
|
5
|
-
value: DateRange[];
|
|
6
|
-
onChange?: (value: DateRange[]) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Defines the text to display in the action button to add a new Date Range.
|
|
10
|
-
* It defaults to "Add new date".
|
|
11
|
-
*/
|
|
12
|
-
addButtonText?: string;
|
|
13
|
-
} & DatePickerWrapperProps & Omit<FormDateRangePickerProps, 'value' | 'onChange'>;
|
|
14
|
-
/**
|
|
15
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepickerlist--docs
|
|
16
|
-
*/
|
|
17
|
-
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, disabled, addButtonText, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|
package/dist/cjs/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateTimePickerProps as MuiDateTimePickerProps } from '@mui/x-date-pickers-pro';
|
|
3
|
-
import { Dayjs } from 'dayjs';
|
|
4
|
-
import { type DatePickerWrapperProps } from '../FormDatePickerWrapper';
|
|
5
|
-
type NonGenericMuiDateTimePickerProps = MuiDateTimePickerProps<Dayjs | null | undefined>;
|
|
6
|
-
export type FormDateTimePickerProps = NonGenericMuiDateTimePickerProps & DatePickerWrapperProps;
|
|
7
|
-
export declare const FormDateTimePicker: React.ForwardRefExoticComponent<NonGenericMuiDateTimePickerProps & DatePickerWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export {};
|
package/dist/cjs/types/components/FormDatePickers/FormDateTimePicker/FormDateTimePicker.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormBaseProps } from '@global/utils/types';
|
|
3
|
-
import { InputProps } from '../Input/Input';
|
|
4
|
-
export type FormInputProps = FormBaseProps & InputProps;
|
|
5
|
-
/**
|
|
6
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
7
|
-
*/
|
|
8
|
-
export declare const FormInput: React.ForwardRefExoticComponent<Omit<FormInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextFieldProps, FormLabelBaseProps } from '@mui/material';
|
|
3
|
-
export type FormLabelProps = {
|
|
4
|
-
label: TextFieldProps['label'];
|
|
5
|
-
required?: TextFieldProps['required'];
|
|
6
|
-
htmlFor: FormLabelBaseProps['htmlFor'];
|
|
7
|
-
};
|
|
8
|
-
export declare const FormLabel: ({ label, htmlFor, required }: FormLabelProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RadioGroupProps } from '@mui/material';
|
|
3
|
-
import { FormBaseProps } from '@global/utils/types';
|
|
4
|
-
import { RadioProps } from '../Radio/Radio';
|
|
5
|
-
export type FormRadioProps = FormBaseProps & RadioGroupProps & {
|
|
6
|
-
inputRef?: RadioProps['inputRef'];
|
|
7
|
-
data: {
|
|
8
|
-
value: string | number;
|
|
9
|
-
label?: string;
|
|
10
|
-
message?: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
15
|
-
*/
|
|
16
|
-
export declare const FormRadio: React.ForwardRefExoticComponent<Omit<FormRadioProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { FormBaseProps } from '@global/utils/types';
|
|
3
|
-
import { SelectProps } from '../Select/Select';
|
|
4
|
-
type Option = {
|
|
5
|
-
value: string | number;
|
|
6
|
-
label: string | ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export type FormSelectProps = FormBaseProps & SelectProps<string | number> & {
|
|
9
|
-
options: Option[];
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
13
|
-
*/
|
|
14
|
-
export declare const FormSelect: React.ForwardRefExoticComponent<Omit<FormSelectProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormBaseProps } from '@global/utils/types';
|
|
3
|
-
import { SwitchProps } from '../Switch/Switch';
|
|
4
|
-
export type FormSwitchProps = FormBaseProps & SwitchProps & {
|
|
5
|
-
formControlLabel?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const BaseFormSwitch: ({ component, disabled, label, error, formControlLabel, sx, ...props }: FormSwitchProps) => React.JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form--docs
|
|
10
|
-
*/
|
|
11
|
-
export declare const FormSwitch: React.ForwardRefExoticComponent<Omit<FormSwitchProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridProps } from '@mui/material';
|
|
3
|
-
export type GridContainerProps = Omit<GridProps, 'container' | 'item' | 'xs' | 'columnSpacing'>;
|
|
4
|
-
/**
|
|
5
|
-
* Documentation: https://up-components.up42.com/?path=/docs/layout-grid--docs
|
|
6
|
-
*/
|
|
7
|
-
export declare const GridContainer: ({ children, ...props }: GridContainerProps) => React.JSX.Element;
|
|
8
|
-
export type GridItemProps = GridContainerProps & {
|
|
9
|
-
/**
|
|
10
|
-
* `span` prop is used to set the column span.
|
|
11
|
-
*/
|
|
12
|
-
span?: GridProps['xs'];
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Documentation: https://up-components.up42.com/?path=/docs/layout-grid--docs
|
|
16
|
-
*/
|
|
17
|
-
export declare const GridItem: ({ children, span, ...props }: GridItemProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SvgIconProps } from '@mui/material';
|
|
3
|
-
import * as icons from '@global/icons';
|
|
4
|
-
export type IconProps = {
|
|
5
|
-
name: keyof typeof icons;
|
|
6
|
-
} & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox'>;
|
|
7
|
-
/**
|
|
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
|
-
*/
|
|
11
|
-
export declare const Icon: ({ name, ...props }: IconProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material';
|
|
3
|
-
import * as illustrations from '@global/illustrations';
|
|
4
|
-
export type IllustrationProps = {
|
|
5
|
-
name: keyof typeof illustrations;
|
|
6
|
-
size?: number;
|
|
7
|
-
} & BoxProps;
|
|
8
|
-
/**
|
|
9
|
-
* Documentation: https://up-components.up42.com/?path=/docs/data-display-illustrations--docs
|
|
10
|
-
* Illustrations: https://up-components.up42.com/?path=/docs/illustrations--docs
|
|
11
|
-
*/
|
|
12
|
-
export declare function Illustration({ name, size, sx, ...props }: IllustrationProps): React.JSX.Element;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CardProps } from '@mui/material';
|
|
3
|
-
export type InfoCardProps = {
|
|
4
|
-
title: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
/**
|
|
7
|
-
* The content action section aka. card footer.
|
|
8
|
-
*/
|
|
9
|
-
actions?: React.ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* The content of the header action, usually an icon with a close event.
|
|
12
|
-
*/
|
|
13
|
-
headerAction?: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
|
|
16
|
-
*/
|
|
17
|
-
titleVariant?: 'headingSmall' | 'headingXSmall' | 'note';
|
|
18
|
-
/**
|
|
19
|
-
* Choose whether to hide divider or not.
|
|
20
|
-
*/
|
|
21
|
-
hideDivider?: boolean;
|
|
22
|
-
} & Omit<CardProps, 'variant' | 'square' | 'raised'>;
|
|
23
|
-
/**
|
|
24
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
|
|
25
|
-
*/
|
|
26
|
-
export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, actions, headerAction, hideDivider, innerRef, ...props }: {
|
|
27
|
-
title: string;
|
|
28
|
-
subtitle?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The content action section aka. card footer.
|
|
31
|
-
*/
|
|
32
|
-
actions?: React.ReactNode;
|
|
33
|
-
/**
|
|
34
|
-
* The content of the header action, usually an icon with a close event.
|
|
35
|
-
*/
|
|
36
|
-
headerAction?: React.ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
* The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
|
|
39
|
-
*/
|
|
40
|
-
titleVariant?: "note" | "headingSmall" | "headingXSmall" | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Choose whether to hide divider or not.
|
|
43
|
-
*/
|
|
44
|
-
hideDivider?: boolean | undefined;
|
|
45
|
-
} & Omit<CardProps<"div", {}>, "square" | "variant" | "raised"> & {
|
|
46
|
-
innerRef: CardProps['ref'];
|
|
47
|
-
}) => React.JSX.Element;
|
|
48
|
-
/**
|
|
49
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infocard--docs
|
|
50
|
-
*/
|
|
51
|
-
export declare const InfoCard: React.ForwardRefExoticComponent<Omit<InfoCardProps, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ModalProps as MUIModalProps } from '@mui/material';
|
|
3
|
-
import { MUIGlobalOmit } from '@global/utils/types';
|
|
4
|
-
import { InfoCardProps } from '../InfoCard/InfoCard';
|
|
5
|
-
export type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'BackdropProps' | 'BackdropComponent' | 'onBackdropClick'>, Omit<InfoCardProps, 'headerAction'> & {
|
|
6
|
-
/**
|
|
7
|
-
* Maximum width of the modal, in pixels.
|
|
8
|
-
*/
|
|
9
|
-
maxWidth?: number;
|
|
10
|
-
}>;
|
|
11
|
-
/**
|
|
12
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-infomodal--docs
|
|
13
|
-
*/
|
|
14
|
-
export declare const InfoModal: ({ title, subtitle, children, actions, open, maxWidth, onClose, ...props }: InfoModalProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InfoCardProps } from '../InfoCard/InfoCard';
|
|
3
|
-
export type InfoPopoverProps = InfoCardProps & {
|
|
4
|
-
icon?: React.ElementType;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Please use [Popover](https://up-components.up42.com/?path=/docs-patterns-popovers-popover--docs) instead
|
|
8
|
-
*/
|
|
9
|
-
export declare const InfoPopover: ({ id, icon: CustomIcon, actions, title, children, sx, ...props }: InfoPopoverProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextFieldProps } from '@mui/material';
|
|
3
|
-
export type InputProps = Omit<TextFieldProps, 'maxRows' | 'minRows' | 'multiline' | 'rows' | 'size' | 'variant'>;
|
|
4
|
-
/**
|
|
5
|
-
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-input--docs
|
|
6
|
-
*/
|
|
7
|
-
export declare const Input: ({ type, ...props }: InputProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LinkProps as MuiLinkProps } from '@mui/material';
|
|
3
|
-
export type LinkProps<C extends React.ElementType> = MuiLinkProps<C, {
|
|
4
|
-
component?: C;
|
|
5
|
-
}> & {
|
|
6
|
-
/**
|
|
7
|
-
* Determines whether to hide the icon.
|
|
8
|
-
*/
|
|
9
|
-
hideIcon?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Determines whether to open the link in the same tab for external links.
|
|
12
|
-
*/
|
|
13
|
-
openInSameTab?: boolean;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* ### Routing Libraries
|
|
17
|
-
* You can achieve the integration with third-party routing libraries (i.e `react-router`) with the `component` prop.
|
|
18
|
-
* You can learn more about this here: https://mui.com/guides/routing/#component-prop
|
|
19
|
-
*
|
|
20
|
-
* ```js
|
|
21
|
-
* import { Link } from '@up42/up-components'
|
|
22
|
-
* import { Link as RouterLink } from 'react-router'
|
|
23
|
-
*
|
|
24
|
-
* <Link component={RouterLink} to="/my-path">
|
|
25
|
-
* client-side navigation link.
|
|
26
|
-
* </Link>
|
|
27
|
-
```
|
|
28
|
-
*
|
|
29
|
-
* Documentation: https://up-components.up42.com/?path=/docs/navigation-link--docs
|
|
30
|
-
*/
|
|
31
|
-
export declare const Link: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements>>({ children, underline, hideIcon, openInSameTab, ...props }: LinkProps<C>) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material';
|
|
3
|
-
export type LoadingProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Controls the `height` of the component. Defaults to `100vh`
|
|
6
|
-
*/
|
|
7
|
-
fullPage?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Internal visibility control of the component
|
|
10
|
-
*/
|
|
11
|
-
visible?: boolean;
|
|
12
|
-
} & BoxProps;
|
|
13
|
-
/**
|
|
14
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-loading--docs
|
|
15
|
-
*/
|
|
16
|
-
export declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => React.JSX.Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SvgIconProps } from '@mui/material';
|
|
3
|
-
export type LogoProps = {
|
|
4
|
-
variant?: 'dark' | 'light' | 'vertical';
|
|
5
|
-
/**
|
|
6
|
-
* use isKSA to toggle between KSA and INT logo versions
|
|
7
|
-
*/
|
|
8
|
-
isKSA?: boolean;
|
|
9
|
-
size?: 'small' | 'medium' | 'large';
|
|
10
|
-
} & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox' | 'fontSize'>;
|
|
11
|
-
/**
|
|
12
|
-
* Documentation: https://up-components.up42.com/?path=/docs/data-display-logos--docs
|
|
13
|
-
*/
|
|
14
|
-
export declare function Logo({ variant, isKSA, size, sx, ...props }: LogoProps): React.JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type NotFoundProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The label of the CTA button
|
|
5
|
-
*/
|
|
6
|
-
ctaLabel?: string;
|
|
7
|
-
/**
|
|
8
|
-
* The path of the CTA button.
|
|
9
|
-
*/
|
|
10
|
-
ctaPath?: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-notfound--docs
|
|
14
|
-
*/
|
|
15
|
-
export declare const NotFound: ({ ctaLabel, ctaPath }: NotFoundProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ContainerProps } from '@mui/material';
|
|
3
|
-
export type PageContainerProps = Omit<ContainerProps, 'fixed' | 'maxWidth'> & {
|
|
4
|
-
/**
|
|
5
|
-
* The number of `columns` to use in the grid system
|
|
6
|
-
*/
|
|
7
|
-
columns?: number | 'auto';
|
|
8
|
-
/**
|
|
9
|
-
* If `true`, the container will be `fluid`, taking the full width of the screen
|
|
10
|
-
*/
|
|
11
|
-
fluid?: boolean;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Documentation: https://up-components.up42.com/?path=/docs/layout-pagecontainer--docs
|
|
15
|
-
*/
|
|
16
|
-
export declare const PageContainer: ({ children, fluid, columns, ...props }: PageContainerProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type PageHeaderProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
divider?: boolean;
|
|
5
|
-
description?: React.ReactNode;
|
|
6
|
-
/**
|
|
7
|
-
* Action button right side of header (default action)
|
|
8
|
-
*/
|
|
9
|
-
action?: React.ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Action button left side of header
|
|
12
|
-
*/
|
|
13
|
-
secondaryAction?: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Pass SetStateAction from child component to update header title
|
|
16
|
-
*/
|
|
17
|
-
onSubmitTitle?: (title: string) => void;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Documentation: https://up-components.up42.com/?path=/docs/patterns-pageheader--docs
|
|
21
|
-
* @deprecated use PageHeaderV2 instead
|
|
22
|
-
*/
|
|
23
|
-
export declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|