{"version":3,"file":"accordion.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/accordion/accordion.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const accordionStyle = defineComponentSlotStyle({\n  base: {\n    button: {\n      \"&[aria-disabled=true]\": {\n        cursor: \"default\",\n      },\n      alignItems: \"center\",\n      display: \"inline-flex\",\n      focusVisibleRing: \"inside\",\n      px: \"4\",\n      py: \"3\",\n      transitionDuration: \"moderate\",\n      transitionProperty: \"common\",\n      w: \"100%\",\n      _nativeDisabled: {\n        layerStyle: \"disabled\",\n      },\n    },\n    icon: {\n      color: \"fg.subtle\",\n      fontSize: \"xl\",\n      ml: \"auto\",\n      transformOrigin: \"center\",\n      transitionDuration: \"moderate\",\n      transitionProperty: \"transform\",\n      _expanded: {\n        transform: \"rotate(180deg)\",\n      },\n      _disabled: {\n        layerStyle: \"disabled\",\n      },\n    },\n    item: {\n      overflowAnchor: \"none\",\n    },\n    panel: {\n      pb: \"3\",\n      px: \"4\",\n    },\n    root: {\n      w: \"full\",\n    },\n  },\n\n  variants: {\n    panel: {\n      button: {\n        rounded: \"l2\",\n      },\n      item: {\n        layerStyle: \"panel\",\n        rounded: \"l2\",\n        _notFirst: {\n          mt: \"md\",\n        },\n      },\n    },\n    plain: {\n      item: {\n        borderTopWidth: \"1px\",\n        _last: {\n          borderBottomWidth: \"1px\",\n        },\n      },\n    },\n  },\n\n  defaultProps: {\n    variant: \"plain\",\n  },\n})\n\nexport type AccordionStyle = typeof accordionStyle\n"],"mappings":";;;AAEA,MAAa,iBAAiBA,wCAAyB;CACrD,MAAM;EACJ,QAAQ;GACN,yBAAyB,EACvB,QAAQ,WACT;GACD,YAAY;GACZ,SAAS;GACT,kBAAkB;GAClB,IAAI;GACJ,IAAI;GACJ,oBAAoB;GACpB,oBAAoB;GACpB,GAAG;GACH,iBAAiB,EACf,YAAY,YACb;GACF;EACD,MAAM;GACJ,OAAO;GACP,UAAU;GACV,IAAI;GACJ,iBAAiB;GACjB,oBAAoB;GACpB,oBAAoB;GACpB,WAAW,EACT,WAAW,kBACZ;GACD,WAAW,EACT,YAAY,YACb;GACF;EACD,MAAM,EACJ,gBAAgB,QACjB;EACD,OAAO;GACL,IAAI;GACJ,IAAI;GACL;EACD,MAAM,EACJ,GAAG,QACJ;EACF;CAED,UAAU;EACR,OAAO;GACL,QAAQ,EACN,SAAS,MACV;GACD,MAAM;IACJ,YAAY;IACZ,SAAS;IACT,WAAW,EACT,IAAI,MACL;IACF;GACF;EACD,OAAO,EACL,MAAM;GACJ,gBAAgB;GAChB,OAAO,EACL,mBAAmB,OACpB;GACF,EACF;EACF;CAED,cAAc,EACZ,SAAS,SACV;CACF,CAAC"}