@norges-domstoler/dds-components 17.2.0 → 17.2.1

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
@@ -4175,14 +4175,21 @@ import { forwardRef as forwardRef13 } from "react";
4175
4175
 
4176
4176
  // src/components/BackLink/BackLink.module.css
4177
4177
  var BackLink_default = {
4178
- link: "BackLink_link"
4178
+ icon: "BackLink_icon"
4179
4179
  };
4180
4180
 
4181
4181
  // src/components/BackLink/BackLink.tsx
4182
4182
  import { jsx as jsx177, jsxs as jsxs24 } from "react/jsx-runtime";
4183
4183
  var BackLink = forwardRef13((props, ref) => {
4184
- return /* @__PURE__ */ jsx177("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ jsxs24(Link, { href: props.href, className: BackLink_default.link, children: [
4185
- /* @__PURE__ */ jsx177(Icon, { icon: ArrowLeftIcon, iconSize: "small" }),
4184
+ return /* @__PURE__ */ jsx177("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ jsxs24(Link, { href: props.href, children: [
4185
+ /* @__PURE__ */ jsx177(
4186
+ Icon,
4187
+ {
4188
+ icon: ArrowLeftIcon,
4189
+ iconSize: "small",
4190
+ className: BackLink_default.icon
4191
+ }
4192
+ ),
4186
4193
  props.label
4187
4194
  ] }) });
4188
4195
  });
@@ -8084,7 +8091,7 @@ var Grid = (props) => {
8084
8091
  "div",
8085
8092
  {
8086
8093
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
8087
- style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8094
+ style: { ...style, ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8088
8095
  }
8089
8096
  ) : /* @__PURE__ */ jsx242(
8090
8097
  "form",