@mittwald/flow-react-components 0.1.0-alpha.114 → 0.1.0-alpha.116
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-BzSb2drj.js +77 -0
- package/dist/Accordion.js +1 -1
- package/dist/{Action-BoUrh0Ww.js → Action-BZHZj-BD.js} +54 -58
- package/dist/Action.js +1 -1
- package/dist/Activity-CmfZpgOM.js +28 -0
- package/dist/Avatar.js +1 -1
- package/dist/Breadcrumb.js +19 -22
- package/dist/Button-_8JcP9d1.js +116 -0
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/{Checkbox-1u78lml-.js → Checkbox-CoDeuNsM.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-D9y427qr.js → CheckboxButton-D_i7P_qt.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +3 -3
- package/dist/Content-BK2g3Yro.js +25 -0
- package/dist/Content.js +1 -1
- package/dist/{ContextMenu-BHan4xr7.js → ContextMenu-kfsMEIUy.js} +1 -1
- package/dist/ContextMenu.js +2 -2
- package/dist/CopyButton.js +5 -5
- package/dist/FieldDescription.js +2 -2
- package/dist/{FieldError-T1bvZYZU.js → FieldError-ef2wRBhJ.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/Header.js +1 -1
- package/dist/HeaderNavigation.js +16 -19
- package/dist/Heading.js +32 -28
- package/dist/{Icon-CA9DycKJ.js → Icon-DAE3MVF2.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-B834n9e-.js → IconCheck-B_TL6rk7.js} +1 -1
- package/dist/{IconCheckboxEmpty-CikjhqSs.js → IconCheckboxEmpty-9LFcjE0j.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-B-Zm2vJ0.js → IconCheckboxIndeterminate-CVt-Emyf.js} +1 -1
- package/dist/{IconChevronDown-DvDzDLHn.js → IconChevronDown-4x9PZE3A.js} +1 -1
- package/dist/{IconChevronRight-CQ4ThSCR.js → IconChevronRight-BGr3gKMc.js} +1 -1
- package/dist/{IconClose-9_7oZ-l1.js → IconClose-D5y8_cAW.js} +1 -1
- package/dist/{IconContextMenu-CdytNL-c.js → IconContextMenu-CscpZMqu.js} +1 -1
- package/dist/{IconCopy-DFsbS558.js → IconCopy-J5KCFCD0.js} +1 -1
- package/dist/{IconDanger-CGxUl9b1.js → IconDanger-Be-8YO4Z.js} +1 -1
- package/dist/{IconPending-CuhW_8N8.js → IconPending-UvsvM-yo.js} +1 -1
- package/dist/{IconPlus-DEihhQUA.js → IconPlus-BZ0ojVn-.js} +1 -1
- package/dist/{IconRadioOn-B41C-1Km.js → IconRadioOn-DKF0Bkmh.js} +1 -1
- package/dist/{IconSucceeded-DHtj6r9L.js → IconSucceeded-C8ICBiWF.js} +1 -1
- package/dist/{IconWarning-BqRmeHaF.js → IconWarning-D4N03eMl.js} +1 -1
- package/dist/Icons.js +15 -15
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/{Label-4tBbBXkh.js → Label-u7aknIoq.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/Link-DGmaq49u.js +51 -0
- package/dist/Link.js +1 -1
- package/dist/List.js +9 -9
- package/dist/{LoadingSpinner-CQKhFNdn.js → LoadingSpinner-DdxaPznB.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-D0wwxHmB.js → MenuItem-D4OlNY0-.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +1 -1
- package/dist/Navigation.js +13 -11
- package/dist/NumberField.js +6 -6
- package/dist/OffCanvas.js +4 -4
- package/dist/OverlayTrigger.js +1 -1
- package/dist/RadioGroup.js +5 -5
- package/dist/Section.js +20 -18
- package/dist/Select.js +4 -4
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-4FlAQF3p.js → StatusIcon-bhiGnLh6.js} +3 -3
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +93 -78
- package/dist/{Text-D94bUNze.js → Text-CMf42YK8.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-DLi7NvGk.js → TextFieldBase-DFFlaU7o.js} +1 -1
- package/dist/{flowComponent-MjC63Rjp.js → flowComponent-D-odaa-x.js} +1 -1
- package/dist/react-hook-form.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Accordion/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Accordion/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Action/Action.d.ts +2 -2
- package/dist/types/components/Action/lib/execution/useActionController.d.ts +2 -2
- package/dist/types/components/Action/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +1 -1
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +3 -2
- package/dist/types/components/Breadcrumb/components/BreadcrumbItem/BreadcrumbItem.d.ts +1 -2
- package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts +3 -2
- package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +2 -3
- package/dist/types/components/Button/stories/Default.stories.d.ts +1 -2
- package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Button/stories/States.stories.d.ts +1 -1
- package/dist/types/components/Button/stories/Variants.stories.d.ts +7 -1
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/types/components/ButtonGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Checkbox/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CheckboxButton/CheckboxButton.d.ts +2 -2
- package/dist/types/components/CheckboxButton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/CheckboxButton/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +2 -2
- package/dist/types/components/CheckboxGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +1 -1
- package/dist/types/components/ColumnLayout/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Content/Content.d.ts +3 -3
- package/dist/types/components/Content/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +3 -3
- package/dist/types/components/ContextMenu/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ContextMenu/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/CopyButton/CopyButton.d.ts +2 -2
- package/dist/types/components/CopyButton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +1 -2
- package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/FieldDescription/FieldDescription.d.ts +2 -2
- package/dist/types/components/FieldError/FieldError.d.ts +1 -1
- package/dist/types/components/Header/Header.d.ts +2 -2
- package/dist/types/components/Header/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +3 -2
- package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts +3 -2
- package/dist/types/components/Heading/Heading.d.ts +3 -1
- package/dist/types/components/Heading/stories/Default.stories.d.ts +3 -1
- package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Heading/stories/Levels.stories.d.ts +1 -1
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconApp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconBackup.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheck.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxEmpty.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCheckboxIndeterminate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconClose.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCode.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconContextMenu.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCopy.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDanger.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDelete.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconDomain.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconEmail.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconFailed.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconFilter.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconHide.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconHome.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconInbox.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconInfo.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconListView.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconLogout.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMember.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMenu.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMinus.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconMittwald.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconNotification.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconPending.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconPlus.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconProject.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRadioOff.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRadioOn.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconRandom.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSave.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSearch.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconServer.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSettings.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconShare.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconShow.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSorting.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOff.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSpamProtectionOn.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconSupport.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTileView.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconTime.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconWarning.d.ts +1 -1
- package/dist/types/components/Icon/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Icon/stories/Sizes.stories.d.ts +1 -1
- package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Image/Image.d.ts +1 -1
- package/dist/types/components/Image/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Initials/Initials.d.ts +2 -2
- package/dist/types/components/Initials/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +2 -2
- package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/InlineCode/InlineCode.d.ts +1 -2
- package/dist/types/components/InlineCode/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Label/Label.d.ts +1 -1
- package/dist/types/components/Label/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/LabeledValue/LabeledValue.d.ts +1 -1
- package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/LayoutCard/LayoutCard.d.ts +2 -2
- package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +4 -2
- package/dist/types/components/Link/stories/Default.stories.d.ts +3 -1
- package/dist/types/components/Link/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/List/components/Footer/PaginationInfos/PaginationInfos.d.ts +1 -1
- package/dist/types/components/List/components/Footer/ShowNextBatchButton/ShowNextBatchButton.d.ts +1 -1
- package/dist/types/components/List/components/Header/FilterPicker/FilterPicker.d.ts +2 -2
- package/dist/types/components/List/components/Header/Header/Header.d.ts +2 -3
- package/dist/types/components/List/components/Header/ListFilter.d.ts +1 -2
- package/dist/types/components/List/components/Header/SortingPickerItem/SortingPickerItem.d.ts +2 -2
- package/dist/types/components/List/components/Items/Item/FallbackRenderer.d.ts +1 -1
- package/dist/types/components/List/components/Items/Item/Item.d.ts +1 -2
- package/dist/types/components/List/components/Items/ItemList/ItemList.d.ts +2 -3
- package/dist/types/components/List/components/Items/OptionsButton/OptionsButton.d.ts +1 -1
- package/dist/types/components/List/listContext.d.ts +1 -1
- package/dist/types/components/List/model/List.d.ts +9 -9
- package/dist/types/components/List/model/ReactTable.d.ts +2 -2
- package/dist/types/components/List/model/filter/Filter.d.ts +4 -4
- package/dist/types/components/List/model/item/Item.d.ts +2 -2
- package/dist/types/components/List/model/item/ItemCollection.d.ts +1 -1
- package/dist/types/components/List/model/loading/IncrementalLoader.d.ts +3 -3
- package/dist/types/components/List/model/loading/IncrementalLoaderState.d.ts +1 -1
- package/dist/types/components/List/model/loading/types.d.ts +4 -4
- package/dist/types/components/List/model/pagination/BatchesController.d.ts +1 -1
- package/dist/types/components/List/model/sorting/Sorting.d.ts +3 -3
- package/dist/types/components/List/model/sorting/types.d.ts +1 -1
- package/dist/types/components/List/model/types.d.ts +4 -4
- package/dist/types/components/List/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/List/stories/ListItem.stories.d.ts +1 -1
- package/dist/types/components/List/testData/domainApi.d.ts +2 -2
- package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts +1 -1
- package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.d.ts +1 -1
- package/dist/types/components/Modal/Modal.d.ts +2 -2
- package/dist/types/components/Modal/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Modal/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Navigation/Navigation.d.ts +1 -1
- package/dist/types/components/Navigation/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/NumberField/NumberField.d.ts +1 -1
- package/dist/types/components/NumberField/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/OffCanvas/OffCanvas.d.ts +1 -1
- package/dist/types/components/OffCanvas/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Overlay/Overlay.d.ts +1 -1
- package/dist/types/components/Overlay/components/OverlayTrigger/OverlayTrigger.d.ts +1 -2
- package/dist/types/components/Popover/Popover.d.ts +1 -2
- package/dist/types/components/Popover/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/ProgressBar/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +1 -1
- package/dist/types/components/RadioGroup/components/RadioButton/RadioButton.d.ts +2 -2
- package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Section/Section.d.ts +4 -3
- package/dist/types/components/Section/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Section/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +2 -2
- package/dist/types/components/Select/components/Option/Option.d.ts +1 -1
- package/dist/types/components/Select/components/Options/Options.d.ts +2 -3
- package/dist/types/components/Select/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Select/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Skeleton/Skeleton.d.ts +1 -2
- package/dist/types/components/Skeleton/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/StatusBadge.d.ts +2 -2
- package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +1 -1
- package/dist/types/components/StatusIcon/StatusIcon.d.ts +2 -2
- package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Switch/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabTitle/TabTitleCollapsed.d.ts +1 -1
- package/dist/types/components/Tabs/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tabs/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Text/Text.d.ts +2 -2
- package/dist/types/components/Text/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/TextArea/TextArea.d.ts +2 -2
- package/dist/types/components/TextArea/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/TextField/TextField.d.ts +2 -2
- package/dist/types/components/TextField/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -2
- package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +1 -2
- package/dist/types/components/Tooltip/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/propTypes/index.d.ts +32 -30
- package/dist/types/integrations/react-hook-form/components/Controller/Controller.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/components/Controller/stories/Default.stories.d.ts +1 -1
- package/dist/types/integrations/react-hook-form/components/Form/Form.d.ts +1 -1
- package/dist/types/lib/childProps/ChildPropsContextProvider.d.ts +1 -1
- package/dist/types/lib/componentFactory/flowComponent.d.ts +2 -2
- package/dist/types/lib/dev/storyBackgrounds.d.ts +14 -0
- package/dist/types/lib/promises/callFunctionsInOrder.d.ts +1 -1
- package/dist/types/lib/propsContext/ClearPropsContext.d.ts +1 -2
- package/dist/types/lib/propsContext/PropsContextProvider.d.ts +1 -1
- package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +1 -1
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +1 -1
- package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts +2 -2
- package/dist/types/lib/propsContext/propsContext.d.ts +1 -0
- package/dist/types/lib/propsContext/types.d.ts +1 -1
- package/dist/types/lib/react/components/Translate/Translate.d.ts +1 -1
- package/dist/types/lib/react/deepFindOfType.d.ts +1 -1
- package/dist/{useProps-CjWcmgf3.js → useProps-L-mDIVx4.js} +1 -0
- package/package.json +34 -34
- package/dist/Accordion-c-zskOK4.js +0 -76
- package/dist/Button-DcXbM73F.js +0 -117
- package/dist/Content-DT3Soml6.js +0 -23
- package/dist/Link-C9hXxA2A.js +0 -48
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e, { useState as E, useId as a } from "react";
|
|
4
|
+
import I from "clsx";
|
|
5
|
+
import "./propsContext-CauylOgH.js";
|
|
6
|
+
import { P as N } from "./PropsContextProvider-DZvwqHLP.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "remeda";
|
|
9
|
+
import { d } from "./dynamic-ClpUSmEt.js";
|
|
10
|
+
import { B as w } from "./Button-_8JcP9d1.js";
|
|
11
|
+
import "@tabler/icons-react";
|
|
12
|
+
import "./Icon-DAE3MVF2.js";
|
|
13
|
+
import { I as y } from "./IconChevronDown-4x9PZE3A.js";
|
|
14
|
+
import { TunnelProvider as B, TunnelExit as C } from "@mittwald/react-tunnel";
|
|
15
|
+
import { A as P } from "./Activity-CmfZpgOM.js";
|
|
16
|
+
const A = "flow--accordion", b = "flow--accordion--header", g = "flow--accordion--header-button", D = "flow--accordion--content", T = "flow--accordion--content-inner", H = "flow--accordion--chevron", L = "flow--accordion--expanded", n = {
|
|
17
|
+
accordion: A,
|
|
18
|
+
header: b,
|
|
19
|
+
headerButton: g,
|
|
20
|
+
content: D,
|
|
21
|
+
contentInner: T,
|
|
22
|
+
chevron: H,
|
|
23
|
+
expanded: L
|
|
24
|
+
}, U = (s) => {
|
|
25
|
+
const { children: i, className: l, defaultExpanded: m = !1, ...p } = s, [t, h] = E(m), f = I(
|
|
26
|
+
n.accordion,
|
|
27
|
+
t && n.expanded,
|
|
28
|
+
l
|
|
29
|
+
), u = a(), r = a(), c = (o) => /* @__PURE__ */ e.createElement(
|
|
30
|
+
w,
|
|
31
|
+
{
|
|
32
|
+
unstyled: !0,
|
|
33
|
+
"aria-expanded": t,
|
|
34
|
+
className: n.headerButton,
|
|
35
|
+
onPress: () => h((v) => !v),
|
|
36
|
+
"aria-controls": r
|
|
37
|
+
},
|
|
38
|
+
o,
|
|
39
|
+
/* @__PURE__ */ e.createElement(y, { className: n.chevron })
|
|
40
|
+
), x = {
|
|
41
|
+
Content: {
|
|
42
|
+
className: n.contentInner,
|
|
43
|
+
tunnelId: "content"
|
|
44
|
+
},
|
|
45
|
+
Heading: {
|
|
46
|
+
className: n.header,
|
|
47
|
+
level: 4,
|
|
48
|
+
children: d((o) => c(o.children))
|
|
49
|
+
},
|
|
50
|
+
Label: {
|
|
51
|
+
className: n.header,
|
|
52
|
+
children: d((o) => c(o.children))
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return /* @__PURE__ */ e.createElement("div", { ...p, className: f }, /* @__PURE__ */ e.createElement(
|
|
56
|
+
N,
|
|
57
|
+
{
|
|
58
|
+
mergeInParentContext: !0,
|
|
59
|
+
props: x,
|
|
60
|
+
dependencies: [t]
|
|
61
|
+
},
|
|
62
|
+
/* @__PURE__ */ e.createElement(B, null, i, /* @__PURE__ */ e.createElement(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
"aria-labelledby": u,
|
|
66
|
+
id: r,
|
|
67
|
+
role: "region",
|
|
68
|
+
hidden: !t,
|
|
69
|
+
className: n.content
|
|
70
|
+
},
|
|
71
|
+
/* @__PURE__ */ e.createElement(P, { isActive: t, inactiveDelay: 1e3 }, /* @__PURE__ */ e.createElement(C, { id: "content" }))
|
|
72
|
+
))
|
|
73
|
+
));
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
U as A
|
|
77
|
+
};
|
package/dist/Accordion.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
var S = Object.defineProperty;
|
|
4
|
-
var
|
|
5
|
-
var f = (t, e, n) => (
|
|
6
|
-
import a, { useRef as
|
|
4
|
+
var C = (t, e, n) => e in t ? S(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
5
|
+
var f = (t, e, n) => (C(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
6
|
+
import a, { useRef as E, useState as D, useEffect as g } from "react";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
|
-
import { P
|
|
8
|
+
import { P } from "./PropsContextProvider-DZvwqHLP.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { TunnelProvider as
|
|
14
|
-
import { makeObservable as
|
|
15
|
-
import { u as
|
|
16
|
-
const
|
|
11
|
+
import { u as w, O as x } from "./index-0qLHBjoi.js";
|
|
12
|
+
import { u as O, A as M } from "./context-DJetA3qV.js";
|
|
13
|
+
import { TunnelProvider as R, TunnelExit as B } from "@mittwald/react-tunnel";
|
|
14
|
+
import { makeObservable as I, observable as T, action as N } from "mobx";
|
|
15
|
+
import { u as $ } from "./useSelector-DpU7_HMO.js";
|
|
16
|
+
const b = (t) => (...e) => {
|
|
17
17
|
const n = [...t], s = n.shift();
|
|
18
18
|
if (s) {
|
|
19
|
-
const o = s(...e), r = () => n.length === 0 ? o :
|
|
19
|
+
const o = s(...e), r = () => n.length === 0 ? o : b(n)(...e);
|
|
20
20
|
return o instanceof Promise ? o.then(r) : r();
|
|
21
21
|
}
|
|
22
|
-
},
|
|
23
|
-
function
|
|
24
|
-
return !!t && t instanceof Error && t.message ===
|
|
22
|
+
}, F = "flowBreakActionMarker";
|
|
23
|
+
function G(t) {
|
|
24
|
+
return !!t && t instanceof Error && t.message === F;
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
throw new Error(
|
|
28
|
-
},
|
|
26
|
+
const H = () => {
|
|
27
|
+
throw new Error(F);
|
|
28
|
+
}, k = {
|
|
29
29
|
pending: 1e3,
|
|
30
30
|
succeeded: 1500,
|
|
31
31
|
failed: 2e3
|
|
32
32
|
};
|
|
33
|
-
class
|
|
33
|
+
class L {
|
|
34
34
|
constructor(e, n, s = {}) {
|
|
35
35
|
f(this, "options");
|
|
36
36
|
f(this, "state");
|
|
@@ -46,7 +46,7 @@ class H {
|
|
|
46
46
|
this.state = e, this.args = n, this.options = { resetAfterDone: o, onFeedbackDone: r, showFeedback: l };
|
|
47
47
|
}
|
|
48
48
|
onAsyncStart() {
|
|
49
|
-
this.options.showFeedback = !0, this.state.updateState("isExecuting"), setTimeout(() => this.startPending(),
|
|
49
|
+
this.options.showFeedback = !0, this.state.updateState("isExecuting"), setTimeout(() => this.startPending(), k.pending);
|
|
50
50
|
}
|
|
51
51
|
onSucceeded() {
|
|
52
52
|
this.onDone();
|
|
@@ -55,10 +55,10 @@ class H {
|
|
|
55
55
|
this.error = e ?? new Error("Unknown error"), console.error(e), this.onDone();
|
|
56
56
|
}
|
|
57
57
|
startFailedFeedback() {
|
|
58
|
-
|
|
58
|
+
G(this.error) ? this.resetAfterDone() : (this.state.updateState("isFailed"), setTimeout(() => this.resetAfterDone(), k.failed));
|
|
59
59
|
}
|
|
60
60
|
startSucceededFeedback() {
|
|
61
|
-
this.state.updateState("isSucceeded"), setTimeout(() => this.resetAfterDone(),
|
|
61
|
+
this.state.updateState("isSucceeded"), setTimeout(() => this.resetAfterDone(), k.succeeded);
|
|
62
62
|
}
|
|
63
63
|
resetAfterDone() {
|
|
64
64
|
this.options.resetAfterDone && this.state.updateState("isIdle"), this.error || this.options.onFeedbackDone(...this.args);
|
|
@@ -70,46 +70,42 @@ class H {
|
|
|
70
70
|
this.isDone || this.state.updateState("isPending");
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
class
|
|
73
|
+
class v {
|
|
74
74
|
constructor() {
|
|
75
75
|
f(this, "state", "isIdle");
|
|
76
|
-
|
|
77
|
-
state:
|
|
78
|
-
updateState:
|
|
76
|
+
I(this, {
|
|
77
|
+
state: T,
|
|
78
|
+
updateState: N
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
static useNew() {
|
|
82
|
-
return
|
|
82
|
+
return E(new v()).current;
|
|
83
83
|
}
|
|
84
84
|
updateState(e) {
|
|
85
85
|
this.state = e;
|
|
86
86
|
}
|
|
87
87
|
useState() {
|
|
88
|
-
return
|
|
88
|
+
return $(() => this.state, [this]);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
const
|
|
92
|
-
},
|
|
91
|
+
const U = () => {
|
|
92
|
+
}, j = (t) => {
|
|
93
93
|
const {
|
|
94
94
|
action: e,
|
|
95
95
|
toggleOverlay: n,
|
|
96
96
|
openOverlay: s,
|
|
97
97
|
closeOverlay: o,
|
|
98
98
|
break: r
|
|
99
|
-
} = t, l =
|
|
100
|
-
return e || (n ? i(n).toggle : s ? i(s).open : o ? i(o).close : r ?
|
|
101
|
-
},
|
|
99
|
+
} = t, l = w(), i = (h) => typeof h == "boolean" ? l : h;
|
|
100
|
+
return e || (n ? i(n).toggle : s ? i(s).open : o ? i(o).close : r ? H : U);
|
|
101
|
+
}, m = () => {
|
|
102
|
+
}, q = (t, e = {}) => {
|
|
102
103
|
const {
|
|
103
|
-
onSync: n =
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
catch: r = () => {
|
|
110
|
-
},
|
|
111
|
-
finally: l = () => {
|
|
112
|
-
}
|
|
104
|
+
onSync: n = m,
|
|
105
|
+
onAsync: s = m,
|
|
106
|
+
then: o = m,
|
|
107
|
+
catch: r = m,
|
|
108
|
+
finally: l = m
|
|
113
109
|
} = e;
|
|
114
110
|
try {
|
|
115
111
|
const i = t();
|
|
@@ -117,25 +113,25 @@ const L = () => {
|
|
|
117
113
|
} catch (i) {
|
|
118
114
|
n(), r(i), l();
|
|
119
115
|
}
|
|
120
|
-
},
|
|
121
|
-
const { isConfirmationAction: e, showFeedback: n } = t, s =
|
|
116
|
+
}, z = (t) => {
|
|
117
|
+
const { isConfirmationAction: e, showFeedback: n } = t, s = j(t), o = O(), r = v.useNew(), l = !e, i = e ? void 0 : o, h = e ? o : void 0, u = b([s, i]);
|
|
122
118
|
return {
|
|
123
119
|
callAction: (...c) => {
|
|
124
|
-
const
|
|
120
|
+
const p = new L(r, c, {
|
|
125
121
|
onFeedbackDone: h,
|
|
126
122
|
resetAfterDone: l,
|
|
127
123
|
showFeedback: n
|
|
128
124
|
});
|
|
129
|
-
return
|
|
130
|
-
onAsync: () =>
|
|
131
|
-
then: () =>
|
|
132
|
-
catch: (
|
|
125
|
+
return q(u, {
|
|
126
|
+
onAsync: () => p.onAsyncStart(),
|
|
127
|
+
then: () => p.onSucceeded(),
|
|
128
|
+
catch: (y) => p.onFailed(y)
|
|
133
129
|
});
|
|
134
130
|
},
|
|
135
131
|
state: r
|
|
136
132
|
};
|
|
137
|
-
},
|
|
138
|
-
const [e, n] =
|
|
133
|
+
}, A = (t) => {
|
|
134
|
+
const [e, n] = D(!1), s = x.useNew(), o = z(t), r = e ? s.open : o.callAction, h = {
|
|
139
135
|
Link: {
|
|
140
136
|
onPress: r
|
|
141
137
|
},
|
|
@@ -159,7 +155,7 @@ const L = () => {
|
|
|
159
155
|
tunnelId: "outsideActionProvider",
|
|
160
156
|
render: (u, d) => {
|
|
161
157
|
const c = d.slot === "actionConfirm";
|
|
162
|
-
return
|
|
158
|
+
return g(() => {
|
|
163
159
|
if (c)
|
|
164
160
|
return n(!0), () => {
|
|
165
161
|
n(!1);
|
|
@@ -170,23 +166,23 @@ const L = () => {
|
|
|
170
166
|
Button: {
|
|
171
167
|
render: (u, d) => {
|
|
172
168
|
const { color: c } = d;
|
|
173
|
-
return c === "secondary" ? /* @__PURE__ */ a.createElement(
|
|
169
|
+
return c === "secondary" ? /* @__PURE__ */ a.createElement(A, { break: !0 }, /* @__PURE__ */ a.createElement(A, { closeOverlay: !0 }, /* @__PURE__ */ a.createElement(u, { ...d }))) : /* @__PURE__ */ a.createElement(A, { closeOverlay: !0 }, /* @__PURE__ */ a.createElement(A, { ...t, isConfirmationAction: !0 }, /* @__PURE__ */ a.createElement(u, { ...d })));
|
|
174
170
|
}
|
|
175
171
|
}
|
|
176
172
|
}
|
|
177
173
|
}
|
|
178
174
|
};
|
|
179
|
-
return /* @__PURE__ */ a.createElement(
|
|
180
|
-
|
|
175
|
+
return /* @__PURE__ */ a.createElement(R, null, /* @__PURE__ */ a.createElement(
|
|
176
|
+
P,
|
|
181
177
|
{
|
|
182
178
|
props: h,
|
|
183
179
|
dependencies: [e],
|
|
184
180
|
mergeInParentContext: !0
|
|
185
181
|
},
|
|
186
|
-
/* @__PURE__ */ a.createElement(
|
|
187
|
-
/* @__PURE__ */ a.createElement(
|
|
182
|
+
/* @__PURE__ */ a.createElement(M, { value: r }, t.children),
|
|
183
|
+
/* @__PURE__ */ a.createElement(B, { id: "outsideActionProvider" })
|
|
188
184
|
));
|
|
189
185
|
};
|
|
190
186
|
export {
|
|
191
|
-
|
|
187
|
+
A
|
|
192
188
|
};
|
package/dist/Action.js
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import n, { lazy as a, useState as m, useEffect as f, Suspense as v } from "react";
|
|
4
|
+
import { useIsSSR as S } from "react-aria";
|
|
5
|
+
const A = new Promise(
|
|
6
|
+
() => {
|
|
7
|
+
}
|
|
8
|
+
), p = a(() => A), E = (c) => {
|
|
9
|
+
const { children: s, isActive: e = !0, inactiveDelay: t } = c, [o, i] = m(e), l = S();
|
|
10
|
+
f(() => {
|
|
11
|
+
if (t)
|
|
12
|
+
if (e)
|
|
13
|
+
i(!0);
|
|
14
|
+
else {
|
|
15
|
+
const u = setTimeout(() => {
|
|
16
|
+
i(!1);
|
|
17
|
+
}, t);
|
|
18
|
+
return () => {
|
|
19
|
+
clearTimeout(u);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}, [e, t]);
|
|
23
|
+
const r = t ? o : e;
|
|
24
|
+
return l ? r ? s : null : /* @__PURE__ */ n.createElement(v, { fallback: null }, s, !r && /* @__PURE__ */ n.createElement(p, null));
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
E as A
|
|
28
|
+
};
|
package/dist/Avatar.js
CHANGED
|
@@ -4,7 +4,7 @@ import i, { isValidElement as v } from "react";
|
|
|
4
4
|
import m from "clsx";
|
|
5
5
|
import { C as p } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
6
|
import { P as c } from "./PropsContextProvider-DZvwqHLP.js";
|
|
7
|
-
import { u as f } from "./useProps-
|
|
7
|
+
import { u as f } from "./useProps-L-mDIVx4.js";
|
|
8
8
|
import { hash as w } from "object-code";
|
|
9
9
|
import { deepForEach as z } from "react-children-utilities";
|
|
10
10
|
const d = "flow--avatar", h = "flow--avatar--icon", u = "flow--avatar--initials", r = {
|
package/dist/Breadcrumb.js
CHANGED
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
3
|
+
import r from "react";
|
|
4
4
|
import * as m from "react-aria-components";
|
|
5
|
-
import
|
|
5
|
+
import a from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as u } from "./IconChevronRight-
|
|
7
|
+
import "./Icon-DAE3MVF2.js";
|
|
8
|
+
import { I as u } from "./IconChevronRight-BGr3gKMc.js";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
10
|
import { P as p } from "./PropsContextProvider-DZvwqHLP.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
12
12
|
import "remeda";
|
|
13
|
-
const f = "flow--breadcrumb",
|
|
13
|
+
const f = "flow--breadcrumb", k = "flow--breadcrumb--link", h = "flow--breadcrumb--breadcrumb-item", N = "flow--breadcrumb--icon", w = "flow--breadcrumb--dark", E = "flow--breadcrumb--light", e = {
|
|
14
14
|
breadcrumb: f,
|
|
15
|
-
link:
|
|
16
|
-
breadcrumbItem:
|
|
17
|
-
icon:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
n && r.inverse,
|
|
26
|
-
c
|
|
27
|
-
), l = {
|
|
15
|
+
link: k,
|
|
16
|
+
breadcrumbItem: h,
|
|
17
|
+
icon: N,
|
|
18
|
+
dark: w,
|
|
19
|
+
light: E
|
|
20
|
+
}, I = (t) => {
|
|
21
|
+
const { children: o } = t, c = a(e.breadcrumbItem);
|
|
22
|
+
return /* @__PURE__ */ r.createElement(m.Breadcrumb, { className: c }, o, /* @__PURE__ */ r.createElement(u, { size: "s", className: e.icon }));
|
|
23
|
+
}, A = (t) => {
|
|
24
|
+
const { children: o, className: c, color: s = "primary", ...n } = t, l = a(e.breadcrumb, e[s], c), b = {
|
|
28
25
|
Link: {
|
|
29
|
-
render: (
|
|
26
|
+
render: (i, d) => /* @__PURE__ */ r.createElement(I, null, /* @__PURE__ */ r.createElement(i, { ...d, unstyled: !0, className: e.link }))
|
|
30
27
|
}
|
|
31
28
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ r.createElement(m.Breadcrumbs, { ...n, className: l }, /* @__PURE__ */ r.createElement(p, { props: b }, o));
|
|
33
30
|
};
|
|
34
31
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
A as Breadcrumb,
|
|
33
|
+
A as default
|
|
37
34
|
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import o, { useEffect as x } from "react";
|
|
4
|
+
import * as F from "react-aria-components";
|
|
5
|
+
import E from "clsx";
|
|
6
|
+
import { C as y } from "./ClearPropsContext-CeCMjUK9.js";
|
|
7
|
+
import { P as h } from "./PropsContextProvider-DZvwqHLP.js";
|
|
8
|
+
import "@react-aria/utils";
|
|
9
|
+
import "./propsContext-CauylOgH.js";
|
|
10
|
+
import "remeda";
|
|
11
|
+
import "@tabler/icons-react";
|
|
12
|
+
import "./Icon-DAE3MVF2.js";
|
|
13
|
+
import { I as C, a as I } from "./IconSucceeded-C8ICBiWF.js";
|
|
14
|
+
import { W as u } from "./Wrap-DGT1h1o3.js";
|
|
15
|
+
import { T as N } from "./Text-CMf42YK8.js";
|
|
16
|
+
import { f as k } from "./flowComponent-D-odaa-x.js";
|
|
17
|
+
import { L as A } from "./LoadingSpinner-DdxaPznB.js";
|
|
18
|
+
import { useLocalizedStringFormatter as D } from "react-aria";
|
|
19
|
+
import { useLiveRegion as T } from "@chakra-ui/live-region";
|
|
20
|
+
const z = "flow--button", B = "flow--button--content", L = "flow--button--state-icon", R = "flow--button--avatar", K = "flow--button--icon", U = "flow--button--text", W = "flow--button--is-succeeded", $ = "flow--button--is-failed", j = "flow--button--is-pending", q = "flow--button--plain", G = "flow--button--primary", H = "flow--button--solid", J = "flow--button--aria-disabled", M = "flow--button--accent", O = "flow--button--danger", Q = "flow--button--secondary", V = "flow--button--dark", X = "flow--button--light", Y = "flow--button--soft", t = {
|
|
21
|
+
button: z,
|
|
22
|
+
content: B,
|
|
23
|
+
stateIcon: L,
|
|
24
|
+
avatar: R,
|
|
25
|
+
icon: K,
|
|
26
|
+
text: U,
|
|
27
|
+
isSucceeded: W,
|
|
28
|
+
isFailed: $,
|
|
29
|
+
isPending: j,
|
|
30
|
+
plain: q,
|
|
31
|
+
"size-s": "flow--button--size-s",
|
|
32
|
+
primary: G,
|
|
33
|
+
solid: H,
|
|
34
|
+
ariaDisabled: J,
|
|
35
|
+
accent: M,
|
|
36
|
+
danger: O,
|
|
37
|
+
secondary: Q,
|
|
38
|
+
dark: V,
|
|
39
|
+
light: X,
|
|
40
|
+
soft: Y
|
|
41
|
+
}, Z = {
|
|
42
|
+
"de-DE": {
|
|
43
|
+
"action.isFailed": "Fehlgeschlagen",
|
|
44
|
+
"action.isPending": "Ausstehend...",
|
|
45
|
+
"action.isSucceeded": "Erfolgreich"
|
|
46
|
+
},
|
|
47
|
+
"en-EN": {
|
|
48
|
+
"action.isFailed": "Failed",
|
|
49
|
+
"action.isPending": "Pending...",
|
|
50
|
+
"action.isSucceeded": "Succeeded"
|
|
51
|
+
}
|
|
52
|
+
}, _ = (e, d = {}) => {
|
|
53
|
+
const i = D(Z), {
|
|
54
|
+
isPendingText: a = i.format("action.isPending"),
|
|
55
|
+
isSucceededText: c = i.format("action.isSucceeded"),
|
|
56
|
+
isFailedText: s = i.format("action.isFailed")
|
|
57
|
+
} = d, n = T({
|
|
58
|
+
"aria-live": "polite",
|
|
59
|
+
"aria-atomic": !1,
|
|
60
|
+
"aria-relevant": "text additions",
|
|
61
|
+
role: "status"
|
|
62
|
+
});
|
|
63
|
+
x(() => {
|
|
64
|
+
e === "isPending" ? n.speak(a) : e === "isSucceeded" ? n.speak(c) : e === "isFailed" && n.speak(s);
|
|
65
|
+
}, [e]);
|
|
66
|
+
}, ee = (e) => ((e.isPending || e.isSucceeded || e.isFailed || e["aria-disabled"]) && (e = { ...e }, e.onPress = void 0, e.onPressStart = void 0, e.onPressEnd = void 0, e.onPressChange = void 0, e.onPressUp = void 0, e.onKeyDown = void 0, e.onKeyUp = void 0), e), we = k("Button", (e) => {
|
|
67
|
+
e = ee(e);
|
|
68
|
+
const {
|
|
69
|
+
color: d = "primary",
|
|
70
|
+
variant: i = "solid",
|
|
71
|
+
children: a,
|
|
72
|
+
className: c,
|
|
73
|
+
size: s = "m",
|
|
74
|
+
isPending: n,
|
|
75
|
+
isSucceeded: r,
|
|
76
|
+
isFailed: l,
|
|
77
|
+
"aria-disabled": b,
|
|
78
|
+
ref: g,
|
|
79
|
+
unstyled: m,
|
|
80
|
+
...P
|
|
81
|
+
} = e, w = m ? c : E(
|
|
82
|
+
t.button,
|
|
83
|
+
n && t.isPending,
|
|
84
|
+
r && t.isSucceeded,
|
|
85
|
+
l && t.isFailed,
|
|
86
|
+
t[`size-${s}`],
|
|
87
|
+
t[d],
|
|
88
|
+
t[i],
|
|
89
|
+
c,
|
|
90
|
+
/**
|
|
91
|
+
* Workaround warning: The Aria.Button does not support "aria-disabled"
|
|
92
|
+
* by now, so this Button will be visually disabled via CSS.
|
|
93
|
+
*/
|
|
94
|
+
b && t.ariaDisabled
|
|
95
|
+
);
|
|
96
|
+
_(
|
|
97
|
+
n ? "isPending" : r ? "isSucceeded" : l ? "isFailed" : "isIdle"
|
|
98
|
+
);
|
|
99
|
+
const v = {
|
|
100
|
+
Icon: {
|
|
101
|
+
className: t.icon,
|
|
102
|
+
"aria-hidden": !0,
|
|
103
|
+
size: s
|
|
104
|
+
},
|
|
105
|
+
Text: {
|
|
106
|
+
className: t.text
|
|
107
|
+
},
|
|
108
|
+
Avatar: {
|
|
109
|
+
className: t.avatar
|
|
110
|
+
}
|
|
111
|
+
}, f = r ? C : l ? I : n ? A : void 0, p = f && /* @__PURE__ */ o.createElement(f, { size: s, className: t.stateIcon }), S = typeof a == "string";
|
|
112
|
+
return /* @__PURE__ */ o.createElement(y, null, /* @__PURE__ */ o.createElement(F.Button, { className: w, ref: g, ...P }, /* @__PURE__ */ o.createElement(h, { props: v }, /* @__PURE__ */ o.createElement(u, { if: !m }, /* @__PURE__ */ o.createElement("span", { className: t.content }, /* @__PURE__ */ o.createElement(u, { if: S }, /* @__PURE__ */ o.createElement(N, null, a))))), p));
|
|
113
|
+
});
|
|
114
|
+
export {
|
|
115
|
+
we as B
|
|
116
|
+
};
|
package/dist/Button.js
CHANGED
package/dist/ButtonGroup.js
CHANGED
|
@@ -8,7 +8,7 @@ import "./propsContext-CauylOgH.js";
|
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d as i } from "./dynamic-ClpUSmEt.js";
|
|
10
10
|
import r from "clsx";
|
|
11
|
-
import { f as b } from "./flowComponent-
|
|
11
|
+
import { f as b } from "./flowComponent-D-odaa-x.js";
|
|
12
12
|
const d = "flow--button-group--button-group-container", f = "flow--button-group", C = "flow--button-group--button", G = "flow--button-group--secondary", t = {
|
|
13
13
|
buttonGroupContainer: d,
|
|
14
14
|
buttonGroup: f,
|
|
@@ -4,15 +4,15 @@ import e from "react";
|
|
|
4
4
|
import * as i from "react-aria-components";
|
|
5
5
|
import p from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as x, a as h } from "./IconCheckboxEmpty-
|
|
9
|
-
import { I as C } from "./IconCheckboxIndeterminate-
|
|
7
|
+
import "./Icon-DAE3MVF2.js";
|
|
8
|
+
import { I as x, a as h } from "./IconCheckboxEmpty-9LFcjE0j.js";
|
|
9
|
+
import { I as C } from "./IconCheckboxIndeterminate-CVt-Emyf.js";
|
|
10
10
|
import { C as f } from "./ClearPropsContext-CeCMjUK9.js";
|
|
11
11
|
import "./propsContext-CauylOgH.js";
|
|
12
12
|
import "@react-aria/utils";
|
|
13
13
|
import "remeda";
|
|
14
14
|
import "dot-prop";
|
|
15
|
-
import { f as k } from "./flowComponent-
|
|
15
|
+
import { f as k } from "./flowComponent-D-odaa-x.js";
|
|
16
16
|
const b = "flow--checkbox", E = "flow--checkbox--icon", o = {
|
|
17
17
|
checkbox: b,
|
|
18
18
|
icon: E
|
package/dist/Checkbox.js
CHANGED
|
@@ -7,8 +7,8 @@ import { P as p } from "./PropsContextProvider-DZvwqHLP.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { C as b } from "./Checkbox-
|
|
11
|
-
import { f as x } from "./flowComponent-
|
|
10
|
+
import { C as b } from "./Checkbox-CoDeuNsM.js";
|
|
11
|
+
import { f as x } from "./flowComponent-D-odaa-x.js";
|
|
12
12
|
const C = "flow--checkbox-button", f = "flow--checkbox-button--label", i = "flow--checkbox-button--content", o = {
|
|
13
13
|
checkboxButton: C,
|
|
14
14
|
label: f,
|
package/dist/CheckboxButton.js
CHANGED
package/dist/CheckboxGroup.js
CHANGED
|
@@ -7,13 +7,13 @@ import "./propsContext-CauylOgH.js";
|
|
|
7
7
|
import { P as b } from "./PropsContextProvider-DZvwqHLP.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { F as h } from "./FieldError-
|
|
11
|
-
import { C as E } from "./CheckboxButton-
|
|
10
|
+
import { F as h } from "./FieldError-ef2wRBhJ.js";
|
|
11
|
+
import { C as E } from "./CheckboxButton-D_i7P_qt.js";
|
|
12
12
|
import { TunnelProvider as k, TunnelExit as r } from "@mittwald/react-tunnel";
|
|
13
13
|
import { s as o } from "./FormField.module-DHK6nIcD.js";
|
|
14
14
|
import { C } from "./ColumnLayout-FMONjI17.js";
|
|
15
15
|
import { d as N } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
|
-
import { f as F } from "./flowComponent-
|
|
16
|
+
import { f as F } from "./flowComponent-D-odaa-x.js";
|
|
17
17
|
const G = "flow--checkbox-group", s = {
|
|
18
18
|
checkboxGroup: G
|
|
19
19
|
}, j = F("CheckboxGroup", (l) => {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import t from "react";
|
|
4
|
+
import { C as c } from "./ClearPropsContext-CeCMjUK9.js";
|
|
5
|
+
import "./propsContext-CauylOgH.js";
|
|
6
|
+
import "@react-aria/utils";
|
|
7
|
+
import "remeda";
|
|
8
|
+
import "dot-prop";
|
|
9
|
+
import { f as l } from "./flowComponent-D-odaa-x.js";
|
|
10
|
+
import { W as s } from "./Wrap-DGT1h1o3.js";
|
|
11
|
+
import { A as f } from "./Activity-CmfZpgOM.js";
|
|
12
|
+
const W = l("Content", (e) => {
|
|
13
|
+
const {
|
|
14
|
+
children: r,
|
|
15
|
+
elementType: o = "div",
|
|
16
|
+
ref: m,
|
|
17
|
+
clearPropsContext: n = !0,
|
|
18
|
+
isActive: i = !0,
|
|
19
|
+
...p
|
|
20
|
+
} = e, a = o;
|
|
21
|
+
return /* @__PURE__ */ t.createElement(s, { if: n }, /* @__PURE__ */ t.createElement(c, null, /* @__PURE__ */ t.createElement(f, { isActive: i }, /* @__PURE__ */ t.createElement(a, { ref: m, ...p }, r))));
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
W as C
|
|
25
|
+
};
|
package/dist/Content.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as u from "react-aria-components";
|
|
5
|
-
import { f as d } from "./flowComponent-
|
|
5
|
+
import { f as d } from "./flowComponent-D-odaa-x.js";
|
|
6
6
|
import { P as x } from "./Popover-MmxZkKu3.js";
|
|
7
7
|
import { C } from "./ClearPropsContext-CeCMjUK9.js";
|
|
8
8
|
import { P as M } from "./PropsContextProvider-DZvwqHLP.js";
|