{"version":3,"file":"FoldableList.DdBofDya.mjs","names":[],"sources":["https:/asset.29cm.co.kr/contents/framer/components/systems/FoldableList/FoldableList.js"],"sourcesContent":["import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { FoldableList } from \"../../@shared/FoldableList/index.js\";\nimport \"react\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { Theme } from \"../../../styles/theme.js\";\nconst FramerFoldableList = ({\n  theme,\n  title,\n  list\n}) => {\n  return /* @__PURE__ */ jsxs(FoldableList.Root, { theme, children: [\n    /* @__PURE__ */ jsx(FoldableList.Trigger, { textStyle: typography(12, 700), icons: {\n      initial: \"chevronDown\",\n      active: \"chevronUp\",\n      size: 12\n    }, children: title }),\n    /* @__PURE__ */ jsx(FoldableList.Content, { children: list.map((item, index) => (\n      // eslint-disable-next-line react/no-array-index-key\n      /* @__PURE__ */ jsx(FoldableList.Item, { children: item }, index)\n    )) })\n  ] });\n};\naddPropertyControls(FramerFoldableList, {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [Theme.LIGHT, Theme.DARK],\n    optionTitles: [\"light\", \"dark\"]\n  },\n  title: {\n    type: ControlType.String,\n    title: \"제목\",\n    placeholder: \"제목 입력\",\n    defaultValue: \"텍스트\"\n  },\n  list: {\n    type: ControlType.Array,\n    title: \"목록\",\n    control: {\n      type: ControlType.String,\n      title: \"내용\",\n      placeholder: \"내용 입력\"\n    }\n  }\n});\nexport {\n  FramerFoldableList\n};\n"],"mappings":"qTAA8C,IACY,IACS,IACpD,IAC4C,IACV,CAC3C,GAAsB,CAC1B,QACA,QACA,UAEuB,EAAK,EAAa,KAAM,CAAE,QAAO,SAAU,CAChD,EAAI,EAAa,QAAS,CAAE,UAAW,EAAW,GAAI,IAAI,CAAE,MAAO,CACjF,QAAS,cACT,OAAQ,YACR,KAAM,GACP,CAAE,SAAU,EAAO,CAAC,CACL,EAAI,EAAa,QAAS,CAAE,SAAU,EAAK,KAAK,EAAM,IAEpD,EAAI,EAAa,KAAM,CAAE,SAAU,EAAM,CAAE,EAAM,CACjE,CAAE,CAAC,CACN,CAAE,CAAC,CAEN,EAAoB,EAAoB,CACtC,MAAO,CACL,KAAM,EAAY,KAClB,MAAO,KACP,QAAS,CAAC,EAAM,MAAO,EAAM,KAAK,CAClC,aAAc,CAAC,QAAS,OAAO,CAChC,CACD,MAAO,CACL,KAAM,EAAY,OAClB,MAAO,KACP,YAAa,QACb,aAAc,MACf,CACD,KAAM,CACJ,KAAM,EAAY,MAClB,MAAO,KACP,QAAS,CACP,KAAM,EAAY,OAClB,MAAO,KACP,YAAa,QACd,CACF,CACF,CAAC"}