jaci-ui 0.6.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +48 -0
- package/dist/components/alert/alert.cjs +11 -1
- package/dist/components/alert/alert.cjs.map +1 -1
- package/dist/components/alert/alert.d.cts +4 -1
- package/dist/components/alert/alert.d.ts +4 -1
- package/dist/components/alert/alert.js +11 -2
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/index.d.cts +2 -2
- package/dist/components/alert/index.d.ts +2 -2
- 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/aspect-ratio/aspect-ratio.cjs +23 -0
- package/dist/components/aspect-ratio/aspect-ratio.cjs.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.cts +9 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +9 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +23 -0
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/aspect-ratio/index.d.cts +2 -0
- package/dist/components/aspect-ratio/index.d.ts +2 -0
- package/dist/components/card/card.cjs +10 -1
- package/dist/components/card/card.cjs.map +1 -1
- package/dist/components/card/card.d.cts +15 -2
- package/dist/components/card/card.d.ts +15 -2
- package/dist/components/card/card.js +10 -2
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/card/index.d.cts +2 -2
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/code/code.cjs +39 -0
- package/dist/components/code/code.cjs.map +1 -0
- package/dist/components/code/code.d.cts +14 -0
- package/dist/components/code/code.d.ts +14 -0
- package/dist/components/code/code.js +39 -0
- package/dist/components/code/code.js.map +1 -0
- package/dist/components/code/index.d.cts +2 -0
- package/dist/components/code/index.d.ts +2 -0
- 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/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 +73 -12
- 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 +73 -12
- 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/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/feedback/badge.cjs +6 -3
- package/dist/components/feedback/badge.cjs.map +1 -1
- package/dist/components/feedback/badge.d.cts +1 -0
- package/dist/components/feedback/badge.d.ts +1 -0
- package/dist/components/feedback/badge.js +6 -3
- package/dist/components/feedback/badge.js.map +1 -1
- package/dist/components/figure/figure.cjs +134 -0
- package/dist/components/figure/figure.cjs.map +1 -0
- package/dist/components/figure/figure.d.cts +24 -0
- package/dist/components/figure/figure.d.ts +24 -0
- package/dist/components/figure/figure.js +131 -0
- package/dist/components/figure/figure.js.map +1 -0
- package/dist/components/figure/index.d.cts +2 -0
- package/dist/components/figure/index.d.ts +2 -0
- package/dist/components/image/image.cjs +112 -0
- package/dist/components/image/image.cjs.map +1 -0
- package/dist/components/image/image.d.cts +21 -0
- package/dist/components/image/image.d.ts +21 -0
- package/dist/components/image/image.js +112 -0
- package/dist/components/image/image.js.map +1 -0
- package/dist/components/image/index.d.cts +2 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/kbd/index.d.cts +2 -0
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/kbd.cjs +23 -0
- package/dist/components/kbd/kbd.cjs.map +1 -0
- package/dist/components/kbd/kbd.d.cts +12 -0
- package/dist/components/kbd/kbd.d.ts +12 -0
- package/dist/components/kbd/kbd.js +23 -0
- package/dist/components/kbd/kbd.js.map +1 -0
- 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/progress/progress.cjs +19 -7
- package/dist/components/progress/progress.cjs.map +1 -1
- package/dist/components/progress/progress.d.cts +4 -0
- package/dist/components/progress/progress.d.ts +4 -0
- package/dist/components/progress/progress.js +19 -7
- package/dist/components/progress/progress.js.map +1 -1
- package/dist/components/quote/index.d.cts +2 -0
- package/dist/components/quote/index.d.ts +2 -0
- package/dist/components/quote/quote.cjs +38 -0
- package/dist/components/quote/quote.cjs.map +1 -0
- package/dist/components/quote/quote.d.cts +19 -0
- package/dist/components/quote/quote.d.ts +19 -0
- package/dist/components/quote/quote.js +38 -0
- package/dist/components/quote/quote.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/stat/index.d.cts +2 -0
- package/dist/components/stat/index.d.ts +2 -0
- package/dist/components/stat/stat.cjs +122 -0
- package/dist/components/stat/stat.cjs.map +1 -0
- package/dist/components/stat/stat.d.cts +51 -0
- package/dist/components/stat/stat.d.ts +51 -0
- package/dist/components/stat/stat.js +114 -0
- package/dist/components/stat/stat.js.map +1 -0
- package/dist/components/stat-group/index.d.cts +2 -0
- package/dist/components/stat-group/index.d.ts +2 -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/components/typography/heading.cjs +8 -2
- package/dist/components/typography/heading.cjs.map +1 -1
- package/dist/components/typography/heading.d.cts +8 -1
- package/dist/components/typography/heading.d.ts +8 -1
- package/dist/components/typography/heading.js +8 -2
- package/dist/components/typography/heading.js.map +1 -1
- package/dist/components/typography/index.d.cts +2 -2
- package/dist/components/typography/index.d.ts +2 -2
- package/dist/components/typography/paragraph.cjs +7 -2
- package/dist/components/typography/paragraph.cjs.map +1 -1
- package/dist/components/typography/paragraph.d.cts +8 -2
- package/dist/components/typography/paragraph.d.ts +8 -2
- package/dist/components/typography/paragraph.js +7 -2
- package/dist/components/typography/paragraph.js.map +1 -1
- package/dist/components/typography/text.cjs +6 -2
- package/dist/components/typography/text.cjs.map +1 -1
- package/dist/components/typography/text.d.cts +5 -0
- package/dist/components/typography/text.d.ts +5 -0
- package/dist/components/typography/text.js +6 -2
- package/dist/components/typography/text.js.map +1 -1
- package/dist/index.cjs +28 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +20 -5
- package/dist/index.d.ts +20 -5
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -0
- package/dist/styled-system/recipes/alert.cjs +2 -1
- package/dist/styled-system/recipes/alert.cjs.map +1 -1
- package/dist/styled-system/recipes/alert.js +2 -1
- package/dist/styled-system/recipes/alert.js.map +1 -1
- package/dist/styled-system/recipes/aspect-ratio-box.cjs +25 -0
- package/dist/styled-system/recipes/aspect-ratio-box.cjs.map +1 -0
- package/dist/styled-system/recipes/aspect-ratio-box.js +25 -0
- package/dist/styled-system/recipes/aspect-ratio-box.js.map +1 -0
- package/dist/styled-system/recipes/badge.cjs +16 -6
- package/dist/styled-system/recipes/badge.cjs.map +1 -1
- package/dist/styled-system/recipes/badge.js +16 -6
- package/dist/styled-system/recipes/badge.js.map +1 -1
- package/dist/styled-system/recipes/code.cjs +33 -0
- package/dist/styled-system/recipes/code.cjs.map +1 -0
- package/dist/styled-system/recipes/code.js +33 -0
- package/dist/styled-system/recipes/code.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/figure.cjs +43 -0
- package/dist/styled-system/recipes/figure.cjs.map +1 -0
- package/dist/styled-system/recipes/figure.js +43 -0
- package/dist/styled-system/recipes/figure.js.map +1 -0
- package/dist/styled-system/recipes/heading.cjs +34 -9
- package/dist/styled-system/recipes/heading.cjs.map +1 -1
- package/dist/styled-system/recipes/heading.js +34 -9
- package/dist/styled-system/recipes/heading.js.map +1 -1
- package/dist/styled-system/recipes/image.cjs +57 -0
- package/dist/styled-system/recipes/image.cjs.map +1 -0
- package/dist/styled-system/recipes/image.js +57 -0
- package/dist/styled-system/recipes/image.js.map +1 -0
- package/dist/styled-system/recipes/kbd.cjs +39 -0
- package/dist/styled-system/recipes/kbd.cjs.map +1 -0
- package/dist/styled-system/recipes/kbd.js +39 -0
- package/dist/styled-system/recipes/kbd.js.map +1 -0
- package/dist/styled-system/recipes/paragraph.cjs +25 -2
- package/dist/styled-system/recipes/paragraph.cjs.map +1 -1
- package/dist/styled-system/recipes/paragraph.js +25 -2
- package/dist/styled-system/recipes/paragraph.js.map +1 -1
- package/dist/styled-system/recipes/progress.cjs +1 -0
- package/dist/styled-system/recipes/progress.cjs.map +1 -1
- package/dist/styled-system/recipes/progress.js +1 -0
- package/dist/styled-system/recipes/progress.js.map +1 -1
- package/dist/styled-system/recipes/quote.cjs +39 -0
- package/dist/styled-system/recipes/quote.cjs.map +1 -0
- package/dist/styled-system/recipes/quote.js +39 -0
- package/dist/styled-system/recipes/quote.js.map +1 -0
- package/dist/styled-system/recipes/stat-group.cjs +40 -0
- package/dist/styled-system/recipes/stat-group.cjs.map +1 -0
- package/dist/styled-system/recipes/stat-group.js +40 -0
- package/dist/styled-system/recipes/stat-group.js.map +1 -0
- package/dist/styled-system/recipes/stat.cjs +63 -0
- package/dist/styled-system/recipes/stat.cjs.map +1 -0
- package/dist/styled-system/recipes/stat.js +63 -0
- package/dist/styled-system/recipes/stat.js.map +1 -0
- package/dist/styled-system/recipes/text.cjs +23 -2
- package/dist/styled-system/recipes/text.cjs.map +1 -1
- package/dist/styled-system/recipes/text.js +23 -2
- package/dist/styled-system/recipes/text.js.map +1 -1
- package/dist/styles.css +1064 -117
- package/dist/theme/theme-provider.cjs +18 -8
- package/dist/theme/theme-provider.cjs.map +1 -1
- package/dist/theme/theme-provider.js +18 -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 +7 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/aspect-ratio-box.js
|
|
4
|
+
const aspectRatioBoxFn = /* @__PURE__ */ require_create_recipe.createRecipe("aspectRatioBox", {}, []);
|
|
5
|
+
const aspectRatioBoxVariantMap = {};
|
|
6
|
+
const aspectRatioBoxVariantKeys = Object.keys(aspectRatioBoxVariantMap);
|
|
7
|
+
const aspectRatioBox = /* @__PURE__ */ Object.assign(require_helpers.memo(aspectRatioBoxFn.recipeFn), {
|
|
8
|
+
__recipe__: true,
|
|
9
|
+
__name__: "aspectRatioBox",
|
|
10
|
+
__getCompoundVariantCss__: aspectRatioBoxFn.__getCompoundVariantCss__,
|
|
11
|
+
raw: (props) => props,
|
|
12
|
+
variantKeys: aspectRatioBoxVariantKeys,
|
|
13
|
+
variantMap: aspectRatioBoxVariantMap,
|
|
14
|
+
merge(recipe) {
|
|
15
|
+
return require_create_recipe.mergeRecipes(this, recipe);
|
|
16
|
+
},
|
|
17
|
+
splitVariantProps(props) {
|
|
18
|
+
return require_helpers.splitProps(props, aspectRatioBoxVariantKeys);
|
|
19
|
+
},
|
|
20
|
+
getVariantProps: aspectRatioBoxFn.getVariantProps
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.aspectRatioBox = aspectRatioBox;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=aspect-ratio-box.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio-box.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/aspect-ratio-box.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst aspectRatioBoxFn = /* @__PURE__ */ createRecipe('aspectRatioBox', {}, [])\n\nconst aspectRatioBoxVariantMap = {}\n\nconst aspectRatioBoxVariantKeys = Object.keys(aspectRatioBoxVariantMap)\n\nexport const aspectRatioBox = /* @__PURE__ */ Object.assign(memo(aspectRatioBoxFn.recipeFn), {\n __recipe__: true,\n __name__: 'aspectRatioBox',\n __getCompoundVariantCss__: aspectRatioBoxFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: aspectRatioBoxVariantKeys,\n variantMap: aspectRatioBoxVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, aspectRatioBoxVariantKeys)\n },\n getVariantProps: aspectRatioBoxFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,mBAAmC,sCAAA,aAAa,kBAAkB,CAAC,GAAG,CAAC,CAAC;AAE9E,MAAM,2BAA2B,CAAC;AAElC,MAAM,4BAA4B,OAAO,KAAK,wBAAwB;AAEtE,MAAa,iBAAiC,uBAAO,OAAOA,gBAAAA,KAAK,iBAAiB,QAAQ,GAAG;CAC3F,YAAY;CACZ,UAAU;CACV,2BAA2B,iBAAiB;CAC5C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,yBAAyB;CACpD;CACA,iBAAiB,iBAAiB;AACpC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/aspect-ratio-box.js
|
|
4
|
+
const aspectRatioBoxFn = /* @__PURE__ */ createRecipe("aspectRatioBox", {}, []);
|
|
5
|
+
const aspectRatioBoxVariantMap = {};
|
|
6
|
+
const aspectRatioBoxVariantKeys = Object.keys(aspectRatioBoxVariantMap);
|
|
7
|
+
const aspectRatioBox = /* @__PURE__ */ Object.assign(memo(aspectRatioBoxFn.recipeFn), {
|
|
8
|
+
__recipe__: true,
|
|
9
|
+
__name__: "aspectRatioBox",
|
|
10
|
+
__getCompoundVariantCss__: aspectRatioBoxFn.__getCompoundVariantCss__,
|
|
11
|
+
raw: (props) => props,
|
|
12
|
+
variantKeys: aspectRatioBoxVariantKeys,
|
|
13
|
+
variantMap: aspectRatioBoxVariantMap,
|
|
14
|
+
merge(recipe) {
|
|
15
|
+
return mergeRecipes(this, recipe);
|
|
16
|
+
},
|
|
17
|
+
splitVariantProps(props) {
|
|
18
|
+
return splitProps(props, aspectRatioBoxVariantKeys);
|
|
19
|
+
},
|
|
20
|
+
getVariantProps: aspectRatioBoxFn.getVariantProps
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { aspectRatioBox };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=aspect-ratio-box.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio-box.js","names":[],"sources":["../../../src/styled-system/recipes/aspect-ratio-box.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst aspectRatioBoxFn = /* @__PURE__ */ createRecipe('aspectRatioBox', {}, [])\n\nconst aspectRatioBoxVariantMap = {}\n\nconst aspectRatioBoxVariantKeys = Object.keys(aspectRatioBoxVariantMap)\n\nexport const aspectRatioBox = /* @__PURE__ */ Object.assign(memo(aspectRatioBoxFn.recipeFn), {\n __recipe__: true,\n __name__: 'aspectRatioBox',\n __getCompoundVariantCss__: aspectRatioBoxFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: aspectRatioBoxVariantKeys,\n variantMap: aspectRatioBoxVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, aspectRatioBoxVariantKeys)\n },\n getVariantProps: aspectRatioBoxFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,mBAAmC,6BAAa,kBAAkB,CAAC,GAAG,CAAC,CAAC;AAE9E,MAAM,2BAA2B,CAAC;AAElC,MAAM,4BAA4B,OAAO,KAAK,wBAAwB;AAEtE,MAAa,iBAAiC,uBAAO,OAAO,KAAK,iBAAiB,QAAQ,GAAG;CAC3F,YAAY;CACZ,UAAU;CACV,2BAA2B,iBAAiB;CAC5C,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,yBAAyB;CACpD;CACA,iBAAiB,iBAAiB;AACpC,CAAC"}
|
|
@@ -1,13 +1,23 @@
|
|
|
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/badge.js
|
|
4
|
-
const badgeFn = /* @__PURE__ */ require_create_recipe.createRecipe("badge", { "tone": "neutral" }, []);
|
|
4
|
+
const badgeFn = /* @__PURE__ */ require_create_recipe.createRecipe("badge", { "tone": "neutral-solid" }, []);
|
|
5
5
|
const badgeVariantMap = { "tone": [
|
|
6
|
-
"neutral",
|
|
7
|
-
"accent",
|
|
8
|
-
"success",
|
|
9
|
-
"warning",
|
|
10
|
-
"danger"
|
|
6
|
+
"neutral-solid",
|
|
7
|
+
"accent-solid",
|
|
8
|
+
"success-solid",
|
|
9
|
+
"warning-solid",
|
|
10
|
+
"danger-solid",
|
|
11
|
+
"neutral-soft",
|
|
12
|
+
"accent-soft",
|
|
13
|
+
"success-soft",
|
|
14
|
+
"warning-soft",
|
|
15
|
+
"danger-soft",
|
|
16
|
+
"neutral-outline",
|
|
17
|
+
"accent-outline",
|
|
18
|
+
"success-outline",
|
|
19
|
+
"warning-outline",
|
|
20
|
+
"danger-outline"
|
|
11
21
|
] };
|
|
12
22
|
const badgeVariantKeys = Object.keys(badgeVariantMap);
|
|
13
23
|
const badge = /* @__PURE__ */ Object.assign(require_helpers.memo(badgeFn.recipeFn), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/badge.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst badgeFn = /* @__PURE__ */ createRecipe('badge', {\n \"tone\": \"neutral\"\n}, [])\n\nconst badgeVariantMap = {\n \"tone\": [\n \"neutral\",\n \"accent\",\n \"success\",\n \"warning\",\n \"danger\"\n ]\n}\n\nconst badgeVariantKeys = Object.keys(badgeVariantMap)\n\nexport const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {\n __recipe__: true,\n __name__: 'badge',\n __getCompoundVariantCss__: badgeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: badgeVariantKeys,\n variantMap: badgeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, badgeVariantKeys)\n },\n getVariantProps: badgeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,sCAAA,aAAa,SAAS,EACpD,QAAQ,
|
|
1
|
+
{"version":3,"file":"badge.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/badge.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst badgeFn = /* @__PURE__ */ createRecipe('badge', {\n \"tone\": \"neutral-solid\"\n}, [])\n\nconst badgeVariantMap = {\n \"tone\": [\n \"neutral-solid\",\n \"accent-solid\",\n \"success-solid\",\n \"warning-solid\",\n \"danger-solid\",\n \"neutral-soft\",\n \"accent-soft\",\n \"success-soft\",\n \"warning-soft\",\n \"danger-soft\",\n \"neutral-outline\",\n \"accent-outline\",\n \"success-outline\",\n \"warning-outline\",\n \"danger-outline\"\n ]\n}\n\nconst badgeVariantKeys = Object.keys(badgeVariantMap)\n\nexport const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {\n __recipe__: true,\n __name__: 'badge',\n __getCompoundVariantCss__: badgeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: badgeVariantKeys,\n variantMap: badgeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, badgeVariantKeys)\n },\n getVariantProps: badgeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,sCAAA,aAAa,SAAS,EACpD,QAAQ,gBACV,GAAG,CAAC,CAAC;AAEL,MAAM,kBAAkB,EACtB,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF;AAEA,MAAM,mBAAmB,OAAO,KAAK,eAAe;AAEpD,MAAa,QAAwB,uBAAO,OAAOA,gBAAAA,KAAK,QAAQ,QAAQ,GAAG;CACzE,YAAY;CACZ,UAAU;CACV,2BAA2B,QAAQ;CACnC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,gBAAgB;CAC3C;CACA,iBAAiB,QAAQ;AAC3B,CAAC"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { memo, splitProps } from "../helpers.js";
|
|
2
2
|
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
3
|
//#region src/styled-system/recipes/badge.js
|
|
4
|
-
const badgeFn = /* @__PURE__ */ createRecipe("badge", { "tone": "neutral" }, []);
|
|
4
|
+
const badgeFn = /* @__PURE__ */ createRecipe("badge", { "tone": "neutral-solid" }, []);
|
|
5
5
|
const badgeVariantMap = { "tone": [
|
|
6
|
-
"neutral",
|
|
7
|
-
"accent",
|
|
8
|
-
"success",
|
|
9
|
-
"warning",
|
|
10
|
-
"danger"
|
|
6
|
+
"neutral-solid",
|
|
7
|
+
"accent-solid",
|
|
8
|
+
"success-solid",
|
|
9
|
+
"warning-solid",
|
|
10
|
+
"danger-solid",
|
|
11
|
+
"neutral-soft",
|
|
12
|
+
"accent-soft",
|
|
13
|
+
"success-soft",
|
|
14
|
+
"warning-soft",
|
|
15
|
+
"danger-soft",
|
|
16
|
+
"neutral-outline",
|
|
17
|
+
"accent-outline",
|
|
18
|
+
"success-outline",
|
|
19
|
+
"warning-outline",
|
|
20
|
+
"danger-outline"
|
|
11
21
|
] };
|
|
12
22
|
const badgeVariantKeys = Object.keys(badgeVariantMap);
|
|
13
23
|
const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","names":[],"sources":["../../../src/styled-system/recipes/badge.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst badgeFn = /* @__PURE__ */ createRecipe('badge', {\n \"tone\": \"neutral\"\n}, [])\n\nconst badgeVariantMap = {\n \"tone\": [\n \"neutral\",\n \"accent\",\n \"success\",\n \"warning\",\n \"danger\"\n ]\n}\n\nconst badgeVariantKeys = Object.keys(badgeVariantMap)\n\nexport const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {\n __recipe__: true,\n __name__: 'badge',\n __getCompoundVariantCss__: badgeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: badgeVariantKeys,\n variantMap: badgeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, badgeVariantKeys)\n },\n getVariantProps: badgeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,6BAAa,SAAS,EACpD,QAAQ,
|
|
1
|
+
{"version":3,"file":"badge.js","names":[],"sources":["../../../src/styled-system/recipes/badge.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst badgeFn = /* @__PURE__ */ createRecipe('badge', {\n \"tone\": \"neutral-solid\"\n}, [])\n\nconst badgeVariantMap = {\n \"tone\": [\n \"neutral-solid\",\n \"accent-solid\",\n \"success-solid\",\n \"warning-solid\",\n \"danger-solid\",\n \"neutral-soft\",\n \"accent-soft\",\n \"success-soft\",\n \"warning-soft\",\n \"danger-soft\",\n \"neutral-outline\",\n \"accent-outline\",\n \"success-outline\",\n \"warning-outline\",\n \"danger-outline\"\n ]\n}\n\nconst badgeVariantKeys = Object.keys(badgeVariantMap)\n\nexport const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {\n __recipe__: true,\n __name__: 'badge',\n __getCompoundVariantCss__: badgeFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: badgeVariantKeys,\n variantMap: badgeVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, badgeVariantKeys)\n },\n getVariantProps: badgeFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,UAA0B,6BAAa,SAAS,EACpD,QAAQ,gBACV,GAAG,CAAC,CAAC;AAEL,MAAM,kBAAkB,EACtB,QAAQ;CACN;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,EACF;AAEA,MAAM,mBAAmB,OAAO,KAAK,eAAe;AAEpD,MAAa,QAAwB,uBAAO,OAAO,KAAK,QAAQ,QAAQ,GAAG;CACzE,YAAY;CACZ,UAAU;CACV,2BAA2B,QAAQ;CACnC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,gBAAgB;CAC3C;CACA,iBAAiB,QAAQ;AAC3B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/code.js
|
|
4
|
+
const codeFn = /* @__PURE__ */ require_create_recipe.createRecipe("code", {
|
|
5
|
+
"variant": "inline",
|
|
6
|
+
"wrap": false,
|
|
7
|
+
"truncate": false
|
|
8
|
+
}, []);
|
|
9
|
+
const codeVariantMap = {
|
|
10
|
+
"variant": ["inline", "block"],
|
|
11
|
+
"wrap": ["true", "false"],
|
|
12
|
+
"truncate": ["true", "false"]
|
|
13
|
+
};
|
|
14
|
+
const codeVariantKeys = Object.keys(codeVariantMap);
|
|
15
|
+
const code = /* @__PURE__ */ Object.assign(require_helpers.memo(codeFn.recipeFn), {
|
|
16
|
+
__recipe__: true,
|
|
17
|
+
__name__: "code",
|
|
18
|
+
__getCompoundVariantCss__: codeFn.__getCompoundVariantCss__,
|
|
19
|
+
raw: (props) => props,
|
|
20
|
+
variantKeys: codeVariantKeys,
|
|
21
|
+
variantMap: codeVariantMap,
|
|
22
|
+
merge(recipe) {
|
|
23
|
+
return require_create_recipe.mergeRecipes(this, recipe);
|
|
24
|
+
},
|
|
25
|
+
splitVariantProps(props) {
|
|
26
|
+
return require_helpers.splitProps(props, codeVariantKeys);
|
|
27
|
+
},
|
|
28
|
+
getVariantProps: codeFn.getVariantProps
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.code = code;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=code.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.cjs","names":["memo","mergeRecipes","splitProps"],"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,sCAAA,aAAa,QAAQ;CAClD,WAAW;CACX,QAAQ;CACR,YAAY;AACd,GAAG,CAAC,CAAC;AAEL,MAAM,iBAAiB;CACrB,WAAW,CACT,UACA,OACF;CACA,QAAQ,CACN,QACA,OACF;CACA,YAAY,CACV,QACA,OACF;AACF;AAEA,MAAM,kBAAkB,OAAO,KAAK,cAAc;AAElD,MAAa,OAAuB,uBAAO,OAAOA,gBAAAA,KAAK,OAAO,QAAQ,GAAG;CACvE,YAAY;CACZ,UAAU;CACV,2BAA2B,OAAO;CAClC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,eAAe;CAC1C;CACA,iBAAiB,OAAO;AAC1B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/code.js
|
|
4
|
+
const codeFn = /* @__PURE__ */ createRecipe("code", {
|
|
5
|
+
"variant": "inline",
|
|
6
|
+
"wrap": false,
|
|
7
|
+
"truncate": false
|
|
8
|
+
}, []);
|
|
9
|
+
const codeVariantMap = {
|
|
10
|
+
"variant": ["inline", "block"],
|
|
11
|
+
"wrap": ["true", "false"],
|
|
12
|
+
"truncate": ["true", "false"]
|
|
13
|
+
};
|
|
14
|
+
const codeVariantKeys = Object.keys(codeVariantMap);
|
|
15
|
+
const code = /* @__PURE__ */ Object.assign(memo(codeFn.recipeFn), {
|
|
16
|
+
__recipe__: true,
|
|
17
|
+
__name__: "code",
|
|
18
|
+
__getCompoundVariantCss__: codeFn.__getCompoundVariantCss__,
|
|
19
|
+
raw: (props) => props,
|
|
20
|
+
variantKeys: codeVariantKeys,
|
|
21
|
+
variantMap: codeVariantMap,
|
|
22
|
+
merge(recipe) {
|
|
23
|
+
return mergeRecipes(this, recipe);
|
|
24
|
+
},
|
|
25
|
+
splitVariantProps(props) {
|
|
26
|
+
return splitProps(props, codeVariantKeys);
|
|
27
|
+
},
|
|
28
|
+
getVariantProps: codeFn.getVariantProps
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { code };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=code.js.map
|
|
@@ -0,0 +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;AACd,GAAG,CAAC,CAAC;AAEL,MAAM,iBAAiB;CACrB,WAAW,CACT,UACA,OACF;CACA,QAAQ,CACN,QACA,OACF;CACA,YAAY,CACV,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"}
|
|
@@ -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,43 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/figure.js
|
|
4
|
+
const figureDefaultVariants = {};
|
|
5
|
+
const figureCompoundVariants = [];
|
|
6
|
+
const figureSlotFns = /* @__PURE__ */ [
|
|
7
|
+
["root", "figure__root"],
|
|
8
|
+
["image", "figure__image"],
|
|
9
|
+
["caption", "figure__caption"],
|
|
10
|
+
["trigger", "figure__trigger"],
|
|
11
|
+
["backdrop", "figure__backdrop"],
|
|
12
|
+
["viewport", "figure__viewport"],
|
|
13
|
+
["popup", "figure__popup"],
|
|
14
|
+
["lightboxImage", "figure__lightboxImage"],
|
|
15
|
+
["lightboxCaption", "figure__lightboxCaption"],
|
|
16
|
+
["closeRow", "figure__closeRow"],
|
|
17
|
+
["close", "figure__close"],
|
|
18
|
+
["title", "figure__title"]
|
|
19
|
+
].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, figureDefaultVariants, require_helpers.getSlotCompoundVariant(figureCompoundVariants, slotName))]);
|
|
20
|
+
const figureFn = require_helpers.memo((props = {}) => {
|
|
21
|
+
return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
22
|
+
});
|
|
23
|
+
const figureVariantKeys = [];
|
|
24
|
+
const getVariantProps = (variants) => ({
|
|
25
|
+
...figureDefaultVariants,
|
|
26
|
+
...require_helpers.compact(variants)
|
|
27
|
+
});
|
|
28
|
+
const figure = /* @__PURE__ */ Object.assign(figureFn, {
|
|
29
|
+
__recipe__: false,
|
|
30
|
+
__name__: "figure",
|
|
31
|
+
raw: (props) => props,
|
|
32
|
+
classNameMap: {},
|
|
33
|
+
variantKeys: figureVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return require_helpers.splitProps(props, figureVariantKeys);
|
|
37
|
+
},
|
|
38
|
+
getVariantProps
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.figure = figure;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=figure.cjs.map
|
|
@@ -0,0 +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 \"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"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from "../helpers.js";
|
|
2
|
+
import { createRecipe } from "./create-recipe.js";
|
|
3
|
+
//#region src/styled-system/recipes/figure.js
|
|
4
|
+
const figureDefaultVariants = {};
|
|
5
|
+
const figureCompoundVariants = [];
|
|
6
|
+
const figureSlotFns = /* @__PURE__ */ [
|
|
7
|
+
["root", "figure__root"],
|
|
8
|
+
["image", "figure__image"],
|
|
9
|
+
["caption", "figure__caption"],
|
|
10
|
+
["trigger", "figure__trigger"],
|
|
11
|
+
["backdrop", "figure__backdrop"],
|
|
12
|
+
["viewport", "figure__viewport"],
|
|
13
|
+
["popup", "figure__popup"],
|
|
14
|
+
["lightboxImage", "figure__lightboxImage"],
|
|
15
|
+
["lightboxCaption", "figure__lightboxCaption"],
|
|
16
|
+
["closeRow", "figure__closeRow"],
|
|
17
|
+
["close", "figure__close"],
|
|
18
|
+
["title", "figure__title"]
|
|
19
|
+
].map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, figureDefaultVariants, getSlotCompoundVariant(figureCompoundVariants, slotName))]);
|
|
20
|
+
const figureFn = memo((props = {}) => {
|
|
21
|
+
return Object.fromEntries(figureSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
22
|
+
});
|
|
23
|
+
const figureVariantKeys = [];
|
|
24
|
+
const getVariantProps = (variants) => ({
|
|
25
|
+
...figureDefaultVariants,
|
|
26
|
+
...compact(variants)
|
|
27
|
+
});
|
|
28
|
+
const figure = /* @__PURE__ */ Object.assign(figureFn, {
|
|
29
|
+
__recipe__: false,
|
|
30
|
+
__name__: "figure",
|
|
31
|
+
raw: (props) => props,
|
|
32
|
+
classNameMap: {},
|
|
33
|
+
variantKeys: figureVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, figureVariantKeys);
|
|
37
|
+
},
|
|
38
|
+
getVariantProps
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { figure };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=figure.js.map
|
|
@@ -0,0 +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 \"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"}
|
|
@@ -1,15 +1,40 @@
|
|
|
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/heading.js
|
|
4
|
-
const headingFn = /* @__PURE__ */ require_create_recipe.createRecipe("heading", {
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
4
|
+
const headingFn = /* @__PURE__ */ require_create_recipe.createRecipe("heading", {
|
|
5
|
+
"weight": "bold",
|
|
6
|
+
"size": "md",
|
|
7
|
+
"truncate": false,
|
|
8
|
+
"width": "auto"
|
|
9
|
+
}, []);
|
|
10
|
+
const headingVariantMap = {
|
|
11
|
+
"weight": [
|
|
12
|
+
"normal",
|
|
13
|
+
"medium",
|
|
14
|
+
"semibold",
|
|
15
|
+
"bold"
|
|
16
|
+
],
|
|
17
|
+
"truncate": ["true", "false"],
|
|
18
|
+
"lineClamp": [
|
|
19
|
+
"1",
|
|
20
|
+
"2",
|
|
21
|
+
"3",
|
|
22
|
+
"4"
|
|
23
|
+
],
|
|
24
|
+
"width": [
|
|
25
|
+
"auto",
|
|
26
|
+
"fit",
|
|
27
|
+
"full"
|
|
28
|
+
],
|
|
29
|
+
"size": [
|
|
30
|
+
"xs",
|
|
31
|
+
"sm",
|
|
32
|
+
"md",
|
|
33
|
+
"lg",
|
|
34
|
+
"xl",
|
|
35
|
+
"2xl"
|
|
36
|
+
]
|
|
37
|
+
};
|
|
13
38
|
const headingVariantKeys = Object.keys(headingVariantMap);
|
|
14
39
|
const heading = /* @__PURE__ */ Object.assign(require_helpers.memo(headingFn.recipeFn), {
|
|
15
40
|
__recipe__: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/heading.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst headingFn = /* @__PURE__ */ createRecipe('heading', {\n \"size\": \"md\"\n}, [])\n\nconst headingVariantMap = {\n \"size\": [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\"\n ]\n}\n\nconst headingVariantKeys = Object.keys(headingVariantMap)\n\nexport const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {\n __recipe__: true,\n __name__: 'heading',\n __getCompoundVariantCss__: headingFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: headingVariantKeys,\n variantMap: headingVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, headingVariantKeys)\n },\n getVariantProps: headingFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,YAA4B,sCAAA,aAAa,WAAW,
|
|
1
|
+
{"version":3,"file":"heading.cjs","names":["memo","mergeRecipes","splitProps"],"sources":["../../../src/styled-system/recipes/heading.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst headingFn = /* @__PURE__ */ createRecipe('heading', {\n \"weight\": \"bold\",\n \"size\": \"md\",\n \"truncate\": false,\n \"width\": \"auto\"\n}, [])\n\nconst headingVariantMap = {\n \"weight\": [\n \"normal\",\n \"medium\",\n \"semibold\",\n \"bold\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ],\n \"lineClamp\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"width\": [\n \"auto\",\n \"fit\",\n \"full\"\n ],\n \"size\": [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\"\n ]\n}\n\nconst headingVariantKeys = Object.keys(headingVariantMap)\n\nexport const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {\n __recipe__: true,\n __name__: 'heading',\n __getCompoundVariantCss__: headingFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: headingVariantKeys,\n variantMap: headingVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, headingVariantKeys)\n },\n getVariantProps: headingFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,YAA4B,sCAAA,aAAa,WAAW;CACxD,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,SAAS;AACX,GAAG,CAAC,CAAC;AAEL,MAAM,oBAAoB;CACxB,UAAU;EACR;EACA;EACA;EACA;CACF;CACA,YAAY,CACV,QACA,OACF;CACA,aAAa;EACX;EACA;EACA;EACA;CACF;CACA,SAAS;EACP;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;CACF;AACF;AAEA,MAAM,qBAAqB,OAAO,KAAK,iBAAiB;AAExD,MAAa,UAA0B,uBAAO,OAAOA,gBAAAA,KAAK,UAAU,QAAQ,GAAG;CAC7E,YAAY;CACZ,UAAU;CACV,2BAA2B,UAAU;CACrC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAOC,sBAAAA,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAOC,gBAAAA,WAAW,OAAO,kBAAkB;CAC7C;CACA,iBAAiB,UAAU;AAC7B,CAAC"}
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
import { memo, splitProps } from "../helpers.js";
|
|
2
2
|
import { createRecipe, mergeRecipes } from "./create-recipe.js";
|
|
3
3
|
//#region src/styled-system/recipes/heading.js
|
|
4
|
-
const headingFn = /* @__PURE__ */ createRecipe("heading", {
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
4
|
+
const headingFn = /* @__PURE__ */ createRecipe("heading", {
|
|
5
|
+
"weight": "bold",
|
|
6
|
+
"size": "md",
|
|
7
|
+
"truncate": false,
|
|
8
|
+
"width": "auto"
|
|
9
|
+
}, []);
|
|
10
|
+
const headingVariantMap = {
|
|
11
|
+
"weight": [
|
|
12
|
+
"normal",
|
|
13
|
+
"medium",
|
|
14
|
+
"semibold",
|
|
15
|
+
"bold"
|
|
16
|
+
],
|
|
17
|
+
"truncate": ["true", "false"],
|
|
18
|
+
"lineClamp": [
|
|
19
|
+
"1",
|
|
20
|
+
"2",
|
|
21
|
+
"3",
|
|
22
|
+
"4"
|
|
23
|
+
],
|
|
24
|
+
"width": [
|
|
25
|
+
"auto",
|
|
26
|
+
"fit",
|
|
27
|
+
"full"
|
|
28
|
+
],
|
|
29
|
+
"size": [
|
|
30
|
+
"xs",
|
|
31
|
+
"sm",
|
|
32
|
+
"md",
|
|
33
|
+
"lg",
|
|
34
|
+
"xl",
|
|
35
|
+
"2xl"
|
|
36
|
+
]
|
|
37
|
+
};
|
|
13
38
|
const headingVariantKeys = Object.keys(headingVariantMap);
|
|
14
39
|
const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {
|
|
15
40
|
__recipe__: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.js","names":[],"sources":["../../../src/styled-system/recipes/heading.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst headingFn = /* @__PURE__ */ createRecipe('heading', {\n \"size\": \"md\"\n}, [])\n\nconst headingVariantMap = {\n \"size\": [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\"\n ]\n}\n\nconst headingVariantKeys = Object.keys(headingVariantMap)\n\nexport const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {\n __recipe__: true,\n __name__: 'heading',\n __getCompoundVariantCss__: headingFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: headingVariantKeys,\n variantMap: headingVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, headingVariantKeys)\n },\n getVariantProps: headingFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,YAA4B,6BAAa,WAAW,
|
|
1
|
+
{"version":3,"file":"heading.js","names":[],"sources":["../../../src/styled-system/recipes/heading.js"],"sourcesContent":["import { memo, splitProps } from '../helpers.js';\nimport { createRecipe, mergeRecipes } from './create-recipe.js';\n\nconst headingFn = /* @__PURE__ */ createRecipe('heading', {\n \"weight\": \"bold\",\n \"size\": \"md\",\n \"truncate\": false,\n \"width\": \"auto\"\n}, [])\n\nconst headingVariantMap = {\n \"weight\": [\n \"normal\",\n \"medium\",\n \"semibold\",\n \"bold\"\n ],\n \"truncate\": [\n \"true\",\n \"false\"\n ],\n \"lineClamp\": [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ],\n \"width\": [\n \"auto\",\n \"fit\",\n \"full\"\n ],\n \"size\": [\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"2xl\"\n ]\n}\n\nconst headingVariantKeys = Object.keys(headingVariantMap)\n\nexport const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {\n __recipe__: true,\n __name__: 'heading',\n __getCompoundVariantCss__: headingFn.__getCompoundVariantCss__,\n raw: (props) => props,\n variantKeys: headingVariantKeys,\n variantMap: headingVariantMap,\n merge(recipe) {\n return mergeRecipes(this, recipe)\n },\n splitVariantProps(props) {\n return splitProps(props, headingVariantKeys)\n },\n getVariantProps: headingFn.getVariantProps,\n})"],"mappings":";;;AAGA,MAAM,YAA4B,6BAAa,WAAW;CACxD,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,SAAS;AACX,GAAG,CAAC,CAAC;AAEL,MAAM,oBAAoB;CACxB,UAAU;EACR;EACA;EACA;EACA;CACF;CACA,YAAY,CACV,QACA,OACF;CACA,aAAa;EACX;EACA;EACA;EACA;CACF;CACA,SAAS;EACP;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;CACF;AACF;AAEA,MAAM,qBAAqB,OAAO,KAAK,iBAAiB;AAExD,MAAa,UAA0B,uBAAO,OAAO,KAAK,UAAU,QAAQ,GAAG;CAC7E,YAAY;CACZ,UAAU;CACV,2BAA2B,UAAU;CACrC,MAAM,UAAU;CAChB,aAAa;CACb,YAAY;CACZ,MAAM,QAAQ;EACZ,OAAO,aAAa,MAAM,MAAM;CAClC;CACA,kBAAkB,OAAO;EACvB,OAAO,WAAW,OAAO,kBAAkB;CAC7C;CACA,iBAAiB,UAAU;AAC7B,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const require_helpers = require("../helpers.cjs");
|
|
2
|
+
const require_create_recipe = require("./create-recipe.cjs");
|
|
3
|
+
//#region src/styled-system/recipes/image.js
|
|
4
|
+
const imageDefaultVariants = {
|
|
5
|
+
"fit": "cover",
|
|
6
|
+
"status": "loading"
|
|
7
|
+
};
|
|
8
|
+
const imageCompoundVariants = [];
|
|
9
|
+
const imageSlotFns = /* @__PURE__ */ [
|
|
10
|
+
["root", "image__root"],
|
|
11
|
+
["image", "image__image"],
|
|
12
|
+
["fallback", "image__fallback"],
|
|
13
|
+
["trigger", "image__trigger"],
|
|
14
|
+
["backdrop", "image__backdrop"],
|
|
15
|
+
["viewport", "image__viewport"],
|
|
16
|
+
["popup", "image__popup"],
|
|
17
|
+
["lightboxImage", "image__lightboxImage"],
|
|
18
|
+
["closeRow", "image__closeRow"],
|
|
19
|
+
["close", "image__close"],
|
|
20
|
+
["title", "image__title"]
|
|
21
|
+
].map(([slotName, slotKey]) => [slotName, require_create_recipe.createRecipe(slotKey, imageDefaultVariants, require_helpers.getSlotCompoundVariant(imageCompoundVariants, slotName))]);
|
|
22
|
+
const imageFn = require_helpers.memo((props = {}) => {
|
|
23
|
+
return Object.fromEntries(imageSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
24
|
+
});
|
|
25
|
+
const imageVariantKeys = ["fit", "status"];
|
|
26
|
+
const getVariantProps = (variants) => ({
|
|
27
|
+
...imageDefaultVariants,
|
|
28
|
+
...require_helpers.compact(variants)
|
|
29
|
+
});
|
|
30
|
+
const image = /* @__PURE__ */ Object.assign(imageFn, {
|
|
31
|
+
__recipe__: false,
|
|
32
|
+
__name__: "image",
|
|
33
|
+
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
35
|
+
variantKeys: imageVariantKeys,
|
|
36
|
+
variantMap: {
|
|
37
|
+
"fit": [
|
|
38
|
+
"contain",
|
|
39
|
+
"cover",
|
|
40
|
+
"fill",
|
|
41
|
+
"none"
|
|
42
|
+
],
|
|
43
|
+
"status": [
|
|
44
|
+
"loading",
|
|
45
|
+
"loaded",
|
|
46
|
+
"error"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
splitVariantProps(props) {
|
|
50
|
+
return require_helpers.splitProps(props, imageVariantKeys);
|
|
51
|
+
},
|
|
52
|
+
getVariantProps
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
exports.image = image;
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=image.cjs.map
|
|
@@ -0,0 +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 \"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"}
|