jaci-ui 0.4.0 → 0.5.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 (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +37 -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/pagination/index.d.cts +2 -2
  32. package/dist/components/pagination/index.d.ts +2 -2
  33. package/dist/components/pagination/pagination.cjs +122 -21
  34. package/dist/components/pagination/pagination.cjs.map +1 -1
  35. package/dist/components/pagination/pagination.d.cts +25 -13
  36. package/dist/components/pagination/pagination.d.ts +25 -13
  37. package/dist/components/pagination/pagination.js +122 -23
  38. package/dist/components/pagination/pagination.js.map +1 -1
  39. package/dist/components/table/index.d.cts +2 -2
  40. package/dist/components/table/index.d.ts +2 -2
  41. package/dist/components/table/table.cjs +265 -46
  42. package/dist/components/table/table.cjs.map +1 -1
  43. package/dist/components/table/table.d.cts +41 -8
  44. package/dist/components/table/table.d.ts +41 -8
  45. package/dist/components/table/table.js +264 -48
  46. package/dist/components/table/table.js.map +1 -1
  47. package/dist/components/tree-view/index.d.cts +2 -2
  48. package/dist/components/tree-view/index.d.ts +2 -2
  49. package/dist/components/tree-view/tree-view.cjs +60 -3
  50. package/dist/components/tree-view/tree-view.cjs.map +1 -1
  51. package/dist/components/tree-view/tree-view.d.cts +12 -1
  52. package/dist/components/tree-view/tree-view.d.ts +12 -1
  53. package/dist/components/tree-view/tree-view.js +58 -4
  54. package/dist/components/tree-view/tree-view.js.map +1 -1
  55. package/dist/index.cjs +22 -0
  56. package/dist/index.d.cts +7 -5
  57. package/dist/index.d.ts +7 -5
  58. package/dist/index.js +6 -5
  59. package/dist/styled-system/recipes/data-toolbar.cjs +40 -0
  60. package/dist/styled-system/recipes/data-toolbar.cjs.map +1 -0
  61. package/dist/styled-system/recipes/data-toolbar.js +40 -0
  62. package/dist/styled-system/recipes/data-toolbar.js.map +1 -0
  63. package/dist/styled-system/recipes/data-view.cjs +3 -0
  64. package/dist/styled-system/recipes/data-view.cjs.map +1 -1
  65. package/dist/styled-system/recipes/data-view.js +3 -0
  66. package/dist/styled-system/recipes/data-view.js.map +1 -1
  67. package/dist/styled-system/recipes/list.cjs +7 -1
  68. package/dist/styled-system/recipes/list.cjs.map +1 -1
  69. package/dist/styled-system/recipes/list.js +7 -1
  70. package/dist/styled-system/recipes/list.js.map +1 -1
  71. package/dist/styled-system/recipes/pagination.cjs +9 -1
  72. package/dist/styled-system/recipes/pagination.cjs.map +1 -1
  73. package/dist/styled-system/recipes/pagination.js +9 -1
  74. package/dist/styled-system/recipes/pagination.js.map +1 -1
  75. package/dist/styled-system/recipes/table.cjs +15 -2
  76. package/dist/styled-system/recipes/table.cjs.map +1 -1
  77. package/dist/styled-system/recipes/table.js +15 -2
  78. package/dist/styled-system/recipes/table.js.map +1 -1
  79. package/dist/styled-system/recipes/tree-view.cjs +4 -1
  80. package/dist/styled-system/recipes/tree-view.cjs.map +1 -1
  81. package/dist/styled-system/recipes/tree-view.js +4 -1
  82. package/dist/styled-system/recipes/tree-view.js.map +1 -1
  83. package/dist/styles.css +237 -1
  84. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"data-view.js","names":[],"sources":["../../../src/styled-system/recipes/data-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst dataViewDefaultVariants = {\n \"columns\": 3,\n \"layout\": \"list\"\n}\nconst dataViewCompoundVariants = []\n\nconst dataViewSlotNames = [\n [\n \"root\",\n \"data-view__root\"\n ],\n [\n \"toolbar\",\n \"data-view__toolbar\"\n ],\n [\n \"content\",\n \"data-view__content\"\n ],\n [\n \"loading\",\n \"data-view__loading\"\n ],\n [\n \"empty\",\n \"data-view__empty\"\n ],\n [\n \"error\",\n \"data-view__error\"\n ]\n]\nconst dataViewSlotFns = /* @__PURE__ */ dataViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, dataViewDefaultVariants, getSlotCompoundVariant(dataViewCompoundVariants, slotName))])\n\nconst dataViewFn = memo((props = {}) => {\n return Object.fromEntries(dataViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst dataViewVariantKeys = [\n \"layout\",\n \"columns\"\n]\nconst getVariantProps = (variants) => ({ ...dataViewDefaultVariants, ...compact(variants) })\n\nexport const dataView = /* @__PURE__ */ Object.assign(dataViewFn, {\n __recipe__: false,\n __name__: 'dataView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: dataViewVariantKeys,\n variantMap: {\n \"layout\": [\n \"table\",\n \"list\",\n \"grid\"\n ],\n \"columns\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, dataViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B;CAC9B,WAAW;CACX,UAAU;AACZ;AACA,MAAM,2BAA2B,CAAC;AA4BlC,MAAM,kBAAkC;CAzBtC,CACE,QACA,iBACF;CACA,CACE,WACA,oBACF;CACA,CACE,WACA,oBACF;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,CAC1B,UACA,SACF;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,UAAU;GACR;GACA;GACA;EACF;EACA,WAAW;GACT;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"data-view.js","names":[],"sources":["../../../src/styled-system/recipes/data-view.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst dataViewDefaultVariants = {\n \"columns\": 3,\n \"layout\": \"list\"\n}\nconst dataViewCompoundVariants = []\n\nconst dataViewSlotNames = [\n [\n \"root\",\n \"data-view__root\"\n ],\n [\n \"toolbar\",\n \"data-view__toolbar\"\n ],\n [\n \"filters\",\n \"data-view__filters\"\n ],\n [\n \"content\",\n \"data-view__content\"\n ],\n [\n \"footer\",\n \"data-view__footer\"\n ],\n [\n \"pagination\",\n \"data-view__pagination\"\n ],\n [\n \"loading\",\n \"data-view__loading\"\n ],\n [\n \"empty\",\n \"data-view__empty\"\n ],\n [\n \"error\",\n \"data-view__error\"\n ]\n]\nconst dataViewSlotFns = /* @__PURE__ */ dataViewSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, dataViewDefaultVariants, getSlotCompoundVariant(dataViewCompoundVariants, slotName))])\n\nconst dataViewFn = memo((props = {}) => {\n return Object.fromEntries(dataViewSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst dataViewVariantKeys = [\n \"layout\",\n \"columns\"\n]\nconst getVariantProps = (variants) => ({ ...dataViewDefaultVariants, ...compact(variants) })\n\nexport const dataView = /* @__PURE__ */ Object.assign(dataViewFn, {\n __recipe__: false,\n __name__: 'dataView',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: dataViewVariantKeys,\n variantMap: {\n \"layout\": [\n \"table\",\n \"list\",\n \"grid\"\n ],\n \"columns\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, dataViewVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,0BAA0B;CAC9B,WAAW;CACX,UAAU;AACZ;AACA,MAAM,2BAA2B,CAAC;AAwClC,MAAM,kBAAkC;CArCtC,CACE,QACA,iBACF;CACA,CACE,WACA,oBACF;CACA,CACE,WACA,oBACF;CACA,CACE,WACA,oBACF;CACA,CACE,UACA,mBACF;CACA,CACE,cACA,uBACF;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,CAC1B,UACA,SACF;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,UAAU;GACR;GACA;GACA;EACF;EACA,WAAW;GACT;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,mBAAmB;CAC9C;CACA;AACF,CAAC"}
@@ -2,6 +2,7 @@ const require_helpers = require("../helpers.cjs");
2
2
  const require_create_recipe = require("./create-recipe.cjs");
3
3
  //#region src/styled-system/recipes/list.js
4
4
  const listDefaultVariants = {
5
+ "density": "comfortable",
5
6
  "gap": "md",
6
7
  "variant": "plain"
7
8
  };
@@ -17,7 +18,11 @@ const listSlotFns = /* @__PURE__ */ [
17
18
  const listFn = require_helpers.memo((props = {}) => {
18
19
  return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
19
20
  });
20
- const listVariantKeys = ["variant", "gap"];
21
+ const listVariantKeys = [
22
+ "density",
23
+ "variant",
24
+ "gap"
25
+ ];
21
26
  const getVariantProps = (variants) => ({
22
27
  ...listDefaultVariants,
23
28
  ...require_helpers.compact(variants)
@@ -29,6 +34,7 @@ const list = /* @__PURE__ */ Object.assign(listFn, {
29
34
  classNameMap: {},
30
35
  variantKeys: listVariantKeys,
31
36
  variantMap: {
37
+ "density": ["compact", "comfortable"],
32
38
  "variant": [
33
39
  "plain",
34
40
  "divided",
@@ -1 +1 @@
1
- {"version":3,"file":"list.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/list.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst listDefaultVariants = {\n \"gap\": \"md\",\n \"variant\": \"plain\"\n}\nconst listCompoundVariants = []\n\nconst listSlotNames = [\n [\n \"root\",\n \"list__root\"\n ],\n [\n \"item\",\n \"list__item\"\n ],\n [\n \"content\",\n \"list__content\"\n ],\n [\n \"title\",\n \"list__title\"\n ],\n [\n \"description\",\n \"list__description\"\n ],\n [\n \"action\",\n \"list__action\"\n ]\n]\nconst listSlotFns = /* @__PURE__ */ listSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listDefaultVariants, getSlotCompoundVariant(listCompoundVariants, slotName))])\n\nconst listFn = memo((props = {}) => {\n return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst listVariantKeys = [\n \"variant\",\n \"gap\"\n]\nconst getVariantProps = (variants) => ({ ...listDefaultVariants, ...compact(variants) })\n\nexport const list = /* @__PURE__ */ Object.assign(listFn, {\n __recipe__: false,\n __name__: 'list',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: listVariantKeys,\n variantMap: {\n \"variant\": [\n \"plain\",\n \"divided\",\n \"card\"\n ],\n \"gap\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, listVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,OAAO;CACP,WAAW;AACb;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,WACA,eACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,UACA,cACF;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,WACA,KACF;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,WAAW;GACT;GACA;GACA;EACF;EACA,OAAO;GACL;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"list.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/list.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst listDefaultVariants = {\n \"density\": \"comfortable\",\n \"gap\": \"md\",\n \"variant\": \"plain\"\n}\nconst listCompoundVariants = []\n\nconst listSlotNames = [\n [\n \"root\",\n \"list__root\"\n ],\n [\n \"item\",\n \"list__item\"\n ],\n [\n \"content\",\n \"list__content\"\n ],\n [\n \"title\",\n \"list__title\"\n ],\n [\n \"description\",\n \"list__description\"\n ],\n [\n \"action\",\n \"list__action\"\n ]\n]\nconst listSlotFns = /* @__PURE__ */ listSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listDefaultVariants, getSlotCompoundVariant(listCompoundVariants, slotName))])\n\nconst listFn = memo((props = {}) => {\n return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst listVariantKeys = [\n \"density\",\n \"variant\",\n \"gap\"\n]\nconst getVariantProps = (variants) => ({ ...listDefaultVariants, ...compact(variants) })\n\nexport const list = /* @__PURE__ */ Object.assign(listFn, {\n __recipe__: false,\n __name__: 'list',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: listVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"variant\": [\n \"plain\",\n \"divided\",\n \"card\"\n ],\n \"gap\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, listVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,WAAW;CACX,OAAO;CACP,WAAW;AACb;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,WACA,eACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,UACA,cACF;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,WAAW,CACT,WACA,aACF;EACA,WAAW;GACT;GACA;GACA;EACF;EACA,OAAO;GACL;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}
@@ -2,6 +2,7 @@ import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js
2
2
  import { createRecipe } from "./create-recipe.js";
3
3
  //#region src/styled-system/recipes/list.js
4
4
  const listDefaultVariants = {
5
+ "density": "comfortable",
5
6
  "gap": "md",
6
7
  "variant": "plain"
7
8
  };
@@ -17,7 +18,11 @@ const listSlotFns = /* @__PURE__ */ [
17
18
  const listFn = memo((props = {}) => {
18
19
  return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
19
20
  });
20
- const listVariantKeys = ["variant", "gap"];
21
+ const listVariantKeys = [
22
+ "density",
23
+ "variant",
24
+ "gap"
25
+ ];
21
26
  const getVariantProps = (variants) => ({
22
27
  ...listDefaultVariants,
23
28
  ...compact(variants)
@@ -29,6 +34,7 @@ const list = /* @__PURE__ */ Object.assign(listFn, {
29
34
  classNameMap: {},
30
35
  variantKeys: listVariantKeys,
31
36
  variantMap: {
37
+ "density": ["compact", "comfortable"],
32
38
  "variant": [
33
39
  "plain",
34
40
  "divided",
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","names":[],"sources":["../../../src/styled-system/recipes/list.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst listDefaultVariants = {\n \"gap\": \"md\",\n \"variant\": \"plain\"\n}\nconst listCompoundVariants = []\n\nconst listSlotNames = [\n [\n \"root\",\n \"list__root\"\n ],\n [\n \"item\",\n \"list__item\"\n ],\n [\n \"content\",\n \"list__content\"\n ],\n [\n \"title\",\n \"list__title\"\n ],\n [\n \"description\",\n \"list__description\"\n ],\n [\n \"action\",\n \"list__action\"\n ]\n]\nconst listSlotFns = /* @__PURE__ */ listSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listDefaultVariants, getSlotCompoundVariant(listCompoundVariants, slotName))])\n\nconst listFn = memo((props = {}) => {\n return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst listVariantKeys = [\n \"variant\",\n \"gap\"\n]\nconst getVariantProps = (variants) => ({ ...listDefaultVariants, ...compact(variants) })\n\nexport const list = /* @__PURE__ */ Object.assign(listFn, {\n __recipe__: false,\n __name__: 'list',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: listVariantKeys,\n variantMap: {\n \"variant\": [\n \"plain\",\n \"divided\",\n \"card\"\n ],\n \"gap\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, listVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,OAAO;CACP,WAAW;AACb;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,WACA,eACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,UACA,cACF;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,WACA,KACF;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,WAAW;GACT;GACA;GACA;EACF;EACA,OAAO;GACL;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"list.js","names":[],"sources":["../../../src/styled-system/recipes/list.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst listDefaultVariants = {\n \"density\": \"comfortable\",\n \"gap\": \"md\",\n \"variant\": \"plain\"\n}\nconst listCompoundVariants = []\n\nconst listSlotNames = [\n [\n \"root\",\n \"list__root\"\n ],\n [\n \"item\",\n \"list__item\"\n ],\n [\n \"content\",\n \"list__content\"\n ],\n [\n \"title\",\n \"list__title\"\n ],\n [\n \"description\",\n \"list__description\"\n ],\n [\n \"action\",\n \"list__action\"\n ]\n]\nconst listSlotFns = /* @__PURE__ */ listSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listDefaultVariants, getSlotCompoundVariant(listCompoundVariants, slotName))])\n\nconst listFn = memo((props = {}) => {\n return Object.fromEntries(listSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst listVariantKeys = [\n \"density\",\n \"variant\",\n \"gap\"\n]\nconst getVariantProps = (variants) => ({ ...listDefaultVariants, ...compact(variants) })\n\nexport const list = /* @__PURE__ */ Object.assign(listFn, {\n __recipe__: false,\n __name__: 'list',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: listVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"variant\": [\n \"plain\",\n \"divided\",\n \"card\"\n ],\n \"gap\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, listVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,sBAAsB;CAC1B,WAAW;CACX,OAAO;CACP,WAAW;AACb;AACA,MAAM,uBAAuB,CAAC;AA4B9B,MAAM,cAA8B;CAzBlC,CACE,QACA,YACF;CACA,CACE,QACA,YACF;CACA,CACE,WACA,eACF;CACA,CACE,SACA,aACF;CACA,CACE,eACA,mBACF;CACA,CACE,UACA,cACF;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,WAAW,CACT,WACA,aACF;EACA,WAAW;GACT;GACA;GACA;EACF;EACA,OAAO;GACL;GACA;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,eAAe;CAC1C;CACA;AACF,CAAC"}
@@ -3,6 +3,7 @@ const require_create_recipe = require("./create-recipe.cjs");
3
3
  //#region src/styled-system/recipes/pagination.js
4
4
  const paginationDefaultVariants = {
5
5
  "active": false,
6
+ "density": "comfortable",
6
7
  "disabled": false
7
8
  };
8
9
  const paginationCompoundVariants = [];
@@ -11,14 +12,20 @@ const paginationSlotFns = /* @__PURE__ */ [
11
12
  ["list", "pagination__list"],
12
13
  ["item", "pagination__item"],
13
14
  ["link", "pagination__link"],
15
+ ["first", "pagination__first"],
14
16
  ["previous", "pagination__previous"],
15
17
  ["next", "pagination__next"],
18
+ ["last", "pagination__last"],
16
19
  ["ellipsis", "pagination__ellipsis"]
17
20
  ].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, paginationDefaultVariants, require_helpers.getSlotCompoundVariant(paginationCompoundVariants, slotName))]);
18
21
  const paginationFn = require_helpers.memo((props = {}) => {
19
22
  return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
20
23
  });
21
- const paginationVariantKeys = ["active", "disabled"];
24
+ const paginationVariantKeys = [
25
+ "density",
26
+ "active",
27
+ "disabled"
28
+ ];
22
29
  const getVariantProps = (variants) => ({
23
30
  ...paginationDefaultVariants,
24
31
  ...require_helpers.compact(variants)
@@ -30,6 +37,7 @@ const pagination = /* @__PURE__ */ Object.assign(paginationFn, {
30
37
  classNameMap: {},
31
38
  variantKeys: paginationVariantKeys,
32
39
  variantMap: {
40
+ "density": ["compact", "comfortable"],
33
41
  "active": ["true", "false"],
34
42
  "disabled": ["true", "false"]
35
43
  },
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/pagination.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst paginationDefaultVariants = {\n \"active\": false,\n \"disabled\": false\n}\nconst paginationCompoundVariants = []\n\nconst paginationSlotNames = [\n [\n \"root\",\n \"pagination__root\"\n ],\n [\n \"list\",\n \"pagination__list\"\n ],\n [\n \"item\",\n \"pagination__item\"\n ],\n [\n \"link\",\n \"pagination__link\"\n ],\n [\n \"previous\",\n \"pagination__previous\"\n ],\n [\n \"next\",\n \"pagination__next\"\n ],\n [\n \"ellipsis\",\n \"pagination__ellipsis\"\n ]\n]\nconst paginationSlotFns = /* @__PURE__ */ paginationSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, paginationDefaultVariants, getSlotCompoundVariant(paginationCompoundVariants, slotName))])\n\nconst paginationFn = memo((props = {}) => {\n return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst paginationVariantKeys = [\n \"active\",\n \"disabled\"\n]\nconst getVariantProps = (variants) => ({ ...paginationDefaultVariants, ...compact(variants) })\n\nexport const pagination = /* @__PURE__ */ Object.assign(paginationFn, {\n __recipe__: false,\n __name__: 'pagination',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: paginationVariantKeys,\n variantMap: {\n \"active\": [\n \"true\",\n \"false\"\n ],\n \"disabled\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, paginationVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,4BAA4B;CAChC,UAAU;CACV,YAAY;AACd;AACA,MAAM,6BAA6B,CAAC;AAgCpC,MAAM,oBAAoC;CA7BxC,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;AAE0D,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,2BAA2BC,gBAAAA,uBAAuB,4BAA4B,QAAQ,CAAC,CAAC,CAAC;AAErN,MAAM,eAAeC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CACxC,OAAO,OAAO,YAAY,kBAAkB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC7G,CAAC;AAED,MAAM,wBAAwB,CAC5B,UACA,UACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAA2B,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAE5F,MAAa,aAA6B,uBAAO,OAAO,cAAc;CACpE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,UAAU,CACR,QACA,OACF;EACA,YAAY,CACV,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,qBAAqB;CAChD;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"pagination.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/pagination.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst paginationDefaultVariants = {\n \"active\": false,\n \"density\": \"comfortable\",\n \"disabled\": false\n}\nconst paginationCompoundVariants = []\n\nconst paginationSlotNames = [\n [\n \"root\",\n \"pagination__root\"\n ],\n [\n \"list\",\n \"pagination__list\"\n ],\n [\n \"item\",\n \"pagination__item\"\n ],\n [\n \"link\",\n \"pagination__link\"\n ],\n [\n \"first\",\n \"pagination__first\"\n ],\n [\n \"previous\",\n \"pagination__previous\"\n ],\n [\n \"next\",\n \"pagination__next\"\n ],\n [\n \"last\",\n \"pagination__last\"\n ],\n [\n \"ellipsis\",\n \"pagination__ellipsis\"\n ]\n]\nconst paginationSlotFns = /* @__PURE__ */ paginationSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, paginationDefaultVariants, getSlotCompoundVariant(paginationCompoundVariants, slotName))])\n\nconst paginationFn = memo((props = {}) => {\n return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst paginationVariantKeys = [\n \"density\",\n \"active\",\n \"disabled\"\n]\nconst getVariantProps = (variants) => ({ ...paginationDefaultVariants, ...compact(variants) })\n\nexport const pagination = /* @__PURE__ */ Object.assign(paginationFn, {\n __recipe__: false,\n __name__: 'pagination',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: paginationVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"active\": [\n \"true\",\n \"false\"\n ],\n \"disabled\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, paginationVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,4BAA4B;CAChC,UAAU;CACV,WAAW;CACX,YAAY;AACd;AACA,MAAM,6BAA6B,CAAC;AAwCpC,MAAM,oBAAoC;CArCxC,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,SACA,mBACF;CACA,CACE,YACA,sBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;AAE0D,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,2BAA2BC,gBAAAA,uBAAuB,4BAA4B,QAAQ,CAAC,CAAC,CAAC;AAErN,MAAM,eAAeC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CACxC,OAAO,OAAO,YAAY,kBAAkB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC7G,CAAC;AAED,MAAM,wBAAwB;CAC5B;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAA2B,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAE5F,MAAa,aAA6B,uBAAO,OAAO,cAAc;CACpE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,WAAW,CACT,WACA,aACF;EACA,UAAU,CACR,QACA,OACF;EACA,YAAY,CACV,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,qBAAqB;CAChD;CACA;AACF,CAAC"}
@@ -3,6 +3,7 @@ import { createRecipe } from "./create-recipe.js";
3
3
  //#region src/styled-system/recipes/pagination.js
4
4
  const paginationDefaultVariants = {
5
5
  "active": false,
6
+ "density": "comfortable",
6
7
  "disabled": false
7
8
  };
8
9
  const paginationCompoundVariants = [];
@@ -11,14 +12,20 @@ const paginationSlotFns = /* @__PURE__ */ [
11
12
  ["list", "pagination__list"],
12
13
  ["item", "pagination__item"],
13
14
  ["link", "pagination__link"],
15
+ ["first", "pagination__first"],
14
16
  ["previous", "pagination__previous"],
15
17
  ["next", "pagination__next"],
18
+ ["last", "pagination__last"],
16
19
  ["ellipsis", "pagination__ellipsis"]
17
20
  ].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, paginationDefaultVariants, getSlotCompoundVariant(paginationCompoundVariants, slotName))]);
18
21
  const paginationFn = memo((props = {}) => {
19
22
  return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
20
23
  });
21
- const paginationVariantKeys = ["active", "disabled"];
24
+ const paginationVariantKeys = [
25
+ "density",
26
+ "active",
27
+ "disabled"
28
+ ];
22
29
  const getVariantProps = (variants) => ({
23
30
  ...paginationDefaultVariants,
24
31
  ...compact(variants)
@@ -30,6 +37,7 @@ const pagination = /* @__PURE__ */ Object.assign(paginationFn, {
30
37
  classNameMap: {},
31
38
  variantKeys: paginationVariantKeys,
32
39
  variantMap: {
40
+ "density": ["compact", "comfortable"],
33
41
  "active": ["true", "false"],
34
42
  "disabled": ["true", "false"]
35
43
  },
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","names":[],"sources":["../../../src/styled-system/recipes/pagination.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst paginationDefaultVariants = {\n \"active\": false,\n \"disabled\": false\n}\nconst paginationCompoundVariants = []\n\nconst paginationSlotNames = [\n [\n \"root\",\n \"pagination__root\"\n ],\n [\n \"list\",\n \"pagination__list\"\n ],\n [\n \"item\",\n \"pagination__item\"\n ],\n [\n \"link\",\n \"pagination__link\"\n ],\n [\n \"previous\",\n \"pagination__previous\"\n ],\n [\n \"next\",\n \"pagination__next\"\n ],\n [\n \"ellipsis\",\n \"pagination__ellipsis\"\n ]\n]\nconst paginationSlotFns = /* @__PURE__ */ paginationSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, paginationDefaultVariants, getSlotCompoundVariant(paginationCompoundVariants, slotName))])\n\nconst paginationFn = memo((props = {}) => {\n return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst paginationVariantKeys = [\n \"active\",\n \"disabled\"\n]\nconst getVariantProps = (variants) => ({ ...paginationDefaultVariants, ...compact(variants) })\n\nexport const pagination = /* @__PURE__ */ Object.assign(paginationFn, {\n __recipe__: false,\n __name__: 'pagination',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: paginationVariantKeys,\n variantMap: {\n \"active\": [\n \"true\",\n \"false\"\n ],\n \"disabled\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, paginationVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,4BAA4B;CAChC,UAAU;CACV,YAAY;AACd;AACA,MAAM,6BAA6B,CAAC;AAgCpC,MAAM,oBAAoC;CA7BxC,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;AAE0D,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,2BAA2B,uBAAuB,4BAA4B,QAAQ,CAAC,CAAC,CAAC;AAErN,MAAM,eAAe,MAAM,QAAQ,CAAC,MAAM;CACxC,OAAO,OAAO,YAAY,kBAAkB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC7G,CAAC;AAED,MAAM,wBAAwB,CAC5B,UACA,UACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAA2B,GAAG,QAAQ,QAAQ;AAAE;AAE5F,MAAa,aAA6B,uBAAO,OAAO,cAAc;CACpE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,UAAU,CACR,QACA,OACF;EACA,YAAY,CACV,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,qBAAqB;CAChD;CACA;AACF,CAAC"}
1
+ {"version":3,"file":"pagination.js","names":[],"sources":["../../../src/styled-system/recipes/pagination.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst paginationDefaultVariants = {\n \"active\": false,\n \"density\": \"comfortable\",\n \"disabled\": false\n}\nconst paginationCompoundVariants = []\n\nconst paginationSlotNames = [\n [\n \"root\",\n \"pagination__root\"\n ],\n [\n \"list\",\n \"pagination__list\"\n ],\n [\n \"item\",\n \"pagination__item\"\n ],\n [\n \"link\",\n \"pagination__link\"\n ],\n [\n \"first\",\n \"pagination__first\"\n ],\n [\n \"previous\",\n \"pagination__previous\"\n ],\n [\n \"next\",\n \"pagination__next\"\n ],\n [\n \"last\",\n \"pagination__last\"\n ],\n [\n \"ellipsis\",\n \"pagination__ellipsis\"\n ]\n]\nconst paginationSlotFns = /* @__PURE__ */ paginationSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, paginationDefaultVariants, getSlotCompoundVariant(paginationCompoundVariants, slotName))])\n\nconst paginationFn = memo((props = {}) => {\n return Object.fromEntries(paginationSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst paginationVariantKeys = [\n \"density\",\n \"active\",\n \"disabled\"\n]\nconst getVariantProps = (variants) => ({ ...paginationDefaultVariants, ...compact(variants) })\n\nexport const pagination = /* @__PURE__ */ Object.assign(paginationFn, {\n __recipe__: false,\n __name__: 'pagination',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: paginationVariantKeys,\n variantMap: {\n \"density\": [\n \"compact\",\n \"comfortable\"\n ],\n \"active\": [\n \"true\",\n \"false\"\n ],\n \"disabled\": [\n \"true\",\n \"false\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, paginationVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,4BAA4B;CAChC,UAAU;CACV,WAAW;CACX,YAAY;AACd;AACA,MAAM,6BAA6B,CAAC;AAwCpC,MAAM,oBAAoC;CArCxC,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,SACA,mBACF;CACA,CACE,YACA,sBACF;CACA,CACE,QACA,kBACF;CACA,CACE,QACA,kBACF;CACA,CACE,YACA,sBACF;AAE0D,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,2BAA2B,uBAAuB,4BAA4B,QAAQ,CAAC,CAAC,CAAC;AAErN,MAAM,eAAe,MAAM,QAAQ,CAAC,MAAM;CACxC,OAAO,OAAO,YAAY,kBAAkB,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AAC7G,CAAC;AAED,MAAM,wBAAwB;CAC5B;CACA;CACA;AACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAA2B,GAAG,QAAQ,QAAQ;AAAE;AAE5F,MAAa,aAA6B,uBAAO,OAAO,cAAc;CACpE,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,WAAW,CACT,WACA,aACF;EACA,UAAU,CACR,QACA,OACF;EACA,YAAY,CACV,QACA,OACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,qBAAqB;CAChD;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"}