@mobielnl/elements 0.12.13 → 0.12.14
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
|
@@ -1774,7 +1774,7 @@ declare type PropositionOverviewClassNames = {
|
|
|
1774
1774
|
creditInfo?: CreditInfoClassNames_2;
|
|
1775
1775
|
};
|
|
1776
1776
|
|
|
1777
|
-
export declare function PropositionSelector({ propositionKey, classNames, initialProfile, onProfileChange, onError, onAction, ...props }: PropositionSelectorProps): JSX.Element;
|
|
1777
|
+
export declare function PropositionSelector({ propositionKey, classNames, initialProfile, onProfileChange, onPropositionKeyChange, onError, onAction, ...props }: PropositionSelectorProps): JSX.Element;
|
|
1778
1778
|
|
|
1779
1779
|
/**
|
|
1780
1780
|
* ClassNames for styling different parts of the `PropositionSelector` component
|
|
@@ -1845,6 +1845,8 @@ export declare type PropositionSelectorProps = {
|
|
|
1845
1845
|
/** Target for the click-out URL on mobiel.nl
|
|
1846
1846
|
* @default 'cart' */
|
|
1847
1847
|
clickOutTarget?: 'cart' | 'checkout';
|
|
1848
|
+
/** Callback function to handle proposition key changes */
|
|
1849
|
+
onPropositionKeyChange?: (propositionKey: string) => void;
|
|
1848
1850
|
/** Callback function to handle profile changes */
|
|
1849
1851
|
onProfileChange?: (profile: Partial<Profile>) => void;
|
|
1850
1852
|
/** Callback function to add search params for the click-out URL */
|