@ai-react-markdown/core 1.4.4 → 1.4.5
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/README.md +28 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js.map +1 -1
- package/dist/typography/all.css +34 -29
- package/dist/typography/all.css.map +1 -1
- package/dist/typography/default.css +34 -29
- package/dist/typography/default.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -183,6 +183,10 @@ interface AIMarkdownTypographyProps extends PropsWithChildren {
|
|
|
183
183
|
* `font-size: var(--aim-font-size-root)` to opt out of `em` compounding
|
|
184
184
|
* when a stable size is needed.
|
|
185
185
|
*
|
|
186
|
+
* The built-in `default` variant consumes this variable: its spacing,
|
|
187
|
+
* font-size, and heading tokens are defined as `calc(var(--aim-font-size-root) * k)`,
|
|
188
|
+
* so the `fontSize` prop proportionally scales every rendered dimension.
|
|
189
|
+
*
|
|
186
190
|
* @example
|
|
187
191
|
* ```tsx
|
|
188
192
|
* const MyTypography: AIMarkdownTypographyComponent = ({ children, fontSize, style }) => (
|
package/dist/index.d.ts
CHANGED
|
@@ -183,6 +183,10 @@ interface AIMarkdownTypographyProps extends PropsWithChildren {
|
|
|
183
183
|
* `font-size: var(--aim-font-size-root)` to opt out of `em` compounding
|
|
184
184
|
* when a stable size is needed.
|
|
185
185
|
*
|
|
186
|
+
* The built-in `default` variant consumes this variable: its spacing,
|
|
187
|
+
* font-size, and heading tokens are defined as `calc(var(--aim-font-size-root) * k)`,
|
|
188
|
+
* so the `fontSize` prop proportionally scales every rendered dimension.
|
|
189
|
+
*
|
|
186
190
|
* @example
|
|
187
191
|
* ```tsx
|
|
188
192
|
* const MyTypography: AIMarkdownTypographyComponent = ({ children, fontSize, style }) => (
|