{"version":3,"file":"listStyle.cjs","sources":["../../../src/components/List/listStyle.ts"],"sourcesContent":["// types\n\nimport { className } from '../utils/types'\n\nexport interface ListStylesType {\n  defaultProps?: {\n    className?: className\n  }\n  styles?: {\n    base?: {\n      list?: object\n      item?: {\n        initial?: object\n        selected?: object\n        disabled?: object\n      }\n      itemPrefix?: object\n      itemSuffix?: object\n    }\n  }\n}\n\nexport const list: ListStylesType = {\n  defaultProps: {\n    className: '',\n  },\n  styles: {\n    base: {\n      list: {\n        display: 'flex',\n        flexDirection: 'flex-col',\n        minWidth: 'min-w-[240px]',\n        p: 'p-2',\n        fontSize: 'text-base',\n        fontWeight: 'font-normal',\n      },\n      item: {\n        initial: {\n          display: 'flex',\n          alignItems: 'items-center',\n          width: 'w-full',\n          padding: 'p-3',\n          borderRadius: 'rounded-sm',\n          textAlign: 'text-start',\n          lightHeight: 'leading-tight',\n          transition: 'transition-all',\n          bg: 'hover:bg-card-hover hover:bg-opacity-80 focus:bg-card-hover focus:bg-opacity-80 active:bg-card-hover active:bg-opacity-80',\n          color:\n            'hover:text-foreground/90 focus:text-foreground/90 active:text-foreground/90',\n          outline: 'outline-none',\n        },\n        selected: {\n          bg: 'bg-slate-50',\n        },\n        disabled: {\n          opacity: 'opacity-50',\n          cursor: 'cursor-not-allowed',\n          pointerEvents: 'pointer-events-none',\n          userSelect: 'select-none',\n          bg: 'hover:bg-transparent focus:bg-transparent active:bg-transparent',\n          color: 'hover:text-slate-500 focus:text-slate-500 active:text-slate-500',\n        },\n      },\n      itemPrefix: {\n        display: 'grid',\n        placeItems: 'place-items-center',\n        marginRight: 'mr-4',\n      },\n      itemSuffix: {\n        display: 'grid',\n        placeItems: 'place-items-center',\n        marginRight: 'ml-auto justify-self-end',\n      },\n    },\n  },\n}\n"],"names":["defaultProps","className","styles","base","list","display","flexDirection","minWidth","p","fontSize","fontWeight","item","initial","alignItems","width","padding","borderRadius","textAlign","lightHeight","transition","bg","color","outline","selected","disabled","opacity","cursor","pointerEvents","userSelect","itemPrefix","placeItems","marginRight","itemSuffix"],"mappings":"6FAsBoC,CAClCA,aAAc,CACZC,UAAW,IAEbC,OAAQ,CACNC,KAAM,CACJC,KAAM,CACJC,QAAS,OACTC,cAAe,WACfC,SAAU,gBACVC,EAAG,MACHC,SAAU,YACVC,WAAY,eAEdC,KAAM,CACJC,QAAS,CACPP,QAAS,OACTQ,WAAY,eACZC,MAAO,SACPC,QAAS,MACTC,aAAc,aACdC,UAAW,aACXC,YAAa,gBACbC,WAAY,iBACZC,GAAI,4HACJC,MACE,8EACFC,QAAS,gBAEXC,SAAU,CACRH,GAAI,eAENI,SAAU,CACRC,QAAS,aACTC,OAAQ,qBACRC,cAAe,sBACfC,WAAY,cACZR,GAAI,kEACJC,MAAO,oEAGXQ,WAAY,CACVxB,QAAS,OACTyB,WAAY,qBACZC,YAAa,QAEfC,WAAY,CACV3B,QAAS,OACTyB,WAAY,qBACZC,YAAa"}