@yamada-ui/react 2.3.1-dev-20261102074704 → 2.3.2-dev-20261104075618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/prose/prose.style.cjs +1 -1
- package/dist/cjs/components/prose/prose.style.cjs.map +1 -1
- package/dist/esm/components/prose/prose.style.js +1 -1
- package/dist/esm/components/prose/prose.style.js.map +1 -1
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/carousel/carousel.style.d.ts +2 -2
- package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -1
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/field/field.style.d.ts +2 -2
- package/dist/types/components/fieldset/fieldset.style.d.ts +1 -1
- package/dist/types/components/menu/menu.style.d.ts +2 -2
- package/dist/types/components/number-input/number-input.style.d.ts +1 -1
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
- package/dist/types/components/steps/steps.style.d.ts +1 -1
- package/dist/types/components/timeline/timeline.d.ts +1 -1
- package/dist/types/components/timeline/timeline.style.d.ts +1 -1
- package/dist/types/components/tree/tree.style.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prose.style.cjs","names":["getStyle","defineComponentStyle","headingStyle","linkStyle","listStyle","blockquoteStyle","codeStyle","nativeTableStyle","separatorStyle"],"sources":["../../../../src/components/prose/prose.style.ts"],"sourcesContent":["import type { CSSObject } from \"../../core\"\nimport { defineComponentStyle, getStyle } from \"../../core\"\nimport { isObject } from \"../../utils\"\nimport { blockquoteStyle } from \"../blockquote\"\nimport { codeStyle } from \"../code\"\nimport { headingStyle } from \"../heading\"\nimport { linkStyle } from \"../link\"\nimport { listStyle } from \"../list\"\nimport { nativeTableStyle } from \"../native-table\"\nimport { separatorStyle } from \"../separator\"\n\nfunction getSelector<Y extends string>(selector: Y) {\n return `& :where(${selector}):not(:where(.not-prose, .not-prose *))` as const\n}\nfunction getScopedStyle(style?: CSSObject): CSSObject | undefined {\n if (!style) return style\n\n return Object.fromEntries(\n Object.entries(style).map(([key, value]) => [\n key,\n isObject(value) && !getStyle(key) && !key.startsWith(\"--\")\n ? {\n \"&:not(:where(.not-prose, .not-prose *))\": getScopedStyle(value),\n }\n : value,\n ]),\n )\n}\nfunction replaceVariants<Y extends string, M extends object | undefined>(\n selector: Y,\n style: M,\n additionalStyle: CSSObject = {},\n): { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } } {\n return Object.fromEntries(\n Object.entries(style ?? {}).map(([key, value]) => [\n key,\n { [selector]: { ...value, ...additionalStyle } },\n ]),\n ) as { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } }\n}\nfunction pickSlot<Y extends object | undefined>(\n variants: Y,\n slot: keyof NonNullable<Y>[keyof NonNullable<Y>],\n): { [D in keyof NonNullable<Y>]: CSSObject } {\n return Object.fromEntries(\n Object.entries(variants ?? {}).map(([key, value]) => [key, value[slot]]),\n ) as { [D in keyof NonNullable<Y>]: CSSObject }\n}\n\nexport const proseStyle = defineComponentStyle({\n base: {\n minW: \"0\",\n overflowWrap: \"break-word\",\n w: \"full\",\n\n [getSelector(\"*\")]: {\n \"&::before, &::after\": {\n textBoxEdge: \"inherit\",\n textBoxTrim: \"inherit\",\n },\n color: \"fg.emphasized\",\n textBoxEdge: \"text\",\n textBoxTrim: \"trim-both\",\n },\n\n \"& :where(.not-prose)\": { textBoxEdge: \"auto\", textBoxTrim: \"none\" },\n\n [getSelector(\n \"h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, a[href] *, blockquote *, th *\",\n )]: {\n color: \"inherit\",\n },\n\n [getSelector(\"p, ul, ol, dl, hr, blockquote, pre, table, figure\")]: {\n my: \"{space}\",\n },\n\n [getSelector(\"h1, h2, h3, h4, h5, h6\")]: {\n ...headingStyle.base,\n color: \"fg\",\n my: \"{space}\",\n },\n\n [getSelector(\"h1\")]: { fontSize: \"2em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h2\")]: { fontSize: \"1.5em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h3\")]: { fontSize: \"1.25em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h4\")]: { fontSize: \"1.125em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h5\")]: { fontSize: \"1em\" },\n [getSelector(\"h6\")]: { fontSize: \"0.875em\" },\n\n [getSelector(\"a[href]\")]: {\n ...linkStyle.base,\n color: \"link.fg\",\n display: \"inline\",\n },\n\n [getSelector(\"b, strong, dt\")]: { fontWeight: \"semibold\" },\n [getSelector(\"em, i\")]: { fontStyle: \"italic\" },\n\n [getSelector(\"ul, ol\")]: listStyle.base?.root,\n\n [getSelector(\"ul\")]: {\n ...listStyle.props?.styleType.disc.root,\n listStyleType: \"disc\",\n },\n\n [getSelector(\"ol\")]: {\n ...listStyle.props?.styleType.decimal.root,\n listStyleType: \"decimal\",\n },\n\n [getSelector(\"li\")]: listStyle.base?.item,\n\n [getSelector(\"li > ul, li > ol\")]: {\n mb: \"0\",\n mt: listStyle.base?.root?.gap,\n },\n\n [getSelector(\"li > [data-list-icon]\")]: listStyle.base?.icon,\n\n [getSelector(\"dd\")]: { mt: \"0.5em\", ps: \"1.5em\" },\n\n [getSelector(\"blockquote\")]: { color: \"fg\", ps: \"1em\" },\n\n [getSelector(\"figcaption\")]: {\n ...blockquoteStyle.base?.caption,\n color: \"fg\",\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n textAlign: \"end\",\n },\n\n [getSelector(\"cite\")]: blockquoteStyle.base?.cite,\n\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.base,\n\n [getSelector(\"pre\")]: {\n bg: \"bg.subtle\",\n fontFamily: \"mono\",\n fontSize: \"0.875em\",\n overflowWrap: \"normal\",\n overflowX: \"auto\",\n p: \"{space}\",\n rounded: \"l2\",\n whiteSpace: \"pre\",\n },\n\n [getSelector(\"pre code\")]: { color: \"fg\" },\n\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.base?.root),\n\n [getSelector(\"thead\")]: getScopedStyle(nativeTableStyle.base?.thead),\n\n [getSelector(\"tbody\")]: getScopedStyle(nativeTableStyle.base?.tbody),\n\n [getSelector(\"tfoot\")]: getScopedStyle(nativeTableStyle.base?.tfoot),\n\n [getSelector(\"tr\")]: getScopedStyle(nativeTableStyle.base?.tr),\n\n [getSelector(\"th\")]: {\n ...getScopedStyle(nativeTableStyle.base?.th),\n color: \"fg\",\n },\n\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.base?.td),\n\n [getSelector(\"caption\")]: {\n ...getScopedStyle(nativeTableStyle.base?.caption),\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n },\n\n [getSelector(\"hr\")]: { ...separatorStyle.base, borderTopWidth: \"1px\" },\n [getSelector(\"img, video\")]: { h: \"auto\", maxW: \"full\" },\n\n \"& > :where(:not(style, :not(style) ~ *)):not(:where(.not-prose, .not-prose *))\":\n {\n mt: \"0\",\n },\n\n \"& > :where(:not(style, :has(~ :not(style)))):not(:where(.not-prose, .not-prose *))\":\n {\n mb: \"0\",\n },\n },\n\n props: {\n blockquote: replaceVariants(\n getSelector(\"blockquote\"),\n pickSlot(blockquoteStyle.variants, \"root\"),\n { px: undefined },\n ),\n code: replaceVariants(\n getSelector(\"code:not(pre code)\"),\n codeStyle.variants,\n ),\n hr: replaceVariants(getSelector(\"hr\"), separatorStyle.variants),\n kbd: replaceVariants(getSelector(\"kbd\"), codeStyle.variants),\n link: replaceVariants(getSelector(\"a[href]\"), linkStyle.variants, {\n color: undefined,\n }),\n table: {\n line: {\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.line.thead,\n ),\n },\n outline: {\n [getSelector(\"table\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.root,\n ),\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.thead,\n ),\n },\n },\n },\n\n sizes: {\n sm: {\n \"--space\": \"fontSizes.sm\",\n fontSize: \"sm\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.sm,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.sm.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.sm.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.sm.th),\n },\n md: {\n \"--space\": \"fontSizes.md\",\n fontSize: \"md\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.md,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.md.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.md.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.md.th),\n },\n lg: {\n \"--space\": \"fontSizes.lg\",\n fontSize: \"lg\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.lg,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.lg.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.lg.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.lg.th),\n },\n },\n\n defaultProps: {\n size: \"md\",\n blockquote: \"subtle\",\n code: \"subtle\",\n kbd: \"outline\",\n link: \"plain\",\n table: \"line\",\n },\n})\n\nexport type ProseStyle = typeof proseStyle\n"],"mappings":";;;;;;;;;;;AAWA,SAAS,YAA8B,UAAa;CAClD,OAAO,YAAY,SAAS;AAC9B;AACA,SAAS,eAAe,OAA0C;CAChE,IAAI,CAAC,OAAO,OAA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EACN,YAAY;EACZ,MAAM;EACN,KAAK;EACL,MAAM;EACN,OAAO;CACT;AACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"prose.style.cjs","names":["getStyle","defineComponentStyle","headingStyle","linkStyle","listStyle","blockquoteStyle","codeStyle","nativeTableStyle","separatorStyle"],"sources":["../../../../src/components/prose/prose.style.ts"],"sourcesContent":["import type { CSSObject } from \"../../core\"\nimport { defineComponentStyle, getStyle } from \"../../core\"\nimport { isObject } from \"../../utils\"\nimport { blockquoteStyle } from \"../blockquote\"\nimport { codeStyle } from \"../code\"\nimport { headingStyle } from \"../heading\"\nimport { linkStyle } from \"../link\"\nimport { listStyle } from \"../list\"\nimport { nativeTableStyle } from \"../native-table\"\nimport { separatorStyle } from \"../separator\"\n\nfunction getSelector<Y extends string>(selector: Y) {\n return `& :where(${selector}):not(:where(.not-prose, .not-prose *))` as const\n}\nfunction getScopedStyle(style?: CSSObject): CSSObject | undefined {\n if (!style) return style\n\n return Object.fromEntries(\n Object.entries(style).map(([key, value]) => [\n key,\n isObject(value) && !getStyle(key) && !key.startsWith(\"--\")\n ? {\n \"&:not(:where(.not-prose, .not-prose *))\": getScopedStyle(value),\n }\n : value,\n ]),\n )\n}\nfunction replaceVariants<Y extends string, M extends object | undefined>(\n selector: Y,\n style: M,\n additionalStyle: CSSObject = {},\n): { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } } {\n return Object.fromEntries(\n Object.entries(style ?? {}).map(([key, value]) => [\n key,\n { [selector]: { ...value, ...additionalStyle } },\n ]),\n ) as { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } }\n}\nfunction pickSlot<Y extends object | undefined>(\n variants: Y,\n slot: keyof NonNullable<Y>[keyof NonNullable<Y>],\n): { [D in keyof NonNullable<Y>]: CSSObject } {\n return Object.fromEntries(\n Object.entries(variants ?? {}).map(([key, value]) => [key, value[slot]]),\n ) as { [D in keyof NonNullable<Y>]: CSSObject }\n}\n\nexport const proseStyle = defineComponentStyle({\n base: {\n minW: \"0\",\n overflowWrap: \"break-word\",\n w: \"full\",\n\n [getSelector(\"*\")]: {\n \"&::before, &::after\": {\n textBoxEdge: \"inherit\",\n textBoxTrim: \"inherit\",\n },\n color: \"fg.emphasized\",\n textBoxEdge: \"text\",\n textBoxTrim: \"trim-both\",\n },\n\n \"& :where(.not-prose)\": { textBoxEdge: \"auto\", textBoxTrim: \"none\" },\n\n [getSelector(\n \"h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, a[href] *, blockquote *, th *\",\n )]: {\n color: \"inherit\",\n },\n\n [getSelector(\"p, ul, ol, dl, hr, blockquote, pre, table, figure\")]: {\n my: \"{space}\",\n },\n\n [getSelector(\"h1, h2, h3, h4, h5, h6\")]: {\n ...headingStyle.base,\n color: \"fg\",\n my: \"{space}\",\n },\n\n [getSelector(\"h1\")]: { fontSize: \"2em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h2\")]: { fontSize: \"1.5em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h3\")]: { fontSize: \"1.25em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h4\")]: { fontSize: \"1.125em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h5\")]: { fontSize: \"1em\" },\n [getSelector(\"h6\")]: { fontSize: \"0.875em\" },\n\n [getSelector(\"a[href]\")]: {\n ...linkStyle.base,\n color: \"link.fg\",\n display: \"inline\",\n },\n\n [getSelector(\"b, strong, dt\")]: { fontWeight: \"semibold\" },\n [getSelector(\"em, i\")]: { fontStyle: \"italic\" },\n\n [getSelector(\"ul, ol\")]: listStyle.base?.root,\n\n [getSelector(\"ul\")]: {\n ...listStyle.props?.styleType.disc.root,\n listStyleType: \"disc\",\n },\n\n [getSelector(\"ol\")]: {\n ...listStyle.props?.styleType.decimal.root,\n listStyleType: \"decimal\",\n },\n\n [getSelector(\"li\")]: listStyle.base?.item,\n\n [getSelector(\"li > ul, li > ol\")]: {\n mb: \"0\",\n mt: listStyle.base?.root?.gap,\n },\n\n [getSelector(\"li > [data-list-icon]\")]: listStyle.base?.icon,\n\n [getSelector(\"dd\")]: { mt: \"0.5em\", ps: \"1.5em\" },\n\n [getSelector(\"blockquote\")]: { color: \"fg\", ps: \"1em\" },\n\n [getSelector(\"figcaption\")]: {\n ...blockquoteStyle.base?.caption,\n color: \"fg\",\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n textAlign: \"end\",\n },\n\n [getSelector(\"cite\")]: blockquoteStyle.base?.cite,\n\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.base,\n\n [getSelector(\"pre\")]: {\n bg: \"bg.subtle\",\n fontFamily: \"mono\",\n fontSize: \"0.875em\",\n overflowWrap: \"normal\",\n overflowX: \"auto\",\n p: \"{space}\",\n rounded: \"l2\",\n whiteSpace: \"pre\",\n },\n\n [getSelector(\"pre code\")]: { color: \"fg\" },\n\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.base?.root),\n\n [getSelector(\"thead\")]: getScopedStyle(nativeTableStyle.base?.thead),\n\n [getSelector(\"tbody\")]: getScopedStyle(nativeTableStyle.base?.tbody),\n\n [getSelector(\"tfoot\")]: getScopedStyle(nativeTableStyle.base?.tfoot),\n\n [getSelector(\"tr\")]: getScopedStyle(nativeTableStyle.base?.tr),\n\n [getSelector(\"th\")]: {\n ...getScopedStyle(nativeTableStyle.base?.th),\n color: \"fg\",\n },\n\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.base?.td),\n\n [getSelector(\"caption\")]: {\n ...getScopedStyle(nativeTableStyle.base?.caption),\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n },\n\n [getSelector(\"hr\")]: { ...separatorStyle.base, borderTopWidth: \"1px\" },\n [getSelector(\"img, video\")]: { h: \"auto\", maxW: \"full\" },\n\n \"& > :where(:not(style, :not(style) ~ *)):not(:where(.not-prose, .not-prose *))\":\n {\n mt: \"0\",\n },\n\n \"& > :where(:not(style, :has(~ :not(style)))):not(:where(.not-prose, .not-prose *))\":\n {\n mb: \"0\",\n },\n },\n\n props: {\n blockquote: replaceVariants(\n getSelector(\"blockquote\"),\n pickSlot(blockquoteStyle.variants, \"root\"),\n { px: undefined },\n ),\n code: replaceVariants(\n getSelector(\"code:not(pre code)\"),\n codeStyle.variants,\n ),\n hr: replaceVariants(getSelector(\"hr\"), separatorStyle.variants),\n kbd: replaceVariants(getSelector(\"kbd\"), codeStyle.variants),\n link: replaceVariants(getSelector(\"a[href]\"), linkStyle.variants, {\n color: undefined,\n }),\n table: {\n line: {\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.line.thead,\n ),\n },\n outline: {\n [getSelector(\"table\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.root,\n ),\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.thead,\n ),\n },\n },\n },\n\n sizes: {\n sm: {\n \"--space\": \"fontSizes.sm\",\n fontSize: \"sm\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.sm,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.sm.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.sm.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.sm.th),\n },\n md: {\n \"--space\": \"fontSizes.md\",\n fontSize: \"md\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.md,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.md.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.md.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.md.th),\n },\n lg: {\n \"--space\": \"fontSizes.lg\",\n fontSize: \"lg\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.lg,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.lg.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.lg.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.lg.th),\n },\n },\n\n defaultProps: {\n size: \"md\",\n blockquote: \"subtle\",\n code: \"subtle\",\n kbd: \"outline\",\n link: \"underline\",\n table: \"line\",\n },\n})\n\nexport type ProseStyle = typeof proseStyle\n"],"mappings":";;;;;;;;;;;AAWA,SAAS,YAA8B,UAAa;CAClD,OAAO,YAAY,SAAS;AAC9B;AACA,SAAS,eAAe,OAA0C;CAChE,IAAI,CAAC,OAAO,OAAO;CAEnB,OAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAC1C,MAAA,GAAA,oBAAA,cACA,SAAA,CAAS,KAAK,KAAK,CAACA,YAAAA,SAAS,GAAG,KAAK,CAAC,IAAI,WAAW,IAAI,IACrD,EACE,2CAA2C,eAAe,KAAK,EACjE,IACA,KACN,CAAC,CACH;AACF;AACA,SAAS,gBACP,UACA,OACA,kBAA6B,CAAC,GAC4B;CAC1D,OAAO,OAAO,YACZ,OAAO,QAAQ,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAChD,KACA,GAAG,WAAW;EAAE,GAAG;EAAO,GAAG;CAAgB,EAAE,CACjD,CAAC,CACH;AACF;AACA,SAAS,SACP,UACA,MAC4C;CAC5C,OAAO,OAAO,YACZ,OAAO,QAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK,MAAM,KAAK,CAAC,CACzE;AACF;AAEA,MAAa,aAAaC,eAAAA,qBAAqB;CAC7C,MAAM;EACJ,MAA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AA,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAeC,2BAAAA,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAeA,2BAAAA,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAeA,2BAAAA,iBAAiB,OAAO,GAAG,EAAE;EACnE;EACA,IAAI;GACF,WAAW;GACX,UAAU;IACT,YAAY,yBAAyB,IAAID,mBAAAA,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAeC,2BAAAA,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAeA,2BAAAA,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAeA,2BAAAA,iBAAiB,OAAO,GAAG,EAAE;EACnE;CACF;CAEA,cAAc;EACZ,MAAM;EACN,YAAY;EACZ,MAAM;EACN,KAAK;EACL,MAAM;EACN,OAAO;CACT;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prose.style.js","names":["isObject"],"sources":["../../../../src/components/prose/prose.style.ts"],"sourcesContent":["import type { CSSObject } from \"../../core\"\nimport { defineComponentStyle, getStyle } from \"../../core\"\nimport { isObject } from \"../../utils\"\nimport { blockquoteStyle } from \"../blockquote\"\nimport { codeStyle } from \"../code\"\nimport { headingStyle } from \"../heading\"\nimport { linkStyle } from \"../link\"\nimport { listStyle } from \"../list\"\nimport { nativeTableStyle } from \"../native-table\"\nimport { separatorStyle } from \"../separator\"\n\nfunction getSelector<Y extends string>(selector: Y) {\n return `& :where(${selector}):not(:where(.not-prose, .not-prose *))` as const\n}\nfunction getScopedStyle(style?: CSSObject): CSSObject | undefined {\n if (!style) return style\n\n return Object.fromEntries(\n Object.entries(style).map(([key, value]) => [\n key,\n isObject(value) && !getStyle(key) && !key.startsWith(\"--\")\n ? {\n \"&:not(:where(.not-prose, .not-prose *))\": getScopedStyle(value),\n }\n : value,\n ]),\n )\n}\nfunction replaceVariants<Y extends string, M extends object | undefined>(\n selector: Y,\n style: M,\n additionalStyle: CSSObject = {},\n): { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } } {\n return Object.fromEntries(\n Object.entries(style ?? {}).map(([key, value]) => [\n key,\n { [selector]: { ...value, ...additionalStyle } },\n ]),\n ) as { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } }\n}\nfunction pickSlot<Y extends object | undefined>(\n variants: Y,\n slot: keyof NonNullable<Y>[keyof NonNullable<Y>],\n): { [D in keyof NonNullable<Y>]: CSSObject } {\n return Object.fromEntries(\n Object.entries(variants ?? {}).map(([key, value]) => [key, value[slot]]),\n ) as { [D in keyof NonNullable<Y>]: CSSObject }\n}\n\nexport const proseStyle = defineComponentStyle({\n base: {\n minW: \"0\",\n overflowWrap: \"break-word\",\n w: \"full\",\n\n [getSelector(\"*\")]: {\n \"&::before, &::after\": {\n textBoxEdge: \"inherit\",\n textBoxTrim: \"inherit\",\n },\n color: \"fg.emphasized\",\n textBoxEdge: \"text\",\n textBoxTrim: \"trim-both\",\n },\n\n \"& :where(.not-prose)\": { textBoxEdge: \"auto\", textBoxTrim: \"none\" },\n\n [getSelector(\n \"h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, a[href] *, blockquote *, th *\",\n )]: {\n color: \"inherit\",\n },\n\n [getSelector(\"p, ul, ol, dl, hr, blockquote, pre, table, figure\")]: {\n my: \"{space}\",\n },\n\n [getSelector(\"h1, h2, h3, h4, h5, h6\")]: {\n ...headingStyle.base,\n color: \"fg\",\n my: \"{space}\",\n },\n\n [getSelector(\"h1\")]: { fontSize: \"2em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h2\")]: { fontSize: \"1.5em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h3\")]: { fontSize: \"1.25em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h4\")]: { fontSize: \"1.125em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h5\")]: { fontSize: \"1em\" },\n [getSelector(\"h6\")]: { fontSize: \"0.875em\" },\n\n [getSelector(\"a[href]\")]: {\n ...linkStyle.base,\n color: \"link.fg\",\n display: \"inline\",\n },\n\n [getSelector(\"b, strong, dt\")]: { fontWeight: \"semibold\" },\n [getSelector(\"em, i\")]: { fontStyle: \"italic\" },\n\n [getSelector(\"ul, ol\")]: listStyle.base?.root,\n\n [getSelector(\"ul\")]: {\n ...listStyle.props?.styleType.disc.root,\n listStyleType: \"disc\",\n },\n\n [getSelector(\"ol\")]: {\n ...listStyle.props?.styleType.decimal.root,\n listStyleType: \"decimal\",\n },\n\n [getSelector(\"li\")]: listStyle.base?.item,\n\n [getSelector(\"li > ul, li > ol\")]: {\n mb: \"0\",\n mt: listStyle.base?.root?.gap,\n },\n\n [getSelector(\"li > [data-list-icon]\")]: listStyle.base?.icon,\n\n [getSelector(\"dd\")]: { mt: \"0.5em\", ps: \"1.5em\" },\n\n [getSelector(\"blockquote\")]: { color: \"fg\", ps: \"1em\" },\n\n [getSelector(\"figcaption\")]: {\n ...blockquoteStyle.base?.caption,\n color: \"fg\",\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n textAlign: \"end\",\n },\n\n [getSelector(\"cite\")]: blockquoteStyle.base?.cite,\n\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.base,\n\n [getSelector(\"pre\")]: {\n bg: \"bg.subtle\",\n fontFamily: \"mono\",\n fontSize: \"0.875em\",\n overflowWrap: \"normal\",\n overflowX: \"auto\",\n p: \"{space}\",\n rounded: \"l2\",\n whiteSpace: \"pre\",\n },\n\n [getSelector(\"pre code\")]: { color: \"fg\" },\n\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.base?.root),\n\n [getSelector(\"thead\")]: getScopedStyle(nativeTableStyle.base?.thead),\n\n [getSelector(\"tbody\")]: getScopedStyle(nativeTableStyle.base?.tbody),\n\n [getSelector(\"tfoot\")]: getScopedStyle(nativeTableStyle.base?.tfoot),\n\n [getSelector(\"tr\")]: getScopedStyle(nativeTableStyle.base?.tr),\n\n [getSelector(\"th\")]: {\n ...getScopedStyle(nativeTableStyle.base?.th),\n color: \"fg\",\n },\n\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.base?.td),\n\n [getSelector(\"caption\")]: {\n ...getScopedStyle(nativeTableStyle.base?.caption),\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n },\n\n [getSelector(\"hr\")]: { ...separatorStyle.base, borderTopWidth: \"1px\" },\n [getSelector(\"img, video\")]: { h: \"auto\", maxW: \"full\" },\n\n \"& > :where(:not(style, :not(style) ~ *)):not(:where(.not-prose, .not-prose *))\":\n {\n mt: \"0\",\n },\n\n \"& > :where(:not(style, :has(~ :not(style)))):not(:where(.not-prose, .not-prose *))\":\n {\n mb: \"0\",\n },\n },\n\n props: {\n blockquote: replaceVariants(\n getSelector(\"blockquote\"),\n pickSlot(blockquoteStyle.variants, \"root\"),\n { px: undefined },\n ),\n code: replaceVariants(\n getSelector(\"code:not(pre code)\"),\n codeStyle.variants,\n ),\n hr: replaceVariants(getSelector(\"hr\"), separatorStyle.variants),\n kbd: replaceVariants(getSelector(\"kbd\"), codeStyle.variants),\n link: replaceVariants(getSelector(\"a[href]\"), linkStyle.variants, {\n color: undefined,\n }),\n table: {\n line: {\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.line.thead,\n ),\n },\n outline: {\n [getSelector(\"table\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.root,\n ),\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.thead,\n ),\n },\n },\n },\n\n sizes: {\n sm: {\n \"--space\": \"fontSizes.sm\",\n fontSize: \"sm\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.sm,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.sm.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.sm.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.sm.th),\n },\n md: {\n \"--space\": \"fontSizes.md\",\n fontSize: \"md\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.md,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.md.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.md.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.md.th),\n },\n lg: {\n \"--space\": \"fontSizes.lg\",\n fontSize: \"lg\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.lg,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.lg.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.lg.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.lg.th),\n },\n },\n\n defaultProps: {\n size: \"md\",\n blockquote: \"subtle\",\n code: \"subtle\",\n kbd: \"outline\",\n link: \"plain\",\n table: \"line\",\n },\n})\n\nexport type ProseStyle = typeof proseStyle\n"],"mappings":";;;;;;;;;;;AAWA,SAAS,YAA8B,UAAa;CAClD,OAAO,YAAY,SAAS;AAC9B;AACA,SAAS,eAAe,OAA0C;CAChE,IAAI,CAAC,OAAO,OAAO;CAEnB,OAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAC1C,MAAA,GACAA,cAAAA,SAAAA,CAAS,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,WAAW,IAAI,IACrD,EACE,2CAA2C,eAAe,KAAK,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,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;EACA,IAAI;GACF,WAAW;GACX,UAAU;IACT,YAAY,yBAAyB,IAAI,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAe,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;EACA,IAAI;GACF,WAAW;GACX,UAAU;IACT,YAAY,yBAAyB,IAAI,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAe,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;CACF;CAEA,cAAc;EACZ,MAAM;EACN,YAAY;EACZ,MAAM;EACN,KAAK;EACL,MAAM;EACN,OAAO;CACT;AACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"prose.style.js","names":["isObject"],"sources":["../../../../src/components/prose/prose.style.ts"],"sourcesContent":["import type { CSSObject } from \"../../core\"\nimport { defineComponentStyle, getStyle } from \"../../core\"\nimport { isObject } from \"../../utils\"\nimport { blockquoteStyle } from \"../blockquote\"\nimport { codeStyle } from \"../code\"\nimport { headingStyle } from \"../heading\"\nimport { linkStyle } from \"../link\"\nimport { listStyle } from \"../list\"\nimport { nativeTableStyle } from \"../native-table\"\nimport { separatorStyle } from \"../separator\"\n\nfunction getSelector<Y extends string>(selector: Y) {\n return `& :where(${selector}):not(:where(.not-prose, .not-prose *))` as const\n}\nfunction getScopedStyle(style?: CSSObject): CSSObject | undefined {\n if (!style) return style\n\n return Object.fromEntries(\n Object.entries(style).map(([key, value]) => [\n key,\n isObject(value) && !getStyle(key) && !key.startsWith(\"--\")\n ? {\n \"&:not(:where(.not-prose, .not-prose *))\": getScopedStyle(value),\n }\n : value,\n ]),\n )\n}\nfunction replaceVariants<Y extends string, M extends object | undefined>(\n selector: Y,\n style: M,\n additionalStyle: CSSObject = {},\n): { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } } {\n return Object.fromEntries(\n Object.entries(style ?? {}).map(([key, value]) => [\n key,\n { [selector]: { ...value, ...additionalStyle } },\n ]),\n ) as { [D in keyof NonNullable<M>]: { [H in Y]: CSSObject } }\n}\nfunction pickSlot<Y extends object | undefined>(\n variants: Y,\n slot: keyof NonNullable<Y>[keyof NonNullable<Y>],\n): { [D in keyof NonNullable<Y>]: CSSObject } {\n return Object.fromEntries(\n Object.entries(variants ?? {}).map(([key, value]) => [key, value[slot]]),\n ) as { [D in keyof NonNullable<Y>]: CSSObject }\n}\n\nexport const proseStyle = defineComponentStyle({\n base: {\n minW: \"0\",\n overflowWrap: \"break-word\",\n w: \"full\",\n\n [getSelector(\"*\")]: {\n \"&::before, &::after\": {\n textBoxEdge: \"inherit\",\n textBoxTrim: \"inherit\",\n },\n color: \"fg.emphasized\",\n textBoxEdge: \"text\",\n textBoxTrim: \"trim-both\",\n },\n\n \"& :where(.not-prose)\": { textBoxEdge: \"auto\", textBoxTrim: \"none\" },\n\n [getSelector(\n \"h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, a[href] *, blockquote *, th *\",\n )]: {\n color: \"inherit\",\n },\n\n [getSelector(\"p, ul, ol, dl, hr, blockquote, pre, table, figure\")]: {\n my: \"{space}\",\n },\n\n [getSelector(\"h1, h2, h3, h4, h5, h6\")]: {\n ...headingStyle.base,\n color: \"fg\",\n my: \"{space}\",\n },\n\n [getSelector(\"h1\")]: { fontSize: \"2em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h2\")]: { fontSize: \"1.5em\", mt: \"calc({space} * 2)\" },\n [getSelector(\"h3\")]: { fontSize: \"1.25em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h4\")]: { fontSize: \"1.125em\", mt: \"calc({space} * 1.5)\" },\n [getSelector(\"h5\")]: { fontSize: \"1em\" },\n [getSelector(\"h6\")]: { fontSize: \"0.875em\" },\n\n [getSelector(\"a[href]\")]: {\n ...linkStyle.base,\n color: \"link.fg\",\n display: \"inline\",\n },\n\n [getSelector(\"b, strong, dt\")]: { fontWeight: \"semibold\" },\n [getSelector(\"em, i\")]: { fontStyle: \"italic\" },\n\n [getSelector(\"ul, ol\")]: listStyle.base?.root,\n\n [getSelector(\"ul\")]: {\n ...listStyle.props?.styleType.disc.root,\n listStyleType: \"disc\",\n },\n\n [getSelector(\"ol\")]: {\n ...listStyle.props?.styleType.decimal.root,\n listStyleType: \"decimal\",\n },\n\n [getSelector(\"li\")]: listStyle.base?.item,\n\n [getSelector(\"li > ul, li > ol\")]: {\n mb: \"0\",\n mt: listStyle.base?.root?.gap,\n },\n\n [getSelector(\"li > [data-list-icon]\")]: listStyle.base?.icon,\n\n [getSelector(\"dd\")]: { mt: \"0.5em\", ps: \"1.5em\" },\n\n [getSelector(\"blockquote\")]: { color: \"fg\", ps: \"1em\" },\n\n [getSelector(\"figcaption\")]: {\n ...blockquoteStyle.base?.caption,\n color: \"fg\",\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n textAlign: \"end\",\n },\n\n [getSelector(\"cite\")]: blockquoteStyle.base?.cite,\n\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.base,\n\n [getSelector(\"pre\")]: {\n bg: \"bg.subtle\",\n fontFamily: \"mono\",\n fontSize: \"0.875em\",\n overflowWrap: \"normal\",\n overflowX: \"auto\",\n p: \"{space}\",\n rounded: \"l2\",\n whiteSpace: \"pre\",\n },\n\n [getSelector(\"pre code\")]: { color: \"fg\" },\n\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.base?.root),\n\n [getSelector(\"thead\")]: getScopedStyle(nativeTableStyle.base?.thead),\n\n [getSelector(\"tbody\")]: getScopedStyle(nativeTableStyle.base?.tbody),\n\n [getSelector(\"tfoot\")]: getScopedStyle(nativeTableStyle.base?.tfoot),\n\n [getSelector(\"tr\")]: getScopedStyle(nativeTableStyle.base?.tr),\n\n [getSelector(\"th\")]: {\n ...getScopedStyle(nativeTableStyle.base?.th),\n color: \"fg\",\n },\n\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.base?.td),\n\n [getSelector(\"caption\")]: {\n ...getScopedStyle(nativeTableStyle.base?.caption),\n fontSize: \"0.875em\",\n my: \"calc({space} / 2)\",\n },\n\n [getSelector(\"hr\")]: { ...separatorStyle.base, borderTopWidth: \"1px\" },\n [getSelector(\"img, video\")]: { h: \"auto\", maxW: \"full\" },\n\n \"& > :where(:not(style, :not(style) ~ *)):not(:where(.not-prose, .not-prose *))\":\n {\n mt: \"0\",\n },\n\n \"& > :where(:not(style, :has(~ :not(style)))):not(:where(.not-prose, .not-prose *))\":\n {\n mb: \"0\",\n },\n },\n\n props: {\n blockquote: replaceVariants(\n getSelector(\"blockquote\"),\n pickSlot(blockquoteStyle.variants, \"root\"),\n { px: undefined },\n ),\n code: replaceVariants(\n getSelector(\"code:not(pre code)\"),\n codeStyle.variants,\n ),\n hr: replaceVariants(getSelector(\"hr\"), separatorStyle.variants),\n kbd: replaceVariants(getSelector(\"kbd\"), codeStyle.variants),\n link: replaceVariants(getSelector(\"a[href]\"), linkStyle.variants, {\n color: undefined,\n }),\n table: {\n line: {\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.line.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.line.thead,\n ),\n },\n outline: {\n [getSelector(\"table\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.root,\n ),\n [getSelector(\"tbody\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tbody,\n ),\n [getSelector(\"tfoot\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.tfoot,\n ),\n [getSelector(\"thead\")]: getScopedStyle(\n nativeTableStyle.variants?.outline.thead,\n ),\n },\n },\n },\n\n sizes: {\n sm: {\n \"--space\": \"fontSizes.sm\",\n fontSize: \"sm\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.sm,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.sm.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.sm.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.sm.th),\n },\n md: {\n \"--space\": \"fontSizes.md\",\n fontSize: \"md\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.md,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.md.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.md.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.md.th),\n },\n lg: {\n \"--space\": \"fontSizes.lg\",\n fontSize: \"lg\",\n [getSelector(\"code:not(pre code), kbd\")]: codeStyle.sizes?.lg,\n [getSelector(\"table\")]: getScopedStyle(nativeTableStyle.sizes?.lg.root),\n [getSelector(\"td\")]: getScopedStyle(nativeTableStyle.sizes?.lg.td),\n [getSelector(\"th\")]: getScopedStyle(nativeTableStyle.sizes?.lg.th),\n },\n },\n\n defaultProps: {\n size: \"md\",\n blockquote: \"subtle\",\n code: \"subtle\",\n kbd: \"outline\",\n link: \"underline\",\n table: \"line\",\n },\n})\n\nexport type ProseStyle = typeof proseStyle\n"],"mappings":";;;;;;;;;;;AAWA,SAAS,YAA8B,UAAa;CAClD,OAAO,YAAY,SAAS;AAC9B;AACA,SAAS,eAAe,OAA0C;CAChE,IAAI,CAAC,OAAO,OAAO;CAEnB,OAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,WAAW,CAC1C,MAAA,GACAA,cAAAA,SAAAA,CAAS,KAAK,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,WAAW,IAAI,IACrD,E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,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;EACA,IAAI;GACF,WAAW;GACX,UAAU;IACT,YAAY,yBAAyB,IAAI,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAe,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;EACA,IAAI;GACF,WAAW;GACX,UAAU;IACT,YAAY,yBAAyB,IAAI,UAAU,OAAO;IAC1D,YAAY,OAAO,IAAI,eAAe,iBAAiB,OAAO,GAAG,IAAI;IACrE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;IAChE,YAAY,IAAI,IAAI,eAAe,iBAAiB,OAAO,GAAG,EAAE;EACnE;CACF;CAEA,cAAc;EACZ,MAAM;EACN,YAAY;EACZ,MAAM;EACN,KAAK;EACL,MAAM;EACN,OAAO;CACT;AACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "weekday" | "day" | "months" | "years" | "weeks" | "
|
|
4
|
+
export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev", {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the calendar will be fixed rows.
|
|
7
7
|
*
|
|
@@ -73,6 +73,6 @@ export declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "ce
|
|
|
73
73
|
"--font-size": "fontSizes.xl";
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
|
-
}, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "weekday" | "day" | "months" | "years" | "weeks" | "
|
|
76
|
+
}, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev">>>;
|
|
77
77
|
export type CalendarStyle = typeof calendarStyle;
|
|
78
78
|
//# sourceMappingURL=calendar.style.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "
|
|
4
|
+
export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators", CSSPropObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>, {
|
|
5
5
|
sm: {
|
|
6
6
|
root: {
|
|
7
7
|
h: "sm";
|
|
@@ -17,6 +17,6 @@ export declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root"
|
|
|
17
17
|
h: "lg";
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "
|
|
20
|
+
}, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>>;
|
|
21
21
|
export type CarouselStyle = typeof carouselStyle;
|
|
22
22
|
//# sourceMappingURL=carousel.style.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const cartesianChartStyle: ComponentSlotStyle<"area" | "line" | "grid" | "bar" | "dot" | "root" | "
|
|
4
|
+
export declare const cartesianChartStyle: ComponentSlotStyle<"area" | "line" | "grid" | "bar" | "dot" | "root" | "labelList" | "activeDot" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine", CSSPropObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "labelList" | "activeDot" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>, CSSModifierObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "labelList" | "activeDot" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>, CSSModifierObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "labelList" | "activeDot" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>>;
|
|
5
5
|
export type CartesianChartStyle = typeof cartesianChartStyle;
|
|
6
6
|
//# sourceMappingURL=cartesian-chart.style.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "
|
|
4
|
+
export declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector", CSSPropObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>>;
|
|
5
5
|
export type PolarChartStyle = typeof polarChartStyle;
|
|
6
6
|
//# sourceMappingURL=polar-chart.style.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "
|
|
4
|
+
export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator", {
|
|
5
5
|
/**
|
|
6
6
|
* The orientation of the field.
|
|
7
7
|
*/
|
|
@@ -35,6 +35,6 @@ export declare const fieldStyle: ComponentSlotStyle<"label" | "root" | "errorMes
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
}, CSSModifierObject<CSSSlotObject<"label" | "root" | "
|
|
38
|
+
}, CSSModifierObject<CSSSlotObject<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator">>, CSSModifierObject<CSSSlotObject<"label" | "root" | "helperMessage" | "errorMessage" | "requiredIndicator">>>;
|
|
39
39
|
export type FieldStyle = typeof fieldStyle;
|
|
40
40
|
//# sourceMappingURL=field.style.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const fieldsetStyle: ComponentSlotStyle<"header" | "legend" | "content" | "root" | "
|
|
4
|
+
export declare const fieldsetStyle: ComponentSlotStyle<"header" | "legend" | "content" | "root" | "helperMessage" | "errorMessage", CSSPropObject<CSSSlotObject<"header" | "legend" | "content" | "root" | "helperMessage" | "errorMessage">>, {
|
|
5
5
|
sm: {
|
|
6
6
|
content: {
|
|
7
7
|
gap: "3";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
4
|
+
export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>, {
|
|
5
5
|
sm: {
|
|
6
6
|
command: {
|
|
7
7
|
fontSize: "2xs";
|
|
@@ -86,6 +86,6 @@ export declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label"
|
|
|
86
86
|
px: "2";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "
|
|
89
|
+
}, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>>;
|
|
90
90
|
export type MenuStyle = typeof menuStyle;
|
|
91
91
|
//# sourceMappingURL=menu.style.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSPropObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const numberInputStyle: ComponentSlotStyle<"button" | "root" | "
|
|
4
|
+
export declare const numberInputStyle: ComponentSlotStyle<"button" | "root" | "decrement" | "increment" | "field" | "control", CSSPropObject<CSSSlotObject<"button" | "root" | "decrement" | "increment" | "field" | "control">>, {
|
|
5
5
|
xs: {
|
|
6
6
|
control: {
|
|
7
7
|
boxSize: "calc({--height} - {spaces.2})";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.type.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "
|
|
4
|
+
export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "indicator" | "item", {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the segmented control will be full rounded.
|
|
7
7
|
*
|
|
@@ -113,6 +113,6 @@ export declare const segmentedControlStyle: ComponentSlotStyle<"root" | "item" |
|
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
-
}, CSSModifierObject<CSSSlotObject<"root" | "
|
|
116
|
+
}, CSSModifierObject<CSSSlotObject<"root" | "indicator" | "item">>>;
|
|
117
117
|
export type SegmentedControlStyle = typeof segmentedControlStyle;
|
|
118
118
|
//# sourceMappingURL=segmented-control.style.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "
|
|
3
|
+
export declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "indicator" | "item" | "description", {
|
|
4
4
|
/**
|
|
5
5
|
* The orientation of the steps.
|
|
6
6
|
*
|
|
@@ -61,7 +61,7 @@ declare const TimelinePropsContext: import("react").Context<Partial<TimelineRoot
|
|
|
61
61
|
*
|
|
62
62
|
* @see https://yamada-ui.com/docs/components/timeline
|
|
63
63
|
*/
|
|
64
|
-
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "
|
|
64
|
+
export declare const TimelineRoot: Component<({ variant: variantProp, children, index, items, ...rest }: WithoutThemeProps<TimelineRootProps, ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "item" | "description" | "connector", {
|
|
65
65
|
align: {
|
|
66
66
|
center: {
|
|
67
67
|
content: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "
|
|
3
|
+
export declare const timelineStyle: ComponentSlotStyle<"title" | "content" | "root" | "indicator" | "item" | "description" | "connector", {
|
|
4
4
|
/**
|
|
5
5
|
* The alignment of the timeline.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentSlotStyle } from "../../core/system/index.type.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
export declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "
|
|
3
|
+
export declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "indicator" | "item", {
|
|
4
4
|
/**
|
|
5
5
|
* The shape of the component
|
|
6
6
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.2-dev-20261104075618",
|
|
5
5
|
"description": "React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"yamada",
|