@mobielnl/elements 0.12.17 → 0.12.19-beta.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.
@@ -16017,7 +16017,7 @@ function eK({ children: e, css: t, cssUrl: r }) {
16017
16017
  (h) => {
16018
16018
  if (h && !c.current) {
16019
16019
  c.current = !0;
16020
- const g = h.attachShadow({ mode: "open", delegatesFocus: !0 });
16020
+ const g = h.attachShadow({ mode: "open" });
16021
16021
  if (t) {
16022
16022
  const y = document.createElement("style");
16023
16023
  y.textContent = t, g.appendChild(y), u(!0);
@@ -23771,7 +23771,7 @@ function ch(e, t) {
23771
23771
  })
23772
23772
  };
23773
23773
  }
23774
- var Hj = () => import("./index-uV85bz_O.js").then((e) => e.default), MA = (e) => {
23774
+ var Hj = () => import("./index-Cg3W9yzM.js").then((e) => e.default), MA = (e) => {
23775
23775
  const { ripples: t = [], motionProps: r, color: n = "currentColor", style: o, onClear: a } = e;
23776
23776
  return /* @__PURE__ */ x(sr, { children: t.map((i) => {
23777
23777
  const s = XF(0.01 * i.size, 0.2, i.size > 100 ? 0.75 : 0.5);
@@ -24580,7 +24580,7 @@ function Z2() {
24580
24580
  height: ya && ya?.height || window.innerHeight
24581
24581
  };
24582
24582
  }
24583
- var Y2 = () => import("./index-uV85bz_O.js").then((e) => e.default), XA = (e) => {
24583
+ var Y2 = () => import("./index-Cg3W9yzM.js").then((e) => e.default), XA = (e) => {
24584
24584
  const { as: t, children: r, role: n = "dialog", ...o } = e, {
24585
24585
  Component: a,
24586
24586
  domRef: i,
@@ -33676,7 +33676,7 @@ function _Z(e) {
33676
33676
  getContentProps: kt
33677
33677
  };
33678
33678
  }
33679
- var D_ = () => import("./index-uV85bz_O.js").then((e) => e.default), M_ = ut(
33679
+ var D_ = () => import("./index-Cg3W9yzM.js").then((e) => e.default), M_ = ut(
33680
33680
  ({
33681
33681
  children: e,
33682
33682
  motionProps: t,
@@ -41110,7 +41110,7 @@ var Lk = {
41110
41110
  }
41111
41111
  }
41112
41112
  }
41113
- }, Bk = () => import("./index-uV85bz_O.js").then((e) => e.default), W6 = ut((e, t) => {
41113
+ }, Bk = () => import("./index-Cg3W9yzM.js").then((e) => e.default), W6 = ut((e, t) => {
41114
41114
  const {
41115
41115
  Component: r,
41116
41116
  HeadingComponent: n,
@@ -44446,7 +44446,7 @@ function mte(e) {
44446
44446
  getTooltipProps: Ee
44447
44447
  };
44448
44448
  }
44449
- var bte = () => import("./index-uV85bz_O.js").then((e) => e.default), oI = ut((e, t) => {
44449
+ var bte = () => import("./index-Cg3W9yzM.js").then((e) => e.default), oI = ut((e, t) => {
44450
44450
  var r;
44451
44451
  const {
44452
44452
  Component: n,
@@ -58785,7 +58785,7 @@ function Zle({ title: e, unitKey: t, classNames: r, children: n }) {
58785
58785
  /* @__PURE__ */ x(is, { children: /* @__PURE__ */ x(
58786
58786
  Kr,
58787
58787
  {
58788
- className: "font-medium",
58788
+ className: $("font-medium", r?.confirmButton),
58789
58789
  onPress: () => c(`bundle-type-set-${t}`),
58790
58790
  color: "primary",
58791
58791
  variant: "solid",
@@ -62509,7 +62509,7 @@ function g7({
62509
62509
  " ",
62510
62510
  n.normalPrice
62511
62511
  ] }) : !o && !n.normalPrice ? null : /* @__PURE__ */ H("div", { children: [
62512
- /* @__PURE__ */ H("div", { className: "flex flex-row justify-end gap-2", children: [
62512
+ /* @__PURE__ */ H("div", { className: "flex flex-row justify-end items-baseline gap-2", children: [
62513
62513
  /* @__PURE__ */ x(
62514
62514
  "span",
62515
62515
  {
@@ -62610,7 +62610,10 @@ function tue({
62610
62610
  /* @__PURE__ */ x(
62611
62611
  Kr,
62612
62612
  {
62613
- className: "font-medium text-primary-600 border-primary-600",
62613
+ className: $(
62614
+ "font-medium text-primary-600 border-primary-600",
62615
+ i?.showMoreButton
62616
+ ),
62614
62617
  onPress: () => o(`bundle-type-set-${e.unitKey}`),
62615
62618
  color: "primary",
62616
62619
  variant: "flat",
@@ -62674,7 +62677,7 @@ function rue({
62674
62677
  size: 16,
62675
62678
  className: "shrink-0 text-foreground-500 relative z-10",
62676
62679
  onClick: (m) => {
62677
- m.stopPropagation(), a(`content-${c.infoUrl}`);
62680
+ m.preventDefault(), m.stopPropagation(), a(`content-${c.infoUrl}`);
62678
62681
  }
62679
62682
  }
62680
62683
  )
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as j, i as N, m as Z, r as ze, h as qe, a as Lt, w as Q, b as pe, c as Ce, d as Xe, e as oe, f as Pe, t as O, g as Nt, j as G, v as Gt, k as $, M as H, K as Ye, l as $t, o as Ht, p as ge, q as Wt, s as _t, u as jt, x as Je, y as Ut, z as zt, A as qt, B as ke, C as Fe, D as z, E as Oe, F as Xt, V as Yt, G as Jt, H as Zt, I as Qt, J as en, L as tn, N as Ze, O as nn, P as sn, Q as rn, R as an, S as on, T as Qe, U as et, W as tt, X as nt, Y as ln } from "./index-BFMyNekS.js";
2
+ import { n as j, i as N, m as Z, r as ze, h as qe, a as Lt, w as Q, b as pe, c as Ce, d as Xe, e as oe, f as Pe, t as O, g as Nt, j as G, v as Gt, k as $, M as H, K as Ye, l as $t, o as Ht, p as ge, q as Wt, s as _t, u as jt, x as Je, y as Ut, z as zt, A as qt, B as ke, C as Fe, D as z, E as Oe, F as Xt, V as Yt, G as Jt, H as Zt, I as Qt, J as en, L as tn, N as Ze, O as nn, P as sn, Q as rn, R as an, S as on, T as Qe, U as et, W as tt, X as nt, Y as ln } from "./index-B7xXQwHd.js";
3
3
  import { Fragment as un } from "react";
4
4
  var Bt = typeof globalThis < "u" && globalThis.process ? globalThis.process : { env: { NODE_ENV: "production" } };
5
5
  // @__NO_SIDE_EFFECTS__
package/dist/index.d.ts CHANGED
@@ -106,6 +106,8 @@ declare type BundleModalClassNames = {
106
106
  footer?: string;
107
107
  /** The close button (X) of the modal in top-right corner */
108
108
  closeButton?: string;
109
+ /** The confirm button in the modal footer */
110
+ confirmButton?: string;
109
111
  };
110
112
 
111
113
  /**
@@ -124,6 +126,8 @@ declare type BundleSelectorClassNames = {
124
126
  bundleTypeSetGroup?: string;
125
127
  /** Bundle type set section heading */
126
128
  bundleTypeSetLabel?: string;
129
+ /** Button that opens the modal with more bundle options */
130
+ showMoreButton?: string;
127
131
  /** Bundle type set radio group class styling slots (used when `multiSelect` is false) - see type `RadioGroupClassNames` */
128
132
  bundleTypeSetRadioGroup?: RadioGroupClassNames;
129
133
  /** Bundle type set checkbox group class styling slots (used when `multiSelect` is true) - see type `CheckboxGroupClassNames` */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobielnl/elements",
3
- "version": "0.12.17",
3
+ "version": "0.12.19-beta.0",
4
4
  "description": "Mobiel.nl Elements - React component library for partner websites",
5
5
  "private": false,
6
6
  "type": "module",