@norges-domstoler/dds-components 0.0.0-dev-20250409122349 → 0.0.0-dev-20250410075606

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.mjs CHANGED
@@ -39,7 +39,6 @@ var typographyStyles_default = {
39
39
  "label-medium": "typographyStyles_label-medium",
40
40
  "label-medium--margins": "typographyStyles_label-medium--margins",
41
41
  legend: "typographyStyles_legend",
42
- "legend--margins": "typographyStyles_legend--margins",
43
42
  "caption--withMargins": "typographyStyles_caption--withMargins",
44
43
  bold: "typographyStyles_bold",
45
44
  italic: "typographyStyles_italic",
@@ -2036,7 +2035,6 @@ var Typography = (props) => {
2036
2035
  typographyStyles_default[typographyCn],
2037
2036
  withMargins && typographyStyles_default[`${typographyCn}--margins`],
2038
2037
  isLegend(as) && typographyStyles_default.legend,
2039
- isLegend(as) && withMargins && typographyStyles_default["legend--margins"],
2040
2038
  isCaption(as) && withMargins && typographyStyles_default["caption--withMargins"],
2041
2039
  bold && typographyStyles_default.bold,
2042
2040
  underline && typographyStyles_default.underline,
@@ -2178,7 +2176,7 @@ var Legend = ({
2178
2176
  id,
2179
2177
  className,
2180
2178
  htmlProps,
2181
- children,
2179
+ typographyType = "headingLarge",
2182
2180
  ...rest
2183
2181
  }) => {
2184
2182
  return /* @__PURE__ */ jsx172(
@@ -2186,8 +2184,7 @@ var Legend = ({
2186
2184
  {
2187
2185
  ...getBaseHTMLProps(id, className, htmlProps, rest),
2188
2186
  as: "legend",
2189
- typographyType: "headingLarge",
2190
- children
2187
+ typographyType
2191
2188
  }
2192
2189
  );
2193
2190
  };
@@ -7105,13 +7102,18 @@ var FooterLogo = ({ hideBreakpoint, ...rest }) => {
7105
7102
  return /* @__PURE__ */ jsx249(
7106
7103
  Box,
7107
7104
  {
7108
- as: "img",
7109
7105
  hideBelow: hideBreakpoint ? hideBreakpoint : void 0,
7110
- src: norges_domstoler_logo_default,
7111
- height: 80,
7112
- width: 151,
7113
- alt: "norges domstoler",
7114
- ...rest
7106
+ width: "fit-content",
7107
+ children: /* @__PURE__ */ jsx249(
7108
+ "img",
7109
+ {
7110
+ height: 80,
7111
+ width: 151,
7112
+ alt: "norges domstoler",
7113
+ src: norges_domstoler_logo_default,
7114
+ ...rest
7115
+ }
7116
+ )
7115
7117
  }
7116
7118
  );
7117
7119
  };