@mage-ui/preset 1.0.145 → 1.0.146
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/controls/checkbox/checkbox-body-error.mjs +1 -1
- package/dist/recipes/controls/checkbox/checkbox-body-error.mjs.map +1 -1
- package/dist/recipes/controls/checkbox/checkbox-label-required.mjs +1 -1
- package/dist/recipes/controls/checkbox/checkbox-label-required.mjs.map +1 -1
- package/dist/recipes/controls/checkbox/checkbox.mjs +1 -1
- package/dist/recipes/controls/checkbox/checkbox.mjs.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:`checkbox__body__error`,jsx:[`Checkbox`],base:{"--checkbox-body-align":`flex-start`,alignItems:`var(--checkbox-body-align)`}});export{t as checkboxBodyError};
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`checkbox__body__error`,jsx:[`Checkbox`],base:{"--checkbox-body-align":`flex-start`,alignItems:`var(--checkbox-body-align)`,"--checkbox-label-required-color":`var(--checkbox-label-required-color-error, {colors.danger.foreground.1.enabled})`}});export{t as checkboxBodyError};
|
|
2
2
|
//# sourceMappingURL=checkbox-body-error.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-body-error.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox-body-error.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkboxBodyError = defineRecipe({\n className: 'checkbox__body__error',\n jsx: ['Checkbox'],\n base: {\n '--checkbox-body-align': 'flex-start',\n alignItems: 'var(--checkbox-body-align)',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAoB,EAAa,CAC5C,UAAW,wBACX,IAAK,CAAC,WAAW,CACjB,KAAM,CACJ,wBAAyB,aACzB,WAAY,
|
|
1
|
+
{"version":3,"file":"checkbox-body-error.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox-body-error.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkboxBodyError = defineRecipe({\n className: 'checkbox__body__error',\n jsx: ['Checkbox'],\n base: {\n '--checkbox-body-align': 'flex-start',\n alignItems: 'var(--checkbox-body-align)',\n\n // checkbox error required\n '--checkbox-label-required-color':\n 'var(--checkbox-label-required-color-error, {colors.danger.foreground.1.enabled})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAoB,EAAa,CAC5C,UAAW,wBACX,IAAK,CAAC,WAAW,CACjB,KAAM,CACJ,wBAAyB,aACzB,WAAY,6BAGZ,kCACE,mFACH,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`checkbox__label__required`,jsx:[`Checkbox`],base:{color:`var(--checkbox-label-required-color, {colors.
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`checkbox__label__required`,jsx:[`Checkbox`],base:{color:`var(--checkbox-label-required-color, {colors.neutral.foreground.2.enabled})`}});export{t as checkboxLabelRequired};
|
|
2
2
|
//# sourceMappingURL=checkbox-label-required.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-label-required.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox-label-required.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkboxLabelRequired = defineRecipe({\n className: 'checkbox__label__required',\n jsx: ['Checkbox'],\n base: {\n color:\n 'var(--checkbox-label-required-color, {colors.
|
|
1
|
+
{"version":3,"file":"checkbox-label-required.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox-label-required.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkboxLabelRequired = defineRecipe({\n className: 'checkbox__label__required',\n jsx: ['Checkbox'],\n base: {\n color:\n 'var(--checkbox-label-required-color, {colors.neutral.foreground.2.enabled})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAwB,EAAa,CAChD,UAAW,4BACX,IAAK,CAAC,WAAW,CACjB,KAAM,CACJ,MACE,8EACH,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`checkbox`,jsx:[`Checkbox`],base:{"--checkbox-input-size":`{sizes.300}`,"--checkbox-input-radii":`{radii.100}`,"--checkbox-input-background":`transparent`,"--checkbox-input-border-width":`{borders.100}`,"--checkbox-input-border-style":`solid`,"--checkbox-input-border-color":`{colors.neutral.stroke.5.enabled}`,"--checkbox-input-background-checked":`{colors.neutral.background.5.primary.selected}`,"--checkbox-input-border-width-checked":`{borders.100}`,"--checkbox-input-border-style-checked":`solid`,"--checkbox-input-border-color-checked":`{colors.neutral.background.5.primary.selected}`,"--checkbox-input-opacity-disabled":`.5`,"--checkbox-input-focus-outline-width":`{borders.100}`,"--checkbox-input-focus-outline-style":`solid`,"--checkbox-input-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--checkbox-input-focus-outline-offset":`{spacing.50}`,"--checkbox-input-focus-shadow":`none`,"--checkbox-input-border-color-error":`{colors.danger.stroke.1.enabled}`,"--checkbox-input-focus-outline-color-error":`{colors.danger.stroke.1.focused}`,"--checkbox-icon-color":`{colors.neutral.stroke.1.onPrimary.selected}`,"--checkbox-icon-size":`60%`,"--checkbox-size":`{sizes.300}`,"--checkbox-label-wrapper-gap":`{spacing.100}`,"--checkbox-label-font-family":`{fonts.base}`,"--checkbox-label-font-size":`{fontSizes.300}`,"--checkbox-label-font-weight":`{fontWeights.regular}`,"--checkbox-label-line-height":`1.2`,"--checkbox-label-foreground":`{colors.neutral.foreground.2.enabled}`,"--checkbox-label-margin":`0`,"--checkbox-label-opacity-disabled":`.5`,"--checkbox-label-required-color":`{colors.danger.foreground.1.enabled}`,"--checkbox-transition":`{animations.base.100}`,"--checkbox-description-font-family":`{fonts.base}`,"--checkbox-description-font-size":`{fontSizes.300}`,"--checkbox-description-font-weight":`{fontWeights.regular}`,"--checkbox-description-line-height":`inherit`,"--checkbox-description-foreground":`{colors.neutral.foreground.2.enabled}`,"--checkbox-description-margin":`0`,"--checkbox-body-align":`center`,"--checkbox-body-gap":`{spacing.200}`,"--checkbox-error-font-family":`{fonts.base}`,"--checkbox-error-font-size":`{fontSizes.200}`,"--checkbox-error-font-weight":`{fontWeights.regular}`,"--checkbox-error-line-height":`inherit`,"--checkbox-error-foreground":`{colors.danger.foreground.1.enabled}`,"--checkbox-error-margin":`{spacing.100} 0 0 0`}});export{t as checkbox};
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`checkbox`,jsx:[`Checkbox`],base:{"--checkbox-input-size":`{sizes.300}`,"--checkbox-input-radii":`{radii.100}`,"--checkbox-input-background":`transparent`,"--checkbox-input-border-width":`{borders.100}`,"--checkbox-input-border-style":`solid`,"--checkbox-input-border-color":`{colors.neutral.stroke.5.enabled}`,"--checkbox-input-background-checked":`{colors.neutral.background.5.primary.selected}`,"--checkbox-input-border-width-checked":`{borders.100}`,"--checkbox-input-border-style-checked":`solid`,"--checkbox-input-border-color-checked":`{colors.neutral.background.5.primary.selected}`,"--checkbox-input-opacity-disabled":`.5`,"--checkbox-input-focus-outline-width":`{borders.100}`,"--checkbox-input-focus-outline-style":`solid`,"--checkbox-input-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--checkbox-input-focus-outline-offset":`{spacing.50}`,"--checkbox-input-focus-shadow":`none`,"--checkbox-input-border-color-error":`{colors.danger.stroke.1.enabled}`,"--checkbox-input-focus-outline-color-error":`{colors.danger.stroke.1.focused}`,"--checkbox-icon-color":`{colors.neutral.stroke.1.onPrimary.selected}`,"--checkbox-icon-size":`60%`,"--checkbox-size":`{sizes.300}`,"--checkbox-label-wrapper-gap":`{spacing.100}`,"--checkbox-label-font-family":`{fonts.base}`,"--checkbox-label-font-size":`{fontSizes.300}`,"--checkbox-label-font-weight":`{fontWeights.regular}`,"--checkbox-label-line-height":`1.2`,"--checkbox-label-foreground":`{colors.neutral.foreground.2.enabled}`,"--checkbox-label-margin":`0`,"--checkbox-label-opacity-disabled":`.5`,"--checkbox-label-required-color":`{colors.neutral.foreground.2.enabled}`,"--checkbox-label-required-color-error":`{colors.danger.foreground.1.enabled}`,"--checkbox-transition":`{animations.base.100}`,"--checkbox-description-font-family":`{fonts.base}`,"--checkbox-description-font-size":`{fontSizes.300}`,"--checkbox-description-font-weight":`{fontWeights.regular}`,"--checkbox-description-line-height":`inherit`,"--checkbox-description-foreground":`{colors.neutral.foreground.2.enabled}`,"--checkbox-description-margin":`0`,"--checkbox-body-align":`center`,"--checkbox-body-gap":`{spacing.200}`,"--checkbox-error-font-family":`{fonts.base}`,"--checkbox-error-font-size":`{fontSizes.200}`,"--checkbox-error-font-weight":`{fontWeights.regular}`,"--checkbox-error-line-height":`inherit`,"--checkbox-error-foreground":`{colors.danger.foreground.1.enabled}`,"--checkbox-error-margin":`{spacing.100} 0 0 0`}});export{t as checkbox};
|
|
2
2
|
//# sourceMappingURL=checkbox.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkbox = defineRecipe({\n className: 'checkbox',\n jsx: ['Checkbox'],\n base: {\n // checkbox input enabled\n '--checkbox-input-size': '{sizes.300}',\n '--checkbox-input-radii': '{radii.100}',\n '--checkbox-input-background': 'transparent',\n '--checkbox-input-border-width': '{borders.100}',\n '--checkbox-input-border-style': 'solid',\n '--checkbox-input-border-color': '{colors.neutral.stroke.5.enabled}',\n\n // checkbox input checked\n '--checkbox-input-background-checked':\n '{colors.neutral.background.5.primary.selected}',\n '--checkbox-input-border-width-checked': '{borders.100}',\n '--checkbox-input-border-style-checked': 'solid',\n '--checkbox-input-border-color-checked':\n '{colors.neutral.background.5.primary.selected}',\n\n // checkbox input disabled\n '--checkbox-input-opacity-disabled': '.5',\n\n // checkbox input focus\n '--checkbox-input-focus-outline-width': '{borders.100}',\n '--checkbox-input-focus-outline-style': 'solid',\n '--checkbox-input-focus-outline-color': '{colors.primary.stroke.1.focused}',\n '--checkbox-input-focus-outline-offset': '{spacing.50}',\n '--checkbox-input-focus-shadow': 'none',\n\n // checkbox input error\n '--checkbox-input-border-color-error': '{colors.danger.stroke.1.enabled}',\n '--checkbox-input-focus-outline-color-error':\n '{colors.danger.stroke.1.focused}',\n\n // checkbox icon\n '--checkbox-icon-color': '{colors.neutral.stroke.1.onPrimary.selected}',\n '--checkbox-icon-size': '60%',\n\n // checkbox inner\n '--checkbox-size': '{sizes.300}',\n\n // checkbox label wrapper\n '--checkbox-label-wrapper-gap': '{spacing.100}',\n\n // checkbox label\n '--checkbox-label-font-family': '{fonts.base}',\n '--checkbox-label-font-size': '{fontSizes.300}',\n '--checkbox-label-font-weight': '{fontWeights.regular}',\n '--checkbox-label-line-height': '1.2',\n '--checkbox-label-foreground': '{colors.neutral.foreground.2.enabled}',\n '--checkbox-label-margin': '0',\n '--checkbox-label-opacity-disabled': '.5',\n\n // checkbox label required\n '--checkbox-label-required-color': '{colors.danger.foreground.1.enabled}',\n\n '--checkbox-transition': '{animations.base.100}',\n\n // checkbox description\n '--checkbox-description-font-family': '{fonts.base}',\n '--checkbox-description-font-size': '{fontSizes.300}',\n '--checkbox-description-font-weight': '{fontWeights.regular}',\n '--checkbox-description-line-height': 'inherit',\n '--checkbox-description-foreground':\n '{colors.neutral.foreground.2.enabled}',\n '--checkbox-description-margin': '0',\n\n // checkbox body\n '--checkbox-body-align': 'center',\n '--checkbox-body-gap': '{spacing.200}',\n\n // checkbox error\n '--checkbox-error-font-family': '{fonts.base}',\n '--checkbox-error-font-size': '{fontSizes.200}',\n '--checkbox-error-font-weight': '{fontWeights.regular}',\n '--checkbox-error-line-height': 'inherit',\n '--checkbox-error-foreground': '{colors.danger.foreground.1.enabled}',\n '--checkbox-error-margin': '{spacing.100} 0 0 0',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAW,EAAa,CACnC,UAAW,WACX,IAAK,CAAC,WAAW,CACjB,KAAM,CAEJ,wBAAyB,cACzB,yBAA0B,cAC1B,8BAA+B,cAC/B,gCAAiC,gBACjC,gCAAiC,QACjC,gCAAiC,oCAGjC,sCACE,iDACF,wCAAyC,gBACzC,wCAAyC,QACzC,wCACE,iDAGF,oCAAqC,KAGrC,uCAAwC,gBACxC,uCAAwC,QACxC,uCAAwC,oCACxC,wCAAyC,eACzC,gCAAiC,OAGjC,sCAAuC,mCACvC,6CACE,mCAGF,wBAAyB,+CACzB,uBAAwB,MAGxB,kBAAmB,cAGnB,+BAAgC,gBAGhC,+BAAgC,eAChC,6BAA8B,kBAC9B,+BAAgC,wBAChC,+BAAgC,MAChC,8BAA+B,wCAC/B,0BAA2B,IAC3B,oCAAqC,KAGrC,kCAAmC,
|
|
1
|
+
{"version":3,"file":"checkbox.mjs","names":[],"sources":["../../../../src/recipes/controls/checkbox/checkbox.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const checkbox = defineRecipe({\n className: 'checkbox',\n jsx: ['Checkbox'],\n base: {\n // checkbox input enabled\n '--checkbox-input-size': '{sizes.300}',\n '--checkbox-input-radii': '{radii.100}',\n '--checkbox-input-background': 'transparent',\n '--checkbox-input-border-width': '{borders.100}',\n '--checkbox-input-border-style': 'solid',\n '--checkbox-input-border-color': '{colors.neutral.stroke.5.enabled}',\n\n // checkbox input checked\n '--checkbox-input-background-checked':\n '{colors.neutral.background.5.primary.selected}',\n '--checkbox-input-border-width-checked': '{borders.100}',\n '--checkbox-input-border-style-checked': 'solid',\n '--checkbox-input-border-color-checked':\n '{colors.neutral.background.5.primary.selected}',\n\n // checkbox input disabled\n '--checkbox-input-opacity-disabled': '.5',\n\n // checkbox input focus\n '--checkbox-input-focus-outline-width': '{borders.100}',\n '--checkbox-input-focus-outline-style': 'solid',\n '--checkbox-input-focus-outline-color': '{colors.primary.stroke.1.focused}',\n '--checkbox-input-focus-outline-offset': '{spacing.50}',\n '--checkbox-input-focus-shadow': 'none',\n\n // checkbox input error\n '--checkbox-input-border-color-error': '{colors.danger.stroke.1.enabled}',\n '--checkbox-input-focus-outline-color-error':\n '{colors.danger.stroke.1.focused}',\n\n // checkbox icon\n '--checkbox-icon-color': '{colors.neutral.stroke.1.onPrimary.selected}',\n '--checkbox-icon-size': '60%',\n\n // checkbox inner\n '--checkbox-size': '{sizes.300}',\n\n // checkbox label wrapper\n '--checkbox-label-wrapper-gap': '{spacing.100}',\n\n // checkbox label\n '--checkbox-label-font-family': '{fonts.base}',\n '--checkbox-label-font-size': '{fontSizes.300}',\n '--checkbox-label-font-weight': '{fontWeights.regular}',\n '--checkbox-label-line-height': '1.2',\n '--checkbox-label-foreground': '{colors.neutral.foreground.2.enabled}',\n '--checkbox-label-margin': '0',\n '--checkbox-label-opacity-disabled': '.5',\n\n // checkbox label required\n '--checkbox-label-required-color': '{colors.neutral.foreground.2.enabled}',\n '--checkbox-label-required-color-error':\n '{colors.danger.foreground.1.enabled}',\n\n '--checkbox-transition': '{animations.base.100}',\n\n // checkbox description\n '--checkbox-description-font-family': '{fonts.base}',\n '--checkbox-description-font-size': '{fontSizes.300}',\n '--checkbox-description-font-weight': '{fontWeights.regular}',\n '--checkbox-description-line-height': 'inherit',\n '--checkbox-description-foreground':\n '{colors.neutral.foreground.2.enabled}',\n '--checkbox-description-margin': '0',\n\n // checkbox body\n '--checkbox-body-align': 'center',\n '--checkbox-body-gap': '{spacing.200}',\n\n // checkbox error\n '--checkbox-error-font-family': '{fonts.base}',\n '--checkbox-error-font-size': '{fontSizes.200}',\n '--checkbox-error-font-weight': '{fontWeights.regular}',\n '--checkbox-error-line-height': 'inherit',\n '--checkbox-error-foreground': '{colors.danger.foreground.1.enabled}',\n '--checkbox-error-margin': '{spacing.100} 0 0 0',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAW,EAAa,CACnC,UAAW,WACX,IAAK,CAAC,WAAW,CACjB,KAAM,CAEJ,wBAAyB,cACzB,yBAA0B,cAC1B,8BAA+B,cAC/B,gCAAiC,gBACjC,gCAAiC,QACjC,gCAAiC,oCAGjC,sCACE,iDACF,wCAAyC,gBACzC,wCAAyC,QACzC,wCACE,iDAGF,oCAAqC,KAGrC,uCAAwC,gBACxC,uCAAwC,QACxC,uCAAwC,oCACxC,wCAAyC,eACzC,gCAAiC,OAGjC,sCAAuC,mCACvC,6CACE,mCAGF,wBAAyB,+CACzB,uBAAwB,MAGxB,kBAAmB,cAGnB,+BAAgC,gBAGhC,+BAAgC,eAChC,6BAA8B,kBAC9B,+BAAgC,wBAChC,+BAAgC,MAChC,8BAA+B,wCAC/B,0BAA2B,IAC3B,oCAAqC,KAGrC,kCAAmC,wCACnC,wCACE,uCAEF,wBAAyB,wBAGzB,qCAAsC,eACtC,mCAAoC,kBACpC,qCAAsC,wBACtC,qCAAsC,UACtC,oCACE,wCACF,gCAAiC,IAGjC,wBAAyB,SACzB,sBAAuB,gBAGvB,+BAAgC,eAChC,6BAA8B,kBAC9B,+BAAgC,wBAChC,+BAAgC,UAChC,8BAA+B,uCAC/B,0BAA2B,sBAC5B,CACF,CAAC"}
|