@frigade/react 1.38.3 → 1.38.6
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 +9 -1
- package/dist/index.js +80 -80
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +80 -80
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -16
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ interface DefaultFrigadeFlowProps {
|
|
|
158
158
|
* @param index
|
|
159
159
|
* @param cta
|
|
160
160
|
*/
|
|
161
|
-
onButtonClick?: (step: StepData, index?: number, cta?: 'primary' | 'secondary' | 'link' | 'back', nextStep?: StepData) => boolean;
|
|
161
|
+
onButtonClick?: (step: StepData, index?: number, cta?: 'primary' | 'secondary' | 'link' | 'back' | 'collapse' | 'expand', nextStep?: StepData) => boolean;
|
|
162
162
|
onDismiss?: () => void;
|
|
163
163
|
onComplete?: () => void;
|
|
164
164
|
}
|
|
@@ -668,6 +668,10 @@ declare const FrigadeSupportWidget: FC<FrigadeSupportWidgetProps>;
|
|
|
668
668
|
|
|
669
669
|
interface FrigadeEmbeddedTipProps extends DefaultFrigadeFlowProps {
|
|
670
670
|
dismissible?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* Handler for when the container is clicked
|
|
673
|
+
*/
|
|
674
|
+
onClick?: () => void;
|
|
671
675
|
}
|
|
672
676
|
declare const FrigadeEmbeddedTip: React__default.FC<FrigadeEmbeddedTipProps>;
|
|
673
677
|
|
|
@@ -686,6 +690,10 @@ interface FrigadeBannerProps extends DefaultFrigadeFlowProps {
|
|
|
686
690
|
* Icon to use in the banner
|
|
687
691
|
*/
|
|
688
692
|
icon?: React__default.ReactNode;
|
|
693
|
+
/**
|
|
694
|
+
* Handler for when the banner container is clicked
|
|
695
|
+
*/
|
|
696
|
+
onClick?: () => void;
|
|
689
697
|
}
|
|
690
698
|
declare const FrigadeBanner: React__default.FC<FrigadeBannerProps>;
|
|
691
699
|
|