@preply/ds-web-lib 11.0.0 → 11.1.0

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 (303) hide show
  1. package/dist/Accordion-B0hR-tcI.js +96 -0
  2. package/dist/AlertBannerProvider-Cf7w9AOq.js +76 -0
  3. package/dist/AlertDialog-BG-diKBi.js +475 -0
  4. package/dist/Avatar-B-JdqVyg.js +66 -0
  5. package/dist/AvatarWithStatus-CD9jEqEB.js +36 -0
  6. package/dist/Badge-Dd-CLBoW.js +50 -0
  7. package/dist/Box-BJBE9KNm.js +91 -0
  8. package/dist/BubbleCounter.module-BU2S0euA.js +16 -0
  9. package/dist/Button-C35BZJZT.js +91 -0
  10. package/dist/ButtonBase-8eUyTWxX.js +215 -0
  11. package/dist/Checkbox-CtolNbxI.js +108 -0
  12. package/dist/Chips-BRGw7Uup.js +99 -0
  13. package/dist/ChipsPrimitive-Bezq7ptE.js +1179 -0
  14. package/dist/CountryFlag-DVDKHmQH.js +43 -0
  15. package/dist/Dialog.module-Db2BJAn4.js +21 -0
  16. package/dist/DialogCloseButton-DjDd9Mid.js +98 -0
  17. package/dist/DialogDescription-8zw9t6pm.js +44 -0
  18. package/dist/DialogRoot-B67oJduC.js +335 -0
  19. package/dist/DialogRootContext-Bz8RW-Mq.js +12 -0
  20. package/dist/DialogTitle-C2Nn2ys-.js +43 -0
  21. package/dist/Divider-DvwDWB9_.js +17 -0
  22. package/dist/DropdownMenu.primitives-BrsTBvMk.js +4007 -0
  23. package/dist/FieldButton-B2slox8P.js +32 -0
  24. package/dist/FormControl-qnbQL1iF.js +128 -0
  25. package/dist/Heading-DA9gHfsx.js +71 -0
  26. package/dist/Icon-CixAeOSd.js +48 -0
  27. package/dist/IconButton-BPKpgfep.js +31 -0
  28. package/dist/InputContainer-CzzuOe_p.js +38 -0
  29. package/dist/LayoutFlex-e9auDvWD.js +86 -0
  30. package/dist/LayoutFlexItem-D9ziMmHe.js +48 -0
  31. package/dist/LayoutGridItem-Q8Lnvrri.js +34 -0
  32. package/dist/Link-CdoJVeER.js +66 -0
  33. package/dist/Loader-BMOxdJce.js +26 -0
  34. package/dist/OnboardingTooltip-B47_Yrsj.js +165 -0
  35. package/dist/OnboardingTour-DUUoI5WE.js +131 -0
  36. package/dist/PasswordField-Bx5YG62t.js +93 -0
  37. package/dist/PreplyLogo-abgOre30.js +112 -0
  38. package/dist/ProgressBar-CEU4GyHn.js +31 -0
  39. package/dist/ProgressSteps-BSqopxqv.js +45 -0
  40. package/dist/Select-Bo7PX_8V.js +124 -0
  41. package/dist/Slider-Crg4DEn_.js +64 -0
  42. package/dist/Spinner-Ck8KQA22.js +86 -0
  43. package/dist/Stars-D5QspUBE.js +72 -0
  44. package/dist/Steps-DbN5vFrP.js +173 -0
  45. package/dist/Switch-Ck_xB0ID.js +49 -0
  46. package/dist/Text-CaOF75Z-.js +121 -0
  47. package/dist/TextHighlighted-Dwq9Clgn.js +34 -0
  48. package/dist/TextInline-BcA4H2Tk.js +34 -0
  49. package/dist/Toast-wJAjSLfo.js +1019 -0
  50. package/dist/TokyoUIChevronDown-DGcVqR1z.js +14 -0
  51. package/dist/Tooltip-grvKQxTN.js +84 -0
  52. package/dist/VisuallyHidden-CtcHcZCK.js +29 -0
  53. package/dist/align-self-VrZUceie.js +42 -0
  54. package/dist/assets/Accordion.css +2 -2
  55. package/dist/assets/AlertBannerProvider.css +2 -2
  56. package/dist/assets/AlertDialog.css +2 -2
  57. package/dist/assets/Avatar.css +3 -3
  58. package/dist/assets/AvatarWithStatus.css +2 -2
  59. package/dist/assets/Badge.css +1 -1
  60. package/dist/assets/Box.css +3 -3
  61. package/dist/assets/BubbleCounter.css +1 -1
  62. package/dist/assets/Button.css +4 -4
  63. package/dist/assets/ButtonBase.css +40 -46
  64. package/dist/assets/Checkbox.css +1 -1
  65. package/dist/assets/Chips.css +2 -2
  66. package/dist/assets/ChipsPrimitive.css +2 -2
  67. package/dist/assets/CountryFlag.css +1 -1
  68. package/dist/assets/Dialog.css +13 -4
  69. package/dist/assets/Divider.css +1 -1
  70. package/dist/assets/DropdownMenu.css +2 -2
  71. package/dist/assets/FieldButton.css +3 -3
  72. package/dist/assets/FormControl.css +1 -1
  73. package/dist/assets/Heading.css +3 -3
  74. package/dist/assets/Icon.css +3 -3
  75. package/dist/assets/InputContainer.css +2 -2
  76. package/dist/assets/LayoutFlex.css +1 -1
  77. package/dist/assets/LayoutFlexItem.css +1 -1
  78. package/dist/assets/Link.css +3 -3
  79. package/dist/assets/Loader.css +1 -1
  80. package/dist/assets/OnboardingTooltip.css +1 -1
  81. package/dist/assets/OnboardingTour.css +1 -1
  82. package/dist/assets/PreplyLogo.css +1 -1
  83. package/dist/assets/ProgressBar.css +1 -1
  84. package/dist/assets/ProgressSteps.css +1 -1
  85. package/dist/assets/Select.css +2 -2
  86. package/dist/assets/Slider.css +1 -1
  87. package/dist/assets/Spinner.css +3 -3
  88. package/dist/assets/Stars.css +3 -3
  89. package/dist/assets/Steps.css +2 -2
  90. package/dist/assets/Switch.css +1 -1
  91. package/dist/assets/Text.css +3 -3
  92. package/dist/assets/TextHighlighted.css +3 -3
  93. package/dist/assets/TextInline.css +3 -3
  94. package/dist/assets/Toast.css +2 -2
  95. package/dist/assets/Tooltip.css +1 -1
  96. package/dist/assets/align-self.css +1 -1
  97. package/dist/assets/{IconTile.css → components.css} +1 -1
  98. package/dist/assets/exp-color.css +2 -2
  99. package/dist/assets/index.css +1 -1
  100. package/dist/assets/layout-gap.css +3 -3
  101. package/dist/assets/layout-grid.css +3 -3
  102. package/dist/assets/layout-hide.css +1 -1
  103. package/dist/assets/layout-padding.css +3 -3
  104. package/dist/assets/layout-relative.css +1 -1
  105. package/dist/assets/text-accent.css +2 -2
  106. package/dist/assets/text-centered.css +1 -1
  107. package/dist/assets/text-weight.css +2 -2
  108. package/dist/chunk-BVTlhY3a.js +24 -0
  109. package/dist/components/Accordion/Accordion.js +4 -60
  110. package/dist/components/Accordion/hooks/useOnOpenChange.js +19 -28
  111. package/dist/components/AlertBanner/AlertBanner.js +11 -26
  112. package/dist/components/AlertBanner/AlertBannerProvider.js +3 -8
  113. package/dist/components/AlertBanner/primitives/AlertBannerAction.js +11 -69
  114. package/dist/components/AlertBanner/primitives/AlertBannerIcon.js +77 -39
  115. package/dist/components/AlertBanner/primitives/AlertBannerRoot.js +26 -22
  116. package/dist/components/AlertBanner/primitives/AlertBannerText.js +11 -70
  117. package/dist/components/AlertDialog/AlertDialog.js +5 -430
  118. package/dist/components/Avatar/Avatar.js +3 -71
  119. package/dist/components/AvatarWithStatus/AvatarWithStatus.js +3 -43
  120. package/dist/components/Badge/Badge.js +4 -62
  121. package/dist/components/Box/Box.js +3 -95
  122. package/dist/components/BubbleCounter/BubbleCounter.js +23 -28
  123. package/dist/components/Button/Button.js +4 -80
  124. package/dist/components/CalloutBanner/CalloutBanner.js +61 -12
  125. package/dist/components/CalloutBanner/primitives/CalloutBannerDismissButton.js +50 -22
  126. package/dist/components/CalloutBanner/primitives/CalloutBannerIcon.js +86 -45
  127. package/dist/components/CalloutBanner/primitives/CalloutBannerRoot.js +50 -24
  128. package/dist/components/CalloutBanner/primitives/CalloutBannerText.js +41 -11
  129. package/dist/components/Checkbox/Checkbox.js +4 -78
  130. package/dist/components/Checkbox/hooks/useIndeterminate.js +24 -30
  131. package/dist/components/Chips/Chips.types.js +0 -1
  132. package/dist/components/Chips/DismissibleChips.js +117 -86
  133. package/dist/components/Chips/MultiSelectChips.js +98 -64
  134. package/dist/components/Chips/SingleSelectChips.js +94 -57
  135. package/dist/components/Chips/private/ChipsPrimitive.js +4 -17
  136. package/dist/components/CountryFlag/CountryFlag.js +3 -44
  137. package/dist/components/Dialog/Dialog.js +56 -31
  138. package/dist/components/Dialog/DialogSteps.js +40 -29
  139. package/dist/components/Dialog/primitives/DialogActions.js +26 -19
  140. package/dist/components/Dialog/primitives/DialogButtonStack.d.ts.map +1 -1
  141. package/dist/components/Dialog/primitives/DialogButtonStack.js +22 -15
  142. package/dist/components/Dialog/primitives/DialogCloseButton.d.ts +1 -1
  143. package/dist/components/Dialog/primitives/DialogCloseButton.d.ts.map +1 -1
  144. package/dist/components/Dialog/primitives/DialogCloseButton.js +4 -67
  145. package/dist/components/Dialog/primitives/DialogDescription.js +3 -43
  146. package/dist/components/Dialog/primitives/DialogFooter.js +37 -34
  147. package/dist/components/Dialog/primitives/DialogRoot.js +4 -315
  148. package/dist/components/Dialog/primitives/DialogTitle.js +3 -42
  149. package/dist/components/Divider/Divider.js +3 -14
  150. package/dist/components/DropdownMenu/DropdownMenu.js +253 -188
  151. package/dist/components/DropdownMenu/primitives/DropdownMenu.primitives.js +5 -34
  152. package/dist/components/DropdownMenu/primitives/DropdownMenuSelectItem.primitives.js +121 -71
  153. package/dist/components/FieldButton/FieldButton.js +3 -37
  154. package/dist/components/FormControl/FormControl.js +3 -105
  155. package/dist/components/Heading/Heading.js +3 -78
  156. package/dist/components/Icon/Icon.js +4 -49
  157. package/dist/components/IconButton/IconButton.d.ts +5 -1
  158. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  159. package/dist/components/IconButton/IconButton.js +4 -28
  160. package/dist/components/IconTile/IconTile.js +11 -69
  161. package/dist/components/IntlFormatted/IntlFormattedAggregatedDateTime.js +16 -32
  162. package/dist/components/IntlFormatted/IntlFormattedCurrency.js +20 -42
  163. package/dist/components/IntlFormatted/IntlFormattedDate.js +73 -195
  164. package/dist/components/IntlFormatted/IntlFormattedTime.js +14 -24
  165. package/dist/components/IntlFormatted/Wrapper.js +14 -8
  166. package/dist/components/LayoutFlex/LayoutFlex.js +3 -100
  167. package/dist/components/LayoutFlex/style/getStyleAttrs.js +71 -143
  168. package/dist/components/LayoutFlex/tests/AlignItems.js +67 -97
  169. package/dist/components/LayoutFlex/tests/ColumnReverse.js +63 -100
  170. package/dist/components/LayoutFlex/tests/DataOverride.js +1498 -1093
  171. package/dist/components/LayoutFlex/tests/Default.js +19 -20
  172. package/dist/components/LayoutFlex/tests/Direction.js +65 -88
  173. package/dist/components/LayoutFlex/tests/Gap.js +115 -197
  174. package/dist/components/LayoutFlex/tests/HideInline.js +95 -136
  175. package/dist/components/LayoutFlex/tests/JustifyContent.js +75 -108
  176. package/dist/components/LayoutFlex/tests/Nowrap.js +35 -42
  177. package/dist/components/LayoutFlex/tests/Padding.js +207 -263
  178. package/dist/components/LayoutFlex/tests/Relative.js +49 -64
  179. package/dist/components/LayoutFlexItem/LayoutFlexItem.js +3 -54
  180. package/dist/components/LayoutGrid/LayoutGrid.js +26 -34
  181. package/dist/components/LayoutGridItem/LayoutGridItem.js +3 -41
  182. package/dist/components/Link/Link.js +3 -72
  183. package/dist/components/Loader/Loader.js +3 -32
  184. package/dist/components/NumberField/NumberField.js +33 -35
  185. package/dist/components/ObserveIntersection/ObserveIntersection.js +41 -42
  186. package/dist/components/OnboardingTooltip/OnboardingTooltip.js +4 -115
  187. package/dist/components/OnboardingTour/OnboardingTour.js +4 -114
  188. package/dist/components/PasswordField/PasswordField.js +3 -78
  189. package/dist/components/PreplyLogo/PreplyLogo.js +3 -81
  190. package/dist/components/ProgressBar/ProgressBar.js +3 -27
  191. package/dist/components/ProgressSteps/ProgressSteps.js +3 -48
  192. package/dist/components/Rating/Rating.js +29 -20
  193. package/dist/components/Rating/RatingInput.js +57 -59
  194. package/dist/components/Rating/Stars.js +4 -8
  195. package/dist/components/Rating/hooks/useHasError.js +11 -15
  196. package/dist/components/Rating/hooks/useHoverPercentage.js +37 -45
  197. package/dist/components/Rating/hooks/useInputState.js +18 -24
  198. package/dist/components/Rating/hooks/useLocalizations.js +12 -24
  199. package/dist/components/Rating/utils/roundToHalfDecimal.js +4 -4
  200. package/dist/components/SelectField/Select.js +5 -112
  201. package/dist/components/SelectField/SelectField.js +29 -24
  202. package/dist/components/SelectField/hooks/useBreakpointMatch.js +18 -19
  203. package/dist/components/ShowOnIntersection/ShowOnIntersection.js +32 -21
  204. package/dist/components/Slider/RangeSlider.js +62 -52
  205. package/dist/components/Slider/Slider.js +3 -10
  206. package/dist/components/Steps/Steps.js +4 -210
  207. package/dist/components/Switch/Switch.js +3 -51
  208. package/dist/components/Text/Text.js +3 -128
  209. package/dist/components/TextField/TextField.js +27 -29
  210. package/dist/components/TextHighlighted/TextHighlighted.js +3 -41
  211. package/dist/components/TextInline/TextInline.js +3 -40
  212. package/dist/components/TextareaField/TextareaField.js +26 -28
  213. package/dist/components/Toast/Toast.js +4 -1168
  214. package/dist/components/Tooltip/Tooltip.js +3 -66
  215. package/dist/components/deprecated/Chips/Chips.js +4 -76
  216. package/dist/components/deprecated/NativeSelectField/NativeSelect.js +40 -32
  217. package/dist/components/deprecated/NativeSelectField/NativeSelectField.js +34 -33
  218. package/dist/components/deprecated/index.js +5 -6
  219. package/dist/components/index.js +50 -150
  220. package/dist/components/private/ButtonBase/ButtonBase.d.ts +7 -11
  221. package/dist/components/private/ButtonBase/ButtonBase.d.ts.map +1 -1
  222. package/dist/components/private/ButtonBase/ButtonBase.js +3 -247
  223. package/dist/components/private/Input/Input.js +27 -19
  224. package/dist/components/private/Input/InputContainer.js +3 -5
  225. package/dist/components/private/Input/Textarea.js +24 -20
  226. package/dist/components/private/Input/index.js +2 -4
  227. package/dist/components/private/Spinner/Spinner.js +3 -52
  228. package/dist/components/private/VisuallyHidden/VisuallyHidden.js +3 -15
  229. package/dist/components-BIYP8wHJ.js +200 -0
  230. package/dist/exp-color-C5mKAN91.js +74 -0
  231. package/dist/floating-ui.utils.dom-CoeTbDZx.js +215 -0
  232. package/dist/index.js +50 -150
  233. package/dist/index.module-1c7ENvxc.js +7 -0
  234. package/dist/jsx-runtime-i4KUlhDu.js +743 -0
  235. package/dist/layout-gap.module-DLD8bcR4.js +95 -0
  236. package/dist/layout-grid.module-CZfhrKrB.js +101 -0
  237. package/dist/layout-hide.module-B1P0N4i3.js +53 -0
  238. package/dist/layout-padding-ugY-yd2q.js +389 -0
  239. package/dist/layout-relative.module-B5xrFD9j.js +6 -0
  240. package/dist/render-icon-Ch3b2dE0.js +290 -0
  241. package/dist/shared-styles/align-self/align-self.js +2 -36
  242. package/dist/shared-styles/exp-color/exp-color.js +2 -68
  243. package/dist/shared-styles/layout-gap/layout-gap.js +13 -7
  244. package/dist/shared-styles/layout-grid/layout-grid.js +28 -28
  245. package/dist/shared-styles/layout-grid-responsive-columns/layout-grid-responsive-columns.js +29 -43
  246. package/dist/shared-styles/layout-hide/layout-hide.js +8 -8
  247. package/dist/shared-styles/layout-padding/layout-padding.js +2 -5
  248. package/dist/shared-styles/layout-relative/layout-relative.js +14 -8
  249. package/dist/shared-styles/text-accent/text-accent.js +2 -25
  250. package/dist/shared-styles/text-centered/text-centered.js +2 -24
  251. package/dist/shared-styles/text-weight/text-weight.js +2 -15
  252. package/dist/store-sN_eYeZT.js +1064 -0
  253. package/dist/storybook-utils/consts.js +6 -8
  254. package/dist/storybook-utils/index.js +1 -5
  255. package/dist/text-accent-CfUFx-1K.js +30 -0
  256. package/dist/text-centered-Dwp2_-Yp.js +30 -0
  257. package/dist/text-weight-CwoqmM4o.js +21 -0
  258. package/dist/useBaseUiId-CWAD_PSs.js +13 -0
  259. package/dist/useBreakpointMatch-D9a3CTNK.js +338 -0
  260. package/dist/useButton-DHTh3Hm7.js +148 -0
  261. package/dist/useDialogClose-BzFIyWco.js +22 -0
  262. package/dist/useId-CJsH-2wV.js +34 -0
  263. package/dist/useOpenInteractionType-D8vA_ZKI.js +4104 -0
  264. package/dist/useRenderElement-ZBds6eRN.js +341 -0
  265. package/dist/utils/Orientation/OrientationProvider.js +54 -23
  266. package/dist/utils/Orientation/index.js +2 -4
  267. package/dist/utils/RovingTabIndex/RovingTabIndexProvider.js +70 -44
  268. package/dist/utils/RovingTabIndex/index.js +2 -4
  269. package/dist/utils/createRequiredContext.js +23 -13
  270. package/dist/utils/filterAttributesPassedByRadixUIAtRuntime.js +28 -25
  271. package/dist/utils/render-icon.js +3 -320
  272. package/dist/utils/shared-strings.js +24 -32
  273. package/dist/utils/useBreakpointMatch.d.ts.map +1 -1
  274. package/dist/utils/useBreakpointMatch.js +2 -183
  275. package/dist/utils/useControllableState/useControllableState.js +31 -25
  276. package/dist/utils/useMergeRefs.js +29 -14
  277. package/dist/utils/useStableCallback/useStableCallback.js +28 -13
  278. package/package.json +17 -22
  279. package/dist/AlertBannerProvider-DTx2Xp3V.js +0 -50
  280. package/dist/BubbleCounter.module-QMwXWFIS.js +0 -16
  281. package/dist/ChipsPrimitive-DzsaOWgY.js +0 -1244
  282. package/dist/Dialog.module-Ba1X7b3N.js +0 -29
  283. package/dist/DialogRootContext-BCXmmJAw.js +0 -15
  284. package/dist/DropdownMenu.primitives-B3WK71bR.js +0 -5871
  285. package/dist/IconTile-D1G7MljH.js +0 -172
  286. package/dist/InputContainer-oHJlLWIi.js +0 -30
  287. package/dist/Slider-DB4Maswa.js +0 -55
  288. package/dist/Stars-C_mHop2H.js +0 -67
  289. package/dist/TokyoUIChevronDown-D_tD1yU8.js +0 -11
  290. package/dist/floating-ui.utils.dom-3OgjGonN.js +0 -234
  291. package/dist/index.module-Q9TzIR6B.js +0 -11
  292. package/dist/layout-gap.module-MKn_un_k.js +0 -97
  293. package/dist/layout-grid.module-P4B4WVUy.js +0 -103
  294. package/dist/layout-hide.module-Bpl3Pl-a.js +0 -55
  295. package/dist/layout-padding-D5I6rRlL.js +0 -373
  296. package/dist/layout-relative.module-1z75aSwo.js +0 -8
  297. package/dist/store-BUKWfVf3.js +0 -1155
  298. package/dist/useBaseUiId-DavsGYu9.js +0 -8
  299. package/dist/useButton-CFPpP0o5.js +0 -193
  300. package/dist/useDialogClose-C9x1leGd.js +0 -34
  301. package/dist/useId-BhIOp2JG.js +0 -28
  302. package/dist/useOpenInteractionType-Cj41-8Yk.js +0 -2880
  303. package/dist/useRenderElement-DtYPTE_y.js +0 -350
@@ -1,162 +1,90 @@
1
+ import { t as getLayoutPaddingClassnames } from "../../../layout-padding-ugY-yd2q.js";
1
2
  import { LAYOUT_FLEX_DIRECTION_DEFAULT, LAYOUT_PADDING_DEFAULT } from "@preply/ds-core";
2
- import { g as getLayoutPaddingClassnames } from "../../../layout-padding-D5I6rRlL.js";
3
- const DO_NOT_ADD_DATA_ATTRIBUTE = void 0;
3
+ //#region src/components/LayoutFlex/style/getStyleAttrs.ts
4
+ var DO_NOT_ADD_DATA_ATTRIBUTE = void 0;
4
5
  function getWrapAttr(props) {
5
- const {
6
- nowrap
7
- } = props;
8
- if (nowrap) {
9
- return true;
10
- }
11
- return DO_NOT_ADD_DATA_ATTRIBUTE;
6
+ const { nowrap } = props;
7
+ if (nowrap) return true;
12
8
  }
13
9
  function stringifyResponsiveProp(object) {
14
- return JSON.stringify(object);
10
+ return JSON.stringify(object);
15
11
  }
16
12
  function getDirectionAttr(props) {
17
- const {
18
- direction,
19
- column,
20
- reverse
21
- } = props;
22
- if (direction === void 0) {
23
- if (!reverse && !column) {
24
- return {
25
- applyThrough: "direction",
26
- directionAttr: LAYOUT_FLEX_DIRECTION_DEFAULT
27
- };
28
- } else {
29
- const columnOrRow = column ? "column" : "row";
30
- const reverseOrForward = reverse ? "rev" : "fwd";
31
- return {
32
- applyThrough: "columnReverse",
33
- columnReverseAttr: `${columnOrRow}-${reverseOrForward}`
34
- };
35
- }
36
- }
37
- if (typeof direction === "string") {
38
- return {
39
- applyThrough: "direction",
40
- directionAttr: direction
41
- };
42
- }
43
- return {
44
- applyThrough: "direction",
45
- directionAttr: stringifyResponsiveProp(direction)
46
- };
13
+ const { direction, column, reverse } = props;
14
+ if (direction === void 0) if (!reverse && !column) return {
15
+ applyThrough: "direction",
16
+ directionAttr: LAYOUT_FLEX_DIRECTION_DEFAULT
17
+ };
18
+ else return {
19
+ applyThrough: "columnReverse",
20
+ columnReverseAttr: `${column ? "column" : "row"}-${reverse ? "rev" : "fwd"}`
21
+ };
22
+ if (typeof direction === "string") return {
23
+ applyThrough: "direction",
24
+ directionAttr: direction
25
+ };
26
+ return {
27
+ applyThrough: "direction",
28
+ directionAttr: stringifyResponsiveProp(direction)
29
+ };
47
30
  }
48
31
  function getJustifyContentAttr(props) {
49
- const {
50
- justifyContent
51
- } = props;
52
- if (justifyContent === void 0) {
53
- return DO_NOT_ADD_DATA_ATTRIBUTE;
54
- }
55
- if (typeof justifyContent === "string") {
56
- return justifyContent;
57
- }
58
- return stringifyResponsiveProp(justifyContent);
32
+ const { justifyContent } = props;
33
+ if (justifyContent === void 0) return void 0;
34
+ if (typeof justifyContent === "string") return justifyContent;
35
+ return stringifyResponsiveProp(justifyContent);
59
36
  }
60
37
  function getAlignItemsAttr(props) {
61
- const {
62
- alignItems
63
- } = props;
64
- if (alignItems === void 0) {
65
- return DO_NOT_ADD_DATA_ATTRIBUTE;
66
- }
67
- if (typeof alignItems === "string") {
68
- return alignItems;
69
- }
70
- return stringifyResponsiveProp(alignItems);
38
+ const { alignItems } = props;
39
+ if (alignItems === void 0) return void 0;
40
+ if (typeof alignItems === "string") return alignItems;
41
+ return stringifyResponsiveProp(alignItems);
71
42
  }
72
43
  function getGapAttr(props) {
73
- const {
74
- gap
75
- } = props;
76
- if (gap === void 0) {
77
- return DO_NOT_ADD_DATA_ATTRIBUTE;
78
- }
79
- if (typeof gap === "string") {
80
- return gap;
81
- }
82
- return stringifyResponsiveProp(gap);
44
+ const { gap } = props;
45
+ if (gap === void 0) return void 0;
46
+ if (typeof gap === "string") return gap;
47
+ return stringifyResponsiveProp(gap);
83
48
  }
84
49
  function getPaddingAttr(props) {
85
- const {
86
- padding
87
- } = props;
88
- if (padding === void 0) {
89
- return {
90
- applyThrough: "attr",
91
- attr: LAYOUT_PADDING_DEFAULT
92
- };
93
- }
94
- if (typeof padding === "string" || typeof padding === "number") {
95
- return {
96
- applyThrough: "attr",
97
- attr: padding
98
- };
99
- }
100
- if (Array.isArray(padding)) {
101
- return {
102
- applyThrough: "classnames",
103
- classNames: getLayoutPaddingClassnames(padding)
104
- };
105
- }
106
- const attr = stringifyResponsiveProp(padding);
107
- const isUsingShortHandSyntax = attr.includes("[");
108
- if (isUsingShortHandSyntax) {
109
- return {
110
- applyThrough: "classnames",
111
- classNames: getLayoutPaddingClassnames(padding)
112
- };
113
- } else {
114
- return {
115
- applyThrough: "attr",
116
- attr: JSON.stringify(padding)
117
- };
118
- }
50
+ const { padding } = props;
51
+ if (padding === void 0) return {
52
+ applyThrough: "attr",
53
+ attr: LAYOUT_PADDING_DEFAULT
54
+ };
55
+ if (typeof padding === "string" || typeof padding === "number") return {
56
+ applyThrough: "attr",
57
+ attr: padding
58
+ };
59
+ if (Array.isArray(padding)) return {
60
+ applyThrough: "classnames",
61
+ classNames: getLayoutPaddingClassnames(padding)
62
+ };
63
+ if (stringifyResponsiveProp(padding).includes("[")) return {
64
+ applyThrough: "classnames",
65
+ classNames: getLayoutPaddingClassnames(padding)
66
+ };
67
+ else return {
68
+ applyThrough: "attr",
69
+ attr: JSON.stringify(padding)
70
+ };
119
71
  }
120
72
  function getDisplayAttr(props) {
121
- const {
122
- hide,
123
- inline
124
- } = props;
125
- if (hide === void 0) {
126
- return DO_NOT_ADD_DATA_ATTRIBUTE;
127
- }
128
- const display = inline ? "inline-flex" : "flex";
129
- if (typeof hide === "boolean") {
130
- return hide ? "hide" : display;
131
- }
132
- let stringifiedDisplay = stringifyResponsiveProp(hide);
133
- stringifiedDisplay = stringifiedDisplay.replace(/true/g, '"hide"');
134
- stringifiedDisplay = stringifiedDisplay.replace(/false/g, `"${display}"`);
135
- return stringifiedDisplay;
73
+ const { hide, inline } = props;
74
+ if (hide === void 0) return void 0;
75
+ const display = inline ? "inline-flex" : "flex";
76
+ if (typeof hide === "boolean") return hide ? "hide" : display;
77
+ let stringifiedDisplay = stringifyResponsiveProp(hide);
78
+ stringifiedDisplay = stringifiedDisplay.replace(/true/g, "\"hide\"");
79
+ stringifiedDisplay = stringifiedDisplay.replace(/false/g, `"${display}"`);
80
+ return stringifiedDisplay;
136
81
  }
137
82
  function getRelativeAttr(props) {
138
- const {
139
- relative
140
- } = props;
141
- if (relative === void 0) {
142
- return DO_NOT_ADD_DATA_ATTRIBUTE;
143
- }
144
- if (relative === true) {
145
- return true;
146
- }
147
- if (relative === false) {
148
- return DO_NOT_ADD_DATA_ATTRIBUTE;
149
- }
150
- return stringifyResponsiveProp(relative);
83
+ const { relative } = props;
84
+ if (relative === void 0) return void 0;
85
+ if (relative === true) return true;
86
+ if (relative === false) return void 0;
87
+ return stringifyResponsiveProp(relative);
151
88
  }
152
- export {
153
- DO_NOT_ADD_DATA_ATTRIBUTE,
154
- getAlignItemsAttr,
155
- getDirectionAttr,
156
- getDisplayAttr,
157
- getGapAttr,
158
- getJustifyContentAttr,
159
- getPaddingAttr,
160
- getRelativeAttr,
161
- getWrapAttr
162
- };
89
+ //#endregion
90
+ export { DO_NOT_ADD_DATA_ATTRIBUTE, getAlignItemsAttr, getDirectionAttr, getDisplayAttr, getGapAttr, getJustifyContentAttr, getPaddingAttr, getRelativeAttr, getWrapAttr };
@@ -1,115 +1,85 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
- import { LayoutFlex } from "../LayoutFlex.js";
1
+ import { t as require_jsx_runtime } from "../../../jsx-runtime-i4KUlhDu.js";
2
+ import { t as LayoutFlex } from "../../../LayoutFlex-e9auDvWD.js";
3
+ import "react";
4
+ //#region src/components/LayoutFlex/tests/AlignItems.tsx
5
+ var import_jsx_runtime = require_jsx_runtime();
3
6
  function Div1(props) {
4
- return /* @__PURE__ */ jsx("div", { style: {
5
- background: "yellow",
6
- height: "60px"
7
- }, children: props.children });
7
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
8
+ style: {
9
+ background: "yellow",
10
+ height: "60px"
11
+ },
12
+ children: props.children
13
+ });
8
14
  }
9
15
  function Div2(props) {
10
- return /* @__PURE__ */ jsx("div", { style: {
11
- background: "orange"
12
- }, children: props.children });
16
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
17
+ style: { background: "orange" },
18
+ children: props.children
19
+ });
13
20
  }
14
21
  function AlignItemsCenter() {
15
- return /* @__PURE__ */ jsxs(Fragment, { children: [
16
- /* @__PURE__ */ jsx("span", { children: "AlignItemsCenter" }),
17
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
18
- testid: "AlignItemsCenter"
19
- }, alignItems: "center", children: [
20
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
21
- /* @__PURE__ */ jsx(Div2, { children: "b" })
22
- ] })
23
- ] });
22
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsCenter" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
23
+ dataset: { testid: "AlignItemsCenter" },
24
+ alignItems: "center",
25
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
26
+ })] });
24
27
  }
25
28
  function AlignItemsStart() {
26
- return /* @__PURE__ */ jsxs(Fragment, { children: [
27
- /* @__PURE__ */ jsx("span", { children: "AlignItemsStart" }),
28
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
29
- testid: "AlignItemsStart"
30
- }, alignItems: "start", children: [
31
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
32
- /* @__PURE__ */ jsx(Div2, { children: "b" })
33
- ] })
34
- ] });
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsStart" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
30
+ dataset: { testid: "AlignItemsStart" },
31
+ alignItems: "start",
32
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
33
+ })] });
35
34
  }
36
35
  function AlignItemsEnd() {
37
- return /* @__PURE__ */ jsxs(Fragment, { children: [
38
- /* @__PURE__ */ jsx("span", { children: "AlignItemsEnd" }),
39
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
40
- testid: "AlignItemsEnd"
41
- }, alignItems: "end", children: [
42
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
43
- /* @__PURE__ */ jsx(Div2, { children: "b" })
44
- ] })
45
- ] });
36
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsEnd" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
37
+ dataset: { testid: "AlignItemsEnd" },
38
+ alignItems: "end",
39
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
40
+ })] });
46
41
  }
47
42
  function AlignItemsStretch() {
48
- return /* @__PURE__ */ jsxs(Fragment, { children: [
49
- /* @__PURE__ */ jsx("span", { children: "AlignItemsStretch" }),
50
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
51
- testid: "AlignItemsStretch"
52
- }, alignItems: "stretch", children: [
53
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
54
- /* @__PURE__ */ jsx(Div2, { children: "b" })
55
- ] })
56
- ] });
43
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsStretch" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
44
+ dataset: { testid: "AlignItemsStretch" },
45
+ alignItems: "stretch",
46
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
47
+ })] });
57
48
  }
58
49
  function AlignItemsBaseline() {
59
- return /* @__PURE__ */ jsxs(Fragment, { children: [
60
- /* @__PURE__ */ jsx("span", { children: "AlignItemsBaseline" }),
61
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
62
- testid: "AlignItemsBaseline"
63
- }, alignItems: "baseline", children: [
64
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
65
- /* @__PURE__ */ jsx(Div2, { children: "b" })
66
- ] })
67
- ] });
50
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsBaseline" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
51
+ dataset: { testid: "AlignItemsBaseline" },
52
+ alignItems: "baseline",
53
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
54
+ })] });
68
55
  }
69
56
  function AlignItemsResponsive() {
70
- return /* @__PURE__ */ jsxs(Fragment, { children: [
71
- /* @__PURE__ */ jsx("span", { children: "AlignItemsResponsive" }),
72
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
73
- testid: "AlignItemsResponsive"
74
- }, alignItems: {
75
- // start is never used to avoid false positives with the default CSS value
76
- _: "center",
77
- "narrow-l": "end",
78
- "medium-s": "baseline",
79
- "medium-l": "center",
80
- "wide-s": "stretch",
81
- "wide-l": "end"
82
- }, children: [
83
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
84
- /* @__PURE__ */ jsx(Div2, { children: "b" })
85
- ] })
86
- ] });
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsResponsive" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
58
+ dataset: { testid: "AlignItemsResponsive" },
59
+ alignItems: {
60
+ _: "center",
61
+ "narrow-l": "end",
62
+ "medium-s": "baseline",
63
+ "medium-l": "center",
64
+ "wide-s": "stretch",
65
+ "wide-l": "end"
66
+ },
67
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
68
+ })] });
87
69
  }
88
70
  function AlignItemsResponsiveInvertedOrder() {
89
- return /* @__PURE__ */ jsxs(Fragment, { children: [
90
- /* @__PURE__ */ jsx("span", { children: "AlignItemsResponsiveInvertedOrder" }),
91
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
92
- testid: "AlignItemsResponsiveInvertedOrder"
93
- }, alignItems: {
94
- // start is never used to avoid false positives with the default CSS value
95
- "wide-l": "end",
96
- "wide-s": "stretch",
97
- "medium-l": "center",
98
- "medium-s": "baseline",
99
- "narrow-l": "end",
100
- _: "center"
101
- }, children: [
102
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
103
- /* @__PURE__ */ jsx(Div2, { children: "b" })
104
- ] })
105
- ] });
71
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "AlignItemsResponsiveInvertedOrder" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
72
+ dataset: { testid: "AlignItemsResponsiveInvertedOrder" },
73
+ alignItems: {
74
+ "wide-l": "end",
75
+ "wide-s": "stretch",
76
+ "medium-l": "center",
77
+ "medium-s": "baseline",
78
+ "narrow-l": "end",
79
+ _: "center"
80
+ },
81
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
82
+ })] });
106
83
  }
107
- export {
108
- AlignItemsBaseline,
109
- AlignItemsCenter,
110
- AlignItemsEnd,
111
- AlignItemsResponsive,
112
- AlignItemsResponsiveInvertedOrder,
113
- AlignItemsStart,
114
- AlignItemsStretch
115
- };
84
+ //#endregion
85
+ export { AlignItemsBaseline, AlignItemsCenter, AlignItemsEnd, AlignItemsResponsive, AlignItemsResponsiveInvertedOrder, AlignItemsStart, AlignItemsStretch };
@@ -1,122 +1,85 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
- import { LayoutFlex } from "../LayoutFlex.js";
1
+ import { t as require_jsx_runtime } from "../../../jsx-runtime-i4KUlhDu.js";
2
+ import { t as LayoutFlex } from "../../../LayoutFlex-e9auDvWD.js";
3
+ import "react";
4
+ //#region src/components/LayoutFlex/tests/ColumnReverse.tsx
5
+ var import_jsx_runtime = require_jsx_runtime();
3
6
  function Div1(props) {
4
- return /* @__PURE__ */ jsx("div", { style: {
5
- background: "yellow"
6
- }, children: props.children });
7
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
8
+ style: { background: "yellow" },
9
+ children: props.children
10
+ });
7
11
  }
8
12
  function Div2(props) {
9
- return /* @__PURE__ */ jsx("div", { style: {
10
- background: "orange"
11
- }, children: props.children });
13
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
14
+ style: { background: "orange" },
15
+ children: props.children
16
+ });
12
17
  }
13
18
  function ColumnReverseTrueUndefined() {
14
- return /* @__PURE__ */ jsxs(Fragment, { children: [
15
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseTrueUndefined" }),
16
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
17
- testid: "ColumnReverseTrueUndefined"
18
- }, column: true, children: [
19
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
20
- /* @__PURE__ */ jsx(Div2, { children: "b" })
21
- ] })
22
- ] });
19
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseTrueUndefined" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
20
+ dataset: { testid: "ColumnReverseTrueUndefined" },
21
+ column: true,
22
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
23
+ })] });
23
24
  }
24
25
  function ColumnReverseTrueFalse() {
25
- return /* @__PURE__ */ jsxs(Fragment, { children: [
26
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseTrueFalse" }),
27
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
28
- testid: "ColumnReverseTrueFalse"
29
- }, column: true, reverse: false, children: [
30
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
31
- /* @__PURE__ */ jsx(Div2, { children: "b" })
32
- ] })
33
- ] });
26
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseTrueFalse" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
27
+ dataset: { testid: "ColumnReverseTrueFalse" },
28
+ column: true,
29
+ reverse: false,
30
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
31
+ })] });
34
32
  }
35
33
  function ColumnReverseTrueTrue() {
36
- return /* @__PURE__ */ jsxs(Fragment, { children: [
37
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseTrueTrue" }),
38
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
39
- testid: "ColumnReverseTrueTrue"
40
- }, column: true, reverse: true, children: [
41
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
42
- /* @__PURE__ */ jsx(Div2, { children: "b" })
43
- ] })
44
- ] });
34
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseTrueTrue" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
35
+ dataset: { testid: "ColumnReverseTrueTrue" },
36
+ column: true,
37
+ reverse: true,
38
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
39
+ })] });
45
40
  }
46
41
  function ColumnReverseFalseUndefined() {
47
- return /* @__PURE__ */ jsxs(Fragment, { children: [
48
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseFalseUndefined" }),
49
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
50
- testid: "ColumnReverseFalseUndefined"
51
- }, column: false, children: [
52
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
53
- /* @__PURE__ */ jsx(Div2, { children: "b" })
54
- ] })
55
- ] });
42
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseFalseUndefined" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
43
+ dataset: { testid: "ColumnReverseFalseUndefined" },
44
+ column: false,
45
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
46
+ })] });
56
47
  }
57
48
  function ColumnReverseFalseFalse() {
58
- return /* @__PURE__ */ jsxs(Fragment, { children: [
59
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseFalseFalse" }),
60
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
61
- testid: "ColumnReverseFalseFalse"
62
- }, column: false, reverse: false, children: [
63
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
64
- /* @__PURE__ */ jsx(Div2, { children: "b" })
65
- ] })
66
- ] });
49
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseFalseFalse" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
50
+ dataset: { testid: "ColumnReverseFalseFalse" },
51
+ column: false,
52
+ reverse: false,
53
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
54
+ })] });
67
55
  }
68
56
  function ColumnReverseFalseTrue() {
69
- return /* @__PURE__ */ jsxs(Fragment, { children: [
70
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseFalseTrue" }),
71
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
72
- testid: "ColumnReverseFalseTrue"
73
- }, column: false, reverse: true, children: [
74
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
75
- /* @__PURE__ */ jsx(Div2, { children: "b" })
76
- ] })
77
- ] });
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseFalseTrue" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
58
+ dataset: { testid: "ColumnReverseFalseTrue" },
59
+ column: false,
60
+ reverse: true,
61
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
62
+ })] });
78
63
  }
79
64
  function ColumnReverseUndefinedUndefined() {
80
- return /* @__PURE__ */ jsxs(Fragment, { children: [
81
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseUndefinedUndefined" }),
82
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
83
- testid: "ColumnReverseUndefinedUndefined"
84
- }, children: [
85
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
86
- /* @__PURE__ */ jsx(Div2, { children: "b" })
87
- ] })
88
- ] });
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseUndefinedUndefined" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
66
+ dataset: { testid: "ColumnReverseUndefinedUndefined" },
67
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
68
+ })] });
89
69
  }
90
70
  function ColumnReverseUndefinedFalse() {
91
- return /* @__PURE__ */ jsxs(Fragment, { children: [
92
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseUndefinedFalse" }),
93
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
94
- testid: "ColumnReverseUndefinedFalse"
95
- }, reverse: false, children: [
96
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
97
- /* @__PURE__ */ jsx(Div2, { children: "b" })
98
- ] })
99
- ] });
71
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseUndefinedFalse" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
72
+ dataset: { testid: "ColumnReverseUndefinedFalse" },
73
+ reverse: false,
74
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
75
+ })] });
100
76
  }
101
77
  function ColumnReverseUndefinedTrue() {
102
- return /* @__PURE__ */ jsxs(Fragment, { children: [
103
- /* @__PURE__ */ jsx("span", { children: "ColumnReverseUndefinedTrue" }),
104
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
105
- testid: "ColumnReverseUndefinedTrue"
106
- }, reverse: true, children: [
107
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
108
- /* @__PURE__ */ jsx(Div2, { children: "b" })
109
- ] })
110
- ] });
78
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "ColumnReverseUndefinedTrue" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
79
+ dataset: { testid: "ColumnReverseUndefinedTrue" },
80
+ reverse: true,
81
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
82
+ })] });
111
83
  }
112
- export {
113
- ColumnReverseFalseFalse,
114
- ColumnReverseFalseTrue,
115
- ColumnReverseFalseUndefined,
116
- ColumnReverseTrueFalse,
117
- ColumnReverseTrueTrue,
118
- ColumnReverseTrueUndefined,
119
- ColumnReverseUndefinedFalse,
120
- ColumnReverseUndefinedTrue,
121
- ColumnReverseUndefinedUndefined
122
- };
84
+ //#endregion
85
+ export { ColumnReverseFalseFalse, ColumnReverseFalseTrue, ColumnReverseFalseUndefined, ColumnReverseTrueFalse, ColumnReverseTrueTrue, ColumnReverseTrueUndefined, ColumnReverseUndefinedFalse, ColumnReverseUndefinedTrue, ColumnReverseUndefinedUndefined };