@tosui/react 0.1.0 → 0.1.2

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 (276) hide show
  1. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  2. package/dist/components/Accordion/Accordion.js +109 -0
  3. package/dist/components/Accordion/Accordion.js.map +1 -0
  4. package/dist/components/Accordion/accordion.module.css +36 -0
  5. package/dist/components/Accordion/accordion.module.css.js +27 -0
  6. package/dist/components/Accordion/accordion.module.css.js.map +1 -0
  7. package/dist/components/Alert/Alert.js +109 -0
  8. package/dist/components/Alert/Alert.js.map +1 -0
  9. package/dist/components/Alert/alert.module.css +27 -0
  10. package/dist/components/Alert/alert.module.css.js +24 -0
  11. package/dist/components/Alert/alert.module.css.js.map +1 -0
  12. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  13. package/dist/components/Avatar/Avatar.js +72 -0
  14. package/dist/components/Avatar/Avatar.js.map +1 -0
  15. package/dist/components/Avatar/avatar.module.css +14 -0
  16. package/dist/components/Avatar/avatar.module.css.js +15 -0
  17. package/dist/components/Avatar/avatar.module.css.js.map +1 -0
  18. package/dist/components/Badge/Badge.js +66 -0
  19. package/dist/components/Badge/Badge.js.map +1 -0
  20. package/dist/components/Badge/badge.module.css +3 -0
  21. package/dist/components/Badge/badge.module.css.js +9 -0
  22. package/dist/components/Badge/badge.module.css.js.map +1 -0
  23. package/dist/components/Box/Box.js +217 -0
  24. package/dist/components/Box/Box.js.map +1 -0
  25. package/dist/components/Box/borders/borders.js +91 -0
  26. package/dist/components/Box/borders/borders.js.map +1 -0
  27. package/dist/components/Box/borders/borders.module.css +49 -0
  28. package/dist/components/Box/borders/borders.module.css.js +46 -0
  29. package/dist/components/Box/borders/borders.module.css.js.map +1 -0
  30. package/dist/components/Box/colors/colors.js +45 -0
  31. package/dist/components/Box/colors/colors.js.map +1 -0
  32. package/dist/components/Box/colors/colors.module.css +113 -0
  33. package/dist/components/Box/colors/colors.module.css.js +114 -0
  34. package/dist/components/Box/colors/colors.module.css.js.map +1 -0
  35. package/dist/components/Box/display/display.js +52 -0
  36. package/dist/components/Box/display/display.js.map +1 -0
  37. package/dist/components/Box/display/display.module.css +375 -0
  38. package/dist/components/Box/display/display.module.css.js +318 -0
  39. package/dist/components/Box/display/display.module.css.js.map +1 -0
  40. package/dist/components/Box/flexbox/flexbox.js +139 -0
  41. package/dist/components/Box/flexbox/flexbox.js.map +1 -0
  42. package/dist/components/Box/flexbox/flexbox.module.css +65 -0
  43. package/dist/components/Box/flexbox/flexbox.module.css.js +62 -0
  44. package/dist/components/Box/flexbox/flexbox.module.css.js.map +1 -0
  45. package/dist/components/Box/grid/grid.js +49 -0
  46. package/dist/components/Box/grid/grid.js.map +1 -0
  47. package/dist/components/Box/grid/grid.module.css +19 -0
  48. package/dist/components/Box/grid/grid.module.css.js +20 -0
  49. package/dist/components/Box/grid/grid.module.css.js.map +1 -0
  50. package/dist/components/Box/inset/inset.js +96 -0
  51. package/dist/components/Box/inset/inset.js.map +1 -0
  52. package/dist/components/Box/inset/inset.module.css +187 -0
  53. package/dist/components/Box/inset/inset.module.css.js +174 -0
  54. package/dist/components/Box/inset/inset.module.css.js.map +1 -0
  55. package/dist/components/Box/interactions/interactions.js +45 -0
  56. package/dist/components/Box/interactions/interactions.js.map +1 -0
  57. package/dist/components/Box/interactions/interactions.module.css +43 -0
  58. package/dist/components/Box/interactions/interactions.module.css.js +44 -0
  59. package/dist/components/Box/interactions/interactions.module.css.js.map +1 -0
  60. package/dist/components/Box/margin/margin.js +96 -0
  61. package/dist/components/Box/margin/margin.js.map +1 -0
  62. package/dist/components/Box/margin/margin.module.css +187 -0
  63. package/dist/components/Box/margin/margin.module.css.js +174 -0
  64. package/dist/components/Box/margin/margin.module.css.js.map +1 -0
  65. package/dist/components/Box/opacity/opacity.js +52 -0
  66. package/dist/components/Box/opacity/opacity.js.map +1 -0
  67. package/dist/components/Box/opacity/opacity.module.css +51 -0
  68. package/dist/components/Box/opacity/opacity.module.css.js +174 -0
  69. package/dist/components/Box/opacity/opacity.module.css.js.map +1 -0
  70. package/dist/components/Box/overflow/overflow.js +69 -0
  71. package/dist/components/Box/overflow/overflow.js.map +1 -0
  72. package/dist/components/Box/overflow/overflow.module.css +155 -0
  73. package/dist/components/Box/overflow/overflow.module.css.js +510 -0
  74. package/dist/components/Box/overflow/overflow.module.css.js.map +1 -0
  75. package/dist/components/Box/padding/padding.js +96 -0
  76. package/dist/components/Box/padding/padding.js.map +1 -0
  77. package/dist/components/Box/padding/padding.module.css +187 -0
  78. package/dist/components/Box/padding/padding.module.css.js +174 -0
  79. package/dist/components/Box/padding/padding.module.css.js.map +1 -0
  80. package/dist/components/Box/position/position.js +52 -0
  81. package/dist/components/Box/position/position.js.map +1 -0
  82. package/dist/components/Box/position/position.module.css +234 -0
  83. package/dist/components/Box/position/position.module.css.js +214 -0
  84. package/dist/components/Box/position/position.module.css.js.map +1 -0
  85. package/dist/components/Box/reset/reset.js +6 -0
  86. package/dist/components/Box/reset/reset.js.map +1 -0
  87. package/dist/components/Box/reset/reset.module.css +23 -0
  88. package/dist/components/Box/reset/reset.module.css.js +9 -0
  89. package/dist/components/Box/reset/reset.module.css.js.map +1 -0
  90. package/dist/components/Box/roundness/roundness.js +92 -0
  91. package/dist/components/Box/roundness/roundness.js.map +1 -0
  92. package/dist/components/Box/roundness/roundness.module.css +47 -0
  93. package/dist/components/Box/roundness/roundness.module.css.js +46 -0
  94. package/dist/components/Box/roundness/roundness.module.css.js.map +1 -0
  95. package/dist/components/Box/shadows/shadows.js +52 -0
  96. package/dist/components/Box/shadows/shadows.js.map +1 -0
  97. package/dist/components/Box/shadows/shadows.module.css +51 -0
  98. package/dist/components/Box/shadows/shadows.module.css.js +174 -0
  99. package/dist/components/Box/shadows/shadows.module.css.js.map +1 -0
  100. package/dist/components/Box/shared/constants.js +21 -0
  101. package/dist/components/Box/shared/constants.js.map +1 -0
  102. package/dist/components/Box/shared/spacing.js +10 -0
  103. package/dist/components/Box/shared/spacing.js.map +1 -0
  104. package/dist/components/Box/sizing/sizing.js +75 -0
  105. package/dist/components/Box/sizing/sizing.js.map +1 -0
  106. package/dist/components/Box/sizing/sizing.module.css +281 -0
  107. package/dist/components/Box/sizing/sizing.module.css.js +258 -0
  108. package/dist/components/Box/sizing/sizing.module.css.js.map +1 -0
  109. package/dist/components/Box/text/text.js +45 -0
  110. package/dist/components/Box/text/text.js.map +1 -0
  111. package/dist/components/Box/text/text.module.css +29 -0
  112. package/dist/components/Box/text/text.module.css.js +30 -0
  113. package/dist/components/Box/text/text.module.css.js.map +1 -0
  114. package/dist/components/Box/typography/typography.js +27 -0
  115. package/dist/components/Box/typography/typography.js.map +1 -0
  116. package/dist/components/Box/typography/typography.module.css +26 -0
  117. package/dist/components/Box/typography/typography.module.css.js +25 -0
  118. package/dist/components/Box/typography/typography.module.css.js.map +1 -0
  119. package/dist/components/Box/zIndex/zIndex.js +52 -0
  120. package/dist/components/Box/zIndex/zIndex.js.map +1 -0
  121. package/dist/components/Box/zIndex/zIndex.module.css +90 -0
  122. package/dist/components/Box/zIndex/zIndex.module.css.js +300 -0
  123. package/dist/components/Box/zIndex/zIndex.module.css.js.map +1 -0
  124. package/dist/components/Breadcrumb/Breadcrumb.js +78 -0
  125. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
  126. package/dist/components/Breadcrumb/breadcrumb.module.css +25 -0
  127. package/dist/components/Breadcrumb/breadcrumb.module.css.js +21 -0
  128. package/dist/components/Breadcrumb/breadcrumb.module.css.js.map +1 -0
  129. package/dist/components/Button/Button.js +129 -0
  130. package/dist/components/Button/Button.js.map +1 -0
  131. package/dist/components/Button/button.module.css +17 -0
  132. package/dist/components/Button/button.module.css.js +18 -0
  133. package/dist/components/Button/button.module.css.js.map +1 -0
  134. package/dist/components/Card/Card.js +60 -0
  135. package/dist/components/Card/Card.js.map +1 -0
  136. package/dist/components/Card/card.module.css +16 -0
  137. package/dist/components/Card/card.module.css.js +18 -0
  138. package/dist/components/Card/card.module.css.js.map +1 -0
  139. package/dist/components/Checkbox/Checkbox.js +74 -0
  140. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  141. package/dist/components/Checkbox/checkbox.module.css +65 -0
  142. package/dist/components/Checkbox/checkbox.module.css.js +15 -0
  143. package/dist/components/Checkbox/checkbox.module.css.js.map +1 -0
  144. package/dist/components/Code/Code.js +32 -0
  145. package/dist/components/Code/Code.js.map +1 -0
  146. package/dist/components/Container/Container.js +44 -0
  147. package/dist/components/Container/Container.js.map +1 -0
  148. package/dist/components/Divider/Divider.js +48 -0
  149. package/dist/components/Divider/Divider.js.map +1 -0
  150. package/dist/components/Flex/Flex.js +48 -0
  151. package/dist/components/Flex/Flex.js.map +1 -0
  152. package/dist/components/FormField/FormField.js +52 -0
  153. package/dist/components/FormField/FormField.js.map +1 -0
  154. package/dist/components/Grid/Grid.js +41 -0
  155. package/dist/components/Grid/Grid.js.map +1 -0
  156. package/dist/components/HStack/HStack.js +17 -0
  157. package/dist/components/HStack/HStack.js.map +1 -0
  158. package/dist/components/Heading/Heading.js +42 -0
  159. package/dist/components/Heading/Heading.js.map +1 -0
  160. package/dist/components/IconButton/IconButton.js +93 -0
  161. package/dist/components/IconButton/IconButton.js.map +1 -0
  162. package/dist/components/IconButton/iconbutton.module.css +18 -0
  163. package/dist/components/IconButton/iconbutton.module.css.js +18 -0
  164. package/dist/components/IconButton/iconbutton.module.css.js.map +1 -0
  165. package/dist/components/Image/Image.d.ts.map +1 -1
  166. package/dist/components/Image/Image.js +101 -0
  167. package/dist/components/Image/Image.js.map +1 -0
  168. package/dist/components/Image/image.module.css +44 -0
  169. package/dist/components/Image/image.module.css.js +36 -0
  170. package/dist/components/Image/image.module.css.js.map +1 -0
  171. package/dist/components/Input/Input.js +57 -0
  172. package/dist/components/Input/Input.js.map +1 -0
  173. package/dist/components/Input/input.module.css +29 -0
  174. package/dist/components/Input/input.module.css.js +12 -0
  175. package/dist/components/Input/input.module.css.js.map +1 -0
  176. package/dist/components/Label/Label.js +36 -0
  177. package/dist/components/Label/Label.js.map +1 -0
  178. package/dist/components/Link/Link.js +38 -0
  179. package/dist/components/Link/Link.js.map +1 -0
  180. package/dist/components/Link/link.module.css +28 -0
  181. package/dist/components/Link/link.module.css.js +16 -0
  182. package/dist/components/Link/link.module.css.js.map +1 -0
  183. package/dist/components/List/List.js +51 -0
  184. package/dist/components/List/List.js.map +1 -0
  185. package/dist/components/List/list.module.css +45 -0
  186. package/dist/components/List/list.module.css.js +24 -0
  187. package/dist/components/List/list.module.css.js.map +1 -0
  188. package/dist/components/Menu/Menu.d.ts.map +1 -1
  189. package/dist/components/Menu/Menu.js +143 -0
  190. package/dist/components/Menu/Menu.js.map +1 -0
  191. package/dist/components/Menu/menu.module.css +24 -0
  192. package/dist/components/Menu/menu.module.css.js +18 -0
  193. package/dist/components/Menu/menu.module.css.js.map +1 -0
  194. package/dist/components/Modal/Modal.d.ts.map +1 -1
  195. package/dist/components/Modal/Modal.js +130 -0
  196. package/dist/components/Modal/Modal.js.map +1 -0
  197. package/dist/components/Modal/modal.module.css +26 -0
  198. package/dist/components/Modal/modal.module.css.js +21 -0
  199. package/dist/components/Modal/modal.module.css.js.map +1 -0
  200. package/dist/components/Pagination/Pagination.js +125 -0
  201. package/dist/components/Pagination/Pagination.js.map +1 -0
  202. package/dist/components/Pagination/pagination.module.css +3 -0
  203. package/dist/components/Pagination/pagination.module.css.js +9 -0
  204. package/dist/components/Pagination/pagination.module.css.js.map +1 -0
  205. package/dist/components/Popover/Popover.d.ts.map +1 -1
  206. package/dist/components/Popover/Popover.js +144 -0
  207. package/dist/components/Popover/Popover.js.map +1 -0
  208. package/dist/components/Popover/popover.module.css +11 -0
  209. package/dist/components/Popover/popover.module.css.js +15 -0
  210. package/dist/components/Popover/popover.module.css.js.map +1 -0
  211. package/dist/components/Progress/Progress.js +54 -0
  212. package/dist/components/Progress/Progress.js.map +1 -0
  213. package/dist/components/Progress/progress.module.css +24 -0
  214. package/dist/components/Progress/progress.module.css.js +15 -0
  215. package/dist/components/Progress/progress.module.css.js.map +1 -0
  216. package/dist/components/Radio/Radio.js +70 -0
  217. package/dist/components/Radio/Radio.js.map +1 -0
  218. package/dist/components/Radio/radio.module.css +48 -0
  219. package/dist/components/Radio/radio.module.css.js +12 -0
  220. package/dist/components/Radio/radio.module.css.js.map +1 -0
  221. package/dist/components/Select/Select.js +57 -0
  222. package/dist/components/Select/Select.js.map +1 -0
  223. package/dist/components/Select/select.module.css +43 -0
  224. package/dist/components/Select/select.module.css.js +12 -0
  225. package/dist/components/Select/select.module.css.js.map +1 -0
  226. package/dist/components/Skeleton/Skeleton.js +37 -0
  227. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  228. package/dist/components/Skeleton/skeleton.module.css +26 -0
  229. package/dist/components/Skeleton/skeleton.module.css.js +9 -0
  230. package/dist/components/Skeleton/skeleton.module.css.js.map +1 -0
  231. package/dist/components/Spacer/Spacer.js +16 -0
  232. package/dist/components/Spacer/Spacer.js.map +1 -0
  233. package/dist/components/Spinner/Spinner.js +41 -0
  234. package/dist/components/Spinner/Spinner.js.map +1 -0
  235. package/dist/components/Spinner/spinner.module.css +21 -0
  236. package/dist/components/Spinner/spinner.module.css.js +9 -0
  237. package/dist/components/Spinner/spinner.module.css.js.map +1 -0
  238. package/dist/components/Stack/Stack.js +35 -0
  239. package/dist/components/Stack/Stack.js.map +1 -0
  240. package/dist/components/Switch/Switch.js +83 -0
  241. package/dist/components/Switch/Switch.js.map +1 -0
  242. package/dist/components/Switch/switch.module.css +48 -0
  243. package/dist/components/Switch/switch.module.css.js +15 -0
  244. package/dist/components/Switch/switch.module.css.js.map +1 -0
  245. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  246. package/dist/components/Tabs/Tabs.js +87 -0
  247. package/dist/components/Tabs/Tabs.js.map +1 -0
  248. package/dist/components/Tabs/tabs.module.css +55 -0
  249. package/dist/components/Tabs/tabs.module.css.js +27 -0
  250. package/dist/components/Tabs/tabs.module.css.js.map +1 -0
  251. package/dist/components/Text/Text.d.ts.map +1 -1
  252. package/dist/components/Text/Text.js +40 -0
  253. package/dist/components/Text/Text.js.map +1 -0
  254. package/dist/components/Text/text.module.css +9 -0
  255. package/dist/components/Text/text.module.css.js +12 -0
  256. package/dist/components/Text/text.module.css.js.map +1 -0
  257. package/dist/components/Textarea/Textarea.js +70 -0
  258. package/dist/components/Textarea/Textarea.js.map +1 -0
  259. package/dist/components/Textarea/textarea.module.css +46 -0
  260. package/dist/components/Textarea/textarea.module.css.js +24 -0
  261. package/dist/components/Textarea/textarea.module.css.js.map +1 -0
  262. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  263. package/dist/components/Tooltip/Tooltip.js +135 -0
  264. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  265. package/dist/components/Tooltip/tooltip.module.css +4 -0
  266. package/dist/components/Tooltip/tooltip.module.css.js +9 -0
  267. package/dist/components/Tooltip/tooltip.module.css.js.map +1 -0
  268. package/dist/components/VStack/VStack.js +17 -0
  269. package/dist/components/VStack/VStack.js.map +1 -0
  270. package/dist/fonts.css +23 -1
  271. package/dist/index.css +3320 -1
  272. package/dist/index.d.ts.map +1 -1
  273. package/dist/index.js +99 -5521
  274. package/dist/index.js.map +1 -1
  275. package/dist/styles/styles.css +353 -0
  276. package/package.json +8 -4
@@ -0,0 +1,318 @@
1
+ const block = "_block_4wi2w_2";
2
+ const block_sm = "_block_sm_4wi2w_9";
3
+ const block_md = "_block_md_4wi2w_17";
4
+ const block_lg = "_block_lg_4wi2w_25";
5
+ const block_xl = "_block_xl_4wi2w_33";
6
+ const block_2xl = "_block_2xl_4wi2w_41";
7
+ const flex = "_flex_4wi2w_49";
8
+ const flex_sm = "_flex_sm_4wi2w_56";
9
+ const flex_md = "_flex_md_4wi2w_64";
10
+ const flex_lg = "_flex_lg_4wi2w_72";
11
+ const flex_xl = "_flex_xl_4wi2w_80";
12
+ const flex_2xl = "_flex_2xl_4wi2w_88";
13
+ const grid = "_grid_4wi2w_143";
14
+ const grid_sm = "_grid_sm_4wi2w_150";
15
+ const grid_md = "_grid_md_4wi2w_158";
16
+ const grid_lg = "_grid_lg_4wi2w_166";
17
+ const grid_xl = "_grid_xl_4wi2w_174";
18
+ const grid_2xl = "_grid_2xl_4wi2w_182";
19
+ const inline = "_inline_4wi2w_96";
20
+ const inline_sm = "_inline_sm_4wi2w_197";
21
+ const inline_md = "_inline_md_4wi2w_205";
22
+ const inline_lg = "_inline_lg_4wi2w_213";
23
+ const inline_xl = "_inline_xl_4wi2w_221";
24
+ const inline_2xl = "_inline_2xl_4wi2w_229";
25
+ const none = "_none_4wi2w_284";
26
+ const none_sm = "_none_sm_4wi2w_291";
27
+ const none_md = "_none_md_4wi2w_299";
28
+ const none_lg = "_none_lg_4wi2w_307";
29
+ const none_xl = "_none_xl_4wi2w_315";
30
+ const none_2xl = "_none_2xl_4wi2w_323";
31
+ const contents = "_contents_4wi2w_331";
32
+ const contents_sm = "_contents_sm_4wi2w_338";
33
+ const contents_md = "_contents_md_4wi2w_346";
34
+ const contents_lg = "_contents_lg_4wi2w_354";
35
+ const contents_xl = "_contents_xl_4wi2w_362";
36
+ const contents_2xl = "_contents_2xl_4wi2w_370";
37
+ const styles = {
38
+ block,
39
+ "block:h": "_block:h_4wi2w_3",
40
+ "block:f": "_block:f_4wi2w_4",
41
+ "block:a": "_block:a_4wi2w_5",
42
+ "block:d": "_block:d_4wi2w_6",
43
+ block_sm,
44
+ "block_sm:h": "_block_sm:h_4wi2w_10",
45
+ "block_sm:f": "_block_sm:f_4wi2w_11",
46
+ "block_sm:a": "_block_sm:a_4wi2w_12",
47
+ "block_sm:d": "_block_sm:d_4wi2w_13",
48
+ block_md,
49
+ "block_md:h": "_block_md:h_4wi2w_18",
50
+ "block_md:f": "_block_md:f_4wi2w_19",
51
+ "block_md:a": "_block_md:a_4wi2w_20",
52
+ "block_md:d": "_block_md:d_4wi2w_21",
53
+ block_lg,
54
+ "block_lg:h": "_block_lg:h_4wi2w_26",
55
+ "block_lg:f": "_block_lg:f_4wi2w_27",
56
+ "block_lg:a": "_block_lg:a_4wi2w_28",
57
+ "block_lg:d": "_block_lg:d_4wi2w_29",
58
+ block_xl,
59
+ "block_xl:h": "_block_xl:h_4wi2w_34",
60
+ "block_xl:f": "_block_xl:f_4wi2w_35",
61
+ "block_xl:a": "_block_xl:a_4wi2w_36",
62
+ "block_xl:d": "_block_xl:d_4wi2w_37",
63
+ block_2xl,
64
+ "block_2xl:h": "_block_2xl:h_4wi2w_42",
65
+ "block_2xl:f": "_block_2xl:f_4wi2w_43",
66
+ "block_2xl:a": "_block_2xl:a_4wi2w_44",
67
+ "block_2xl:d": "_block_2xl:d_4wi2w_45",
68
+ flex,
69
+ "flex:h": "_flex:h_4wi2w_50",
70
+ "flex:f": "_flex:f_4wi2w_51",
71
+ "flex:a": "_flex:a_4wi2w_52",
72
+ "flex:d": "_flex:d_4wi2w_53",
73
+ flex_sm,
74
+ "flex_sm:h": "_flex_sm:h_4wi2w_57",
75
+ "flex_sm:f": "_flex_sm:f_4wi2w_58",
76
+ "flex_sm:a": "_flex_sm:a_4wi2w_59",
77
+ "flex_sm:d": "_flex_sm:d_4wi2w_60",
78
+ flex_md,
79
+ "flex_md:h": "_flex_md:h_4wi2w_65",
80
+ "flex_md:f": "_flex_md:f_4wi2w_66",
81
+ "flex_md:a": "_flex_md:a_4wi2w_67",
82
+ "flex_md:d": "_flex_md:d_4wi2w_68",
83
+ flex_lg,
84
+ "flex_lg:h": "_flex_lg:h_4wi2w_73",
85
+ "flex_lg:f": "_flex_lg:f_4wi2w_74",
86
+ "flex_lg:a": "_flex_lg:a_4wi2w_75",
87
+ "flex_lg:d": "_flex_lg:d_4wi2w_76",
88
+ flex_xl,
89
+ "flex_xl:h": "_flex_xl:h_4wi2w_81",
90
+ "flex_xl:f": "_flex_xl:f_4wi2w_82",
91
+ "flex_xl:a": "_flex_xl:a_4wi2w_83",
92
+ "flex_xl:d": "_flex_xl:d_4wi2w_84",
93
+ flex_2xl,
94
+ "flex_2xl:h": "_flex_2xl:h_4wi2w_89",
95
+ "flex_2xl:f": "_flex_2xl:f_4wi2w_90",
96
+ "flex_2xl:a": "_flex_2xl:a_4wi2w_91",
97
+ "flex_2xl:d": "_flex_2xl:d_4wi2w_92",
98
+ "inline-flex": "_inline-flex_4wi2w_96",
99
+ "inline-flex:h": "_inline-flex:h_4wi2w_97",
100
+ "inline-flex:f": "_inline-flex:f_4wi2w_98",
101
+ "inline-flex:a": "_inline-flex:a_4wi2w_99",
102
+ "inline-flex:d": "_inline-flex:d_4wi2w_100",
103
+ "inline-flex_sm": "_inline-flex_sm_4wi2w_103",
104
+ "inline-flex_sm:h": "_inline-flex_sm:h_4wi2w_104",
105
+ "inline-flex_sm:f": "_inline-flex_sm:f_4wi2w_105",
106
+ "inline-flex_sm:a": "_inline-flex_sm:a_4wi2w_106",
107
+ "inline-flex_sm:d": "_inline-flex_sm:d_4wi2w_107",
108
+ "inline-flex_md": "_inline-flex_md_4wi2w_111",
109
+ "inline-flex_md:h": "_inline-flex_md:h_4wi2w_112",
110
+ "inline-flex_md:f": "_inline-flex_md:f_4wi2w_113",
111
+ "inline-flex_md:a": "_inline-flex_md:a_4wi2w_114",
112
+ "inline-flex_md:d": "_inline-flex_md:d_4wi2w_115",
113
+ "inline-flex_lg": "_inline-flex_lg_4wi2w_119",
114
+ "inline-flex_lg:h": "_inline-flex_lg:h_4wi2w_120",
115
+ "inline-flex_lg:f": "_inline-flex_lg:f_4wi2w_121",
116
+ "inline-flex_lg:a": "_inline-flex_lg:a_4wi2w_122",
117
+ "inline-flex_lg:d": "_inline-flex_lg:d_4wi2w_123",
118
+ "inline-flex_xl": "_inline-flex_xl_4wi2w_127",
119
+ "inline-flex_xl:h": "_inline-flex_xl:h_4wi2w_128",
120
+ "inline-flex_xl:f": "_inline-flex_xl:f_4wi2w_129",
121
+ "inline-flex_xl:a": "_inline-flex_xl:a_4wi2w_130",
122
+ "inline-flex_xl:d": "_inline-flex_xl:d_4wi2w_131",
123
+ "inline-flex_2xl": "_inline-flex_2xl_4wi2w_135",
124
+ "inline-flex_2xl:h": "_inline-flex_2xl:h_4wi2w_136",
125
+ "inline-flex_2xl:f": "_inline-flex_2xl:f_4wi2w_137",
126
+ "inline-flex_2xl:a": "_inline-flex_2xl:a_4wi2w_138",
127
+ "inline-flex_2xl:d": "_inline-flex_2xl:d_4wi2w_139",
128
+ grid,
129
+ "grid:h": "_grid:h_4wi2w_144",
130
+ "grid:f": "_grid:f_4wi2w_145",
131
+ "grid:a": "_grid:a_4wi2w_146",
132
+ "grid:d": "_grid:d_4wi2w_147",
133
+ grid_sm,
134
+ "grid_sm:h": "_grid_sm:h_4wi2w_151",
135
+ "grid_sm:f": "_grid_sm:f_4wi2w_152",
136
+ "grid_sm:a": "_grid_sm:a_4wi2w_153",
137
+ "grid_sm:d": "_grid_sm:d_4wi2w_154",
138
+ grid_md,
139
+ "grid_md:h": "_grid_md:h_4wi2w_159",
140
+ "grid_md:f": "_grid_md:f_4wi2w_160",
141
+ "grid_md:a": "_grid_md:a_4wi2w_161",
142
+ "grid_md:d": "_grid_md:d_4wi2w_162",
143
+ grid_lg,
144
+ "grid_lg:h": "_grid_lg:h_4wi2w_167",
145
+ "grid_lg:f": "_grid_lg:f_4wi2w_168",
146
+ "grid_lg:a": "_grid_lg:a_4wi2w_169",
147
+ "grid_lg:d": "_grid_lg:d_4wi2w_170",
148
+ grid_xl,
149
+ "grid_xl:h": "_grid_xl:h_4wi2w_175",
150
+ "grid_xl:f": "_grid_xl:f_4wi2w_176",
151
+ "grid_xl:a": "_grid_xl:a_4wi2w_177",
152
+ "grid_xl:d": "_grid_xl:d_4wi2w_178",
153
+ grid_2xl,
154
+ "grid_2xl:h": "_grid_2xl:h_4wi2w_183",
155
+ "grid_2xl:f": "_grid_2xl:f_4wi2w_184",
156
+ "grid_2xl:a": "_grid_2xl:a_4wi2w_185",
157
+ "grid_2xl:d": "_grid_2xl:d_4wi2w_186",
158
+ inline,
159
+ "inline:h": "_inline:h_4wi2w_191",
160
+ "inline:f": "_inline:f_4wi2w_192",
161
+ "inline:a": "_inline:a_4wi2w_193",
162
+ "inline:d": "_inline:d_4wi2w_194",
163
+ inline_sm,
164
+ "inline_sm:h": "_inline_sm:h_4wi2w_198",
165
+ "inline_sm:f": "_inline_sm:f_4wi2w_199",
166
+ "inline_sm:a": "_inline_sm:a_4wi2w_200",
167
+ "inline_sm:d": "_inline_sm:d_4wi2w_201",
168
+ inline_md,
169
+ "inline_md:h": "_inline_md:h_4wi2w_206",
170
+ "inline_md:f": "_inline_md:f_4wi2w_207",
171
+ "inline_md:a": "_inline_md:a_4wi2w_208",
172
+ "inline_md:d": "_inline_md:d_4wi2w_209",
173
+ inline_lg,
174
+ "inline_lg:h": "_inline_lg:h_4wi2w_214",
175
+ "inline_lg:f": "_inline_lg:f_4wi2w_215",
176
+ "inline_lg:a": "_inline_lg:a_4wi2w_216",
177
+ "inline_lg:d": "_inline_lg:d_4wi2w_217",
178
+ inline_xl,
179
+ "inline_xl:h": "_inline_xl:h_4wi2w_222",
180
+ "inline_xl:f": "_inline_xl:f_4wi2w_223",
181
+ "inline_xl:a": "_inline_xl:a_4wi2w_224",
182
+ "inline_xl:d": "_inline_xl:d_4wi2w_225",
183
+ inline_2xl,
184
+ "inline_2xl:h": "_inline_2xl:h_4wi2w_230",
185
+ "inline_2xl:f": "_inline_2xl:f_4wi2w_231",
186
+ "inline_2xl:a": "_inline_2xl:a_4wi2w_232",
187
+ "inline_2xl:d": "_inline_2xl:d_4wi2w_233",
188
+ "inline-block": "_inline-block_4wi2w_237",
189
+ "inline-block:h": "_inline-block:h_4wi2w_238",
190
+ "inline-block:f": "_inline-block:f_4wi2w_239",
191
+ "inline-block:a": "_inline-block:a_4wi2w_240",
192
+ "inline-block:d": "_inline-block:d_4wi2w_241",
193
+ "inline-block_sm": "_inline-block_sm_4wi2w_244",
194
+ "inline-block_sm:h": "_inline-block_sm:h_4wi2w_245",
195
+ "inline-block_sm:f": "_inline-block_sm:f_4wi2w_246",
196
+ "inline-block_sm:a": "_inline-block_sm:a_4wi2w_247",
197
+ "inline-block_sm:d": "_inline-block_sm:d_4wi2w_248",
198
+ "inline-block_md": "_inline-block_md_4wi2w_252",
199
+ "inline-block_md:h": "_inline-block_md:h_4wi2w_253",
200
+ "inline-block_md:f": "_inline-block_md:f_4wi2w_254",
201
+ "inline-block_md:a": "_inline-block_md:a_4wi2w_255",
202
+ "inline-block_md:d": "_inline-block_md:d_4wi2w_256",
203
+ "inline-block_lg": "_inline-block_lg_4wi2w_260",
204
+ "inline-block_lg:h": "_inline-block_lg:h_4wi2w_261",
205
+ "inline-block_lg:f": "_inline-block_lg:f_4wi2w_262",
206
+ "inline-block_lg:a": "_inline-block_lg:a_4wi2w_263",
207
+ "inline-block_lg:d": "_inline-block_lg:d_4wi2w_264",
208
+ "inline-block_xl": "_inline-block_xl_4wi2w_268",
209
+ "inline-block_xl:h": "_inline-block_xl:h_4wi2w_269",
210
+ "inline-block_xl:f": "_inline-block_xl:f_4wi2w_270",
211
+ "inline-block_xl:a": "_inline-block_xl:a_4wi2w_271",
212
+ "inline-block_xl:d": "_inline-block_xl:d_4wi2w_272",
213
+ "inline-block_2xl": "_inline-block_2xl_4wi2w_276",
214
+ "inline-block_2xl:h": "_inline-block_2xl:h_4wi2w_277",
215
+ "inline-block_2xl:f": "_inline-block_2xl:f_4wi2w_278",
216
+ "inline-block_2xl:a": "_inline-block_2xl:a_4wi2w_279",
217
+ "inline-block_2xl:d": "_inline-block_2xl:d_4wi2w_280",
218
+ none,
219
+ "none:h": "_none:h_4wi2w_285",
220
+ "none:f": "_none:f_4wi2w_286",
221
+ "none:a": "_none:a_4wi2w_287",
222
+ "none:d": "_none:d_4wi2w_288",
223
+ none_sm,
224
+ "none_sm:h": "_none_sm:h_4wi2w_292",
225
+ "none_sm:f": "_none_sm:f_4wi2w_293",
226
+ "none_sm:a": "_none_sm:a_4wi2w_294",
227
+ "none_sm:d": "_none_sm:d_4wi2w_295",
228
+ none_md,
229
+ "none_md:h": "_none_md:h_4wi2w_300",
230
+ "none_md:f": "_none_md:f_4wi2w_301",
231
+ "none_md:a": "_none_md:a_4wi2w_302",
232
+ "none_md:d": "_none_md:d_4wi2w_303",
233
+ none_lg,
234
+ "none_lg:h": "_none_lg:h_4wi2w_308",
235
+ "none_lg:f": "_none_lg:f_4wi2w_309",
236
+ "none_lg:a": "_none_lg:a_4wi2w_310",
237
+ "none_lg:d": "_none_lg:d_4wi2w_311",
238
+ none_xl,
239
+ "none_xl:h": "_none_xl:h_4wi2w_316",
240
+ "none_xl:f": "_none_xl:f_4wi2w_317",
241
+ "none_xl:a": "_none_xl:a_4wi2w_318",
242
+ "none_xl:d": "_none_xl:d_4wi2w_319",
243
+ none_2xl,
244
+ "none_2xl:h": "_none_2xl:h_4wi2w_324",
245
+ "none_2xl:f": "_none_2xl:f_4wi2w_325",
246
+ "none_2xl:a": "_none_2xl:a_4wi2w_326",
247
+ "none_2xl:d": "_none_2xl:d_4wi2w_327",
248
+ contents,
249
+ "contents:h": "_contents:h_4wi2w_332",
250
+ "contents:f": "_contents:f_4wi2w_333",
251
+ "contents:a": "_contents:a_4wi2w_334",
252
+ "contents:d": "_contents:d_4wi2w_335",
253
+ contents_sm,
254
+ "contents_sm:h": "_contents_sm:h_4wi2w_339",
255
+ "contents_sm:f": "_contents_sm:f_4wi2w_340",
256
+ "contents_sm:a": "_contents_sm:a_4wi2w_341",
257
+ "contents_sm:d": "_contents_sm:d_4wi2w_342",
258
+ contents_md,
259
+ "contents_md:h": "_contents_md:h_4wi2w_347",
260
+ "contents_md:f": "_contents_md:f_4wi2w_348",
261
+ "contents_md:a": "_contents_md:a_4wi2w_349",
262
+ "contents_md:d": "_contents_md:d_4wi2w_350",
263
+ contents_lg,
264
+ "contents_lg:h": "_contents_lg:h_4wi2w_355",
265
+ "contents_lg:f": "_contents_lg:f_4wi2w_356",
266
+ "contents_lg:a": "_contents_lg:a_4wi2w_357",
267
+ "contents_lg:d": "_contents_lg:d_4wi2w_358",
268
+ contents_xl,
269
+ "contents_xl:h": "_contents_xl:h_4wi2w_363",
270
+ "contents_xl:f": "_contents_xl:f_4wi2w_364",
271
+ "contents_xl:a": "_contents_xl:a_4wi2w_365",
272
+ "contents_xl:d": "_contents_xl:d_4wi2w_366",
273
+ contents_2xl,
274
+ "contents_2xl:h": "_contents_2xl:h_4wi2w_371",
275
+ "contents_2xl:f": "_contents_2xl:f_4wi2w_372",
276
+ "contents_2xl:a": "_contents_2xl:a_4wi2w_373",
277
+ "contents_2xl:d": "_contents_2xl:d_4wi2w_374"
278
+ };
279
+ export {
280
+ block,
281
+ block_2xl,
282
+ block_lg,
283
+ block_md,
284
+ block_sm,
285
+ block_xl,
286
+ contents,
287
+ contents_2xl,
288
+ contents_lg,
289
+ contents_md,
290
+ contents_sm,
291
+ contents_xl,
292
+ styles as default,
293
+ flex,
294
+ flex_2xl,
295
+ flex_lg,
296
+ flex_md,
297
+ flex_sm,
298
+ flex_xl,
299
+ grid,
300
+ grid_2xl,
301
+ grid_lg,
302
+ grid_md,
303
+ grid_sm,
304
+ grid_xl,
305
+ inline,
306
+ inline_2xl,
307
+ inline_lg,
308
+ inline_md,
309
+ inline_sm,
310
+ inline_xl,
311
+ none,
312
+ none_2xl,
313
+ none_lg,
314
+ none_md,
315
+ none_sm,
316
+ none_xl
317
+ };
318
+ //# sourceMappingURL=display.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,139 @@
1
+ import { STATE_SUFFIXES, STATE_CLASS_SUFFIXES } from "../shared/constants.js";
2
+ import styles from "./flexbox.module.css.js";
3
+ import clsx from "clsx";
4
+ function getFlexDirectionClass(value, state) {
5
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
6
+ return stateClassSuffix ? styles[`flex-${value}${stateClassSuffix}`] : styles[`flex-${value}`];
7
+ }
8
+ function getJustifyContentClass(value, state) {
9
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
10
+ return stateClassSuffix ? styles[`justify-${value}${stateClassSuffix}`] : styles[`justify-${value}`];
11
+ }
12
+ function getAlignItemsClass(value, state) {
13
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
14
+ return stateClassSuffix ? styles[`items-${value}${stateClassSuffix}`] : styles[`items-${value}`];
15
+ }
16
+ function getAlignSelfClass(value, state) {
17
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
18
+ return stateClassSuffix ? styles[`self-${value}${stateClassSuffix}`] : styles[`self-${value}`];
19
+ }
20
+ function getFlexWrapClass(value, state) {
21
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
22
+ return stateClassSuffix ? styles[`flex-${value}${stateClassSuffix}`] : styles[`flex-${value}`];
23
+ }
24
+ function getSpacingValue(value) {
25
+ if (value === void 0) return "normal";
26
+ if (typeof value === "string") return value;
27
+ if (value === 0) return "0";
28
+ return `calc(var(--t-spacing-unit) * ${value})`;
29
+ }
30
+ function getFlexboxStylesForState(props, state) {
31
+ if (!props) return { className: "", style: {} };
32
+ const {
33
+ flexDirection,
34
+ justifyContent,
35
+ alignItems,
36
+ alignSelf,
37
+ flexWrap,
38
+ gap,
39
+ gapRow,
40
+ gapColumn,
41
+ flex,
42
+ flexGrow,
43
+ flexShrink,
44
+ flexBasis
45
+ } = props;
46
+ const classes = [];
47
+ const style = {};
48
+ const stateVarSuffix = STATE_SUFFIXES[state];
49
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
50
+ if (flexDirection) {
51
+ const cls = getFlexDirectionClass(flexDirection, state);
52
+ if (cls) classes.push(cls);
53
+ }
54
+ if (justifyContent) {
55
+ const cls = getJustifyContentClass(justifyContent, state);
56
+ if (cls) classes.push(cls);
57
+ }
58
+ if (alignItems) {
59
+ const cls = getAlignItemsClass(alignItems, state);
60
+ if (cls) classes.push(cls);
61
+ }
62
+ if (alignSelf) {
63
+ const cls = getAlignSelfClass(alignSelf, state);
64
+ if (cls) classes.push(cls);
65
+ }
66
+ if (flexWrap) {
67
+ const cls = getFlexWrapClass(flexWrap, state);
68
+ if (cls) classes.push(cls);
69
+ }
70
+ if (gap !== void 0 || gapRow !== void 0 || gapColumn !== void 0) {
71
+ const row = gapRow ?? gap;
72
+ const column = gapColumn ?? gap;
73
+ const rowValue = getSpacingValue(row);
74
+ const columnValue = getSpacingValue(column);
75
+ const gapValue = rowValue === columnValue ? rowValue : `${rowValue} ${columnValue}`;
76
+ const gapClass = stateClassSuffix ? styles[`gap${stateClassSuffix}`] : styles.gap;
77
+ if (gapClass) classes.push(gapClass);
78
+ style[`--t-gap${stateVarSuffix}`] = gapValue;
79
+ }
80
+ if (flex !== void 0) {
81
+ const flexClass = stateClassSuffix ? styles[`flex${stateClassSuffix}`] : styles.flex;
82
+ if (flexClass) classes.push(flexClass);
83
+ style[`--t-flex${stateVarSuffix}`] = flex;
84
+ } else if (flexGrow !== void 0 || flexShrink !== void 0 || flexBasis !== void 0) {
85
+ const grow = flexGrow ?? 0;
86
+ const shrink = flexShrink ?? 1;
87
+ const basis = flexBasis ?? "auto";
88
+ const flexClass = stateClassSuffix ? styles[`flex${stateClassSuffix}`] : styles.flex;
89
+ if (flexClass) classes.push(flexClass);
90
+ style[`--t-flex${stateVarSuffix}`] = `${grow} ${shrink} ${basis}`;
91
+ }
92
+ return {
93
+ className: clsx(...classes),
94
+ style
95
+ };
96
+ }
97
+ function getFlexboxStyles(props) {
98
+ const {
99
+ flexDirection,
100
+ justifyContent,
101
+ alignItems,
102
+ alignSelf,
103
+ flexWrap,
104
+ gap,
105
+ gapRow,
106
+ gapColumn,
107
+ flex,
108
+ flexGrow,
109
+ flexShrink,
110
+ flexBasis,
111
+ _hover
112
+ } = props;
113
+ const baseStyles = getFlexboxStylesForState(
114
+ {
115
+ flexDirection,
116
+ justifyContent,
117
+ alignItems,
118
+ alignSelf,
119
+ flexWrap,
120
+ gap,
121
+ gapRow,
122
+ gapColumn,
123
+ flex,
124
+ flexGrow,
125
+ flexShrink,
126
+ flexBasis
127
+ },
128
+ "base"
129
+ );
130
+ const hoverStyles = getFlexboxStylesForState(_hover, "hover");
131
+ return {
132
+ className: clsx(baseStyles.className, hoverStyles.className),
133
+ style: { ...baseStyles.style, ...hoverStyles.style }
134
+ };
135
+ }
136
+ export {
137
+ getFlexboxStyles
138
+ };
139
+ //# sourceMappingURL=flexbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flexbox.js","sources":["../../../../src/components/Box/flexbox/flexbox.ts"],"sourcesContent":["import {\n STATE_SUFFIXES,\n STATE_CLASS_SUFFIXES,\n type StateKey,\n type StyleResult,\n} from \"../shared\";\nimport styles from \"./flexbox.module.css\";\nimport clsx from \"clsx\";\n\nexport type FlexDirectionValue = \"row\" | \"row-reverse\" | \"column\" | \"column-reverse\";\nexport type JustifyContentValue = \"start\" | \"end\" | \"center\" | \"space-between\" | \"space-around\" | \"space-evenly\";\nexport type AlignItemsValue = \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\";\nexport type AlignSelfValue = \"auto\" | \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\";\nexport type FlexWrapValue = \"nowrap\" | \"wrap\" | \"wrap-reverse\";\nexport type SpacingValue = number | string;\n\nexport type FlexboxProps = {\n flexDirection?: FlexDirectionValue;\n justifyContent?: JustifyContentValue;\n alignItems?: AlignItemsValue;\n alignSelf?: AlignSelfValue;\n flexWrap?: FlexWrapValue;\n gap?: SpacingValue;\n gapRow?: SpacingValue;\n gapColumn?: SpacingValue;\n flex?: string;\n flexGrow?: number;\n flexShrink?: number;\n flexBasis?: string;\n};\n\nexport type FlexboxStateProps = {\n _hover?: FlexboxProps;\n};\n\nfunction getFlexDirectionClass(value: FlexDirectionValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`flex-${value}${stateClassSuffix}`]\n : styles[`flex-${value}`];\n}\n\nfunction getJustifyContentClass(value: JustifyContentValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`justify-${value}${stateClassSuffix}`]\n : styles[`justify-${value}`];\n}\n\nfunction getAlignItemsClass(value: AlignItemsValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`items-${value}${stateClassSuffix}`]\n : styles[`items-${value}`];\n}\n\nfunction getAlignSelfClass(value: AlignSelfValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`self-${value}${stateClassSuffix}`]\n : styles[`self-${value}`];\n}\n\nfunction getFlexWrapClass(value: FlexWrapValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`flex-${value}${stateClassSuffix}`]\n : styles[`flex-${value}`];\n}\n\nfunction getSpacingValue(value?: SpacingValue): string {\n if (value === undefined) return \"normal\";\n if (typeof value === \"string\") return value;\n if (value === 0) return \"0\";\n return `calc(var(--t-spacing-unit) * ${value})`;\n}\n\nfunction getFlexboxStylesForState(\n props: FlexboxProps | undefined,\n state: StateKey\n): StyleResult {\n if (!props) return { className: \"\", style: {} };\n\n const {\n flexDirection,\n justifyContent,\n alignItems,\n alignSelf,\n flexWrap,\n gap,\n gapRow,\n gapColumn,\n flex,\n flexGrow,\n flexShrink,\n flexBasis,\n } = props;\n\n const classes: string[] = [];\n const style: Record<string, string> = {};\n const stateVarSuffix = STATE_SUFFIXES[state];\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n\n // Enumerated props\n if (flexDirection) {\n const cls = getFlexDirectionClass(flexDirection, state);\n if (cls) classes.push(cls);\n }\n\n if (justifyContent) {\n const cls = getJustifyContentClass(justifyContent, state);\n if (cls) classes.push(cls);\n }\n\n if (alignItems) {\n const cls = getAlignItemsClass(alignItems, state);\n if (cls) classes.push(cls);\n }\n\n if (alignSelf) {\n const cls = getAlignSelfClass(alignSelf, state);\n if (cls) classes.push(cls);\n }\n\n if (flexWrap) {\n const cls = getFlexWrapClass(flexWrap, state);\n if (cls) classes.push(cls);\n }\n\n // Variable-based props: gap\n if (gap !== undefined || gapRow !== undefined || gapColumn !== undefined) {\n const row = gapRow ?? gap;\n const column = gapColumn ?? gap;\n const rowValue = getSpacingValue(row);\n const columnValue = getSpacingValue(column);\n const gapValue = rowValue === columnValue ? rowValue : `${rowValue} ${columnValue}`;\n\n const gapClass = stateClassSuffix ? styles[`gap${stateClassSuffix}`] : styles.gap;\n if (gapClass) classes.push(gapClass);\n style[`--t-gap${stateVarSuffix}`] = gapValue;\n }\n\n // Variable-based props: flex\n if (flex !== undefined) {\n const flexClass = stateClassSuffix ? styles[`flex${stateClassSuffix}`] : styles.flex;\n if (flexClass) classes.push(flexClass);\n style[`--t-flex${stateVarSuffix}`] = flex;\n } else if (flexGrow !== undefined || flexShrink !== undefined || flexBasis !== undefined) {\n const grow = flexGrow ?? 0;\n const shrink = flexShrink ?? 1;\n const basis = flexBasis ?? \"auto\";\n const flexClass = stateClassSuffix ? styles[`flex${stateClassSuffix}`] : styles.flex;\n if (flexClass) classes.push(flexClass);\n style[`--t-flex${stateVarSuffix}`] = `${grow} ${shrink} ${basis}`;\n }\n\n return {\n className: clsx(...classes),\n style,\n };\n}\n\nexport function getFlexboxStyles(\n props: FlexboxProps & FlexboxStateProps\n): StyleResult {\n const {\n flexDirection,\n justifyContent,\n alignItems,\n alignSelf,\n flexWrap,\n gap,\n gapRow,\n gapColumn,\n flex,\n flexGrow,\n flexShrink,\n flexBasis,\n _hover,\n } = props;\n\n const baseStyles = getFlexboxStylesForState(\n {\n flexDirection,\n justifyContent,\n alignItems,\n alignSelf,\n flexWrap,\n gap,\n gapRow,\n gapColumn,\n flex,\n flexGrow,\n flexShrink,\n flexBasis,\n },\n \"base\"\n );\n const hoverStyles = getFlexboxStylesForState(_hover, \"hover\");\n\n return {\n className: clsx(baseStyles.className, hoverStyles.className),\n style: { ...baseStyles.style, ...hoverStyles.style } as Record<string, string>,\n };\n}\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,65 @@
1
+ /* flexDirection */
2
+ ._flex-row_1d49m_2 { flex-direction: row; }
3
+ ._flex-row\:h_1d49m_3:hover { flex-direction: row; }
4
+ ._flex-row-reverse_1d49m_4 { flex-direction: row-reverse; }
5
+ ._flex-row-reverse\:h_1d49m_5:hover { flex-direction: row-reverse; }
6
+ ._flex-column_1d49m_6 { flex-direction: column; }
7
+ ._flex-column\:h_1d49m_7:hover { flex-direction: column; }
8
+ ._flex-column-reverse_1d49m_8 { flex-direction: column-reverse; }
9
+ ._flex-column-reverse\:h_1d49m_9:hover { flex-direction: column-reverse; }
10
+
11
+ /* justifyContent */
12
+ ._justify-start_1d49m_12 { justify-content: start; }
13
+ ._justify-start\:h_1d49m_13:hover { justify-content: start; }
14
+ ._justify-end_1d49m_14 { justify-content: end; }
15
+ ._justify-end\:h_1d49m_15:hover { justify-content: end; }
16
+ ._justify-center_1d49m_16 { justify-content: center; }
17
+ ._justify-center\:h_1d49m_17:hover { justify-content: center; }
18
+ ._justify-space-between_1d49m_18 { justify-content: space-between; }
19
+ ._justify-space-between\:h_1d49m_19:hover { justify-content: space-between; }
20
+ ._justify-space-around_1d49m_20 { justify-content: space-around; }
21
+ ._justify-space-around\:h_1d49m_21:hover { justify-content: space-around; }
22
+ ._justify-space-evenly_1d49m_22 { justify-content: space-evenly; }
23
+ ._justify-space-evenly\:h_1d49m_23:hover { justify-content: space-evenly; }
24
+
25
+ /* alignItems */
26
+ ._items-start_1d49m_26 { align-items: start; }
27
+ ._items-start\:h_1d49m_27:hover { align-items: start; }
28
+ ._items-end_1d49m_28 { align-items: end; }
29
+ ._items-end\:h_1d49m_29:hover { align-items: end; }
30
+ ._items-center_1d49m_30 { align-items: center; }
31
+ ._items-center\:h_1d49m_31:hover { align-items: center; }
32
+ ._items-stretch_1d49m_32 { align-items: stretch; }
33
+ ._items-stretch\:h_1d49m_33:hover { align-items: stretch; }
34
+ ._items-baseline_1d49m_34 { align-items: baseline; }
35
+ ._items-baseline\:h_1d49m_35:hover { align-items: baseline; }
36
+
37
+ /* alignSelf */
38
+ ._self-auto_1d49m_38 { align-self: auto; }
39
+ ._self-auto\:h_1d49m_39:hover { align-self: auto; }
40
+ ._self-start_1d49m_40 { align-self: start; }
41
+ ._self-start\:h_1d49m_41:hover { align-self: start; }
42
+ ._self-end_1d49m_42 { align-self: end; }
43
+ ._self-end\:h_1d49m_43:hover { align-self: end; }
44
+ ._self-center_1d49m_44 { align-self: center; }
45
+ ._self-center\:h_1d49m_45:hover { align-self: center; }
46
+ ._self-stretch_1d49m_46 { align-self: stretch; }
47
+ ._self-stretch\:h_1d49m_47:hover { align-self: stretch; }
48
+ ._self-baseline_1d49m_48 { align-self: baseline; }
49
+ ._self-baseline\:h_1d49m_49:hover { align-self: baseline; }
50
+
51
+ /* flexWrap */
52
+ ._flex-nowrap_1d49m_52 { flex-wrap: nowrap; }
53
+ ._flex-nowrap\:h_1d49m_53:hover { flex-wrap: nowrap; }
54
+ ._flex-wrap_1d49m_54 { flex-wrap: wrap; }
55
+ ._flex-wrap\:h_1d49m_55:hover { flex-wrap: wrap; }
56
+ ._flex-wrap-reverse_1d49m_56 { flex-wrap: wrap-reverse; }
57
+ ._flex-wrap-reverse\:h_1d49m_57:hover { flex-wrap: wrap-reverse; }
58
+
59
+ /* gap (variable-based) */
60
+ ._gap_1d49m_60 { gap: var(--t-gap); }
61
+ ._gap\:h_1d49m_61:hover { gap: var(--t-gap-h); }
62
+
63
+ /* flex (variable-based) */
64
+ ._flex_1d49m_2 { flex: var(--t-flex); }
65
+ ._flex\:h_1d49m_65:hover { flex: var(--t-flex-h); }
@@ -0,0 +1,62 @@
1
+ const gap = "_gap_1d49m_60";
2
+ const flex = "_flex_1d49m_2";
3
+ const styles = {
4
+ "flex-row": "_flex-row_1d49m_2",
5
+ "flex-row:h": "_flex-row:h_1d49m_3",
6
+ "flex-row-reverse": "_flex-row-reverse_1d49m_4",
7
+ "flex-row-reverse:h": "_flex-row-reverse:h_1d49m_5",
8
+ "flex-column": "_flex-column_1d49m_6",
9
+ "flex-column:h": "_flex-column:h_1d49m_7",
10
+ "flex-column-reverse": "_flex-column-reverse_1d49m_8",
11
+ "flex-column-reverse:h": "_flex-column-reverse:h_1d49m_9",
12
+ "justify-start": "_justify-start_1d49m_12",
13
+ "justify-start:h": "_justify-start:h_1d49m_13",
14
+ "justify-end": "_justify-end_1d49m_14",
15
+ "justify-end:h": "_justify-end:h_1d49m_15",
16
+ "justify-center": "_justify-center_1d49m_16",
17
+ "justify-center:h": "_justify-center:h_1d49m_17",
18
+ "justify-space-between": "_justify-space-between_1d49m_18",
19
+ "justify-space-between:h": "_justify-space-between:h_1d49m_19",
20
+ "justify-space-around": "_justify-space-around_1d49m_20",
21
+ "justify-space-around:h": "_justify-space-around:h_1d49m_21",
22
+ "justify-space-evenly": "_justify-space-evenly_1d49m_22",
23
+ "justify-space-evenly:h": "_justify-space-evenly:h_1d49m_23",
24
+ "items-start": "_items-start_1d49m_26",
25
+ "items-start:h": "_items-start:h_1d49m_27",
26
+ "items-end": "_items-end_1d49m_28",
27
+ "items-end:h": "_items-end:h_1d49m_29",
28
+ "items-center": "_items-center_1d49m_30",
29
+ "items-center:h": "_items-center:h_1d49m_31",
30
+ "items-stretch": "_items-stretch_1d49m_32",
31
+ "items-stretch:h": "_items-stretch:h_1d49m_33",
32
+ "items-baseline": "_items-baseline_1d49m_34",
33
+ "items-baseline:h": "_items-baseline:h_1d49m_35",
34
+ "self-auto": "_self-auto_1d49m_38",
35
+ "self-auto:h": "_self-auto:h_1d49m_39",
36
+ "self-start": "_self-start_1d49m_40",
37
+ "self-start:h": "_self-start:h_1d49m_41",
38
+ "self-end": "_self-end_1d49m_42",
39
+ "self-end:h": "_self-end:h_1d49m_43",
40
+ "self-center": "_self-center_1d49m_44",
41
+ "self-center:h": "_self-center:h_1d49m_45",
42
+ "self-stretch": "_self-stretch_1d49m_46",
43
+ "self-stretch:h": "_self-stretch:h_1d49m_47",
44
+ "self-baseline": "_self-baseline_1d49m_48",
45
+ "self-baseline:h": "_self-baseline:h_1d49m_49",
46
+ "flex-nowrap": "_flex-nowrap_1d49m_52",
47
+ "flex-nowrap:h": "_flex-nowrap:h_1d49m_53",
48
+ "flex-wrap": "_flex-wrap_1d49m_54",
49
+ "flex-wrap:h": "_flex-wrap:h_1d49m_55",
50
+ "flex-wrap-reverse": "_flex-wrap-reverse_1d49m_56",
51
+ "flex-wrap-reverse:h": "_flex-wrap-reverse:h_1d49m_57",
52
+ gap,
53
+ "gap:h": "_gap:h_1d49m_61",
54
+ flex,
55
+ "flex:h": "_flex:h_1d49m_65"
56
+ };
57
+ export {
58
+ styles as default,
59
+ flex,
60
+ gap
61
+ };
62
+ //# sourceMappingURL=flexbox.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flexbox.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,49 @@
1
+ import { STATE_SUFFIXES, STATE_CLASS_SUFFIXES } from "../shared/constants.js";
2
+ import styles from "./grid.module.css.js";
3
+ import clsx from "clsx";
4
+ function getJustifySelfClass(value, state) {
5
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
6
+ return stateClassSuffix ? styles[`justify-self-${value}${stateClassSuffix}`] : styles[`justify-self-${value}`];
7
+ }
8
+ function getGridStylesForState(props, state) {
9
+ if (!props) return { className: "", style: {} };
10
+ const { justifySelf, gridTemplateColumns, gridTemplateRows } = props;
11
+ const classes = [];
12
+ const style = {};
13
+ const stateVarSuffix = STATE_SUFFIXES[state];
14
+ const stateClassSuffix = STATE_CLASS_SUFFIXES[state];
15
+ if (justifySelf) {
16
+ const cls = getJustifySelfClass(justifySelf, state);
17
+ if (cls) classes.push(cls);
18
+ }
19
+ if (gridTemplateColumns !== void 0) {
20
+ const gridColsClass = stateClassSuffix ? styles[`grid-cols${stateClassSuffix}`] : styles["grid-cols"];
21
+ if (gridColsClass) classes.push(gridColsClass);
22
+ style[`--t-grid-cols${stateVarSuffix}`] = gridTemplateColumns;
23
+ }
24
+ if (gridTemplateRows !== void 0) {
25
+ const gridRowsClass = stateClassSuffix ? styles[`grid-rows${stateClassSuffix}`] : styles["grid-rows"];
26
+ if (gridRowsClass) classes.push(gridRowsClass);
27
+ style[`--t-grid-rows${stateVarSuffix}`] = gridTemplateRows;
28
+ }
29
+ return {
30
+ className: clsx(...classes),
31
+ style
32
+ };
33
+ }
34
+ function getGridStyles(props) {
35
+ const { justifySelf, gridTemplateColumns, gridTemplateRows, _hover } = props;
36
+ const baseStyles = getGridStylesForState(
37
+ { justifySelf, gridTemplateColumns, gridTemplateRows },
38
+ "base"
39
+ );
40
+ const hoverStyles = getGridStylesForState(_hover, "hover");
41
+ return {
42
+ className: clsx(baseStyles.className, hoverStyles.className),
43
+ style: { ...baseStyles.style, ...hoverStyles.style }
44
+ };
45
+ }
46
+ export {
47
+ getGridStyles
48
+ };
49
+ //# sourceMappingURL=grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.js","sources":["../../../../src/components/Box/grid/grid.ts"],"sourcesContent":["import {\n STATE_SUFFIXES,\n STATE_CLASS_SUFFIXES,\n type StateKey,\n type StyleResult,\n} from \"../shared\";\nimport styles from \"./grid.module.css\";\nimport clsx from \"clsx\";\n\nexport type JustifySelfValue = \"auto\" | \"start\" | \"end\" | \"center\" | \"stretch\";\n\nexport type GridProps = {\n justifySelf?: JustifySelfValue;\n gridTemplateColumns?: string;\n gridTemplateRows?: string;\n};\n\nexport type GridStateProps = {\n _hover?: GridProps;\n};\n\nfunction getJustifySelfClass(value: JustifySelfValue, state: StateKey): string | undefined {\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n return stateClassSuffix\n ? styles[`justify-self-${value}${stateClassSuffix}`]\n : styles[`justify-self-${value}`];\n}\n\nfunction getGridStylesForState(\n props: GridProps | undefined,\n state: StateKey\n): StyleResult {\n if (!props) return { className: \"\", style: {} };\n\n const { justifySelf, gridTemplateColumns, gridTemplateRows } = props;\n\n const classes: string[] = [];\n const style: Record<string, string> = {};\n const stateVarSuffix = STATE_SUFFIXES[state];\n const stateClassSuffix = STATE_CLASS_SUFFIXES[state];\n\n // Enumerated prop\n if (justifySelf) {\n const cls = getJustifySelfClass(justifySelf, state);\n if (cls) classes.push(cls);\n }\n\n // Variable-based props\n if (gridTemplateColumns !== undefined) {\n const gridColsClass = stateClassSuffix ? styles[`grid-cols${stateClassSuffix}`] : styles[\"grid-cols\"];\n if (gridColsClass) classes.push(gridColsClass);\n style[`--t-grid-cols${stateVarSuffix}`] = gridTemplateColumns;\n }\n\n if (gridTemplateRows !== undefined) {\n const gridRowsClass = stateClassSuffix ? styles[`grid-rows${stateClassSuffix}`] : styles[\"grid-rows\"];\n if (gridRowsClass) classes.push(gridRowsClass);\n style[`--t-grid-rows${stateVarSuffix}`] = gridTemplateRows;\n }\n\n return {\n className: clsx(...classes),\n style,\n };\n}\n\nexport function getGridStyles(\n props: GridProps & GridStateProps\n): StyleResult {\n const { justifySelf, gridTemplateColumns, gridTemplateRows, _hover } = props;\n\n const baseStyles = getGridStylesForState(\n { justifySelf, gridTemplateColumns, gridTemplateRows },\n \"base\"\n );\n const hoverStyles = getGridStylesForState(_hover, \"hover\");\n\n return {\n className: clsx(baseStyles.className, hoverStyles.className),\n style: { ...baseStyles.style, ...hoverStyles.style } as Record<string, string>,\n };\n}\n"],"names":[],"mappings":";;;AAqBA,SAAS,oBAAoB,OAAyB,OAAqC;AACzF,QAAM,mBAAmB,qBAAqB,KAAK;AACnD,SAAO,mBACH,OAAO,gBAAgB,KAAK,GAAG,gBAAgB,EAAE,IACjD,OAAO,gBAAgB,KAAK,EAAE;AACpC;AAEA,SAAS,sBACP,OACA,OACa;AACb,MAAI,CAAC,MAAO,QAAO,EAAE,WAAW,IAAI,OAAO,GAAC;AAE5C,QAAM,EAAE,aAAa,qBAAqB,iBAAA,IAAqB;AAE/D,QAAM,UAAoB,CAAA;AAC1B,QAAM,QAAgC,CAAA;AACtC,QAAM,iBAAiB,eAAe,KAAK;AAC3C,QAAM,mBAAmB,qBAAqB,KAAK;AAGnD,MAAI,aAAa;AACf,UAAM,MAAM,oBAAoB,aAAa,KAAK;AAClD,QAAI,IAAK,SAAQ,KAAK,GAAG;AAAA,EAC3B;AAGA,MAAI,wBAAwB,QAAW;AACrC,UAAM,gBAAgB,mBAAmB,OAAO,YAAY,gBAAgB,EAAE,IAAI,OAAO,WAAW;AACpG,QAAI,cAAe,SAAQ,KAAK,aAAa;AAC7C,UAAM,gBAAgB,cAAc,EAAE,IAAI;AAAA,EAC5C;AAEA,MAAI,qBAAqB,QAAW;AAClC,UAAM,gBAAgB,mBAAmB,OAAO,YAAY,gBAAgB,EAAE,IAAI,OAAO,WAAW;AACpG,QAAI,cAAe,SAAQ,KAAK,aAAa;AAC7C,UAAM,gBAAgB,cAAc,EAAE,IAAI;AAAA,EAC5C;AAEA,SAAO;AAAA,IACL,WAAW,KAAK,GAAG,OAAO;AAAA,IAC1B;AAAA,EAAA;AAEJ;AAEO,SAAS,cACd,OACa;AACb,QAAM,EAAE,aAAa,qBAAqB,kBAAkB,WAAW;AAEvE,QAAM,aAAa;AAAA,IACjB,EAAE,aAAa,qBAAqB,iBAAA;AAAA,IACpC;AAAA,EAAA;AAEF,QAAM,cAAc,sBAAsB,QAAQ,OAAO;AAEzD,SAAO;AAAA,IACL,WAAW,KAAK,WAAW,WAAW,YAAY,SAAS;AAAA,IAC3D,OAAO,EAAE,GAAG,WAAW,OAAO,GAAG,YAAY,MAAA;AAAA,EAAM;AAEvD;"}