jaci-ui 0.4.0 → 0.6.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 (114) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +68 -0
  3. package/dist/components/command/command.cjs +55 -34
  4. package/dist/components/command/command.cjs.map +1 -1
  5. package/dist/components/command/command.d.cts +1 -0
  6. package/dist/components/command/command.d.ts +1 -0
  7. package/dist/components/command/command.js +55 -34
  8. package/dist/components/command/command.js.map +1 -1
  9. package/dist/components/data-toolbar/data-toolbar.cjs +141 -0
  10. package/dist/components/data-toolbar/data-toolbar.cjs.map +1 -0
  11. package/dist/components/data-toolbar/data-toolbar.d.cts +50 -0
  12. package/dist/components/data-toolbar/data-toolbar.d.ts +50 -0
  13. package/dist/components/data-toolbar/data-toolbar.js +132 -0
  14. package/dist/components/data-toolbar/data-toolbar.js.map +1 -0
  15. package/dist/components/data-toolbar/index.d.cts +2 -0
  16. package/dist/components/data-toolbar/index.d.ts +2 -0
  17. package/dist/components/data-view/data-view.cjs +33 -1
  18. package/dist/components/data-view/data-view.cjs.map +1 -1
  19. package/dist/components/data-view/data-view.d.cts +12 -1
  20. package/dist/components/data-view/data-view.d.ts +12 -1
  21. package/dist/components/data-view/data-view.js +31 -2
  22. package/dist/components/data-view/data-view.js.map +1 -1
  23. package/dist/components/data-view/index.d.cts +2 -2
  24. package/dist/components/data-view/index.d.ts +2 -2
  25. package/dist/components/list/list.cjs +3 -1
  26. package/dist/components/list/list.cjs.map +1 -1
  27. package/dist/components/list/list.d.cts +3 -1
  28. package/dist/components/list/list.d.ts +3 -1
  29. package/dist/components/list/list.js +3 -1
  30. package/dist/components/list/list.js.map +1 -1
  31. package/dist/components/navigation-menu/navigation-menu.cjs +3 -3
  32. package/dist/components/navigation-menu/navigation-menu.cjs.map +1 -1
  33. package/dist/components/navigation-menu/navigation-menu.js +3 -3
  34. package/dist/components/navigation-menu/navigation-menu.js.map +1 -1
  35. package/dist/components/pagination/index.d.cts +2 -2
  36. package/dist/components/pagination/index.d.ts +2 -2
  37. package/dist/components/pagination/pagination.cjs +122 -21
  38. package/dist/components/pagination/pagination.cjs.map +1 -1
  39. package/dist/components/pagination/pagination.d.cts +25 -13
  40. package/dist/components/pagination/pagination.d.ts +25 -13
  41. package/dist/components/pagination/pagination.js +122 -23
  42. package/dist/components/pagination/pagination.js.map +1 -1
  43. package/dist/components/sidebar/sidebar.cjs +59 -11
  44. package/dist/components/sidebar/sidebar.cjs.map +1 -1
  45. package/dist/components/sidebar/sidebar.d.cts +13 -0
  46. package/dist/components/sidebar/sidebar.d.ts +13 -0
  47. package/dist/components/sidebar/sidebar.js +59 -13
  48. package/dist/components/sidebar/sidebar.js.map +1 -1
  49. package/dist/components/stepper/index.d.cts +2 -0
  50. package/dist/components/stepper/index.d.ts +2 -0
  51. package/dist/components/stepper/stepper.cjs +341 -0
  52. package/dist/components/stepper/stepper.cjs.map +1 -0
  53. package/dist/components/stepper/stepper.d.cts +52 -0
  54. package/dist/components/stepper/stepper.d.ts +52 -0
  55. package/dist/components/stepper/stepper.js +330 -0
  56. package/dist/components/stepper/stepper.js.map +1 -0
  57. package/dist/components/table/index.d.cts +2 -2
  58. package/dist/components/table/index.d.ts +2 -2
  59. package/dist/components/table/table.cjs +265 -46
  60. package/dist/components/table/table.cjs.map +1 -1
  61. package/dist/components/table/table.d.cts +41 -8
  62. package/dist/components/table/table.d.ts +41 -8
  63. package/dist/components/table/table.js +264 -48
  64. package/dist/components/table/table.js.map +1 -1
  65. package/dist/components/toast/toast.cjs +3 -1
  66. package/dist/components/toast/toast.cjs.map +1 -1
  67. package/dist/components/toast/toast.js +3 -1
  68. package/dist/components/toast/toast.js.map +1 -1
  69. package/dist/components/tree-view/index.d.cts +2 -2
  70. package/dist/components/tree-view/index.d.ts +2 -2
  71. package/dist/components/tree-view/tree-view.cjs +60 -3
  72. package/dist/components/tree-view/tree-view.cjs.map +1 -1
  73. package/dist/components/tree-view/tree-view.d.cts +12 -1
  74. package/dist/components/tree-view/tree-view.d.ts +12 -1
  75. package/dist/components/tree-view/tree-view.js +58 -4
  76. package/dist/components/tree-view/tree-view.js.map +1 -1
  77. package/dist/index.cjs +35 -0
  78. package/dist/index.d.cts +9 -5
  79. package/dist/index.d.ts +9 -5
  80. package/dist/index.js +7 -5
  81. package/dist/styled-system/recipes/data-toolbar.cjs +40 -0
  82. package/dist/styled-system/recipes/data-toolbar.cjs.map +1 -0
  83. package/dist/styled-system/recipes/data-toolbar.js +40 -0
  84. package/dist/styled-system/recipes/data-toolbar.js.map +1 -0
  85. package/dist/styled-system/recipes/data-view.cjs +3 -0
  86. package/dist/styled-system/recipes/data-view.cjs.map +1 -1
  87. package/dist/styled-system/recipes/data-view.js +3 -0
  88. package/dist/styled-system/recipes/data-view.js.map +1 -1
  89. package/dist/styled-system/recipes/list.cjs +7 -1
  90. package/dist/styled-system/recipes/list.cjs.map +1 -1
  91. package/dist/styled-system/recipes/list.js +7 -1
  92. package/dist/styled-system/recipes/list.js.map +1 -1
  93. package/dist/styled-system/recipes/pagination.cjs +9 -1
  94. package/dist/styled-system/recipes/pagination.cjs.map +1 -1
  95. package/dist/styled-system/recipes/pagination.js +9 -1
  96. package/dist/styled-system/recipes/pagination.js.map +1 -1
  97. package/dist/styled-system/recipes/sidebar.cjs +3 -0
  98. package/dist/styled-system/recipes/sidebar.cjs.map +1 -1
  99. package/dist/styled-system/recipes/sidebar.js +3 -0
  100. package/dist/styled-system/recipes/sidebar.js.map +1 -1
  101. package/dist/styled-system/recipes/stepper.cjs +53 -0
  102. package/dist/styled-system/recipes/stepper.cjs.map +1 -0
  103. package/dist/styled-system/recipes/stepper.js +53 -0
  104. package/dist/styled-system/recipes/stepper.js.map +1 -0
  105. package/dist/styled-system/recipes/table.cjs +15 -2
  106. package/dist/styled-system/recipes/table.cjs.map +1 -1
  107. package/dist/styled-system/recipes/table.js +15 -2
  108. package/dist/styled-system/recipes/table.js.map +1 -1
  109. package/dist/styled-system/recipes/tree-view.cjs +4 -1
  110. package/dist/styled-system/recipes/tree-view.cjs.map +1 -1
  111. package/dist/styled-system/recipes/tree-view.js +4 -1
  112. package/dist/styled-system/recipes/tree-view.js.map +1 -1
  113. package/dist/styles.css +602 -18
  114. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js";
2
+ import { createRecipe } from "./create-recipe.js";
3
+ //#region src/styled-system/recipes/stepper.js
4
+ const stepperDefaultVariants = {
5
+ "orientation": "horizontal",
6
+ "status": "upcoming"
7
+ };
8
+ const stepperCompoundVariants = [];
9
+ const stepperSlotFns = /* @__PURE__ */ [
10
+ ["root", "stepper__root"],
11
+ ["list", "stepper__list"],
12
+ ["item", "stepper__item"],
13
+ ["trigger", "stepper__trigger"],
14
+ ["indicator", "stepper__indicator"],
15
+ ["title", "stepper__title"],
16
+ ["description", "stepper__description"],
17
+ ["content", "stepper__content"],
18
+ ["separator", "stepper__separator"],
19
+ ["previous", "stepper__previous"],
20
+ ["next", "stepper__next"]
21
+ ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, stepperDefaultVariants, getSlotCompoundVariant(stepperCompoundVariants, slotName))]);
22
+ const stepperFn = memo((props = {}) => {
23
+ return Object.fromEntries(stepperSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
24
+ });
25
+ const stepperVariantKeys = ["orientation", "status"];
26
+ const getVariantProps = (variants) => ({
27
+ ...stepperDefaultVariants,
28
+ ...compact(variants)
29
+ });
30
+ const stepper = /* @__PURE__ */ Object.assign(stepperFn, {
31
+ __recipe__: false,
32
+ __name__: "stepper",
33
+ raw: (props) => props,
34
+ classNameMap: {},
35
+ variantKeys: stepperVariantKeys,
36
+ variantMap: {
37
+ "orientation": ["horizontal", "vertical"],
38
+ "status": [
39
+ "current",
40
+ "complete",
41
+ "upcoming",
42
+ "disabled"
43
+ ]
44
+ },
45
+ splitVariantProps(props) {
46
+ return splitProps(props, stepperVariantKeys);
47
+ },
48
+ getVariantProps
49
+ });
50
+ //#endregion
51
+ export { stepper };
52
+
53
+ //# sourceMappingURL=stepper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper.js","names":[],"sources":["../../../src/styled-system/recipes/stepper.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst stepperDefaultVariants = {\n \"orientation\": \"horizontal\",\n \"status\": \"upcoming\"\n}\nconst stepperCompoundVariants = []\n\nconst stepperSlotNames = [\n [\n \"root\",\n \"stepper__root\"\n ],\n [\n \"list\",\n \"stepper__list\"\n ],\n [\n \"item\",\n \"stepper__item\"\n ],\n [\n \"trigger\",\n \"stepper__trigger\"\n ],\n [\n \"indicator\",\n \"stepper__indicator\"\n ],\n [\n \"title\",\n \"stepper__title\"\n ],\n [\n \"description\",\n \"stepper__description\"\n ],\n [\n \"content\",\n \"stepper__content\"\n ],\n [\n \"separator\",\n \"stepper__separator\"\n ],\n [\n \"previous\",\n \"stepper__previous\"\n ],\n [\n \"next\",\n \"stepper__next\"\n ]\n]\nconst stepperSlotFns = /* @__PURE__ */ stepperSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, stepperDefaultVariants, getSlotCompoundVariant(stepperCompoundVariants, slotName))])\n\nconst stepperFn = memo((props = {}) => {\n return Object.fromEntries(stepperSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst stepperVariantKeys = [\n \"orientation\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...stepperDefaultVariants, ...compact(variants) })\n\nexport const stepper = /* @__PURE__ */ Object.assign(stepperFn, {\n __recipe__: false,\n __name__: 'stepper',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: stepperVariantKeys,\n variantMap: {\n \"orientation\": [\n \"horizontal\",\n \"vertical\"\n ],\n \"status\": [\n \"current\",\n \"complete\",\n \"upcoming\",\n \"disabled\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, stepperVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,yBAAyB;CAC7B,eAAe;CACf,UAAU;AACZ;AACA,MAAM,0BAA0B,CAAC;AAgDjC,MAAM,iBAAiC;CA7CrC,CACE,QACA,eACF;CACA,CACE,QACA,eACF;CACA,CACE,QACA,eACF;CACA,CACE,WACA,kBACF;CACA,CACE,aACA,oBACF;CACA,CACE,SACA,gBACF;CACA,CACE,eACA,sBACF;CACA,CACE,WACA,kBACF;CACA,CACE,aACA,oBACF;CACA,CACE,YACA,mBACF;CACA,CACE,QACA,eACF;AAEoD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,wBAAwB,uBAAuB,yBAAyB,QAAQ,CAAC,CAAC,CAAC;AAEzM,MAAM,YAAY,MAAM,QAAQ,CAAC,MAAM;CACrC,OAAO,OAAO,YAAY,eAAe,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC1G,CAAC;AAED,MAAM,qBAAqB,CACzB,eACA,QACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAwB,GAAG,QAAQ,QAAQ;AAAE;AAEzF,MAAa,UAA0B,uBAAO,OAAO,WAAW;CAC9D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,eAAe,CACb,cACA,UACF;EACA,UAAU;GACR;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,kBAAkB;CAC7C;CACA;AACF,CAAC"}
@@ -12,6 +12,7 @@ const tableSlotFns = /* @__PURE__ */ [
12
12
  ["container", "table__container"],
13
13
  ["root", "table__root"],
14
14
  ["caption", "table__caption"],
15
+ ["description", "table__description"],
15
16
  ["header", "table__header"],
16
17
  ["body", "table__body"],
17
18
  ["footer", "table__footer"],
@@ -29,7 +30,9 @@ const tableVariantKeys = [
29
30
  "density",
30
31
  "bordered",
31
32
  "striped",
32
- "stickyHeader"
33
+ "stickyHeader",
34
+ "align",
35
+ "hideBelow"
33
36
  ];
34
37
  const getVariantProps = (variants) => ({
35
38
  ...tableDefaultVariants,
@@ -45,7 +48,17 @@ const table = /* @__PURE__ */ Object.assign(tableFn, {
45
48
  "density": ["compact", "comfortable"],
46
49
  "bordered": ["true", "false"],
47
50
  "striped": ["true", "false"],
48
- "stickyHeader": ["true", "false"]
51
+ "stickyHeader": ["true", "false"],
52
+ "align": [
53
+ "start",
54
+ "center",
55
+ "end"
56
+ ],
57
+ "hideBelow": [
58
+ "sm",
59
+ "md",
60
+ "lg"
61
+ ]
49
62
  },
50
63
  splitVariantProps(props) {
51
64
  return require_helpers.splitProps(props, tableVariantKeys);
@@ -1 +1 @@
1
- {"version":3,"file":"table.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/table.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst tableDefaultVariants = {\n \"bordered\": false,\n \"density\": \"comfortable\",\n \"stickyHeader\": false,\n \"striped\": false\n}\nconst tableCompoundVariants = []\n\nconst tableSlotNames = [\n [\n \"container\",\n \"table__container\"\n ],\n [\n \"root\",\n \"table__root\"\n ],\n [\n \"caption\",\n \"table__caption\"\n ],\n [\n \"header\",\n \"table__header\"\n ],\n [\n \"body\",\n \"table__body\"\n ],\n [\n \"footer\",\n \"table__footer\"\n ],\n [\n \"row\",\n \"table__row\"\n ],\n [\n \"head\",\n \"table__head\"\n ],\n [\n \"sortButton\",\n \"table__sortButton\"\n ],\n [\n \"cell\",\n \"table__cell\"\n ],\n [\n \"selection\",\n \"table__selection\"\n ],\n [\n \"empty\",\n \"table__empty\"\n ]\n]\nconst tableSlotFns = /* @__PURE__ */ tableSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tableDefaultVariants, getSlotCompoundVariant(tableCompoundVariants, slotName))])\n\nconst tableFn = memo((props = {}) => {\n return Object.fromEntries(tableSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst tableVariantKeys = [\n \"density\",\n \"bordered\",\n \"striped\",\n \"stickyHeader\"\n]\nconst getVariantProps = (variants) => ({ ...tableDefaultVariants, ...compact(variants) })\n\nexport const table = /* @__PURE__ */ Object.assign(tableFn, {\n __recipe__: false,\n __name__: 'table',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: tableVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"bordered\": [\n \"true\",\n \"false\"\n ],\n \"striped\": [\n \"true\",\n \"false\"\n ],\n \"stickyHeader\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, tableVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,WAAW;AACb;AACA,MAAM,wBAAwB,CAAC;AAoD/B,MAAM,eAA+B;CAjDnC,CACE,aACA,kBACF;CACA,CACE,QACA,aACF;CACA,CACE,WACA,gBACF;CACA,CACE,UACA,eACF;CACA,CACE,QACA,aACF;CACA,CACE,UACA,eACF;CACA,CACE,OACA,YACF;CACA,CACE,QACA,aACF;CACA,CACE,cACA,mBACF;CACA,CACE,QACA,aACF;CACA,CACE,aACA,kBACF;CACA,CACE,SACA,cACF;AAEgD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,sBAAsBC,gBAAAA,uBAAuB,uBAAuB,QAAQ,CAAC,CAAC,CAAC;AAEjM,MAAM,UAAUC,gBAAAA,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;CACA;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAsB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAEvF,MAAa,QAAwB,uBAAO,OAAO,SAAS;CAC1D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,WAAW,CACT,WACA,aACF;EACA,YAAY,CACV,QACA,OACF;EACA,WAAW,CACT,QACA,OACF;EACA,gBAAgB,CACd,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"table.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/table.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst tableDefaultVariants = {\n \"bordered\": false,\n \"density\": \"comfortable\",\n \"stickyHeader\": false,\n \"striped\": false\n}\nconst tableCompoundVariants = []\n\nconst tableSlotNames = [\n [\n \"container\",\n \"table__container\"\n ],\n [\n \"root\",\n \"table__root\"\n ],\n [\n \"caption\",\n \"table__caption\"\n ],\n [\n \"description\",\n \"table__description\"\n ],\n [\n \"header\",\n \"table__header\"\n ],\n [\n \"body\",\n \"table__body\"\n ],\n [\n \"footer\",\n \"table__footer\"\n ],\n [\n \"row\",\n \"table__row\"\n ],\n [\n \"head\",\n \"table__head\"\n ],\n [\n \"sortButton\",\n \"table__sortButton\"\n ],\n [\n \"cell\",\n \"table__cell\"\n ],\n [\n \"selection\",\n \"table__selection\"\n ],\n [\n \"empty\",\n \"table__empty\"\n ]\n]\nconst tableSlotFns = /* @__PURE__ */ tableSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tableDefaultVariants, getSlotCompoundVariant(tableCompoundVariants, slotName))])\n\nconst tableFn = memo((props = {}) => {\n return Object.fromEntries(tableSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst tableVariantKeys = [\n \"density\",\n \"bordered\",\n \"striped\",\n \"stickyHeader\",\n \"align\",\n \"hideBelow\"\n]\nconst getVariantProps = (variants) => ({ ...tableDefaultVariants, ...compact(variants) })\n\nexport const table = /* @__PURE__ */ Object.assign(tableFn, {\n __recipe__: false,\n __name__: 'table',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: tableVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"bordered\": [\n \"true\",\n \"false\"\n ],\n \"striped\": [\n \"true\",\n \"false\"\n ],\n \"stickyHeader\": [\n \"true\",\n \"false\"\n ],\n \"align\": [\n \"start\",\n \"center\",\n \"end\"\n ],\n \"hideBelow\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, tableVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,WAAW;AACb;AACA,MAAM,wBAAwB,CAAC;AAwD/B,MAAM,eAA+B;CArDnC,CACE,aACA,kBACF;CACA,CACE,QACA,aACF;CACA,CACE,WACA,gBACF;CACA,CACE,eACA,oBACF;CACA,CACE,UACA,eACF;CACA,CACE,QACA,aACF;CACA,CACE,UACA,eACF;CACA,CACE,OACA,YACF;CACA,CACE,QACA,aACF;CACA,CACE,cACA,mBACF;CACA,CACE,QACA,aACF;CACA,CACE,aACA,kBACF;CACA,CACE,SACA,cACF;AAEgD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,sBAAsBC,gBAAAA,uBAAuB,uBAAuB,QAAQ,CAAC,CAAC,CAAC;AAEjM,MAAM,UAAUC,gBAAAA,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;CACA;CACA;CACA;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAsB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAEvF,MAAa,QAAwB,uBAAO,OAAO,SAAS;CAC1D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,WAAW,CACT,WACA,aACF;EACA,YAAY,CACV,QACA,OACF;EACA,WAAW,CACT,QACA,OACF;EACA,gBAAgB,CACd,QACA,OACF;EACA,SAAS;GACP;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
@@ -12,6 +12,7 @@ const tableSlotFns = /* @__PURE__ */ [
12
12
  ["container", "table__container"],
13
13
  ["root", "table__root"],
14
14
  ["caption", "table__caption"],
15
+ ["description", "table__description"],
15
16
  ["header", "table__header"],
16
17
  ["body", "table__body"],
17
18
  ["footer", "table__footer"],
@@ -29,7 +30,9 @@ const tableVariantKeys = [
29
30
  "density",
30
31
  "bordered",
31
32
  "striped",
32
- "stickyHeader"
33
+ "stickyHeader",
34
+ "align",
35
+ "hideBelow"
33
36
  ];
34
37
  const getVariantProps = (variants) => ({
35
38
  ...tableDefaultVariants,
@@ -45,7 +48,17 @@ const table = /* @__PURE__ */ Object.assign(tableFn, {
45
48
  "density": ["compact", "comfortable"],
46
49
  "bordered": ["true", "false"],
47
50
  "striped": ["true", "false"],
48
- "stickyHeader": ["true", "false"]
51
+ "stickyHeader": ["true", "false"],
52
+ "align": [
53
+ "start",
54
+ "center",
55
+ "end"
56
+ ],
57
+ "hideBelow": [
58
+ "sm",
59
+ "md",
60
+ "lg"
61
+ ]
49
62
  },
50
63
  splitVariantProps(props) {
51
64
  return splitProps(props, tableVariantKeys);
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","names":[],"sources":["../../../src/styled-system/recipes/table.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst tableDefaultVariants = {\n \"bordered\": false,\n \"density\": \"comfortable\",\n \"stickyHeader\": false,\n \"striped\": false\n}\nconst tableCompoundVariants = []\n\nconst tableSlotNames = [\n [\n \"container\",\n \"table__container\"\n ],\n [\n \"root\",\n \"table__root\"\n ],\n [\n \"caption\",\n \"table__caption\"\n ],\n [\n \"header\",\n \"table__header\"\n ],\n [\n \"body\",\n \"table__body\"\n ],\n [\n \"footer\",\n \"table__footer\"\n ],\n [\n \"row\",\n \"table__row\"\n ],\n [\n \"head\",\n \"table__head\"\n ],\n [\n \"sortButton\",\n \"table__sortButton\"\n ],\n [\n \"cell\",\n \"table__cell\"\n ],\n [\n \"selection\",\n \"table__selection\"\n ],\n [\n \"empty\",\n \"table__empty\"\n ]\n]\nconst tableSlotFns = /* @__PURE__ */ tableSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tableDefaultVariants, getSlotCompoundVariant(tableCompoundVariants, slotName))])\n\nconst tableFn = memo((props = {}) => {\n return Object.fromEntries(tableSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst tableVariantKeys = [\n \"density\",\n \"bordered\",\n \"striped\",\n \"stickyHeader\"\n]\nconst getVariantProps = (variants) => ({ ...tableDefaultVariants, ...compact(variants) })\n\nexport const table = /* @__PURE__ */ Object.assign(tableFn, {\n __recipe__: false,\n __name__: 'table',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: tableVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"bordered\": [\n \"true\",\n \"false\"\n ],\n \"striped\": [\n \"true\",\n \"false\"\n ],\n \"stickyHeader\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, tableVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,WAAW;AACb;AACA,MAAM,wBAAwB,CAAC;AAoD/B,MAAM,eAA+B;CAjDnC,CACE,aACA,kBACF;CACA,CACE,QACA,aACF;CACA,CACE,WACA,gBACF;CACA,CACE,UACA,eACF;CACA,CACE,QACA,aACF;CACA,CACE,UACA,eACF;CACA,CACE,OACA,YACF;CACA,CACE,QACA,aACF;CACA,CACE,cACA,mBACF;CACA,CACE,QACA,aACF;CACA,CACE,aACA,kBACF;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;CACA;CACA;CACA;AACF;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,WAAW,CACT,WACA,aACF;EACA,YAAY,CACV,QACA,OACF;EACA,WAAW,CACT,QACA,OACF;EACA,gBAAgB,CACd,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"table.js","names":[],"sources":["../../../src/styled-system/recipes/table.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst tableDefaultVariants = {\n \"bordered\": false,\n \"density\": \"comfortable\",\n \"stickyHeader\": false,\n \"striped\": false\n}\nconst tableCompoundVariants = []\n\nconst tableSlotNames = [\n [\n \"container\",\n \"table__container\"\n ],\n [\n \"root\",\n \"table__root\"\n ],\n [\n \"caption\",\n \"table__caption\"\n ],\n [\n \"description\",\n \"table__description\"\n ],\n [\n \"header\",\n \"table__header\"\n ],\n [\n \"body\",\n \"table__body\"\n ],\n [\n \"footer\",\n \"table__footer\"\n ],\n [\n \"row\",\n \"table__row\"\n ],\n [\n \"head\",\n \"table__head\"\n ],\n [\n \"sortButton\",\n \"table__sortButton\"\n ],\n [\n \"cell\",\n \"table__cell\"\n ],\n [\n \"selection\",\n \"table__selection\"\n ],\n [\n \"empty\",\n \"table__empty\"\n ]\n]\nconst tableSlotFns = /* @__PURE__ */ tableSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tableDefaultVariants, getSlotCompoundVariant(tableCompoundVariants, slotName))])\n\nconst tableFn = memo((props = {}) => {\n return Object.fromEntries(tableSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst tableVariantKeys = [\n \"density\",\n \"bordered\",\n \"striped\",\n \"stickyHeader\",\n \"align\",\n \"hideBelow\"\n]\nconst getVariantProps = (variants) => ({ ...tableDefaultVariants, ...compact(variants) })\n\nexport const table = /* @__PURE__ */ Object.assign(tableFn, {\n __recipe__: false,\n __name__: 'table',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: tableVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"bordered\": [\n \"true\",\n \"false\"\n ],\n \"striped\": [\n \"true\",\n \"false\"\n ],\n \"stickyHeader\": [\n \"true\",\n \"false\"\n ],\n \"align\": [\n \"start\",\n \"center\",\n \"end\"\n ],\n \"hideBelow\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, tableVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,YAAY;CACZ,WAAW;CACX,gBAAgB;CAChB,WAAW;AACb;AACA,MAAM,wBAAwB,CAAC;AAwD/B,MAAM,eAA+B;CArDnC,CACE,aACA,kBACF;CACA,CACE,QACA,aACF;CACA,CACE,WACA,gBACF;CACA,CACE,eACA,oBACF;CACA,CACE,UACA,eACF;CACA,CACE,QACA,aACF;CACA,CACE,UACA,eACF;CACA,CACE,OACA,YACF;CACA,CACE,QACA,aACF;CACA,CACE,cACA,mBACF;CACA,CACE,QACA,aACF;CACA,CACE,aACA,kBACF;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;CACA;CACA;CACA;CACA;CACA;AACF;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,WAAW,CACT,WACA,aACF;EACA,YAAY,CACV,QACA,OACF;EACA,WAAW,CACT,QACA,OACF;EACA,gBAAgB,CACd,QACA,OACF;EACA,SAAS;GACP;GACA;GACA;EACF;EACA,aAAa;GACX;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
@@ -9,7 +9,10 @@ const treeViewSlotFns = /* @__PURE__ */ [
9
9
  ["item", "tree-view__item"],
10
10
  ["group", "tree-view__group"],
11
11
  ["toggle", "tree-view__toggle"],
12
- ["label", "tree-view__label"]
12
+ ["label", "tree-view__label"],
13
+ ["loading", "tree-view__loading"],
14
+ ["empty", "tree-view__empty"],
15
+ ["error", "tree-view__error"]
13
16
  ].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, treeViewDefaultVariants, require_helpers.getSlotCompoundVariant(treeViewCompoundVariants, slotName))]);
14
17
  const treeViewFn = require_helpers.memo((props = {}) => {
15
18
  return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
@@ -1 +1 @@
1
- {"version":3,"file":"tree-view.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/tree-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst treeViewDefaultVariants = {}\nconst treeViewCompoundVariants = []\n\nconst treeViewSlotNames = [\n [\n \"root\",\n \"tree-view__root\"\n ],\n [\n \"itemWrapper\",\n \"tree-view__itemWrapper\"\n ],\n [\n \"item\",\n \"tree-view__item\"\n ],\n [\n \"group\",\n \"tree-view__group\"\n ],\n [\n \"toggle\",\n \"tree-view__toggle\"\n ],\n [\n \"label\",\n \"tree-view__label\"\n ]\n]\nconst treeViewSlotFns = /* @__PURE__ */ treeViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, treeViewDefaultVariants, getSlotCompoundVariant(treeViewCompoundVariants, slotName))])\n\nconst treeViewFn = memo((props = {}) => {\n return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst treeViewVariantKeys = []\nconst getVariantProps = (variants) => ({ ...treeViewDefaultVariants, ...compact(variants) })\n\nexport const treeView = /* @__PURE__ */ Object.assign(treeViewFn, {\n __recipe__: false,\n __name__: 'treeView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: treeViewVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, treeViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,CAAC;AACjC,MAAM,2BAA2B,CAAC;AA4BlC,MAAM,kBAAkC;CAzBtC,CACE,QACA,iBACF;CACA,CACE,eACA,wBACF;CACA,CACE,QACA,iBACF;CACA,CACE,SACA,kBACF;CACA,CACE,UACA,mBACF;CACA,CACE,SACA,kBACF;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,CAAC;AAC7B,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,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"tree-view.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/tree-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst treeViewDefaultVariants = {}\nconst treeViewCompoundVariants = []\n\nconst treeViewSlotNames = [\n [\n \"root\",\n \"tree-view__root\"\n ],\n [\n \"itemWrapper\",\n \"tree-view__itemWrapper\"\n ],\n [\n \"item\",\n \"tree-view__item\"\n ],\n [\n \"group\",\n \"tree-view__group\"\n ],\n [\n \"toggle\",\n \"tree-view__toggle\"\n ],\n [\n \"label\",\n \"tree-view__label\"\n ],\n [\n \"loading\",\n \"tree-view__loading\"\n ],\n [\n \"empty\",\n \"tree-view__empty\"\n ],\n [\n \"error\",\n \"tree-view__error\"\n ]\n]\nconst treeViewSlotFns = /* @__PURE__ */ treeViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, treeViewDefaultVariants, getSlotCompoundVariant(treeViewCompoundVariants, slotName))])\n\nconst treeViewFn = memo((props = {}) => {\n return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst treeViewVariantKeys = []\nconst getVariantProps = (variants) => ({ ...treeViewDefaultVariants, ...compact(variants) })\n\nexport const treeView = /* @__PURE__ */ Object.assign(treeViewFn, {\n __recipe__: false,\n __name__: 'treeView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: treeViewVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, treeViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,CAAC;AACjC,MAAM,2BAA2B,CAAC;AAwClC,MAAM,kBAAkC;CArCtC,CACE,QACA,iBACF;CACA,CACE,eACA,wBACF;CACA,CACE,QACA,iBACF;CACA,CACE,SACA,kBACF;CACA,CACE,UACA,mBACF;CACA,CACE,SACA,kBACF;CACA,CACE,WACA,oBACF;CACA,CACE,SACA,kBACF;CACA,CACE,SACA,kBACF;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,CAAC;AAC7B,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,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
@@ -9,7 +9,10 @@ const treeViewSlotFns = /* @__PURE__ */ [
9
9
  ["item", "tree-view__item"],
10
10
  ["group", "tree-view__group"],
11
11
  ["toggle", "tree-view__toggle"],
12
- ["label", "tree-view__label"]
12
+ ["label", "tree-view__label"],
13
+ ["loading", "tree-view__loading"],
14
+ ["empty", "tree-view__empty"],
15
+ ["error", "tree-view__error"]
13
16
  ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, treeViewDefaultVariants, getSlotCompoundVariant(treeViewCompoundVariants, slotName))]);
14
17
  const treeViewFn = memo((props = {}) => {
15
18
  return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
@@ -1 +1 @@
1
- {"version":3,"file":"tree-view.js","names":[],"sources":["../../../src/styled-system/recipes/tree-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst treeViewDefaultVariants = {}\nconst treeViewCompoundVariants = []\n\nconst treeViewSlotNames = [\n [\n \"root\",\n \"tree-view__root\"\n ],\n [\n \"itemWrapper\",\n \"tree-view__itemWrapper\"\n ],\n [\n \"item\",\n \"tree-view__item\"\n ],\n [\n \"group\",\n \"tree-view__group\"\n ],\n [\n \"toggle\",\n \"tree-view__toggle\"\n ],\n [\n \"label\",\n \"tree-view__label\"\n ]\n]\nconst treeViewSlotFns = /* @__PURE__ */ treeViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, treeViewDefaultVariants, getSlotCompoundVariant(treeViewCompoundVariants, slotName))])\n\nconst treeViewFn = memo((props = {}) => {\n return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst treeViewVariantKeys = []\nconst getVariantProps = (variants) => ({ ...treeViewDefaultVariants, ...compact(variants) })\n\nexport const treeView = /* @__PURE__ */ Object.assign(treeViewFn, {\n __recipe__: false,\n __name__: 'treeView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: treeViewVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, treeViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,CAAC;AACjC,MAAM,2BAA2B,CAAC;AA4BlC,MAAM,kBAAkC;CAzBtC,CACE,QACA,iBACF;CACA,CACE,eACA,wBACF;CACA,CACE,QACA,iBACF;CACA,CACE,SACA,kBACF;CACA,CACE,UACA,mBACF;CACA,CACE,SACA,kBACF;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,CAAC;AAC7B,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,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"tree-view.js","names":[],"sources":["../../../src/styled-system/recipes/tree-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst treeViewDefaultVariants = {}\nconst treeViewCompoundVariants = []\n\nconst treeViewSlotNames = [\n [\n \"root\",\n \"tree-view__root\"\n ],\n [\n \"itemWrapper\",\n \"tree-view__itemWrapper\"\n ],\n [\n \"item\",\n \"tree-view__item\"\n ],\n [\n \"group\",\n \"tree-view__group\"\n ],\n [\n \"toggle\",\n \"tree-view__toggle\"\n ],\n [\n \"label\",\n \"tree-view__label\"\n ],\n [\n \"loading\",\n \"tree-view__loading\"\n ],\n [\n \"empty\",\n \"tree-view__empty\"\n ],\n [\n \"error\",\n \"tree-view__error\"\n ]\n]\nconst treeViewSlotFns = /* @__PURE__ */ treeViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, treeViewDefaultVariants, getSlotCompoundVariant(treeViewCompoundVariants, slotName))])\n\nconst treeViewFn = memo((props = {}) => {\n return Object.fromEntries(treeViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst treeViewVariantKeys = []\nconst getVariantProps = (variants) => ({ ...treeViewDefaultVariants, ...compact(variants) })\n\nexport const treeView = /* @__PURE__ */ Object.assign(treeViewFn, {\n __recipe__: false,\n __name__: 'treeView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: treeViewVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, treeViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B,CAAC;AACjC,MAAM,2BAA2B,CAAC;AAwClC,MAAM,kBAAkC;CArCtC,CACE,QACA,iBACF;CACA,CACE,eACA,wBACF;CACA,CACE,QACA,iBACF;CACA,CACE,SACA,kBACF;CACA,CACE,UACA,mBACF;CACA,CACE,SACA,kBACF;CACA,CACE,WACA,oBACF;CACA,CACE,SACA,kBACF;CACA,CACE,SACA,kBACF;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,CAAC;AAC7B,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,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}