@mittwald/flow-react-components 0.1.0-alpha.31 → 0.1.0-alpha.32
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/Avatar.js +1 -1
- package/dist/{Button-CMA-xsd_.js → Button-Bh0E7tqA.js} +3 -3
- package/dist/Button.js +1 -1
- package/dist/Checkbox.js +7 -7
- package/dist/Content.js +11 -9
- package/dist/CopyToClipboardButton.js +18 -105
- package/dist/FieldDescription.js +3 -3
- package/dist/{FieldError-BAnloBK7.js → FieldError-DZl3QsUa.js} +1 -1
- package/dist/FieldError.js +1 -1
- package/dist/Heading.js +6 -6
- package/dist/{Icon-C8UD3vMe.js → Icon-D4F2hKiG.js} +5 -5
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-QwbBte1y.js → IconCheck-DkmJUDfj.js} +1 -1
- package/dist/{IconClose-CA5yuJQ6.js → IconClose-B6UJFr7O.js} +1 -1
- package/dist/{IconCopy-C-PQMIfL.js → IconCopy-DwaMO7aJ.js} +1 -1
- package/dist/{IconPlus-DsWkdGaB.js → IconPlus-CnpaX_7c.js} +1 -1
- package/dist/{IconSucceeded-aGBloDn9.js → IconSucceeded-CPpK5tIY.js} +1 -1
- package/dist/{IconUnchecked-CGdUugGS.js → IconUnchecked-DbkvP1em.js} +1 -1
- package/dist/{IconWarning-Cum5bpEx.js → IconWarning-DkGRbK8I.js} +1 -1
- package/dist/Icons.js +8 -8
- package/dist/Initials.js +3 -3
- package/dist/InlineAlert.js +2 -2
- package/dist/InlineCode.js +5 -5
- package/dist/{Label-Dnum8jdD.js → Label-EVs32ETX.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LabeledValue.js +7 -7
- package/dist/LayoutCard.js +11 -12
- package/dist/Link.js +15 -14
- package/dist/Navigation.js +16 -17
- package/dist/NumberField.js +5 -5
- package/dist/RadioGroup.js +4 -4
- package/dist/Section.js +6 -6
- package/dist/StatusBadge.js +2 -2
- package/dist/{StatusIcon-BVWjvT3I.js → StatusIcon-GPbDfbJe.js} +8 -7
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +8 -8
- package/dist/TextArea.js +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextFieldBase-Dk6XBF7h.js → TextFieldBase-DR3ofo0H.js} +2 -2
- package/dist/{Tooltip-BqyZAZgK.js → Tooltip-Co5h9sSt.js} +1 -1
- package/dist/Tooltip.js +1 -1
- package/dist/nextjs/LinkProvider.js +23 -0
- package/dist/styles.css +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +8 -0
- package/dist/types/components/Avatar/index.d.ts +3 -0
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +9 -0
- package/dist/types/components/Button/Button.d.ts +15 -0
- package/dist/types/components/Button/index.d.ts +3 -0
- package/dist/types/components/Button/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/Button/stories/States.stories.d.ts +12 -0
- package/dist/types/components/Button/stories/Variants.stories.d.ts +17 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +6 -0
- package/dist/types/components/Checkbox/index.d.ts +3 -0
- package/dist/types/components/Checkbox/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +8 -0
- package/dist/types/components/ColumnLayout/index.d.ts +3 -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 +8 -0
- package/dist/types/components/Content/Content.d.ts +6 -0
- package/dist/types/components/Content/index.d.ts +3 -0
- package/dist/types/components/Content/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/CopyToClipboardButton/CopyToClipboardButton.d.ts +7 -0
- package/dist/types/components/CopyToClipboardButton/index.d.ts +3 -0
- package/dist/types/components/CopyToClipboardButton/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/FieldDescription/FieldDescription.d.ts +6 -0
- package/dist/types/components/FieldDescription/index.d.ts +3 -0
- package/dist/types/components/FieldError/FieldError.d.ts +6 -0
- package/dist/types/components/FieldError/index.d.ts +3 -0
- package/dist/types/components/Heading/Heading.d.ts +7 -0
- package/dist/types/components/Heading/index.d.ts +3 -0
- package/dist/types/components/Heading/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/Heading/stories/Levels.stories.d.ts +11 -0
- package/dist/types/components/Icon/Icon.d.ts +8 -0
- package/dist/types/components/Icon/components/icons/IconApp.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconBackup.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconCheck.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconChecked.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconClose.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconCopy.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDanger.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDate.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDelete.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconDomain.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconEmail.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconFailed.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconFilter.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconHide.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconHome.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconInfo.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconListView.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconLogout.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconMember.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconMinus.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconNotification.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconPending.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconPlus.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconProject.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconRandom.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSearch.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconServer.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSettings.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconShow.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSorting.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconSupport.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconTileView.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconTime.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconUnchecked.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/IconWarning.d.ts +4 -0
- package/dist/types/components/Icon/components/icons/index.d.ts +50 -0
- package/dist/types/components/Icon/index.d.ts +3 -0
- package/dist/types/components/Icon/lib/extractSvgFromString.d.ts +2 -0
- package/dist/types/components/Icon/lib/extractSvgFromString.test.d.ts +1 -0
- package/dist/types/components/Icon/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Icon/stories/Sizes.stories.d.ts +8 -0
- package/dist/types/components/Image/Image.d.ts +5 -0
- package/dist/types/components/Image/index.d.ts +3 -0
- package/dist/types/components/Image/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/Initials/Initials.d.ts +8 -0
- package/dist/types/components/Initials/index.d.ts +3 -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/lib/getVariantFromInitials.test.d.ts +1 -0
- package/dist/types/components/Initials/lib/getVariantFromString.d.ts +1 -0
- package/dist/types/components/Initials/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Initials/stories/Variants.stories.d.ts +9 -0
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +6 -0
- package/dist/types/components/InlineAlert/index.d.ts +3 -0
- package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +9 -0
- package/dist/types/components/InlineCode/InlineCode.d.ts +5 -0
- package/dist/types/components/InlineCode/index.d.ts +3 -0
- package/dist/types/components/InlineCode/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/Label/Label.d.ts +7 -0
- package/dist/types/components/Label/index.d.ts +3 -0
- package/dist/types/components/Label/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/LabeledValue/LabeledValue.d.ts +6 -0
- package/dist/types/components/LabeledValue/index.d.ts +3 -0
- package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/LayoutCard/LayoutCard.d.ts +6 -0
- package/dist/types/components/LayoutCard/index.d.ts +3 -0
- package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/Link/Link.d.ts +10 -0
- package/dist/types/components/Link/index.d.ts +3 -0
- package/dist/types/components/Link/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Navigation/Navigation.d.ts +6 -0
- package/dist/types/components/Navigation/components/NavigationItem/NavigationItem.d.ts +7 -0
- package/dist/types/components/Navigation/components/NavigationItem/index.d.ts +3 -0
- package/dist/types/components/Navigation/index.d.ts +4 -0
- package/dist/types/components/Navigation/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/NumberField/NumberField.d.ts +6 -0
- package/dist/types/components/NumberField/index.d.ts +3 -0
- package/dist/types/components/NumberField/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +6 -0
- package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +6 -0
- package/dist/types/components/RadioGroup/components/Radio/index.d.ts +3 -0
- package/dist/types/components/RadioGroup/index.d.ts +4 -0
- package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/Section/Section.d.ts +5 -0
- package/dist/types/components/Section/index.d.ts +3 -0
- package/dist/types/components/Section/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/StatusBadge/StatusBadge.d.ts +7 -0
- package/dist/types/components/StatusBadge/index.d.ts +3 -0
- package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +9 -0
- package/dist/types/components/StatusIcon/StatusIcon.d.ts +7 -0
- package/dist/types/components/StatusIcon/index.d.ts +3 -0
- package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Switch/Switch.d.ts +8 -0
- package/dist/types/components/Switch/index.d.ts +3 -0
- package/dist/types/components/Switch/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/Text/Text.d.ts +7 -0
- package/dist/types/components/Text/index.d.ts +3 -0
- package/dist/types/components/Text/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/TextArea/TextArea.d.ts +7 -0
- package/dist/types/components/TextArea/index.d.ts +3 -0
- package/dist/types/components/TextArea/stories/Default.stories.d.ts +12 -0
- package/dist/types/components/TextField/TextField.d.ts +7 -0
- package/dist/types/components/TextField/index.d.ts +3 -0
- package/dist/types/components/TextField/stories/Default.stories.d.ts +13 -0
- package/dist/types/components/TextFieldBase/TextFieldBase.d.ts +7 -0
- package/dist/types/components/TextFieldBase/index.d.ts +3 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +6 -0
- package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +6 -0
- package/dist/types/components/Tooltip/components/TooltipTrigger/index.d.ts +3 -0
- package/dist/types/components/Tooltip/index.d.ts +4 -0
- package/dist/types/components/Tooltip/stories/Default.stories.d.ts +6 -0
- package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/Wrap/Wrap.d.ts +5 -0
- package/dist/types/components/Wrap/index.d.ts +3 -0
- package/dist/types/components/nextjs/Link/Link.d.ts +2 -0
- package/dist/types/components/nextjs/Link/index.d.ts +3 -0
- package/dist/types/components/nextjs/LinkProvider/LinkProvider.d.ts +3 -0
- package/dist/types/components/nextjs/LinkProvider/index.d.ts +3 -0
- package/dist/types/components/propTypes/index.d.ts +34 -0
- package/dist/types/components/propTypes/types.d.ts +5 -0
- package/dist/types/lib/dev/dummyText.d.ts +6 -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 +8 -0
- package/dist/types/lib/propsContext/dynamicProps/dynamic.d.ts +3 -0
- package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +4 -0
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +4 -0
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.test.d.ts +1 -0
- package/dist/types/lib/propsContext/dynamicProps/types.d.ts +4 -0
- package/dist/types/lib/propsContext/index.d.ts +5 -0
- package/dist/types/lib/propsContext/mergePropsContext.d.ts +3 -0
- package/dist/types/lib/propsContext/mergePropsContext.test.d.ts +1 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +3101 -0
- package/dist/types/lib/propsContext/types.d.ts +8 -0
- package/dist/types/lib/propsContext/useProps.d.ts +3 -0
- package/dist/types/lib/propsContext/useProps.test.d.ts +1 -0
- package/dist/types/lib/types/props.d.ts +8 -0
- package/dist/types/lib/types/props.test-types.d.ts +1 -0
- package/dist/{stylesInit.d.ts → types/styles/index.d.ts} +2 -4
- package/package.json +135 -33
- package/dist/Avatar.d.ts +0 -14
- package/dist/Button.d.ts +0 -21
- package/dist/Checkbox.d.ts +0 -12
- package/dist/ClearPropsContext-CD1-9TZA.js +0 -11
- package/dist/ColumnLayout.d.ts +0 -14
- package/dist/Content.d.ts +0 -17
- package/dist/CopyToClipboardButton.d.ts +0 -26
- package/dist/FieldDescription.d.ts +0 -21
- package/dist/FieldError.d.ts +0 -12
- package/dist/Heading.d.ts +0 -15
- package/dist/Icon.d.ts +0 -16
- 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/InlineCode.d.ts +0 -12
- 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 -15
- package/dist/Navigation.d.ts +0 -23
- package/dist/NumberField.d.ts +0 -12
- package/dist/RadioGroup.d.ts +0 -17
- package/dist/Section.d.ts +0 -12
- package/dist/StatusBadge.d.ts +0 -18
- package/dist/StatusIcon.d.ts +0 -25
- package/dist/Switch.d.ts +0 -14
- package/dist/Text.d.ts +0 -18
- package/dist/TextArea.d.ts +0 -17
- package/dist/TextField.d.ts +0 -17
- package/dist/Tooltip.d.ts +0 -17
- package/dist/TooltipTrigger.d.ts +0 -12
- package/dist/clsx-DB4S2d7J.js +0 -24
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export { IconApp } from "./IconApp";
|
|
2
|
+
export { IconBackLink } from "./IconBackLink";
|
|
3
|
+
export { IconBackup } from "./IconBackup";
|
|
4
|
+
export { IconCheck } from "./IconCheck";
|
|
5
|
+
export { IconChecked } from "./IconChecked";
|
|
6
|
+
export { IconChevronDown } from "./IconChevronDown";
|
|
7
|
+
export { IconChevronLeft } from "./IconChevronLeft";
|
|
8
|
+
export { IconChevronRight } from "./IconChevronRight";
|
|
9
|
+
export { IconChevronUp } from "./IconChevronUp";
|
|
10
|
+
export { IconClose } from "./IconClose";
|
|
11
|
+
export { IconCopy } from "./IconCopy";
|
|
12
|
+
export { IconCronjob } from "./IconCronjob";
|
|
13
|
+
export { IconCustomer } from "./IconCustomer";
|
|
14
|
+
export { IconDanger } from "./IconDanger";
|
|
15
|
+
export { IconDashboard } from "./IconDashboard";
|
|
16
|
+
export { IconDatabase } from "./IconDatabase";
|
|
17
|
+
export { IconDate } from "./IconDate";
|
|
18
|
+
export { IconDelete } from "./IconDelete";
|
|
19
|
+
export { IconDomain } from "./IconDomain";
|
|
20
|
+
export { IconEmail } from "./IconEmail";
|
|
21
|
+
export { IconExternalLink } from "./IconExternalLink";
|
|
22
|
+
export { IconFailed } from "./IconFailed";
|
|
23
|
+
export { IconFilter } from "./IconFilter";
|
|
24
|
+
export { IconHide } from "./IconHide";
|
|
25
|
+
export { IconHome } from "./IconHome";
|
|
26
|
+
export { IconInfo } from "./IconInfo";
|
|
27
|
+
export { IconListView } from "./IconListView";
|
|
28
|
+
export { IconLogout } from "./IconLogout";
|
|
29
|
+
export { IconMember } from "./IconMember";
|
|
30
|
+
export { IconMinus } from "./IconMinus";
|
|
31
|
+
export { IconNotification } from "./IconNotification";
|
|
32
|
+
export { IconPending } from "./IconPending";
|
|
33
|
+
export { IconPlus } from "./IconPlus";
|
|
34
|
+
export { IconProject } from "./IconProject";
|
|
35
|
+
export { IconRandom } from "./IconRandom";
|
|
36
|
+
export { IconSearch } from "./IconSearch";
|
|
37
|
+
export { IconSearchEngine } from "./IconSearchEngine";
|
|
38
|
+
export { IconServer } from "./IconServer";
|
|
39
|
+
export { IconSettings } from "./IconSettings";
|
|
40
|
+
export { IconShow } from "./IconShow";
|
|
41
|
+
export { IconSorting } from "./IconSorting";
|
|
42
|
+
export { IconSshSftp } from "./IconSshSftp";
|
|
43
|
+
export { IconSucceeded } from "./IconSucceeded";
|
|
44
|
+
export { IconSuccess } from "./IconSuccess";
|
|
45
|
+
export { IconSupport } from "./IconSupport";
|
|
46
|
+
export { IconTerminate } from "./IconTerminate";
|
|
47
|
+
export { IconTileView } from "./IconTileView";
|
|
48
|
+
export { IconTime } from "./IconTime";
|
|
49
|
+
export { IconUnchecked } from "./IconUnchecked";
|
|
50
|
+
export { IconWarning } from "./IconWarning";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Icon from '../Icon';
|
|
3
|
+
declare const meta: Meta<typeof Icon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Icon>;
|
|
6
|
+
export declare const Alias: Story;
|
|
7
|
+
export declare const TablerIcon: Story;
|
|
8
|
+
export declare const CustomSvgString: Story;
|
|
9
|
+
export declare const CustomSvg: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Icon from '../Icon';
|
|
3
|
+
declare const meta: Meta<typeof Icon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Icon>;
|
|
6
|
+
export declare const Small: Story;
|
|
7
|
+
export declare const Medium: Story;
|
|
8
|
+
export declare const Large: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getInitialsFromString: (initials: string) => string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getVariantFromString: (str: string) => number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Initials from "../Initials";
|
|
3
|
+
declare const meta: Meta<typeof Initials>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Initials>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const OneLetter: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Initials from "../Initials";
|
|
3
|
+
declare const meta: Meta<typeof Initials>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Initials>;
|
|
6
|
+
export declare const Variant1: Story;
|
|
7
|
+
export declare const Variant2: Story;
|
|
8
|
+
export declare const Variant3: Story;
|
|
9
|
+
export declare const Variant4: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentProps, FC, PropsWithChildren } from "react";
|
|
2
|
+
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
|
+
export interface InlineAlertProps extends PropsWithChildren<ComponentProps<"aside">>, PropsWithStatus {
|
|
4
|
+
}
|
|
5
|
+
export declare const InlineAlert: FC<InlineAlertProps>;
|
|
6
|
+
export default InlineAlert;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import InlineAlert from "../InlineAlert";
|
|
3
|
+
declare const meta: Meta<typeof InlineAlert>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof InlineAlert>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithContent: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import InlineAlert from "../InlineAlert";
|
|
3
|
+
declare const meta: Meta<typeof InlineAlert>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof InlineAlert>;
|
|
6
|
+
export declare const Info: Story;
|
|
7
|
+
export declare const Warning: Story;
|
|
8
|
+
export declare const Danger: Story;
|
|
9
|
+
export declare const Success: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface LabelProps extends PropsWithChildren<Omit<Aria.LabelProps, "children">> {
|
|
4
|
+
optional?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Label: FC<LabelProps>;
|
|
7
|
+
export default Label;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Label from "../Label";
|
|
3
|
+
declare const meta: Meta<typeof Label>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Label>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Optional: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import LabeledValue from "../LabeledValue";
|
|
3
|
+
declare const meta: Meta<typeof LabeledValue>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LabeledValue>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithCopyButton: Story;
|
|
8
|
+
export declare const WithInlineCode: Story;
|
|
9
|
+
export declare const WithLink: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import LabeledValue from "../LabeledValue";
|
|
3
|
+
declare const meta: Meta<typeof LabeledValue>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LabeledValue>;
|
|
6
|
+
export declare const LongLabel: Story;
|
|
7
|
+
export declare const LongContent: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import { PropsWithElementType } from '../../lib/types/props';
|
|
3
|
+
export interface LayoutCardProps extends PropsWithChildren, PropsWithElementType {
|
|
4
|
+
}
|
|
5
|
+
export declare const LayoutCard: FC<LayoutCardProps>;
|
|
6
|
+
export default LayoutCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentProps, ComponentType, FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface LinkProps extends PropsWithChildren<Omit<Aria.LinkProps, "children" | "slot">> {
|
|
4
|
+
/** @default "default" */
|
|
5
|
+
variant?: "default" | "danger";
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
linkComponent?: ComponentType<Omit<ComponentProps<"a">, "ref">>;
|
|
8
|
+
}
|
|
9
|
+
export declare const Link: FC<LinkProps>;
|
|
10
|
+
export default Link;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Link from "../Link";
|
|
3
|
+
declare const meta: Meta<typeof Link>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Link>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Inline: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const Danger: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps, ComponentType, FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface NavigationItemProps extends PropsWithChildren<Omit<Aria.LinkProps, "children" | "slot">> {
|
|
4
|
+
isCurrent?: boolean;
|
|
5
|
+
linkComponent?: ComponentType<Omit<ComponentProps<"a">, "ref">>;
|
|
6
|
+
}
|
|
7
|
+
export declare const NavigationItem: FC<NavigationItemProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Navigation } from '..';
|
|
3
|
+
declare const meta: Meta<typeof Navigation>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Navigation>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithIcons: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface NumberFieldProps extends PropsWithChildren<Omit<Aria.NumberFieldProps, "children">> {
|
|
4
|
+
}
|
|
5
|
+
export declare const NumberField: FC<NumberFieldProps>;
|
|
6
|
+
export default NumberField;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { NumberField } from "../index";
|
|
3
|
+
declare const meta: Meta<typeof NumberField>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NumberField>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Required: Story;
|
|
9
|
+
export declare const WithFieldDescription: Story;
|
|
10
|
+
export declare const WithDefaultValue: Story;
|
|
11
|
+
export declare const WithFieldError: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { NumberField } from "../index";
|
|
3
|
+
declare const meta: Meta<typeof NumberField>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NumberField>;
|
|
6
|
+
export declare const WithDisabledDecrement: Story;
|
|
7
|
+
export declare const WithDisabledIncrement: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface RadioGroupProps extends PropsWithChildren<Omit<Aria.RadioGroupProps, "children">> {
|
|
4
|
+
}
|
|
5
|
+
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
6
|
+
export default RadioGroup;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { RadioGroup } from "../index";
|
|
3
|
+
declare const meta: Meta<typeof RadioGroup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof RadioGroup>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const RadioGroupDisabled: Story;
|
|
8
|
+
export declare const RadioDisabled: Story;
|
|
9
|
+
export declare const WithIcon: Story;
|
|
10
|
+
export declare const WithContent: Story;
|
|
11
|
+
export declare const WithIconAndContent: Story;
|
|
12
|
+
export declare const WithFieldError: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { RadioGroup } from "../index";
|
|
3
|
+
declare const meta: Meta<typeof RadioGroup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof RadioGroup>;
|
|
6
|
+
export declare const LongTexts: Story;
|
|
7
|
+
export declare const MultipleElements: Story;
|
|
8
|
+
export declare const SmallSpace: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Section from "../Section";
|
|
3
|
+
declare const meta: Meta<typeof Section>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Section>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const MultipleSections: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
|
+
export interface StatusBadgeProps extends PropsWithChildren, PropsWithStatus {
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const StatusBadge: FC<StatusBadgeProps>;
|
|
7
|
+
export default StatusBadge;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import StatusBadge from "../StatusBadge";
|
|
3
|
+
declare const meta: Meta<typeof StatusBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof StatusBadge>;
|
|
6
|
+
export declare const Info: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const Warning: Story;
|
|
9
|
+
export declare const Danger: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { PropsWithStatus } from '../../lib/types/props';
|
|
3
|
+
import { IconProps } from '../Icon';
|
|
4
|
+
export interface StatusIconProps extends PropsWithStatus, IconProps {
|
|
5
|
+
}
|
|
6
|
+
export declare const StatusIcon: FC<StatusIconProps>;
|
|
7
|
+
export default StatusIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import StatusIcon from "../StatusIcon";
|
|
3
|
+
declare const meta: Meta<typeof StatusIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof StatusIcon>;
|
|
6
|
+
export declare const Info: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const Warning: Story;
|
|
9
|
+
export declare const Danger: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
export interface SwitchProps extends PropsWithChildren<Omit<Aria.SwitchProps, "children">> {
|
|
4
|
+
/** @default "trailing" */
|
|
5
|
+
labelPosition?: "leading" | "trailing";
|
|
6
|
+
}
|
|
7
|
+
export declare const Switch: FC<SwitchProps>;
|
|
8
|
+
export default Switch;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Switch } from "../index";
|
|
3
|
+
declare const meta: Meta<typeof Switch>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Switch>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const LabelLeading: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
import { PropsWithElementType } from '../../lib/types/props';
|
|
4
|
+
export interface TextProps extends PropsWithChildren, Omit<Aria.TextProps, "children" | "elementType">, PropsWithElementType {
|
|
5
|
+
}
|
|
6
|
+
export declare const Text: FC<TextProps>;
|
|
7
|
+
export default Text;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import * as Aria from "react-aria-components";
|
|
3
|
+
import { TextFieldBaseProps } from '../TextFieldBase';
|
|
4
|
+
export interface TextAreaProps extends Omit<TextFieldBaseProps, "input">, Pick<Aria.TextAreaProps, "placeholder" | "rows"> {
|
|
5
|
+
}
|
|
6
|
+
export declare const TextArea: FC<TextAreaProps>;
|
|
7
|
+
export default TextArea;
|