@preply/ds-web-lib 10.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 +6 -4
  81. package/dist/assets/OnboardingTour.css +3 -2
  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} +9 -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.d.ts +3 -3
  118. package/dist/components/AlertDialog/AlertDialog.d.ts.map +1 -1
  119. package/dist/components/AlertDialog/AlertDialog.js +5 -94
  120. package/dist/components/Avatar/Avatar.js +3 -71
  121. package/dist/components/AvatarWithStatus/AvatarWithStatus.js +3 -43
  122. package/dist/components/Badge/Badge.js +4 -62
  123. package/dist/components/Box/Box.js +3 -95
  124. package/dist/components/BubbleCounter/BubbleCounter.js +23 -28
  125. package/dist/components/Button/Button.js +4 -80
  126. package/dist/components/CalloutBanner/CalloutBanner.js +61 -12
  127. package/dist/components/CalloutBanner/primitives/CalloutBannerDismissButton.js +50 -22
  128. package/dist/components/CalloutBanner/primitives/CalloutBannerIcon.js +86 -45
  129. package/dist/components/CalloutBanner/primitives/CalloutBannerRoot.js +50 -24
  130. package/dist/components/CalloutBanner/primitives/CalloutBannerText.js +41 -11
  131. package/dist/components/Checkbox/Checkbox.js +4 -78
  132. package/dist/components/Checkbox/hooks/useIndeterminate.js +24 -30
  133. package/dist/components/Chips/Chips.types.js +0 -1
  134. package/dist/components/Chips/DismissibleChips.js +117 -86
  135. package/dist/components/Chips/MultiSelectChips.js +98 -64
  136. package/dist/components/Chips/SingleSelectChips.js +94 -57
  137. package/dist/components/Chips/private/ChipsPrimitive.js +4 -17
  138. package/dist/components/CountryFlag/CountryFlag.js +3 -44
  139. package/dist/components/Dialog/Dialog.js +56 -31
  140. package/dist/components/Dialog/DialogSteps.js +40 -29
  141. package/dist/components/Dialog/primitives/DialogActions.js +26 -19
  142. package/dist/components/Dialog/primitives/DialogButtonStack.d.ts.map +1 -1
  143. package/dist/components/Dialog/primitives/DialogButtonStack.js +22 -15
  144. package/dist/components/Dialog/primitives/DialogCloseButton.d.ts +1 -1
  145. package/dist/components/Dialog/primitives/DialogCloseButton.d.ts.map +1 -1
  146. package/dist/components/Dialog/primitives/DialogCloseButton.js +4 -93
  147. package/dist/components/Dialog/primitives/DialogDescription.js +3 -43
  148. package/dist/components/Dialog/primitives/DialogFooter.js +37 -34
  149. package/dist/components/Dialog/primitives/DialogRoot.js +4 -1459
  150. package/dist/components/Dialog/primitives/DialogTitle.js +3 -42
  151. package/dist/components/Divider/Divider.js +3 -14
  152. package/dist/components/DropdownMenu/DropdownMenu.js +253 -188
  153. package/dist/components/DropdownMenu/primitives/DropdownMenu.primitives.js +5 -34
  154. package/dist/components/DropdownMenu/primitives/DropdownMenuSelectItem.primitives.js +121 -71
  155. package/dist/components/FieldButton/FieldButton.js +3 -37
  156. package/dist/components/FormControl/FormControl.js +3 -105
  157. package/dist/components/Heading/Heading.js +3 -78
  158. package/dist/components/Icon/Icon.js +4 -49
  159. package/dist/components/IconButton/IconButton.d.ts +5 -1
  160. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  161. package/dist/components/IconButton/IconButton.js +4 -28
  162. package/dist/components/IconTile/IconTile.js +11 -69
  163. package/dist/components/IntlFormatted/IntlFormattedAggregatedDateTime.js +16 -32
  164. package/dist/components/IntlFormatted/IntlFormattedCurrency.js +20 -42
  165. package/dist/components/IntlFormatted/IntlFormattedDate.js +73 -195
  166. package/dist/components/IntlFormatted/IntlFormattedTime.js +14 -24
  167. package/dist/components/IntlFormatted/Wrapper.js +14 -8
  168. package/dist/components/LayoutFlex/LayoutFlex.js +3 -100
  169. package/dist/components/LayoutFlex/style/getStyleAttrs.js +71 -143
  170. package/dist/components/LayoutFlex/tests/AlignItems.js +67 -97
  171. package/dist/components/LayoutFlex/tests/ColumnReverse.js +63 -100
  172. package/dist/components/LayoutFlex/tests/DataOverride.js +1498 -1093
  173. package/dist/components/LayoutFlex/tests/Default.js +19 -20
  174. package/dist/components/LayoutFlex/tests/Direction.js +65 -88
  175. package/dist/components/LayoutFlex/tests/Gap.js +115 -197
  176. package/dist/components/LayoutFlex/tests/HideInline.js +95 -136
  177. package/dist/components/LayoutFlex/tests/JustifyContent.js +75 -108
  178. package/dist/components/LayoutFlex/tests/Nowrap.js +35 -42
  179. package/dist/components/LayoutFlex/tests/Padding.js +207 -263
  180. package/dist/components/LayoutFlex/tests/Relative.js +49 -64
  181. package/dist/components/LayoutFlexItem/LayoutFlexItem.js +3 -54
  182. package/dist/components/LayoutGrid/LayoutGrid.js +26 -34
  183. package/dist/components/LayoutGridItem/LayoutGridItem.js +3 -41
  184. package/dist/components/Link/Link.js +3 -72
  185. package/dist/components/Loader/Loader.js +3 -32
  186. package/dist/components/NumberField/NumberField.js +33 -35
  187. package/dist/components/ObserveIntersection/ObserveIntersection.js +41 -42
  188. package/dist/components/OnboardingTooltip/OnboardingTooltip.js +4 -115
  189. package/dist/components/OnboardingTour/OnboardingTour.js +4 -114
  190. package/dist/components/PasswordField/PasswordField.js +3 -78
  191. package/dist/components/PreplyLogo/PreplyLogo.js +3 -81
  192. package/dist/components/ProgressBar/ProgressBar.js +3 -27
  193. package/dist/components/ProgressSteps/ProgressSteps.js +3 -48
  194. package/dist/components/Rating/Rating.js +29 -20
  195. package/dist/components/Rating/RatingInput.js +57 -59
  196. package/dist/components/Rating/Stars.js +4 -8
  197. package/dist/components/Rating/hooks/useHasError.js +11 -15
  198. package/dist/components/Rating/hooks/useHoverPercentage.js +37 -45
  199. package/dist/components/Rating/hooks/useInputState.js +18 -24
  200. package/dist/components/Rating/hooks/useLocalizations.js +12 -24
  201. package/dist/components/Rating/utils/roundToHalfDecimal.js +4 -4
  202. package/dist/components/SelectField/Select.js +5 -112
  203. package/dist/components/SelectField/SelectField.js +29 -24
  204. package/dist/components/SelectField/hooks/useBreakpointMatch.js +18 -19
  205. package/dist/components/ShowOnIntersection/ShowOnIntersection.js +32 -21
  206. package/dist/components/Slider/RangeSlider.js +62 -52
  207. package/dist/components/Slider/Slider.js +3 -10
  208. package/dist/components/Steps/Steps.js +4 -210
  209. package/dist/components/Switch/Switch.js +3 -51
  210. package/dist/components/Text/Text.js +3 -128
  211. package/dist/components/TextField/TextField.js +27 -29
  212. package/dist/components/TextHighlighted/TextHighlighted.js +3 -41
  213. package/dist/components/TextInline/TextInline.js +3 -40
  214. package/dist/components/TextareaField/TextareaField.js +26 -28
  215. package/dist/components/Toast/Toast.js +4 -1168
  216. package/dist/components/Tooltip/Tooltip.js +3 -66
  217. package/dist/components/deprecated/Chips/Chips.js +4 -76
  218. package/dist/components/deprecated/NativeSelectField/NativeSelect.js +40 -32
  219. package/dist/components/deprecated/NativeSelectField/NativeSelectField.js +34 -33
  220. package/dist/components/deprecated/index.js +5 -6
  221. package/dist/components/index.js +50 -150
  222. package/dist/components/private/ButtonBase/ButtonBase.d.ts +7 -11
  223. package/dist/components/private/ButtonBase/ButtonBase.d.ts.map +1 -1
  224. package/dist/components/private/ButtonBase/ButtonBase.js +3 -247
  225. package/dist/components/private/Input/Input.js +27 -19
  226. package/dist/components/private/Input/InputContainer.js +3 -5
  227. package/dist/components/private/Input/Textarea.js +24 -20
  228. package/dist/components/private/Input/index.js +2 -4
  229. package/dist/components/private/Spinner/Spinner.js +3 -52
  230. package/dist/components/private/VisuallyHidden/VisuallyHidden.js +3 -15
  231. package/dist/components-BIYP8wHJ.js +200 -0
  232. package/dist/exp-color-C5mKAN91.js +74 -0
  233. package/dist/floating-ui.utils.dom-CoeTbDZx.js +215 -0
  234. package/dist/index.js +50 -150
  235. package/dist/index.module-1c7ENvxc.js +7 -0
  236. package/dist/jsx-runtime-i4KUlhDu.js +743 -0
  237. package/dist/layout-gap.module-DLD8bcR4.js +95 -0
  238. package/dist/layout-grid.module-CZfhrKrB.js +101 -0
  239. package/dist/layout-hide.module-B1P0N4i3.js +53 -0
  240. package/dist/layout-padding-ugY-yd2q.js +389 -0
  241. package/dist/layout-relative.module-B5xrFD9j.js +6 -0
  242. package/dist/render-icon-Ch3b2dE0.js +290 -0
  243. package/dist/shared-styles/align-self/align-self.js +2 -36
  244. package/dist/shared-styles/exp-color/exp-color.js +2 -68
  245. package/dist/shared-styles/layout-gap/layout-gap.js +13 -7
  246. package/dist/shared-styles/layout-grid/layout-grid.js +28 -28
  247. package/dist/shared-styles/layout-grid-responsive-columns/layout-grid-responsive-columns.js +29 -43
  248. package/dist/shared-styles/layout-hide/layout-hide.js +8 -8
  249. package/dist/shared-styles/layout-padding/layout-padding.js +2 -5
  250. package/dist/shared-styles/layout-relative/layout-relative.js +14 -8
  251. package/dist/shared-styles/text-accent/text-accent.js +2 -25
  252. package/dist/shared-styles/text-centered/text-centered.js +2 -24
  253. package/dist/shared-styles/text-weight/text-weight.js +2 -15
  254. package/dist/store-sN_eYeZT.js +1064 -0
  255. package/dist/storybook-utils/consts.js +6 -8
  256. package/dist/storybook-utils/index.js +1 -5
  257. package/dist/text-accent-CfUFx-1K.js +30 -0
  258. package/dist/text-centered-Dwp2_-Yp.js +30 -0
  259. package/dist/text-weight-CwoqmM4o.js +21 -0
  260. package/dist/useBaseUiId-CWAD_PSs.js +13 -0
  261. package/dist/useBreakpointMatch-D9a3CTNK.js +338 -0
  262. package/dist/useButton-DHTh3Hm7.js +148 -0
  263. package/dist/useDialogClose-BzFIyWco.js +22 -0
  264. package/dist/useId-CJsH-2wV.js +34 -0
  265. package/dist/useOpenInteractionType-D8vA_ZKI.js +4104 -0
  266. package/dist/useRenderElement-ZBds6eRN.js +341 -0
  267. package/dist/utils/Orientation/OrientationProvider.js +54 -23
  268. package/dist/utils/Orientation/index.js +2 -4
  269. package/dist/utils/RovingTabIndex/RovingTabIndexProvider.js +70 -44
  270. package/dist/utils/RovingTabIndex/index.js +2 -4
  271. package/dist/utils/createRequiredContext.js +23 -13
  272. package/dist/utils/filterAttributesPassedByRadixUIAtRuntime.js +28 -25
  273. package/dist/utils/render-icon.js +3 -320
  274. package/dist/utils/shared-strings.js +24 -32
  275. package/dist/utils/useBreakpointMatch.d.ts.map +1 -1
  276. package/dist/utils/useBreakpointMatch.js +2 -183
  277. package/dist/utils/useControllableState/useControllableState.js +31 -25
  278. package/dist/utils/useMergeRefs.js +29 -14
  279. package/dist/utils/useStableCallback/useStableCallback.js +28 -13
  280. package/package.json +17 -22
  281. package/dist/AlertBannerProvider-DTx2Xp3V.js +0 -50
  282. package/dist/BubbleCounter.module-QMwXWFIS.js +0 -16
  283. package/dist/ChipsPrimitive-DzsaOWgY.js +0 -1244
  284. package/dist/Dialog.module-Ba1X7b3N.js +0 -29
  285. package/dist/DialogRootContext-BCXmmJAw.js +0 -15
  286. package/dist/DropdownMenu.primitives-CqJE9k4D.js +0 -5871
  287. package/dist/IconTile-D1G7MljH.js +0 -172
  288. package/dist/InputContainer-oHJlLWIi.js +0 -30
  289. package/dist/Slider-DB4Maswa.js +0 -55
  290. package/dist/Stars-C_mHop2H.js +0 -67
  291. package/dist/TokyoUIChevronDown-D_tD1yU8.js +0 -11
  292. package/dist/floating-ui.utils.dom-BvMNldxo.js +0 -234
  293. package/dist/index.module-Q9TzIR6B.js +0 -11
  294. package/dist/layout-gap.module-MKn_un_k.js +0 -97
  295. package/dist/layout-grid.module-P4B4WVUy.js +0 -103
  296. package/dist/layout-hide.module-Bpl3Pl-a.js +0 -55
  297. package/dist/layout-padding-D5I6rRlL.js +0 -373
  298. package/dist/layout-relative.module-1z75aSwo.js +0 -8
  299. package/dist/useBaseUiId-DavsGYu9.js +0 -8
  300. package/dist/useButton-fjQ0ak8m.js +0 -193
  301. package/dist/useId-BhIOp2JG.js +0 -28
  302. package/dist/useOpenInteractionType-DNYFqf-a.js +0 -2880
  303. package/dist/useRenderElement-BSthtPOr.js +0 -350
@@ -1,26 +1,25 @@
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/Default.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 Default() {
14
- return /* @__PURE__ */ jsxs(Fragment, { children: [
15
- /* @__PURE__ */ jsx("span", { children: "Default" }),
16
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
17
- testid: "Default"
18
- }, 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: "Default" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
20
+ dataset: { testid: "Default" },
21
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
22
+ })] });
23
23
  }
24
- export {
25
- Default
26
- };
24
+ //#endregion
25
+ export { Default };
@@ -1,104 +1,81 @@
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/Direction.tsx
5
+ var import_jsx_runtime = require_jsx_runtime();
3
6
  function Div1(props) {
4
- return /* @__PURE__ */ jsx("div", { style: {
5
- background: "yellow",
6
- width: "50%"
7
- }, children: props.children });
7
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
8
+ style: {
9
+ background: "yellow",
10
+ width: "50%"
11
+ },
12
+ children: props.children
13
+ });
8
14
  }
9
15
  function Div2(props) {
10
- return /* @__PURE__ */ jsx("div", { style: {
11
- background: "orange",
12
- width: "50%"
13
- }, children: props.children });
16
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
17
+ style: {
18
+ background: "orange",
19
+ width: "50%"
20
+ },
21
+ children: props.children
22
+ });
14
23
  }
15
24
  function DirectionRow() {
16
- return /* @__PURE__ */ jsxs(Fragment, { children: [
17
- /* @__PURE__ */ jsx("span", { children: "DirectionRow" }),
18
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
19
- testid: "DirectionRow"
20
- }, direction: "row", children: [
21
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
22
- /* @__PURE__ */ jsx(Div2, { children: "b" })
23
- ] })
24
- ] });
25
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionRow" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
26
+ dataset: { testid: "DirectionRow" },
27
+ direction: "row",
28
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
29
+ })] });
25
30
  }
26
31
  function DirectionRowReverse() {
27
- return /* @__PURE__ */ jsxs(Fragment, { children: [
28
- /* @__PURE__ */ jsx("span", { children: "DirectionRowReverse" }),
29
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
30
- testid: "DirectionRowReverse"
31
- }, direction: "row-reverse", children: [
32
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
33
- /* @__PURE__ */ jsx(Div2, { children: "b" })
34
- ] })
35
- ] });
32
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionRowReverse" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
33
+ dataset: { testid: "DirectionRowReverse" },
34
+ direction: "row-reverse",
35
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
36
+ })] });
36
37
  }
37
38
  function DirectionColumn() {
38
- return /* @__PURE__ */ jsxs(Fragment, { children: [
39
- /* @__PURE__ */ jsx("span", { children: "DirectionColumn" }),
40
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
41
- testid: "DirectionColumn"
42
- }, direction: "column", children: [
43
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
44
- /* @__PURE__ */ jsx(Div2, { children: "b" })
45
- ] })
46
- ] });
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionColumn" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
40
+ dataset: { testid: "DirectionColumn" },
41
+ direction: "column",
42
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
43
+ })] });
47
44
  }
48
45
  function DirectionColumnReverse() {
49
- return /* @__PURE__ */ jsxs(Fragment, { children: [
50
- /* @__PURE__ */ jsx("span", { children: "DirectionColumnReverse" }),
51
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
52
- testid: "DirectionColumnReverse"
53
- }, direction: "column-reverse", children: [
54
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
55
- /* @__PURE__ */ jsx(Div2, { children: "b" })
56
- ] })
57
- ] });
46
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionColumnReverse" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
47
+ dataset: { testid: "DirectionColumnReverse" },
48
+ direction: "column-reverse",
49
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
50
+ })] });
58
51
  }
59
52
  function DirectionColumnReverseResponsive() {
60
- return /* @__PURE__ */ jsxs(Fragment, { children: [
61
- /* @__PURE__ */ jsx("span", { children: "DirectionColumnReverseResponsive" }),
62
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
63
- testid: "DirectionColumnReverseResponsive"
64
- }, direction: {
65
- // row is never used to avoid false positives with the default CSS value
66
- _: "column-reverse",
67
- "narrow-l": "column",
68
- "medium-s": "row-reverse",
69
- "medium-l": "column-reverse",
70
- "wide-s": "column",
71
- "wide-l": "row-reverse"
72
- }, children: [
73
- /* @__PURE__ */ jsx(Div1, { children: "A" }),
74
- /* @__PURE__ */ jsx(Div2, { children: "B" })
75
- ] })
76
- ] });
53
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionColumnReverseResponsive" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
54
+ dataset: { testid: "DirectionColumnReverseResponsive" },
55
+ direction: {
56
+ _: "column-reverse",
57
+ "narrow-l": "column",
58
+ "medium-s": "row-reverse",
59
+ "medium-l": "column-reverse",
60
+ "wide-s": "column",
61
+ "wide-l": "row-reverse"
62
+ },
63
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "A" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "B" })]
64
+ })] });
77
65
  }
78
66
  function DirectionColumnReverseResponsiveInvertedOrder() {
79
- return /* @__PURE__ */ jsxs(Fragment, { children: [
80
- /* @__PURE__ */ jsx("span", { children: "DirectionColumnReverseResponsiveInvertedOrder" }),
81
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
82
- testid: "DirectionColumnReverseResponsiveInvertedOrder"
83
- }, direction: {
84
- // row is never used to avoid false positives with the default CSS value
85
- "wide-l": "row-reverse",
86
- "wide-s": "column",
87
- "medium-l": "column-reverse",
88
- "medium-s": "row-reverse",
89
- "narrow-l": "column",
90
- _: "column-reverse"
91
- }, children: [
92
- /* @__PURE__ */ jsx(Div1, { children: "A" }),
93
- /* @__PURE__ */ jsx(Div2, { children: "B" })
94
- ] })
95
- ] });
67
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "DirectionColumnReverseResponsiveInvertedOrder" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
68
+ dataset: { testid: "DirectionColumnReverseResponsiveInvertedOrder" },
69
+ direction: {
70
+ "wide-l": "row-reverse",
71
+ "wide-s": "column",
72
+ "medium-l": "column-reverse",
73
+ "medium-s": "row-reverse",
74
+ "narrow-l": "column",
75
+ _: "column-reverse"
76
+ },
77
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "A" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "B" })]
78
+ })] });
96
79
  }
97
- export {
98
- DirectionColumn,
99
- DirectionColumnReverse,
100
- DirectionColumnReverseResponsive,
101
- DirectionColumnReverseResponsiveInvertedOrder,
102
- DirectionRow,
103
- DirectionRowReverse
104
- };
80
+ //#endregion
81
+ export { DirectionColumn, DirectionColumnReverse, DirectionColumnReverseResponsive, DirectionColumnReverseResponsiveInvertedOrder, DirectionRow, DirectionRowReverse };
@@ -1,234 +1,152 @@
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/Gap.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 Spacing0() {
14
- return /* @__PURE__ */ jsxs(Fragment, { children: [
15
- /* @__PURE__ */ jsx("span", { children: "Spacing0" }),
16
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
17
- testid: "Spacing0"
18
- }, gap: "0", 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: "Spacing0" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
20
+ dataset: { testid: "Spacing0" },
21
+ gap: "0",
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 Spacing1() {
25
- return /* @__PURE__ */ jsxs(Fragment, { children: [
26
- /* @__PURE__ */ jsx("span", { children: "Spacing1" }),
27
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
28
- testid: "Spacing1"
29
- }, gap: "1", 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: "Spacing1" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
27
+ dataset: { testid: "Spacing1" },
28
+ gap: "1",
29
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
30
+ })] });
34
31
  }
35
32
  function Spacing2() {
36
- return /* @__PURE__ */ jsxs(Fragment, { children: [
37
- /* @__PURE__ */ jsx("span", { children: "Spacing2" }),
38
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
39
- testid: "Spacing2"
40
- }, gap: "2", children: [
41
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
42
- /* @__PURE__ */ jsx(Div2, { children: "b" })
43
- ] })
44
- ] });
33
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing2" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
34
+ dataset: { testid: "Spacing2" },
35
+ gap: "2",
36
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
37
+ })] });
45
38
  }
46
39
  function Spacing4() {
47
- return /* @__PURE__ */ jsxs(Fragment, { children: [
48
- /* @__PURE__ */ jsx("span", { children: "Spacing4" }),
49
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
50
- testid: "Spacing4"
51
- }, gap: "4", children: [
52
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
53
- /* @__PURE__ */ jsx(Div2, { children: "b" })
54
- ] })
55
- ] });
40
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing4" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
41
+ dataset: { testid: "Spacing4" },
42
+ gap: "4",
43
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
44
+ })] });
56
45
  }
57
46
  function Spacing6() {
58
- return /* @__PURE__ */ jsxs(Fragment, { children: [
59
- /* @__PURE__ */ jsx("span", { children: "Spacing6" }),
60
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
61
- testid: "Spacing6"
62
- }, gap: "6", children: [
63
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
64
- /* @__PURE__ */ jsx(Div2, { children: "b" })
65
- ] })
66
- ] });
47
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing6" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
48
+ dataset: { testid: "Spacing6" },
49
+ gap: "6",
50
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
51
+ })] });
67
52
  }
68
53
  function Spacing8() {
69
- return /* @__PURE__ */ jsxs(Fragment, { children: [
70
- /* @__PURE__ */ jsx("span", { children: "Spacing8" }),
71
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
72
- testid: "Spacing8"
73
- }, gap: "8", children: [
74
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
75
- /* @__PURE__ */ jsx(Div2, { children: "b" })
76
- ] })
77
- ] });
54
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing8" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
55
+ dataset: { testid: "Spacing8" },
56
+ gap: "8",
57
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
58
+ })] });
78
59
  }
79
60
  function Spacing12() {
80
- return /* @__PURE__ */ jsxs(Fragment, { children: [
81
- /* @__PURE__ */ jsx("span", { children: "Spacing12" }),
82
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
83
- testid: "Spacing12"
84
- }, gap: "12", children: [
85
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
86
- /* @__PURE__ */ jsx(Div2, { children: "b" })
87
- ] })
88
- ] });
61
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing12" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
62
+ dataset: { testid: "Spacing12" },
63
+ gap: "12",
64
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
65
+ })] });
89
66
  }
90
67
  function Spacing16() {
91
- return /* @__PURE__ */ jsxs(Fragment, { children: [
92
- /* @__PURE__ */ jsx("span", { children: "Spacing16" }),
93
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
94
- testid: "Spacing16"
95
- }, gap: "16", children: [
96
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
97
- /* @__PURE__ */ jsx(Div2, { children: "b" })
98
- ] })
99
- ] });
68
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing16" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
69
+ dataset: { testid: "Spacing16" },
70
+ gap: "16",
71
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
72
+ })] });
100
73
  }
101
74
  function Spacing20() {
102
- return /* @__PURE__ */ jsxs(Fragment, { children: [
103
- /* @__PURE__ */ jsx("span", { children: "Spacing20" }),
104
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
105
- testid: "Spacing20"
106
- }, gap: "20", children: [
107
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
108
- /* @__PURE__ */ jsx(Div2, { children: "b" })
109
- ] })
110
- ] });
75
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing20" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
76
+ dataset: { testid: "Spacing20" },
77
+ gap: "20",
78
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
79
+ })] });
111
80
  }
112
81
  function Spacing24() {
113
- return /* @__PURE__ */ jsxs(Fragment, { children: [
114
- /* @__PURE__ */ jsx("span", { children: "Spacing24" }),
115
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
116
- testid: "Spacing24"
117
- }, gap: "24", children: [
118
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
119
- /* @__PURE__ */ jsx(Div2, { children: "b" })
120
- ] })
121
- ] });
82
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing24" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
83
+ dataset: { testid: "Spacing24" },
84
+ gap: "24",
85
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
86
+ })] });
122
87
  }
123
88
  function Spacing32() {
124
- return /* @__PURE__ */ jsxs(Fragment, { children: [
125
- /* @__PURE__ */ jsx("span", { children: "Spacing32" }),
126
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
127
- testid: "Spacing32"
128
- }, gap: "32", children: [
129
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
130
- /* @__PURE__ */ jsx(Div2, { children: "b" })
131
- ] })
132
- ] });
89
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing32" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
90
+ dataset: { testid: "Spacing32" },
91
+ gap: "32",
92
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
93
+ })] });
133
94
  }
134
95
  function Spacing48() {
135
- return /* @__PURE__ */ jsxs(Fragment, { children: [
136
- /* @__PURE__ */ jsx("span", { children: "Spacing48" }),
137
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
138
- testid: "Spacing48"
139
- }, gap: "48", children: [
140
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
141
- /* @__PURE__ */ jsx(Div2, { children: "b" })
142
- ] })
143
- ] });
96
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing48" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
97
+ dataset: { testid: "Spacing48" },
98
+ gap: "48",
99
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
100
+ })] });
144
101
  }
145
102
  function Spacing64() {
146
- return /* @__PURE__ */ jsxs(Fragment, { children: [
147
- /* @__PURE__ */ jsx("span", { children: "Spacing64" }),
148
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
149
- testid: "Spacing64"
150
- }, gap: "64", children: [
151
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
152
- /* @__PURE__ */ jsx(Div2, { children: "b" })
153
- ] })
154
- ] });
103
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing64" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
104
+ dataset: { testid: "Spacing64" },
105
+ gap: "64",
106
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
107
+ })] });
155
108
  }
156
109
  function Spacing96() {
157
- return /* @__PURE__ */ jsxs(Fragment, { children: [
158
- /* @__PURE__ */ jsx("span", { children: "Spacing96" }),
159
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
160
- testid: "Spacing96"
161
- }, gap: "96", children: [
162
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
163
- /* @__PURE__ */ jsx(Div2, { children: "b" })
164
- ] })
165
- ] });
110
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing96" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
111
+ dataset: { testid: "Spacing96" },
112
+ gap: "96",
113
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
114
+ })] });
166
115
  }
167
116
  function Spacing160() {
168
- return /* @__PURE__ */ jsxs(Fragment, { children: [
169
- /* @__PURE__ */ jsx("span", { children: "Spacing160" }),
170
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
171
- testid: "Spacing160"
172
- }, gap: "160", children: [
173
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
174
- /* @__PURE__ */ jsx(Div2, { children: "b" })
175
- ] })
176
- ] });
117
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Spacing160" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
118
+ dataset: { testid: "Spacing160" },
119
+ gap: "160",
120
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
121
+ })] });
177
122
  }
178
123
  function SpacingResponsive() {
179
- return /* @__PURE__ */ jsxs(Fragment, { children: [
180
- /* @__PURE__ */ jsx("span", { children: "SpacingResponsive" }),
181
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
182
- testid: "SpacingResponsive"
183
- }, gap: {
184
- // 0 is never used to avoid false positives with the default CSS value
185
- _: "4",
186
- "narrow-l": "8",
187
- "medium-s": "12",
188
- "medium-l": "16",
189
- "wide-s": "20",
190
- "wide-l": "24"
191
- }, children: [
192
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
193
- /* @__PURE__ */ jsx(Div2, { children: "b" })
194
- ] })
195
- ] });
124
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "SpacingResponsive" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
125
+ dataset: { testid: "SpacingResponsive" },
126
+ gap: {
127
+ _: "4",
128
+ "narrow-l": "8",
129
+ "medium-s": "12",
130
+ "medium-l": "16",
131
+ "wide-s": "20",
132
+ "wide-l": "24"
133
+ },
134
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
135
+ })] });
196
136
  }
197
137
  function SpacingResponsiveInvertedOrder() {
198
- return /* @__PURE__ */ jsxs(Fragment, { children: [
199
- /* @__PURE__ */ jsx("span", { children: "SpacingResponsiveInvertedOrder" }),
200
- /* @__PURE__ */ jsxs(LayoutFlex, { dataset: {
201
- testid: "SpacingResponsiveInvertedOrder"
202
- }, gap: {
203
- // 0 is never used to avoid false positives with the default CSS value
204
- "wide-l": "24",
205
- "wide-s": "20",
206
- "medium-l": "16",
207
- "medium-s": "12",
208
- "narrow-l": "8",
209
- _: "4"
210
- }, children: [
211
- /* @__PURE__ */ jsx(Div1, { children: "a" }),
212
- /* @__PURE__ */ jsx(Div2, { children: "b" })
213
- ] })
214
- ] });
215
- }
216
- export {
217
- Spacing0,
218
- Spacing1,
219
- Spacing12,
220
- Spacing16,
221
- Spacing160,
222
- Spacing2,
223
- Spacing20,
224
- Spacing24,
225
- Spacing32,
226
- Spacing4,
227
- Spacing48,
228
- Spacing6,
229
- Spacing64,
230
- Spacing8,
231
- Spacing96,
232
- SpacingResponsive,
233
- SpacingResponsiveInvertedOrder
234
- };
138
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "SpacingResponsiveInvertedOrder" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(LayoutFlex, {
139
+ dataset: { testid: "SpacingResponsiveInvertedOrder" },
140
+ gap: {
141
+ "wide-l": "24",
142
+ "wide-s": "20",
143
+ "medium-l": "16",
144
+ "medium-s": "12",
145
+ "narrow-l": "8",
146
+ _: "4"
147
+ },
148
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div1, { children: "a" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Div2, { children: "b" })]
149
+ })] });
150
+ }
151
+ //#endregion
152
+ export { Spacing0, Spacing1, Spacing12, Spacing16, Spacing160, Spacing2, Spacing20, Spacing24, Spacing32, Spacing4, Spacing48, Spacing6, Spacing64, Spacing8, Spacing96, SpacingResponsive, SpacingResponsiveInvertedOrder };