{"version":3,"file":"button.gOcFs7Gk.mjs","names":[],"sources":["https:/asset.29cm.co.kr/contents/framer/libs/property-controls/button.js"],"sourcesContent":["import { ControlType } from \"framer\";\nimport { ButtonVariant, ButtonSize, ButtonTheme } from \"../../components/@shared/Button/Button.types.js\";\nconst BUTTON_VARIANT_CONTROLS = {\n  variant: {\n    type: ControlType.Enum,\n    title: \"변형\",\n    options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY, ButtonVariant.CUSTOM, ButtonVariant.DISABLED],\n    optionTitles: [\"primary\", \"secondary\", \"tertiary\", \"custom\", \"disabled\"]\n  },\n  backgroundColor: {\n    hidden: ({\n      variant\n    }) => variant !== ButtonVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"배경 색상\",\n    optional: true\n  },\n  color: {\n    hidden: ({\n      variant\n    }) => variant !== ButtonVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"텍스트 색상\",\n    optional: true\n  }\n};\nconst BUTTON_SIZE_CONTROLS = {\n  size: {\n    type: ControlType.Enum,\n    title: \"크기\",\n    options: [ButtonSize.LARGE, ButtonSize.MEDIUM, ButtonSize.SMALL, ButtonSize.X_SMALL],\n    optionTitles: [\"large\", \"medium\", \"small\", \"xSmall\"],\n    defaultValue: ButtonSize.MEDIUM\n  }\n};\nconst BUTTON_FILL_CONTROLS = {\n  fill: {\n    type: ControlType.Boolean,\n    title: \"반응형 너비\",\n    defaultValue: false\n  }\n};\nconst BUTTON_THEME_CONTROLS = {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [ButtonTheme.LIGHT, ButtonTheme.DARK],\n    optionTitles: [\"light\", \"dark\"],\n    defaultValue: ButtonTheme.LIGHT,\n    displaySegmentedControl: true\n  }\n};\nexport {\n  BUTTON_FILL_CONTROLS,\n  BUTTON_SIZE_CONTROLS,\n  BUTTON_THEME_CONTROLS,\n  BUTTON_VARIANT_CONTROLS\n};\n"],"mappings":"iMAAqC,IACoE,CACnG,EAA0B,CAC9B,QAAS,CACP,KAAM,EAAY,KAClB,MAAO,KACP,QAAS,CAAC,EAAc,QAAS,EAAc,UAAW,EAAc,SAAU,EAAc,OAAQ,EAAc,SAAS,CAC/H,aAAc,CAAC,UAAW,YAAa,WAAY,SAAU,WAAW,CACzE,CACD,gBAAiB,CACf,QAAS,CACP,aACI,IAAY,EAAc,OAChC,KAAM,EAAY,MAClB,MAAO,QACP,SAAU,GACX,CACD,MAAO,CACL,QAAS,CACP,aACI,IAAY,EAAc,OAChC,KAAM,EAAY,MAClB,MAAO,SACP,SAAU,GACX,CACF,CACK,EAAuB,CAC3B,KAAM,CACJ,KAAM,EAAY,KAClB,MAAO,KACP,QAAS,CAAC,EAAW,MAAO,EAAW,OAAQ,EAAW,MAAO,EAAW,QAAQ,CACpF,aAAc,CAAC,QAAS,SAAU,QAAS,SAAS,CACpD,aAAc,EAAW,OAC1B,CACF,CACK,EAAuB,CAC3B,KAAM,CACJ,KAAM,EAAY,QAClB,MAAO,SACP,aAAc,GACf,CACF,CACK,EAAwB,CAC5B,MAAO,CACL,KAAM,EAAY,KAClB,MAAO,KACP,QAAS,CAAC,EAAY,MAAO,EAAY,KAAK,CAC9C,aAAc,CAAC,QAAS,OAAO,CAC/B,aAAc,EAAY,MAC1B,wBAAyB,GAC1B,CACF"}