{ "version": 3, "sources": ["../../../app/elemason.config.ts"], "sourcesContent": ["import {\n ElemasonComponentType,\n ElemasonConfig,\n ElemasonWidgetType,\n} from '@tectonic/types';\n\nconst elemasonConfig: ElemasonConfig = {\n widgets: {\n [ElemasonWidgetType.ProductList]: {\n list: { gapX: '3' },\n sourceCard: {\n title: {},\n subtitle: {},\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'white',\n },\n },\n header: {\n title: { variant: 'body1', markdown: true },\n container: { paddingX: '4', paddingTop: '6', paddingBottom: '3' },\n },\n product: {\n size: 'sm',\n aspectRatio: 0.563,\n },\n cardWidths: {\n xs: 144,\n sm: 192,\n md: 234,\n lg: 270,\n xl: 360,\n '2xl': 432,\n },\n },\n },\n components: {\n [ElemasonComponentType.Toast]: {\n container: {\n paddingY: '3',\n paddingX: '4',\n marginBottom: '20',\n borderRadius: 'md',\n backgroundColor: 'black',\n justifyContent: 'center',\n },\n title: {\n color: 'white',\n variant: 'subtext4',\n },\n description: {\n color: 'white',\n variant: 'subtext5',\n },\n },\n [ElemasonComponentType.VariantSelector]: {\n size: {\n container: {\n gap: '1.5',\n width: '100%',\n overflow: 'auto',\n alignItems: 'center',\n borderRadius: 'full',\n },\n selectedItem: {\n paddingY: '1.5',\n paddingX: '2.5',\n borderRadius: 'full',\n backgroundColor: 'neutral-950',\n },\n item: {\n border: '1',\n paddingY: '1.5',\n paddingX: '2.5',\n borderRadius: 'full',\n alignItems: 'center',\n borderColor: 'neutral-950',\n },\n unavailableItem: {\n borderColor: 'neutral-400',\n },\n text: {\n color: 'neutral-950',\n variant: 'body4',\n fontWeight: 'semibold',\n },\n unavailableText: {\n color: 'neutral-400',\n variant: 'body4',\n fontWeight: 'semibold',\n },\n selectedText: {\n color: 'white',\n variant: 'body4',\n fontWeight: 'semibold',\n },\n },\n color: {\n container: {\n width: '100%',\n overflow: 'auto',\n },\n item: {\n alignItems: 'center',\n },\n unavailableIcon: 'outline-unavailable-color',\n unavailableIconConfig: {\n color: 'white',\n size: 'md',\n },\n selectedItem: {\n border: '1',\n alignItems: 'center',\n borderRadius: 'full',\n borderColor: 'primary-400',\n paddingEnd: '3',\n },\n selectedItemText: {\n variant: 'body4',\n },\n swatch: {\n itemContainer: {\n margin: '1',\n },\n item: {\n width: 24,\n height: 24,\n },\n },\n },\n },\n [ElemasonComponentType.Swatch]: {\n item: {\n width: 16,\n height: 16,\n overflow: 'hidden',\n borderRadius: 'full',\n },\n itemContainer: {\n border: '1',\n margin: '1',\n borderColor: 'white',\n borderRadius: 'full',\n },\n },\n // [ElemasonComponentType.ProductCard]: {\n // container: {\n // gap: '2',\n // overflow: 'hidden',\n // borderRadius: 'lg',\n // backgroundColor: 'white',\n // },\n // media: {\n // aspectRatio: 1,\n // width: '100%',\n // },\n // details: {\n // brand: {\n // color: 'neutral-500',\n // variant: 'body4',\n // textTransform: 'uppercase',\n // },\n // description: {\n // visible: false,\n // },\n // title: {\n // height: 42,\n // variant: 'body3',\n // color: 'neutral-950',\n // numberOfLines: 2,\n // },\n // container: {\n // paddingX: '2',\n // paddingBottom: '3',\n // },\n // pricing: {\n // container: {\n // gapX: '1.5',\n // paddingTop: '3',\n // alignItems: 'center',\n // },\n // price: {\n // text: {\n // color: 'primary-400',\n // variant: 'body3',\n // fontWeight: 'semibold',\n // },\n // },\n // discount: {\n // text: {\n // variant: 'body4',\n // color: 'success-600',\n // fontWeight: 'semibold',\n // },\n // },\n // mrp: {\n // text: {\n // variant: 'body4',\n // color: 'neutral-500',\n // },\n // },\n // },\n // variants: {\n // config: {\n // size: {\n // container: {\n // gap: '1.5',\n // paddingTop: '2',\n // },\n // // config: {\n // // variant: ProductVariantsSizeVariant.DROPDOWN,\n // // icon: 'outline-chevron-down',\n // // iconConfig: {\n // // size: 'sm',\n // // },\n // // text: {\n // // variant: 'body4',\n // // fontWeight: 'semibold',\n // // },\n // // container: {\n // // border: '1',\n // // paddingY: '1',\n // // paddingX: '2.5',\n // // width: 'fit-content',\n // // borderRadius: 'full',\n // // borderColor: 'primary-200',\n // // },\n // // },\n // config: {\n // variant: ProductVariantsSizeVariant.PILLS,\n // text: {\n // variant: 'body4',\n // fontWeight: 'semibold',\n // },\n // container: {\n // border: '1',\n // paddingY: '1',\n // paddingX: '2.5',\n // width: 'fit-content',\n // alignItems: 'center',\n // borderRadius: 'full',\n // borderColor: 'primary-200',\n // justifyContent: 'center',\n // },\n // moreContainer: {\n // paddingY: '1',\n // paddingX: '2.5',\n // width: 'fit-content',\n // alignItems: 'center',\n // borderRadius: 'full',\n // justifyContent: 'center',\n // backgroundColor: 'neutral-50',\n // },\n // },\n // },\n // color: {\n // container: {\n // gap: '1.5',\n // paddingTop: '2',\n // },\n // // config: {\n // // icon: 'outline-chevron-down',\n // // iconConfig: {\n // // size: 'sm',\n // // },\n // // variant: ProductVariantsColorVariant.DROPDOWN,\n // // container: {\n // // gap: '1',\n // // border: '1',\n // // width: '100%',\n // // borderRadius: 'full',\n // // borderColor: 'primary-200',\n // // },\n // // text: {\n // // variant: 'body4',\n // // fontWeight: 'semibold',\n // // },\n // // textContainer: {\n // // width: '100%',\n // // paddingEnd: '1.5',\n // // alignItems: 'center',\n // // justifyContent: 'center',\n // // },\n // // },\n // config: {\n // variant: ProductVariantsColorVariant.SWATCH,\n // maxColors: 5,\n // container: {\n // border: '1',\n // borderRadius: 'full',\n // borderColor: 'primary-200',\n // },\n // item: {\n // width: 16,\n // height: 16,\n // overflow: 'hidden',\n // borderRadius: 'full',\n // },\n // itemContainer: {\n // border: '1',\n // margin: '1',\n // offsetLeft: -12,\n // borderColor: 'white',\n // borderRadius: 'full',\n // },\n // text: {\n // variant: 'body4',\n // fontWeight: 'semibold',\n // },\n // textContainer: {\n // height: '100%',\n // paddingEnd: '1.5',\n // alignItems: 'center',\n // justifyContent: 'center',\n // },\n // },\n // },\n // },\n // },\n // },\n // ratingsCta: {\n // visible: true,\n // data: {\n // startIcon: 'solid-star',\n // text: '{average}',\n // },\n // config: {\n // gap: '0',\n // size: 'xs',\n // paddingY: '0',\n // paddingX: '0.5',\n // variant: 'solid',\n // backgroundColor: 'neutral-50',\n // text: { color: 'neutral-950' },\n // },\n // container: {\n // start: 8,\n // bottom: 8,\n // overflow: 'hidden',\n // position: 'absolute',\n // borderRadius: 'full',\n // },\n // },\n // cartCta: {\n // visible: true,\n // data: {\n // startIcon: 'outline-add-to-cart',\n // },\n // config: {\n // size: 'sm',\n // padding: '1.5',\n // variant: 'solid',\n // text: { color: 'neutral-950' },\n // backgroundColor: 'primary-50',\n // },\n // container: {\n // end: 8,\n // bottom: 8,\n // overflow: 'hidden',\n // position: 'absolute',\n // borderRadius: 'full',\n // },\n // },\n // wishlistCta: {\n // visible: true,\n // data: {\n // wishlist: {\n // startIcon: 'outline-wishlist',\n // },\n // wishlisted: {\n // startIcon: 'outline-wishlisted',\n // },\n // },\n // config: {\n // size: 'md',\n // padding: '1.5',\n // variant: 'ghost',\n // text: { color: 'neutral-950' },\n // backgroundColor: 'white',\n // },\n // container: {\n // end: 4,\n // top: 4,\n // overflow: 'hidden',\n // position: 'absolute',\n // borderRadius: 'full',\n // },\n // },\n // },\n [ElemasonComponentType.ProductPricing]: {\n container: {\n gapX: '1.5',\n paddingTop: '3',\n alignItems: 'center',\n },\n price: {\n text: {\n color: 'primary-400',\n variant: 'body3',\n fontWeight: 'semibold',\n },\n },\n discount: {\n text: {\n variant: 'body4',\n color: 'success-600',\n fontWeight: 'semibold',\n },\n },\n mrp: {\n text: {\n variant: 'body4',\n color: 'neutral-500',\n },\n },\n },\n // [ElemasonComponentType.ProductBadges]: {\n // visible: true,\n // data: {\n // text: `{name}`,\n // },\n // config: {\n // badgesToShow: 2,\n // borderRadius: 'sm',\n // width: 'fit-content',\n // //color: 'white',\n // paddingX: '2',\n // paddingY: '0.5',\n // variant: 'body6',\n // fontWeight: 'semibold',\n // },\n // container: {\n // paddingEnd: '2',\n // top: 4,\n // gap: '2',\n // start: 0,\n // overflow: 'hidden',\n // position: 'absolute',\n // justifyContent: 'center',\n // alignItems: 'center',\n // },\n // icon: {\n // size: 'sm',\n // paddingEnd: '2',\n // },\n // },\n },\n} as any;\n\nexport { elemasonConfig };\n"], "mappings": "AAMA,IAAMA,EAAiC,CACrC,QAAS,CACP,eAA+B,EAAG,CAChC,KAAM,CAAE,KAAM,GAAI,EAClB,WAAY,CACV,MAAO,CAAC,EACR,SAAU,CAAC,EACX,UAAW,CACT,WAAY,SACZ,eAAgB,SAChB,gBAAiB,OACnB,CACF,EACA,OAAQ,CACN,MAAO,CAAE,QAAS,QAAS,SAAU,EAAK,EAC1C,UAAW,CAAE,SAAU,IAAK,WAAY,IAAK,cAAe,GAAI,CAClE,EACA,QAAS,CACP,KAAM,KACN,YAAa,IACf,EACA,WAAY,CACV,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,GAAI,IACJ,MAAO,GACT,CACF,CACF,EACA,WAAY,CACV,QAA4B,EAAG,CAC7B,UAAW,CACT,SAAU,IACV,SAAU,IACV,aAAc,KACd,aAAc,KACd,gBAAiB,QACjB,eAAgB,QAClB,EACA,MAAO,CACL,MAAO,QACP,QAAS,UACX,EACA,YAAa,CACX,MAAO,QACP,QAAS,UACX,CACF,EACA,mBAAsC,EAAG,CACvC,KAAM,CACJ,UAAW,CACT,IAAK,MACL,MAAO,OACP,SAAU,OACV,WAAY,SACZ,aAAc,MAChB,EACA,aAAc,CACZ,SAAU,MACV,SAAU,MACV,aAAc,OACd,gBAAiB,aACnB,EACA,KAAM,CACJ,OAAQ,IACR,SAAU,MACV,SAAU,MACV,aAAc,OACd,WAAY,SACZ,YAAa,aACf,EACA,gBAAiB,CACf,YAAa,aACf,EACA,KAAM,CACJ,MAAO,cACP,QAAS,QACT,WAAY,UACd,EACA,gBAAiB,CACf,MAAO,cACP,QAAS,QACT,WAAY,UACd,EACA,aAAc,CACZ,MAAO,QACP,QAAS,QACT,WAAY,UACd,CACF,EACA,MAAO,CACL,UAAW,CACT,MAAO,OACP,SAAU,MACZ,EACA,KAAM,CACJ,WAAY,QACd,EACA,gBAAiB,4BACjB,sBAAuB,CACrB,MAAO,QACP,KAAM,IACR,EACA,aAAc,CACZ,OAAQ,IACR,WAAY,SACZ,aAAc,OACd,YAAa,cACb,WAAY,GACd,EACA,iBAAkB,CAChB,QAAS,OACX,EACA,OAAQ,CACN,cAAe,CACb,OAAQ,GACV,EACA,KAAM,CACJ,MAAO,GACP,OAAQ,EACV,CACF,CACF,CACF,EACA,SAA6B,EAAG,CAC9B,KAAM,CACJ,MAAO,GACP,OAAQ,GACR,SAAU,SACV,aAAc,MAChB,EACA,cAAe,CACb,OAAQ,IACR,OAAQ,IACR,YAAa,QACb,aAAc,MAChB,CACF,EAqPA,kBAAqC,EAAG,CACtC,UAAW,CACT,KAAM,MACN,WAAY,IACZ,WAAY,QACd,EACA,MAAO,CACL,KAAM,CACJ,MAAO,cACP,QAAS,QACT,WAAY,UACd,CACF,EACA,SAAU,CACR,KAAM,CACJ,QAAS,QACT,MAAO,cACP,WAAY,UACd,CACF,EACA,IAAK,CACH,KAAM,CACJ,QAAS,QACT,MAAO,aACT,CACF,CACF,CA+BF,CACF", "names": ["elemasonConfig"] }