@norges-domstoler/dds-components 0.0.0-dev-20240903102349 → 0.0.0-dev-20240903124850

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
@@ -10150,19 +10150,24 @@ var Popover = (0, import_react100.forwardRef)(
10150
10150
  return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
10151
10151
  Paper,
10152
10152
  {
10153
- ...getBaseHTMLProps(id, className, htmlProps, rest),
10153
+ ...getBaseHTMLProps(
10154
+ id,
10155
+ cn(
10156
+ className,
10157
+ Popover_default.container,
10158
+ utilStyles_default["visibility-transition"],
10159
+ hasTransitionedIn && isOpen ? utilStyles_default["visibility-transition--open"] : utilStyles_default["visibility-transition--closed"],
10160
+ focus_default.focusable
10161
+ ),
10162
+ htmlProps,
10163
+ rest
10164
+ ),
10154
10165
  ref: multiRef,
10155
10166
  tabIndex: -1,
10156
10167
  style: { ...htmlProps.style, ...floatingStyles.floating, ...sizeProps },
10157
10168
  role: "dialog",
10158
10169
  elevation: 3,
10159
10170
  border: "subtle",
10160
- className: cn(
10161
- Popover_default.container,
10162
- utilStyles_default["visibility-transition"],
10163
- hasTransitionedIn && isOpen ? utilStyles_default["visibility-transition--open"] : utilStyles_default["visibility-transition--closed"],
10164
- focus_default.focusable
10165
- ),
10166
10171
  children: [
10167
10172
  title && /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
10168
10173
  /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(