@mobielnl/elements 0.13.8 → 0.13.9
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.js +1 -1
- package/dist/elements.umd.cjs +127 -127
- package/dist/{index-CIPNe-KD.js → index-BpFvGQnl.js} +1 -1
- package/dist/{index-CilzxGog.js → index-PaKk_Mqj.js} +10829 -10635
- package/dist/index.d.ts +28 -17
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1147,23 +1147,8 @@ declare type PostcodeCheckModalClassNames = {
|
|
|
1147
1147
|
/** Input label styling */
|
|
1148
1148
|
label?: string;
|
|
1149
1149
|
};
|
|
1150
|
-
/** Error alert message */
|
|
1151
|
-
errorAlert?:
|
|
1152
|
-
/** Alert container */
|
|
1153
|
-
base?: string;
|
|
1154
|
-
/** Alert title text */
|
|
1155
|
-
title?: string;
|
|
1156
|
-
/** Alert description text */
|
|
1157
|
-
description?: string;
|
|
1158
|
-
/** Alert main content wrapper */
|
|
1159
|
-
mainWrapper?: string;
|
|
1160
|
-
/** Alert close button */
|
|
1161
|
-
closeButton?: string;
|
|
1162
|
-
/** Alert icon wrapper */
|
|
1163
|
-
iconWrapper?: string;
|
|
1164
|
-
/** Alert icon */
|
|
1165
|
-
alertIcon?: string;
|
|
1166
|
-
};
|
|
1150
|
+
/** Error alert message - see type `AlertClassNames` */
|
|
1151
|
+
errorAlert?: AlertClassNames;
|
|
1167
1152
|
};
|
|
1168
1153
|
/** Provider selection section */
|
|
1169
1154
|
provider?: {
|
|
@@ -1953,6 +1938,29 @@ export declare type PropositionSelectorClassNames = {
|
|
|
1953
1938
|
/** Section class styling slots - see type `SectionClassNames` */
|
|
1954
1939
|
section?: SectionClassNames_2;
|
|
1955
1940
|
};
|
|
1941
|
+
/** Postcode check form component class styling slots */
|
|
1942
|
+
postcodeCheckForm?: {
|
|
1943
|
+
/** Section class styling slots - see type `SectionClassNames` */
|
|
1944
|
+
section?: SectionClassNames_2;
|
|
1945
|
+
/** Form element container */
|
|
1946
|
+
container?: string;
|
|
1947
|
+
/** Container for postcode, number, and numberAddon inputs */
|
|
1948
|
+
inputsContainer?: string;
|
|
1949
|
+
/** Input field styling slots */
|
|
1950
|
+
input?: {
|
|
1951
|
+
/** Input wrapper styling */
|
|
1952
|
+
inputWrapper?: string;
|
|
1953
|
+
/** Input element styling */
|
|
1954
|
+
input?: string;
|
|
1955
|
+
/** Input label styling */
|
|
1956
|
+
label?: string;
|
|
1957
|
+
};
|
|
1958
|
+
/** Error alert message - see type `AlertClassNames` */
|
|
1959
|
+
errorAlert?: AlertClassNames;
|
|
1960
|
+
/** CTA button styling
|
|
1961
|
+
* @example "Controleer aanbod" */
|
|
1962
|
+
ctaButton?: string;
|
|
1963
|
+
};
|
|
1956
1964
|
/** Retention section class styling slots - see type `SectionClassNames` */
|
|
1957
1965
|
retentionSelector?: SectionClassNames_2 & {
|
|
1958
1966
|
/** Radio group class styling slots - see type `RadioGroupClassNames` */
|
|
@@ -2904,6 +2912,9 @@ export declare type Translations = {
|
|
|
2904
2912
|
sameFixedProviderDescription: string;
|
|
2905
2913
|
noMatchingPropositionTitle: string;
|
|
2906
2914
|
noMatchingPropositionDescription: string;
|
|
2915
|
+
postcodeCheckTitle: string;
|
|
2916
|
+
postcodeCheckDescription: string;
|
|
2917
|
+
postcodeCheckCTA: string;
|
|
2907
2918
|
productVersionTitle: string;
|
|
2908
2919
|
benefitsTitle: string;
|
|
2909
2920
|
moreBundleInfo: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobielnl/elements",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.9",
|
|
4
4
|
"description": "Mobiel.nl Elements - React component library for partner websites",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@types/react": "^19.2.9",
|
|
87
87
|
"@types/react-dom": "^19.2.3",
|
|
88
88
|
"@vitejs/plugin-react-swc": "^4.0.0",
|
|
89
|
-
"@vitest/coverage-v8": "4.1.
|
|
89
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
90
90
|
"chromatic": "^13.3.5",
|
|
91
91
|
"cross-env": "^7.0.3",
|
|
92
92
|
"dotenv": "^17.4.2",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"typescript": "~5.8.3",
|
|
113
113
|
"vite": "7.3.5",
|
|
114
114
|
"vite-plugin-dts": "^4.5.0",
|
|
115
|
-
"vitest": "4.1.
|
|
115
|
+
"vitest": "4.1.11",
|
|
116
116
|
"zod": "^4.1.12"
|
|
117
117
|
},
|
|
118
118
|
"msw": {
|