@mittwald/flow-react-components 0.1.0-alpha.70 → 0.1.0-alpha.72
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/package.json +40 -34
- package/dist/Action-B9PIFbjG.js +0 -164
- package/dist/Action.js +0 -7
- package/dist/Avatar.js +0 -56
- package/dist/Breadcrumb.js +0 -35
- package/dist/Button-B2GKVrxY.js +0 -102
- package/dist/Button.js +0 -7
- package/dist/ButtonGroup.js +0 -26
- package/dist/Checkbox-BoIUZoUj.js +0 -25
- package/dist/Checkbox.js +0 -7
- package/dist/CheckboxButton-BjHq5R2V.js +0 -29
- package/dist/CheckboxButton.js +0 -7
- package/dist/CheckboxGroup.js +0 -44
- package/dist/ClearPropsContext-CeCMjUK9.js +0 -11
- package/dist/ColumnLayout-FMONjI17.js +0 -22
- package/dist/ColumnLayout.js +0 -7
- package/dist/Content.js +0 -17
- package/dist/ContextMenu-BdvZvLg7.js +0 -45
- package/dist/ContextMenu.js +0 -11
- package/dist/CopyButton.js +0 -35
- package/dist/EmulatedBoldText-Dtox8Wd1.js +0 -14
- package/dist/FieldDescription.js +0 -21
- package/dist/FieldError-De8_olcs.js +0 -23
- package/dist/FieldError.js +0 -7
- package/dist/FormField.module-DHK6nIcD.js +0 -12
- package/dist/Header.js +0 -12
- package/dist/HeaderNavigation.js +0 -34
- package/dist/Heading.js +0 -28
- package/dist/Icon-DdQwrIup.js +0 -52
- package/dist/Icon.js +0 -7
- package/dist/IconCheck-bNZIdvHV.js +0 -9
- package/dist/IconCheckboxEmpty-BwNkQgcq.js +0 -10
- package/dist/IconCheckboxIndeterminate-Bs5lfqSL.js +0 -9
- package/dist/IconChevronDown-a_vSoTxH.js +0 -9
- package/dist/IconChevronRight-Bsu-sUej.js +0 -9
- package/dist/IconClose-BcM-VKmn.js +0 -9
- package/dist/IconContextMenu-bD7n5nvt.js +0 -9
- package/dist/IconCopy-D40P_nc1.js +0 -9
- package/dist/IconDanger-DjolwDVI.js +0 -9
- package/dist/IconPending-CNK3p9b6.js +0 -9
- package/dist/IconPlus-DrgRgDHV.js +0 -11
- package/dist/IconRadioOn-CLIrOyli.js +0 -10
- package/dist/IconSucceeded-BM7cipIv.js +0 -10
- package/dist/IconWarning-DJWRlfNT.js +0 -11
- package/dist/Icons.js +0 -89
- package/dist/IllustratedMessage.js +0 -42
- package/dist/Image.js +0 -17
- package/dist/Initials.js +0 -21
- package/dist/InlineAlert.js +0 -39
- package/dist/InlineCode-BV2i5uN0.js +0 -18
- package/dist/InlineCode.js +0 -7
- package/dist/Label-ulq3OJrK.js +0 -35
- package/dist/Label.js +0 -7
- package/dist/LabeledValue.js +0 -35
- package/dist/LayoutCard.js +0 -24
- package/dist/Link-C26cRsUe.js +0 -48
- package/dist/Link.js +0 -7
- package/dist/List/ListLoaderAsyncResource.js +0 -8
- package/dist/List.js +0 -710
- package/dist/LoadingSpinner-DqsZ7IDL.js +0 -17
- package/dist/LoadingSpinner.js +0 -7
- package/dist/MenuItem-DbXZNJo6.js +0 -49
- package/dist/MenuItem.js +0 -7
- package/dist/Modal.js +0 -80
- package/dist/Navigation.js +0 -45
- package/dist/NumberField.js +0 -80
- package/dist/Popover-MmxZkKu3.js +0 -15
- package/dist/Popover.js +0 -7
- package/dist/ProgressBar.js +0 -46
- package/dist/PropsContextProvider-DZvwqHLP.js +0 -64
- package/dist/RadioGroup.js +0 -87
- package/dist/Section.js +0 -38
- package/dist/Select.js +0 -81
- package/dist/StatusBadge.js +0 -27
- package/dist/StatusIcon-BTL-kqaV.js +0 -38
- package/dist/StatusIcon.js +0 -7
- package/dist/Switch.js +0 -40
- package/dist/Tabs.js +0 -45
- package/dist/Text-CBzyk1oM.js +0 -38
- package/dist/Text.js +0 -7
- package/dist/TextArea.js +0 -29
- package/dist/TextField.js +0 -28
- package/dist/TextFieldBase-DUrVCfnx.js +0 -32
- package/dist/Tooltip.js +0 -9
- package/dist/TooltipTrigger-TslkLN5s.js +0 -20
- package/dist/Wrap-DGT1h1o3.js +0 -9
- package/dist/context-BlNV7smK.js +0 -8
- package/dist/controller.js +0 -7
- package/dist/deepFindOfType-6pG0fH7S.js +0 -14
- package/dist/dynamic-ClpUSmEt.js +0 -8
- package/dist/flowComponent-BuF0s2uG.js +0 -22
- package/dist/nextjs.js +0 -12
- package/dist/propsContext-CauylOgH.js +0 -8
- package/dist/react-hook-form.js +0 -62
- package/dist/styles.css +0 -1
- package/dist/stylesInit.js +0 -6
- package/dist/types/components/Action/Action.d.ts +0 -13
- package/dist/types/components/Action/Action.test.d.ts +0 -1
- package/dist/types/components/Action/ActionState.d.ts +0 -24
- package/dist/types/components/Action/actionFactory.d.ts +0 -11
- package/dist/types/components/Action/hooks/useCallAction.d.ts +0 -12
- package/dist/types/components/Action/hooks/useMakeCallableAction.d.ts +0 -3
- package/dist/types/components/Action/index.d.ts +0 -5
- package/dist/types/components/Action/lib/callActionsInOrder.d.ts +0 -3
- package/dist/types/components/Action/stories/Default.stories.d.ts +0 -11
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Action/types.d.ts +0 -22
- package/dist/types/components/Avatar/Avatar.d.ts +0 -10
- package/dist/types/components/Avatar/index.d.ts +0 -4
- package/dist/types/components/Avatar/lib/getVariantFromChildren.d.ts +0 -3
- package/dist/types/components/Avatar/lib/getVariantFromInitials.test.d.ts +0 -1
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +0 -9
- package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +0 -10
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +0 -8
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/BreadcrumbItem.d.ts +0 -6
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/index.d.ts +0 -4
- package/dist/types/components/Breadcrumb/index.d.ts +0 -4
- package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Button/Button.d.ts +0 -17
- package/dist/types/components/Button/index.d.ts +0 -4
- package/dist/types/components/Button/stories/Default.stories.d.ts +0 -12
- package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Button/stories/States.stories.d.ts +0 -13
- package/dist/types/components/Button/stories/Variants.stories.d.ts +0 -18
- package/dist/types/components/Button/stories/lib.d.ts +0 -5
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +0 -7
- package/dist/types/components/ButtonGroup/index.d.ts +0 -4
- package/dist/types/components/ButtonGroup/stories/Default.stories.d.ts +0 -11
- package/dist/types/components/Checkbox/Checkbox.d.ts +0 -8
- package/dist/types/components/Checkbox/index.d.ts +0 -4
- package/dist/types/components/Checkbox/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/CheckboxButton/CheckboxButton.d.ts +0 -8
- package/dist/types/components/CheckboxButton/index.d.ts +0 -4
- package/dist/types/components/CheckboxButton/stories/Default.stories.d.ts +0 -11
- package/dist/types/components/CheckboxButton/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +0 -9
- package/dist/types/components/CheckboxGroup/index.d.ts +0 -4
- package/dist/types/components/CheckboxGroup/stories/Default.stories.d.ts +0 -11
- package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +0 -10
- package/dist/types/components/ColumnLayout/index.d.ts +0 -4
- package/dist/types/components/ColumnLayout/lib/getColumns.d.ts +0 -1
- package/dist/types/components/ColumnLayout/lib/getColumns.test.d.ts +0 -1
- package/dist/types/components/ColumnLayout/stories/Default.stories.d.ts +0 -9
- package/dist/types/components/Content/Content.d.ts +0 -8
- package/dist/types/components/Content/index.d.ts +0 -4
- package/dist/types/components/Content/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +0 -11
- package/dist/types/components/ContextMenu/index.d.ts +0 -6
- package/dist/types/components/ContextMenu/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/ContextMenu/stories/EdgeCases.stories.d.ts +0 -8
- package/dist/types/components/CopyButton/CopyButton.d.ts +0 -9
- package/dist/types/components/CopyButton/index.d.ts +0 -4
- package/dist/types/components/CopyButton/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +0 -6
- package/dist/types/components/EmulatedBoldText/index.d.ts +0 -4
- package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/FieldDescription/FieldDescription.d.ts +0 -8
- package/dist/types/components/FieldDescription/index.d.ts +0 -4
- package/dist/types/components/FieldError/FieldError.d.ts +0 -8
- package/dist/types/components/FieldError/index.d.ts +0 -4
- package/dist/types/components/Header/Header.d.ts +0 -8
- package/dist/types/components/Header/index.d.ts +0 -4
- package/dist/types/components/Header/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +0 -7
- package/dist/types/components/HeaderNavigation/index.d.ts +0 -4
- package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/Heading/Heading.d.ts +0 -8
- package/dist/types/components/Heading/index.d.ts +0 -4
- package/dist/types/components/Heading/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Heading/stories/Levels.stories.d.ts +0 -12
- package/dist/types/components/Icon/Icon.d.ts +0 -10
- package/dist/types/components/Icon/components/icons/IconApp.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconBackup.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCheck.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCheckboxChecked.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCheckboxEmpty.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCheckboxIndeterminate.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconClose.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCode.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconContextMenu.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCopy.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDanger.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDate.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDelete.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconDomain.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconEmail.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconFailed.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconFilter.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconHide.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconHome.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconInfo.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconListView.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconLogout.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconMember.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconMinus.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconMittwald.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconNotification.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconPending.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconPlus.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconProject.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconRadioOff.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconRadioOn.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconRandom.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSearch.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconServer.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSettings.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconShow.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSorting.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconSupport.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconTileView.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconTime.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/IconWarning.d.ts +0 -5
- package/dist/types/components/Icon/components/icons/index.d.ts +0 -57
- package/dist/types/components/Icon/index.d.ts +0 -4
- package/dist/types/components/Icon/lib/extractSvgFromString.d.ts +0 -3
- package/dist/types/components/Icon/lib/extractSvgFromString.test.d.ts +0 -1
- package/dist/types/components/Icon/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/Icon/stories/Sizes.stories.d.ts +0 -9
- package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts +0 -7
- package/dist/types/components/IllustratedMessage/index.d.ts +0 -4
- package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +0 -8
- package/dist/types/components/Image/Image.d.ts +0 -7
- package/dist/types/components/Image/index.d.ts +0 -4
- package/dist/types/components/Image/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/Initials/Initials.d.ts +0 -8
- package/dist/types/components/Initials/index.d.ts +0 -4
- package/dist/types/components/Initials/lib/getInitialsFromString.d.ts +0 -1
- package/dist/types/components/Initials/lib/getInitialsFromString.test.d.ts +0 -1
- package/dist/types/components/Initials/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +0 -8
- package/dist/types/components/InlineAlert/index.d.ts +0 -4
- package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +0 -10
- package/dist/types/components/InlineCode/InlineCode.d.ts +0 -6
- package/dist/types/components/InlineCode/index.d.ts +0 -4
- package/dist/types/components/InlineCode/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Label/Label.d.ts +0 -9
- package/dist/types/components/Label/index.d.ts +0 -4
- package/dist/types/components/Label/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/LabeledValue/LabeledValue.d.ts +0 -7
- package/dist/types/components/LabeledValue/index.d.ts +0 -4
- package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +0 -8
- package/dist/types/components/LayoutCard/LayoutCard.d.ts +0 -8
- package/dist/types/components/LayoutCard/index.d.ts +0 -4
- package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/Link/Link.d.ts +0 -12
- package/dist/types/components/Link/context.d.ts +0 -8
- package/dist/types/components/Link/index.d.ts +0 -4
- package/dist/types/components/Link/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/Link/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/List/List.d.ts +0 -7
- package/dist/types/components/List/List.test.d.ts +0 -1
- package/dist/types/components/List/components/DataLoader/DataLoader.d.ts +0 -4
- package/dist/types/components/List/components/DataLoader/index.d.ts +0 -4
- package/dist/types/components/List/components/Footer/Footer/Footer.d.ts +0 -4
- package/dist/types/components/List/components/Footer/Footer/index.d.ts +0 -4
- package/dist/types/components/List/components/Footer/PaginationInfos/PaginationInfos.d.ts +0 -5
- package/dist/types/components/List/components/Footer/PaginationInfos/index.d.ts +0 -4
- package/dist/types/components/List/components/Footer/ShowNextBatchButton/ShowNextBatchButton.d.ts +0 -5
- package/dist/types/components/List/components/Footer/ShowNextBatchButton/index.d.ts +0 -4
- package/dist/types/components/List/components/Header/ActiveFilters/ActiveFilters.d.ts +0 -4
- package/dist/types/components/List/components/Header/ActiveFilters/index.d.ts +0 -4
- package/dist/types/components/List/components/Header/FilterPicker/FilterPicker.d.ts +0 -9
- package/dist/types/components/List/components/Header/FilterPicker/index.d.ts +0 -4
- package/dist/types/components/List/components/Header/Header/Header.d.ts +0 -7
- package/dist/types/components/List/components/Header/Header/index.d.ts +0 -4
- package/dist/types/components/List/components/Header/ListFilter.d.ts +0 -6
- package/dist/types/components/List/components/Header/ListSorting.d.ts +0 -7
- package/dist/types/components/List/components/Header/SortingPicker/SortingPicker.d.ts +0 -3
- package/dist/types/components/List/components/Header/SortingPicker/index.d.ts +0 -4
- package/dist/types/components/List/components/Header/SortingPickerItem/SortingPickerItem.d.ts +0 -9
- package/dist/types/components/List/components/Header/SortingPickerItem/index.d.ts +0 -4
- package/dist/types/components/List/components/Items/Item/FallbackRenderer.d.ts +0 -8
- package/dist/types/components/List/components/Items/Item/Item.d.ts +0 -6
- package/dist/types/components/List/components/Items/Item/index.d.ts +0 -5
- package/dist/types/components/List/components/Items/ItemList/ItemList.d.ts +0 -7
- package/dist/types/components/List/components/Items/ItemList/index.d.ts +0 -4
- package/dist/types/components/List/components/Items/ListItemView.d.ts +0 -7
- package/dist/types/components/List/components/Items/OptionsButton/OptionsButton.d.ts +0 -7
- package/dist/types/components/List/components/Items/OptionsButton/index.d.ts +0 -4
- package/dist/types/components/List/components/ListLoaderAsync.d.ts +0 -7
- package/dist/types/components/List/components/ListLoaderAsyncResource.d.ts +0 -7
- package/dist/types/components/List/components/ListStaticData.d.ts +0 -5
- package/dist/types/components/List/hooks/useList.d.ts +0 -1
- package/dist/types/components/List/index.d.ts +0 -9
- package/dist/types/components/List/listContext.d.ts +0 -8
- package/dist/types/components/List/model/List.d.ts +0 -25
- package/dist/types/components/List/model/ReactTable.d.ts +0 -18
- package/dist/types/components/List/model/filter/Filter.d.ts +0 -31
- package/dist/types/components/List/model/filter/types.d.ts +0 -11
- package/dist/types/components/List/model/item/Item.d.ts +0 -15
- package/dist/types/components/List/model/item/ItemCollection.d.ts +0 -9
- package/dist/types/components/List/model/item/types.d.ts +0 -5
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts +0 -21
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +0 -20
- package/dist/types/components/List/model/loading/types.d.ts +0 -44
- package/dist/types/components/List/model/pagination/BatchesController.d.ts +0 -17
- package/dist/types/components/List/model/pagination/types.d.ts +0 -3
- package/dist/types/components/List/model/sorting/Sorting.d.ts +0 -18
- package/dist/types/components/List/model/sorting/types.d.ts +0 -9
- package/dist/types/components/List/model/types.d.ts +0 -14
- package/dist/types/components/List/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/List/stories/ListItem.stories.d.ts +0 -10
- package/dist/types/components/List/testData/domainApi.d.ts +0 -25
- package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts +0 -5
- package/dist/types/components/LoadingSpinner/index.d.ts +0 -4
- package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/MenuItem/MenuItem.d.ts +0 -9
- package/dist/types/components/MenuItem/MenuItemContent.d.ts +0 -8
- package/dist/types/components/MenuItem/index.d.ts +0 -4
- package/dist/types/components/Modal/Modal.d.ts +0 -12
- package/dist/types/components/Modal/hooks/useSyncTriggerState.d.ts +0 -3
- package/dist/types/components/Modal/index.d.ts +0 -5
- package/dist/types/components/Modal/stories/Default.stories.d.ts +0 -11
- package/dist/types/components/Modal/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Navigation/Navigation.d.ts +0 -7
- package/dist/types/components/Navigation/components/NavigationGroup/NavigationGroup.d.ts +0 -6
- package/dist/types/components/Navigation/components/NavigationGroup/index.d.ts +0 -4
- package/dist/types/components/Navigation/index.d.ts +0 -5
- package/dist/types/components/Navigation/stories/Default.stories.d.ts +0 -9
- package/dist/types/components/NumberField/NumberField.d.ts +0 -8
- package/dist/types/components/NumberField/index.d.ts +0 -4
- package/dist/types/components/NumberField/stories/Default.stories.d.ts +0 -13
- package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +0 -8
- package/dist/types/components/Popover/Popover.d.ts +0 -7
- package/dist/types/components/Popover/index.d.ts +0 -4
- package/dist/types/components/Popover/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +0 -10
- package/dist/types/components/ProgressBar/index.d.ts +0 -4
- package/dist/types/components/ProgressBar/stories/Default.stories.d.ts +0 -9
- package/dist/types/components/ProgressBar/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/ProgressBar/stories/Variants.stories.d.ts +0 -10
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +0 -10
- package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +0 -8
- package/dist/types/components/RadioGroup/components/Radio/index.d.ts +0 -4
- package/dist/types/components/RadioGroup/components/RadioButton/RadioButton.d.ts +0 -8
- package/dist/types/components/RadioGroup/components/RadioButton/index.d.ts +0 -4
- package/dist/types/components/RadioGroup/index.d.ts +0 -6
- package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +0 -15
- package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +0 -9
- package/dist/types/components/Section/Section.d.ts +0 -6
- package/dist/types/components/Section/index.d.ts +0 -4
- package/dist/types/components/Section/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/Section/stories/EdgeCases.stories.d.ts +0 -8
- package/dist/types/components/Select/Select.d.ts +0 -12
- package/dist/types/components/Select/components/Option/Option.d.ts +0 -9
- package/dist/types/components/Select/components/Option/index.d.ts +0 -4
- package/dist/types/components/Select/components/Options/Options.d.ts +0 -8
- package/dist/types/components/Select/components/Options/index.d.ts +0 -4
- package/dist/types/components/Select/index.d.ts +0 -5
- package/dist/types/components/Select/stories/Default.stories.d.ts +0 -12
- package/dist/types/components/Select/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/StatusBadge/StatusBadge.d.ts +0 -9
- package/dist/types/components/StatusBadge/index.d.ts +0 -4
- package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +0 -10
- package/dist/types/components/StatusIcon/StatusIcon.d.ts +0 -8
- package/dist/types/components/StatusIcon/index.d.ts +0 -4
- package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +0 -10
- package/dist/types/components/Switch/Switch.d.ts +0 -10
- package/dist/types/components/Switch/index.d.ts +0 -4
- package/dist/types/components/Switch/stories/Default.stories.d.ts +0 -9
- package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Tabs/Tabs.d.ts +0 -8
- package/dist/types/components/Tabs/components/Tab/Tab.d.ts +0 -7
- package/dist/types/components/Tabs/components/Tab/context.d.ts +0 -7
- package/dist/types/components/Tabs/components/Tab/index.d.ts +0 -4
- package/dist/types/components/Tabs/components/TabTitle/TabTitle.d.ts +0 -7
- package/dist/types/components/Tabs/components/TabTitle/index.d.ts +0 -4
- package/dist/types/components/Tabs/index.d.ts +0 -3
- package/dist/types/components/Tabs/stories/Default.stories.d.ts +0 -8
- package/dist/types/components/Text/Text.d.ts +0 -10
- package/dist/types/components/Text/index.d.ts +0 -4
- package/dist/types/components/Text/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/TextArea/TextArea.d.ts +0 -9
- package/dist/types/components/TextArea/index.d.ts +0 -4
- package/dist/types/components/TextArea/stories/Default.stories.d.ts +0 -13
- package/dist/types/components/TextField/TextField.d.ts +0 -9
- package/dist/types/components/TextField/index.d.ts +0 -4
- package/dist/types/components/TextField/stories/Default.stories.d.ts +0 -14
- package/dist/types/components/TextFieldBase/TextFieldBase.d.ts +0 -8
- package/dist/types/components/TextFieldBase/index.d.ts +0 -4
- package/dist/types/components/Tooltip/Tooltip.d.ts +0 -6
- package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +0 -6
- package/dist/types/components/Tooltip/components/TooltipTrigger/index.d.ts +0 -4
- package/dist/types/components/Tooltip/index.d.ts +0 -5
- package/dist/types/components/Tooltip/stories/Default.stories.d.ts +0 -7
- package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +0 -7
- package/dist/types/components/Wrap/Wrap.d.ts +0 -6
- package/dist/types/components/Wrap/index.d.ts +0 -4
- package/dist/types/components/propTypes/index.d.ts +0 -69
- package/dist/types/components/propTypes/types.d.ts +0 -6
- package/dist/types/integrations/nextjs/components/Link/Link.d.ts +0 -3
- package/dist/types/integrations/nextjs/components/Link/index.d.ts +0 -4
- package/dist/types/integrations/nextjs/components/LinkProvider/LinkProvider.d.ts +0 -4
- package/dist/types/integrations/nextjs/components/LinkProvider/index.d.ts +0 -4
- package/dist/types/integrations/nextjs/index.d.ts +0 -2
- package/dist/types/integrations/react-hook-form/components/Controller/Controller.d.ts +0 -8
- package/dist/types/integrations/react-hook-form/components/Controller/index.d.ts +0 -4
- package/dist/types/integrations/react-hook-form/components/Controller/stories/Default.stories.d.ts +0 -7
- package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts +0 -8
- package/dist/types/integrations/react-hook-form/components/Form/index.d.ts +0 -4
- package/dist/types/integrations/react-hook-form/components/context/formContext.d.ts +0 -10
- package/dist/types/integrations/react-hook-form/index.d.ts +0 -2
- package/dist/types/lib/childProps/ChildPropsContextProvider.d.ts +0 -9
- package/dist/types/lib/childProps/ChildPropsStore.d.ts +0 -14
- package/dist/types/lib/childProps/context.d.ts +0 -5
- package/dist/types/lib/childProps/index.d.ts +0 -2
- package/dist/types/lib/childProps/useSetChildProps.d.ts +0 -3
- package/dist/types/lib/componentFactory/flowComponent.d.ts +0 -11
- package/dist/types/lib/controller/index.d.ts +0 -1
- package/dist/types/lib/controller/overlay/OverlayState.d.ts +0 -10
- package/dist/types/lib/controller/overlay/context.d.ts +0 -4
- package/dist/types/lib/controller/overlay/index.d.ts +0 -2
- package/dist/types/lib/controller/overlay/useOverlayState.d.ts +0 -8
- package/dist/types/lib/dev/dummyText.d.ts +0 -6
- package/dist/types/lib/dev/vitestUserEvent.d.ts +0 -2
- package/dist/types/lib/mobx/useAutorunEffect.d.ts +0 -1
- package/dist/types/lib/mobx/useSelector.d.ts +0 -4
- package/dist/types/lib/propsContext/ClearPropsContext.d.ts +0 -6
- package/dist/types/lib/propsContext/ClearPropsContext.test.d.ts +0 -1
- package/dist/types/lib/propsContext/PropsContextProvider.d.ts +0 -10
- package/dist/types/lib/propsContext/dynamicProps/dynamic.d.ts +0 -4
- package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +0 -5
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +0 -5
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.test.d.ts +0 -1
- package/dist/types/lib/propsContext/dynamicProps/types.d.ts +0 -5
- package/dist/types/lib/propsContext/index.d.ts +0 -7
- package/dist/types/lib/propsContext/isFlowComponentName.d.ts +0 -3
- package/dist/types/lib/propsContext/isFlowComponentProp.d.ts +0 -3
- package/dist/types/lib/propsContext/mergePropsContext.d.ts +0 -4
- package/dist/types/lib/propsContext/mergePropsContext.test.d.ts +0 -1
- package/dist/types/lib/propsContext/nestedPropsContext/isPropsWithChildren.d.ts +0 -3
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.d.ts +0 -3
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.test.d.ts +0 -1
- package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts +0 -6
- package/dist/types/lib/propsContext/propsContext.d.ts +0 -40
- package/dist/types/lib/propsContext/types.d.ts +0 -10
- package/dist/types/lib/propsContext/useProps.d.ts +0 -4
- package/dist/types/lib/propsContext/useProps.test.d.ts +0 -1
- package/dist/types/lib/react/components/Empty/Empty.d.ts +0 -4
- package/dist/types/lib/react/components/Empty/index.d.ts +0 -4
- package/dist/types/lib/react/components/Render/Render.d.ts +0 -5
- package/dist/types/lib/react/components/Render/Render.test.d.ts +0 -1
- package/dist/types/lib/react/components/Render/index.d.ts +0 -1
- package/dist/types/lib/react/components/Translate/Translate.d.ts +0 -10
- package/dist/types/lib/react/components/Translate/index.d.ts +0 -4
- package/dist/types/lib/react/deepFindOfType.d.ts +0 -4
- package/dist/types/lib/react/deepFindOfType.test.d.ts +0 -1
- package/dist/types/lib/react/deepHas.d.ts +0 -3
- package/dist/types/lib/react/getPropsMerger.d.ts +0 -8
- package/dist/types/lib/types/props.d.ts +0 -16
- package/dist/types/lib/types/props.test-types.d.ts +0 -1
- package/dist/types/styles/index.d.ts +0 -3
- package/dist/useOverlayState-BnPe_CrX.js +0 -47
- package/dist/useProps-Dx3m8kCJ.js +0 -89
- package/dist/useSelector-DpU7_HMO.js +0 -13
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IncrementalLoader } from './loading/IncrementalLoader';
|
|
2
|
-
import { ListShape } from './types';
|
|
3
|
-
import { default as ReactTable } from './ReactTable';
|
|
4
|
-
import { Sorting } from './sorting/Sorting';
|
|
5
|
-
import { Filter } from './filter/Filter';
|
|
6
|
-
import { PropertyName, RenderItemFn } from './item/Item';
|
|
7
|
-
import { BatchesController } from './pagination/BatchesController';
|
|
8
|
-
import { ItemCollection } from './item/ItemCollection';
|
|
9
|
-
|
|
10
|
-
export declare class List<T> {
|
|
11
|
-
readonly filters: Array<Filter<T>>;
|
|
12
|
-
readonly sorting: Array<Sorting<T>>;
|
|
13
|
-
readonly items: ItemCollection<T>;
|
|
14
|
-
readonly render?: RenderItemFn<T>;
|
|
15
|
-
readonly reactTable: ReactTable<T>;
|
|
16
|
-
readonly batches: BatchesController<T>;
|
|
17
|
-
readonly loader: IncrementalLoader<T>;
|
|
18
|
-
private constructor();
|
|
19
|
-
static useNew<T>(shape: ListShape<T>): List<T>;
|
|
20
|
-
isFiltered(): boolean;
|
|
21
|
-
getSorting(property: PropertyName<T>): Sorting<T>;
|
|
22
|
-
clearSorting(): void;
|
|
23
|
-
clearFilters(): void;
|
|
24
|
-
}
|
|
25
|
-
export default List;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PropertyName } from './item/Item';
|
|
2
|
-
import { default as List } from './List';
|
|
3
|
-
import { Column, Table, TableOptions } from '@tanstack/react-table';
|
|
4
|
-
|
|
5
|
-
export declare class ReactTable<T> {
|
|
6
|
-
readonly list: List<T>;
|
|
7
|
-
readonly table: Table<T>;
|
|
8
|
-
private readonly tableState;
|
|
9
|
-
private constructor();
|
|
10
|
-
static useNew<T>(list: List<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
|
|
11
|
-
private useReactTable;
|
|
12
|
-
private useUpdateTableState;
|
|
13
|
-
private onTableStateChange;
|
|
14
|
-
private getUpdatedTableState;
|
|
15
|
-
getTableColumn(property: PropertyName<T>): Column<T>;
|
|
16
|
-
private getTableColumnDefs;
|
|
17
|
-
}
|
|
18
|
-
export default ReactTable;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FilterMatcher, FilterMode, FilterShape } from './types';
|
|
2
|
-
import { PropertyName } from '../item/Item';
|
|
3
|
-
import { default as List } from '../List';
|
|
4
|
-
import { Column, ColumnDef, ColumnFilter } from '@tanstack/react-table';
|
|
5
|
-
|
|
6
|
-
export declare class Filter<T> {
|
|
7
|
-
private readonly _values?;
|
|
8
|
-
readonly list: List<T>;
|
|
9
|
-
readonly property: PropertyName<T>;
|
|
10
|
-
readonly mode: FilterMode;
|
|
11
|
-
readonly matcher: FilterMatcher;
|
|
12
|
-
readonly name?: string;
|
|
13
|
-
private onFilterUpdateCallbacks;
|
|
14
|
-
constructor(list: List<T>, shape: FilterShape<T>);
|
|
15
|
-
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
16
|
-
private getReactTableFilterFn;
|
|
17
|
-
private checkFilterMatches;
|
|
18
|
-
protected getTableColumnFilter(): ColumnFilter | undefined;
|
|
19
|
-
protected getTableColumn(): Column<T>;
|
|
20
|
-
getValue(): unknown;
|
|
21
|
-
getValueId(value: unknown): string;
|
|
22
|
-
get values(): unknown[];
|
|
23
|
-
getArrayValue(): Array<unknown>;
|
|
24
|
-
isValueActive(value: unknown): boolean;
|
|
25
|
-
isActive(): boolean;
|
|
26
|
-
activateValue(newValue: unknown): void;
|
|
27
|
-
deactivateValue(newValue: unknown): void;
|
|
28
|
-
clearValues(): void;
|
|
29
|
-
toggleValue(newValue: unknown): void;
|
|
30
|
-
onFilterUpdated(cb: () => unknown): void;
|
|
31
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PropertyName } from '../item/Item';
|
|
2
|
-
|
|
3
|
-
export type FilterMode = "all" | "some" | "one";
|
|
4
|
-
export type FilterMatcher = (filterValue: unknown, property: unknown) => boolean;
|
|
5
|
-
export interface FilterShape<T> {
|
|
6
|
-
property: PropertyName<T>;
|
|
7
|
-
mode?: FilterMode;
|
|
8
|
-
matcher?: FilterMatcher;
|
|
9
|
-
values?: unknown[];
|
|
10
|
-
name?: string;
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DeepKeys, Row } from '@tanstack/react-table';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { ItemCollection } from './ItemCollection';
|
|
4
|
-
|
|
5
|
-
export type PropertyName<T> = DeepKeys<T>;
|
|
6
|
-
export type RenderItemFn<T> = (data: T) => ReactNode;
|
|
7
|
-
export declare class Item<T> {
|
|
8
|
-
readonly id: string;
|
|
9
|
-
readonly data: T;
|
|
10
|
-
readonly collection: ItemCollection<T>;
|
|
11
|
-
constructor(collection: ItemCollection<T>, id: string, data: T);
|
|
12
|
-
render(): ReactNode;
|
|
13
|
-
static fromRow<T>(collection: ItemCollection<T>, row: Row<T>): Item<T>;
|
|
14
|
-
private static fallbackRenderItemFn;
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IncrementalLoaderState } from './IncrementalLoaderState';
|
|
2
|
-
import { IncrementalLoaderShape } from './types';
|
|
3
|
-
import { default as List } from '../List';
|
|
4
|
-
|
|
5
|
-
export declare class IncrementalLoader<T> {
|
|
6
|
-
private readonly list;
|
|
7
|
-
private readonly dataSource;
|
|
8
|
-
readonly manualSorting: boolean;
|
|
9
|
-
readonly manualFiltering: boolean;
|
|
10
|
-
readonly manualPagination: boolean;
|
|
11
|
-
readonly loaderState: IncrementalLoaderState<T>;
|
|
12
|
-
private constructor();
|
|
13
|
-
static useNew<T>(list: List<T>, shape?: IncrementalLoaderShape<T>): IncrementalLoader<T>;
|
|
14
|
-
private reset;
|
|
15
|
-
useIsLoading(): boolean;
|
|
16
|
-
useData(): T[];
|
|
17
|
-
getLoaderInvocationHooks(): Array<() => void>;
|
|
18
|
-
private useLoadBatch;
|
|
19
|
-
private getDataLoaderOptions;
|
|
20
|
-
private getBatchDataAsyncResource;
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
2
|
-
|
|
3
|
-
type AsyncResourceLoadingState = AsyncResource["state"]["value"];
|
|
4
|
-
type DataBatches<T> = Array<T[]>;
|
|
5
|
-
type BatchesLoadingState = AsyncResourceLoadingState[];
|
|
6
|
-
export declare class IncrementalLoaderState<T> {
|
|
7
|
-
dataBatches: DataBatches<T>;
|
|
8
|
-
prevDataBatches: DataBatches<T>;
|
|
9
|
-
batchLoadingStates: BatchesLoadingState;
|
|
10
|
-
private constructor();
|
|
11
|
-
static useNew<T>(): IncrementalLoaderState<T>;
|
|
12
|
-
reset(): void;
|
|
13
|
-
setDataBatch(index: number, data: T[]): void;
|
|
14
|
-
setBatchLoadingState(index: number, state: AsyncResourceLoadingState): void;
|
|
15
|
-
get mergedData(): T[];
|
|
16
|
-
useMergedData(): T[];
|
|
17
|
-
get isLoading(): boolean;
|
|
18
|
-
useIsLoading(): boolean;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
2
|
-
import { FilterMode } from '../filter/types';
|
|
3
|
-
import { PropertyRecord } from '../types';
|
|
4
|
-
|
|
5
|
-
type DataLoaderSortOptions<T> = PropertyRecord<T, "asc" | "desc">;
|
|
6
|
-
type DataLoaderFilterOptions<T> = PropertyRecord<T, {
|
|
7
|
-
mode: FilterMode;
|
|
8
|
-
values: unknown[];
|
|
9
|
-
}>;
|
|
10
|
-
interface DataLoaderPaginationOptions {
|
|
11
|
-
offset: number;
|
|
12
|
-
limit: number;
|
|
13
|
-
}
|
|
14
|
-
export interface DataLoaderOptions<T> {
|
|
15
|
-
sorting?: DataLoaderSortOptions<T>;
|
|
16
|
-
filtering?: DataLoaderFilterOptions<T>;
|
|
17
|
-
pagination?: DataLoaderPaginationOptions;
|
|
18
|
-
}
|
|
19
|
-
export type DataLoaderResult<T> = {
|
|
20
|
-
data: T[];
|
|
21
|
-
itemTotalCount?: number;
|
|
22
|
-
};
|
|
23
|
-
export type AsyncDataLoader<T> = (options?: DataLoaderOptions<T>) => Promise<DataLoaderResult<T>>;
|
|
24
|
-
type AsyncResourceFactory<T> = (options?: DataLoaderOptions<T>) => AsyncResource<DataLoaderResult<T>>;
|
|
25
|
-
type StaticData<T> = T[];
|
|
26
|
-
interface DynamicLoaderShape {
|
|
27
|
-
manualSorting?: boolean;
|
|
28
|
-
manualFiltering?: boolean;
|
|
29
|
-
manualPagination?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export interface StaticDataLoaderShape<T> {
|
|
32
|
-
staticData: StaticData<T>;
|
|
33
|
-
}
|
|
34
|
-
export type AsyncResourceFactoryDataLoaderShape<T> = {
|
|
35
|
-
asyncResourceFactory: AsyncResourceFactory<T>;
|
|
36
|
-
} & DynamicLoaderShape;
|
|
37
|
-
export type AsyncDataLoaderShape<T> = {
|
|
38
|
-
asyncLoader: AsyncDataLoader<T>;
|
|
39
|
-
} & DynamicLoaderShape;
|
|
40
|
-
export type DataSource<T> = StaticDataLoaderShape<T> | AsyncResourceFactoryDataLoaderShape<T> | AsyncDataLoaderShape<T>;
|
|
41
|
-
export interface IncrementalLoaderShape<T> {
|
|
42
|
-
source?: DataSource<T>;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BatchesControllerShape } from './types';
|
|
2
|
-
import { default as List } from '../List';
|
|
3
|
-
|
|
4
|
-
export declare class BatchesController<T> {
|
|
5
|
-
readonly batchSize: number;
|
|
6
|
-
private readonly list;
|
|
7
|
-
constructor(list: List<T>, shape?: BatchesControllerShape);
|
|
8
|
-
private get reactTable();
|
|
9
|
-
getBatchIndex(): number;
|
|
10
|
-
hasNextBatch(): boolean;
|
|
11
|
-
getTotalItemsCount(): number | undefined;
|
|
12
|
-
getFilteredItemsCount(): number;
|
|
13
|
-
getVisibleItemsCount(): number | undefined;
|
|
14
|
-
updateItemTotalCount(value: number): void;
|
|
15
|
-
reset(): void;
|
|
16
|
-
nextBatch(): void;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SortingShape } from './types';
|
|
2
|
-
import { PropertyName } from '../item/Item';
|
|
3
|
-
import { default as List } from '../List';
|
|
4
|
-
import { Column, ColumnDef, SortDirection } from '@tanstack/react-table';
|
|
5
|
-
|
|
6
|
-
export declare class Sorting<T> {
|
|
7
|
-
readonly list: List<T>;
|
|
8
|
-
readonly property: PropertyName<T>;
|
|
9
|
-
readonly name?: string;
|
|
10
|
-
readonly direction: SortDirection;
|
|
11
|
-
readonly defaultEnabled: boolean;
|
|
12
|
-
constructor(list: List<T>, shape: SortingShape<T>);
|
|
13
|
-
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
14
|
-
isSorted(): boolean;
|
|
15
|
-
getTableColumn(): Column<T>;
|
|
16
|
-
enable(): void;
|
|
17
|
-
clear(): void;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IncrementalLoaderShape } from './loading/types';
|
|
2
|
-
import { FilterShape } from './filter/types';
|
|
3
|
-
import { BatchesControllerShape } from './pagination/types';
|
|
4
|
-
import { SortingShape } from './sorting/types';
|
|
5
|
-
import { PropertyName, RenderItemFn } from './item/Item';
|
|
6
|
-
|
|
7
|
-
export interface ListShape<T> {
|
|
8
|
-
loader?: IncrementalLoaderShape<T>;
|
|
9
|
-
render?: RenderItemFn<T>;
|
|
10
|
-
filters?: FilterShape<T>[];
|
|
11
|
-
sorting?: SortingShape<T>[];
|
|
12
|
-
batchesController?: BatchesControllerShape;
|
|
13
|
-
}
|
|
14
|
-
export type PropertyRecord<T, TValue> = Partial<Record<PropertyName<T>, TValue>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as List } from '../List';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof List>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof List>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const ItemsWithLink: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as List } from '../List';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof List>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof List>;
|
|
7
|
-
export declare const WithoutAvatar: Story;
|
|
8
|
-
export declare const WithoutSubtitle: Story;
|
|
9
|
-
export declare const WithoutContent: Story;
|
|
10
|
-
export declare const WithoutContextMenu: Story;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type Domain = {
|
|
2
|
-
hostname: string;
|
|
3
|
-
domain: string;
|
|
4
|
-
type: "Subdomain" | "Domain";
|
|
5
|
-
verified: boolean;
|
|
6
|
-
tld: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const getTypes: () => Promise<("Subdomain" | "Domain")[]>;
|
|
9
|
-
interface Request {
|
|
10
|
-
pagination?: {
|
|
11
|
-
limit: number;
|
|
12
|
-
skip: number;
|
|
13
|
-
};
|
|
14
|
-
filter?: {
|
|
15
|
-
types?: string[];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
interface Response {
|
|
19
|
-
data: Domain[];
|
|
20
|
-
totalCount: number;
|
|
21
|
-
}
|
|
22
|
-
export declare const getDomains: (req: Request) => Promise<Response>;
|
|
23
|
-
export declare const domains: Domain[];
|
|
24
|
-
export declare const types: ("Subdomain" | "Domain")[];
|
|
25
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as LoadingSpinner } from '../LoadingSpinner';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof LoadingSpinner>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof LoadingSpinner>;
|
|
7
|
-
export declare const Default: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
import * as Aria from "react-aria-components";
|
|
5
|
-
export interface MenuItemProps extends Omit<Aria.MenuItemProps, "children">, PropsWithChildren, FlowComponentProps<"MenuItem"> {
|
|
6
|
-
selectionVariant?: "control" | "navigation";
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuItem: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<never>>;
|
|
9
|
-
export default MenuItem;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
import type * as Aria from "react-aria-components";
|
|
4
|
-
interface Props extends Aria.MenuItemRenderProps, PropsWithChildren {
|
|
5
|
-
selectionVariant?: "control" | "navigation";
|
|
6
|
-
}
|
|
7
|
-
export declare const MenuItemContent: FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OverlayState } from '../../lib/controller/overlay';
|
|
2
|
-
import { FC, PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface ModalProps extends PropsWithChildren {
|
|
5
|
-
/** @default "s" */
|
|
6
|
-
size?: "s" | "m" | "l";
|
|
7
|
-
offCanvas?: boolean;
|
|
8
|
-
state?: OverlayState;
|
|
9
|
-
defaultOpen?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const Modal: FC<ModalProps>;
|
|
12
|
-
export default Modal;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as Modal } from '..';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof Modal>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof Modal>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithController: Story;
|
|
9
|
-
export declare const WithDialogTrigger: Story;
|
|
10
|
-
export declare const Mobile: Story;
|
|
11
|
-
export declare const OffCanvas: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Navigation } from '..';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof Navigation>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof Navigation>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithIcons: Story;
|
|
9
|
-
export declare const WithGroups: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
import * as Aria from "react-aria-components";
|
|
5
|
-
export interface NumberFieldProps extends PropsWithChildren<Omit<Aria.NumberFieldProps, "children">>, FlowComponentProps {
|
|
6
|
-
}
|
|
7
|
-
export declare const NumberField: React.ForwardRefExoticComponent<NumberFieldProps & React.RefAttributes<never>>;
|
|
8
|
-
export default NumberField;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NumberField } from '../index';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof NumberField>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof NumberField>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
9
|
-
export declare const Required: Story;
|
|
10
|
-
export declare const WithFieldDescription: Story;
|
|
11
|
-
export declare const WithDefaultValue: Story;
|
|
12
|
-
export declare const WithFieldError: Story;
|
|
13
|
-
export declare const WithUnit: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NumberField } from '../index';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof NumberField>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof NumberField>;
|
|
7
|
-
export declare const WithDisabledDecrement: Story;
|
|
8
|
-
export declare const WithDisabledIncrement: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
import * as Aria from "react-aria-components";
|
|
4
|
-
export interface PopoverProps extends PropsWithChildren<Omit<Aria.PopoverProps, "children">> {
|
|
5
|
-
}
|
|
6
|
-
export declare const Popover: FC<PopoverProps>;
|
|
7
|
-
export default Popover;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PropsWithStatus } from '../../lib/types/props';
|
|
2
|
-
import { FC, PropsWithChildren } from 'react';
|
|
3
|
-
import * as Aria from "react-aria-components";
|
|
4
|
-
export interface ProgressBarProps extends PropsWithChildren<Omit<Aria.ProgressBarProps, "children">>, PropsWithStatus {
|
|
5
|
-
showMaxValue?: boolean;
|
|
6
|
-
/** @default "m" */
|
|
7
|
-
size?: "s" | "m";
|
|
8
|
-
}
|
|
9
|
-
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
10
|
-
export default ProgressBar;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ProgressBar } from '../index';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof ProgressBar>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof ProgressBar>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithMaxValue: Story;
|
|
9
|
-
export declare const Small: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as ProgressBar } from '../ProgressBar';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
declare const meta: Meta<typeof ProgressBar>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof ProgressBar>;
|
|
7
|
-
export declare const Info: Story;
|
|
8
|
-
export declare const Success: Story;
|
|
9
|
-
export declare const Warning: Story;
|
|
10
|
-
export declare const Danger: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { ColumnLayoutProps } from '../ColumnLayout';
|
|
3
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
4
|
-
|
|
5
|
-
import * as Aria from "react-aria-components";
|
|
6
|
-
export interface RadioGroupProps extends PropsWithChildren<Omit<Aria.RadioGroupProps, "children">>, FlowComponentProps, Pick<ColumnLayoutProps, "s" | "m" | "l"> {
|
|
7
|
-
variant?: "segmented" | "default";
|
|
8
|
-
}
|
|
9
|
-
export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<never>>;
|
|
10
|
-
export default RadioGroup;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
import * as Aria from "react-aria-components";
|
|
5
|
-
export interface RadioProps extends PropsWithChildren<Omit<Aria.RadioProps, "children">>, FlowComponentProps {
|
|
6
|
-
}
|
|
7
|
-
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<never>>;
|
|
8
|
-
export default Radio;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { RadioProps } from '../..';
|
|
3
|
-
import { default as React } from 'react';
|
|
4
|
-
|
|
5
|
-
export interface RadioButtonProps extends RadioProps, FlowComponentProps {
|
|
6
|
-
}
|
|
7
|
-
export declare const RadioButton: React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<never>>;
|
|
8
|
-
export default RadioButton;
|