@norges-domstoler/dds-components 0.0.0-dev-20260724125208 → 0.0.0-dev-20260817084205
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.mts +7 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -4287,10 +4287,10 @@ const Typography = (props) => {
|
|
|
4287
4287
|
Typography.displayName = "Typography";
|
|
4288
4288
|
//#endregion
|
|
4289
4289
|
//#region src/components/Typography/Caption/Caption.tsx
|
|
4290
|
-
const Caption = ({ id, className, style, htmlProps, children, ...rest }) => {
|
|
4290
|
+
const Caption = ({ typographyType = "heading-large", id, className, style, htmlProps, children, ...rest }) => {
|
|
4291
4291
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Typography, {
|
|
4292
4292
|
...getBaseHTMLProps(id, className, style, htmlProps, rest),
|
|
4293
|
-
typographyType
|
|
4293
|
+
typographyType,
|
|
4294
4294
|
as: "caption",
|
|
4295
4295
|
children
|
|
4296
4296
|
});
|