@mittwald/flow-react-components 0.1.0-alpha.31 → 0.1.0-alpha.33
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 +36 -12
- 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 +10 -23
- 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/lib/getVariantFromChildren.d.ts +2 -0
- package/dist/types/components/Avatar/lib/getVariantFromInitials.test.d.ts +1 -0
- package/dist/types/components/Avatar/stories/Default.stories.d.ts +8 -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/stories/Default.stories.d.ts +7 -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 +136 -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
package/dist/Avatar.js
CHANGED
|
@@ -1,26 +1,50 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import o, { isValidElement as l } from "react";
|
|
4
|
+
import v from "clsx";
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import { P as m } from "./PropsContextProvider-CEoxD8yK.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
import { hash as p } from "object-code";
|
|
9
|
+
import { deepForEach as c } from "react-children-utilities";
|
|
10
|
+
const f = "flow--avatar", z = "flow--avatar--initials", r = {
|
|
11
|
+
avatar: f,
|
|
12
|
+
initials: z,
|
|
11
13
|
"size-m": "flow--avatar--size-m",
|
|
12
14
|
"size-xs": "flow--avatar--size-xs",
|
|
13
15
|
"size-s": "flow--avatar--size-s",
|
|
14
|
-
"size-l": "flow--avatar--size-l"
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
"size-l": "flow--avatar--size-l",
|
|
17
|
+
"variant-1": "flow--avatar--variant-1",
|
|
18
|
+
"variant-2": "flow--avatar--variant-2",
|
|
19
|
+
"variant-3": "flow--avatar--variant-3",
|
|
20
|
+
"variant-4": "flow--avatar--variant-4"
|
|
21
|
+
}, w = (s) => {
|
|
22
|
+
const a = [];
|
|
23
|
+
c(s, (t) => {
|
|
24
|
+
l(t) ? a.push({
|
|
25
|
+
props: t.props,
|
|
26
|
+
type: t.type
|
|
27
|
+
}) : a.push(t);
|
|
28
|
+
});
|
|
29
|
+
const i = p(a);
|
|
30
|
+
return Math.abs(i % 4) + 1;
|
|
31
|
+
}, N = (s) => {
|
|
32
|
+
const { children: a, className: i, size: t = "m" } = s, e = v(
|
|
33
|
+
r.avatar,
|
|
34
|
+
r[`size-${t}`],
|
|
35
|
+
i,
|
|
36
|
+
r[`variant-${w(a)}`]
|
|
37
|
+
), n = {
|
|
17
38
|
Initials: {
|
|
18
|
-
className:
|
|
39
|
+
className: r.initials
|
|
40
|
+
},
|
|
41
|
+
Icon: {
|
|
42
|
+
size: "m"
|
|
19
43
|
}
|
|
20
44
|
};
|
|
21
|
-
return /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ o.createElement("div", { className: e }, /* @__PURE__ */ o.createElement(m, { props: n }, a));
|
|
22
46
|
};
|
|
23
47
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
48
|
+
N as Avatar,
|
|
49
|
+
N as default
|
|
26
50
|
};
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import * as y from "react-aria-components";
|
|
5
|
-
import
|
|
5
|
+
import I from "clsx";
|
|
6
6
|
import "./propsContext-Dx7WKmmM.js";
|
|
7
7
|
import { P } from "./PropsContextProvider-CEoxD8yK.js";
|
|
8
8
|
import { u as E } from "./useProps-C7GIMcgB.js";
|
|
9
9
|
import "@tabler/icons-react";
|
|
10
|
-
import "./Icon-
|
|
10
|
+
import "./Icon-D4F2hKiG.js";
|
|
11
11
|
import "html-react-parser";
|
|
12
|
-
import { b as N, I as S, a as C } from "./IconSucceeded-
|
|
12
|
+
import { b as N, I as S, a as C } from "./IconSucceeded-CPpK5tIY.js";
|
|
13
13
|
import { T as F } from "./Text-8V0yR4PK.js";
|
|
14
14
|
const h = "flow--button", z = "flow--button--icon", B = "flow--button--text", v = "flow--button--content", T = "flow--button--state-icon", D = "flow--button--is-succeeded", A = "flow--button--is-failed", R = "flow--button--is-pending", W = "flow--button--plain", _ = "flow--button--primary", $ = "flow--button--solid", j = "flow--button--accent", k = "flow--button--danger", q = "flow--button--secondary", G = "flow--button--soft", t = {
|
|
15
15
|
button: h,
|
package/dist/Button.js
CHANGED
package/dist/Checkbox.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
3
|
+
import e from "react";
|
|
4
4
|
import * as k from "react-aria-components";
|
|
5
|
-
import
|
|
5
|
+
import l from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
7
|
+
import "./Icon-D4F2hKiG.js";
|
|
8
8
|
import "html-react-parser";
|
|
9
9
|
import "./propsContext-Dx7WKmmM.js";
|
|
10
10
|
import "@react-aria/utils";
|
|
11
|
-
import { I as n, a as h } from "./IconUnchecked-
|
|
12
|
-
const i = "flow--checkbox", p = "flow--checkbox--checkmark",
|
|
11
|
+
import { I as n, a as h } from "./IconUnchecked-DbkvP1em.js";
|
|
12
|
+
const i = "flow--checkbox", p = "flow--checkbox--checkmark", c = {
|
|
13
13
|
checkbox: i,
|
|
14
14
|
checkmark: p
|
|
15
15
|
}, I = (o) => {
|
|
16
|
-
const { children: t, className: r, ...a } = o, m = l(
|
|
17
|
-
return /* @__PURE__ */
|
|
16
|
+
const { children: t, className: r, ...a } = o, m = l(c.checkbox, r);
|
|
17
|
+
return /* @__PURE__ */ e.createElement(k.Checkbox, { ...a, className: m }, ({ isSelected: s }) => /* @__PURE__ */ e.createElement(e.Fragment, null, s ? /* @__PURE__ */ e.createElement(n, { className: c.checkmark }) : /* @__PURE__ */ e.createElement(h, { className: c.checkmark }), t));
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
20
|
I as Checkbox,
|
package/dist/Content.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./propsContext-Dx7WKmmM.js";
|
|
3
|
+
import r from "react";
|
|
4
|
+
import { p as l } from "./propsContext-Dx7WKmmM.js";
|
|
6
5
|
import "@react-aria/utils";
|
|
7
|
-
import { u as
|
|
8
|
-
const
|
|
9
|
-
const { children:
|
|
10
|
-
return /* @__PURE__ */
|
|
6
|
+
import { u as m } from "./useProps-C7GIMcgB.js";
|
|
7
|
+
const c = (e) => {
|
|
8
|
+
const { children: t } = e;
|
|
9
|
+
return /* @__PURE__ */ r.createElement(l.Provider, { value: {} }, t);
|
|
10
|
+
}, d = (e) => {
|
|
11
|
+
const { children: t, elementType: n = "div", ...o } = m("Content", e), s = n;
|
|
12
|
+
return /* @__PURE__ */ r.createElement(s, { ...o }, /* @__PURE__ */ r.createElement(c, null, t));
|
|
11
13
|
};
|
|
12
14
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
d as Content,
|
|
16
|
+
d as default
|
|
15
17
|
};
|
|
@@ -1,121 +1,34 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import o from "react";
|
|
4
|
+
import n from "copy-to-clipboard";
|
|
5
|
+
import { B as i } from "./Button-Bh0E7tqA.js";
|
|
5
6
|
import "@tabler/icons-react";
|
|
6
|
-
import "./Icon-
|
|
7
|
+
import "./Icon-D4F2hKiG.js";
|
|
8
|
+
import "clsx";
|
|
7
9
|
import "html-react-parser";
|
|
8
10
|
import "./propsContext-Dx7WKmmM.js";
|
|
9
11
|
import "@react-aria/utils";
|
|
10
|
-
import { u as
|
|
11
|
-
import { I as
|
|
12
|
-
import { useLocalizedStringFormatter as
|
|
13
|
-
import { T as
|
|
14
|
-
import { T as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
var I = function() {
|
|
19
|
-
var e = document.getSelection();
|
|
20
|
-
if (!e.rangeCount)
|
|
21
|
-
return function() {
|
|
22
|
-
};
|
|
23
|
-
for (var t = document.activeElement, r = [], o = 0; o < e.rangeCount; o++)
|
|
24
|
-
r.push(e.getRangeAt(o));
|
|
25
|
-
switch (t.tagName.toUpperCase()) {
|
|
26
|
-
case "INPUT":
|
|
27
|
-
case "TEXTAREA":
|
|
28
|
-
t.blur();
|
|
29
|
-
break;
|
|
30
|
-
default:
|
|
31
|
-
t = null;
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
return e.removeAllRanges(), function() {
|
|
35
|
-
e.type === "Caret" && e.removeAllRanges(), e.rangeCount || r.forEach(function(a) {
|
|
36
|
-
e.addRange(a);
|
|
37
|
-
}), t && t.focus();
|
|
38
|
-
};
|
|
39
|
-
}, U = I, C = {
|
|
40
|
-
"text/plain": "Text",
|
|
41
|
-
"text/html": "Url",
|
|
42
|
-
default: "Text"
|
|
43
|
-
}, h = "Copy to clipboard: #{key}, Enter";
|
|
44
|
-
function V(e) {
|
|
45
|
-
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
46
|
-
return e.replace(/#{\s*key\s*}/g, t);
|
|
47
|
-
}
|
|
48
|
-
function M(e, t) {
|
|
49
|
-
var r, o, a, s, p, n, m = !1;
|
|
50
|
-
t || (t = {}), r = t.debug || !1;
|
|
51
|
-
try {
|
|
52
|
-
a = U(), s = document.createRange(), p = document.getSelection(), n = document.createElement("span"), n.textContent = e, n.ariaHidden = "true", n.style.all = "unset", n.style.position = "fixed", n.style.top = 0, n.style.clip = "rect(0, 0, 0, 0)", n.style.whiteSpace = "pre", n.style.webkitUserSelect = "text", n.style.MozUserSelect = "text", n.style.msUserSelect = "text", n.style.userSelect = "text", n.addEventListener("copy", function(c) {
|
|
53
|
-
if (c.stopPropagation(), t.format)
|
|
54
|
-
if (c.preventDefault(), typeof c.clipboardData > "u") {
|
|
55
|
-
r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
56
|
-
var y = C[t.format] || C.default;
|
|
57
|
-
window.clipboardData.setData(y, e);
|
|
58
|
-
} else
|
|
59
|
-
c.clipboardData.clearData(), c.clipboardData.setData(t.format, e);
|
|
60
|
-
t.onCopy && (c.preventDefault(), t.onCopy(c.clipboardData));
|
|
61
|
-
}), document.body.appendChild(n), s.selectNodeContents(n), p.addRange(s);
|
|
62
|
-
var S = document.execCommand("copy");
|
|
63
|
-
if (!S)
|
|
64
|
-
throw new Error("copy command was unsuccessful");
|
|
65
|
-
m = !0;
|
|
66
|
-
} catch (c) {
|
|
67
|
-
r && console.error("unable to copy using execCommand: ", c), r && console.warn("trying IE specific stuff");
|
|
68
|
-
try {
|
|
69
|
-
window.clipboardData.setData(t.format || "text", e), t.onCopy && t.onCopy(window.clipboardData), m = !0;
|
|
70
|
-
} catch (y) {
|
|
71
|
-
r && console.error("unable to copy using clipboardData: ", y), r && console.error("falling back to prompt"), o = V("message" in t ? t.message : h), window.prompt(o, e);
|
|
72
|
-
}
|
|
73
|
-
} finally {
|
|
74
|
-
p && (typeof p.removeRange == "function" ? p.removeRange(s) : p.removeAllRanges()), n && document.body.removeChild(n), a();
|
|
75
|
-
}
|
|
76
|
-
return m;
|
|
77
|
-
}
|
|
78
|
-
var O = M;
|
|
79
|
-
const j = /* @__PURE__ */ F(O), z = {
|
|
12
|
+
import { u as a } from "./useProps-C7GIMcgB.js";
|
|
13
|
+
import { I as l } from "./IconCopy-DwaMO7aJ.js";
|
|
14
|
+
import { useLocalizedStringFormatter as c } from "react-aria";
|
|
15
|
+
import { T as s } from "./Tooltip-Co5h9sSt.js";
|
|
16
|
+
import { T as u } from "./TooltipTrigger-7-ynWHZ9.js";
|
|
17
|
+
import { onlyText as y } from "react-children-utilities";
|
|
18
|
+
const f = {
|
|
80
19
|
"de-DE": {
|
|
81
20
|
"copyButton.copy": "Kopieren"
|
|
82
21
|
},
|
|
83
22
|
"en-EN": {
|
|
84
23
|
"copyButton.copy": "Copy"
|
|
85
24
|
}
|
|
86
|
-
},
|
|
87
|
-
...r.
|
|
88
|
-
|
|
89
|
-
}) : r), w = E, T = (e, t) => {
|
|
90
|
-
let r;
|
|
91
|
-
return u.toArray(e).find((o, a, s) => t(o, a, s) ? (r = o, !0) : l(o) && i(o) ? (r = T(o.props.children, t), typeof r < "u") : !1), r;
|
|
92
|
-
}, L = T, D = (e, t) => {
|
|
93
|
-
u.forEach(e, (r, o) => {
|
|
94
|
-
l(r) && i(r) && D(r.props.children, t), t(r, o);
|
|
95
|
-
});
|
|
96
|
-
}, _ = D, A = (e, t) => u.toArray(e).map((r, o, a) => l(r) && i(r) ? t(v(r, {
|
|
97
|
-
...r.props,
|
|
98
|
-
children: A(r.props.children, t)
|
|
99
|
-
})) : t(r, o, a)), H = A, J = (e, t) => u.toArray(e).filter(t), X = J, q = (e) => l(e) ? typeof e.type == "string" ? e.type : e.type.name : null, x = q, G = (e, t = [], r = "rest") => {
|
|
100
|
-
const o = t.map((a) => typeof a == "string" ? a : a.name);
|
|
101
|
-
return u.toArray(e).reduce((a, s) => {
|
|
102
|
-
const p = x(s), n = p !== null && o.includes(p) ? p : r;
|
|
103
|
-
return typeof a[n] > "u" && (a[n] = []), a[n] = [...a[n], s], a;
|
|
104
|
-
}, {});
|
|
105
|
-
}, Q = G, b = (e) => typeof e > "u" || e === null || typeof e == "boolean" || JSON.stringify(e) === "{}" ? "" : e.toString(), g = (e) => !(e instanceof Array) && !l(e) ? b(e) : u.toArray(e).reduce((t, r) => {
|
|
106
|
-
let o = "";
|
|
107
|
-
return d(r) ? o = g(r.props.children) : l(r) ? o = "" : o = b(r), t.concat(o);
|
|
108
|
-
}, ""), W = (e) => w(e, (t) => l(t)), Y = W;
|
|
109
|
-
({
|
|
110
|
-
...u
|
|
111
|
-
});
|
|
112
|
-
const ie = (e) => {
|
|
113
|
-
const { text: t, ...r } = B("CopyToClipboard", e), a = $(z).format("copyButton.copy"), s = () => {
|
|
114
|
-
j(g(t));
|
|
25
|
+
}, R = (r) => {
|
|
26
|
+
const { text: e, ...p } = a("CopyToClipboard", r), t = c(f).format("copyButton.copy"), m = () => {
|
|
27
|
+
n(y(e));
|
|
115
28
|
};
|
|
116
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ o.createElement(u, null, /* @__PURE__ */ o.createElement(i, { onPress: m, "aria-label": t, ...p }, /* @__PURE__ */ o.createElement(l, null)), /* @__PURE__ */ o.createElement(s, null, t));
|
|
117
30
|
};
|
|
118
31
|
export {
|
|
119
|
-
|
|
120
|
-
|
|
32
|
+
R as CopyToClipboardButton,
|
|
33
|
+
R as default
|
|
121
34
|
};
|
package/dist/FieldDescription.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
|
-
import
|
|
4
|
+
import c from "clsx";
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import { u as l } from "./useProps-C7GIMcgB.js";
|
|
@@ -9,8 +9,8 @@ import { T as n } from "./Text-8V0yR4PK.js";
|
|
|
9
9
|
const p = "flow--field-description", m = {
|
|
10
10
|
fieldDescription: p
|
|
11
11
|
}, N = (e) => {
|
|
12
|
-
const { children:
|
|
13
|
-
return /* @__PURE__ */ r.createElement(n, { slot: "description", ...
|
|
12
|
+
const { children: t, className: o, ...s } = l("FieldDescription", e), i = c(m.fieldDescription, o);
|
|
13
|
+
return /* @__PURE__ */ r.createElement(n, { slot: "description", ...s, className: i }, t);
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
N as FieldDescription,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import i from "react";
|
|
4
4
|
import * as l from "react-aria-components";
|
|
5
|
-
import
|
|
5
|
+
import m from "clsx";
|
|
6
6
|
import "./propsContext-Dx7WKmmM.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import { u as a } from "./useProps-C7GIMcgB.js";
|
package/dist/FieldError.js
CHANGED
package/dist/Heading.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import m from "react";
|
|
4
|
+
import c from "clsx";
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import { u as i } from "./useProps-C7GIMcgB.js";
|
|
@@ -9,12 +9,12 @@ const l = "flow--heading", d = {
|
|
|
9
9
|
heading: l
|
|
10
10
|
}, N = (e) => {
|
|
11
11
|
const {
|
|
12
|
-
children:
|
|
13
|
-
className:
|
|
12
|
+
children: t,
|
|
13
|
+
className: s,
|
|
14
14
|
level: o = 3,
|
|
15
15
|
...a
|
|
16
|
-
} = i("Heading", e), n =
|
|
17
|
-
return /* @__PURE__ */
|
|
16
|
+
} = i("Heading", e), n = c(d.heading, s), r = `h${o}`;
|
|
17
|
+
return /* @__PURE__ */ m.createElement(r, { className: n, ...a }, t);
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
20
|
N as Heading,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import s, { Children as f, useMemo as p } from "react";
|
|
4
|
-
import
|
|
4
|
+
import g from "clsx";
|
|
5
5
|
import d from "html-react-parser";
|
|
6
6
|
import "./propsContext-Dx7WKmmM.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
@@ -23,15 +23,15 @@ const w = "flow--icon", c = {
|
|
|
23
23
|
className: t,
|
|
24
24
|
"aria-label": o,
|
|
25
25
|
children: i,
|
|
26
|
-
size:
|
|
27
|
-
...
|
|
26
|
+
size: l = "m",
|
|
27
|
+
...a
|
|
28
28
|
} = u("Icon", e), m = {
|
|
29
|
-
...
|
|
29
|
+
...a,
|
|
30
30
|
focusable: "false",
|
|
31
31
|
role: "img",
|
|
32
32
|
"aria-hidden": !o,
|
|
33
33
|
"aria-label": o,
|
|
34
|
-
className: g(c.icon, t, c[`size-${
|
|
34
|
+
className: g(c.icon, t, c[`size-${l}`])
|
|
35
35
|
}, r = typeof i == "string", n = p(
|
|
36
36
|
() => r ? z(i) : i,
|
|
37
37
|
[r, i]
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCheck as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconX as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconCopy as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const p = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
p as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { IconChevronDown as c, IconChevronUp as t, IconMinus as r, IconPlus as a } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const m = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(c, null)), u = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(t, null)), E = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(r, null)), p = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(a, null));
|
|
7
7
|
export {
|
|
8
8
|
m as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconX as t, IconLoader2 as o, IconCheck as a } from "@tabler/icons-react";
|
|
5
|
-
import { I as c } from "./Icon-
|
|
5
|
+
import { I as c } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const I = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(t, null)), s = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(o, null)), E = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(a, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareCheck as n, IconSquare as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(n, null)), I = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
l as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAlertTriangle as t, IconInfoCircle as r, IconCircleCheck as l, IconAlertCircle as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as c } from "./Icon-
|
|
5
|
+
import { I as c } from "./Icon-D4F2hKiG.js";
|
|
6
6
|
const s = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(t, null)), i = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(r, null)), E = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(l, null)), f = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
s as I,
|
package/dist/Icons.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a, IconChevronRight as r, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as h, IconMail as p, IconExternalLink as C, IconFilter as d, IconEyeCancel as S, IconHome as f, IconList as L, IconPower as g, IconUsersGroup as v, IconBell as k, IconArchive as x, IconDice3 as D, IconSearch as b, IconListSearch as $, IconServer as w, IconSettings as H, IconEye as y, IconAdjustmentsHorizontal as A, IconDoor as B, IconHeadset as F, IconFileX as R, IconLayoutGrid as P } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as ge } from "./IconCheck-
|
|
7
|
-
import { I as ke, a as xe } from "./IconUnchecked-
|
|
8
|
-
import { I as be, a as $e, b as we, c as He } from "./IconPlus-
|
|
9
|
-
import { I as Ae } from "./IconClose-
|
|
10
|
-
import { I as Fe } from "./IconCopy-
|
|
11
|
-
import { I as Pe, a as Te, b as je, c as Me } from "./IconWarning-
|
|
12
|
-
import { I as We, a as Ge, b as Ve } from "./IconSucceeded-
|
|
5
|
+
import { I as t } from "./Icon-D4F2hKiG.js";
|
|
6
|
+
import { I as ge } from "./IconCheck-DkmJUDfj.js";
|
|
7
|
+
import { I as ke, a as xe } from "./IconUnchecked-DbkvP1em.js";
|
|
8
|
+
import { I as be, a as $e, b as we, c as He } from "./IconPlus-CnpaX_7c.js";
|
|
9
|
+
import { I as Ae } from "./IconClose-B6UJFr7O.js";
|
|
10
|
+
import { I as Fe } from "./IconCopy-DwaMO7aJ.js";
|
|
11
|
+
import { I as Pe, a as Te, b as je, c as Me } from "./IconWarning-DkGRbK8I.js";
|
|
12
|
+
import { I as We, a as Ge, b as Ve } from "./IconSucceeded-CPpK5tIY.js";
|
|
13
13
|
const U = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(o, null)), W = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(l, null)), G = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(c, null)), V = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(a, null)), z = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(r, null)), N = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(I, null)), X = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(m, null)), q = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(s, null)), J = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(E, null)), K = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(u, null)), O = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(i, null)), Q = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(h, null)), Y = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(p, null)), Z = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(C, null)), _ = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(d, null)), ee = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(S, null)), ne = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(f, null)), te = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(L, null)), ce = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(g, null)), oe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(v, null)), le = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(k, null)), ae = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(x, null)), re = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(D, null)), Ie = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(b, null)), me = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement($, null)), se = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(w, null)), Ee = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(H, null)), ue = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(y, null)), ie = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(A, null)), he = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(B, null)), pe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(F, null)), Ce = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(R, null)), de = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(P, null)), Se = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(c, null));
|
|
14
14
|
export {
|
|
15
15
|
U as IconApp,
|
package/dist/Initials.js
CHANGED
|
@@ -1,30 +1,17 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import s from "react";
|
|
4
|
+
import m from "clsx";
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import { u as
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return
|
|
13
|
-
}, v = (t) => t.replace(/[^\p{L}\s]/giu, "").split(" ").map((i) => i.trim()[0]).filter((i) => i !== void 0).map((i) => i.toUpperCase()).slice(0, 2), u = "flow--initials", s = {
|
|
14
|
-
initials: u,
|
|
15
|
-
"variant-1": "flow--initials--variant-1",
|
|
16
|
-
"variant-2": "flow--initials--variant-2",
|
|
17
|
-
"variant-3": "flow--initials--variant-3",
|
|
18
|
-
"variant-4": "flow--initials--variant-4"
|
|
19
|
-
}, E = (t) => {
|
|
20
|
-
const { children: i, className: a } = p("Initials", t), r = v(i), l = m(
|
|
21
|
-
s.initials,
|
|
22
|
-
s[`variant-${f(i)}`],
|
|
23
|
-
a
|
|
24
|
-
), e = r.map((o, c) => /* @__PURE__ */ n.createElement("span", { key: c }, o));
|
|
25
|
-
return /* @__PURE__ */ n.createElement("div", { "aria-label": i, className: l }, e);
|
|
7
|
+
import { u as c } from "./useProps-C7GIMcgB.js";
|
|
8
|
+
const p = (i) => i.replace(/[^\p{L}\s]/giu, "").split(" ").map((t) => t.trim()[0]).filter((t) => t !== void 0).map((t) => t.toUpperCase()).slice(0, 2), f = "flow--initials", u = {
|
|
9
|
+
initials: f
|
|
10
|
+
}, v = (i) => {
|
|
11
|
+
const { children: t, className: a } = c("Initials", i), e = p(t), l = m(u.initials, a), n = e.map((r, o) => /* @__PURE__ */ s.createElement("span", { key: o }, r));
|
|
12
|
+
return /* @__PURE__ */ s.createElement("div", { "aria-label": t, className: l }, n);
|
|
26
13
|
};
|
|
27
14
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
v as Initials,
|
|
16
|
+
v as default
|
|
30
17
|
};
|
package/dist/InlineAlert.js
CHANGED
|
@@ -4,8 +4,8 @@ import e from "react";
|
|
|
4
4
|
import "./propsContext-Dx7WKmmM.js";
|
|
5
5
|
import { P as c } from "./PropsContextProvider-CEoxD8yK.js";
|
|
6
6
|
import { u as m } from "./useProps-C7GIMcgB.js";
|
|
7
|
-
import
|
|
8
|
-
import { S as p } from "./StatusIcon-
|
|
7
|
+
import f from "clsx";
|
|
8
|
+
import { S as p } from "./StatusIcon-GPbDfbJe.js";
|
|
9
9
|
const u = "flow--inline-alert", d = "flow--inline-alert--content", g = "flow--inline-alert--status-icon", w = "flow--inline-alert--heading", I = "flow--inline-alert--info", N = "flow--inline-alert--warning", h = "flow--inline-alert--danger", A = "flow--inline-alert--success", n = {
|
|
10
10
|
inlineAlert: u,
|
|
11
11
|
content: d,
|
package/dist/InlineCode.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const i = "flow--inline-code",
|
|
3
|
+
import l from "react";
|
|
4
|
+
import c from "clsx";
|
|
5
|
+
const i = "flow--inline-code", r = {
|
|
6
6
|
inlineCode: i
|
|
7
7
|
}, m = (e) => {
|
|
8
|
-
const { children: o, className: n, ...s } = e, t =
|
|
9
|
-
return /* @__PURE__ */
|
|
8
|
+
const { children: o, className: n, ...s } = e, t = c(r.inlineCode, n);
|
|
9
|
+
return /* @__PURE__ */ l.createElement("code", { ...s, className: t }, o);
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
12
|
m as InlineCode,
|
package/dist/Label.js
CHANGED
package/dist/LabeledValue.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import l from "react";
|
|
4
|
-
import
|
|
4
|
+
import r from "clsx";
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
|
-
import { P as
|
|
6
|
+
import { P as b } from "./PropsContextProvider-CEoxD8yK.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
const
|
|
9
|
-
labeledValue:
|
|
8
|
+
const c = "flow--labeled-value", m = "flow--labeled-value--button", p = "flow--labeled-value--label", e = {
|
|
9
|
+
labeledValue: c,
|
|
10
10
|
button: m,
|
|
11
11
|
label: p
|
|
12
|
-
}, v = (
|
|
13
|
-
const { children:
|
|
12
|
+
}, v = (t) => {
|
|
13
|
+
const { children: a, className: o } = t, s = r(e.labeledValue, o), n = {
|
|
14
14
|
Label: {
|
|
15
15
|
className: e.label
|
|
16
16
|
},
|
|
@@ -25,7 +25,7 @@ const b = "flow--labeled-value", m = "flow--labeled-value--button", p = "flow--l
|
|
|
25
25
|
size: "s"
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
return /* @__PURE__ */ l.createElement("div", { className: s }, /* @__PURE__ */ l.createElement(
|
|
28
|
+
return /* @__PURE__ */ l.createElement("div", { className: s }, /* @__PURE__ */ l.createElement(b, { props: n }, a));
|
|
29
29
|
};
|
|
30
30
|
export {
|
|
31
31
|
v as LabeledValue,
|