@mittwald/flow-react-components 0.1.0-alpha.113 → 0.1.0-alpha.115
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-c-zskOK4.js → Accordion-DsX7RI_p.js} +1 -1
- 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/Breadcrumb.js +17 -20
- package/dist/Button-D59Yuz6-.js +116 -0
- package/dist/Button.js +1 -1
- package/dist/CopyButton.js +2 -2
- package/dist/HeaderNavigation.js +16 -19
- package/dist/Heading.js +31 -27
- package/dist/Link-TVG_Y-ZN.js +51 -0
- package/dist/Link.js +1 -1
- package/dist/List.js +2 -2
- package/dist/Navigation.js +1 -1
- package/dist/NumberField.js +1 -1
- package/dist/OffCanvas.js +2 -2
- package/dist/OverlayTrigger.js +1 -1
- package/dist/Tabs.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/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 +2 -2
- 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 +1 -2
- 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 +30 -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/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/package.json +34 -34
- package/dist/Button-DcXbM73F.js +0 -117
- package/dist/Link-C9hXxA2A.js +0 -48
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithClassName, PropsWithStatus } from '../../lib/types/props';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { PropsWithClassName, PropsWithStatus } from '../../lib/types/props';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
export interface StatusBadgeProps extends PropsWithChildren, PropsWithStatus, FlowComponentProps, PropsWithClassName {
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconProps } from '../Icon';
|
|
2
|
-
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
1
|
import { FC } from 'react';
|
|
2
|
+
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
|
+
import { IconProps } from '../Icon';
|
|
4
4
|
|
|
5
5
|
export interface StatusIconProps extends PropsWithStatus, IconProps {
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface SwitchProps extends PropsWithChildren<Omit<Aria.SwitchProps, "children">>, FlowComponentProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
|
|
4
4
|
import * as Aria from "react-aria-components";
|
|
5
5
|
export interface TabsProps extends Omit<Aria.TabsProps, "children">, PropsWithChildren, FlowComponentProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithElementType } from '../../lib/types/props';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { PropsWithElementType } from '../../lib/types/props';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface TextProps extends PropsWithChildren, Omit<Aria.TextProps, "children" | "elementType">, PropsWithElementType<"span" | "div" | "p">, FlowComponentProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { TextFieldBaseProps } from '../TextFieldBase';
|
|
3
1
|
import { default as React } from 'react';
|
|
2
|
+
import { TextFieldBaseProps } from '../TextFieldBase';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface TextAreaProps extends Omit<TextFieldBaseProps, "input">, Pick<Aria.TextAreaProps, "placeholder" | "rows">, FlowComponentProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { TextFieldBaseProps } from '../TextFieldBase';
|
|
3
1
|
import { default as React } from 'react';
|
|
2
|
+
import { TextFieldBaseProps } from '../TextFieldBase';
|
|
3
|
+
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface TextFieldProps extends Omit<TextFieldBaseProps, "input">, Pick<Aria.InputProps, "placeholder">, FlowComponentProps {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import * as Aria from "react-aria-components";
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type TooltipProps = PropsWithChildren<Omit<Aria.TooltipProps, "children">>;
|
|
5
4
|
export declare const Tooltip: FC<TooltipProps>;
|
|
6
5
|
export default Tooltip;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import * as Aria from "react-aria-components";
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type TooltipTriggerProps = PropsWithChildren<Omit<Aria.TooltipTriggerComponentProps, "children">>;
|
|
5
4
|
export declare const TooltipTrigger: FC<TooltipTriggerProps>;
|
|
6
5
|
export default TooltipTrigger;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { ModalProps } from '../Modal';
|
|
2
|
-
import { TabsProps } from '../Tabs';
|
|
3
|
-
import { CheckboxButtonProps } from '../CheckboxButton';
|
|
4
|
-
import { CheckboxProps } from '../Checkbox';
|
|
5
|
-
import { CheckboxGroupProps } from '../CheckboxGroup';
|
|
6
|
-
import { TextAreaProps } from '../TextArea';
|
|
7
|
-
import { NumberFieldProps } from '../NumberField';
|
|
8
|
-
import { TextFieldProps } from '../TextField';
|
|
9
|
-
import { RadioButtonProps, RadioGroupProps, RadioProps } from '../RadioGroup';
|
|
10
|
-
import { OptionProps, SelectProps } from '../Select';
|
|
11
|
-
import { ContextMenuProps, MenuItemProps } from '../ContextMenu';
|
|
12
|
-
import { ActionProps } from '../Action';
|
|
13
|
-
import { AvatarProps } from '../Avatar';
|
|
14
|
-
import { ButtonGroupProps } from '../ButtonGroup';
|
|
15
|
-
import { StatusBadgeProps } from '../StatusBadge';
|
|
16
|
-
import { SwitchProps } from '../Switch';
|
|
17
|
-
import { HeaderProps } from '../Header';
|
|
18
|
-
import { CopyButtonProps } from '../CopyButton';
|
|
19
|
-
import { ImageProps } from '../Image';
|
|
20
|
-
import { InitialsProps } from '../Initials';
|
|
21
|
-
import { HeadingProps } from '../Heading';
|
|
22
|
-
import { InlineAlertProps } from '../InlineAlert';
|
|
23
|
-
import { FieldDescriptionProps } from '../FieldDescription';
|
|
24
|
-
import { FieldErrorProps } from '../FieldError';
|
|
25
|
-
import { LinkProps } from '../Link';
|
|
26
|
-
import { LayoutCardProps } from '../LayoutCard';
|
|
27
|
-
import { ContentProps } from '../Content';
|
|
28
|
-
import { LabelProps } from '../Label';
|
|
29
|
-
import { IconProps } from '../Icon';
|
|
30
|
-
import { ButtonProps } from '../Button';
|
|
31
1
|
import { TextProps } from '../Text';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
import { IconProps } from '../Icon';
|
|
4
|
+
import { LabelProps } from '../Label';
|
|
5
|
+
import { ContentProps } from '../Content';
|
|
6
|
+
import { LayoutCardProps } from '../LayoutCard';
|
|
7
|
+
import { LinkProps } from '../Link';
|
|
8
|
+
import { FieldErrorProps } from '../FieldError';
|
|
9
|
+
import { FieldDescriptionProps } from '../FieldDescription';
|
|
10
|
+
import { InlineAlertProps } from '../InlineAlert';
|
|
11
|
+
import { HeadingProps } from '../Heading';
|
|
12
|
+
import { InitialsProps } from '../Initials';
|
|
13
|
+
import { ImageProps } from '../Image';
|
|
14
|
+
import { CopyButtonProps } from '../CopyButton';
|
|
15
|
+
import { HeaderProps } from '../Header';
|
|
16
|
+
import { SwitchProps } from '../Switch';
|
|
17
|
+
import { StatusBadgeProps } from '../StatusBadge';
|
|
18
|
+
import { ButtonGroupProps } from '../ButtonGroup';
|
|
19
|
+
import { AvatarProps } from '../Avatar';
|
|
20
|
+
import { ActionProps } from '../Action';
|
|
21
|
+
import { ContextMenuProps, MenuItemProps } from '../ContextMenu';
|
|
22
|
+
import { OptionProps, SelectProps } from '../Select';
|
|
23
|
+
import { RadioButtonProps, RadioGroupProps, RadioProps } from '../RadioGroup';
|
|
24
|
+
import { TextFieldProps } from '../TextField';
|
|
25
|
+
import { NumberFieldProps } from '../NumberField';
|
|
26
|
+
import { TextAreaProps } from '../TextArea';
|
|
27
|
+
import { CheckboxGroupProps } from '../CheckboxGroup';
|
|
28
|
+
import { CheckboxProps } from '../Checkbox';
|
|
29
|
+
import { CheckboxButtonProps } from '../CheckboxButton';
|
|
30
|
+
import { TabsProps } from '../Tabs';
|
|
31
|
+
import { ModalProps } from '../Modal';
|
|
32
32
|
|
|
33
33
|
export * from './types';
|
|
34
34
|
export interface FlowComponentPropsTypes {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ControllerProps, FieldValues, UseFormReturn } from 'react-hook-form';
|
|
2
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { ControllerProps, FieldValues, UseFormReturn } from 'react-hook-form';
|
|
3
3
|
|
|
4
4
|
interface Props<T extends FieldValues> extends Omit<ControllerProps<T>, "render">, PropsWithChildren {
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
2
1
|
import { ComponentProps, PropsWithChildren, default as React } from 'react';
|
|
2
|
+
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
3
3
|
|
|
4
4
|
interface Props<F extends FieldValues> extends ComponentProps<"form">, PropsWithChildren {
|
|
5
5
|
form?: UseFormReturn<F>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithRender, PropsWithTunnel } from '../types/props';
|
|
2
|
-
import { ComponentType, ForwardRefExoticComponent, LegacyRef, PropsWithoutRef, RefAttributes } from 'react';
|
|
3
1
|
import { FlowComponentName, FlowComponentProps as FlowComponentPropsOfName } from '../../components/propTypes';
|
|
2
|
+
import { ComponentType, ForwardRefExoticComponent, LegacyRef, PropsWithoutRef, RefAttributes } from 'react';
|
|
3
|
+
import { PropsWithRender, PropsWithTunnel } from '../types/props';
|
|
4
4
|
|
|
5
5
|
export type FlowComponentProps<C extends FlowComponentName = never> = PropsWithTunnel & PropsWithRender<FlowComponentPropsOfName<C>>;
|
|
6
6
|
type FlowComponentImplementationProps<C extends FlowComponentName> = Omit<FlowComponentPropsOfName<C>, keyof FlowComponentProps<C>> & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
type Fn = (...args: unknown[]) => unknown;
|
|
2
|
-
export declare const callFunctionsInOrder: (actions:
|
|
2
|
+
export declare const callFunctionsInOrder: (actions: (Fn | undefined)[]) => (...args: unknown[]) => unknown;
|
|
3
3
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type ClearPropsContextProps = PropsWithChildren;
|
|
5
4
|
export declare const ClearPropsContext: FC<ClearPropsContextProps>;
|
|
6
5
|
export default ClearPropsContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FlowComponentName, FlowComponentPropName } from '../../../components/propTypes';
|
|
2
1
|
import { DynamicProp } from './types';
|
|
2
|
+
import { FlowComponentName, FlowComponentPropName } from '../../../components/propTypes';
|
|
3
3
|
|
|
4
4
|
export declare function isDynamicProp<C extends FlowComponentName, P extends FlowComponentPropName<C>>(something: unknown): something is DynamicProp<C, P>;
|
|
5
5
|
export default isDynamicProp;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsContext } from '../types';
|
|
2
1
|
import { FlowComponentProps } from '../../../components/propTypes';
|
|
2
|
+
import { ComponentPropsContext } from '../types';
|
|
3
3
|
|
|
4
4
|
export declare const resolveDynamicProps: <C extends keyof import('../../../components/propTypes').FlowComponentPropsTypes>(contextProps: ComponentPropsContext<C>, localProps: Partial<FlowComponentProps<C>>) => Partial<FlowComponentProps<C>>;
|
|
5
5
|
export default resolveDynamicProps;
|
package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { ComponentPropsContext } from '../types';
|
|
3
1
|
import { FlowComponentProps } from '../../../components/propTypes';
|
|
2
|
+
import { ComponentPropsContext } from '../types';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
4
|
|
|
5
5
|
export declare const wrapChildrenWithNestedPropsContext: <C extends keyof import('../../../components/propTypes').FlowComponentPropsTypes>(contextProps: ComponentPropsContext<C>, localProps: Partial<FlowComponentProps<C>>) => PropsWithChildren;
|
|
6
6
|
export default wrapChildrenWithNestedPropsContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DynamicProp } from './dynamicProps/types';
|
|
2
1
|
import { FlowComponentName, FlowComponentPropName, FlowComponentPropType } from '../../components/propTypes';
|
|
2
|
+
import { DynamicProp } from './dynamicProps/types';
|
|
3
3
|
|
|
4
4
|
export type PropsContext = Partial<{
|
|
5
5
|
[C in FlowComponentName]: ComponentPropsContext<C>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ComponentProps, ElementType, FunctionComponentElement, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare const deepFindOfType: <T extends ElementType>(children: ReactNode, searchType: T) => FunctionComponentElement<ComponentProps<T>> | undefined;
|
|
4
|
-
export declare const deepFilterByType: <T extends ElementType>(children: ReactNode, searchType: T) =>
|
|
4
|
+
export declare const deepFilterByType: <T extends ElementType>(children: ReactNode, searchType: T) => FunctionComponentElement<ComponentProps<T>>[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.115",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -251,16 +251,16 @@
|
|
|
251
251
|
},
|
|
252
252
|
"dependencies": {
|
|
253
253
|
"@chakra-ui/live-region": "^2.1.0",
|
|
254
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
254
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.115",
|
|
255
255
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
256
256
|
"@react-aria/utils": "^3.24.0",
|
|
257
257
|
"@react-types/shared": "^3.23.0",
|
|
258
|
-
"@storybook/test": "^8.0
|
|
258
|
+
"@storybook/test": "^8.1.0",
|
|
259
259
|
"@tabler/icons-react": "^3.3.0",
|
|
260
|
-
"@tanstack/react-table": "^8.
|
|
260
|
+
"@tanstack/react-table": "^8.17.3",
|
|
261
261
|
"clsx": "^2.1.1",
|
|
262
262
|
"copy-to-clipboard": "^3.3.3",
|
|
263
|
-
"dot-prop": "^
|
|
263
|
+
"dot-prop": "^9.0.0",
|
|
264
264
|
"html-react-parser": "^5.1.10",
|
|
265
265
|
"invariant": "^2.2.4",
|
|
266
266
|
"mobx": "^6.12.3",
|
|
@@ -275,43 +275,43 @@
|
|
|
275
275
|
},
|
|
276
276
|
"devDependencies": {
|
|
277
277
|
"@faker-js/faker": "^8.4.1",
|
|
278
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
278
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.115",
|
|
279
279
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
280
|
-
"@nx/storybook": "^
|
|
281
|
-
"@storybook/addon-a11y": "^8.0
|
|
282
|
-
"@storybook/addon-actions": "^8.0
|
|
283
|
-
"@storybook/addon-essentials": "^8.0
|
|
284
|
-
"@storybook/addon-interactions": "^8.0
|
|
285
|
-
"@storybook/addon-links": "^8.0
|
|
286
|
-
"@storybook/blocks": "^8.0
|
|
287
|
-
"@storybook/components": "^8.0
|
|
288
|
-
"@storybook/core-events": "^8.0
|
|
289
|
-
"@storybook/manager-api": "^8.0
|
|
290
|
-
"@storybook/preview-api": "^8.0
|
|
291
|
-
"@storybook/react": "^8.0
|
|
292
|
-
"@storybook/react-vite": "^8.0
|
|
293
|
-
"@storybook/theming": "^8.0
|
|
280
|
+
"@nx/storybook": "^19.0.3",
|
|
281
|
+
"@storybook/addon-a11y": "^8.1.0",
|
|
282
|
+
"@storybook/addon-actions": "^8.1.0",
|
|
283
|
+
"@storybook/addon-essentials": "^8.1.0",
|
|
284
|
+
"@storybook/addon-interactions": "^8.1.0",
|
|
285
|
+
"@storybook/addon-links": "^8.1.0",
|
|
286
|
+
"@storybook/blocks": "^8.1.0",
|
|
287
|
+
"@storybook/components": "^8.1.0",
|
|
288
|
+
"@storybook/core-events": "^8.1.0",
|
|
289
|
+
"@storybook/manager-api": "^8.1.0",
|
|
290
|
+
"@storybook/preview-api": "^8.1.0",
|
|
291
|
+
"@storybook/react": "^8.1.0",
|
|
292
|
+
"@storybook/react-vite": "^8.1.0",
|
|
293
|
+
"@storybook/theming": "^8.1.0",
|
|
294
294
|
"@testing-library/dom": "^10.1.0",
|
|
295
|
-
"@testing-library/jest-dom": "^6.4.
|
|
296
|
-
"@testing-library/react": "~
|
|
295
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
296
|
+
"@testing-library/react": "~15.0.7",
|
|
297
297
|
"@testing-library/user-event": "^14.5.2",
|
|
298
298
|
"@types/invariant": "^2.2.37",
|
|
299
|
-
"@types/node": "20.12.
|
|
299
|
+
"@types/node": "20.12.12",
|
|
300
300
|
"@types/prettier": "^3.0.0",
|
|
301
301
|
"@types/prop-types": "^15.7.12",
|
|
302
|
-
"@types/react": "^18.3.
|
|
302
|
+
"@types/react": "^18.3.2",
|
|
303
303
|
"@types/react-dom": "^18.3.0",
|
|
304
304
|
"@types/rollup": "^0.54.0",
|
|
305
305
|
"@vitejs/plugin-react": "^4.2.1",
|
|
306
|
-
"@vitest/coverage-v8": "~1.
|
|
306
|
+
"@vitest/coverage-v8": "~1.6.0",
|
|
307
307
|
"decamelize": "^6.0.0",
|
|
308
308
|
"fs-jetpack": "^5.1.0",
|
|
309
|
-
"happy-dom": "^14.
|
|
309
|
+
"happy-dom": "^14.11.0",
|
|
310
310
|
"next": "^14.2.3",
|
|
311
|
-
"nx": "^
|
|
311
|
+
"nx": "^19.0.3",
|
|
312
312
|
"postcss": "^8.4.38",
|
|
313
313
|
"postcss-nested-import": "^1.3.0",
|
|
314
|
-
"postcss-nesting": "^12.1.
|
|
314
|
+
"postcss-nesting": "^12.1.4",
|
|
315
315
|
"prettier": "^3.2.5",
|
|
316
316
|
"prop-types": "^15.8.1",
|
|
317
317
|
"react": "^18.3.1",
|
|
@@ -319,18 +319,18 @@
|
|
|
319
319
|
"react-element-to-jsx-string": "^15.0.0",
|
|
320
320
|
"react-hook-form": "^7.51.4",
|
|
321
321
|
"rollup": "^4.17.2",
|
|
322
|
-
"sass": "^1.
|
|
323
|
-
"storybook": "^8.0
|
|
322
|
+
"sass": "^1.77.1",
|
|
323
|
+
"storybook": "^8.1.0",
|
|
324
324
|
"storybook-addon-rtl": "^1.0.0",
|
|
325
|
-
"tsx": "^4.
|
|
325
|
+
"tsx": "^4.10.2",
|
|
326
326
|
"typescript": "^5.4.5",
|
|
327
327
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
328
328
|
"vite": "^5.2.11",
|
|
329
329
|
"vite-plugin-banner": "^0.7.1",
|
|
330
330
|
"vite-plugin-checker": "^0.6.4",
|
|
331
|
-
"vite-plugin-dts": "^3.9.
|
|
331
|
+
"vite-plugin-dts": "^3.9.1",
|
|
332
332
|
"vite-plugin-externalize-deps": "^0.8.0",
|
|
333
|
-
"vitest": "~1.
|
|
333
|
+
"vitest": "~1.6.0",
|
|
334
334
|
"yaml": "^2.4.2"
|
|
335
335
|
},
|
|
336
336
|
"peerDependencies": {
|
|
@@ -351,5 +351,5 @@
|
|
|
351
351
|
"optional": true
|
|
352
352
|
}
|
|
353
353
|
},
|
|
354
|
-
"gitHead": "
|
|
354
|
+
"gitHead": "df23f3e3496ffaf3881a32e1e82209f5be473c6b"
|
|
355
355
|
}
|