@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.
Files changed (273) hide show
  1. package/dist/Avatar.js +36 -12
  2. package/dist/{Button-CMA-xsd_.js → Button-Bh0E7tqA.js} +3 -3
  3. package/dist/Button.js +1 -1
  4. package/dist/Checkbox.js +7 -7
  5. package/dist/Content.js +11 -9
  6. package/dist/CopyToClipboardButton.js +18 -105
  7. package/dist/FieldDescription.js +3 -3
  8. package/dist/{FieldError-BAnloBK7.js → FieldError-DZl3QsUa.js} +1 -1
  9. package/dist/FieldError.js +1 -1
  10. package/dist/Heading.js +6 -6
  11. package/dist/{Icon-C8UD3vMe.js → Icon-D4F2hKiG.js} +5 -5
  12. package/dist/Icon.js +1 -1
  13. package/dist/{IconCheck-QwbBte1y.js → IconCheck-DkmJUDfj.js} +1 -1
  14. package/dist/{IconClose-CA5yuJQ6.js → IconClose-B6UJFr7O.js} +1 -1
  15. package/dist/{IconCopy-C-PQMIfL.js → IconCopy-DwaMO7aJ.js} +1 -1
  16. package/dist/{IconPlus-DsWkdGaB.js → IconPlus-CnpaX_7c.js} +1 -1
  17. package/dist/{IconSucceeded-aGBloDn9.js → IconSucceeded-CPpK5tIY.js} +1 -1
  18. package/dist/{IconUnchecked-CGdUugGS.js → IconUnchecked-DbkvP1em.js} +1 -1
  19. package/dist/{IconWarning-Cum5bpEx.js → IconWarning-DkGRbK8I.js} +1 -1
  20. package/dist/Icons.js +8 -8
  21. package/dist/Initials.js +10 -23
  22. package/dist/InlineAlert.js +2 -2
  23. package/dist/InlineCode.js +5 -5
  24. package/dist/{Label-Dnum8jdD.js → Label-EVs32ETX.js} +1 -1
  25. package/dist/Label.js +1 -1
  26. package/dist/LabeledValue.js +7 -7
  27. package/dist/LayoutCard.js +11 -12
  28. package/dist/Link.js +15 -14
  29. package/dist/Navigation.js +16 -17
  30. package/dist/NumberField.js +5 -5
  31. package/dist/RadioGroup.js +4 -4
  32. package/dist/Section.js +6 -6
  33. package/dist/StatusBadge.js +2 -2
  34. package/dist/{StatusIcon-BVWjvT3I.js → StatusIcon-GPbDfbJe.js} +8 -7
  35. package/dist/StatusIcon.js +1 -1
  36. package/dist/Switch.js +8 -8
  37. package/dist/TextArea.js +1 -1
  38. package/dist/TextField.js +1 -1
  39. package/dist/{TextFieldBase-Dk6XBF7h.js → TextFieldBase-DR3ofo0H.js} +2 -2
  40. package/dist/{Tooltip-BqyZAZgK.js → Tooltip-Co5h9sSt.js} +1 -1
  41. package/dist/Tooltip.js +1 -1
  42. package/dist/nextjs/LinkProvider.js +23 -0
  43. package/dist/styles.css +1 -1
  44. package/dist/types/components/Avatar/Avatar.d.ts +8 -0
  45. package/dist/types/components/Avatar/index.d.ts +3 -0
  46. package/dist/types/components/Avatar/lib/getVariantFromChildren.d.ts +2 -0
  47. package/dist/types/components/Avatar/lib/getVariantFromInitials.test.d.ts +1 -0
  48. package/dist/types/components/Avatar/stories/Default.stories.d.ts +8 -0
  49. package/dist/types/components/Avatar/stories/Sizes.stories.d.ts +9 -0
  50. package/dist/types/components/Button/Button.d.ts +15 -0
  51. package/dist/types/components/Button/index.d.ts +3 -0
  52. package/dist/types/components/Button/stories/Default.stories.d.ts +11 -0
  53. package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +6 -0
  54. package/dist/types/components/Button/stories/States.stories.d.ts +12 -0
  55. package/dist/types/components/Button/stories/Variants.stories.d.ts +17 -0
  56. package/dist/types/components/Checkbox/Checkbox.d.ts +6 -0
  57. package/dist/types/components/Checkbox/index.d.ts +3 -0
  58. package/dist/types/components/Checkbox/stories/Default.stories.d.ts +8 -0
  59. package/dist/types/components/Checkbox/stories/EdgeCases.stories.d.ts +6 -0
  60. package/dist/types/components/ColumnLayout/ColumnLayout.d.ts +8 -0
  61. package/dist/types/components/ColumnLayout/index.d.ts +3 -0
  62. package/dist/types/components/ColumnLayout/lib/getColumns.d.ts +1 -0
  63. package/dist/types/components/ColumnLayout/lib/getColumns.test.d.ts +1 -0
  64. package/dist/types/components/ColumnLayout/stories/Default.stories.d.ts +8 -0
  65. package/dist/types/components/Content/Content.d.ts +6 -0
  66. package/dist/types/components/Content/index.d.ts +3 -0
  67. package/dist/types/components/Content/stories/Default.stories.d.ts +6 -0
  68. package/dist/types/components/CopyToClipboardButton/CopyToClipboardButton.d.ts +7 -0
  69. package/dist/types/components/CopyToClipboardButton/index.d.ts +3 -0
  70. package/dist/types/components/CopyToClipboardButton/stories/Default.stories.d.ts +7 -0
  71. package/dist/types/components/FieldDescription/FieldDescription.d.ts +6 -0
  72. package/dist/types/components/FieldDescription/index.d.ts +3 -0
  73. package/dist/types/components/FieldError/FieldError.d.ts +6 -0
  74. package/dist/types/components/FieldError/index.d.ts +3 -0
  75. package/dist/types/components/Heading/Heading.d.ts +7 -0
  76. package/dist/types/components/Heading/index.d.ts +3 -0
  77. package/dist/types/components/Heading/stories/Default.stories.d.ts +6 -0
  78. package/dist/types/components/Heading/stories/Levels.stories.d.ts +11 -0
  79. package/dist/types/components/Icon/Icon.d.ts +8 -0
  80. package/dist/types/components/Icon/components/icons/IconApp.d.ts +4 -0
  81. package/dist/types/components/Icon/components/icons/IconBackLink.d.ts +4 -0
  82. package/dist/types/components/Icon/components/icons/IconBackup.d.ts +4 -0
  83. package/dist/types/components/Icon/components/icons/IconCheck.d.ts +4 -0
  84. package/dist/types/components/Icon/components/icons/IconChecked.d.ts +4 -0
  85. package/dist/types/components/Icon/components/icons/IconChevronDown.d.ts +4 -0
  86. package/dist/types/components/Icon/components/icons/IconChevronLeft.d.ts +4 -0
  87. package/dist/types/components/Icon/components/icons/IconChevronRight.d.ts +4 -0
  88. package/dist/types/components/Icon/components/icons/IconChevronUp.d.ts +4 -0
  89. package/dist/types/components/Icon/components/icons/IconClose.d.ts +4 -0
  90. package/dist/types/components/Icon/components/icons/IconCopy.d.ts +4 -0
  91. package/dist/types/components/Icon/components/icons/IconCronjob.d.ts +4 -0
  92. package/dist/types/components/Icon/components/icons/IconCustomer.d.ts +4 -0
  93. package/dist/types/components/Icon/components/icons/IconDanger.d.ts +4 -0
  94. package/dist/types/components/Icon/components/icons/IconDashboard.d.ts +4 -0
  95. package/dist/types/components/Icon/components/icons/IconDatabase.d.ts +4 -0
  96. package/dist/types/components/Icon/components/icons/IconDate.d.ts +4 -0
  97. package/dist/types/components/Icon/components/icons/IconDelete.d.ts +4 -0
  98. package/dist/types/components/Icon/components/icons/IconDomain.d.ts +4 -0
  99. package/dist/types/components/Icon/components/icons/IconEmail.d.ts +4 -0
  100. package/dist/types/components/Icon/components/icons/IconExternalLink.d.ts +4 -0
  101. package/dist/types/components/Icon/components/icons/IconFailed.d.ts +4 -0
  102. package/dist/types/components/Icon/components/icons/IconFilter.d.ts +4 -0
  103. package/dist/types/components/Icon/components/icons/IconHide.d.ts +4 -0
  104. package/dist/types/components/Icon/components/icons/IconHome.d.ts +4 -0
  105. package/dist/types/components/Icon/components/icons/IconInfo.d.ts +4 -0
  106. package/dist/types/components/Icon/components/icons/IconListView.d.ts +4 -0
  107. package/dist/types/components/Icon/components/icons/IconLogout.d.ts +4 -0
  108. package/dist/types/components/Icon/components/icons/IconMember.d.ts +4 -0
  109. package/dist/types/components/Icon/components/icons/IconMinus.d.ts +4 -0
  110. package/dist/types/components/Icon/components/icons/IconNotification.d.ts +4 -0
  111. package/dist/types/components/Icon/components/icons/IconPending.d.ts +4 -0
  112. package/dist/types/components/Icon/components/icons/IconPlus.d.ts +4 -0
  113. package/dist/types/components/Icon/components/icons/IconProject.d.ts +4 -0
  114. package/dist/types/components/Icon/components/icons/IconRandom.d.ts +4 -0
  115. package/dist/types/components/Icon/components/icons/IconSearch.d.ts +4 -0
  116. package/dist/types/components/Icon/components/icons/IconSearchEngine.d.ts +4 -0
  117. package/dist/types/components/Icon/components/icons/IconServer.d.ts +4 -0
  118. package/dist/types/components/Icon/components/icons/IconSettings.d.ts +4 -0
  119. package/dist/types/components/Icon/components/icons/IconShow.d.ts +4 -0
  120. package/dist/types/components/Icon/components/icons/IconSorting.d.ts +4 -0
  121. package/dist/types/components/Icon/components/icons/IconSshSftp.d.ts +4 -0
  122. package/dist/types/components/Icon/components/icons/IconSucceeded.d.ts +4 -0
  123. package/dist/types/components/Icon/components/icons/IconSuccess.d.ts +4 -0
  124. package/dist/types/components/Icon/components/icons/IconSupport.d.ts +4 -0
  125. package/dist/types/components/Icon/components/icons/IconTerminate.d.ts +4 -0
  126. package/dist/types/components/Icon/components/icons/IconTileView.d.ts +4 -0
  127. package/dist/types/components/Icon/components/icons/IconTime.d.ts +4 -0
  128. package/dist/types/components/Icon/components/icons/IconUnchecked.d.ts +4 -0
  129. package/dist/types/components/Icon/components/icons/IconWarning.d.ts +4 -0
  130. package/dist/types/components/Icon/components/icons/index.d.ts +50 -0
  131. package/dist/types/components/Icon/index.d.ts +3 -0
  132. package/dist/types/components/Icon/lib/extractSvgFromString.d.ts +2 -0
  133. package/dist/types/components/Icon/lib/extractSvgFromString.test.d.ts +1 -0
  134. package/dist/types/components/Icon/stories/Default.stories.d.ts +9 -0
  135. package/dist/types/components/Icon/stories/Sizes.stories.d.ts +8 -0
  136. package/dist/types/components/Image/Image.d.ts +5 -0
  137. package/dist/types/components/Image/index.d.ts +3 -0
  138. package/dist/types/components/Image/stories/Default.stories.d.ts +6 -0
  139. package/dist/types/components/Initials/Initials.d.ts +8 -0
  140. package/dist/types/components/Initials/index.d.ts +3 -0
  141. package/dist/types/components/Initials/lib/getInitialsFromString.d.ts +1 -0
  142. package/dist/types/components/Initials/lib/getInitialsFromString.test.d.ts +1 -0
  143. package/dist/types/components/Initials/stories/Default.stories.d.ts +7 -0
  144. package/dist/types/components/InlineAlert/InlineAlert.d.ts +6 -0
  145. package/dist/types/components/InlineAlert/index.d.ts +3 -0
  146. package/dist/types/components/InlineAlert/stories/Default.stories.d.ts +7 -0
  147. package/dist/types/components/InlineAlert/stories/EdgeCases.stories.d.ts +6 -0
  148. package/dist/types/components/InlineAlert/stories/Variants.stories.d.ts +9 -0
  149. package/dist/types/components/InlineCode/InlineCode.d.ts +5 -0
  150. package/dist/types/components/InlineCode/index.d.ts +3 -0
  151. package/dist/types/components/InlineCode/stories/Default.stories.d.ts +6 -0
  152. package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +6 -0
  153. package/dist/types/components/Label/Label.d.ts +7 -0
  154. package/dist/types/components/Label/index.d.ts +3 -0
  155. package/dist/types/components/Label/stories/Default.stories.d.ts +7 -0
  156. package/dist/types/components/LabeledValue/LabeledValue.d.ts +6 -0
  157. package/dist/types/components/LabeledValue/index.d.ts +3 -0
  158. package/dist/types/components/LabeledValue/stories/Default.stories.d.ts +9 -0
  159. package/dist/types/components/LabeledValue/stories/EdgeCases.stories.d.ts +7 -0
  160. package/dist/types/components/LayoutCard/LayoutCard.d.ts +6 -0
  161. package/dist/types/components/LayoutCard/index.d.ts +3 -0
  162. package/dist/types/components/LayoutCard/stories/Default.stories.d.ts +6 -0
  163. package/dist/types/components/Link/Link.d.ts +10 -0
  164. package/dist/types/components/Link/index.d.ts +3 -0
  165. package/dist/types/components/Link/stories/Default.stories.d.ts +9 -0
  166. package/dist/types/components/Navigation/Navigation.d.ts +6 -0
  167. package/dist/types/components/Navigation/components/NavigationItem/NavigationItem.d.ts +7 -0
  168. package/dist/types/components/Navigation/components/NavigationItem/index.d.ts +3 -0
  169. package/dist/types/components/Navigation/index.d.ts +4 -0
  170. package/dist/types/components/Navigation/stories/Default.stories.d.ts +7 -0
  171. package/dist/types/components/NumberField/NumberField.d.ts +6 -0
  172. package/dist/types/components/NumberField/index.d.ts +3 -0
  173. package/dist/types/components/NumberField/stories/Default.stories.d.ts +11 -0
  174. package/dist/types/components/NumberField/stories/EdgeCases.stories.d.ts +7 -0
  175. package/dist/types/components/RadioGroup/RadioGroup.d.ts +6 -0
  176. package/dist/types/components/RadioGroup/components/Radio/Radio.d.ts +6 -0
  177. package/dist/types/components/RadioGroup/components/Radio/index.d.ts +3 -0
  178. package/dist/types/components/RadioGroup/index.d.ts +4 -0
  179. package/dist/types/components/RadioGroup/stories/Default.stories.d.ts +12 -0
  180. package/dist/types/components/RadioGroup/stories/EdgeCases.stories.d.ts +8 -0
  181. package/dist/types/components/Section/Section.d.ts +5 -0
  182. package/dist/types/components/Section/index.d.ts +3 -0
  183. package/dist/types/components/Section/stories/Default.stories.d.ts +7 -0
  184. package/dist/types/components/StatusBadge/StatusBadge.d.ts +7 -0
  185. package/dist/types/components/StatusBadge/index.d.ts +3 -0
  186. package/dist/types/components/StatusBadge/stories/Default.stories.d.ts +6 -0
  187. package/dist/types/components/StatusBadge/stories/EdgeCases.stories.d.ts +6 -0
  188. package/dist/types/components/StatusBadge/stories/Variants.stories.d.ts +9 -0
  189. package/dist/types/components/StatusIcon/StatusIcon.d.ts +7 -0
  190. package/dist/types/components/StatusIcon/index.d.ts +3 -0
  191. package/dist/types/components/StatusIcon/stories/Default.stories.d.ts +9 -0
  192. package/dist/types/components/Switch/Switch.d.ts +8 -0
  193. package/dist/types/components/Switch/index.d.ts +3 -0
  194. package/dist/types/components/Switch/stories/Default.stories.d.ts +8 -0
  195. package/dist/types/components/Switch/stories/EdgeCases.stories.d.ts +6 -0
  196. package/dist/types/components/Text/Text.d.ts +7 -0
  197. package/dist/types/components/Text/index.d.ts +3 -0
  198. package/dist/types/components/Text/stories/Default.stories.d.ts +6 -0
  199. package/dist/types/components/TextArea/TextArea.d.ts +7 -0
  200. package/dist/types/components/TextArea/index.d.ts +3 -0
  201. package/dist/types/components/TextArea/stories/Default.stories.d.ts +12 -0
  202. package/dist/types/components/TextField/TextField.d.ts +7 -0
  203. package/dist/types/components/TextField/index.d.ts +3 -0
  204. package/dist/types/components/TextField/stories/Default.stories.d.ts +13 -0
  205. package/dist/types/components/TextFieldBase/TextFieldBase.d.ts +7 -0
  206. package/dist/types/components/TextFieldBase/index.d.ts +3 -0
  207. package/dist/types/components/Tooltip/Tooltip.d.ts +6 -0
  208. package/dist/types/components/Tooltip/components/TooltipTrigger/TooltipTrigger.d.ts +6 -0
  209. package/dist/types/components/Tooltip/components/TooltipTrigger/index.d.ts +3 -0
  210. package/dist/types/components/Tooltip/index.d.ts +4 -0
  211. package/dist/types/components/Tooltip/stories/Default.stories.d.ts +6 -0
  212. package/dist/types/components/Tooltip/stories/EdgeCases.stories.d.ts +6 -0
  213. package/dist/types/components/Wrap/Wrap.d.ts +5 -0
  214. package/dist/types/components/Wrap/index.d.ts +3 -0
  215. package/dist/types/components/nextjs/Link/Link.d.ts +2 -0
  216. package/dist/types/components/nextjs/Link/index.d.ts +3 -0
  217. package/dist/types/components/nextjs/LinkProvider/LinkProvider.d.ts +3 -0
  218. package/dist/types/components/nextjs/LinkProvider/index.d.ts +3 -0
  219. package/dist/types/components/propTypes/index.d.ts +34 -0
  220. package/dist/types/components/propTypes/types.d.ts +5 -0
  221. package/dist/types/lib/dev/dummyText.d.ts +6 -0
  222. package/dist/types/lib/propsContext/ClearPropsContext.d.ts +5 -0
  223. package/dist/types/lib/propsContext/ClearPropsContext.test.d.ts +1 -0
  224. package/dist/types/lib/propsContext/PropsContextProvider.d.ts +8 -0
  225. package/dist/types/lib/propsContext/dynamicProps/dynamic.d.ts +3 -0
  226. package/dist/types/lib/propsContext/dynamicProps/isDynamicProp.d.ts +4 -0
  227. package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +4 -0
  228. package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.test.d.ts +1 -0
  229. package/dist/types/lib/propsContext/dynamicProps/types.d.ts +4 -0
  230. package/dist/types/lib/propsContext/index.d.ts +5 -0
  231. package/dist/types/lib/propsContext/mergePropsContext.d.ts +3 -0
  232. package/dist/types/lib/propsContext/mergePropsContext.test.d.ts +1 -0
  233. package/dist/types/lib/propsContext/propsContext.d.ts +3101 -0
  234. package/dist/types/lib/propsContext/types.d.ts +8 -0
  235. package/dist/types/lib/propsContext/useProps.d.ts +3 -0
  236. package/dist/types/lib/propsContext/useProps.test.d.ts +1 -0
  237. package/dist/types/lib/types/props.d.ts +8 -0
  238. package/dist/types/lib/types/props.test-types.d.ts +1 -0
  239. package/dist/{stylesInit.d.ts → types/styles/index.d.ts} +2 -4
  240. package/package.json +136 -33
  241. package/dist/Avatar.d.ts +0 -14
  242. package/dist/Button.d.ts +0 -21
  243. package/dist/Checkbox.d.ts +0 -12
  244. package/dist/ClearPropsContext-CD1-9TZA.js +0 -11
  245. package/dist/ColumnLayout.d.ts +0 -14
  246. package/dist/Content.d.ts +0 -17
  247. package/dist/CopyToClipboardButton.d.ts +0 -26
  248. package/dist/FieldDescription.d.ts +0 -21
  249. package/dist/FieldError.d.ts +0 -12
  250. package/dist/Heading.d.ts +0 -15
  251. package/dist/Icon.d.ts +0 -16
  252. package/dist/Icons.d.ts +0 -115
  253. package/dist/Image.d.ts +0 -11
  254. package/dist/Initials.d.ts +0 -14
  255. package/dist/InlineAlert.d.ts +0 -18
  256. package/dist/InlineCode.d.ts +0 -12
  257. package/dist/Label.d.ts +0 -13
  258. package/dist/LabeledValue.d.ts +0 -12
  259. package/dist/LayoutCard.d.ts +0 -17
  260. package/dist/Link.d.ts +0 -15
  261. package/dist/Navigation.d.ts +0 -23
  262. package/dist/NumberField.d.ts +0 -12
  263. package/dist/RadioGroup.d.ts +0 -17
  264. package/dist/Section.d.ts +0 -12
  265. package/dist/StatusBadge.d.ts +0 -18
  266. package/dist/StatusIcon.d.ts +0 -25
  267. package/dist/Switch.d.ts +0 -14
  268. package/dist/Text.d.ts +0 -18
  269. package/dist/TextArea.d.ts +0 -17
  270. package/dist/TextField.d.ts +0 -17
  271. package/dist/Tooltip.d.ts +0 -17
  272. package/dist/TooltipTrigger.d.ts +0 -12
  273. package/dist/clsx-DB4S2d7J.js +0 -24
package/dist/Avatar.js CHANGED
@@ -1,26 +1,50 @@
1
1
  "use client"
2
2
  /* */
3
- import s from "react";
4
- import { c as n } from "./clsx-DB4S2d7J.js";
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
- const c = "flow--avatar", v = "flow--avatar--initials", a = {
9
- avatar: c,
10
- initials: v,
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
- }, d = (t) => {
16
- const { children: i, className: e, size: o = "m" } = t, r = n(a.avatar, a[`size-${o}`], e), l = {
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: a.initials
39
+ className: r.initials
40
+ },
41
+ Icon: {
42
+ size: "m"
19
43
  }
20
44
  };
21
- return /* @__PURE__ */ s.createElement("div", { className: r }, /* @__PURE__ */ s.createElement(m, { props: l }, i));
45
+ return /* @__PURE__ */ o.createElement("div", { className: e }, /* @__PURE__ */ o.createElement(m, { props: n }, a));
22
46
  };
23
47
  export {
24
- d as Avatar,
25
- d as default
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 { c as I } from "./clsx-DB4S2d7J.js";
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-C8UD3vMe.js";
10
+ import "./Icon-D4F2hKiG.js";
11
11
  import "html-react-parser";
12
- import { b as N, I as S, a as C } from "./IconSucceeded-aGBloDn9.js";
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
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { B as o } from "./Button-CMA-xsd_.js";
3
+ import { B as o } from "./Button-Bh0E7tqA.js";
4
4
  export {
5
5
  o as Button,
6
6
  o as default
package/dist/Checkbox.js CHANGED
@@ -1,20 +1,20 @@
1
1
  "use client"
2
2
  /* */
3
- import c from "react";
3
+ import e from "react";
4
4
  import * as k from "react-aria-components";
5
- import { c as l } from "./clsx-DB4S2d7J.js";
5
+ import l from "clsx";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-C8UD3vMe.js";
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-CGdUugGS.js";
12
- const i = "flow--checkbox", p = "flow--checkbox--checkmark", e = {
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(e.checkbox, r);
17
- return /* @__PURE__ */ c.createElement(k.Checkbox, { ...a, className: m }, ({ isSelected: s }) => /* @__PURE__ */ c.createElement(c.Fragment, null, s ? /* @__PURE__ */ c.createElement(n, { className: e.checkmark }) : /* @__PURE__ */ c.createElement(h, { className: e.checkmark }), t));
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 e from "react";
4
- import { C as s } from "./ClearPropsContext-CD1-9TZA.js";
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 l } from "./useProps-C7GIMcgB.js";
8
- const C = (t) => {
9
- const { children: r, elementType: o = "div", ...n } = l("Content", t), m = o;
10
- return /* @__PURE__ */ e.createElement(m, { ...n }, /* @__PURE__ */ e.createElement(s, null, r));
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
- C as Content,
14
- C as default
15
+ d as Content,
16
+ d as default
15
17
  };
@@ -1,121 +1,34 @@
1
1
  "use client"
2
2
  /* */
3
- import f, { isValidElement as l, Children as u, cloneElement as v } from "react";
4
- import { B as R } from "./Button-CMA-xsd_.js";
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-C8UD3vMe.js";
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 B } from "./useProps-C7GIMcgB.js";
11
- import { I as N } from "./IconCopy-C-PQMIfL.js";
12
- import { useLocalizedStringFormatter as $ } from "react-aria";
13
- import { T as k } from "./Tooltip-BqyZAZgK.js";
14
- import { T as P } from "./TooltipTrigger-7-ynWHZ9.js";
15
- function F(e) {
16
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
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
- }, d = (e) => l(e) && !!e.props.children, K = (e) => l(e) && d(e) && u.toArray(e.props.children).reduce((t, r) => t || l(r), !1), i = K, E = (e, t) => u.toArray(e).filter(t).map((r) => l(r) && i(r) ? v(r, {
87
- ...r.props,
88
- children: E(r.props.children, t)
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__ */ f.createElement(P, null, /* @__PURE__ */ f.createElement(R, { onPress: s, "aria-label": a, ...r }, /* @__PURE__ */ f.createElement(N, null)), /* @__PURE__ */ f.createElement(k, null, a));
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
- ie as CopyToClipboardButton,
120
- ie as default
32
+ R as CopyToClipboardButton,
33
+ R as default
121
34
  };
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  /* */
3
3
  import r from "react";
4
- import { c } from "./clsx-DB4S2d7J.js";
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: s, className: t, ...o } = l("FieldDescription", e), i = c(m.fieldDescription, t);
13
- return /* @__PURE__ */ r.createElement(n, { slot: "description", ...o, className: i }, s);
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 { c as m } from "./clsx-DB4S2d7J.js";
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";
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { F as o } from "./FieldError-BAnloBK7.js";
3
+ import { F as o } from "./FieldError-DZl3QsUa.js";
4
4
  export {
5
5
  o as FieldError,
6
6
  o as default
package/dist/Heading.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  /* */
3
- import c from "react";
4
- import { c as m } from "./clsx-DB4S2d7J.js";
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: s,
13
- className: t,
12
+ children: t,
13
+ className: s,
14
14
  level: o = 3,
15
15
  ...a
16
- } = i("Heading", e), n = m(d.heading, t), r = `h${o}`;
17
- return /* @__PURE__ */ c.createElement(r, { className: n, ...a }, s);
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 { c as g } from "./clsx-DB4S2d7J.js";
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: a = "m",
27
- ...l
26
+ size: l = "m",
27
+ ...a
28
28
  } = u("Icon", e), m = {
29
- ...l,
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-${a}`])
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
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { I as a } from "./Icon-C8UD3vMe.js";
3
+ import { I as a } from "./Icon-D4F2hKiG.js";
4
4
  export {
5
5
  a as Icon,
6
6
  a as default
@@ -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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
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-C8UD3vMe.js";
6
- import { I as ge } from "./IconCheck-QwbBte1y.js";
7
- import { I as ke, a as xe } from "./IconUnchecked-CGdUugGS.js";
8
- import { I as be, a as $e, b as we, c as He } from "./IconPlus-DsWkdGaB.js";
9
- import { I as Ae } from "./IconClose-CA5yuJQ6.js";
10
- import { I as Fe } from "./IconCopy-C-PQMIfL.js";
11
- import { I as Pe, a as Te, b as je, c as Me } from "./IconWarning-Cum5bpEx.js";
12
- import { I as We, a as Ge, b as Ve } from "./IconSucceeded-aGBloDn9.js";
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 n from "react";
4
- import { c as m } from "./clsx-DB4S2d7J.js";
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 p } from "./useProps-C7GIMcgB.js";
8
- const f = (t) => {
9
- let i = 0;
10
- for (let a = 0; a < t.length; a++)
11
- i += t.charCodeAt(a);
12
- return i % 4 + 1;
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
- E as Initials,
29
- E as default
15
+ v as Initials,
16
+ v as default
30
17
  };
@@ -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 { c as f } from "./clsx-DB4S2d7J.js";
8
- import { S as p } from "./StatusIcon-BVWjvT3I.js";
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,
@@ -1,12 +1,12 @@
1
1
  "use client"
2
2
  /* */
3
- import c from "react";
4
- import { c as l } from "./clsx-DB4S2d7J.js";
5
- const i = "flow--inline-code", a = {
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 = l(a.inlineCode, n);
9
- return /* @__PURE__ */ c.createElement("code", { ...s, className: t }, o);
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,
@@ -2,7 +2,7 @@
2
2
  /* */
3
3
  import i from "react";
4
4
  import * as m from "react-aria-components";
5
- import { c } from "./clsx-DB4S2d7J.js";
5
+ import c from "clsx";
6
6
  import "./propsContext-Dx7WKmmM.js";
7
7
  import "@react-aria/utils";
8
8
  import { u as p } from "./useProps-C7GIMcgB.js";
package/dist/Label.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { L as e } from "./Label-Dnum8jdD.js";
3
+ import { L as e } from "./Label-EVs32ETX.js";
4
4
  export {
5
5
  e as Label,
6
6
  e as default
@@ -1,16 +1,16 @@
1
1
  "use client"
2
2
  /* */
3
3
  import l from "react";
4
- import { c as r } from "./clsx-DB4S2d7J.js";
4
+ import r from "clsx";
5
5
  import "./propsContext-Dx7WKmmM.js";
6
- import { P as c } from "./PropsContextProvider-CEoxD8yK.js";
6
+ import { P as b } from "./PropsContextProvider-CEoxD8yK.js";
7
7
  import "@react-aria/utils";
8
- const b = "flow--labeled-value", m = "flow--labeled-value--button", p = "flow--labeled-value--label", e = {
9
- labeledValue: b,
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 = (a) => {
13
- const { children: t, className: o } = a, s = r(e.labeledValue, o), n = {
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(c, { props: n }, t));
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,