@mage-ui/preset 0.0.52 → 0.0.53
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/dist/recipes/atoms/inputs/input-description.js +1 -1
- package/dist/recipes/atoms/inputs/input-description.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-label.js +1 -1
- package/dist/recipes/atoms/inputs/input-label.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-placeholder.js +1 -1
- package/dist/recipes/atoms/inputs/input-placeholder.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-root.js +1 -1
- package/dist/recipes/atoms/inputs/input-root.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-section.js +1 -1
- package/dist/recipes/atoms/inputs/input-section.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-wrapper.js +1 -1
- package/dist/recipes/atoms/inputs/input-wrapper.js.map +1 -1
- package/dist/recipes/atoms/inputs/input.js +1 -1
- package/dist/recipes/atoms/inputs/input.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-description`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-description`,jsx:[`InputText`,`FormInputText`],base:{order:`2`,fontSize:`300`,lineHeight:`1.6`,fontWeight:`400`,color:`neutral.foreground.2.enabled`,margin:`0`}});export{t as inputDescription};
|
|
2
2
|
//# sourceMappingURL=input-description.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-description.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-description.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputDescription = defineRecipe({\n className: 'input-description',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-description.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-description.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputDescription = defineRecipe({\n className: 'input-description',\n jsx: ['InputText', 'FormInputText'],\n base: {\n order: '2',\n fontSize: '300',\n lineHeight: '1.6',\n fontWeight: '400',\n color: 'neutral.foreground.2.enabled',\n margin: '0',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAmB,EAAa,CAC3C,UAAW,oBACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,MAAO,IACP,SAAU,MACV,WAAY,MACZ,WAAY,MACZ,MAAO,+BACP,OAAQ,IACT,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-label`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-label`,jsx:[`InputText`,`FormInputText`],base:{order:`0`,fontWeight:`500`,color:`neutral.foreground.2.enabled`},variants:{size:{l:{fontSize:`300`},m:{fontSize:`200`}}},defaultVariants:{size:`l`}});export{t as inputLabel};
|
|
2
2
|
//# sourceMappingURL=input-label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-label.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-label.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputLabel = defineRecipe({\n className: 'input-label',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-label.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-label.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputLabel = defineRecipe({\n className: 'input-label',\n jsx: ['InputText', 'FormInputText'],\n base: {\n order: '0',\n fontWeight: '500',\n color: 'neutral.foreground.2.enabled',\n },\n variants: {\n size: {\n l: {\n fontSize: '300',\n },\n m: {\n fontSize: '200',\n },\n },\n },\n defaultVariants: {\n size: 'l',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,cACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,MAAO,IACP,WAAY,MACZ,MAAO,+BACR,CACD,SAAU,CACR,KAAM,CACJ,EAAG,CACD,SAAU,MACX,CACD,EAAG,CACD,SAAU,MACX,CACF,CACF,CACD,gBAAiB,CACf,KAAM,IACP,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-placeholder`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-placeholder`,jsx:[`InputText`,`FormInputText`],base:{color:`neutral.foreground.3.enabled`}});export{t as inputPlaceholder};
|
|
2
2
|
//# sourceMappingURL=input-placeholder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-placeholder.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-placeholder.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputPlaceholder = defineRecipe({\n className: 'input-placeholder',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-placeholder.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-placeholder.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputPlaceholder = defineRecipe({\n className: 'input-placeholder',\n jsx: ['InputText', 'FormInputText'],\n base: {\n color: 'neutral.foreground.3.enabled',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAmB,EAAa,CAC3C,UAAW,oBACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,MAAO,+BACR,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-root`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-root`,jsx:[`InputText`,`FormInputText`],base:{display:`flex`,flexDirection:`column`,gap:`200`,width:`100%`}});export{t as inputRoot};
|
|
2
2
|
//# sourceMappingURL=input-root.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-root.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-root.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputRoot = defineRecipe({\n className: 'input-root',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-root.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-root.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputRoot = defineRecipe({\n className: 'input-root',\n jsx: ['InputText', 'FormInputText'],\n base: {\n display: 'flex',\n flexDirection: 'column',\n gap: '200',\n width: '100%',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAY,EAAa,CACpC,UAAW,aACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,QAAS,OACT,cAAe,SACf,IAAK,MACL,MAAO,OACR,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-section`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-section`,jsx:[`InputText`,`FormInputText`],base:{position:`absolute`,top:`50%`,transform:`translateY(-50%)`,zIndex:`10`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`neutral.foreground.3.enabled`,_leftSlot:{left:`{spacing.300}`},_rightSlot:{right:`{spacing.300}`}},variants:{pointerEvents:{none:{pointerEvents:`none`},auto:{pointerEvents:`auto`}}}});export{t as inputSection};
|
|
2
2
|
//# sourceMappingURL=input-section.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-section.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-section.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputSection = defineRecipe({\n className: 'input-section',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-section.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-section.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputSection = defineRecipe({\n className: 'input-section',\n jsx: ['InputText', 'FormInputText'],\n base: {\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)',\n zIndex: '10',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'neutral.foreground.3.enabled',\n _leftSlot: {\n left: '{spacing.300}',\n },\n _rightSlot: {\n right: '{spacing.300}',\n },\n },\n variants: {\n pointerEvents: {\n none: {\n pointerEvents: 'none',\n },\n auto: {\n pointerEvents: 'auto',\n },\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,gBACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,SAAU,WACV,IAAK,MACL,UAAW,mBACX,OAAQ,KACR,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,MAAO,+BACP,UAAW,CACT,KAAM,gBACP,CACD,WAAY,CACV,MAAO,gBACR,CACF,CACD,SAAU,CACR,cAAe,CACb,KAAM,CACJ,cAAe,OAChB,CACD,KAAM,CACJ,cAAe,OAChB,CACF,CACF,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-wrapper`,jsx:[`
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-wrapper`,jsx:[`InputText`,`FormInputText`],base:{order:`1`,position:`relative`,color:`neutral.foreground.1.enabled`,'&:is([data-with-right-section="true"])':{paddingInlineEnd:`var(--input-left-section-width) `}}});export{t as inputWrapper};
|
|
2
2
|
//# sourceMappingURL=input-wrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-wrapper.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-wrapper.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputWrapper = defineRecipe({\n className: 'input-wrapper',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input-wrapper.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input-wrapper.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const inputWrapper = defineRecipe({\n className: 'input-wrapper',\n jsx: ['InputText', 'FormInputText'],\n base: {\n order: '1',\n position: 'relative',\n color: 'neutral.foreground.1.enabled',\n '&:is([data-with-right-section=\"true\"])': {\n paddingInlineEnd: 'var(--input-left-section-width)\t',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,gBACX,IAAK,CAAC,YAAa,gBAAgB,CACnC,KAAM,CACJ,MAAO,IACP,SAAU,WACV,MAAO,+BACP,yCAA0C,CACxC,iBAAkB,mCACnB,CACF,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{formControl as e}from"./form-control.js";const t=e.merge({className:`input`,jsx:[`
|
|
1
|
+
import{formControl as e}from"./form-control.js";const t=e.merge({className:`input`,jsx:[`InputText`,`FormInputText`,`Textarea`],base:{width:`100%`,"&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:`none`},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:`none`},"&[type=number]":{"-moz-appearance":`textfield`},'[data-with-left-section="true"] &':{paddingInlineStart:`calc({sizes.400} + {spacing.200})`},'[data-with-right-section="true"] &':{paddingInlineEnd:`calc({sizes.400} + {spacing.200})`},_placeholder:{color:`neutral.foreground.3.enabled`}},variants:{size:{l:{height:`control.height.300`},m:{height:`control.height.200`}}},defaultVariants:{size:`l`}});export{t as input};
|
|
2
2
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { formControl } from './form-control';\n\nexport const input = formControl.merge({\n className: 'input',\n jsx: ['
|
|
1
|
+
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { formControl } from './form-control';\n\nexport const input = formControl.merge({\n className: 'input',\n jsx: ['InputText', 'FormInputText', 'Textarea'],\n base: {\n width: '100%',\n '&::-webkit-outer-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n '&::-webkit-inner-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n '&[type=number]': {\n '-moz-appearance': 'textfield',\n },\n '[data-with-left-section=\"true\"] &': {\n paddingInlineStart: 'calc({sizes.400} + {spacing.200})',\n },\n '[data-with-right-section=\"true\"] &': {\n paddingInlineEnd: 'calc({sizes.400} + {spacing.200})',\n },\n _placeholder: {\n color: 'neutral.foreground.3.enabled',\n },\n },\n variants: {\n size: {\n l: {\n height: 'control.height.300',\n },\n m: {\n height: 'control.height.200',\n },\n },\n },\n defaultVariants: {\n size: 'l',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"gDAOA,MAAa,EAAQ,EAAY,MAAM,CACrC,UAAW,QACX,IAAK,CAAC,YAAa,gBAAiB,WAAW,CAC/C,KAAM,CACJ,MAAO,OACP,+BAAgC,CAC9B,OAAQ,EACR,iBAAkB,OACnB,CACD,+BAAgC,CAC9B,OAAQ,EACR,iBAAkB,OACnB,CACD,iBAAkB,CAChB,kBAAmB,YACpB,CACD,oCAAqC,CACnC,mBAAoB,oCACrB,CACD,qCAAsC,CACpC,iBAAkB,oCACnB,CACD,aAAc,CACZ,MAAO,+BACR,CACF,CACD,SAAU,CACR,KAAM,CACJ,EAAG,CACD,OAAQ,qBACT,CACD,EAAG,CACD,OAAQ,qBACT,CACF,CACF,CACD,gBAAiB,CACf,KAAM,IACP,CACF,CAAC"}
|