@leabankab/component-library 8.1.1 → 8.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c411f3a: Add innerClassName prop to Global Alert
8
+
9
+ ### Patch Changes
10
+
11
+ - c411f3a: `CookieConsentProvider` reads the stored consent under browser automation such as Playwright. Until now vanilla-cookieconsent's bot check stopped it before the cookie was read, so the dialog opened on every page even with a `cc_cookie` in place. An end-to-end test can now store a consent to keep the dialog closed; see Docs/Cookie Consent. Nothing changes for visitors.
12
+
3
13
  ## 8.1.1
4
14
 
5
15
  ### Patch Changes
@@ -1280,16 +1280,16 @@ function mn({ size: e = "lg", render: t, className: n, ...r }) {
1280
1280
  }
1281
1281
  //#endregion
1282
1282
  //#region src/components/feedback/global-alert.tsx
1283
- function hn({ fluid: e = !1, className: t, ...n }) {
1284
- let { rootProps: r, content: i } = Mt(n);
1283
+ function hn({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1284
+ let { rootProps: i, content: a } = Mt(r);
1285
1285
  return /* @__PURE__ */ j("div", {
1286
- ...r,
1286
+ ...i,
1287
1287
  "data-global": "",
1288
1288
  className: [kt.Alert, t].filter(Boolean).join(" "),
1289
1289
  children: /* @__PURE__ */ j(mn, {
1290
- className: kt.Layout,
1290
+ className: [kt.Layout, n].filter(Boolean).join(" "),
1291
1291
  "data-fluid": e || void 0,
1292
- children: i
1292
+ children: a
1293
1293
  })
1294
1294
  });
1295
1295
  }