@mobielnl/elements 0.10.4 → 0.11.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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as H, m as oe, r as bt, h as xn, a as Tt, w as ue, b as Ke, c as P, d as z, e as ye, f as q, n as Vt, p as St, t as wt, g as Mn, j as Cn, v as Pn, k as Fn, l as Dn, o as En, q as Ye, s as At, u as On, x as In, y as K, z as Rn, A as kn, B as le, C as Xe, D as xt, E as Kn, F as Nn, G as Bn, H as Mt, I as Ln, J as Gn, K as _n, L as jn, M as Un, N as Ct, O as Pt, P as Ft, Q as Dt } from "./index-DmRUJaM4.js";
2
+ import { i as H, m as oe, r as bt, h as xn, a as Tt, w as ue, b as Ke, c as P, d as z, e as ye, f as q, n as Vt, p as St, t as wt, g as Mn, j as Cn, v as Pn, k as Fn, l as Dn, o as En, q as Ye, s as At, u as On, x as In, y as K, z as Rn, A as kn, B as le, C as Xe, D as xt, E as Kn, F as Nn, G as Bn, H as Mt, I as Ln, J as Gn, K as _n, L as jn, M as Un, N as Ct, O as Pt, P as Ft, Q as Dt } from "./index-BWGnaurV.js";
3
3
  import { Fragment as $n } from "react";
4
4
  var ke = typeof globalThis < "u" && globalThis.process ? globalThis.process : { env: { NODE_ENV: "production" } };
5
5
  function Wn(t, e) {
@@ -13829,7 +13829,7 @@ var lh = Se({
13829
13829
  function _0(e) {
13830
13830
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
13831
13831
  }
13832
- var lS = (e) => e ? "" : void 0, D0 = Oe.env.NODE_ENV !== "production";
13832
+ var lS = (e) => e, D0 = Oe.env.NODE_ENV !== "production";
13833
13833
  Oe.env.NODE_ENV;
13834
13834
  function Ef(e) {
13835
13835
  return Array.isArray(e);
@@ -22766,7 +22766,7 @@ function Si(e, t) {
22766
22766
  })
22767
22767
  };
22768
22768
  }
22769
- var T6 = () => import("./index-ZSAmRwRv.js").then((e) => e.default), X1 = (e) => {
22769
+ var T6 = () => import("./index-BTccuk-X.js").then((e) => e.default), X1 = (e) => {
22770
22770
  const { ripples: t = [], motionProps: r, color: n = "currentColor", style: o, onClear: a } = e;
22771
22771
  return /* @__PURE__ */ m(st, { children: t.map((s) => {
22772
22772
  const i = bS(0.01 * s.size, 0.2, s.size > 100 ? 0.75 : 0.5);
@@ -23498,7 +23498,7 @@ function Tm() {
23498
23498
  height: wr && wr?.height || window.innerHeight
23499
23499
  };
23500
23500
  }
23501
- var _m = () => import("./index-ZSAmRwRv.js").then((e) => e.default), px = (e) => {
23501
+ var _m = () => import("./index-BTccuk-X.js").then((e) => e.default), px = (e) => {
23502
23502
  const { as: t, children: r, role: n = "dialog", ...o } = e, {
23503
23503
  Component: a,
23504
23504
  domRef: s,
@@ -32565,7 +32565,7 @@ function fD(e) {
32565
32565
  getContentProps: Qe
32566
32566
  };
32567
32567
  }
32568
- var Yw = () => import("./index-ZSAmRwRv.js").then((e) => e.default), Jw = De(
32568
+ var Yw = () => import("./index-BTccuk-X.js").then((e) => e.default), Jw = De(
32569
32569
  ({
32570
32570
  children: e,
32571
32571
  motionProps: t,
@@ -36177,7 +36177,7 @@ function k4({ className: e }) {
36177
36177
  g.length > 0 && g[0].focus();
36178
36178
  }, 0);
36179
36179
  },
36180
- [i, s]
36180
+ [i, s, l, c]
36181
36181
  );
36182
36182
  return !r || r.length === 0 || r.every((h) => {
36183
36183
  const g = bo(n, h.slug);
@@ -36828,7 +36828,7 @@ function VI(e) {
36828
36828
  getTooltipProps: Ae
36829
36829
  };
36830
36830
  }
36831
- var KI = () => import("./index-ZSAmRwRv.js").then((e) => e.default), E4 = De((e, t) => {
36831
+ var KI = () => import("./index-BTccuk-X.js").then((e) => e.default), E4 = De((e, t) => {
36832
36832
  var r;
36833
36833
  const {
36834
36834
  Component: n,
@@ -38916,10 +38916,11 @@ function sf(e, t) {
38916
38916
  }
38917
38917
  var L4 = sf(P7, { path: "/" });
38918
38918
  function Dp(e) {
38919
- return JSON.parse(L4.get(e) || "{}");
38919
+ const t = L4.get(e);
38920
+ return t ? JSON.parse(atob(t)) : {};
38920
38921
  }
38921
38922
  function Np(e, t, r) {
38922
- L4.set(e, JSON.stringify(t), { ...r, path: "/" });
38923
+ L4.set(e, btoa(JSON.stringify(t)), { ...r, path: "/" });
38923
38924
  }
38924
38925
  function ee(e, t, r) {
38925
38926
  function n(i, l) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobielnl/elements",
3
- "version": "0.10.4",
3
+ "version": "0.11.0",
4
4
  "description": "Mobiel.nl Elements - React component library for partner websites",
5
5
  "private": false,
6
6
  "type": "module",
@@ -78,7 +78,7 @@
78
78
  "@tailwindcss/vite": "^4.1.11",
79
79
  "@types/jest": "^30.0.0",
80
80
  "@types/js-cookie": "^3.0.6",
81
- "@types/lodash": "^4.17.20",
81
+ "@types/lodash": "^4.17.23",
82
82
  "@types/node": "^22.13.1",
83
83
  "@types/postcss-prefix-selector": "^1.16.3",
84
84
  "@types/react": "^19.1.10",
@@ -91,7 +91,7 @@
91
91
  "graphql-request": "^7.2.0",
92
92
  "i18next": "^25.7.3",
93
93
  "js-cookie": "^3.0.5",
94
- "lodash": "^4.17.21",
94
+ "lodash": "^4.17.23",
95
95
  "msw": "^2.12.7",
96
96
  "msw-storybook-addon": "^2.0.6",
97
97
  "postcss-prefix-selector": "^2.1.1",