@norges-domstoler/dds-components 0.0.0-dev-20240904130256 → 0.0.0-dev-20240905110813

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.js CHANGED
@@ -4503,14 +4503,21 @@ var import_react24 = require("react");
4503
4503
 
4504
4504
  // src/components/BackLink/BackLink.module.css
4505
4505
  var BackLink_default = {
4506
- link: "BackLink_link"
4506
+ icon: "BackLink_icon"
4507
4507
  };
4508
4508
 
4509
4509
  // src/components/BackLink/BackLink.tsx
4510
4510
  var import_jsx_runtime177 = require("react/jsx-runtime");
4511
4511
  var BackLink = (0, import_react24.forwardRef)((props, ref) => {
4512
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(Link, { href: props.href, className: BackLink_default.link, children: [
4513
- /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(Icon, { icon: ArrowLeftIcon, iconSize: "small" }),
4512
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(Link, { href: props.href, children: [
4513
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4514
+ Icon,
4515
+ {
4516
+ icon: ArrowLeftIcon,
4517
+ iconSize: "small",
4518
+ className: BackLink_default.icon
4519
+ }
4520
+ ),
4514
4521
  props.label
4515
4522
  ] }) });
4516
4523
  });
@@ -8336,7 +8343,7 @@ var Grid = (props) => {
8336
8343
  "div",
8337
8344
  {
8338
8345
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
8339
- style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8346
+ style: { ...style, ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8340
8347
  }
8341
8348
  ) : /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
8342
8349
  "form",