@mage-ui/preset 0.0.33 → 0.0.35
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{formControl as e}from"../form-control.js";const t=e.merge({className:`checkbox-input`,jsx:[`Checkbox`],base:{display:`block`,appearance:`none`,transition:`{animations.base.100}`,width:`control.height.50`,aspectRatio:`1`,borderRadius:`100`,WebkitTapHighlightColor:`transparent`,
|
|
1
|
+
import{formControl as e}from"../form-control.js";const t=e.merge({className:`checkbox-input`,jsx:[`Checkbox`],base:{display:`block`,appearance:`none`,transition:`{animations.base.100}`,width:`control.height.50`,aspectRatio:`1`,borderRadius:`100`,WebkitTapHighlightColor:`transparent`,paddingInline:`0`,pointerEvents:`auto!`,cursor:`pointer`,_checked:{backgroundColor:`neutral.background.2.brand.selected`,color:`neutral.foreground.static.inverted.enabled`,borderColor:`neutral.background.2.brand.selected`},_disabled:{opacity:`0.5`,cursor:`not-allowed`,pointerEvents:`none`,_hover:{borderColor:`neutral.stroke.7.enabled`}}}});export{t as checkboxInput};
|
|
2
2
|
//# sourceMappingURL=checkbox-input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-input.js","names":[],"sources":["../../../../../src/recipes/atoms/inputs/checkbox/checkbox-input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { formControl } from './../form-control';\n\nexport const checkboxInput = formControl.merge({\n className: 'checkbox-input',\n jsx: ['Checkbox'],\n base: {\n display: 'block',\n appearance: 'none',\n transition: '{animations.base.100}',\n width: 'control.height.50',\n aspectRatio: '1',\n borderRadius: '100',\n WebkitTapHighlightColor: 'transparent',\n
|
|
1
|
+
{"version":3,"file":"checkbox-input.js","names":[],"sources":["../../../../../src/recipes/atoms/inputs/checkbox/checkbox-input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { formControl } from './../form-control';\n\nexport const checkboxInput = formControl.merge({\n className: 'checkbox-input',\n jsx: ['Checkbox'],\n base: {\n display: 'block',\n appearance: 'none',\n transition: '{animations.base.100}',\n width: 'control.height.50',\n aspectRatio: '1',\n borderRadius: '100',\n WebkitTapHighlightColor: 'transparent',\n paddingInline: '0',\n pointerEvents: 'auto!',\n cursor: 'pointer',\n _checked: {\n backgroundColor: 'neutral.background.2.brand.selected',\n color: 'neutral.foreground.static.inverted.enabled',\n borderColor: 'neutral.background.2.brand.selected',\n },\n _disabled: {\n opacity: '0.5',\n cursor: 'not-allowed',\n pointerEvents: 'none',\n _hover: {\n borderColor: 'neutral.stroke.7.enabled',\n },\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"iDAOA,MAAa,EAAgB,EAAY,MAAM,CAC7C,UAAW,iBACX,IAAK,CAAC,UAAW,EACjB,KAAM,CACJ,QAAS,QACT,WAAY,OACZ,WAAY,wBACZ,MAAO,oBACP,YAAa,IACb,aAAc,MACd,wBAAyB,cACzB,cAAe,IACf,cAAe,QACf,OAAQ,UACR,SAAU,CACR,gBAAiB,sCACjB,MAAO,6CACP,YAAa,qCACd,EACD,UAAW,CACT,QAAS,MACT,OAAQ,cACR,cAAe,OACf,OAAQ,CACN,YAAa,0BACd,CACF,CACF,CACF,EAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{focus as e}from"../../shared/focus.js";const t=e.merge({className:`form-control`,base:{fontFamily:`base`,fontSize:`300`,fontWeight:`regular`,backgroundColor:`transparent`,color:`neutral.foreground.1.enabled`,borderWidth:`{borders.150}`,borderStyle:`solid`,borderColor:`neutral.stroke.7.enabled`,borderRadius:`200`,
|
|
1
|
+
import{focus as e}from"../../shared/focus.js";const t=e.merge({className:`form-control`,base:{fontFamily:`base`,fontSize:`300`,fontWeight:`regular`,backgroundColor:`transparent`,color:`neutral.foreground.1.enabled`,borderWidth:`{borders.150}`,borderStyle:`solid`,borderColor:`neutral.stroke.7.enabled`,borderRadius:`200`,paddingInline:`400`,width:`100%`,boxSizing:`border-box`,transition:`all 0.2s ease`,_placeholder:{color:`neutral.foreground.3.enabled`},_hover:{color:`neutral.foreground.1.enabled`,borderColor:`neutral.stroke.7.hovered`},_focus:{color:`neutral.foreground.1.enabled`,borderColor:`neutral.stroke.7.hovered`},_disabled:{opacity:`0.5`,pointerEvents:`none`,cursor:`not-allowed`},_invalid:{color:`neutral.foreground.1.enabled`,borderColor:`danger.stroke.1.enabled`,_focus:{borderColor:`danger.stroke.1.enabled`},_hover:{borderColor:`danger.stroke.1.enabled`}},_readOnly:{pointerEvents:`none`}}});export{t as formControl};
|
|
2
2
|
//# sourceMappingURL=form-control.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-control.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/form-control.ts"],"sourcesContent":["import type { RecipeBuilder } from '@pandabox/define-recipe';\nimport type { RecipeVariantRecord } from '@pandacss/dev';\n\nimport { focus } from '../../shared/focus';\n\nexport const formControl = focus.merge({\n className: 'form-control',\n base: {\n fontFamily: 'base',\n fontSize: '300',\n fontWeight: 'regular',\n backgroundColor: 'transparent',\n color: 'neutral.foreground.1.enabled',\n borderWidth: '{borders.150}',\n borderStyle: 'solid',\n borderColor: 'neutral.stroke.7.enabled',\n borderRadius: '200',\n
|
|
1
|
+
{"version":3,"file":"form-control.js","names":[],"sources":["../../../../src/recipes/atoms/inputs/form-control.ts"],"sourcesContent":["import type { RecipeBuilder } from '@pandabox/define-recipe';\nimport type { RecipeVariantRecord } from '@pandacss/dev';\n\nimport { focus } from '../../shared/focus';\n\nexport const formControl = focus.merge({\n className: 'form-control',\n base: {\n fontFamily: 'base',\n fontSize: '300',\n fontWeight: 'regular',\n backgroundColor: 'transparent',\n color: 'neutral.foreground.1.enabled',\n borderWidth: '{borders.150}',\n borderStyle: 'solid',\n borderColor: 'neutral.stroke.7.enabled',\n borderRadius: '200',\n paddingInline: '400',\n width: '100%',\n boxSizing: 'border-box',\n transition: 'all 0.2s ease',\n _placeholder: {\n color: 'neutral.foreground.3.enabled',\n },\n _hover: {\n color: 'neutral.foreground.1.enabled',\n borderColor: 'neutral.stroke.7.hovered',\n },\n _focus: {\n color: 'neutral.foreground.1.enabled',\n borderColor: 'neutral.stroke.7.hovered',\n },\n _disabled: {\n opacity: '0.5',\n pointerEvents: 'none',\n cursor: 'not-allowed',\n },\n _invalid: {\n color: 'neutral.foreground.1.enabled',\n borderColor: 'danger.stroke.1.enabled',\n _focus: {\n borderColor: 'danger.stroke.1.enabled',\n },\n _hover: {\n borderColor: 'danger.stroke.1.enabled',\n },\n },\n _readOnly: {\n pointerEvents: 'none',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"8CAKA,MAAa,EAAc,EAAM,MAAM,CACrC,UAAW,eACX,KAAM,CACJ,WAAY,OACZ,SAAU,MACV,WAAY,UACZ,gBAAiB,cACjB,MAAO,+BACP,YAAa,gBACb,YAAa,QACb,YAAa,2BACb,aAAc,MACd,cAAe,MACf,MAAO,OACP,UAAW,aACX,WAAY,gBACZ,aAAc,CACZ,MAAO,8BACR,EACD,OAAQ,CACN,MAAO,+BACP,YAAa,0BACd,EACD,OAAQ,CACN,MAAO,+BACP,YAAa,0BACd,EACD,UAAW,CACT,QAAS,MACT,cAAe,OACf,OAAQ,aACT,EACD,SAAU,CACR,MAAO,+BACP,YAAa,0BACb,OAAQ,CACN,YAAa,yBACd,EACD,OAAQ,CACN,YAAa,yBACd,CACF,EACD,UAAW,CACT,cAAe,MAChB,CACF,CACF,EAAC"}
|