@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 1.56 kB
Source Map (JSON)
{"version":3,"file":"list.style.cjs","names":["defineComponentSlotStyle"],"sources":["../../../../src/components/list/list.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\n\nexport const listStyle = defineComponentSlotStyle({\n base: {\n icon: {\n display: \"inline-block\",\n fontSize: \"lg\",\n me: \"sm\",\n verticalAlign: \"middle\",\n },\n item: {\n \"&:has([data-list-icon])\": {\n alignItems: \"center\",\n display: \"inline-flex\",\n },\n },\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"sm\",\n },\n },\n\n props: {\n styleType: {\n circle: { root: { ms: \"1.4em\" } },\n decimal: {\n item: { ps: \"0.3em\" },\n root: { ms: \"1.2em\" },\n },\n disc: { root: { ms: \"1.4em\" } },\n \"lower-alpha\": { item: { ps: \"0.2em\" }, root: { ms: \"1.2em\" } },\n square: { root: { ms: \"1.4em\" } },\n },\n },\n})\n\nexport type ListStyle = typeof listStyle\n"],"mappings":";;;AAEA,MAAa,YAAYA,wCAAyB;CAChD,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,UAAU;GACV,IAAI;GACJ,eAAe;GAChB;EACD,MAAM,EACJ,2BAA2B;GACzB,YAAY;GACZ,SAAS;GACV,EACF;EACD,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACN;EACF;CAED,OAAO,EACL,WAAW;EACT,QAAQ,EAAE,MAAM,EAAE,IAAI,SAAS,EAAE;EACjC,SAAS;GACP,MAAM,EAAE,IAAI,SAAS;GACrB,MAAM,EAAE,IAAI,SAAS;GACtB;EACD,MAAM,EAAE,MAAM,EAAE,IAAI,SAAS,EAAE;EAC/B,eAAe;GAAE,MAAM,EAAE,IAAI,SAAS;GAAE,MAAM,EAAE,IAAI,SAAS;GAAE;EAC/D,QAAQ,EAAE,MAAM,EAAE,IAAI,SAAS,EAAE;EAClC,EACF;CACF,CAAC"}