@mobielnl/elements 0.13.7 → 0.13.8
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 +80 -80
- package/dist/{index-DMRG7Qfv.js → index-CIPNe-KD.js} +1 -1
- package/dist/{index-D_NWimDl.js → index-CilzxGog.js} +3740 -3739
- package/dist/index.d.ts +11 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -707,17 +707,18 @@ declare type GeneralClassNames = {
|
|
|
707
707
|
} & SectionClassNames;
|
|
708
708
|
|
|
709
709
|
export declare type GiftConfig = {
|
|
710
|
-
/**
|
|
711
|
-
* @example '1636-11788'
|
|
712
|
-
|
|
713
|
-
|
|
710
|
+
/** Optional gift bundle set unit key used to find the most popular available fixed proposition that includes this gift
|
|
711
|
+
* @example '1636-11788'
|
|
712
|
+
* @note When omitted, the most popular available fixed proposition at the address is used */
|
|
713
|
+
initialBundleSetUnitKey?: string;
|
|
714
|
+
/** Optional fixed provider slug to narrow the proposition search to only one fixed provider
|
|
714
715
|
* @example 'odido' */
|
|
715
716
|
fixedProviderSlug?: FixedProviderSlug;
|
|
716
717
|
/** Locks customer benefit (klantvoordeel) to a single mobile provider. Skips the CombiDeal modal and
|
|
717
718
|
* mobile provider picker. Yes/No only asks whether the visitor is already a mobile customer of this provider.
|
|
718
719
|
* @example 'odido' */
|
|
719
720
|
mobileProviderSlug?: MobileProviderSlug;
|
|
720
|
-
/** Custom ReactNode content shown when no matching fixed proposition is found
|
|
721
|
+
/** Custom ReactNode content shown when no matching fixed proposition is found
|
|
721
722
|
* @note This will override the default not found state */
|
|
722
723
|
notFoundState?: ReactNode;
|
|
723
724
|
};
|
|
@@ -1911,7 +1912,7 @@ export declare type PropositionSelectorClassNames = {
|
|
|
1911
1912
|
* @note only visible for fixed propositions with the same fixed provider in profile */
|
|
1912
1913
|
sameFixedProviderAlert?: AlertClassNames;
|
|
1913
1914
|
/** Alert class styling slots - see type `AlertClassNames`
|
|
1914
|
-
* @note only visible when `giftConfig
|
|
1915
|
+
* @note only visible when a `giftConfig` search returns no matching fixed proposition */
|
|
1915
1916
|
noMatchingPropositionAlert?: AlertClassNames;
|
|
1916
1917
|
/** ProductHeader class styling slots - see type `ProductHeaderClassNames` */
|
|
1917
1918
|
productHeader?: ProductHeaderClassNames;
|
|
@@ -2270,12 +2271,14 @@ declare type RadioGroupClassNames = {
|
|
|
2270
2271
|
declare type RequiredProps = {
|
|
2271
2272
|
/** Initial proposition key
|
|
2272
2273
|
* @example '1412-10116|1413-10646|plv-398'
|
|
2273
|
-
* @note Required unless `giftConfig` is provided
|
|
2274
|
+
* @note Required unless `giftConfig` is provided */
|
|
2274
2275
|
propositionKey: string;
|
|
2275
2276
|
giftConfig?: never;
|
|
2276
2277
|
} | {
|
|
2277
2278
|
propositionKey?: never;
|
|
2278
|
-
/** Configuration
|
|
2279
|
+
/** Configuration used to find the most popular available fixed proposition.
|
|
2280
|
+
* Optionally include a gift unit key and/or an address in `initialProfile`.
|
|
2281
|
+
* Without an address, the Mobiel.nl service point (2266AD / 22) is used for the search for normal proposition results.
|
|
2279
2282
|
* @note Cannot be used together with `propositionKey` prop. Only applicable for fixed propositions */
|
|
2280
2283
|
giftConfig: GiftConfig;
|
|
2281
2284
|
};
|