jaci-ui 0.6.3 → 0.8.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 (292) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +48 -0
  3. package/dist/components/alert/alert.cjs +11 -1
  4. package/dist/components/alert/alert.cjs.map +1 -1
  5. package/dist/components/alert/alert.d.cts +4 -1
  6. package/dist/components/alert/alert.d.ts +4 -1
  7. package/dist/components/alert/alert.js +11 -2
  8. package/dist/components/alert/alert.js.map +1 -1
  9. package/dist/components/alert/index.d.cts +2 -2
  10. package/dist/components/alert/index.d.ts +2 -2
  11. package/dist/components/alert-dialog/alert-dialog.cjs +4 -1
  12. package/dist/components/alert-dialog/alert-dialog.cjs.map +1 -1
  13. package/dist/components/alert-dialog/alert-dialog.d.cts +2 -2
  14. package/dist/components/alert-dialog/alert-dialog.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog.js +4 -1
  16. package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
  17. package/dist/components/aspect-ratio/aspect-ratio.cjs +23 -0
  18. package/dist/components/aspect-ratio/aspect-ratio.cjs.map +1 -0
  19. package/dist/components/aspect-ratio/aspect-ratio.d.cts +9 -0
  20. package/dist/components/aspect-ratio/aspect-ratio.d.ts +9 -0
  21. package/dist/components/aspect-ratio/aspect-ratio.js +23 -0
  22. package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -0
  23. package/dist/components/aspect-ratio/index.d.cts +2 -0
  24. package/dist/components/aspect-ratio/index.d.ts +2 -0
  25. package/dist/components/card/card.cjs +10 -1
  26. package/dist/components/card/card.cjs.map +1 -1
  27. package/dist/components/card/card.d.cts +15 -2
  28. package/dist/components/card/card.d.ts +15 -2
  29. package/dist/components/card/card.js +10 -2
  30. package/dist/components/card/card.js.map +1 -1
  31. package/dist/components/card/index.d.cts +2 -2
  32. package/dist/components/card/index.d.ts +2 -2
  33. package/dist/components/code/code.cjs +39 -0
  34. package/dist/components/code/code.cjs.map +1 -0
  35. package/dist/components/code/code.d.cts +14 -0
  36. package/dist/components/code/code.d.ts +14 -0
  37. package/dist/components/code/code.js +39 -0
  38. package/dist/components/code/code.js.map +1 -0
  39. package/dist/components/code/index.d.cts +2 -0
  40. package/dist/components/code/index.d.ts +2 -0
  41. package/dist/components/color-picker/color-picker.cjs +4 -1
  42. package/dist/components/color-picker/color-picker.cjs.map +1 -1
  43. package/dist/components/color-picker/color-picker.d.cts +2 -2
  44. package/dist/components/color-picker/color-picker.d.ts +2 -2
  45. package/dist/components/color-picker/color-picker.js +4 -1
  46. package/dist/components/color-picker/color-picker.js.map +1 -1
  47. package/dist/components/combobox/combobox.cjs +4 -1
  48. package/dist/components/combobox/combobox.cjs.map +1 -1
  49. package/dist/components/combobox/combobox.d.cts +2 -2
  50. package/dist/components/combobox/combobox.d.ts +2 -2
  51. package/dist/components/combobox/combobox.js +4 -1
  52. package/dist/components/combobox/combobox.js.map +1 -1
  53. package/dist/components/command/command.cjs +73 -12
  54. package/dist/components/command/command.cjs.map +1 -1
  55. package/dist/components/command/command.d.cts +7 -1
  56. package/dist/components/command/command.d.ts +7 -1
  57. package/dist/components/command/command.js +73 -12
  58. package/dist/components/command/command.js.map +1 -1
  59. package/dist/components/command/index.d.cts +2 -2
  60. package/dist/components/command/index.d.ts +2 -2
  61. package/dist/components/context-menu/context-menu.cjs +4 -1
  62. package/dist/components/context-menu/context-menu.cjs.map +1 -1
  63. package/dist/components/context-menu/context-menu.d.cts +2 -2
  64. package/dist/components/context-menu/context-menu.d.ts +2 -2
  65. package/dist/components/context-menu/context-menu.js +4 -1
  66. package/dist/components/context-menu/context-menu.js.map +1 -1
  67. package/dist/components/date-picker/date-picker.cjs +4 -1
  68. package/dist/components/date-picker/date-picker.cjs.map +1 -1
  69. package/dist/components/date-picker/date-picker.d.cts +2 -2
  70. package/dist/components/date-picker/date-picker.d.ts +2 -2
  71. package/dist/components/date-picker/date-picker.js +4 -1
  72. package/dist/components/date-picker/date-picker.js.map +1 -1
  73. package/dist/components/date-range-picker/date-range-picker.cjs +4 -1
  74. package/dist/components/date-range-picker/date-range-picker.cjs.map +1 -1
  75. package/dist/components/date-range-picker/date-range-picker.d.cts +2 -2
  76. package/dist/components/date-range-picker/date-range-picker.d.ts +2 -2
  77. package/dist/components/date-range-picker/date-range-picker.js +4 -1
  78. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  79. package/dist/components/dialog/dialog.cjs +4 -1
  80. package/dist/components/dialog/dialog.cjs.map +1 -1
  81. package/dist/components/dialog/dialog.d.cts +2 -2
  82. package/dist/components/dialog/dialog.d.ts +2 -2
  83. package/dist/components/dialog/dialog.js +4 -1
  84. package/dist/components/dialog/dialog.js.map +1 -1
  85. package/dist/components/drawer/drawer.cjs +4 -1
  86. package/dist/components/drawer/drawer.cjs.map +1 -1
  87. package/dist/components/drawer/drawer.d.cts +2 -2
  88. package/dist/components/drawer/drawer.d.ts +2 -2
  89. package/dist/components/drawer/drawer.js +4 -1
  90. package/dist/components/drawer/drawer.js.map +1 -1
  91. package/dist/components/feedback/badge.cjs +6 -3
  92. package/dist/components/feedback/badge.cjs.map +1 -1
  93. package/dist/components/feedback/badge.d.cts +1 -0
  94. package/dist/components/feedback/badge.d.ts +1 -0
  95. package/dist/components/feedback/badge.js +6 -3
  96. package/dist/components/feedback/badge.js.map +1 -1
  97. package/dist/components/figure/figure.cjs +134 -0
  98. package/dist/components/figure/figure.cjs.map +1 -0
  99. package/dist/components/figure/figure.d.cts +24 -0
  100. package/dist/components/figure/figure.d.ts +24 -0
  101. package/dist/components/figure/figure.js +131 -0
  102. package/dist/components/figure/figure.js.map +1 -0
  103. package/dist/components/figure/index.d.cts +2 -0
  104. package/dist/components/figure/index.d.ts +2 -0
  105. package/dist/components/image/image.cjs +112 -0
  106. package/dist/components/image/image.cjs.map +1 -0
  107. package/dist/components/image/image.d.cts +21 -0
  108. package/dist/components/image/image.d.ts +21 -0
  109. package/dist/components/image/image.js +112 -0
  110. package/dist/components/image/image.js.map +1 -0
  111. package/dist/components/image/index.d.cts +2 -0
  112. package/dist/components/image/index.d.ts +2 -0
  113. package/dist/components/kbd/index.d.cts +2 -0
  114. package/dist/components/kbd/index.d.ts +2 -0
  115. package/dist/components/kbd/kbd.cjs +23 -0
  116. package/dist/components/kbd/kbd.cjs.map +1 -0
  117. package/dist/components/kbd/kbd.d.cts +12 -0
  118. package/dist/components/kbd/kbd.d.ts +12 -0
  119. package/dist/components/kbd/kbd.js +23 -0
  120. package/dist/components/kbd/kbd.js.map +1 -0
  121. package/dist/components/menu/menu.cjs +4 -1
  122. package/dist/components/menu/menu.cjs.map +1 -1
  123. package/dist/components/menu/menu.d.cts +2 -2
  124. package/dist/components/menu/menu.d.ts +2 -2
  125. package/dist/components/menu/menu.js +4 -1
  126. package/dist/components/menu/menu.js.map +1 -1
  127. package/dist/components/menubar/menubar.cjs +4 -1
  128. package/dist/components/menubar/menubar.cjs.map +1 -1
  129. package/dist/components/menubar/menubar.d.cts +2 -2
  130. package/dist/components/menubar/menubar.d.ts +2 -2
  131. package/dist/components/menubar/menubar.js +4 -1
  132. package/dist/components/menubar/menubar.js.map +1 -1
  133. package/dist/components/navigation/navigation.cjs +3 -1
  134. package/dist/components/navigation/navigation.cjs.map +1 -1
  135. package/dist/components/navigation/navigation.js +3 -1
  136. package/dist/components/navigation/navigation.js.map +1 -1
  137. package/dist/components/navigation-menu/navigation-menu.cjs +4 -1
  138. package/dist/components/navigation-menu/navigation-menu.cjs.map +1 -1
  139. package/dist/components/navigation-menu/navigation-menu.d.cts +2 -2
  140. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -2
  141. package/dist/components/navigation-menu/navigation-menu.js +4 -1
  142. package/dist/components/navigation-menu/navigation-menu.js.map +1 -1
  143. package/dist/components/popover/popover.cjs +4 -1
  144. package/dist/components/popover/popover.cjs.map +1 -1
  145. package/dist/components/popover/popover.d.cts +2 -2
  146. package/dist/components/popover/popover.d.ts +2 -2
  147. package/dist/components/popover/popover.js +4 -1
  148. package/dist/components/popover/popover.js.map +1 -1
  149. package/dist/components/progress/progress.cjs +19 -7
  150. package/dist/components/progress/progress.cjs.map +1 -1
  151. package/dist/components/progress/progress.d.cts +4 -0
  152. package/dist/components/progress/progress.d.ts +4 -0
  153. package/dist/components/progress/progress.js +19 -7
  154. package/dist/components/progress/progress.js.map +1 -1
  155. package/dist/components/quote/index.d.cts +2 -0
  156. package/dist/components/quote/index.d.ts +2 -0
  157. package/dist/components/quote/quote.cjs +38 -0
  158. package/dist/components/quote/quote.cjs.map +1 -0
  159. package/dist/components/quote/quote.d.cts +19 -0
  160. package/dist/components/quote/quote.d.ts +19 -0
  161. package/dist/components/quote/quote.js +38 -0
  162. package/dist/components/quote/quote.js.map +1 -0
  163. package/dist/components/select/select.cjs +4 -1
  164. package/dist/components/select/select.cjs.map +1 -1
  165. package/dist/components/select/select.d.cts +2 -2
  166. package/dist/components/select/select.d.ts +2 -2
  167. package/dist/components/select/select.js +4 -1
  168. package/dist/components/select/select.js.map +1 -1
  169. package/dist/components/sidebar/sidebar.cjs +24 -17
  170. package/dist/components/sidebar/sidebar.cjs.map +1 -1
  171. package/dist/components/sidebar/sidebar.d.cts +4 -2
  172. package/dist/components/sidebar/sidebar.d.ts +4 -2
  173. package/dist/components/sidebar/sidebar.js +24 -17
  174. package/dist/components/sidebar/sidebar.js.map +1 -1
  175. package/dist/components/stat/index.d.cts +2 -0
  176. package/dist/components/stat/index.d.ts +2 -0
  177. package/dist/components/stat/stat.cjs +122 -0
  178. package/dist/components/stat/stat.cjs.map +1 -0
  179. package/dist/components/stat/stat.d.cts +51 -0
  180. package/dist/components/stat/stat.d.ts +51 -0
  181. package/dist/components/stat/stat.js +114 -0
  182. package/dist/components/stat/stat.js.map +1 -0
  183. package/dist/components/stat-group/index.d.cts +2 -0
  184. package/dist/components/stat-group/index.d.ts +2 -0
  185. package/dist/components/toast/toast.cjs +4 -1
  186. package/dist/components/toast/toast.cjs.map +1 -1
  187. package/dist/components/toast/toast.d.cts +1 -1
  188. package/dist/components/toast/toast.d.ts +1 -1
  189. package/dist/components/toast/toast.js +4 -1
  190. package/dist/components/toast/toast.js.map +1 -1
  191. package/dist/components/tooltip/tooltip.cjs +4 -1
  192. package/dist/components/tooltip/tooltip.cjs.map +1 -1
  193. package/dist/components/tooltip/tooltip.d.cts +2 -2
  194. package/dist/components/tooltip/tooltip.d.ts +2 -2
  195. package/dist/components/tooltip/tooltip.js +4 -1
  196. package/dist/components/tooltip/tooltip.js.map +1 -1
  197. package/dist/components/typography/heading.cjs +8 -2
  198. package/dist/components/typography/heading.cjs.map +1 -1
  199. package/dist/components/typography/heading.d.cts +8 -1
  200. package/dist/components/typography/heading.d.ts +8 -1
  201. package/dist/components/typography/heading.js +8 -2
  202. package/dist/components/typography/heading.js.map +1 -1
  203. package/dist/components/typography/index.d.cts +2 -2
  204. package/dist/components/typography/index.d.ts +2 -2
  205. package/dist/components/typography/paragraph.cjs +7 -2
  206. package/dist/components/typography/paragraph.cjs.map +1 -1
  207. package/dist/components/typography/paragraph.d.cts +8 -2
  208. package/dist/components/typography/paragraph.d.ts +8 -2
  209. package/dist/components/typography/paragraph.js +7 -2
  210. package/dist/components/typography/paragraph.js.map +1 -1
  211. package/dist/components/typography/text.cjs +6 -2
  212. package/dist/components/typography/text.cjs.map +1 -1
  213. package/dist/components/typography/text.d.cts +5 -0
  214. package/dist/components/typography/text.d.ts +5 -0
  215. package/dist/components/typography/text.js +6 -2
  216. package/dist/components/typography/text.js.map +1 -1
  217. package/dist/index.cjs +28 -0
  218. package/dist/index.cjs.map +1 -0
  219. package/dist/index.d.cts +20 -5
  220. package/dist/index.d.ts +20 -5
  221. package/dist/index.js +11 -3
  222. package/dist/index.js.map +1 -0
  223. package/dist/styled-system/recipes/alert.cjs +2 -1
  224. package/dist/styled-system/recipes/alert.cjs.map +1 -1
  225. package/dist/styled-system/recipes/alert.js +2 -1
  226. package/dist/styled-system/recipes/alert.js.map +1 -1
  227. package/dist/styled-system/recipes/aspect-ratio-box.cjs +25 -0
  228. package/dist/styled-system/recipes/aspect-ratio-box.cjs.map +1 -0
  229. package/dist/styled-system/recipes/aspect-ratio-box.js +25 -0
  230. package/dist/styled-system/recipes/aspect-ratio-box.js.map +1 -0
  231. package/dist/styled-system/recipes/badge.cjs +16 -6
  232. package/dist/styled-system/recipes/badge.cjs.map +1 -1
  233. package/dist/styled-system/recipes/badge.js +16 -6
  234. package/dist/styled-system/recipes/badge.js.map +1 -1
  235. package/dist/styled-system/recipes/code.cjs +33 -0
  236. package/dist/styled-system/recipes/code.cjs.map +1 -0
  237. package/dist/styled-system/recipes/code.js +33 -0
  238. package/dist/styled-system/recipes/code.js.map +1 -0
  239. package/dist/styled-system/recipes/command.cjs +3 -3
  240. package/dist/styled-system/recipes/command.cjs.map +1 -1
  241. package/dist/styled-system/recipes/command.js +3 -3
  242. package/dist/styled-system/recipes/command.js.map +1 -1
  243. package/dist/styled-system/recipes/figure.cjs +43 -0
  244. package/dist/styled-system/recipes/figure.cjs.map +1 -0
  245. package/dist/styled-system/recipes/figure.js +43 -0
  246. package/dist/styled-system/recipes/figure.js.map +1 -0
  247. package/dist/styled-system/recipes/heading.cjs +34 -9
  248. package/dist/styled-system/recipes/heading.cjs.map +1 -1
  249. package/dist/styled-system/recipes/heading.js +34 -9
  250. package/dist/styled-system/recipes/heading.js.map +1 -1
  251. package/dist/styled-system/recipes/image.cjs +57 -0
  252. package/dist/styled-system/recipes/image.cjs.map +1 -0
  253. package/dist/styled-system/recipes/image.js +57 -0
  254. package/dist/styled-system/recipes/image.js.map +1 -0
  255. package/dist/styled-system/recipes/kbd.cjs +39 -0
  256. package/dist/styled-system/recipes/kbd.cjs.map +1 -0
  257. package/dist/styled-system/recipes/kbd.js +39 -0
  258. package/dist/styled-system/recipes/kbd.js.map +1 -0
  259. package/dist/styled-system/recipes/paragraph.cjs +25 -2
  260. package/dist/styled-system/recipes/paragraph.cjs.map +1 -1
  261. package/dist/styled-system/recipes/paragraph.js +25 -2
  262. package/dist/styled-system/recipes/paragraph.js.map +1 -1
  263. package/dist/styled-system/recipes/progress.cjs +1 -0
  264. package/dist/styled-system/recipes/progress.cjs.map +1 -1
  265. package/dist/styled-system/recipes/progress.js +1 -0
  266. package/dist/styled-system/recipes/progress.js.map +1 -1
  267. package/dist/styled-system/recipes/quote.cjs +39 -0
  268. package/dist/styled-system/recipes/quote.cjs.map +1 -0
  269. package/dist/styled-system/recipes/quote.js +39 -0
  270. package/dist/styled-system/recipes/quote.js.map +1 -0
  271. package/dist/styled-system/recipes/stat-group.cjs +40 -0
  272. package/dist/styled-system/recipes/stat-group.cjs.map +1 -0
  273. package/dist/styled-system/recipes/stat-group.js +40 -0
  274. package/dist/styled-system/recipes/stat-group.js.map +1 -0
  275. package/dist/styled-system/recipes/stat.cjs +63 -0
  276. package/dist/styled-system/recipes/stat.cjs.map +1 -0
  277. package/dist/styled-system/recipes/stat.js +63 -0
  278. package/dist/styled-system/recipes/stat.js.map +1 -0
  279. package/dist/styled-system/recipes/text.cjs +23 -2
  280. package/dist/styled-system/recipes/text.cjs.map +1 -1
  281. package/dist/styled-system/recipes/text.js +23 -2
  282. package/dist/styled-system/recipes/text.js.map +1 -1
  283. package/dist/styles.css +1064 -117
  284. package/dist/theme/theme-provider.cjs +18 -8
  285. package/dist/theme/theme-provider.cjs.map +1 -1
  286. package/dist/theme/theme-provider.js +18 -8
  287. package/dist/theme/theme-provider.js.map +1 -1
  288. package/dist/theme/theme-scope.cjs +21 -0
  289. package/dist/theme/theme-scope.cjs.map +1 -0
  290. package/dist/theme/theme-scope.js +19 -0
  291. package/dist/theme/theme-scope.js.map +1 -0
  292. package/package.json +7 -4
@@ -0,0 +1,57 @@
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js";
2
+ import { createRecipe } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/image.js
4
+ const imageDefaultVariants = {
5
+ "fit": "cover",
6
+ "status": "loading"
7
+ };
8
+ const imageCompoundVariants = [];
9
+ const imageSlotFns = /* @__PURE__ */ [
10
+ ["root", "image__root"],
11
+ ["image", "image__image"],
12
+ ["fallback", "image__fallback"],
13
+ ["trigger", "image__trigger"],
14
+ ["backdrop", "image__backdrop"],
15
+ ["viewport", "image__viewport"],
16
+ ["popup", "image__popup"],
17
+ ["lightboxImage", "image__lightboxImage"],
18
+ ["closeRow", "image__closeRow"],
19
+ ["close", "image__close"],
20
+ ["title", "image__title"]
21
+ ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))]);
22
+ const imageFn = memo((props = {}) => {
23
+ return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
24
+ });
25
+ const imageVariantKeys = ["fit", "status"];
26
+ const getVariantProps = (variants) => ({
27
+ ...imageDefaultVariants,
28
+ ...compact(variants)
29
+ });
30
+ const image = /* @__PURE__ */ Object.assign(imageFn, {
31
+ __recipe__: false,
32
+ __name__: "image",
33
+ raw: (props) => props,
34
+ classNameMap: {},
35
+ variantKeys: imageVariantKeys,
36
+ variantMap: {
37
+ "fit": [
38
+ "contain",
39
+ "cover",
40
+ "fill",
41
+ "none"
42
+ ],
43
+ "status": [
44
+ "loading",
45
+ "loaded",
46
+ "error"
47
+ ]
48
+ },
49
+ splitVariantProps(props) {
50
+ return splitProps(props, imageVariantKeys);
51
+ },
52
+ getVariantProps
53
+ });
54
+ //#endregion
55
+ export { image };
56
+
57
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","names":[],"sources":["../../../src/styled-system/recipes/image.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst imageDefaultVariants = {\n \"fit\": \"cover\",\n \"status\": \"loading\"\n}\nconst imageCompoundVariants = []\n\nconst imageSlotNames = [\n [\n \"root\",\n \"image__root\"\n ],\n [\n \"image\",\n \"image__image\"\n ],\n [\n \"fallback\",\n \"image__fallback\"\n ],\n [\n \"trigger\",\n \"image__trigger\"\n ],\n [\n \"backdrop\",\n \"image__backdrop\"\n ],\n [\n \"viewport\",\n \"image__viewport\"\n ],\n [\n \"popup\",\n \"image__popup\"\n ],\n [\n \"lightboxImage\",\n \"image__lightboxImage\"\n ],\n [\n \"closeRow\",\n \"image__closeRow\"\n ],\n [\n \"close\",\n \"image__close\"\n ],\n [\n \"title\",\n \"image__title\"\n ]\n]\nconst imageSlotFns = /* @__PURE__ */ imageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))])\n\nconst imageFn = memo((props = {}) => {\n return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst imageVariantKeys = [\n \"fit\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...imageDefaultVariants, ...compact(variants) })\n\nexport const image = /* @__PURE__ */ Object.assign(imageFn, {\n __recipe__: false,\n __name__: 'image',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: imageVariantKeys,\n variantMap: {\n \"fit\": [\n \"contain\",\n \"cover\",\n \"fill\",\n \"none\"\n ],\n \"status\": [\n \"loading\",\n \"loaded\",\n \"error\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, imageVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,OAAO;CACP,UAAU;AACZ;AACA,MAAM,wBAAwB,CAAC;AAgD/B,MAAM,eAA+B;CA7CnC,CACE,QACA,aACF;CACA,CACE,SACA,cACF;CACA,CACE,YACA,iBACF;CACA,CACE,WACA,gBACF;CACA,CACE,YACA,iBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,iBACA,sBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,SACA,cACF;AAEgD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,sBAAsB,uBAAuB,uBAAuB,QAAQ,CAAC,CAAC,CAAC;AAEjM,MAAM,UAAU,MAAM,QAAQ,CAAC,MAAM;CACnC,OAAO,OAAO,YAAY,aAAa,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACxG,CAAC;AAED,MAAM,mBAAmB,CACvB,OACA,QACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAsB,GAAG,QAAQ,QAAQ;AAAE;AAEvF,MAAa,QAAwB,uBAAO,OAAO,SAAS;CAC1D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,OAAO;GACL;GACA;GACA;GACA;EACF;EACA,UAAU;GACR;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_helpers = require("../helpers.cjs");
2
+ const require_create_recipe = require("./create-recipe.cjs");
3
+ //#region src/styled-system/recipes/kbd.js
4
+ const kbdFn = /* @__PURE__ */ require_create_recipe.createRecipe("kbd", {
5
+ "size": "md",
6
+ "variant": "subtle"
7
+ }, []);
8
+ const kbdVariantMap = {
9
+ "size": [
10
+ "sm",
11
+ "md",
12
+ "lg"
13
+ ],
14
+ "variant": [
15
+ "solid",
16
+ "outline",
17
+ "subtle"
18
+ ]
19
+ };
20
+ const kbdVariantKeys = Object.keys(kbdVariantMap);
21
+ const kbd = /* @__PURE__ */ Object.assign(require_helpers.memo(kbdFn.recipeFn), {
22
+ __recipe__: true,
23
+ __name__: "kbd",
24
+ __getCompoundVariantCss__: kbdFn.__getCompoundVariantCss__,
25
+ raw: (props) => props,
26
+ variantKeys: kbdVariantKeys,
27
+ variantMap: kbdVariantMap,
28
+ merge(recipe) {
29
+ return require_create_recipe.mergeRecipes(this, recipe);
30
+ },
31
+ splitVariantProps(props) {
32
+ return require_helpers.splitProps(props, kbdVariantKeys);
33
+ },
34
+ getVariantProps: kbdFn.getVariantProps
35
+ });
36
+ //#endregion
37
+ exports.kbd = kbd;
38
+
39
+ //# sourceMappingURL=kbd.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/kbd.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst kbdFn = /* @__PURE__ */ createRecipe('kbd', {\n \"size\": \"md\",\n \"variant\": \"subtle\"\n}, [])\n\nconst kbdVariantMap = {\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"variant\": [\n \"solid\",\n \"outline\",\n \"subtle\"\n ]\n}\n\nconst kbdVariantKeys = Object.keys(kbdVariantMap)\n\nexport const kbd = /* @__PURE__ */ Object.assign(memo(kbdFn.recipeFn), {\n __recipe__: true,\n __name__: 'kbd',\n __getCompoundVariantCss__: kbdFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: kbdVariantKeys,\n variantMap: kbdVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, kbdVariantKeys)\n },\n getVariantProps: kbdFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,QAAwB,sCAAA,aAAa,OAAO;CAChD,QAAQ;CACR,WAAW;AACb,GAAG,CAAC,CAAC;AAEL,MAAM,gBAAgB;CACpB,QAAQ;EACN;EACA;EACA;CACF;CACA,WAAW;EACT;EACA;EACA;CACF;AACF;AAEA,MAAM,iBAAiB,OAAO,KAAK,aAAa;AAEhD,MAAa,MAAsB,uBAAO,OAAOA,gBAAAA,KAAK,MAAM,QAAQ,GAAG;CACrE,YAAY;CACZ,UAAU;CACV,2BAA2B,MAAM;CACjC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,cAAc;CACzC;CACA,iBAAiB,MAAM;AACzB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { memo, splitProps } from "../helpers.js";
2
+ import { createRecipe, mergeRecipes } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/kbd.js
4
+ const kbdFn = /* @__PURE__ */ createRecipe("kbd", {
5
+ "size": "md",
6
+ "variant": "subtle"
7
+ }, []);
8
+ const kbdVariantMap = {
9
+ "size": [
10
+ "sm",
11
+ "md",
12
+ "lg"
13
+ ],
14
+ "variant": [
15
+ "solid",
16
+ "outline",
17
+ "subtle"
18
+ ]
19
+ };
20
+ const kbdVariantKeys = Object.keys(kbdVariantMap);
21
+ const kbd = /* @__PURE__ */ Object.assign(memo(kbdFn.recipeFn), {
22
+ __recipe__: true,
23
+ __name__: "kbd",
24
+ __getCompoundVariantCss__: kbdFn.__getCompoundVariantCss__,
25
+ raw: (props) => props,
26
+ variantKeys: kbdVariantKeys,
27
+ variantMap: kbdVariantMap,
28
+ merge(recipe) {
29
+ return mergeRecipes(this, recipe);
30
+ },
31
+ splitVariantProps(props) {
32
+ return splitProps(props, kbdVariantKeys);
33
+ },
34
+ getVariantProps: kbdFn.getVariantProps
35
+ });
36
+ //#endregion
37
+ export { kbd };
38
+
39
+ //# sourceMappingURL=kbd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd.js","names":[],"sources":["../../../src/styled-system/recipes/kbd.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst kbdFn = /* @__PURE__ */ createRecipe('kbd', {\n \"size\": \"md\",\n \"variant\": \"subtle\"\n}, [])\n\nconst kbdVariantMap = {\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"variant\": [\n \"solid\",\n \"outline\",\n \"subtle\"\n ]\n}\n\nconst kbdVariantKeys = Object.keys(kbdVariantMap)\n\nexport const kbd = /* @__PURE__ */ Object.assign(memo(kbdFn.recipeFn), {\n __recipe__: true,\n __name__: 'kbd',\n __getCompoundVariantCss__: kbdFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: kbdVariantKeys,\n variantMap: kbdVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, kbdVariantKeys)\n },\n getVariantProps: kbdFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,QAAwB,6BAAa,OAAO;CAChD,QAAQ;CACR,WAAW;AACb,GAAG,CAAC,CAAC;AAEL,MAAM,gBAAgB;CACpB,QAAQ;EACN;EACA;EACA;CACF;CACA,WAAW;EACT;EACA;EACA;CACF;AACF;AAEA,MAAM,iBAAiB,OAAO,KAAK,aAAa;AAEhD,MAAa,MAAsB,uBAAO,OAAO,KAAK,MAAM,QAAQ,GAAG;CACrE,YAAY;CACZ,UAAU;CACV,2BAA2B,MAAM;CACjC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,cAAc;CACzC;CACA,iBAAiB,MAAM;AACzB,CAAC"}
@@ -1,8 +1,31 @@
1
1
  const require_helpers = require("../helpers.cjs");
2
2
  const require_create_recipe = require("./create-recipe.cjs");
3
3
  //#region src/styled-system/recipes/paragraph.js
4
- const paragraphFn = /* @__PURE__ */ require_create_recipe.createRecipe("paragraph", {}, []);
5
- const paragraphVariantMap = {};
4
+ const paragraphFn = /* @__PURE__ */ require_create_recipe.createRecipe("paragraph", {
5
+ "weight": "normal",
6
+ "truncate": false,
7
+ "width": "auto"
8
+ }, []);
9
+ const paragraphVariantMap = {
10
+ "weight": [
11
+ "normal",
12
+ "medium",
13
+ "semibold",
14
+ "bold"
15
+ ],
16
+ "truncate": ["true", "false"],
17
+ "lineClamp": [
18
+ "1",
19
+ "2",
20
+ "3",
21
+ "4"
22
+ ],
23
+ "width": [
24
+ "auto",
25
+ "fit",
26
+ "full"
27
+ ]
28
+ };
6
29
  const paragraphVariantKeys = Object.keys(paragraphVariantMap);
7
30
  const paragraph = /* @__PURE__ */ Object.assign(require_helpers.memo(paragraphFn.recipeFn), {
8
31
  __recipe__: true,
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/paragraph.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst paragraphFn = /* @__PURE__ */ createRecipe('paragraph', {}, [])\n\nconst paragraphVariantMap = {}\n\nconst paragraphVariantKeys = Object.keys(paragraphVariantMap)\n\nexport const paragraph = /* @__PURE__ */ Object.assign(memo(paragraphFn.recipeFn), {\n __recipe__: true,\n __name__: 'paragraph',\n __getCompoundVariantCss__: paragraphFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: paragraphVariantKeys,\n variantMap: paragraphVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, paragraphVariantKeys)\n },\n getVariantProps: paragraphFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,sCAAA,aAAa,aAAa,CAAC,GAAG,CAAC,CAAC;AAEpE,MAAM,sBAAsB,CAAC;AAE7B,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAOA,gBAAAA,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
1
+ {"version":3,"file":"paragraph.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/paragraph.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst paragraphFn = /* @__PURE__ */ createRecipe('paragraph', {\n \"weight\": \"normal\",\n \"truncate\": false,\n \"width\": \"auto\"\n}, [])\n\nconst paragraphVariantMap = {\n \"weight\": [\n \"normal\",\n \"medium\",\n \"semibold\",\n \"bold\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ],\n \"lineClamp\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"width\": [\n \"auto\",\n \"fit\",\n \"full\"\n ]\n}\n\nconst paragraphVariantKeys = Object.keys(paragraphVariantMap)\n\nexport const paragraph = /* @__PURE__ */ Object.assign(memo(paragraphFn.recipeFn), {\n __recipe__: true,\n __name__: 'paragraph',\n __getCompoundVariantCss__: paragraphFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: paragraphVariantKeys,\n variantMap: paragraphVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, paragraphVariantKeys)\n },\n getVariantProps: paragraphFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,sCAAA,aAAa,aAAa;CAC5D,UAAU;CACV,YAAY;CACZ,SAAS;AACX,GAAG,CAAC,CAAC;AAEL,MAAM,sBAAsB;CAC1B,UAAU;EACR;EACA;EACA;EACA;CACF;CACA,YAAY,CACV,QACA,OACF;CACA,aAAa;EACX;EACA;EACA;EACA;CACF;CACA,SAAS;EACP;EACA;EACA;CACF;AACF;AAEA,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAOA,gBAAAA,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
@@ -1,8 +1,31 @@
1
1
  import { memo, splitProps } from "../helpers.js";
2
2
  import { createRecipe, mergeRecipes } from "./create-recipe.js";
3
3
  //#region src/styled-system/recipes/paragraph.js
4
- const paragraphFn = /* @__PURE__ */ createRecipe("paragraph", {}, []);
5
- const paragraphVariantMap = {};
4
+ const paragraphFn = /* @__PURE__ */ createRecipe("paragraph", {
5
+ "weight": "normal",
6
+ "truncate": false,
7
+ "width": "auto"
8
+ }, []);
9
+ const paragraphVariantMap = {
10
+ "weight": [
11
+ "normal",
12
+ "medium",
13
+ "semibold",
14
+ "bold"
15
+ ],
16
+ "truncate": ["true", "false"],
17
+ "lineClamp": [
18
+ "1",
19
+ "2",
20
+ "3",
21
+ "4"
22
+ ],
23
+ "width": [
24
+ "auto",
25
+ "fit",
26
+ "full"
27
+ ]
28
+ };
6
29
  const paragraphVariantKeys = Object.keys(paragraphVariantMap);
7
30
  const paragraph = /* @__PURE__ */ Object.assign(memo(paragraphFn.recipeFn), {
8
31
  __recipe__: true,
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.js","names":[],"sources":["../../../src/styled-system/recipes/paragraph.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst paragraphFn = /* @__PURE__ */ createRecipe('paragraph', {}, [])\n\nconst paragraphVariantMap = {}\n\nconst paragraphVariantKeys = Object.keys(paragraphVariantMap)\n\nexport const paragraph = /* @__PURE__ */ Object.assign(memo(paragraphFn.recipeFn), {\n __recipe__: true,\n __name__: 'paragraph',\n __getCompoundVariantCss__: paragraphFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: paragraphVariantKeys,\n variantMap: paragraphVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, paragraphVariantKeys)\n },\n getVariantProps: paragraphFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,6BAAa,aAAa,CAAC,GAAG,CAAC,CAAC;AAEpE,MAAM,sBAAsB,CAAC;AAE7B,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAO,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
1
+ {"version":3,"file":"paragraph.js","names":[],"sources":["../../../src/styled-system/recipes/paragraph.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst paragraphFn = /* @__PURE__ */ createRecipe('paragraph', {\n \"weight\": \"normal\",\n \"truncate\": false,\n \"width\": \"auto\"\n}, [])\n\nconst paragraphVariantMap = {\n \"weight\": [\n \"normal\",\n \"medium\",\n \"semibold\",\n \"bold\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ],\n \"lineClamp\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"width\": [\n \"auto\",\n \"fit\",\n \"full\"\n ]\n}\n\nconst paragraphVariantKeys = Object.keys(paragraphVariantMap)\n\nexport const paragraph = /* @__PURE__ */ Object.assign(memo(paragraphFn.recipeFn), {\n __recipe__: true,\n __name__: 'paragraph',\n __getCompoundVariantCss__: paragraphFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: paragraphVariantKeys,\n variantMap: paragraphVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, paragraphVariantKeys)\n },\n getVariantProps: paragraphFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,6BAAa,aAAa;CAC5D,UAAU;CACV,YAAY;CACZ,SAAS;AACX,GAAG,CAAC,CAAC;AAEL,MAAM,sBAAsB;CAC1B,UAAU;EACR;EACA;EACA;EACA;CACF;CACA,YAAY,CACV,QACA,OACF;CACA,aAAa;EACX;EACA;EACA;EACA;CACF;CACA,SAAS;EACP;EACA;EACA;CACF;AACF;AAEA,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAO,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
@@ -6,6 +6,7 @@ const progressCompoundVariants = [];
6
6
  const progressSlotFns = /* @__PURE__ */ [
7
7
  ["root", "progress__root"],
8
8
  ["label", "progress__label"],
9
+ ["value", "progress__value"],
9
10
  ["track", "progress__track"],
10
11
  ["indicator", "progress__indicator"]
11
12
  ].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, progressDefaultVariants, require_helpers.getSlotCompoundVariant(progressCompoundVariants, slotName))]);
@@ -1 +1 @@
1
- {"version":3,"file":"progress.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/progress.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst progressDefaultVariants = {\n \"indeterminate\": false\n}\nconst progressCompoundVariants = []\n\nconst progressSlotNames = [\n [\n \"root\",\n \"progress__root\"\n ],\n [\n \"label\",\n \"progress__label\"\n ],\n [\n \"track\",\n \"progress__track\"\n ],\n [\n \"indicator\",\n \"progress__indicator\"\n ]\n]\nconst progressSlotFns = /* @__PURE__ */ progressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))])\n\nconst progressFn = memo((props = {}) => {\n return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst progressVariantKeys = [\n \"indeterminate\"\n]\nconst getVariantProps = (variants) => ({ ...progressDefaultVariants, ...compact(variants) })\n\nexport const progress = /* @__PURE__ */ Object.assign(progressFn, {\n __recipe__: false,\n __name__: 'progress',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: progressVariantKeys,\n variantMap: {\n \"indeterminate\": [\n \"true\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, progressVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,EAC9B,iBAAiB,MACnB;AACA,MAAM,2BAA2B,CAAC;AAoBlC,MAAM,kBAAkC;CAjBtC,CACE,QACA,gBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,aACA,qBACF;AAEsD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,yBAAyBC,gBAAAA,uBAAuB,0BAA0B,QAAQ,CAAC,CAAC,CAAC;AAE7M,MAAM,aAAaC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CACtC,OAAO,OAAO,YAAY,gBAAgB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED,MAAM,sBAAsB,CAC1B,eACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAyB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAE1F,MAAa,WAA2B,uBAAO,OAAO,YAAY;CAChE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,EACZ,iBAAiB,CACf,MACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"progress.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/progress.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst progressDefaultVariants = {\n \"indeterminate\": false\n}\nconst progressCompoundVariants = []\n\nconst progressSlotNames = [\n [\n \"root\",\n \"progress__root\"\n ],\n [\n \"label\",\n \"progress__label\"\n ],\n [\n \"value\",\n \"progress__value\"\n ],\n [\n \"track\",\n \"progress__track\"\n ],\n [\n \"indicator\",\n \"progress__indicator\"\n ]\n]\nconst progressSlotFns = /* @__PURE__ */ progressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))])\n\nconst progressFn = memo((props = {}) => {\n return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst progressVariantKeys = [\n \"indeterminate\"\n]\nconst getVariantProps = (variants) => ({ ...progressDefaultVariants, ...compact(variants) })\n\nexport const progress = /* @__PURE__ */ Object.assign(progressFn, {\n __recipe__: false,\n __name__: 'progress',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: progressVariantKeys,\n variantMap: {\n \"indeterminate\": [\n \"true\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, progressVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,EAC9B,iBAAiB,MACnB;AACA,MAAM,2BAA2B,CAAC;AAwBlC,MAAM,kBAAkC;CArBtC,CACE,QACA,gBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,aACA,qBACF;AAEsD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,yBAAyBC,gBAAAA,uBAAuB,0BAA0B,QAAQ,CAAC,CAAC,CAAC;AAE7M,MAAM,aAAaC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CACtC,OAAO,OAAO,YAAY,gBAAgB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED,MAAM,sBAAsB,CAC1B,eACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAyB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAE1F,MAAa,WAA2B,uBAAO,OAAO,YAAY;CAChE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,EACZ,iBAAiB,CACf,MACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
@@ -6,6 +6,7 @@ const progressCompoundVariants = [];
6
6
  const progressSlotFns = /* @__PURE__ */ [
7
7
  ["root", "progress__root"],
8
8
  ["label", "progress__label"],
9
+ ["value", "progress__value"],
9
10
  ["track", "progress__track"],
10
11
  ["indicator", "progress__indicator"]
11
12
  ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))]);
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","names":[],"sources":["../../../src/styled-system/recipes/progress.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst progressDefaultVariants = {\n \"indeterminate\": false\n}\nconst progressCompoundVariants = []\n\nconst progressSlotNames = [\n [\n \"root\",\n \"progress__root\"\n ],\n [\n \"label\",\n \"progress__label\"\n ],\n [\n \"track\",\n \"progress__track\"\n ],\n [\n \"indicator\",\n \"progress__indicator\"\n ]\n]\nconst progressSlotFns = /* @__PURE__ */ progressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))])\n\nconst progressFn = memo((props = {}) => {\n return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst progressVariantKeys = [\n \"indeterminate\"\n]\nconst getVariantProps = (variants) => ({ ...progressDefaultVariants, ...compact(variants) })\n\nexport const progress = /* @__PURE__ */ Object.assign(progressFn, {\n __recipe__: false,\n __name__: 'progress',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: progressVariantKeys,\n variantMap: {\n \"indeterminate\": [\n \"true\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, progressVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,EAC9B,iBAAiB,MACnB;AACA,MAAM,2BAA2B,CAAC;AAoBlC,MAAM,kBAAkC;CAjBtC,CACE,QACA,gBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,aACA,qBACF;AAEsD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,yBAAyB,uBAAuB,0BAA0B,QAAQ,CAAC,CAAC,CAAC;AAE7M,MAAM,aAAa,MAAM,QAAQ,CAAC,MAAM;CACtC,OAAO,OAAO,YAAY,gBAAgB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED,MAAM,sBAAsB,CAC1B,eACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAyB,GAAG,QAAQ,QAAQ;AAAE;AAE1F,MAAa,WAA2B,uBAAO,OAAO,YAAY;CAChE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,EACZ,iBAAiB,CACf,MACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"progress.js","names":[],"sources":["../../../src/styled-system/recipes/progress.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst progressDefaultVariants = {\n \"indeterminate\": false\n}\nconst progressCompoundVariants = []\n\nconst progressSlotNames = [\n [\n \"root\",\n \"progress__root\"\n ],\n [\n \"label\",\n \"progress__label\"\n ],\n [\n \"value\",\n \"progress__value\"\n ],\n [\n \"track\",\n \"progress__track\"\n ],\n [\n \"indicator\",\n \"progress__indicator\"\n ]\n]\nconst progressSlotFns = /* @__PURE__ */ progressSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, progressDefaultVariants, getSlotCompoundVariant(progressCompoundVariants, slotName))])\n\nconst progressFn = memo((props = {}) => {\n return Object.fromEntries(progressSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst progressVariantKeys = [\n \"indeterminate\"\n]\nconst getVariantProps = (variants) => ({ ...progressDefaultVariants, ...compact(variants) })\n\nexport const progress = /* @__PURE__ */ Object.assign(progressFn, {\n __recipe__: false,\n __name__: 'progress',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: progressVariantKeys,\n variantMap: {\n \"indeterminate\": [\n \"true\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, progressVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,EAC9B,iBAAiB,MACnB;AACA,MAAM,2BAA2B,CAAC;AAwBlC,MAAM,kBAAkC;CArBtC,CACE,QACA,gBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,SACA,iBACF;CACA,CACE,aACA,qBACF;AAEsD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,yBAAyB,uBAAuB,0BAA0B,QAAQ,CAAC,CAAC,CAAC;AAE7M,MAAM,aAAa,MAAM,QAAQ,CAAC,MAAM;CACtC,OAAO,OAAO,YAAY,gBAAgB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED,MAAM,sBAAsB,CAC1B,eACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAyB,GAAG,QAAQ,QAAQ;AAAE;AAE1F,MAAa,WAA2B,uBAAO,OAAO,YAAY;CAChE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,EACZ,iBAAiB,CACf,MACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_helpers = require("../helpers.cjs");
2
+ const require_create_recipe = require("./create-recipe.cjs");
3
+ //#region src/styled-system/recipes/quote.js
4
+ const quoteFn = /* @__PURE__ */ require_create_recipe.createRecipe("quote", {
5
+ "size": "md",
6
+ "variant": "default"
7
+ }, []);
8
+ const quoteVariantMap = {
9
+ "variant": [
10
+ "default",
11
+ "accent",
12
+ "subtle"
13
+ ],
14
+ "size": [
15
+ "sm",
16
+ "md",
17
+ "lg"
18
+ ]
19
+ };
20
+ const quoteVariantKeys = Object.keys(quoteVariantMap);
21
+ const quote = /* @__PURE__ */ Object.assign(require_helpers.memo(quoteFn.recipeFn), {
22
+ __recipe__: true,
23
+ __name__: "quote",
24
+ __getCompoundVariantCss__: quoteFn.__getCompoundVariantCss__,
25
+ raw: (props) => props,
26
+ variantKeys: quoteVariantKeys,
27
+ variantMap: quoteVariantMap,
28
+ merge(recipe) {
29
+ return require_create_recipe.mergeRecipes(this, recipe);
30
+ },
31
+ splitVariantProps(props) {
32
+ return require_helpers.splitProps(props, quoteVariantKeys);
33
+ },
34
+ getVariantProps: quoteFn.getVariantProps
35
+ });
36
+ //#endregion
37
+ exports.quote = quote;
38
+
39
+ //# sourceMappingURL=quote.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/quote.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst quoteFn = /* @__PURE__ */ createRecipe('quote', {\n \"size\": \"md\",\n \"variant\": \"default\"\n}, [])\n\nconst quoteVariantMap = {\n \"variant\": [\n \"default\",\n \"accent\",\n \"subtle\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst quoteVariantKeys = Object.keys(quoteVariantMap)\n\nexport const quote = /* @__PURE__ */ Object.assign(memo(quoteFn.recipeFn), {\n __recipe__: true,\n __name__: 'quote',\n __getCompoundVariantCss__: quoteFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: quoteVariantKeys,\n variantMap: quoteVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, quoteVariantKeys)\n },\n getVariantProps: quoteFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,sCAAA,aAAa,SAAS;CACpD,QAAQ;CACR,WAAW;AACb,GAAG,CAAC,CAAC;AAEL,MAAM,kBAAkB;CACtB,WAAW;EACT;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;CACF;AACF;AAEA,MAAM,mBAAmB,OAAO,KAAK,eAAe;AAEpD,MAAa,QAAwB,uBAAO,OAAOA,gBAAAA,KAAK,QAAQ,QAAQ,GAAG;CACzE,YAAY;CACZ,UAAU;CACV,2BAA2B,QAAQ;CACnC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,gBAAgB;CAC3C;CACA,iBAAiB,QAAQ;AAC3B,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { memo, splitProps } from "../helpers.js";
2
+ import { createRecipe, mergeRecipes } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/quote.js
4
+ const quoteFn = /* @__PURE__ */ createRecipe("quote", {
5
+ "size": "md",
6
+ "variant": "default"
7
+ }, []);
8
+ const quoteVariantMap = {
9
+ "variant": [
10
+ "default",
11
+ "accent",
12
+ "subtle"
13
+ ],
14
+ "size": [
15
+ "sm",
16
+ "md",
17
+ "lg"
18
+ ]
19
+ };
20
+ const quoteVariantKeys = Object.keys(quoteVariantMap);
21
+ const quote = /* @__PURE__ */ Object.assign(memo(quoteFn.recipeFn), {
22
+ __recipe__: true,
23
+ __name__: "quote",
24
+ __getCompoundVariantCss__: quoteFn.__getCompoundVariantCss__,
25
+ raw: (props) => props,
26
+ variantKeys: quoteVariantKeys,
27
+ variantMap: quoteVariantMap,
28
+ merge(recipe) {
29
+ return mergeRecipes(this, recipe);
30
+ },
31
+ splitVariantProps(props) {
32
+ return splitProps(props, quoteVariantKeys);
33
+ },
34
+ getVariantProps: quoteFn.getVariantProps
35
+ });
36
+ //#endregion
37
+ export { quote };
38
+
39
+ //# sourceMappingURL=quote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote.js","names":[],"sources":["../../../src/styled-system/recipes/quote.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst quoteFn = /* @__PURE__ */ createRecipe('quote', {\n \"size\": \"md\",\n \"variant\": \"default\"\n}, [])\n\nconst quoteVariantMap = {\n \"variant\": [\n \"default\",\n \"accent\",\n \"subtle\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst quoteVariantKeys = Object.keys(quoteVariantMap)\n\nexport const quote = /* @__PURE__ */ Object.assign(memo(quoteFn.recipeFn), {\n __recipe__: true,\n __name__: 'quote',\n __getCompoundVariantCss__: quoteFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: quoteVariantKeys,\n variantMap: quoteVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, quoteVariantKeys)\n },\n getVariantProps: quoteFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,6BAAa,SAAS;CACpD,QAAQ;CACR,WAAW;AACb,GAAG,CAAC,CAAC;AAEL,MAAM,kBAAkB;CACtB,WAAW;EACT;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;CACF;AACF;AAEA,MAAM,mBAAmB,OAAO,KAAK,eAAe;AAEpD,MAAa,QAAwB,uBAAO,OAAO,KAAK,QAAQ,QAAQ,GAAG;CACzE,YAAY;CACZ,UAAU;CACV,2BAA2B,QAAQ;CACnC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA,iBAAiB,QAAQ;AAC3B,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_helpers = require("../helpers.cjs");
2
+ const require_create_recipe = require("./create-recipe.cjs");
3
+ //#region src/styled-system/recipes/stat-group.js
4
+ const statGroupFn = /* @__PURE__ */ require_create_recipe.createRecipe("statGroup", {
5
+ "columns": 3,
6
+ "gap": "md"
7
+ }, []);
8
+ const statGroupVariantMap = {
9
+ "columns": [
10
+ "1",
11
+ "2",
12
+ "3",
13
+ "4"
14
+ ],
15
+ "gap": [
16
+ "sm",
17
+ "md",
18
+ "lg"
19
+ ]
20
+ };
21
+ const statGroupVariantKeys = Object.keys(statGroupVariantMap);
22
+ const statGroup = /* @__PURE__ */ Object.assign(require_helpers.memo(statGroupFn.recipeFn), {
23
+ __recipe__: true,
24
+ __name__: "statGroup",
25
+ __getCompoundVariantCss__: statGroupFn.__getCompoundVariantCss__,
26
+ raw: (props) => props,
27
+ variantKeys: statGroupVariantKeys,
28
+ variantMap: statGroupVariantMap,
29
+ merge(recipe) {
30
+ return require_create_recipe.mergeRecipes(this, recipe);
31
+ },
32
+ splitVariantProps(props) {
33
+ return require_helpers.splitProps(props, statGroupVariantKeys);
34
+ },
35
+ getVariantProps: statGroupFn.getVariantProps
36
+ });
37
+ //#endregion
38
+ exports.statGroup = statGroup;
39
+
40
+ //# sourceMappingURL=stat-group.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat-group.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/stat-group.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst statGroupFn = /* @__PURE__ */ createRecipe('statGroup', {\n \"columns\": 3,\n \"gap\": \"md\"\n}, [])\n\nconst statGroupVariantMap = {\n \"columns\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"gap\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst statGroupVariantKeys = Object.keys(statGroupVariantMap)\n\nexport const statGroup = /* @__PURE__ */ Object.assign(memo(statGroupFn.recipeFn), {\n __recipe__: true,\n __name__: 'statGroup',\n __getCompoundVariantCss__: statGroupFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: statGroupVariantKeys,\n variantMap: statGroupVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, statGroupVariantKeys)\n },\n getVariantProps: statGroupFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,sCAAA,aAAa,aAAa;CAC5D,WAAW;CACX,OAAO;AACT,GAAG,CAAC,CAAC;AAEL,MAAM,sBAAsB;CAC1B,WAAW;EACT;EACA;EACA;EACA;CACF;CACA,OAAO;EACL;EACA;EACA;CACF;AACF;AAEA,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAOA,gBAAAA,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { memo, splitProps } from "../helpers.js";
2
+ import { createRecipe, mergeRecipes } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/stat-group.js
4
+ const statGroupFn = /* @__PURE__ */ createRecipe("statGroup", {
5
+ "columns": 3,
6
+ "gap": "md"
7
+ }, []);
8
+ const statGroupVariantMap = {
9
+ "columns": [
10
+ "1",
11
+ "2",
12
+ "3",
13
+ "4"
14
+ ],
15
+ "gap": [
16
+ "sm",
17
+ "md",
18
+ "lg"
19
+ ]
20
+ };
21
+ const statGroupVariantKeys = Object.keys(statGroupVariantMap);
22
+ const statGroup = /* @__PURE__ */ Object.assign(memo(statGroupFn.recipeFn), {
23
+ __recipe__: true,
24
+ __name__: "statGroup",
25
+ __getCompoundVariantCss__: statGroupFn.__getCompoundVariantCss__,
26
+ raw: (props) => props,
27
+ variantKeys: statGroupVariantKeys,
28
+ variantMap: statGroupVariantMap,
29
+ merge(recipe) {
30
+ return mergeRecipes(this, recipe);
31
+ },
32
+ splitVariantProps(props) {
33
+ return splitProps(props, statGroupVariantKeys);
34
+ },
35
+ getVariantProps: statGroupFn.getVariantProps
36
+ });
37
+ //#endregion
38
+ export { statGroup };
39
+
40
+ //# sourceMappingURL=stat-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat-group.js","names":[],"sources":["../../../src/styled-system/recipes/stat-group.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst statGroupFn = /* @__PURE__ */ createRecipe('statGroup', {\n \"columns\": 3,\n \"gap\": \"md\"\n}, [])\n\nconst statGroupVariantMap = {\n \"columns\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"gap\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst statGroupVariantKeys = Object.keys(statGroupVariantMap)\n\nexport const statGroup = /* @__PURE__ */ Object.assign(memo(statGroupFn.recipeFn), {\n __recipe__: true,\n __name__: 'statGroup',\n __getCompoundVariantCss__: statGroupFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: statGroupVariantKeys,\n variantMap: statGroupVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, statGroupVariantKeys)\n },\n getVariantProps: statGroupFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,cAA8B,6BAAa,aAAa;CAC5D,WAAW;CACX,OAAO;AACT,GAAG,CAAC,CAAC;AAEL,MAAM,sBAAsB;CAC1B,WAAW;EACT;EACA;EACA;EACA;CACF;CACA,OAAO;EACL;EACA;EACA;CACF;AACF;AAEA,MAAM,uBAAuB,OAAO,KAAK,mBAAmB;AAE5D,MAAa,YAA4B,uBAAO,OAAO,KAAK,YAAY,QAAQ,GAAG;CACjF,YAAY;CACZ,UAAU;CACV,2BAA2B,YAAY;CACvC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,oBAAoB;CAC/C;CACA,iBAAiB,YAAY;AAC/B,CAAC"}
@@ -0,0 +1,63 @@
1
+ const require_helpers = require("../helpers.cjs");
2
+ const require_create_recipe = require("./create-recipe.cjs");
3
+ //#region src/styled-system/recipes/stat.js
4
+ const statDefaultVariants = {
5
+ "size": "md",
6
+ "tone": "neutral",
7
+ "direction": "neutral"
8
+ };
9
+ const statCompoundVariants = [];
10
+ const statSlotFns = /* @__PURE__ */ [
11
+ ["root", "stat__root"],
12
+ ["icon", "stat__icon"],
13
+ ["label", "stat__label"],
14
+ ["value", "stat__value"],
15
+ ["description", "stat__description"],
16
+ ["trend", "stat__trend"]
17
+ ].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, statDefaultVariants, require_helpers.getSlotCompoundVariant(statCompoundVariants, slotName))]);
18
+ const statFn = require_helpers.memo((props = {}) => {
19
+ return Object.fromEntries(statSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
20
+ });
21
+ const statVariantKeys = [
22
+ "tone",
23
+ "size",
24
+ "direction"
25
+ ];
26
+ const getVariantProps = (variants) => ({
27
+ ...statDefaultVariants,
28
+ ...require_helpers.compact(variants)
29
+ });
30
+ const stat = /* @__PURE__ */ Object.assign(statFn, {
31
+ __recipe__: false,
32
+ __name__: "stat",
33
+ raw: (props) => props,
34
+ classNameMap: {},
35
+ variantKeys: statVariantKeys,
36
+ variantMap: {
37
+ "tone": [
38
+ "neutral",
39
+ "accent",
40
+ "success",
41
+ "warning",
42
+ "danger"
43
+ ],
44
+ "size": [
45
+ "sm",
46
+ "md",
47
+ "lg"
48
+ ],
49
+ "direction": [
50
+ "up",
51
+ "down",
52
+ "neutral"
53
+ ]
54
+ },
55
+ splitVariantProps(props) {
56
+ return require_helpers.splitProps(props, statVariantKeys);
57
+ },
58
+ getVariantProps
59
+ });
60
+ //#endregion
61
+ exports.stat = stat;
62
+
63
+ //# sourceMappingURL=stat.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/stat.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst statDefaultVariants = {\n \"size\": \"md\",\n \"tone\": \"neutral\",\n \"direction\": \"neutral\"\n}\nconst statCompoundVariants = []\n\nconst statSlotNames = [\n [\n \"root\",\n \"stat__root\"\n ],\n [\n \"icon\",\n \"stat__icon\"\n ],\n [\n \"label\",\n \"stat__label\"\n ],\n [\n \"value\",\n \"stat__value\"\n ],\n [\n \"description\",\n \"stat__description\"\n ],\n [\n \"trend\",\n \"stat__trend\"\n ]\n]\nconst statSlotFns = /* @__PURE__ */ statSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, statDefaultVariants, getSlotCompoundVariant(statCompoundVariants, slotName))])\n\nconst statFn = memo((props = {}) => {\n return Object.fromEntries(statSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst statVariantKeys = [\n \"tone\",\n \"size\",\n \"direction\"\n]\nconst getVariantProps = (variants) => ({ ...statDefaultVariants, ...compact(variants) })\n\nexport const stat = /* @__PURE__ */ Object.assign(statFn, {\n __recipe__: false,\n __name__: 'stat',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: statVariantKeys,\n variantMap: {\n \"tone\": [\n \"neutral\",\n \"accent\",\n \"success\",\n \"warning\",\n \"danger\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"direction\": [\n \"up\",\n \"down\",\n \"neutral\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, statVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,QAAQ;CACR,QAAQ;CACR,aAAa;AACf;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,SACA,aACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,SACA,aACF;AAE8C,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,qBAAqBC,gBAAAA,uBAAuB,sBAAsB,QAAQ,CAAC,CAAC,CAAC;AAE7L,MAAM,SAASC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CAClC,OAAO,OAAO,YAAY,YAAY,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACvG,CAAC;AAED,MAAM,kBAAkB;CACtB;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAqB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAEtF,MAAa,OAAuB,uBAAO,OAAO,QAAQ;CACxD,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,QAAQ;GACN;GACA;GACA;GACA;GACA;EACF;EACA,QAAQ;GACN;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js";
2
+ import { createRecipe } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/stat.js
4
+ const statDefaultVariants = {
5
+ "size": "md",
6
+ "tone": "neutral",
7
+ "direction": "neutral"
8
+ };
9
+ const statCompoundVariants = [];
10
+ const statSlotFns = /* @__PURE__ */ [
11
+ ["root", "stat__root"],
12
+ ["icon", "stat__icon"],
13
+ ["label", "stat__label"],
14
+ ["value", "stat__value"],
15
+ ["description", "stat__description"],
16
+ ["trend", "stat__trend"]
17
+ ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, statDefaultVariants, getSlotCompoundVariant(statCompoundVariants, slotName))]);
18
+ const statFn = memo((props = {}) => {
19
+ return Object.fromEntries(statSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
20
+ });
21
+ const statVariantKeys = [
22
+ "tone",
23
+ "size",
24
+ "direction"
25
+ ];
26
+ const getVariantProps = (variants) => ({
27
+ ...statDefaultVariants,
28
+ ...compact(variants)
29
+ });
30
+ const stat = /* @__PURE__ */ Object.assign(statFn, {
31
+ __recipe__: false,
32
+ __name__: "stat",
33
+ raw: (props) => props,
34
+ classNameMap: {},
35
+ variantKeys: statVariantKeys,
36
+ variantMap: {
37
+ "tone": [
38
+ "neutral",
39
+ "accent",
40
+ "success",
41
+ "warning",
42
+ "danger"
43
+ ],
44
+ "size": [
45
+ "sm",
46
+ "md",
47
+ "lg"
48
+ ],
49
+ "direction": [
50
+ "up",
51
+ "down",
52
+ "neutral"
53
+ ]
54
+ },
55
+ splitVariantProps(props) {
56
+ return splitProps(props, statVariantKeys);
57
+ },
58
+ getVariantProps
59
+ });
60
+ //#endregion
61
+ export { stat };
62
+
63
+ //# sourceMappingURL=stat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat.js","names":[],"sources":["../../../src/styled-system/recipes/stat.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst statDefaultVariants = {\n \"size\": \"md\",\n \"tone\": \"neutral\",\n \"direction\": \"neutral\"\n}\nconst statCompoundVariants = []\n\nconst statSlotNames = [\n [\n \"root\",\n \"stat__root\"\n ],\n [\n \"icon\",\n \"stat__icon\"\n ],\n [\n \"label\",\n \"stat__label\"\n ],\n [\n \"value\",\n \"stat__value\"\n ],\n [\n \"description\",\n \"stat__description\"\n ],\n [\n \"trend\",\n \"stat__trend\"\n ]\n]\nconst statSlotFns = /* @__PURE__ */ statSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, statDefaultVariants, getSlotCompoundVariant(statCompoundVariants, slotName))])\n\nconst statFn = memo((props = {}) => {\n return Object.fromEntries(statSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst statVariantKeys = [\n \"tone\",\n \"size\",\n \"direction\"\n]\nconst getVariantProps = (variants) => ({ ...statDefaultVariants, ...compact(variants) })\n\nexport const stat = /* @__PURE__ */ Object.assign(statFn, {\n __recipe__: false,\n __name__: 'stat',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: statVariantKeys,\n variantMap: {\n \"tone\": [\n \"neutral\",\n \"accent\",\n \"success\",\n \"warning\",\n \"danger\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"direction\": [\n \"up\",\n \"down\",\n \"neutral\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, statVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,QAAQ;CACR,QAAQ;CACR,aAAa;AACf;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,SACA,aACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,SACA,aACF;AAE8C,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,qBAAqB,uBAAuB,sBAAsB,QAAQ,CAAC,CAAC,CAAC;AAE7L,MAAM,SAAS,MAAM,QAAQ,CAAC,MAAM;CAClC,OAAO,OAAO,YAAY,YAAY,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACvG,CAAC;AAED,MAAM,kBAAkB;CACtB;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAqB,GAAG,QAAQ,QAAQ;AAAE;AAEtF,MAAa,OAAuB,uBAAO,OAAO,QAAQ;CACxD,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,QAAQ;GACN;GACA;GACA;GACA;GACA;EACF;EACA,QAAQ;GACN;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}