@mobielnl/elements 0.12.12 → 0.12.13
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/elements.css +1 -1
- package/dist/elements.js +1 -1
- package/dist/elements.umd.cjs +144 -150
- package/dist/{index-DiP60P_K.js → index-D9WG7ZWU.js} +10704 -10497
- package/dist/{index-BissEopX.js → index-DIr2VOJT.js} +2 -2
- package/dist/index.d.ts +12 -0
- package/package.json +4 -4
|
@@ -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-
|
|
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-D9WG7ZWU.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__
|
|
@@ -502,7 +502,7 @@ class we extends Se {
|
|
|
502
502
|
if (f) {
|
|
503
503
|
const g = Math.min(this.currentTime, s) / a;
|
|
504
504
|
let D = Math.floor(g), C = g % 1;
|
|
505
|
-
!C && g >= 1 && (C = 1), C === 1 && D--, D = Math.min(D, f + 1),
|
|
505
|
+
!C && g >= 1 && (C = 1), C === 1 && D--, D = Math.min(D, f + 1), D % 2 && (h === "reverse" ? (C = 1 - C, p && (C -= p / a)) : h === "mirror" && (M = o)), b = $(0, 1, C) * a;
|
|
506
506
|
}
|
|
507
507
|
const m = A ? { done: !1, value: u[0] } : M.next(b);
|
|
508
508
|
r && (m.value = r(m.value));
|
package/dist/index.d.ts
CHANGED
|
@@ -937,6 +937,13 @@ declare type NumberPreservationModalClassNames = {
|
|
|
937
937
|
/** Radio styling */
|
|
938
938
|
radio?: string;
|
|
939
939
|
};
|
|
940
|
+
/** Extra benefit section */
|
|
941
|
+
extraBenefit?: {
|
|
942
|
+
/** Extra benefit title styling */
|
|
943
|
+
title?: string;
|
|
944
|
+
/** Extra benefit description styling */
|
|
945
|
+
description?: string;
|
|
946
|
+
};
|
|
940
947
|
/** Submit button styling */
|
|
941
948
|
submitButton?: string;
|
|
942
949
|
};
|
|
@@ -1599,7 +1606,9 @@ declare const profileSchema: z.ZodObject<{
|
|
|
1599
1606
|
scope: z.ZodString;
|
|
1600
1607
|
value: z.ZodString;
|
|
1601
1608
|
}, z.core.$strip>>>;
|
|
1609
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
1602
1610
|
customerSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1611
|
+
customerSegmentUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
1603
1612
|
address: z.ZodOptional<z.ZodObject<{
|
|
1604
1613
|
postcode: z.ZodString;
|
|
1605
1614
|
number: z.ZodString;
|
|
@@ -2238,6 +2247,9 @@ export declare type Translations = {
|
|
|
2238
2247
|
question: string;
|
|
2239
2248
|
yes: string;
|
|
2240
2249
|
no: string;
|
|
2250
|
+
invalidBirthdate: string;
|
|
2251
|
+
extraBenefitTitle: string;
|
|
2252
|
+
extraBenefitDescription: string;
|
|
2241
2253
|
};
|
|
2242
2254
|
combiDeal: {
|
|
2243
2255
|
title: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobielnl/elements",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.13",
|
|
4
4
|
"description": "Mobiel.nl Elements - React component library for partner websites",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@testing-library/react": "^16.3.1",
|
|
80
80
|
"@types/jest": "^30.0.0",
|
|
81
81
|
"@types/js-cookie": "^3.0.6",
|
|
82
|
-
"@types/lodash": "^4.17.
|
|
82
|
+
"@types/lodash": "^4.17.24",
|
|
83
83
|
"@types/node": "^22.13.1",
|
|
84
84
|
"@types/postcss-prefix-selector": "^1.16.3",
|
|
85
85
|
"@types/react": "^19.2.9",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"graphql-request": "^7.2.0",
|
|
93
93
|
"i18next": "^25.7.3",
|
|
94
94
|
"js-cookie": "^3.0.5",
|
|
95
|
-
"lodash": "^4.
|
|
95
|
+
"lodash": "^4.18.1",
|
|
96
96
|
"msw": "^2.12.7",
|
|
97
97
|
"msw-storybook-addon": "^2.0.6",
|
|
98
98
|
"postcss-prefix-selector": "^2.1.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"swr": "^2.3.2",
|
|
106
106
|
"tailwindcss": "^4.1.18",
|
|
107
107
|
"typescript": "~5.8.3",
|
|
108
|
-
"vite": "7.
|
|
108
|
+
"vite": "7.3.2",
|
|
109
109
|
"vite-plugin-dts": "^4.5.0",
|
|
110
110
|
"vitest": "^3.2.4",
|
|
111
111
|
"zod": "^4.1.12"
|