@mittwald/flow-react-components 0.1.0-alpha.21 → 0.1.0-alpha.211
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/dist/Accordion-BwP09Mph.js +85 -0
- package/dist/Accordion.js +7 -0
- package/dist/Action-Dp_7RavF.js +291 -0
- package/dist/Action.js +7 -0
- package/dist/ActionGroup.js +45 -0
- package/dist/Activity-CmfZpgOM.js +28 -0
- package/dist/Activity.js +7 -0
- package/dist/Avatar.js +44 -15
- package/dist/Breadcrumb.js +36 -0
- package/dist/Button-DQtavSbo.js +129 -0
- package/dist/Button.js +1 -1
- package/dist/CalendarHeader-DkUXY9HD.js +16 -0
- package/dist/Checkbox-DOCJ2AAS.js +25 -0
- package/dist/Checkbox.js +3 -18
- package/dist/CheckboxButton-CwMRngE4.js +29 -0
- package/dist/CheckboxButton.js +7 -0
- package/dist/CheckboxGroup.js +44 -0
- package/dist/{ClearPropsContext-CD1-9TZA.js → ClearPropsContext-CUvsbMn8.js} +1 -1
- package/dist/ColumnLayout-FMONjI17.js +22 -0
- package/dist/ColumnLayout.js +7 -0
- package/dist/Content-YN32VD1q.js +25 -0
- package/dist/Content.js +3 -11
- package/dist/ContextMenu.js +11 -0
- package/dist/ContextMenu.module-BZingr2B.js +10 -0
- package/dist/ContextMenuTrigger-DOCNHDwJ.js +91 -0
- package/dist/ContextualHelp.js +64 -0
- package/dist/CopyButton.js +41 -0
- package/dist/CounterBadge.js +18 -0
- package/dist/DatePicker.js +62 -0
- package/dist/DateRangePicker.js +62 -0
- package/dist/EmulatedBoldText-Dtox8Wd1.js +14 -0
- package/dist/FieldDescription-D5ScpnNK.js +20 -0
- package/dist/FieldDescription.js +3 -14
- package/dist/FieldError-CHN9uCb_.js +23 -0
- package/dist/FieldError.js +1 -1
- package/dist/Header-DUWPZjAq.js +70 -0
- package/dist/Header.js +7 -0
- package/dist/HeaderNavigation.js +37 -0
- package/dist/Heading-BEC6iPfF.js +52 -0
- package/dist/Heading.js +3 -18
- package/dist/Icon-DPoIVASu.js +61 -0
- package/dist/Icon.js +1 -1
- package/dist/IconCalendar-DdHJ9y75.js +10 -0
- package/dist/{IconCheck-QwbBte1y.js → IconCheck-BGtj4cDU.js} +1 -1
- package/dist/IconCheckboxEmpty-C5_FpyLH.js +10 -0
- package/dist/IconCheckboxIndeterminate-Cq9pCgrw.js +9 -0
- package/dist/IconChevronDown--OxZLX8L.js +9 -0
- package/dist/IconChevronRight-C9GdFYqH.js +9 -0
- package/dist/IconChevronUp-CGNLwWiz.js +9 -0
- package/dist/IconClose-BFwPT_IX.js +9 -0
- package/dist/IconContextMenu-jwoVcLvd.js +9 -0
- package/dist/{IconCopy-C-PQMIfL.js → IconCopy-mEoW_08H.js} +1 -1
- package/dist/IconDanger-DSrmGtfE.js +9 -0
- package/dist/IconInfo-p6ir3vIp.js +9 -0
- package/dist/IconPending-DkOzavfh.js +9 -0
- package/dist/IconPlus-DXEOuv0x.js +10 -0
- package/dist/IconRadioOn-DPCSoNmA.js +10 -0
- package/dist/IconSearch-C7VQTAqK.js +9 -0
- package/dist/IconSettings-CisOFpPV.js +9 -0
- package/dist/IconSucceeded-B8qBpHF5.js +10 -0
- package/dist/IconWarning-wNdAHlh2.js +10 -0
- package/dist/Icons.js +115 -60
- package/dist/IllustratedMessage-B3MHD01M.js +39 -0
- package/dist/IllustratedMessage.js +7 -0
- package/dist/Image.js +11 -5
- package/dist/Initials.js +16 -25
- package/dist/InlineAlert.js +25 -24
- package/dist/InlineCode.js +19 -0
- package/dist/Label-CguPeZH5.js +34 -0
- package/dist/Label.js +3 -22
- package/dist/LabeledValue.js +16 -18
- package/dist/LayoutCard.js +22 -15
- package/dist/Link-hmeJbIYC.js +51 -0
- package/dist/Link.js +3 -21
- package/dist/List/ListLoaderAsyncResource.js +7 -0
- package/dist/List.js +1101 -0
- package/dist/LoadingSpinner-BLy_eWhM.js +17 -0
- package/dist/LoadingSpinner.js +7 -0
- package/dist/MenuItem-DcfYvfPJ.js +54 -0
- package/dist/MenuItem.js +7 -0
- package/dist/Modal.js +107 -0
- package/dist/Navigation.js +52 -42
- package/dist/Notification.js +67 -0
- package/dist/NotificationProvider.js +145 -0
- package/dist/NumberField.js +46 -42
- package/dist/OverlayContextProvider-xvILXWn5.js +20 -0
- package/dist/OverlayTrigger-D9ziPSB1.js +25 -0
- package/dist/Popover-Cv7qj8sY.js +46 -0
- package/dist/Popover.js +23 -0
- package/dist/ProgressBar.js +46 -0
- package/dist/PropsContextProvider-C6Z4XGp6.js +64 -0
- package/dist/PropsContextProvider.js +9 -0
- package/dist/RadioGroup.js +113 -42
- package/dist/Render-BdlTa7Qb.js +7 -0
- package/dist/Render.js +6 -0
- package/dist/SearchField-DstUFmq4.js +76 -0
- package/dist/SearchField.js +7 -0
- package/dist/Section-DTR9rFAc.js +55 -0
- package/dist/Section.js +3 -13
- package/dist/Select.js +91 -0
- package/dist/Separator.js +15 -0
- package/dist/Skeleton-CKLaTmDR.js +22 -0
- package/dist/Skeleton.js +7 -0
- package/dist/SkeletonText-B5ZghZhO.js +13 -0
- package/dist/SkeletonText.js +7 -0
- package/dist/Slider.js +104 -0
- package/dist/StatusBadge.js +27 -0
- package/dist/StatusIcon-CVl-Qd4U.js +47 -0
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +31 -21
- package/dist/Table.js +13 -0
- package/dist/TableRow-BAVeHa5X.js +39 -0
- package/dist/Tabs.js +156 -0
- package/dist/Text-Sd5q3Yme.js +44 -0
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +21 -14
- package/dist/TextField.js +22 -9
- package/dist/TextFieldBase-DA_aMt2G.js +60 -0
- package/dist/Tooltip.js +3 -3
- package/dist/TooltipTrigger-TslkLN5s.js +20 -0
- package/dist/Wrap-DGT1h1o3.js +9 -0
- package/dist/{propsContext-Dx7WKmmM.js → context-BlNV7smK.js} +3 -2
- package/dist/context-Cf7tqFtF.js +50 -0
- package/dist/controller.js +8 -0
- package/dist/deepFindOfType-6pG0fH7S.js +14 -0
- package/dist/dynamic-ClpUSmEt.js +8 -0
- package/dist/flowComponent-DHPUcYyM.js +128 -0
- package/dist/getActionGroupSlot-BHzMGEA7.js +59 -0
- package/dist/getContainerBreakpointSizeClassName-BrcFDcCY.js +6 -0
- package/dist/hooks.js +10 -0
- package/dist/nextjs.js +13 -0
- package/dist/propsContext-DzAKlmhS.js +10 -0
- package/dist/react-hook-form.js +120 -0
- package/dist/styles.css +1 -1
- package/dist/types/components/Accordion/Accordion.d.ts +8 -0
- package/dist/types/components/Accordion/index.d.ts +4 -0
- package/dist/types/components/Accordion/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/Accordion/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Action/Action.d.ts +4 -0
- package/dist/types/components/Action/Action.test.d.ts +1 -0
- package/dist/types/components/Action/ActionStateContext.d.ts +9 -0
- package/dist/types/components/Action/context.d.ts +4 -0
- package/dist/types/components/Action/hooks/useActionButtonState.d.ts +4 -0
- package/dist/types/components/Action/hooks/useConfirmationModalButtonSlot.d.ts +3 -0
- package/dist/types/components/Action/index.d.ts +5 -0
- package/dist/types/components/Action/lib/ariaLive.d.ts +9 -0
- package/dist/types/components/Action/models/ActionExecution.d.ts +8 -0
- package/dist/types/components/Action/models/ActionExecutionBatch.d.ts +9 -0
- package/dist/types/components/Action/models/ActionExecutionBatch.test.d.ts +1 -0
- package/dist/types/components/Action/models/ActionModel.d.ts +29 -0
- package/dist/types/components/Action/models/ActionState.d.ts +23 -0
- package/dist/types/components/Action/models/ActionStateContext.d.ts +15 -0
- package/dist/types/components/Action/models/getExecutionFunction.d.ts +4 -0
- package/dist/types/components/Action/stories/Default.stories.d.ts +14 -0
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Action/types.d.ts +17 -0
- package/dist/types/components/ActionGroup/ActionGroup.d.ts +9 -0
- package/dist/types/components/ActionGroup/index.d.ts +4 -0
- package/dist/types/components/ActionGroup/lib/getActionGroupSlot.d.ts +3 -0
- package/dist/types/components/ActionGroup/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/Activity/Activity.d.ts +8 -0
- package/dist/types/components/Activity/Activity.test.d.ts +1 -0
- package/dist/types/components/Activity/index.d.ts +4 -0
- package/dist/types/components/Avatar/Avatar.d.ts +11 -0
- package/dist/types/components/Avatar/index.d.ts +4 -0
- package/dist/types/components/Avatar/lib/getVariantFromChildren.d.ts +3 -0
- package/dist/types/components/Avatar/lib/getVariantFromInitials.test.d.ts +1 -0
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +10 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/BreadcrumbItem.d.ts +5 -0
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/index.d.ts +4 -0
- package/dist/types/components/Breadcrumb/index.d.ts +4 -0
- package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Button/Button.d.ts +19 -0
- package/dist/types/components/Button/index.d.ts +4 -0
- package/dist/types/components/Button/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Button/stories/States.stories.d.ts +13 -0
- package/dist/types/components/Button/stories/Variants.stories.d.ts +24 -0
- package/dist/types/components/Button/stories/lib.d.ts +6 -0
- package/dist/types/components/Calendar/components/CalendarHeader/CalendarHeader.d.ts +4 -0
- package/dist/types/components/Calendar/components/CalendarHeader/index.d.ts +4 -0
- package/dist/types/components/Calendar/index.d.ts +1 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +8 -0
- package/dist/types/components/Checkbox/index.d.ts +4 -0
- package/dist/types/components/Checkbox/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/CheckboxButton/CheckboxButton.d.ts +8 -0
- package/dist/types/components/CheckboxButton/index.d.ts +4 -0
- package/dist/types/components/CheckboxButton/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/CheckboxButton/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +9 -0
- package/dist/types/components/CheckboxGroup/index.d.ts +4 -0
- package/dist/types/components/CheckboxGroup/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +10 -0
- package/dist/types/components/ColumnLayout/index.d.ts +4 -0
- package/dist/types/components/ColumnLayout/lib/getColumns.d.ts +1 -0
- package/dist/types/components/ColumnLayout/lib/getColumns.test.d.ts +1 -0
- package/dist/types/components/ColumnLayout/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Content/Content.d.ts +9 -0
- package/dist/types/components/Content/index.d.ts +4 -0
- package/dist/types/components/Content/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +11 -0
- package/dist/types/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.d.ts +7 -0
- package/dist/types/components/ContextMenu/components/ContextMenuSection/index.d.ts +4 -0
- package/dist/types/components/ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.d.ts +4 -0
- package/dist/types/components/ContextMenu/components/ContextMenuTrigger/index.d.ts +4 -0
- package/dist/types/components/ContextMenu/index.d.ts +6 -0
- package/dist/types/components/ContextMenu/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/ContextMenu/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/ContextualHelp/ContextualHelp.d.ts +6 -0
- package/dist/types/components/ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.d.ts +4 -0
- package/dist/types/components/ContextualHelp/components/ContextualHelpTrigger/index.d.ts +4 -0
- package/dist/types/components/ContextualHelp/index.d.ts +5 -0
- package/dist/types/components/ContextualHelp/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/CopyButton/CopyButton.d.ts +9 -0
- package/dist/types/components/CopyButton/index.d.ts +4 -0
- package/dist/types/components/CopyButton/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/CounterBadge/CounterBadge.d.ts +9 -0
- package/dist/types/components/CounterBadge/index.d.ts +4 -0
- package/dist/types/components/CounterBadge/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +8 -0
- package/dist/types/components/DatePicker/components/Calendar/Calendar.d.ts +4 -0
- package/dist/types/components/DatePicker/components/Calendar/index.d.ts +4 -0
- package/dist/types/components/DatePicker/components/DateInput/DateInput.d.ts +7 -0
- package/dist/types/components/DatePicker/components/DateInput/index.d.ts +4 -0
- package/dist/types/components/DatePicker/index.d.ts +4 -0
- package/dist/types/components/DatePicker/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +8 -0
- package/dist/types/components/DateRangePicker/components/DateRangeInput/DateRangeInput.d.ts +7 -0
- package/dist/types/components/DateRangePicker/components/DateRangeInput/index.d.ts +4 -0
- package/dist/types/components/DateRangePicker/components/RangeCalendar/RangeCalendar.d.ts +4 -0
- package/dist/types/components/DateRangePicker/components/RangeCalendar/index.d.ts +4 -0
- package/dist/types/components/DateRangePicker/index.d.ts +4 -0
- package/dist/types/components/DateRangePicker/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +5 -0
- package/dist/types/components/EmulatedBoldText/index.d.ts +4 -0
- package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/FieldDescription/FieldDescription.d.ts +8 -0
- package/dist/types/components/FieldDescription/index.d.ts +4 -0
- package/dist/types/components/FieldError/FieldError.d.ts +8 -0
- package/dist/types/components/FieldError/index.d.ts +4 -0
- package/dist/types/components/Header/Header.d.ts +8 -0
- package/dist/types/components/Header/index.d.ts +4 -0
- package/dist/types/components/Header/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +9 -0
- package/dist/types/components/HeaderNavigation/index.d.ts +4 -0
- package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/Heading/Heading.d.ts +11 -0
- package/dist/types/components/Heading/index.d.ts +4 -0
- package/dist/types/components/Heading/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Heading/stories/Levels.stories.d.ts +12 -0
- package/dist/types/components/Icon/Icon.d.ts +11 -0
- package/dist/types/components/Icon/components/icons/IconApp.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconBackup.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCalendar.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCamera.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconChangelog.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCheck.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCheckboxChecked.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCheckboxEmpty.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCheckboxIndeterminate.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconClock.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconClose.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCode.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconContextMenu.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconContractPartner.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconContractPosition.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCopy.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCredit.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDanger.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDate.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDelete.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconDomain.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconEdit.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconEmail.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconExtension.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconFailed.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconFilter.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconGrid.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconHide.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconHome.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconInbox.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconInfo.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconInvoice.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconList.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconListView.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconLock.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconLockOpen.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconLogout.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMaximize.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMember.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMenu.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMinimize.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMinus.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconMittwald.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconNotification.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconNumber.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconOrder.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconPayment.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconPending.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconPerformance.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconPlus.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconProject.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconRadioOff.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconRadioOn.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconRandom.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconRefresh.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSave.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSearch.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconServer.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSettings.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconShare.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconShow.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSorting.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOff.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOn.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconStar.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconStarFilled.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconSupport.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconTicket.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconTileView.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconTime.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconUser.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/IconWarning.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/index.d.ts +82 -0
- package/dist/types/components/Icon/index.d.ts +4 -0
- package/dist/types/components/Icon/lib/extractSvgFromString.d.ts +3 -0
- package/dist/types/components/Icon/lib/extractSvgFromString.test.d.ts +1 -0
- package/dist/types/components/Icon/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/Icon/stories/Sizes.stories.d.ts +9 -0
- package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts +8 -0
- package/dist/types/components/IllustratedMessage/index.d.ts +4 -0
- package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/Image/Image.d.ts +7 -0
- package/dist/types/components/Image/index.d.ts +4 -0
- package/dist/types/components/Image/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Initials/Initials.d.ts +8 -0
- package/dist/types/components/Initials/index.d.ts +4 -0
- package/dist/types/components/Initials/lib/getInitialsFromString.d.ts +1 -0
- package/dist/types/components/Initials/lib/getInitialsFromString.test.d.ts +1 -0
- package/dist/types/components/Initials/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +8 -0
- package/dist/types/components/InlineAlert/index.d.ts +4 -0
- package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +10 -0
- package/dist/types/components/InlineCode/InlineCode.d.ts +5 -0
- package/dist/types/components/InlineCode/index.d.ts +4 -0
- package/dist/types/components/InlineCode/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Label/Label.d.ts +10 -0
- package/dist/types/components/Label/index.d.ts +4 -0
- package/dist/types/components/Label/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/LabeledValue/LabeledValue.d.ts +7 -0
- package/dist/types/components/LabeledValue/index.d.ts +4 -0
- package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/LayoutCard/LayoutCard.d.ts +8 -0
- package/dist/types/components/LayoutCard/index.d.ts +4 -0
- package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Link/Link.d.ts +14 -0
- package/dist/types/components/Link/context.d.ts +8 -0
- package/dist/types/components/Link/index.d.ts +4 -0
- package/dist/types/components/Link/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/Link/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/List/List.d.ts +8 -0
- package/dist/types/components/List/List.test.d.ts +1 -0
- package/dist/types/components/List/components/DataLoader/DataLoader.d.ts +4 -0
- package/dist/types/components/List/components/DataLoader/index.d.ts +4 -0
- package/dist/types/components/List/components/EmptyView/EmptyView.d.ts +3 -0
- package/dist/types/components/List/components/Footer/Footer.d.ts +4 -0
- package/dist/types/components/List/components/Footer/components/PaginationInfos/PaginationInfos.d.ts +5 -0
- package/dist/types/components/List/components/Footer/components/PaginationInfos/index.d.ts +4 -0
- package/dist/types/components/List/components/Footer/components/ShowNextBatchButton/ShowNextBatchButton.d.ts +5 -0
- package/dist/types/components/List/components/Footer/components/ShowNextBatchButton/index.d.ts +4 -0
- package/dist/types/components/List/components/Footer/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/Header.d.ts +6 -0
- package/dist/types/components/List/components/Header/components/ActiveFilters/ActiveFilters.d.ts +4 -0
- package/dist/types/components/List/components/Header/components/ActiveFilters/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/components/FilterPicker/FilterPicker.d.ts +8 -0
- package/dist/types/components/List/components/Header/components/FilterPicker/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts +9 -0
- package/dist/types/components/List/components/Header/components/SearchField/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/components/SettingsMenu/SettingsMenu.d.ts +3 -0
- package/dist/types/components/List/components/Header/components/SortingPicker/SortingPicker.d.ts +3 -0
- package/dist/types/components/List/components/Header/components/SortingPicker/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/components/SortingPickerItem/SortingPickerItem.d.ts +8 -0
- package/dist/types/components/List/components/Header/components/SortingPickerItem/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/Items.d.ts +4 -0
- package/dist/types/components/List/components/Items/components/FallbackItems/FallbackItems.d.ts +3 -0
- package/dist/types/components/List/components/Items/components/Item/Item.d.ts +8 -0
- package/dist/types/components/List/components/Items/components/Item/components/OptionsButton/OptionsButton.d.ts +7 -0
- package/dist/types/components/List/components/Items/components/Item/components/OptionsButton/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/components/Item/components/SkeletonView/SkeletonView.d.ts +3 -0
- package/dist/types/components/List/components/Items/components/Item/components/View/View.d.ts +6 -0
- package/dist/types/components/List/components/Items/components/Item/components/View/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/components/Item/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/index.d.ts +4 -0
- package/dist/types/components/List/components/Table/Table.d.ts +3 -0
- package/dist/types/components/List/components/Table/components/TableLoadingView.d.ts +4 -0
- package/dist/types/components/List/components/Table/index.d.ts +1 -0
- package/dist/types/components/List/hooks/useList.d.ts +1 -0
- package/dist/types/components/List/index.d.ts +10 -0
- package/dist/types/components/List/listContext.d.ts +7 -0
- package/dist/types/components/List/model/List.d.ts +35 -0
- package/dist/types/components/List/model/ReactTable.d.ts +20 -0
- package/dist/types/components/List/model/filter/Filter.d.ts +36 -0
- package/dist/types/components/List/model/filter/FilterValue.d.ts +13 -0
- package/dist/types/components/List/model/filter/types.d.ts +13 -0
- package/dist/types/components/List/model/item/Item.d.ts +10 -0
- package/dist/types/components/List/model/item/ItemCollection.d.ts +8 -0
- package/dist/types/components/List/model/item/ItemView.d.ts +20 -0
- package/dist/types/components/List/model/item/types.d.ts +3 -0
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts +24 -0
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +21 -0
- package/dist/types/components/List/model/loading/types.d.ts +48 -0
- package/dist/types/components/List/model/pagination/BatchesController.d.ts +16 -0
- package/dist/types/components/List/model/pagination/types.d.ts +3 -0
- package/dist/types/components/List/model/search/Search.d.ts +16 -0
- package/dist/types/components/List/model/search/types.d.ts +15 -0
- package/dist/types/components/List/model/sorting/Sorting.d.ts +20 -0
- package/dist/types/components/List/model/sorting/types.d.ts +10 -0
- package/dist/types/components/List/model/table/Table.d.ts +12 -0
- package/dist/types/components/List/model/table/TableBody.d.ts +10 -0
- package/dist/types/components/List/model/table/TableCell.d.ts +9 -0
- package/dist/types/components/List/model/table/TableColumn.d.ts +8 -0
- package/dist/types/components/List/model/table/TableHeader.d.ts +10 -0
- package/dist/types/components/List/model/table/TableRow.d.ts +12 -0
- package/dist/types/components/List/model/table/types.d.ts +35 -0
- package/dist/types/components/List/model/types.d.ts +36 -0
- package/dist/types/components/List/setupComponents/ListFilter.d.ts +10 -0
- package/dist/types/components/List/setupComponents/ListItem.d.ts +10 -0
- package/dist/types/components/List/setupComponents/ListLoaderAsync.d.ts +9 -0
- package/dist/types/components/List/setupComponents/ListLoaderAsyncResource.d.ts +9 -0
- package/dist/types/components/List/setupComponents/ListSearch.d.ts +9 -0
- package/dist/types/components/List/setupComponents/ListSorting.d.ts +7 -0
- package/dist/types/components/List/setupComponents/ListStaticData.d.ts +8 -0
- package/dist/types/components/List/setupComponents/Table.d.ts +7 -0
- package/dist/types/components/List/setupComponents/TableBody.d.ts +7 -0
- package/dist/types/components/List/setupComponents/TableCell.d.ts +9 -0
- package/dist/types/components/List/setupComponents/TableColumn.d.ts +7 -0
- package/dist/types/components/List/setupComponents/TableHeader.d.ts +7 -0
- package/dist/types/components/List/setupComponents/TableRow.d.ts +7 -0
- package/dist/types/components/List/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/List/stories/ListItem.stories.d.ts +12 -0
- package/dist/types/components/List/testData/domainApi.d.ts +26 -0
- package/dist/types/components/List/typedList.d.ts +94 -0
- package/dist/types/components/List/typedList.test-types.d.ts +1 -0
- package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts +5 -0
- package/dist/types/components/LoadingSpinner/index.d.ts +4 -0
- package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/MenuItem/MenuItem.d.ts +9 -0
- package/dist/types/components/MenuItem/MenuItemContent.d.ts +8 -0
- package/dist/types/components/MenuItem/index.d.ts +4 -0
- package/dist/types/components/Modal/Modal.d.ts +15 -0
- package/dist/types/components/Modal/components/ModalTrigger/ModalTrigger.d.ts +4 -0
- package/dist/types/components/Modal/components/ModalTrigger/index.d.ts +4 -0
- package/dist/types/components/Modal/index.d.ts +5 -0
- package/dist/types/components/Modal/stories/Default.stories.d.ts +14 -0
- package/dist/types/components/Modal/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/ModalOverlay/ModalOverlay.d.ts +10 -0
- package/dist/types/components/ModalOverlay/index.d.ts +4 -0
- package/dist/types/components/Navigation/Navigation.d.ts +7 -0
- package/dist/types/components/Navigation/components/NavigationGroup/NavigationGroup.d.ts +7 -0
- package/dist/types/components/Navigation/components/NavigationGroup/index.d.ts +4 -0
- package/dist/types/components/Navigation/index.d.ts +5 -0
- package/dist/types/components/Navigation/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/Notification/Notification.d.ts +11 -0
- package/dist/types/components/Notification/index.d.ts +4 -0
- package/dist/types/components/Notification/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/Notification/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Notification/stories/Variants.stories.d.ts +10 -0
- package/dist/types/components/NotificationProvider/ControlledNotification.d.ts +9 -0
- package/dist/types/components/NotificationProvider/NotificationContainer.d.ts +5 -0
- package/dist/types/components/NotificationProvider/NotificationController.d.ts +23 -0
- package/dist/types/components/NotificationProvider/NotificationProvider.d.ts +8 -0
- package/dist/types/components/NotificationProvider/index.d.ts +4 -0
- package/dist/types/components/NotificationProvider/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/NumberField/NumberField.d.ts +8 -0
- package/dist/types/components/NumberField/index.d.ts +4 -0
- package/dist/types/components/NumberField/stories/Default.stories.d.ts +13 -0
- package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/OverlayTrigger/OverlayTrigger.d.ts +18 -0
- package/dist/types/components/OverlayTrigger/OverlayTrigger.test.d.ts +1 -0
- package/dist/types/components/OverlayTrigger/index.d.ts +4 -0
- package/dist/types/components/Popover/Popover.d.ts +12 -0
- package/dist/types/components/Popover/components/PopoverTrigger/PopoverTrigger.d.ts +6 -0
- package/dist/types/components/Popover/components/PopoverTrigger/index.d.ts +4 -0
- package/dist/types/components/Popover/index.d.ts +5 -0
- package/dist/types/components/Popover/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Popover/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +10 -0
- package/dist/types/components/ProgressBar/index.d.ts +4 -0
- package/dist/types/components/ProgressBar/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/ProgressBar/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/ProgressBar/stories/Variants.stories.d.ts +10 -0
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +11 -0
- package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +8 -0
- package/dist/types/components/RadioGroup/components/Radio/index.d.ts +4 -0
- package/dist/types/components/RadioGroup/components/RadioButton/RadioButton.d.ts +8 -0
- package/dist/types/components/RadioGroup/components/RadioButton/index.d.ts +4 -0
- package/dist/types/components/RadioGroup/index.d.ts +6 -0
- package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +16 -0
- package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +9 -0
- package/dist/types/components/SearchField/SearchField.d.ts +8 -0
- package/dist/types/components/SearchField/index.d.ts +4 -0
- package/dist/types/components/SearchField/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/Section/Section.d.ts +7 -0
- package/dist/types/components/Section/components/SectionHeader/SectionHeader.d.ts +6 -0
- package/dist/types/components/Section/index.d.ts +4 -0
- package/dist/types/components/Section/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Section/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/Select/Select.d.ts +14 -0
- package/dist/types/components/Select/components/Option/Option.d.ts +9 -0
- package/dist/types/components/Select/components/Option/index.d.ts +4 -0
- package/dist/types/components/Select/components/Options/Options.d.ts +7 -0
- package/dist/types/components/Select/components/Options/index.d.ts +4 -0
- package/dist/types/components/Select/index.d.ts +5 -0
- package/dist/types/components/Select/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/Select/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Separator/Separator.d.ts +6 -0
- package/dist/types/components/Separator/index.d.ts +4 -0
- package/dist/types/components/Separator/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Skeleton/Skeleton.d.ts +8 -0
- package/dist/types/components/Skeleton/index.d.ts +4 -0
- package/dist/types/components/Skeleton/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/SkeletonText/SkeletonText.d.ts +7 -0
- package/dist/types/components/SkeletonText/index.d.ts +4 -0
- package/dist/types/components/SkeletonText/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Slider/Slider.d.ts +9 -0
- package/dist/types/components/Slider/index.d.ts +4 -0
- package/dist/types/components/Slider/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/StatusBadge/StatusBadge.d.ts +8 -0
- package/dist/types/components/StatusBadge/index.d.ts +4 -0
- package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +10 -0
- package/dist/types/components/StatusIcon/StatusIcon.d.ts +8 -0
- package/dist/types/components/StatusIcon/index.d.ts +4 -0
- package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/Switch/Switch.d.ts +10 -0
- package/dist/types/components/Switch/index.d.ts +4 -0
- package/dist/types/components/Switch/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Table/Table.d.ts +6 -0
- package/dist/types/components/Table/components/TableBody/TableBody.d.ts +6 -0
- package/dist/types/components/Table/components/TableBody/index.d.ts +4 -0
- package/dist/types/components/Table/components/TableCell/TableCell.d.ts +6 -0
- package/dist/types/components/Table/components/TableCell/index.d.ts +4 -0
- package/dist/types/components/Table/components/TableColumn/TableColumn.d.ts +6 -0
- package/dist/types/components/Table/components/TableColumn/index.d.ts +4 -0
- package/dist/types/components/Table/components/TableHeader/TableHeader.d.ts +6 -0
- package/dist/types/components/Table/components/TableHeader/index.d.ts +4 -0
- package/dist/types/components/Table/components/TableRow/TableRow.d.ts +6 -0
- package/dist/types/components/Table/components/TableRow/index.d.ts +4 -0
- package/dist/types/components/Table/index.d.ts +9 -0
- package/dist/types/components/Table/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Tabs/Tabs.d.ts +8 -0
- package/dist/types/components/Tabs/components/Tab/Tab.d.ts +7 -0
- package/dist/types/components/Tabs/components/Tab/context.d.ts +6 -0
- package/dist/types/components/Tabs/components/Tab/index.d.ts +4 -0
- package/dist/types/components/Tabs/components/TabList/TabList.d.ts +10 -0
- package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -0
- package/dist/types/components/Tabs/components/TabTitle/TabTitle.d.ts +7 -0
- package/dist/types/components/Tabs/components/TabTitle/TabTitleCollapsed.d.ts +8 -0
- package/dist/types/components/Tabs/components/TabTitle/index.d.ts +4 -0
- package/dist/types/components/Tabs/index.d.ts +6 -0
- package/dist/types/components/Tabs/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/Tabs/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/Text/Text.d.ts +11 -0
- package/dist/types/components/Text/index.d.ts +4 -0
- package/dist/types/components/Text/stories/Default.stories.d.ts +13 -0
- package/dist/types/components/TextArea/TextArea.d.ts +9 -0
- package/dist/types/components/TextArea/index.d.ts +4 -0
- package/dist/types/components/TextArea/stories/Default.stories.d.ts +14 -0
- package/dist/types/components/TextField/TextField.d.ts +10 -0
- package/dist/types/components/TextField/index.d.ts +4 -0
- package/dist/types/components/TextField/stories/Default.stories.d.ts +15 -0
- package/dist/types/components/TextFieldBase/TextFieldBase.d.ts +9 -0
- package/dist/types/components/TextFieldBase/index.d.ts +4 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +5 -0
- package/dist/types/components/Tooltip/components/TooltipTrigger/index.d.ts +4 -0
- package/dist/types/components/Tooltip/index.d.ts +5 -0
- package/dist/types/components/Tooltip/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Wrap/Wrap.d.ts +6 -0
- package/dist/types/components/Wrap/index.d.ts +4 -0
- package/dist/types/components/propTypes/index.d.ts +92 -0
- package/dist/types/components/propTypes/types.d.ts +6 -0
- package/dist/types/integrations/nextjs/components/Link/Link.d.ts +3 -0
- package/dist/types/integrations/nextjs/components/Link/index.d.ts +4 -0
- package/dist/types/integrations/nextjs/components/LinkProvider/LinkProvider.d.ts +4 -0
- package/dist/types/integrations/nextjs/components/LinkProvider/index.d.ts +4 -0
- package/dist/types/integrations/nextjs/index.d.ts +2 -0
- package/dist/types/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.d.ts +7 -0
- package/dist/types/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.d.ts +7 -0
- package/dist/types/integrations/react-hook-form/components/Field/Field.d.ts +8 -0
- package/dist/types/integrations/react-hook-form/components/Field/index.d.ts +4 -0
- package/dist/types/integrations/react-hook-form/components/Field/stories/Default.stories.d.ts +7 -0
- package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts +10 -0
- package/dist/types/integrations/react-hook-form/components/Form/index.d.ts +4 -0
- package/dist/types/integrations/react-hook-form/components/context/formContext.d.ts +10 -0
- package/dist/types/integrations/react-hook-form/index.d.ts +2 -0
- package/dist/types/lib/childProps/ChildPropsContextProvider.d.ts +9 -0
- package/dist/types/lib/childProps/ChildPropsStore.d.ts +16 -0
- package/dist/types/lib/childProps/context.d.ts +5 -0
- package/dist/types/lib/childProps/index.d.ts +2 -0
- package/dist/types/lib/childProps/useSetChildProps.d.ts +3 -0
- package/dist/types/lib/componentFactory/flowComponent.d.ts +12 -0
- package/dist/types/lib/componentFactory/flowComponent.test.d.ts +1 -0
- package/dist/types/lib/controller/index.d.ts +1 -0
- package/dist/types/lib/controller/overlay/OverlayContextProvider.d.ts +10 -0
- package/dist/types/lib/controller/overlay/OverlayController.d.ts +17 -0
- package/dist/types/lib/controller/overlay/context.d.ts +56 -0
- package/dist/types/lib/controller/overlay/index.d.ts +2 -0
- package/dist/types/lib/controller/overlay/useOverlayController.d.ts +8 -0
- package/dist/types/lib/dev/dummyText.d.ts +6 -0
- package/dist/types/lib/dev/storyBackgrounds.d.ts +14 -0
- package/dist/types/lib/dev/vitestUserEvent.d.ts +2 -0
- package/dist/types/lib/getContainerBreakpointSizeClassName.d.ts +3 -0
- package/dist/types/lib/hooks/dom/useObserveOverflow.d.ts +8 -0
- package/dist/types/lib/hooks/index.d.ts +2 -0
- package/dist/types/lib/hooks/useOnChange.d.ts +3 -0
- package/dist/types/lib/mobx/useAutorunEffect.d.ts +1 -0
- package/dist/types/lib/mobx/useSelector.d.ts +4 -0
- package/dist/types/lib/promises/callAndReact.d.ts +9 -0
- package/dist/types/lib/promises/callAndReact.test.d.ts +1 -0
- package/dist/types/lib/promises/callFunctionsInOrder.d.ts +3 -0
- package/dist/types/lib/promises/callFunctionsInOrder.test.d.ts +1 -0
- package/dist/types/lib/promises/sleep.d.ts +1 -0
- package/dist/types/lib/propsContext/ClearPropsContext.d.ts +5 -0
- package/dist/types/lib/propsContext/ClearPropsContext.test.d.ts +1 -0
- package/dist/types/lib/propsContext/PropsContextProvider.d.ts +10 -0
- package/dist/types/lib/propsContext/dynamicProps/dynamic.d.ts +5 -0
- package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +5 -0
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +5 -0
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.test.d.ts +1 -0
- package/dist/types/lib/propsContext/dynamicProps/types.d.ts +5 -0
- package/dist/types/lib/propsContext/index.d.ts +7 -0
- package/dist/types/lib/propsContext/isFlowComponentName.d.ts +3 -0
- package/dist/types/lib/propsContext/isFlowComponentProp.d.ts +3 -0
- package/dist/types/lib/propsContext/mergePropsContext.d.ts +4 -0
- package/dist/types/lib/propsContext/mergePropsContext.test.d.ts +1 -0
- package/dist/types/lib/propsContext/nestedPropsContext/isPropsWithChildren.d.ts +3 -0
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.d.ts +4 -0
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.test.d.ts +1 -0
- package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts +6 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +101 -0
- package/dist/types/lib/propsContext/types.d.ts +10 -0
- package/dist/types/lib/propsContext/useProps.d.ts +4 -0
- package/dist/types/lib/propsContext/useProps.test.d.ts +1 -0
- package/dist/types/lib/react/components/Empty/Empty.d.ts +4 -0
- package/dist/types/lib/react/components/Empty/index.d.ts +4 -0
- package/dist/types/lib/react/components/Render/Render.d.ts +5 -0
- package/dist/types/lib/react/components/Render/Render.test.d.ts +1 -0
- package/dist/types/lib/react/components/Render/index.d.ts +1 -0
- package/dist/types/lib/react/components/Translate/Translate.d.ts +10 -0
- package/dist/types/lib/react/components/Translate/index.d.ts +4 -0
- package/dist/types/lib/react/deepFindOfType.d.ts +4 -0
- package/dist/types/lib/react/deepFindOfType.test.d.ts +1 -0
- package/dist/types/lib/react/deepHas.d.ts +3 -0
- package/dist/types/lib/react/getPropsMerger.d.ts +8 -0
- package/dist/types/lib/slotContext/SlotContextProvider.d.ts +9 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +52 -0
- package/dist/types/lib/slotContext/types.d.ts +5 -0
- package/dist/types/lib/slotContext/useContextSlot.d.ts +4 -0
- package/dist/types/lib/timer/Timer.d.ts +18 -0
- package/dist/types/lib/types/array.d.ts +1 -0
- package/dist/types/lib/types/props.d.ts +18 -0
- package/dist/types/lib/types/props.test-types.d.ts +1 -0
- package/dist/{stylesInit.d.ts → types/styles/index.d.ts} +3 -4
- package/dist/useOnChange-C1Quwyuz.js +12 -0
- package/dist/useOverlayController-D8pgx8nV.js +19 -0
- package/dist/useSelector-DpU7_HMO.js +13 -0
- package/package.json +366 -86
- package/dist/Avatar.d.ts +0 -14
- package/dist/Badge.d.ts +0 -18
- package/dist/Badge.js +0 -34
- package/dist/Button-BzrU5duB.js +0 -78
- package/dist/Button.d.ts +0 -21
- package/dist/Checkbox.d.ts +0 -12
- package/dist/Content.d.ts +0 -17
- package/dist/CopyToClipboardButton.d.ts +0 -26
- package/dist/CopyToClipboardButton.js +0 -121
- package/dist/FieldDescription.d.ts +0 -21
- package/dist/FieldError-BAnloBK7.js +0 -17
- package/dist/FieldError.d.ts +0 -12
- package/dist/Heading.d.ts +0 -15
- package/dist/Icon-C8UD3vMe.js +0 -49
- package/dist/Icon.d.ts +0 -16
- package/dist/IconPlus-DsWkdGaB.js +0 -12
- package/dist/IconSucceeded-aGBloDn9.js +0 -11
- package/dist/IconUnchecked-CGdUugGS.js +0 -10
- package/dist/IconWarning-Cum5bpEx.js +0 -12
- package/dist/Icons.d.ts +0 -115
- package/dist/Image.d.ts +0 -11
- package/dist/Initials.d.ts +0 -14
- package/dist/InlineAlert.d.ts +0 -18
- package/dist/Label.d.ts +0 -13
- package/dist/LabeledValue.d.ts +0 -12
- package/dist/LayoutCard.d.ts +0 -17
- package/dist/Link.d.ts +0 -14
- package/dist/Navigation.d.ts +0 -22
- package/dist/NumberField.d.ts +0 -12
- package/dist/PropsContextProvider-CEoxD8yK.js +0 -26
- package/dist/RadioGroup.d.ts +0 -17
- package/dist/Section.d.ts +0 -12
- package/dist/StatusIcon-BBNE68gH.js +0 -35
- package/dist/StatusIcon.d.ts +0 -25
- package/dist/Switch.d.ts +0 -16
- package/dist/Text--ofl9X5e.js +0 -23
- package/dist/Text.d.ts +0 -18
- package/dist/TextArea.d.ts +0 -17
- package/dist/TextField.d.ts +0 -17
- package/dist/TextFieldBase-Dk6XBF7h.js +0 -28
- package/dist/Tooltip-BqyZAZgK.js +0 -16
- package/dist/Tooltip.d.ts +0 -17
- package/dist/TooltipTrigger-7-ynWHZ9.js +0 -11
- package/dist/TooltipTrigger.d.ts +0 -12
- package/dist/TooltipTrigger.js +0 -7
- package/dist/clsx-DB4S2d7J.js +0 -24
- package/dist/useProps-C7GIMcgB.js +0 -27
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ItemCollection } from './item/ItemCollection';
|
|
2
|
+
import { BatchesController } from './pagination/BatchesController';
|
|
3
|
+
import { Filter } from './filter/Filter';
|
|
4
|
+
import { Sorting } from './sorting/Sorting';
|
|
5
|
+
import { default as ReactTable } from './ReactTable';
|
|
6
|
+
import { ItemActionFn, ListShape, ListSupportedComponentProps, ListViewMode } from './types';
|
|
7
|
+
import { IncrementalLoader } from './loading/IncrementalLoader';
|
|
8
|
+
import { Search } from './search/Search';
|
|
9
|
+
import { ItemView } from './item/ItemView';
|
|
10
|
+
import { Table } from './table/Table';
|
|
11
|
+
|
|
12
|
+
export declare class List<T> {
|
|
13
|
+
readonly filters: Filter<T, never, never>[];
|
|
14
|
+
readonly itemView?: ItemView<T>;
|
|
15
|
+
readonly table?: Table<T>;
|
|
16
|
+
readonly search?: Search<T>;
|
|
17
|
+
readonly sorting: Sorting<T>[];
|
|
18
|
+
readonly items: ItemCollection<T>;
|
|
19
|
+
readonly reactTable: ReactTable<T>;
|
|
20
|
+
readonly batches: BatchesController<T>;
|
|
21
|
+
readonly loader: IncrementalLoader<T>;
|
|
22
|
+
readonly onAction?: ItemActionFn<T>;
|
|
23
|
+
readonly componentProps: ListSupportedComponentProps;
|
|
24
|
+
viewMode: ListViewMode;
|
|
25
|
+
constructor(shape: ListShape<T>);
|
|
26
|
+
static useNew<T>(shape: ListShape<T>): List<T>;
|
|
27
|
+
get isFiltered(): boolean;
|
|
28
|
+
get visibleSorting(): Sorting<T>[];
|
|
29
|
+
getSorting(id: string): Sorting<T>;
|
|
30
|
+
clearSorting(): void;
|
|
31
|
+
clearFilters(): void;
|
|
32
|
+
useIsEmpty(): boolean;
|
|
33
|
+
setViewMode(to: ListViewMode): void;
|
|
34
|
+
}
|
|
35
|
+
export default List;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Column, ColumnSort, Table, TableOptions } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from './List';
|
|
3
|
+
import { OnListChanged, PropertyName } from './types';
|
|
4
|
+
import { SearchValue } from './search/types';
|
|
5
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
6
|
+
|
|
7
|
+
export declare class ReactTable<T> {
|
|
8
|
+
readonly list: List<T>;
|
|
9
|
+
readonly table: Table<T>;
|
|
10
|
+
readonly sortingState: ColumnSort[];
|
|
11
|
+
readonly updateSortingState: Dispatch<SetStateAction<ColumnSort[]>>;
|
|
12
|
+
private constructor();
|
|
13
|
+
static useNew<T>(list: List<T>, onChange?: OnListChanged<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
|
|
14
|
+
private useReactTable;
|
|
15
|
+
private handleSortingStateUpdate;
|
|
16
|
+
get searchString(): SearchValue;
|
|
17
|
+
getTableColumn(property: PropertyName<T>): Column<T>;
|
|
18
|
+
private getTableColumnDefs;
|
|
19
|
+
}
|
|
20
|
+
export default ReactTable;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ColumnDef, ColumnFilter } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from '../List';
|
|
3
|
+
import { FilterMatcher, FilterMode, FilterShape } from './types';
|
|
4
|
+
import { PropertyName, PropertyValueRenderMethod } from '../types';
|
|
5
|
+
import { FilterValue } from './FilterValue';
|
|
6
|
+
|
|
7
|
+
export declare class Filter<T, TProp extends PropertyName<T>, TMatchValue> {
|
|
8
|
+
private _values?;
|
|
9
|
+
private _valuesFromTableState?;
|
|
10
|
+
readonly list: List<T>;
|
|
11
|
+
readonly property: PropertyName<T>;
|
|
12
|
+
readonly mode: FilterMode;
|
|
13
|
+
readonly matcher: FilterMatcher<T, never, never>;
|
|
14
|
+
readonly renderItem: PropertyValueRenderMethod<TMatchValue>;
|
|
15
|
+
readonly name?: string;
|
|
16
|
+
private onFilterUpdateCallbacks;
|
|
17
|
+
constructor(list: List<T>, shape: FilterShape<T, TProp, TMatchValue>);
|
|
18
|
+
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
19
|
+
private getReactTableFilterFn;
|
|
20
|
+
private checkFilterMatches;
|
|
21
|
+
protected getTableColumnFilter(): ColumnFilter | undefined;
|
|
22
|
+
private getTableColumn;
|
|
23
|
+
getValue(): unknown;
|
|
24
|
+
private getValuesFromTableState;
|
|
25
|
+
private checkIfValueIsUnknown;
|
|
26
|
+
deleteUnknownFilterValues(): void;
|
|
27
|
+
get values(): FilterValue[];
|
|
28
|
+
private get valuesFromTableState();
|
|
29
|
+
getArrayValue(): FilterValue[];
|
|
30
|
+
isValueActive(value: FilterValue): boolean;
|
|
31
|
+
isActive(): boolean;
|
|
32
|
+
deactivateValue(value: FilterValue): void;
|
|
33
|
+
clearValues(): void;
|
|
34
|
+
toggleValue(newValue: FilterValue): void;
|
|
35
|
+
onFilterUpdated(cb: () => unknown): void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Filter } from './Filter';
|
|
2
|
+
|
|
3
|
+
export declare class FilterValue {
|
|
4
|
+
private readonly filter;
|
|
5
|
+
readonly value: unknown;
|
|
6
|
+
constructor(filter: Filter<any, any, any>, value: unknown);
|
|
7
|
+
equals(otherValue: FilterValue): boolean;
|
|
8
|
+
get id(): string;
|
|
9
|
+
get isActive(): boolean;
|
|
10
|
+
render(): import('react').ReactNode;
|
|
11
|
+
toggle(): void;
|
|
12
|
+
deactivate(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropertyName, PropertyValue, PropertyValueRenderMethod } from '../types';
|
|
2
|
+
import { ItemType } from '../../../../lib/types/array';
|
|
3
|
+
|
|
4
|
+
export type FilterMode = "all" | "some" | "one";
|
|
5
|
+
export type FilterMatcher<T, P, TMatcherValue> = (filterBy: NonNullable<ItemType<TMatcherValue>>, filterFrom: PropertyValue<T, P>) => boolean;
|
|
6
|
+
export interface FilterShape<T, TProp extends PropertyName<T>, TMatcherValue> {
|
|
7
|
+
property: TProp;
|
|
8
|
+
renderItem?: PropertyValueRenderMethod<TMatcherValue>;
|
|
9
|
+
mode?: FilterMode;
|
|
10
|
+
matcher?: FilterMatcher<T, TProp, TMatcherValue>;
|
|
11
|
+
values?: TMatcherValue[];
|
|
12
|
+
name?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ItemCollection } from './ItemCollection';
|
|
2
|
+
import { Row } from '@tanstack/react-table';
|
|
3
|
+
|
|
4
|
+
export declare class Item<T> {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly data: T;
|
|
7
|
+
readonly collection: ItemCollection<T>;
|
|
8
|
+
constructor(collection: ItemCollection<T>, id: string, data: T);
|
|
9
|
+
static fromRow<T>(collection: ItemCollection<T>, row: Row<T>): Item<T>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { RenderItemFn } from './types';
|
|
3
|
+
import { default as List } from '../List';
|
|
4
|
+
|
|
5
|
+
export interface ItemViewShape<T> {
|
|
6
|
+
textValue?: (data: T) => string;
|
|
7
|
+
href?: (data: T) => string;
|
|
8
|
+
renderFn?: RenderItemFn<T>;
|
|
9
|
+
fallback?: ReactElement;
|
|
10
|
+
}
|
|
11
|
+
export declare class ItemView<T> {
|
|
12
|
+
readonly list: List<T>;
|
|
13
|
+
readonly textValue?: (data: T) => string;
|
|
14
|
+
readonly href?: (data: T) => string;
|
|
15
|
+
readonly fallback?: ReactElement;
|
|
16
|
+
private readonly renderFn?;
|
|
17
|
+
constructor(list: List<T>, shape?: ItemViewShape<T>);
|
|
18
|
+
render(data: T): ReactNode;
|
|
19
|
+
private static fallbackRenderItemFn;
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as List } from '../List';
|
|
2
|
+
import { IncrementalLoaderShape } from './types';
|
|
3
|
+
import { IncrementalLoaderState } from './IncrementalLoaderState';
|
|
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
|
+
useIsInitiallyLoading(): boolean;
|
|
17
|
+
useData(): T[];
|
|
18
|
+
getLoaderInvocationHooks(): (() => void)[];
|
|
19
|
+
private useLoadBatch;
|
|
20
|
+
private useObserveBatchLoadingState;
|
|
21
|
+
private useObserveBatchData;
|
|
22
|
+
private getDataLoaderOptions;
|
|
23
|
+
private getBatchDataAsyncResource;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
2
|
+
import { ListData } from './types';
|
|
3
|
+
|
|
4
|
+
type AsyncResourceLoadingState = AsyncResource["state"]["value"];
|
|
5
|
+
type DataBatches<T> = ListData<T>[];
|
|
6
|
+
type BatchesLoadingState = AsyncResourceLoadingState[];
|
|
7
|
+
export declare class IncrementalLoaderState<T> {
|
|
8
|
+
dataBatches: DataBatches<T>;
|
|
9
|
+
prevDataBatches: DataBatches<T>;
|
|
10
|
+
batchLoadingStates: BatchesLoadingState;
|
|
11
|
+
private constructor();
|
|
12
|
+
static useNew<T>(): IncrementalLoaderState<T>;
|
|
13
|
+
reset(): void;
|
|
14
|
+
setDataBatch(index: number, data: ListData<T>): void;
|
|
15
|
+
setBatchLoadingState(index: number, state: AsyncResourceLoadingState): void;
|
|
16
|
+
get mergedData(): T[];
|
|
17
|
+
useMergedData(): T[];
|
|
18
|
+
get isLoading(): boolean;
|
|
19
|
+
useIsLoading(): boolean;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PropertyRecord } from '../types';
|
|
2
|
+
import { FilterMode } from '../filter/types';
|
|
3
|
+
import { AsyncResource } from '@mittwald/react-use-promise';
|
|
4
|
+
import { SearchValue } from '../search/types';
|
|
5
|
+
import { DependencyList } from 'react';
|
|
6
|
+
|
|
7
|
+
type DataLoaderSortOptions<T> = PropertyRecord<T, "asc" | "desc">;
|
|
8
|
+
type DataLoaderFilterOptions<T> = PropertyRecord<T, {
|
|
9
|
+
mode: FilterMode;
|
|
10
|
+
values: unknown[];
|
|
11
|
+
}>;
|
|
12
|
+
interface DataLoaderPaginationOptions {
|
|
13
|
+
offset: number;
|
|
14
|
+
limit: number;
|
|
15
|
+
}
|
|
16
|
+
export interface DataLoaderOptions<T> {
|
|
17
|
+
sorting?: DataLoaderSortOptions<T>;
|
|
18
|
+
filtering?: DataLoaderFilterOptions<T>;
|
|
19
|
+
searchString?: SearchValue;
|
|
20
|
+
pagination?: DataLoaderPaginationOptions;
|
|
21
|
+
}
|
|
22
|
+
export type ListData<T> = readonly T[];
|
|
23
|
+
export interface DataLoaderResult<T> {
|
|
24
|
+
data: ListData<T>;
|
|
25
|
+
itemTotalCount?: number;
|
|
26
|
+
}
|
|
27
|
+
export type AsyncDataLoader<T> = (options: DataLoaderOptions<T>) => Promise<DataLoaderResult<T>>;
|
|
28
|
+
type AsyncResourceFactory<T> = (options?: DataLoaderOptions<T>) => AsyncResource<DataLoaderResult<T>>;
|
|
29
|
+
interface DynamicLoaderShape {
|
|
30
|
+
manualSorting?: boolean;
|
|
31
|
+
manualFiltering?: boolean;
|
|
32
|
+
manualPagination?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface StaticDataLoaderShape<T> {
|
|
35
|
+
staticData: ListData<T>;
|
|
36
|
+
}
|
|
37
|
+
export type AsyncResourceFactoryDataLoaderShape<T> = {
|
|
38
|
+
asyncResourceFactory: AsyncResourceFactory<T>;
|
|
39
|
+
} & DynamicLoaderShape;
|
|
40
|
+
export type AsyncDataLoaderShape<T> = {
|
|
41
|
+
asyncLoader: AsyncDataLoader<T>;
|
|
42
|
+
dependencies?: DependencyList;
|
|
43
|
+
} & DynamicLoaderShape;
|
|
44
|
+
export type DataSource<T> = StaticDataLoaderShape<T> | AsyncResourceFactoryDataLoaderShape<T> | AsyncDataLoaderShape<T>;
|
|
45
|
+
export interface IncrementalLoaderShape<T> {
|
|
46
|
+
source?: DataSource<T>;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as List } from '../List';
|
|
2
|
+
import { BatchesControllerShape } from './types';
|
|
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;
|
|
12
|
+
getVisibleItemsCount(): number;
|
|
13
|
+
updateItemTotalCount(value: number): void;
|
|
14
|
+
reset(): void;
|
|
15
|
+
nextBatch(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as List } from '../List';
|
|
2
|
+
import { SearchFieldRenderComponent, SearchShape, SearchValue } from './types';
|
|
3
|
+
|
|
4
|
+
export declare class Search<T> {
|
|
5
|
+
readonly list: List<T>;
|
|
6
|
+
readonly render?: SearchFieldRenderComponent;
|
|
7
|
+
readonly textFieldProps: SearchShape<T>["textFieldProps"];
|
|
8
|
+
private onUpdateCallbacks;
|
|
9
|
+
constructor(list: List<T>, searchShape: SearchShape<T>);
|
|
10
|
+
get value(): SearchValue;
|
|
11
|
+
get isSet(): boolean;
|
|
12
|
+
private callOnUpdateCallbacks;
|
|
13
|
+
setValue(value: SearchValue): void;
|
|
14
|
+
clear(): void;
|
|
15
|
+
onUpdated(cb: () => unknown): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { SearchFieldProps } from '../../../SearchField';
|
|
3
|
+
|
|
4
|
+
type SupportedSearchFieldProps = Pick<SearchFieldProps, "className" | "autoFocus">;
|
|
5
|
+
interface SearchFieldRenderProps extends SupportedSearchFieldProps {
|
|
6
|
+
onChange: (value: SearchValue) => unknown;
|
|
7
|
+
value: SearchValue;
|
|
8
|
+
}
|
|
9
|
+
export type SearchFieldRenderComponent = ComponentType<SearchFieldRenderProps>;
|
|
10
|
+
export type SearchValue = string | undefined;
|
|
11
|
+
export interface SearchShape<IgnoredT> {
|
|
12
|
+
render?: SearchFieldRenderComponent;
|
|
13
|
+
textFieldProps: SupportedSearchFieldProps;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Column, ColumnDef, ColumnSort, SortDirection } from '@tanstack/react-table';
|
|
2
|
+
import { default as List } from '../List';
|
|
3
|
+
import { SortingDefaultMode, SortingShape } from './types';
|
|
4
|
+
import { PropertyName } from '../types';
|
|
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: SortingDefaultMode;
|
|
12
|
+
constructor(list: List<T>, shape: SortingShape<T>);
|
|
13
|
+
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
14
|
+
getReactTableColumnSort(): ColumnSort;
|
|
15
|
+
isSorted(): boolean;
|
|
16
|
+
getTableColumn(): Column<T>;
|
|
17
|
+
enable(): void;
|
|
18
|
+
clear(): void;
|
|
19
|
+
get id(): string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SortDirection } from '@tanstack/react-table';
|
|
2
|
+
import { PropertyName } from '../types';
|
|
3
|
+
|
|
4
|
+
export type SortingDefaultMode = boolean | "hidden";
|
|
5
|
+
export interface SortingShape<T> {
|
|
6
|
+
property: PropertyName<T>;
|
|
7
|
+
name?: string;
|
|
8
|
+
direction?: SortDirection;
|
|
9
|
+
defaultEnabled?: SortingDefaultMode;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TableShape, TableSupportedComponentProps } from './types';
|
|
2
|
+
import { default as List } from '../List';
|
|
3
|
+
import { TableHeader } from './TableHeader';
|
|
4
|
+
import { TableBody } from './TableBody';
|
|
5
|
+
|
|
6
|
+
export declare class Table<T> {
|
|
7
|
+
readonly list: List<T>;
|
|
8
|
+
readonly header: TableHeader<T>;
|
|
9
|
+
readonly body: TableBody<T>;
|
|
10
|
+
readonly componentProps: TableSupportedComponentProps;
|
|
11
|
+
constructor(list: List<T>, shape?: TableShape<T>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Table } from './Table';
|
|
2
|
+
import { TableBodyShape, TableBodySupportedComponentProps } from './types';
|
|
3
|
+
import { TableRow } from './TableRow';
|
|
4
|
+
|
|
5
|
+
export declare class TableBody<T> {
|
|
6
|
+
readonly table: Table<T>;
|
|
7
|
+
readonly componentProps: TableBodySupportedComponentProps;
|
|
8
|
+
readonly row: TableRow<T>;
|
|
9
|
+
constructor(table: Table<T>, shape?: TableBodyShape<T>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RenderCellFn, TableCellShape, TableCellSupportedComponentProps } from './types';
|
|
2
|
+
import { TableRow } from './TableRow';
|
|
3
|
+
|
|
4
|
+
export declare class TableCell<T> {
|
|
5
|
+
readonly row: TableRow<T>;
|
|
6
|
+
readonly renderFn?: RenderCellFn<T>;
|
|
7
|
+
readonly componentProps: TableCellSupportedComponentProps;
|
|
8
|
+
constructor(row: TableRow<T>, shape?: TableCellShape<T>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TableColumnShape, TableColumnSupportedComponentProps } from './types';
|
|
2
|
+
import { TableHeader } from './TableHeader';
|
|
3
|
+
|
|
4
|
+
export declare class TableColumn<T> {
|
|
5
|
+
readonly tableHeader: TableHeader<T>;
|
|
6
|
+
readonly componentProps: TableColumnSupportedComponentProps;
|
|
7
|
+
constructor(tableHeader: TableHeader<T>, shape?: TableColumnShape);
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Table } from './Table';
|
|
2
|
+
import { TableHeaderShape, TableHeaderSupportedComponentProps } from './types';
|
|
3
|
+
import { TableColumn } from './TableColumn';
|
|
4
|
+
|
|
5
|
+
export declare class TableHeader<T> {
|
|
6
|
+
readonly table: Table<T>;
|
|
7
|
+
readonly componentProps: TableHeaderSupportedComponentProps;
|
|
8
|
+
readonly columns: TableColumn<T>[];
|
|
9
|
+
constructor(table: Table<T>, shape?: TableHeaderShape);
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TableRowShape, TableRowSupportedComponentProps } from './types';
|
|
2
|
+
import { TableCell } from './TableCell';
|
|
3
|
+
import { TableBody } from './TableBody';
|
|
4
|
+
import { ItemActionFn } from '../types';
|
|
5
|
+
|
|
6
|
+
export declare class TableRow<T> {
|
|
7
|
+
readonly tableBody: TableBody<T>;
|
|
8
|
+
readonly onAction?: ItemActionFn<T>;
|
|
9
|
+
readonly cells: TableCell<T>[];
|
|
10
|
+
readonly componentProps: TableRowSupportedComponentProps;
|
|
11
|
+
constructor(tableBody: TableBody<T>, shape?: TableRowShape<T>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { TableBodyProps, TableCellProps, TableColumnProps, TableHeaderProps, TableProps, TableRowProps } from '../../../Table';
|
|
3
|
+
import { ItemActionFn } from '../types';
|
|
4
|
+
|
|
5
|
+
/** Cell */
|
|
6
|
+
export type RenderCellFn<T> = (data: T) => ReactNode;
|
|
7
|
+
export type TableCellSupportedComponentProps = Omit<TableCellProps, "children">;
|
|
8
|
+
export interface TableCellShape<T> extends TableCellSupportedComponentProps {
|
|
9
|
+
renderFn?: RenderCellFn<T>;
|
|
10
|
+
}
|
|
11
|
+
/** Row */
|
|
12
|
+
export type TableRowSupportedComponentProps = Omit<TableRowProps, "onAction" | "children">;
|
|
13
|
+
export interface TableRowShape<T> extends TableRowSupportedComponentProps, PropsWithChildren {
|
|
14
|
+
cells?: TableCellShape<T>[];
|
|
15
|
+
onAction?: ItemActionFn<T>;
|
|
16
|
+
}
|
|
17
|
+
/** Column */
|
|
18
|
+
export type TableColumnSupportedComponentProps = TableColumnProps;
|
|
19
|
+
export type TableColumnShape = TableColumnSupportedComponentProps;
|
|
20
|
+
/** Header */
|
|
21
|
+
export type TableHeaderSupportedComponentProps = Omit<TableHeaderProps, "columns">;
|
|
22
|
+
export interface TableHeaderShape extends TableHeaderSupportedComponentProps {
|
|
23
|
+
columns?: TableColumnShape[];
|
|
24
|
+
}
|
|
25
|
+
/** Body */
|
|
26
|
+
export type TableBodySupportedComponentProps = TableBodyProps;
|
|
27
|
+
export interface TableBodyShape<T> extends TableBodySupportedComponentProps {
|
|
28
|
+
row?: TableRowShape<T>;
|
|
29
|
+
}
|
|
30
|
+
/** Table */
|
|
31
|
+
export type TableSupportedComponentProps = TableProps;
|
|
32
|
+
export interface TableShape<T> extends TableSupportedComponentProps {
|
|
33
|
+
header?: TableHeaderShape;
|
|
34
|
+
body?: TableBodyShape<T>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DeepKeys, DeepValue } from '@tanstack/react-table';
|
|
2
|
+
import { SortingShape } from './sorting/types';
|
|
3
|
+
import { BatchesControllerShape } from './pagination/types';
|
|
4
|
+
import { FilterShape } from './filter/types';
|
|
5
|
+
import { IncrementalLoaderShape } from './loading/types';
|
|
6
|
+
import { SearchShape } from './search/types';
|
|
7
|
+
import { ItemViewShape } from './item/ItemView';
|
|
8
|
+
import { ReactNode } from 'react';
|
|
9
|
+
import { ItemType } from '../../../lib/types/array';
|
|
10
|
+
import { default as List } from './List';
|
|
11
|
+
import { TableShape } from './table/types';
|
|
12
|
+
|
|
13
|
+
export declare const customPropertyPrefix: "$";
|
|
14
|
+
export type CustomPropertyName = `${typeof customPropertyPrefix}${string}`;
|
|
15
|
+
export type PropertyName<T> = DeepKeys<T> | CustomPropertyName;
|
|
16
|
+
export type PropertyValue<T, TProp> = TProp extends CustomPropertyName ? T : DeepValue<T, TProp>;
|
|
17
|
+
export type PropertyValueRenderMethod<TMatcherValue> = (prop: NonNullable<ItemType<TMatcherValue>>) => ReactNode;
|
|
18
|
+
export type OnListChanged<T> = (list: List<T>) => void;
|
|
19
|
+
export interface ListSupportedComponentProps {
|
|
20
|
+
"aria-labelledby"?: string;
|
|
21
|
+
"aria-label"?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ListShape<T> extends ListSupportedComponentProps {
|
|
24
|
+
loader?: IncrementalLoaderShape<T>;
|
|
25
|
+
filters?: FilterShape<T, never, never>[];
|
|
26
|
+
itemView?: ItemViewShape<T>;
|
|
27
|
+
search?: SearchShape<T>;
|
|
28
|
+
sorting?: SortingShape<T>[];
|
|
29
|
+
batchesController?: BatchesControllerShape;
|
|
30
|
+
table?: TableShape<T>;
|
|
31
|
+
onAction?: ItemActionFn<T>;
|
|
32
|
+
onChange?: OnListChanged<T>;
|
|
33
|
+
}
|
|
34
|
+
export type PropertyRecord<T, TValue> = Partial<Record<PropertyName<T>, TValue>>;
|
|
35
|
+
export type ListViewMode = "table" | "list";
|
|
36
|
+
export type ItemActionFn<T> = (data: T) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FilterShape } from '../model/filter/types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { PropertyName, PropertyValue, PropertyValueRenderMethod } from '../model/types';
|
|
4
|
+
|
|
5
|
+
type Props<T, TProp extends PropertyName<T>, TMatcherValue> = Omit<FilterShape<T, TProp, TMatcherValue>, "type" | "renderItem"> & {
|
|
6
|
+
children?: PropertyValueRenderMethod<TMatcherValue>;
|
|
7
|
+
};
|
|
8
|
+
export declare const ListFilter: <T, const TProp extends PropertyName<T> = PropertyName<T>, TMatcherValue = PropertyValue<T, TProp>>(ignoredProps: Props<T, TProp, TMatcherValue>) => null;
|
|
9
|
+
export declare const TypedListFilter: <T>() => <const TProp extends PropertyName<T>, TMatcherValue = PropertyValue<T, TProp>>(props: Props<T, TProp, TMatcherValue>) => ReactNode;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { RenderItemFn } from '../model/item/types';
|
|
3
|
+
import { ItemViewShape } from '../model/item/ItemView';
|
|
4
|
+
|
|
5
|
+
type Props<T> = Omit<ItemViewShape<T>, "renderFn"> & {
|
|
6
|
+
children: RenderItemFn<T>;
|
|
7
|
+
};
|
|
8
|
+
export declare const ListItem: <T>(ignoredProps: Props<T>) => null;
|
|
9
|
+
export declare const TypedListItem: <T>() => ComponentType<Props<T>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AsyncDataLoaderShape } from '../model/loading/types';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<AsyncDataLoaderShape<T>, "asyncLoader"> & {
|
|
5
|
+
children: AsyncDataLoaderShape<T>["asyncLoader"];
|
|
6
|
+
};
|
|
7
|
+
export declare const ListLoaderAsync: <T>(ignoredProps: Props<T>) => null;
|
|
8
|
+
export declare const TypedListLoaderAsync: <T>() => ComponentType<Props<T>>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AsyncResourceFactoryDataLoaderShape } from '../model/loading/types';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<AsyncResourceFactoryDataLoaderShape<T>, "asyncResourceFactory"> & {
|
|
5
|
+
children: AsyncResourceFactoryDataLoaderShape<T>["asyncResourceFactory"];
|
|
6
|
+
};
|
|
7
|
+
export declare const ListLoaderAsyncResource: <T>(ignoredProps: Props<T>) => null;
|
|
8
|
+
export declare const TypedListLoaderAsyncResource: <T>() => ComponentType<Props<T>>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SearchFieldRenderComponent, SearchShape } from '../model/search/types';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<SearchShape<T>, "render" | "textFieldProps"> & {
|
|
5
|
+
children?: SearchFieldRenderComponent;
|
|
6
|
+
} & SearchShape<T>["textFieldProps"];
|
|
7
|
+
export declare function ListSearch<T = never>(ignoredProps: Props<T>): null;
|
|
8
|
+
export declare const TypedListSearch: <T>() => ComponentType<Props<T>>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SortingShape } from '../model/sorting/types';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
|
|
4
|
+
type Props<T> = SortingShape<T>;
|
|
5
|
+
export declare const ListSorting: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedListSorting: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { TableShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<TableShape<T>, "header" | "body">;
|
|
5
|
+
export declare const Table: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedTable: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { TableBodyShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<IgnoredT> = TableBodyShape<IgnoredT>;
|
|
5
|
+
export declare const TableBody: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedTableBody: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { RenderCellFn, TableCellShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<TableCellShape<T>, "renderFn"> & {
|
|
5
|
+
children: RenderCellFn<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare const TableCell: <T>(ignoredProps: Props<T>) => null;
|
|
8
|
+
export declare const TypedTableCell: <T>() => ComponentType<Props<T>>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { TableColumnShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<IgnoredT> = TableColumnShape;
|
|
5
|
+
export declare const TableColumn: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedTableColumn: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { TableHeaderShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<IgnoredT> = TableHeaderShape;
|
|
5
|
+
export declare const TableHeader: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedTableHeader: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { TableRowShape } from '../model/table/types';
|
|
3
|
+
|
|
4
|
+
type Props<T> = Omit<TableRowShape<T>, "cells">;
|
|
5
|
+
export declare const TableRow: <T>(ignoredProps: Props<T>) => null;
|
|
6
|
+
export declare const TypedTableRow: <T>() => ComponentType<Props<T>>;
|
|
7
|
+
export {};
|