@mage-ui/preset 0.0.20 → 0.0.22

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.
@@ -1,2 +1,2 @@
1
- import{defineSlotRecipe as e}from"@pandabox/define-recipe";const t=e({className:`icon`,jsx:[`Icon`],slots:[`root`,`svg`],base:{root:{display:`inline-flex`,justifyContent:`center`,alignItems:`center`,flexShrink:0,aspectRatio:`1`,transition:`all 0.2s ease`},svg:{fill:`none`,stroke:`currentColor`,display:`block`,width:`100%`,aspectRatio:`1`,pointerEvents:`none`}},variants:{size:{xs:{root:{height:`0.75rem`,width:`0.75rem`},svg:{strokeWidth:`1`}},s:{root:{height:`1rem`,width:`1rem`},svg:{strokeWidth:`1.5`}},m:{root:{height:`1.25rem`,width:`1.25rem`},svg:{strokeWidth:`1.5`}},l:{root:{height:`1.375rem`,width:`1.375rem`},svg:{strokeWidth:`1.5`}},xl:{root:{height:`1.5rem`,width:`1.5rem`},svg:{strokeWidth:`1.5`}}}},defaultVariants:{size:`m`}});export{t as icon};
1
+ import{defineSlotRecipe as e}from"@pandabox/define-recipe";const t=e({className:`icon`,jsx:[`Icon`],slots:[`root`,`svg`],base:{root:{display:`inline-flex`,justifyContent:`center`,alignItems:`center`,flexShrink:0,aspectRatio:`1`,transition:`all 0.2s ease`},svg:{fill:`none`,stroke:`currentColor`,display:`block`,width:`100%`,aspectRatio:`1`,pointerEvents:`none`}},variants:{size:{xs:{root:{width:`0.75rem`},svg:{strokeWidth:`1`}},s:{root:{width:`1rem`},svg:{strokeWidth:`1.5`}},m:{root:{width:`1.25rem`},svg:{strokeWidth:`1.5`}},l:{root:{width:`1.375rem`},svg:{strokeWidth:`1.5`}},xl:{root:{width:`1.5rem`},svg:{strokeWidth:`1.5`}}}},defaultVariants:{size:`m`}});export{t as icon};
2
2
  //# sourceMappingURL=icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","names":[],"sources":["../../../../src/recipes/atoms/icon/icon.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandabox/define-recipe';\n\nexport const icon = defineSlotRecipe({\n className: 'icon',\n jsx: ['Icon'],\n slots: ['root', 'svg'],\n base: {\n root: {\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexShrink: 0,\n aspectRatio: '1',\n transition: 'all 0.2s ease',\n },\n svg: {\n fill: 'none',\n stroke: 'currentColor',\n display: 'block',\n width: '100%',\n aspectRatio: '1',\n pointerEvents: 'none',\n },\n },\n variants: {\n size: {\n xs: {\n root: { height: '0.75rem', width: '0.75rem' },\n svg: { strokeWidth: '1' },\n },\n s: {\n root: { height: '1rem', width: '1rem' },\n svg: { strokeWidth: '1.5' },\n },\n m: {\n root: { height: '1.25rem', width: '1.25rem' },\n svg: { strokeWidth: '1.5' },\n },\n l: {\n root: { height: '1.375rem', width: '1.375rem' },\n svg: { strokeWidth: '1.5' },\n },\n xl: {\n root: { height: '1.5rem', width: '1.5rem' },\n svg: { strokeWidth: '1.5' },\n },\n },\n },\n defaultVariants: {\n size: 'm',\n },\n});\n"],"mappings":"2DAEA,MAAa,EAAO,EAAiB,CACnC,UAAW,OACX,IAAK,CAAC,MAAO,EACb,MAAO,CAAC,OAAQ,KAAM,EACtB,KAAM,CACJ,KAAM,CACJ,QAAS,cACT,eAAgB,SAChB,WAAY,SACZ,WAAY,EACZ,YAAa,IACb,WAAY,eACb,EACD,IAAK,CACH,KAAM,OACN,OAAQ,eACR,QAAS,QACT,MAAO,OACP,YAAa,IACb,cAAe,MAChB,CACF,EACD,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,CAAE,OAAQ,UAAW,MAAO,SAAW,EAC7C,IAAK,CAAE,YAAa,GAAK,CAC1B,EACD,EAAG,CACD,KAAM,CAAE,OAAQ,OAAQ,MAAO,MAAQ,EACvC,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,EAAG,CACD,KAAM,CAAE,OAAQ,UAAW,MAAO,SAAW,EAC7C,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,EAAG,CACD,KAAM,CAAE,OAAQ,WAAY,MAAO,UAAY,EAC/C,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,GAAI,CACF,KAAM,CAAE,OAAQ,SAAU,MAAO,QAAU,EAC3C,IAAK,CAAE,YAAa,KAAO,CAC5B,CACF,CACF,EACD,gBAAiB,CACf,KAAM,GACP,CACF,EAAC"}
1
+ {"version":3,"file":"icon.js","names":[],"sources":["../../../../src/recipes/atoms/icon/icon.ts"],"sourcesContent":["import { defineSlotRecipe } from '@pandabox/define-recipe';\n\nexport const icon = defineSlotRecipe({\n className: 'icon',\n jsx: ['Icon'],\n slots: ['root', 'svg'],\n base: {\n root: {\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexShrink: 0,\n aspectRatio: '1',\n transition: 'all 0.2s ease',\n },\n svg: {\n fill: 'none',\n stroke: 'currentColor',\n display: 'block',\n width: '100%',\n aspectRatio: '1',\n pointerEvents: 'none',\n },\n },\n variants: {\n size: {\n xs: {\n root: { width: '0.75rem' },\n svg: { strokeWidth: '1' },\n },\n s: {\n root: { width: '1rem' },\n svg: { strokeWidth: '1.5' },\n },\n m: {\n root: { width: '1.25rem' },\n svg: { strokeWidth: '1.5' },\n },\n l: {\n root: { width: '1.375rem' },\n svg: { strokeWidth: '1.5' },\n },\n xl: {\n root: { width: '1.5rem' },\n svg: { strokeWidth: '1.5' },\n },\n },\n },\n defaultVariants: {\n size: 'm',\n },\n});\n"],"mappings":"2DAEA,MAAa,EAAO,EAAiB,CACnC,UAAW,OACX,IAAK,CAAC,MAAO,EACb,MAAO,CAAC,OAAQ,KAAM,EACtB,KAAM,CACJ,KAAM,CACJ,QAAS,cACT,eAAgB,SAChB,WAAY,SACZ,WAAY,EACZ,YAAa,IACb,WAAY,eACb,EACD,IAAK,CACH,KAAM,OACN,OAAQ,eACR,QAAS,QACT,MAAO,OACP,YAAa,IACb,cAAe,MAChB,CACF,EACD,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,CAAE,MAAO,SAAW,EAC1B,IAAK,CAAE,YAAa,GAAK,CAC1B,EACD,EAAG,CACD,KAAM,CAAE,MAAO,MAAQ,EACvB,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,EAAG,CACD,KAAM,CAAE,MAAO,SAAW,EAC1B,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,EAAG,CACD,KAAM,CAAE,MAAO,UAAY,EAC3B,IAAK,CAAE,YAAa,KAAO,CAC5B,EACD,GAAI,CACF,KAAM,CAAE,MAAO,QAAU,EACzB,IAAK,CAAE,YAAa,KAAO,CAC5B,CACF,CACF,EACD,gBAAiB,CACf,KAAM,GACP,CACF,EAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mage-ui/preset",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],