@mobielnl/elements 0.12.24 → 0.12.25

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/index.d.ts CHANGED
@@ -30,6 +30,23 @@ export declare type AddToCartEvent = {
30
30
  proposition: ProductCardPropositionFragment;
31
31
  };
32
32
 
33
+ declare type AlertClassNames = {
34
+ /** Alert container */
35
+ base?: string;
36
+ /** Alert title text */
37
+ title?: string;
38
+ /** Alert description text */
39
+ description?: string;
40
+ /** Alert main content wrapper */
41
+ mainWrapper?: string;
42
+ /** Alert close button */
43
+ closeButton?: string;
44
+ /** Alert icon wrapper */
45
+ iconWrapper?: string;
46
+ /** Alert icon */
47
+ alertIcon?: string;
48
+ };
49
+
33
50
  declare type AverageSectionClassNames = {
34
51
  /** Container for the average per month section */
35
52
  container?: string;
@@ -232,6 +249,10 @@ declare type CheckboxGroupClassNames = {
232
249
  label?: string;
233
250
  /** Bundle Price component class styling slots - see type `BundlePriceClassNames` */
234
251
  bundlePrice?: BundlePriceClassNames;
252
+ /** Image wrapper */
253
+ imgWrapper?: string;
254
+ /** Image */
255
+ img?: string;
235
256
  };
236
257
  };
237
258
 
@@ -572,22 +593,7 @@ declare type ErrorAlertClassNames = {
572
593
  /** Main wrapper container for the error component */
573
594
  base?: string;
574
595
  /** Alert component class styling slots */
575
- alert?: {
576
- /** Alert container */
577
- base?: string;
578
- /** Alert title text */
579
- title?: string;
580
- /** Alert description text */
581
- description?: string;
582
- /** Alert main content wrapper */
583
- mainWrapper?: string;
584
- /** Alert close button */
585
- closeButton?: string;
586
- /** Alert icon wrapper */
587
- iconWrapper?: string;
588
- /** Alert icon */
589
- alertIcon?: string;
590
- };
596
+ alert?: AlertClassNames;
591
597
  /** Refresh page button */
592
598
  button?: string;
593
599
  };
@@ -1832,6 +1838,11 @@ export declare function PropositionSelector({ propositionKey, classNames, initia
1832
1838
  export declare type PropositionSelectorClassNames = {
1833
1839
  /** Wrapper container for the entire proposition selector */
1834
1840
  base?: string;
1841
+ /** Main content wrapper container */
1842
+ mainContentWrapper?: string;
1843
+ /** Alert class styling slots - see type `AlertClassNames`
1844
+ * @note only visible for fixed propositions with the same fixed provider in profile */
1845
+ sameFixedProviderAlert?: AlertClassNames;
1835
1846
  /** HandsetCreditSelector component class styling slots - see type `HandsetCreditSelectorClassNames` */
1836
1847
  handsetCreditSelector?: HandsetCreditSelectorClassNames;
1837
1848
  /** ProductHeader class styling slots - see type `ProductHeaderClassNames` */
@@ -1884,6 +1895,10 @@ export declare type PropositionSelectorClassNames = {
1884
1895
  };
1885
1896
  /** BundleSelector component class styling slots - see type `BundleSelectorClassNames` */
1886
1897
  bundleSelector?: BundleSelectorClassNames;
1898
+ /** Retention section class styling slots - see type `SectionClassNames` */
1899
+ retentionSelector?: SectionClassNames_2;
1900
+ /** Modification section class styling slots - see type `SectionClassNames` */
1901
+ modificationSelector?: SectionClassNames_2;
1887
1902
  /** BundleModal component class styling slots - see type `BundleModalClassNames` */
1888
1903
  bundleModal?: BundleModalClassNames;
1889
1904
  /** Profile buttons component class styling slots - see type `SelectorClassNames` */
@@ -1967,6 +1982,8 @@ export declare type PropositionSelectorProps = {
1967
1982
  * }}
1968
1983
  */
1969
1984
  onRender?: () => void;
1985
+ /** Boolean to hide number retention question when profile if filled. Does not apply to fixed propositions */
1986
+ hideRetentionOnFilledProfile?: boolean;
1970
1987
  };
1971
1988
 
1972
1989
  export declare type ProviderOption = {
@@ -2046,6 +2063,10 @@ declare type RadioGroupClassNames = {
2046
2063
  description?: string;
2047
2064
  /** Bundle Price component class styling slots - see type `BundlePriceClassNames` */
2048
2065
  bundlePrice?: BundlePriceClassNames;
2066
+ /** Image wrapper */
2067
+ imgWrapper?: string;
2068
+ /** Image */
2069
+ img?: string;
2049
2070
  };
2050
2071
  };
2051
2072
 
@@ -2114,6 +2135,20 @@ declare type SectionClassNames = {
2114
2135
  table?: TableClassNames;
2115
2136
  };
2116
2137
 
2138
+ /**
2139
+ * ClassNames for styling different parts of the `Section` component
2140
+ */
2141
+ declare type SectionClassNames_2 = {
2142
+ /** Root container */
2143
+ base?: string;
2144
+ /** Section title */
2145
+ title?: string;
2146
+ /** Section number pill */
2147
+ number?: string;
2148
+ /** Section description */
2149
+ description?: string;
2150
+ };
2151
+
2117
2152
  /**
2118
2153
  * ClassNames for styling different parts of the `SelectFilter` component
2119
2154
  */
@@ -2654,6 +2689,8 @@ export declare type Translations = {
2654
2689
  };
2655
2690
  propositionSelector: {
2656
2691
  return: string;
2692
+ sameFixedProviderTitle: string;
2693
+ sameFixedProviderDescription: string;
2657
2694
  productVersionTitle: string;
2658
2695
  benefitsTitle: string;
2659
2696
  bundleSelectorTitle: string;
@@ -2669,6 +2706,14 @@ export declare type Translations = {
2669
2706
  installationFee: string;
2670
2707
  none: string;
2671
2708
  showMore: string;
2709
+ retentionTitle: string;
2710
+ retentionDescription: string;
2711
+ retentionYes: string;
2712
+ retentionNo: string;
2713
+ modificationTitle: string;
2714
+ modificationDescription: string;
2715
+ modificationYes: string;
2716
+ modificationNo: string;
2672
2717
  };
2673
2718
  handsetCreditSelector: {
2674
2719
  handsetPriceInfo: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobielnl/elements",
3
- "version": "0.12.24",
3
+ "version": "0.12.25",
4
4
  "description": "Mobiel.nl Elements - React component library for partner websites",
5
5
  "private": false,
6
6
  "type": "module",
@@ -50,14 +50,14 @@
50
50
  "@graphql-codegen/typescript-operations": "^4.4.0",
51
51
  "@heroui/accordion": "^2.2.29",
52
52
  "@heroui/alert": "^2.2.29",
53
- "@heroui/avatar": "^2.2.24",
53
+ "@heroui/avatar": "^2.2.25",
54
54
  "@heroui/badge": "^2.2.18",
55
55
  "@heroui/button": "^2.2.29",
56
56
  "@heroui/card": "^2.2.27",
57
57
  "@heroui/checkbox": "^2.3.29",
58
58
  "@heroui/chip": "^2.2.24",
59
59
  "@heroui/divider": "^2.2.21",
60
- "@heroui/image": "^2.2.18",
60
+ "@heroui/image": "^2.2.19",
61
61
  "@heroui/input": "^2.4.30",
62
62
  "@heroui/link": "^2.2.25",
63
63
  "@heroui/listbox": "^2.3.28",