jaci-ui 0.7.0 → 0.9.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.
- package/CHANGELOG.md +12 -0
- package/README.md +75 -0
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/components/alert-dialog/alert-dialog.cjs +4 -1
- package/dist/components/alert-dialog/alert-dialog.cjs.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.cts +2 -2
- package/dist/components/alert-dialog/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog.js +4 -1
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/carousel/carousel.cjs +342 -0
- package/dist/components/carousel/carousel.cjs.map +1 -0
- package/dist/components/carousel/carousel.d.cts +44 -0
- package/dist/components/carousel/carousel.d.ts +44 -0
- package/dist/components/carousel/carousel.js +330 -0
- package/dist/components/carousel/carousel.js.map +1 -0
- package/dist/components/carousel/index.d.cts +2 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/code/code.cjs +32 -5
- package/dist/components/code/code.cjs.map +1 -1
- package/dist/components/code/code.d.cts +1 -0
- package/dist/components/code/code.d.ts +1 -0
- package/dist/components/code/code.js +34 -7
- package/dist/components/code/code.js.map +1 -1
- package/dist/components/color-picker/color-picker.cjs +4 -1
- package/dist/components/color-picker/color-picker.cjs.map +1 -1
- package/dist/components/color-picker/color-picker.d.cts +2 -2
- package/dist/components/color-picker/color-picker.d.ts +2 -2
- package/dist/components/color-picker/color-picker.js +4 -1
- package/dist/components/color-picker/color-picker.js.map +1 -1
- package/dist/components/color-swatch/color-swatch.cjs +33 -0
- package/dist/components/color-swatch/color-swatch.cjs.map +1 -0
- package/dist/components/color-swatch/color-swatch.d.cts +13 -0
- package/dist/components/color-swatch/color-swatch.d.ts +13 -0
- package/dist/components/color-swatch/color-swatch.js +33 -0
- package/dist/components/color-swatch/color-swatch.js.map +1 -0
- package/dist/components/color-swatch/index.d.cts +2 -0
- package/dist/components/color-swatch/index.d.ts +2 -0
- package/dist/components/combobox/combobox.cjs +4 -1
- package/dist/components/combobox/combobox.cjs.map +1 -1
- package/dist/components/combobox/combobox.d.cts +2 -2
- package/dist/components/combobox/combobox.d.ts +2 -2
- package/dist/components/combobox/combobox.js +4 -1
- package/dist/components/combobox/combobox.js.map +1 -1
- package/dist/components/command/command.cjs +76 -13
- package/dist/components/command/command.cjs.map +1 -1
- package/dist/components/command/command.d.cts +7 -1
- package/dist/components/command/command.d.ts +7 -1
- package/dist/components/command/command.js +76 -13
- package/dist/components/command/command.js.map +1 -1
- package/dist/components/command/index.d.cts +2 -2
- package/dist/components/command/index.d.ts +2 -2
- package/dist/components/context-menu/context-menu.cjs +4 -1
- package/dist/components/context-menu/context-menu.cjs.map +1 -1
- package/dist/components/context-menu/context-menu.d.cts +2 -2
- package/dist/components/context-menu/context-menu.d.ts +2 -2
- package/dist/components/context-menu/context-menu.js +4 -1
- package/dist/components/context-menu/context-menu.js.map +1 -1
- package/dist/components/date-picker/date-picker.cjs +4 -1
- package/dist/components/date-picker/date-picker.cjs.map +1 -1
- package/dist/components/date-picker/date-picker.d.cts +2 -2
- package/dist/components/date-picker/date-picker.d.ts +2 -2
- package/dist/components/date-picker/date-picker.js +4 -1
- package/dist/components/date-picker/date-picker.js.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.cjs +4 -1
- package/dist/components/date-range-picker/date-range-picker.cjs.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.cts +2 -2
- package/dist/components/date-range-picker/date-range-picker.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker.js +4 -1
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
- package/dist/components/dialog/dialog.cjs +4 -1
- package/dist/components/dialog/dialog.cjs.map +1 -1
- package/dist/components/dialog/dialog.d.cts +2 -2
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/dialog.js +4 -1
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/download-trigger/download-trigger.cjs +25 -0
- package/dist/components/download-trigger/download-trigger.cjs.map +1 -0
- package/dist/components/download-trigger/download-trigger.d.cts +12 -0
- package/dist/components/download-trigger/download-trigger.d.ts +12 -0
- package/dist/components/download-trigger/download-trigger.js +25 -0
- package/dist/components/download-trigger/download-trigger.js.map +1 -0
- package/dist/components/download-trigger/index.d.cts +2 -0
- package/dist/components/download-trigger/index.d.ts +2 -0
- package/dist/components/drawer/drawer.cjs +4 -1
- package/dist/components/drawer/drawer.cjs.map +1 -1
- package/dist/components/drawer/drawer.d.cts +2 -2
- package/dist/components/drawer/drawer.d.ts +2 -2
- package/dist/components/drawer/drawer.js +4 -1
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/figure/figure.cjs +45 -36
- package/dist/components/figure/figure.cjs.map +1 -1
- package/dist/components/figure/figure.js +45 -36
- package/dist/components/figure/figure.js.map +1 -1
- package/dist/components/image/image.cjs +41 -32
- package/dist/components/image/image.cjs.map +1 -1
- package/dist/components/image/image.js +41 -32
- package/dist/components/image/image.js.map +1 -1
- package/dist/components/menu/menu.cjs +4 -1
- package/dist/components/menu/menu.cjs.map +1 -1
- package/dist/components/menu/menu.d.cts +2 -2
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/menu/menu.js +4 -1
- package/dist/components/menu/menu.js.map +1 -1
- package/dist/components/menubar/menubar.cjs +4 -1
- package/dist/components/menubar/menubar.cjs.map +1 -1
- package/dist/components/menubar/menubar.d.cts +2 -2
- package/dist/components/menubar/menubar.d.ts +2 -2
- package/dist/components/menubar/menubar.js +4 -1
- package/dist/components/menubar/menubar.js.map +1 -1
- package/dist/components/navigation/navigation.cjs +3 -1
- package/dist/components/navigation/navigation.cjs.map +1 -1
- package/dist/components/navigation/navigation.js +3 -1
- package/dist/components/navigation/navigation.js.map +1 -1
- package/dist/components/navigation-menu/navigation-menu.cjs +4 -1
- package/dist/components/navigation-menu/navigation-menu.cjs.map +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.cts +2 -2
- package/dist/components/navigation-menu/navigation-menu.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu.js +4 -1
- package/dist/components/navigation-menu/navigation-menu.js.map +1 -1
- package/dist/components/popover/popover.cjs +4 -1
- package/dist/components/popover/popover.cjs.map +1 -1
- package/dist/components/popover/popover.d.cts +2 -2
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/popover/popover.js +4 -1
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/qr-code/index.d.cts +2 -0
- package/dist/components/qr-code/index.d.ts +2 -0
- package/dist/components/qr-code/qr-code.cjs +118 -0
- package/dist/components/qr-code/qr-code.cjs.map +1 -0
- package/dist/components/qr-code/qr-code.d.cts +17 -0
- package/dist/components/qr-code/qr-code.d.ts +17 -0
- package/dist/components/qr-code/qr-code.js +116 -0
- package/dist/components/qr-code/qr-code.js.map +1 -0
- package/dist/components/select/select.cjs +4 -1
- package/dist/components/select/select.cjs.map +1 -1
- package/dist/components/select/select.d.cts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/select/select.js +4 -1
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/sidebar/sidebar.cjs +24 -17
- package/dist/components/sidebar/sidebar.cjs.map +1 -1
- package/dist/components/sidebar/sidebar.d.cts +4 -2
- package/dist/components/sidebar/sidebar.d.ts +4 -2
- package/dist/components/sidebar/sidebar.js +24 -17
- package/dist/components/sidebar/sidebar.js.map +1 -1
- package/dist/components/spacer/index.d.cts +2 -0
- package/dist/components/spacer/index.d.ts +2 -0
- package/dist/components/spacer/spacer.cjs +24 -0
- package/dist/components/spacer/spacer.cjs.map +1 -0
- package/dist/components/spacer/spacer.d.cts +10 -0
- package/dist/components/spacer/spacer.d.ts +10 -0
- package/dist/components/spacer/spacer.js +24 -0
- package/dist/components/spacer/spacer.js.map +1 -0
- package/dist/components/toast/toast.cjs +4 -1
- package/dist/components/toast/toast.cjs.map +1 -1
- package/dist/components/toast/toast.d.cts +1 -1
- package/dist/components/toast/toast.d.ts +1 -1
- package/dist/components/toast/toast.js +4 -1
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/tooltip/tooltip.cjs +4 -1
- package/dist/components/tooltip/tooltip.cjs.map +1 -1
- package/dist/components/tooltip/tooltip.d.cts +2 -2
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/components/tooltip/tooltip.js +4 -1
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -0
- package/dist/styled-system/recipes/carousel.cjs +48 -0
- package/dist/styled-system/recipes/carousel.cjs.map +1 -0
- package/dist/styled-system/recipes/carousel.js +48 -0
- package/dist/styled-system/recipes/carousel.js.map +1 -0
- package/dist/styled-system/recipes/code.cjs +4 -2
- package/dist/styled-system/recipes/code.cjs.map +1 -1
- package/dist/styled-system/recipes/code.js +4 -2
- package/dist/styled-system/recipes/code.js.map +1 -1
- package/dist/styled-system/recipes/color-swatch.cjs +37 -0
- package/dist/styled-system/recipes/color-swatch.cjs.map +1 -0
- package/dist/styled-system/recipes/color-swatch.js +37 -0
- package/dist/styled-system/recipes/color-swatch.js.map +1 -0
- package/dist/styled-system/recipes/command.cjs +3 -3
- package/dist/styled-system/recipes/command.cjs.map +1 -1
- package/dist/styled-system/recipes/command.js +3 -3
- package/dist/styled-system/recipes/command.js.map +1 -1
- package/dist/styled-system/recipes/download-trigger.cjs +39 -0
- package/dist/styled-system/recipes/download-trigger.cjs.map +1 -0
- package/dist/styled-system/recipes/download-trigger.js +39 -0
- package/dist/styled-system/recipes/download-trigger.js.map +1 -0
- package/dist/styled-system/recipes/figure.cjs +1 -0
- package/dist/styled-system/recipes/figure.cjs.map +1 -1
- package/dist/styled-system/recipes/figure.js +1 -0
- package/dist/styled-system/recipes/figure.js.map +1 -1
- package/dist/styled-system/recipes/image.cjs +1 -0
- package/dist/styled-system/recipes/image.cjs.map +1 -1
- package/dist/styled-system/recipes/image.js +1 -0
- package/dist/styled-system/recipes/image.js.map +1 -1
- package/dist/styled-system/recipes/layout-spacer.cjs +88 -0
- package/dist/styled-system/recipes/layout-spacer.cjs.map +1 -0
- package/dist/styled-system/recipes/layout-spacer.js +88 -0
- package/dist/styled-system/recipes/layout-spacer.js.map +1 -0
- package/dist/styled-system/recipes/qr-code.cjs +25 -0
- package/dist/styled-system/recipes/qr-code.cjs.map +1 -0
- package/dist/styled-system/recipes/qr-code.js +25 -0
- package/dist/styled-system/recipes/qr-code.js.map +1 -0
- package/dist/styles.css +662 -106
- package/dist/theme/theme-provider.cjs +46 -8
- package/dist/theme/theme-provider.cjs.map +1 -1
- package/dist/theme/theme-provider.js +46 -8
- package/dist/theme/theme-provider.js.map +1 -1
- package/dist/theme/theme-scope.cjs +21 -0
- package/dist/theme/theme-scope.cjs.map +1 -0
- package/dist/theme/theme-scope.js +19 -0
- package/dist/theme/theme-scope.js.map +1 -0
- package/package.json +10 -5
|
@@ -4,12 +4,14 @@ import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
|
4
4
|
const codeFn = /* @__PURE__ */ createRecipe("code", {
|
|
5
5
|
"variant": "inline",
|
|
6
6
|
"wrap": false,
|
|
7
|
-
"truncate": false
|
|
7
|
+
"truncate": false,
|
|
8
|
+
"lineNumbers": false
|
|
8
9
|
}, []);
|
|
9
10
|
const codeVariantMap = {
|
|
10
11
|
"variant": ["inline", "block"],
|
|
11
12
|
"wrap": ["true", "false"],
|
|
12
|
-
"truncate": ["true", "false"]
|
|
13
|
+
"truncate": ["true", "false"],
|
|
14
|
+
"lineNumbers": ["true", "false"]
|
|
13
15
|
};
|
|
14
16
|
const codeVariantKeys = Object.keys(codeVariantMap);
|
|
15
17
|
const code = /* @__PURE__ */ Object.assign(memo(codeFn.recipeFn), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code.js","names":[],"sources":["../../../src/styled-system/recipes/code.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst codeFn = /* @__PURE__ */ createRecipe('code', {\n \"variant\": \"inline\",\n \"wrap\": false,\n \"truncate\": false\n}, [])\n\nconst codeVariantMap = {\n \"variant\": [\n \"inline\",\n \"block\"\n ],\n \"wrap\": [\n \"true\",\n \"false\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ]\n}\n\nconst codeVariantKeys = Object.keys(codeVariantMap)\n\nexport const code = /* @__PURE__ */ Object.assign(memo(codeFn.recipeFn), {\n __recipe__: true,\n __name__: 'code',\n __getCompoundVariantCss__: codeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: codeVariantKeys,\n variantMap: codeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, codeVariantKeys)\n },\n getVariantProps: codeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,SAAyB,6BAAa,QAAQ;CAClD,WAAW;CACX,QAAQ;CACR,YAAY;
|
|
1
|
+
{"version":3,"file":"code.js","names":[],"sources":["../../../src/styled-system/recipes/code.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst codeFn = /* @__PURE__ */ createRecipe('code', {\n \"variant\": \"inline\",\n \"wrap\": false,\n \"truncate\": false,\n \"lineNumbers\": false\n}, [])\n\nconst codeVariantMap = {\n \"variant\": [\n \"inline\",\n \"block\"\n ],\n \"wrap\": [\n \"true\",\n \"false\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ],\n \"lineNumbers\": [\n \"true\",\n \"false\"\n ]\n}\n\nconst codeVariantKeys = Object.keys(codeVariantMap)\n\nexport const code = /* @__PURE__ */ Object.assign(memo(codeFn.recipeFn), {\n __recipe__: true,\n __name__: 'code',\n __getCompoundVariantCss__: codeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: codeVariantKeys,\n variantMap: codeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, codeVariantKeys)\n },\n getVariantProps: codeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,SAAyB,6BAAa,QAAQ;CAClD,WAAW;CACX,QAAQ;CACR,YAAY;CACZ,eAAe;AACjB,GAAG,CAAC,CAAC;AAEL,MAAM,iBAAiB;CACrB,WAAW,CACT,UACA,OACF;CACA,QAAQ,CACN,QACA,OACF;CACA,YAAY,CACV,QACA,OACF;CACA,eAAe,CACb,QACA,OACF;AACF;AAEA,MAAM,kBAAkB,OAAO,KAAK,cAAc;AAElD,MAAa,OAAuB,uBAAO,OAAO,KAAK,OAAO,QAAQ,GAAG;CACvE,YAAY;CACZ,UAAU;CACV,2BAA2B,OAAO;CAClC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,eAAe;CAC1C;CACA,iBAAiB,OAAO;AAC1B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/color-swatch.js
|
|
4
|
+
const colorSwatchFn = /* @__PURE__ */ require_create_recipe.createRecipe("colorSwatch", {
|
|
5
|
+
"size": "md",
|
|
6
|
+
"shape": "circle",
|
|
7
|
+
"border": true
|
|
8
|
+
}, []);
|
|
9
|
+
const colorSwatchVariantMap = {
|
|
10
|
+
"size": [
|
|
11
|
+
"sm",
|
|
12
|
+
"md",
|
|
13
|
+
"lg"
|
|
14
|
+
],
|
|
15
|
+
"shape": ["circle", "square"],
|
|
16
|
+
"border": ["true", "false"]
|
|
17
|
+
};
|
|
18
|
+
const colorSwatchVariantKeys = Object.keys(colorSwatchVariantMap);
|
|
19
|
+
const colorSwatch = /* @__PURE__ */ Object.assign(require_helpers.memo(colorSwatchFn.recipeFn), {
|
|
20
|
+
__recipe__: true,
|
|
21
|
+
__name__: "colorSwatch",
|
|
22
|
+
__getCompoundVariantCss__: colorSwatchFn.__getCompoundVariantCss__,
|
|
23
|
+
raw: (props) => props,
|
|
24
|
+
variantKeys: colorSwatchVariantKeys,
|
|
25
|
+
variantMap: colorSwatchVariantMap,
|
|
26
|
+
merge(recipe) {
|
|
27
|
+
return require_create_recipe.mergeRecipes(this, recipe);
|
|
28
|
+
},
|
|
29
|
+
splitVariantProps(props) {
|
|
30
|
+
return require_helpers.splitProps(props, colorSwatchVariantKeys);
|
|
31
|
+
},
|
|
32
|
+
getVariantProps: colorSwatchFn.getVariantProps
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.colorSwatch = colorSwatch;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=color-swatch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-swatch.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/color-swatch.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst colorSwatchFn = /* @__PURE__ */ createRecipe('colorSwatch', {\n \"size\": \"md\",\n \"shape\": \"circle\",\n \"border\": true\n}, [])\n\nconst colorSwatchVariantMap = {\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"shape\": [\n \"circle\",\n \"square\"\n ],\n \"border\": [\n \"true\",\n \"false\"\n ]\n}\n\nconst colorSwatchVariantKeys = Object.keys(colorSwatchVariantMap)\n\nexport const colorSwatch = /* @__PURE__ */ Object.assign(memo(colorSwatchFn.recipeFn), {\n __recipe__: true,\n __name__: 'colorSwatch',\n __getCompoundVariantCss__: colorSwatchFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: colorSwatchVariantKeys,\n variantMap: colorSwatchVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, colorSwatchVariantKeys)\n },\n getVariantProps: colorSwatchFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,gBAAgC,sCAAA,aAAa,eAAe;CAChE,QAAQ;CACR,SAAS;CACT,UAAU;AACZ,GAAG,CAAC,CAAC;AAEL,MAAM,wBAAwB;CAC5B,QAAQ;EACN;EACA;EACA;CACF;CACA,SAAS,CACP,UACA,QACF;CACA,UAAU,CACR,QACA,OACF;AACF;AAEA,MAAM,yBAAyB,OAAO,KAAK,qBAAqB;AAEhE,MAAa,cAA8B,uBAAO,OAAOA,gBAAAA,KAAK,cAAc,QAAQ,GAAG;CACrF,YAAY;CACZ,UAAU;CACV,2BAA2B,cAAc;CACzC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,sBAAsB;CACjD;CACA,iBAAiB,cAAc;AACjC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/color-swatch.js
|
|
4
|
+
const colorSwatchFn = /* @__PURE__ */ createRecipe("colorSwatch", {
|
|
5
|
+
"size": "md",
|
|
6
|
+
"shape": "circle",
|
|
7
|
+
"border": true
|
|
8
|
+
}, []);
|
|
9
|
+
const colorSwatchVariantMap = {
|
|
10
|
+
"size": [
|
|
11
|
+
"sm",
|
|
12
|
+
"md",
|
|
13
|
+
"lg"
|
|
14
|
+
],
|
|
15
|
+
"shape": ["circle", "square"],
|
|
16
|
+
"border": ["true", "false"]
|
|
17
|
+
};
|
|
18
|
+
const colorSwatchVariantKeys = Object.keys(colorSwatchVariantMap);
|
|
19
|
+
const colorSwatch = /* @__PURE__ */ Object.assign(memo(colorSwatchFn.recipeFn), {
|
|
20
|
+
__recipe__: true,
|
|
21
|
+
__name__: "colorSwatch",
|
|
22
|
+
__getCompoundVariantCss__: colorSwatchFn.__getCompoundVariantCss__,
|
|
23
|
+
raw: (props) => props,
|
|
24
|
+
variantKeys: colorSwatchVariantKeys,
|
|
25
|
+
variantMap: colorSwatchVariantMap,
|
|
26
|
+
merge(recipe) {
|
|
27
|
+
return mergeRecipes(this, recipe);
|
|
28
|
+
},
|
|
29
|
+
splitVariantProps(props) {
|
|
30
|
+
return splitProps(props, colorSwatchVariantKeys);
|
|
31
|
+
},
|
|
32
|
+
getVariantProps: colorSwatchFn.getVariantProps
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { colorSwatch };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=color-swatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-swatch.js","names":[],"sources":["../../../src/styled-system/recipes/color-swatch.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst colorSwatchFn = /* @__PURE__ */ createRecipe('colorSwatch', {\n \"size\": \"md\",\n \"shape\": \"circle\",\n \"border\": true\n}, [])\n\nconst colorSwatchVariantMap = {\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ],\n \"shape\": [\n \"circle\",\n \"square\"\n ],\n \"border\": [\n \"true\",\n \"false\"\n ]\n}\n\nconst colorSwatchVariantKeys = Object.keys(colorSwatchVariantMap)\n\nexport const colorSwatch = /* @__PURE__ */ Object.assign(memo(colorSwatchFn.recipeFn), {\n __recipe__: true,\n __name__: 'colorSwatch',\n __getCompoundVariantCss__: colorSwatchFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: colorSwatchVariantKeys,\n variantMap: colorSwatchVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, colorSwatchVariantKeys)\n },\n getVariantProps: colorSwatchFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,gBAAgC,6BAAa,eAAe;CAChE,QAAQ;CACR,SAAS;CACT,UAAU;AACZ,GAAG,CAAC,CAAC;AAEL,MAAM,wBAAwB;CAC5B,QAAQ;EACN;EACA;EACA;CACF;CACA,SAAS,CACP,UACA,QACF;CACA,UAAU,CACR,QACA,OACF;AACF;AAEA,MAAM,yBAAyB,OAAO,KAAK,qBAAqB;AAEhE,MAAa,cAA8B,uBAAO,OAAO,KAAK,cAAc,QAAQ,GAAG;CACrF,YAAY;CACZ,UAAU;CACV,2BAA2B,cAAc;CACzC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,sBAAsB;CACjD;CACA,iBAAiB,cAAc;AACjC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_helpers = require("../helpers.cjs");
|
|
2
2
|
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
3
|
//#region src/styled-system/recipes/command.js
|
|
4
|
-
const commandDefaultVariants = {};
|
|
4
|
+
const commandDefaultVariants = { "mode": "default" };
|
|
5
5
|
const commandCompoundVariants = [];
|
|
6
6
|
const commandSlotFns = /* @__PURE__ */ [
|
|
7
7
|
["root", "command__root"],
|
|
@@ -18,7 +18,7 @@ const commandSlotFns = /* @__PURE__ */ [
|
|
|
18
18
|
const commandFn = require_helpers.memo((props = {}) => {
|
|
19
19
|
return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
20
20
|
});
|
|
21
|
-
const commandVariantKeys = [];
|
|
21
|
+
const commandVariantKeys = ["mode"];
|
|
22
22
|
const getVariantProps = (variants) => ({
|
|
23
23
|
...commandDefaultVariants,
|
|
24
24
|
...require_helpers.compact(variants)
|
|
@@ -29,7 +29,7 @@ const command = /* @__PURE__ */ Object.assign(commandFn, {
|
|
|
29
29
|
raw: (props) => props,
|
|
30
30
|
classNameMap: {},
|
|
31
31
|
variantKeys: commandVariantKeys,
|
|
32
|
-
variantMap: {},
|
|
32
|
+
variantMap: { "mode": ["default", "dropdown"] },
|
|
33
33
|
splitVariantProps(props) {
|
|
34
34
|
return require_helpers.splitProps(props, commandVariantKeys);
|
|
35
35
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/command.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst commandDefaultVariants = {}\nconst commandCompoundVariants = []\n\nconst commandSlotNames = [\n [\n \"root\",\n \"command__root\"\n ],\n [\n \"input\",\n \"command__input\"\n ],\n [\n \"list\",\n \"command__list\"\n ],\n [\n \"group\",\n \"command__group\"\n ],\n [\n \"groupHeading\",\n \"command__groupHeading\"\n ],\n [\n \"item\",\n \"command__item\"\n ],\n [\n \"itemIndicator\",\n \"command__itemIndicator\"\n ],\n [\n \"empty\",\n \"command__empty\"\n ],\n [\n \"loading\",\n \"command__loading\"\n ],\n [\n \"separator\",\n \"command__separator\"\n ]\n]\nconst commandSlotFns = /* @__PURE__ */ commandSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, commandDefaultVariants, getSlotCompoundVariant(commandCompoundVariants, slotName))])\n\nconst commandFn = memo((props = {}) => {\n return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst commandVariantKeys = []\nconst getVariantProps = (variants) => ({ ...commandDefaultVariants, ...compact(variants) })\n\nexport const command = /* @__PURE__ */ Object.assign(commandFn, {\n __recipe__: false,\n __name__: 'command',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: commandVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, commandVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"command.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/command.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst commandDefaultVariants = {\n \"mode\": \"default\"\n}\nconst commandCompoundVariants = []\n\nconst commandSlotNames = [\n [\n \"root\",\n \"command__root\"\n ],\n [\n \"input\",\n \"command__input\"\n ],\n [\n \"list\",\n \"command__list\"\n ],\n [\n \"group\",\n \"command__group\"\n ],\n [\n \"groupHeading\",\n \"command__groupHeading\"\n ],\n [\n \"item\",\n \"command__item\"\n ],\n [\n \"itemIndicator\",\n \"command__itemIndicator\"\n ],\n [\n \"empty\",\n \"command__empty\"\n ],\n [\n \"loading\",\n \"command__loading\"\n ],\n [\n \"separator\",\n \"command__separator\"\n ]\n]\nconst commandSlotFns = /* @__PURE__ */ commandSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, commandDefaultVariants, getSlotCompoundVariant(commandCompoundVariants, slotName))])\n\nconst commandFn = memo((props = {}) => {\n return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst commandVariantKeys = [\n \"mode\"\n]\nconst getVariantProps = (variants) => ({ ...commandDefaultVariants, ...compact(variants) })\n\nexport const command = /* @__PURE__ */ Object.assign(commandFn, {\n __recipe__: false,\n __name__: 'command',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: commandVariantKeys,\n variantMap: {\n \"mode\": [\n \"default\",\n \"dropdown\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, commandVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,yBAAyB,EAC7B,QAAQ,UACV;AACA,MAAM,0BAA0B,CAAC;AA4CjC,MAAM,iBAAiC;CAzCrC,CACE,QACA,eACF;CACA,CACE,SACA,gBACF;CACA,CACE,QACA,eACF;CACA,CACE,SACA,gBACF;CACA,CACE,gBACA,uBACF;CACA,CACE,QACA,eACF;CACA,CACE,iBACA,wBACF;CACA,CACE,SACA,gBACF;CACA,CACE,WACA,kBACF;CACA,CACE,aACA,oBACF;AAEoD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,wBAAwBC,gBAAAA,uBAAuB,yBAAyB,QAAQ,CAAC,CAAC,CAAC;AAEzM,MAAM,YAAYC,gBAAAA,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,MACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAwB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAEzF,MAAa,UAA0B,uBAAO,OAAO,WAAW;CAC9D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,EACZ,QAAQ,CACN,WACA,UACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,kBAAkB;CAC7C;CACA;AACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js";
|
|
2
2
|
import { createRecipe } from "./create-recipe.js";
|
|
3
3
|
//#region src/styled-system/recipes/command.js
|
|
4
|
-
const commandDefaultVariants = {};
|
|
4
|
+
const commandDefaultVariants = { "mode": "default" };
|
|
5
5
|
const commandCompoundVariants = [];
|
|
6
6
|
const commandSlotFns = /* @__PURE__ */ [
|
|
7
7
|
["root", "command__root"],
|
|
@@ -18,7 +18,7 @@ const commandSlotFns = /* @__PURE__ */ [
|
|
|
18
18
|
const commandFn = memo((props = {}) => {
|
|
19
19
|
return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
20
20
|
});
|
|
21
|
-
const commandVariantKeys = [];
|
|
21
|
+
const commandVariantKeys = ["mode"];
|
|
22
22
|
const getVariantProps = (variants) => ({
|
|
23
23
|
...commandDefaultVariants,
|
|
24
24
|
...compact(variants)
|
|
@@ -29,7 +29,7 @@ const command = /* @__PURE__ */ Object.assign(commandFn, {
|
|
|
29
29
|
raw: (props) => props,
|
|
30
30
|
classNameMap: {},
|
|
31
31
|
variantKeys: commandVariantKeys,
|
|
32
|
-
variantMap: {},
|
|
32
|
+
variantMap: { "mode": ["default", "dropdown"] },
|
|
33
33
|
splitVariantProps(props) {
|
|
34
34
|
return splitProps(props, commandVariantKeys);
|
|
35
35
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","names":[],"sources":["../../../src/styled-system/recipes/command.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst commandDefaultVariants = {}\nconst commandCompoundVariants = []\n\nconst commandSlotNames = [\n [\n \"root\",\n \"command__root\"\n ],\n [\n \"input\",\n \"command__input\"\n ],\n [\n \"list\",\n \"command__list\"\n ],\n [\n \"group\",\n \"command__group\"\n ],\n [\n \"groupHeading\",\n \"command__groupHeading\"\n ],\n [\n \"item\",\n \"command__item\"\n ],\n [\n \"itemIndicator\",\n \"command__itemIndicator\"\n ],\n [\n \"empty\",\n \"command__empty\"\n ],\n [\n \"loading\",\n \"command__loading\"\n ],\n [\n \"separator\",\n \"command__separator\"\n ]\n]\nconst commandSlotFns = /* @__PURE__ */ commandSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, commandDefaultVariants, getSlotCompoundVariant(commandCompoundVariants, slotName))])\n\nconst commandFn = memo((props = {}) => {\n return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst commandVariantKeys = []\nconst getVariantProps = (variants) => ({ ...commandDefaultVariants, ...compact(variants) })\n\nexport const command = /* @__PURE__ */ Object.assign(commandFn, {\n __recipe__: false,\n __name__: 'command',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: commandVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, commandVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"command.js","names":[],"sources":["../../../src/styled-system/recipes/command.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst commandDefaultVariants = {\n \"mode\": \"default\"\n}\nconst commandCompoundVariants = []\n\nconst commandSlotNames = [\n [\n \"root\",\n \"command__root\"\n ],\n [\n \"input\",\n \"command__input\"\n ],\n [\n \"list\",\n \"command__list\"\n ],\n [\n \"group\",\n \"command__group\"\n ],\n [\n \"groupHeading\",\n \"command__groupHeading\"\n ],\n [\n \"item\",\n \"command__item\"\n ],\n [\n \"itemIndicator\",\n \"command__itemIndicator\"\n ],\n [\n \"empty\",\n \"command__empty\"\n ],\n [\n \"loading\",\n \"command__loading\"\n ],\n [\n \"separator\",\n \"command__separator\"\n ]\n]\nconst commandSlotFns = /* @__PURE__ */ commandSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, commandDefaultVariants, getSlotCompoundVariant(commandCompoundVariants, slotName))])\n\nconst commandFn = memo((props = {}) => {\n return Object.fromEntries(commandSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst commandVariantKeys = [\n \"mode\"\n]\nconst getVariantProps = (variants) => ({ ...commandDefaultVariants, ...compact(variants) })\n\nexport const command = /* @__PURE__ */ Object.assign(commandFn, {\n __recipe__: false,\n __name__: 'command',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: commandVariantKeys,\n variantMap: {\n \"mode\": [\n \"default\",\n \"dropdown\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, commandVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,yBAAyB,EAC7B,QAAQ,UACV;AACA,MAAM,0BAA0B,CAAC;AA4CjC,MAAM,iBAAiC;CAzCrC,CACE,QACA,eACF;CACA,CACE,SACA,gBACF;CACA,CACE,QACA,eACF;CACA,CACE,SACA,gBACF;CACA,CACE,gBACA,uBACF;CACA,CACE,QACA,eACF;CACA,CACE,iBACA,wBACF;CACA,CACE,SACA,gBACF;CACA,CACE,WACA,kBACF;CACA,CACE,aACA,oBACF;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,MACF;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,QAAQ,CACN,WACA,UACF,EACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,kBAAkB;CAC7C;CACA;AACF,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/download-trigger.js
|
|
4
|
+
const downloadTriggerFn = /* @__PURE__ */ require_create_recipe.createRecipe("downloadTrigger", {
|
|
5
|
+
"variant": "outline",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}, []);
|
|
8
|
+
const downloadTriggerVariantMap = {
|
|
9
|
+
"variant": [
|
|
10
|
+
"solid",
|
|
11
|
+
"outline",
|
|
12
|
+
"ghost"
|
|
13
|
+
],
|
|
14
|
+
"size": [
|
|
15
|
+
"sm",
|
|
16
|
+
"md",
|
|
17
|
+
"lg"
|
|
18
|
+
]
|
|
19
|
+
};
|
|
20
|
+
const downloadTriggerVariantKeys = Object.keys(downloadTriggerVariantMap);
|
|
21
|
+
const downloadTrigger = /* @__PURE__ */ Object.assign(require_helpers.memo(downloadTriggerFn.recipeFn), {
|
|
22
|
+
__recipe__: true,
|
|
23
|
+
__name__: "downloadTrigger",
|
|
24
|
+
__getCompoundVariantCss__: downloadTriggerFn.__getCompoundVariantCss__,
|
|
25
|
+
raw: (props) => props,
|
|
26
|
+
variantKeys: downloadTriggerVariantKeys,
|
|
27
|
+
variantMap: downloadTriggerVariantMap,
|
|
28
|
+
merge(recipe) {
|
|
29
|
+
return require_create_recipe.mergeRecipes(this, recipe);
|
|
30
|
+
},
|
|
31
|
+
splitVariantProps(props) {
|
|
32
|
+
return require_helpers.splitProps(props, downloadTriggerVariantKeys);
|
|
33
|
+
},
|
|
34
|
+
getVariantProps: downloadTriggerFn.getVariantProps
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.downloadTrigger = downloadTrigger;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=download-trigger.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-trigger.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/download-trigger.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst downloadTriggerFn = /* @__PURE__ */ createRecipe('downloadTrigger', {\n \"variant\": \"outline\",\n \"size\": \"md\"\n}, [])\n\nconst downloadTriggerVariantMap = {\n \"variant\": [\n \"solid\",\n \"outline\",\n \"ghost\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst downloadTriggerVariantKeys = Object.keys(downloadTriggerVariantMap)\n\nexport const downloadTrigger = /* @__PURE__ */ Object.assign(memo(downloadTriggerFn.recipeFn), {\n __recipe__: true,\n __name__: 'downloadTrigger',\n __getCompoundVariantCss__: downloadTriggerFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: downloadTriggerVariantKeys,\n variantMap: downloadTriggerVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, downloadTriggerVariantKeys)\n },\n getVariantProps: downloadTriggerFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,oBAAoC,sCAAA,aAAa,mBAAmB;CACxE,WAAW;CACX,QAAQ;AACV,GAAG,CAAC,CAAC;AAEL,MAAM,4BAA4B;CAChC,WAAW;EACT;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;CACF;AACF;AAEA,MAAM,6BAA6B,OAAO,KAAK,yBAAyB;AAExE,MAAa,kBAAkC,uBAAO,OAAOA,gBAAAA,KAAK,kBAAkB,QAAQ,GAAG;CAC7F,YAAY;CACZ,UAAU;CACV,2BAA2B,kBAAkB;CAC7C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,0BAA0B;CACrD;CACA,iBAAiB,kBAAkB;AACrC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/download-trigger.js
|
|
4
|
+
const downloadTriggerFn = /* @__PURE__ */ createRecipe("downloadTrigger", {
|
|
5
|
+
"variant": "outline",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}, []);
|
|
8
|
+
const downloadTriggerVariantMap = {
|
|
9
|
+
"variant": [
|
|
10
|
+
"solid",
|
|
11
|
+
"outline",
|
|
12
|
+
"ghost"
|
|
13
|
+
],
|
|
14
|
+
"size": [
|
|
15
|
+
"sm",
|
|
16
|
+
"md",
|
|
17
|
+
"lg"
|
|
18
|
+
]
|
|
19
|
+
};
|
|
20
|
+
const downloadTriggerVariantKeys = Object.keys(downloadTriggerVariantMap);
|
|
21
|
+
const downloadTrigger = /* @__PURE__ */ Object.assign(memo(downloadTriggerFn.recipeFn), {
|
|
22
|
+
__recipe__: true,
|
|
23
|
+
__name__: "downloadTrigger",
|
|
24
|
+
__getCompoundVariantCss__: downloadTriggerFn.__getCompoundVariantCss__,
|
|
25
|
+
raw: (props) => props,
|
|
26
|
+
variantKeys: downloadTriggerVariantKeys,
|
|
27
|
+
variantMap: downloadTriggerVariantMap,
|
|
28
|
+
merge(recipe) {
|
|
29
|
+
return mergeRecipes(this, recipe);
|
|
30
|
+
},
|
|
31
|
+
splitVariantProps(props) {
|
|
32
|
+
return splitProps(props, downloadTriggerVariantKeys);
|
|
33
|
+
},
|
|
34
|
+
getVariantProps: downloadTriggerFn.getVariantProps
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { downloadTrigger };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=download-trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-trigger.js","names":[],"sources":["../../../src/styled-system/recipes/download-trigger.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst downloadTriggerFn = /* @__PURE__ */ createRecipe('downloadTrigger', {\n \"variant\": \"outline\",\n \"size\": \"md\"\n}, [])\n\nconst downloadTriggerVariantMap = {\n \"variant\": [\n \"solid\",\n \"outline\",\n \"ghost\"\n ],\n \"size\": [\n \"sm\",\n \"md\",\n \"lg\"\n ]\n}\n\nconst downloadTriggerVariantKeys = Object.keys(downloadTriggerVariantMap)\n\nexport const downloadTrigger = /* @__PURE__ */ Object.assign(memo(downloadTriggerFn.recipeFn), {\n __recipe__: true,\n __name__: 'downloadTrigger',\n __getCompoundVariantCss__: downloadTriggerFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: downloadTriggerVariantKeys,\n variantMap: downloadTriggerVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, downloadTriggerVariantKeys)\n },\n getVariantProps: downloadTriggerFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,oBAAoC,6BAAa,mBAAmB;CACxE,WAAW;CACX,QAAQ;AACV,GAAG,CAAC,CAAC;AAEL,MAAM,4BAA4B;CAChC,WAAW;EACT;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;CACF;AACF;AAEA,MAAM,6BAA6B,OAAO,KAAK,yBAAyB;AAExE,MAAa,kBAAkC,uBAAO,OAAO,KAAK,kBAAkB,QAAQ,GAAG;CAC7F,YAAY;CACZ,UAAU;CACV,2BAA2B,kBAAkB;CAC7C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,0BAA0B;CACrD;CACA,iBAAiB,kBAAkB;AACrC,CAAC"}
|
|
@@ -13,6 +13,7 @@ const figureSlotFns = /* @__PURE__ */ [
|
|
|
13
13
|
["popup", "figure__popup"],
|
|
14
14
|
["lightboxImage", "figure__lightboxImage"],
|
|
15
15
|
["lightboxCaption", "figure__lightboxCaption"],
|
|
16
|
+
["closeRow", "figure__closeRow"],
|
|
16
17
|
["close", "figure__close"],
|
|
17
18
|
["title", "figure__title"]
|
|
18
19
|
].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, figureDefaultVariants, require_helpers.getSlotCompoundVariant(figureCompoundVariants, slotName))]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"figure.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/figure.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst figureDefaultVariants = {}\nconst figureCompoundVariants = []\n\nconst figureSlotNames = [\n [\n \"root\",\n \"figure__root\"\n ],\n [\n \"image\",\n \"figure__image\"\n ],\n [\n \"caption\",\n \"figure__caption\"\n ],\n [\n \"trigger\",\n \"figure__trigger\"\n ],\n [\n \"backdrop\",\n \"figure__backdrop\"\n ],\n [\n \"viewport\",\n \"figure__viewport\"\n ],\n [\n \"popup\",\n \"figure__popup\"\n ],\n [\n \"lightboxImage\",\n \"figure__lightboxImage\"\n ],\n [\n \"lightboxCaption\",\n \"figure__lightboxCaption\"\n ],\n [\n \"close\",\n \"figure__close\"\n ],\n [\n \"title\",\n \"figure__title\"\n ]\n]\nconst figureSlotFns = /* @__PURE__ */ figureSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))])\n\nconst figureFn = memo((props = {}) => {\n return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst figureVariantKeys = []\nconst getVariantProps = (variants) => ({ ...figureDefaultVariants, ...compact(variants) })\n\nexport const figure = /* @__PURE__ */ Object.assign(figureFn, {\n __recipe__: false,\n __name__: 'figure',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: figureVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, figureVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,wBAAwB,CAAC;AAC/B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"figure.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/figure.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst figureDefaultVariants = {}\nconst figureCompoundVariants = []\n\nconst figureSlotNames = [\n [\n \"root\",\n \"figure__root\"\n ],\n [\n \"image\",\n \"figure__image\"\n ],\n [\n \"caption\",\n \"figure__caption\"\n ],\n [\n \"trigger\",\n \"figure__trigger\"\n ],\n [\n \"backdrop\",\n \"figure__backdrop\"\n ],\n [\n \"viewport\",\n \"figure__viewport\"\n ],\n [\n \"popup\",\n \"figure__popup\"\n ],\n [\n \"lightboxImage\",\n \"figure__lightboxImage\"\n ],\n [\n \"lightboxCaption\",\n \"figure__lightboxCaption\"\n ],\n [\n \"closeRow\",\n \"figure__closeRow\"\n ],\n [\n \"close\",\n \"figure__close\"\n ],\n [\n \"title\",\n \"figure__title\"\n ]\n]\nconst figureSlotFns = /* @__PURE__ */ figureSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))])\n\nconst figureFn = memo((props = {}) => {\n return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst figureVariantKeys = []\nconst getVariantProps = (variants) => ({ ...figureDefaultVariants, ...compact(variants) })\n\nexport const figure = /* @__PURE__ */ Object.assign(figureFn, {\n __recipe__: false,\n __name__: 'figure',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: figureVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, figureVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,wBAAwB,CAAC;AAC/B,MAAM,yBAAyB,CAAC;AAoDhC,MAAM,gBAAgC;CAjDpC,CACE,QACA,cACF;CACA,CACE,SACA,eACF;CACA,CACE,WACA,iBACF;CACA,CACE,WACA,iBACF;CACA,CACE,YACA,kBACF;CACA,CACE,YACA,kBACF;CACA,CACE,SACA,eACF;CACA,CACE,iBACA,uBACF;CACA,CACE,mBACA,yBACF;CACA,CACE,YACA,kBACF;CACA,CACE,SACA,eACF;CACA,CACE,SACA,eACF;AAEkD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAUA,sBAAAA,aAAa,SAAS,uBAAuBC,gBAAAA,uBAAuB,wBAAwB,QAAQ,CAAC,CAAC,CAAC;AAErM,MAAM,WAAWC,gBAAAA,MAAM,QAAQ,CAAC,MAAM;CACpC,OAAO,OAAO,YAAY,cAAc,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACzG,CAAC;AAED,MAAM,oBAAoB,CAAC;AAC3B,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAuB,GAAGC,gBAAAA,QAAQ,QAAQ;AAAE;AAExF,MAAa,SAAyB,uBAAO,OAAO,UAAU;CAC5D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,iBAAiB;CAC5C;CACA;AACF,CAAC"}
|
|
@@ -13,6 +13,7 @@ const figureSlotFns = /* @__PURE__ */ [
|
|
|
13
13
|
["popup", "figure__popup"],
|
|
14
14
|
["lightboxImage", "figure__lightboxImage"],
|
|
15
15
|
["lightboxCaption", "figure__lightboxCaption"],
|
|
16
|
+
["closeRow", "figure__closeRow"],
|
|
16
17
|
["close", "figure__close"],
|
|
17
18
|
["title", "figure__title"]
|
|
18
19
|
].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"figure.js","names":[],"sources":["../../../src/styled-system/recipes/figure.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst figureDefaultVariants = {}\nconst figureCompoundVariants = []\n\nconst figureSlotNames = [\n [\n \"root\",\n \"figure__root\"\n ],\n [\n \"image\",\n \"figure__image\"\n ],\n [\n \"caption\",\n \"figure__caption\"\n ],\n [\n \"trigger\",\n \"figure__trigger\"\n ],\n [\n \"backdrop\",\n \"figure__backdrop\"\n ],\n [\n \"viewport\",\n \"figure__viewport\"\n ],\n [\n \"popup\",\n \"figure__popup\"\n ],\n [\n \"lightboxImage\",\n \"figure__lightboxImage\"\n ],\n [\n \"lightboxCaption\",\n \"figure__lightboxCaption\"\n ],\n [\n \"close\",\n \"figure__close\"\n ],\n [\n \"title\",\n \"figure__title\"\n ]\n]\nconst figureSlotFns = /* @__PURE__ */ figureSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))])\n\nconst figureFn = memo((props = {}) => {\n return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst figureVariantKeys = []\nconst getVariantProps = (variants) => ({ ...figureDefaultVariants, ...compact(variants) })\n\nexport const figure = /* @__PURE__ */ Object.assign(figureFn, {\n __recipe__: false,\n __name__: 'figure',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: figureVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, figureVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,wBAAwB,CAAC;AAC/B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"figure.js","names":[],"sources":["../../../src/styled-system/recipes/figure.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst figureDefaultVariants = {}\nconst figureCompoundVariants = []\n\nconst figureSlotNames = [\n [\n \"root\",\n \"figure__root\"\n ],\n [\n \"image\",\n \"figure__image\"\n ],\n [\n \"caption\",\n \"figure__caption\"\n ],\n [\n \"trigger\",\n \"figure__trigger\"\n ],\n [\n \"backdrop\",\n \"figure__backdrop\"\n ],\n [\n \"viewport\",\n \"figure__viewport\"\n ],\n [\n \"popup\",\n \"figure__popup\"\n ],\n [\n \"lightboxImage\",\n \"figure__lightboxImage\"\n ],\n [\n \"lightboxCaption\",\n \"figure__lightboxCaption\"\n ],\n [\n \"closeRow\",\n \"figure__closeRow\"\n ],\n [\n \"close\",\n \"figure__close\"\n ],\n [\n \"title\",\n \"figure__title\"\n ]\n]\nconst figureSlotFns = /* @__PURE__ */ figureSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))])\n\nconst figureFn = memo((props = {}) => {\n return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst figureVariantKeys = []\nconst getVariantProps = (variants) => ({ ...figureDefaultVariants, ...compact(variants) })\n\nexport const figure = /* @__PURE__ */ Object.assign(figureFn, {\n __recipe__: false,\n __name__: 'figure',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: figureVariantKeys,\n variantMap: {},\n splitVariantProps(props) {\n return splitProps(props, figureVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,wBAAwB,CAAC;AAC/B,MAAM,yBAAyB,CAAC;AAoDhC,MAAM,gBAAgC;CAjDpC,CACE,QACA,cACF;CACA,CACE,SACA,eACF;CACA,CACE,WACA,iBACF;CACA,CACE,WACA,iBACF;CACA,CACE,YACA,kBACF;CACA,CACE,YACA,kBACF;CACA,CACE,SACA,eACF;CACA,CACE,iBACA,uBACF;CACA,CACE,mBACA,yBACF;CACA,CACE,YACA,kBACF;CACA,CACE,SACA,eACF;CACA,CACE,SACA,eACF;AAEkD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,uBAAuB,uBAAuB,wBAAwB,QAAQ,CAAC,CAAC,CAAC;AAErM,MAAM,WAAW,MAAM,QAAQ,CAAC,MAAM;CACpC,OAAO,OAAO,YAAY,cAAc,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACzG,CAAC;AAED,MAAM,oBAAoB,CAAC;AAC3B,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAuB,GAAG,QAAQ,QAAQ;AAAE;AAExF,MAAa,SAAyB,uBAAO,OAAO,UAAU;CAC5D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY,CAAC;CACb,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,iBAAiB;CAC5C;CACA;AACF,CAAC"}
|
|
@@ -15,6 +15,7 @@ const imageSlotFns = /* @__PURE__ */ [
|
|
|
15
15
|
["viewport", "image__viewport"],
|
|
16
16
|
["popup", "image__popup"],
|
|
17
17
|
["lightboxImage", "image__lightboxImage"],
|
|
18
|
+
["closeRow", "image__closeRow"],
|
|
18
19
|
["close", "image__close"],
|
|
19
20
|
["title", "image__title"]
|
|
20
21
|
].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, imageDefaultVariants, require_helpers.getSlotCompoundVariant(imageCompoundVariants, slotName))]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/image.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst imageDefaultVariants = {\n \"fit\": \"cover\",\n \"status\": \"loading\"\n}\nconst imageCompoundVariants = []\n\nconst imageSlotNames = [\n [\n \"root\",\n \"image__root\"\n ],\n [\n \"image\",\n \"image__image\"\n ],\n [\n \"fallback\",\n \"image__fallback\"\n ],\n [\n \"trigger\",\n \"image__trigger\"\n ],\n [\n \"backdrop\",\n \"image__backdrop\"\n ],\n [\n \"viewport\",\n \"image__viewport\"\n ],\n [\n \"popup\",\n \"image__popup\"\n ],\n [\n \"lightboxImage\",\n \"image__lightboxImage\"\n ],\n [\n \"close\",\n \"image__close\"\n ],\n [\n \"title\",\n \"image__title\"\n ]\n]\nconst imageSlotFns = /* @__PURE__ */ imageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))])\n\nconst imageFn = memo((props = {}) => {\n return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst imageVariantKeys = [\n \"fit\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...imageDefaultVariants, ...compact(variants) })\n\nexport const image = /* @__PURE__ */ Object.assign(imageFn, {\n __recipe__: false,\n __name__: 'image',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: imageVariantKeys,\n variantMap: {\n \"fit\": [\n \"contain\",\n \"cover\",\n \"fill\",\n \"none\"\n ],\n \"status\": [\n \"loading\",\n \"loaded\",\n \"error\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, imageVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,OAAO;CACP,UAAU;AACZ;AACA,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"image.cjs","names":["createRecipe","getSlotCompoundVariant","memo","compact","splitProps"],"sources":["../../../src/styled-system/recipes/image.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst imageDefaultVariants = {\n \"fit\": \"cover\",\n \"status\": \"loading\"\n}\nconst imageCompoundVariants = []\n\nconst imageSlotNames = [\n [\n \"root\",\n \"image__root\"\n ],\n [\n \"image\",\n \"image__image\"\n ],\n [\n \"fallback\",\n \"image__fallback\"\n ],\n [\n \"trigger\",\n \"image__trigger\"\n ],\n [\n \"backdrop\",\n \"image__backdrop\"\n ],\n [\n \"viewport\",\n \"image__viewport\"\n ],\n [\n \"popup\",\n \"image__popup\"\n ],\n [\n \"lightboxImage\",\n \"image__lightboxImage\"\n ],\n [\n \"closeRow\",\n \"image__closeRow\"\n ],\n [\n \"close\",\n \"image__close\"\n ],\n [\n \"title\",\n \"image__title\"\n ]\n]\nconst imageSlotFns = /* @__PURE__ */ imageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))])\n\nconst imageFn = memo((props = {}) => {\n return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst imageVariantKeys = [\n \"fit\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...imageDefaultVariants, ...compact(variants) })\n\nexport const image = /* @__PURE__ */ Object.assign(imageFn, {\n __recipe__: false,\n __name__: 'image',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: imageVariantKeys,\n variantMap: {\n \"fit\": [\n \"contain\",\n \"cover\",\n \"fill\",\n \"none\"\n ],\n \"status\": [\n \"loading\",\n \"loaded\",\n \"error\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, imageVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,OAAO;CACP,UAAU;AACZ;AACA,MAAM,wBAAwB,CAAC;AAgD/B,MAAM,eAA+B;CA7CnC,CACE,QACA,aACF;CACA,CACE,SACA,cACF;CACA,CACE,YACA,iBACF;CACA,CACE,WACA,gBACF;CACA,CACE,YACA,iBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,iBACA,sBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,SACA,cACF;AAEgD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,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,OACA,QACF;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,OAAO;GACL;GACA;GACA;GACA;EACF;EACA,UAAU;GACR;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
|
|
@@ -15,6 +15,7 @@ const imageSlotFns = /* @__PURE__ */ [
|
|
|
15
15
|
["viewport", "image__viewport"],
|
|
16
16
|
["popup", "image__popup"],
|
|
17
17
|
["lightboxImage", "image__lightboxImage"],
|
|
18
|
+
["closeRow", "image__closeRow"],
|
|
18
19
|
["close", "image__close"],
|
|
19
20
|
["title", "image__title"]
|
|
20
21
|
].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","names":[],"sources":["../../../src/styled-system/recipes/image.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst imageDefaultVariants = {\n \"fit\": \"cover\",\n \"status\": \"loading\"\n}\nconst imageCompoundVariants = []\n\nconst imageSlotNames = [\n [\n \"root\",\n \"image__root\"\n ],\n [\n \"image\",\n \"image__image\"\n ],\n [\n \"fallback\",\n \"image__fallback\"\n ],\n [\n \"trigger\",\n \"image__trigger\"\n ],\n [\n \"backdrop\",\n \"image__backdrop\"\n ],\n [\n \"viewport\",\n \"image__viewport\"\n ],\n [\n \"popup\",\n \"image__popup\"\n ],\n [\n \"lightboxImage\",\n \"image__lightboxImage\"\n ],\n [\n \"close\",\n \"image__close\"\n ],\n [\n \"title\",\n \"image__title\"\n ]\n]\nconst imageSlotFns = /* @__PURE__ */ imageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))])\n\nconst imageFn = memo((props = {}) => {\n return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst imageVariantKeys = [\n \"fit\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...imageDefaultVariants, ...compact(variants) })\n\nexport const image = /* @__PURE__ */ Object.assign(imageFn, {\n __recipe__: false,\n __name__: 'image',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: imageVariantKeys,\n variantMap: {\n \"fit\": [\n \"contain\",\n \"cover\",\n \"fill\",\n \"none\"\n ],\n \"status\": [\n \"loading\",\n \"loaded\",\n \"error\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, imageVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,OAAO;CACP,UAAU;AACZ;AACA,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"image.js","names":[],"sources":["../../../src/styled-system/recipes/image.js"],"sourcesContent":["import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';\nimport { createRecipe } from './create-recipe.js';\n\nconst imageDefaultVariants = {\n \"fit\": \"cover\",\n \"status\": \"loading\"\n}\nconst imageCompoundVariants = []\n\nconst imageSlotNames = [\n [\n \"root\",\n \"image__root\"\n ],\n [\n \"image\",\n \"image__image\"\n ],\n [\n \"fallback\",\n \"image__fallback\"\n ],\n [\n \"trigger\",\n \"image__trigger\"\n ],\n [\n \"backdrop\",\n \"image__backdrop\"\n ],\n [\n \"viewport\",\n \"image__viewport\"\n ],\n [\n \"popup\",\n \"image__popup\"\n ],\n [\n \"lightboxImage\",\n \"image__lightboxImage\"\n ],\n [\n \"closeRow\",\n \"image__closeRow\"\n ],\n [\n \"close\",\n \"image__close\"\n ],\n [\n \"title\",\n \"image__title\"\n ]\n]\nconst imageSlotFns = /* @__PURE__ */ imageSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, imageDefaultVariants, getSlotCompoundVariant(imageCompoundVariants, slotName))])\n\nconst imageFn = memo((props = {}) => {\n return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))\n})\n\nconst imageVariantKeys = [\n \"fit\",\n \"status\"\n]\nconst getVariantProps = (variants) => ({ ...imageDefaultVariants, ...compact(variants) })\n\nexport const image = /* @__PURE__ */ Object.assign(imageFn, {\n __recipe__: false,\n __name__: 'image',\n raw: (props) => props,\n classNameMap: {},\n variantKeys: imageVariantKeys,\n variantMap: {\n \"fit\": [\n \"contain\",\n \"cover\",\n \"fill\",\n \"none\"\n ],\n \"status\": [\n \"loading\",\n \"loaded\",\n \"error\"\n ]\n},\n splitVariantProps(props) {\n return splitProps(props, imageVariantKeys)\n },\n getVariantProps\n})"],"mappings":";;;AAGA,MAAM,uBAAuB;CAC3B,OAAO;CACP,UAAU;AACZ;AACA,MAAM,wBAAwB,CAAC;AAgD/B,MAAM,eAA+B;CA7CnC,CACE,QACA,aACF;CACA,CACE,SACA,cACF;CACA,CACE,YACA,iBACF;CACA,CACE,WACA,gBACF;CACA,CACE,YACA,iBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,iBACA,sBACF;CACA,CACE,YACA,iBACF;CACA,CACE,SACA,cACF;CACA,CACE,SACA,cACF;AAEgD,CAAC,CAAC,KAAK,CAAC,UAAU,aAAa,CAAC,UAAU,aAAa,SAAS,sBAAsB,uBAAuB,uBAAuB,QAAQ,CAAC,CAAC,CAAC;AAEjM,MAAM,UAAU,MAAM,QAAQ,CAAC,MAAM;CACnC,OAAO,OAAO,YAAY,aAAa,KAAK,CAAC,UAAU,YAAY,CAAC,UAAU,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC;AACxG,CAAC;AAED,MAAM,mBAAmB,CACvB,OACA,QACF;AACA,MAAM,mBAAmB,cAAc;CAAE,GAAG;CAAsB,GAAG,QAAQ,QAAQ;AAAE;AAEvF,MAAa,QAAwB,uBAAO,OAAO,SAAS;CAC1D,YAAY;CACZ,UAAU;CACV,MAAM,UAAU;CAChB,cAAc,CAAC;CACf,aAAa;CACb,YAAY;EACZ,OAAO;GACL;GACA;GACA;GACA;EACF;EACA,UAAU;GACR;GACA;GACA;EACF;CACF;CACE,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA;AACF,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/layout-spacer.js
|
|
4
|
+
const layoutSpacerFn = /* @__PURE__ */ require_create_recipe.createRecipe("spacer", {
|
|
5
|
+
"axis": "vertical",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}, [
|
|
8
|
+
{
|
|
9
|
+
"axis": "horizontal",
|
|
10
|
+
"size": "none",
|
|
11
|
+
"css": { "width": "0" }
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"axis": "horizontal",
|
|
15
|
+
"size": "sm",
|
|
16
|
+
"css": { "width": "2" }
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"axis": "horizontal",
|
|
20
|
+
"size": "md",
|
|
21
|
+
"css": { "width": "4" }
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"axis": "horizontal",
|
|
25
|
+
"size": "lg",
|
|
26
|
+
"css": { "width": "6" }
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"axis": "horizontal",
|
|
30
|
+
"size": "xl",
|
|
31
|
+
"css": { "width": "8" }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"axis": "vertical",
|
|
35
|
+
"size": "none",
|
|
36
|
+
"css": { "height": "0" }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"axis": "vertical",
|
|
40
|
+
"size": "sm",
|
|
41
|
+
"css": { "height": "2" }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"axis": "vertical",
|
|
45
|
+
"size": "md",
|
|
46
|
+
"css": { "height": "4" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"axis": "vertical",
|
|
50
|
+
"size": "lg",
|
|
51
|
+
"css": { "height": "6" }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"axis": "vertical",
|
|
55
|
+
"size": "xl",
|
|
56
|
+
"css": { "height": "8" }
|
|
57
|
+
}
|
|
58
|
+
]);
|
|
59
|
+
const layoutSpacerVariantMap = {
|
|
60
|
+
"axis": ["horizontal", "vertical"],
|
|
61
|
+
"size": [
|
|
62
|
+
"none",
|
|
63
|
+
"sm",
|
|
64
|
+
"md",
|
|
65
|
+
"lg",
|
|
66
|
+
"xl"
|
|
67
|
+
]
|
|
68
|
+
};
|
|
69
|
+
const layoutSpacerVariantKeys = Object.keys(layoutSpacerVariantMap);
|
|
70
|
+
const layoutSpacer = /* @__PURE__ */ Object.assign(require_helpers.memo(layoutSpacerFn.recipeFn), {
|
|
71
|
+
__recipe__: true,
|
|
72
|
+
__name__: "layoutSpacer",
|
|
73
|
+
__getCompoundVariantCss__: layoutSpacerFn.__getCompoundVariantCss__,
|
|
74
|
+
raw: (props) => props,
|
|
75
|
+
variantKeys: layoutSpacerVariantKeys,
|
|
76
|
+
variantMap: layoutSpacerVariantMap,
|
|
77
|
+
merge(recipe) {
|
|
78
|
+
return require_create_recipe.mergeRecipes(this, recipe);
|
|
79
|
+
},
|
|
80
|
+
splitVariantProps(props) {
|
|
81
|
+
return require_helpers.splitProps(props, layoutSpacerVariantKeys);
|
|
82
|
+
},
|
|
83
|
+
getVariantProps: layoutSpacerFn.getVariantProps
|
|
84
|
+
});
|
|
85
|
+
//#endregion
|
|
86
|
+
exports.layoutSpacer = layoutSpacer;
|
|
87
|
+
|
|
88
|
+
//# sourceMappingURL=layout-spacer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-spacer.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/layout-spacer.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst layoutSpacerFn = /* @__PURE__ */ createRecipe('spacer', {\n \"axis\": \"vertical\",\n \"size\": \"md\"\n}, [\n {\n \"axis\": \"horizontal\",\n \"size\": \"none\",\n \"css\": {\n \"width\": \"0\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"sm\",\n \"css\": {\n \"width\": \"2\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"md\",\n \"css\": {\n \"width\": \"4\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"lg\",\n \"css\": {\n \"width\": \"6\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"xl\",\n \"css\": {\n \"width\": \"8\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"none\",\n \"css\": {\n \"height\": \"0\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"sm\",\n \"css\": {\n \"height\": \"2\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"md\",\n \"css\": {\n \"height\": \"4\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"lg\",\n \"css\": {\n \"height\": \"6\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"xl\",\n \"css\": {\n \"height\": \"8\"\n }\n }\n])\n\nconst layoutSpacerVariantMap = {\n \"axis\": [\n \"horizontal\",\n \"vertical\"\n ],\n \"size\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\"\n ]\n}\n\nconst layoutSpacerVariantKeys = Object.keys(layoutSpacerVariantMap)\n\nexport const layoutSpacer = /* @__PURE__ */ Object.assign(memo(layoutSpacerFn.recipeFn), {\n __recipe__: true,\n __name__: 'layoutSpacer',\n __getCompoundVariantCss__: layoutSpacerFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: layoutSpacerVariantKeys,\n variantMap: layoutSpacerVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, layoutSpacerVariantKeys)\n },\n getVariantProps: layoutSpacerFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,iBAAiC,sCAAA,aAAa,UAAU;CAC5D,QAAQ;CACR,QAAQ;AACV,GAAG;CACD;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;AACF,CAAC;AAED,MAAM,yBAAyB;CAC7B,QAAQ,CACN,cACA,UACF;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;CACF;AACF;AAEA,MAAM,0BAA0B,OAAO,KAAK,sBAAsB;AAElE,MAAa,eAA+B,uBAAO,OAAOA,gBAAAA,KAAK,eAAe,QAAQ,GAAG;CACvF,YAAY;CACZ,UAAU;CACV,2BAA2B,eAAe;CAC1C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,uBAAuB;CAClD;CACA,iBAAiB,eAAe;AAClC,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/layout-spacer.js
|
|
4
|
+
const layoutSpacerFn = /* @__PURE__ */ createRecipe("spacer", {
|
|
5
|
+
"axis": "vertical",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}, [
|
|
8
|
+
{
|
|
9
|
+
"axis": "horizontal",
|
|
10
|
+
"size": "none",
|
|
11
|
+
"css": { "width": "0" }
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"axis": "horizontal",
|
|
15
|
+
"size": "sm",
|
|
16
|
+
"css": { "width": "2" }
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"axis": "horizontal",
|
|
20
|
+
"size": "md",
|
|
21
|
+
"css": { "width": "4" }
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"axis": "horizontal",
|
|
25
|
+
"size": "lg",
|
|
26
|
+
"css": { "width": "6" }
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"axis": "horizontal",
|
|
30
|
+
"size": "xl",
|
|
31
|
+
"css": { "width": "8" }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"axis": "vertical",
|
|
35
|
+
"size": "none",
|
|
36
|
+
"css": { "height": "0" }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"axis": "vertical",
|
|
40
|
+
"size": "sm",
|
|
41
|
+
"css": { "height": "2" }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"axis": "vertical",
|
|
45
|
+
"size": "md",
|
|
46
|
+
"css": { "height": "4" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"axis": "vertical",
|
|
50
|
+
"size": "lg",
|
|
51
|
+
"css": { "height": "6" }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"axis": "vertical",
|
|
55
|
+
"size": "xl",
|
|
56
|
+
"css": { "height": "8" }
|
|
57
|
+
}
|
|
58
|
+
]);
|
|
59
|
+
const layoutSpacerVariantMap = {
|
|
60
|
+
"axis": ["horizontal", "vertical"],
|
|
61
|
+
"size": [
|
|
62
|
+
"none",
|
|
63
|
+
"sm",
|
|
64
|
+
"md",
|
|
65
|
+
"lg",
|
|
66
|
+
"xl"
|
|
67
|
+
]
|
|
68
|
+
};
|
|
69
|
+
const layoutSpacerVariantKeys = Object.keys(layoutSpacerVariantMap);
|
|
70
|
+
const layoutSpacer = /* @__PURE__ */ Object.assign(memo(layoutSpacerFn.recipeFn), {
|
|
71
|
+
__recipe__: true,
|
|
72
|
+
__name__: "layoutSpacer",
|
|
73
|
+
__getCompoundVariantCss__: layoutSpacerFn.__getCompoundVariantCss__,
|
|
74
|
+
raw: (props) => props,
|
|
75
|
+
variantKeys: layoutSpacerVariantKeys,
|
|
76
|
+
variantMap: layoutSpacerVariantMap,
|
|
77
|
+
merge(recipe) {
|
|
78
|
+
return mergeRecipes(this, recipe);
|
|
79
|
+
},
|
|
80
|
+
splitVariantProps(props) {
|
|
81
|
+
return splitProps(props, layoutSpacerVariantKeys);
|
|
82
|
+
},
|
|
83
|
+
getVariantProps: layoutSpacerFn.getVariantProps
|
|
84
|
+
});
|
|
85
|
+
//#endregion
|
|
86
|
+
export { layoutSpacer };
|
|
87
|
+
|
|
88
|
+
//# sourceMappingURL=layout-spacer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-spacer.js","names":[],"sources":["../../../src/styled-system/recipes/layout-spacer.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst layoutSpacerFn = /* @__PURE__ */ createRecipe('spacer', {\n \"axis\": \"vertical\",\n \"size\": \"md\"\n}, [\n {\n \"axis\": \"horizontal\",\n \"size\": \"none\",\n \"css\": {\n \"width\": \"0\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"sm\",\n \"css\": {\n \"width\": \"2\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"md\",\n \"css\": {\n \"width\": \"4\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"lg\",\n \"css\": {\n \"width\": \"6\"\n }\n },\n {\n \"axis\": \"horizontal\",\n \"size\": \"xl\",\n \"css\": {\n \"width\": \"8\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"none\",\n \"css\": {\n \"height\": \"0\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"sm\",\n \"css\": {\n \"height\": \"2\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"md\",\n \"css\": {\n \"height\": \"4\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"lg\",\n \"css\": {\n \"height\": \"6\"\n }\n },\n {\n \"axis\": \"vertical\",\n \"size\": \"xl\",\n \"css\": {\n \"height\": \"8\"\n }\n }\n])\n\nconst layoutSpacerVariantMap = {\n \"axis\": [\n \"horizontal\",\n \"vertical\"\n ],\n \"size\": [\n \"none\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\"\n ]\n}\n\nconst layoutSpacerVariantKeys = Object.keys(layoutSpacerVariantMap)\n\nexport const layoutSpacer = /* @__PURE__ */ Object.assign(memo(layoutSpacerFn.recipeFn), {\n __recipe__: true,\n __name__: 'layoutSpacer',\n __getCompoundVariantCss__: layoutSpacerFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: layoutSpacerVariantKeys,\n variantMap: layoutSpacerVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, layoutSpacerVariantKeys)\n },\n getVariantProps: layoutSpacerFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,iBAAiC,6BAAa,UAAU;CAC5D,QAAQ;CACR,QAAQ;AACV,GAAG;CACD;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,SAAS,IACX;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;CACA;EACE,QAAQ;EACR,QAAQ;EACR,OAAO,EACL,UAAU,IACZ;CACF;AACF,CAAC;AAED,MAAM,yBAAyB;CAC7B,QAAQ,CACN,cACA,UACF;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;CACF;AACF;AAEA,MAAM,0BAA0B,OAAO,KAAK,sBAAsB;AAElE,MAAa,eAA+B,uBAAO,OAAO,KAAK,eAAe,QAAQ,GAAG;CACvF,YAAY;CACZ,UAAU;CACV,2BAA2B,eAAe;CAC1C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,uBAAuB;CAClD;CACA,iBAAiB,eAAe;AAClC,CAAC"}
|