@flopay/react 1.9.5 → 1.9.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/README.md +64 -3
- package/dist/card-setup-entry.cjs +2 -2
- package/dist/card-setup-entry.d.cts +9 -1
- package/dist/card-setup-entry.d.ts +9 -1
- package/dist/card-setup-entry.mjs +1 -1
- package/dist/chunk-LI3VGXRI.mjs +6 -0
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.mjs +6 -6
- package/package.json +3 -3
- package/dist/chunk-KMQWWDWZ.mjs +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -775,9 +775,18 @@ interface VaultCardFieldsProps {
|
|
|
775
775
|
/**
|
|
776
776
|
* Merchant theme colors pushed into the hosted widget so the card form
|
|
777
777
|
* matches the surrounding checkout. Applied live on change (no remount).
|
|
778
|
+
* `null` is the explicit classic reset: after a theme was applied it tells
|
|
779
|
+
* the hosted form to restore every historical neutral value. Omitted (or
|
|
780
|
+
* `null` from the start) leaves the widget's own defaults untouched.
|
|
781
|
+
*/
|
|
782
|
+
theme?: VaultCardThemeColors | null;
|
|
783
|
+
/**
|
|
784
|
+
* Inline styles for the container the widget mounts into. Applied as a
|
|
785
|
+
* whole declaration list in key order on every change (not diffed property
|
|
786
|
+
* by property), so a shorthand and a longhand of the same family cascade
|
|
787
|
+
* deterministically across live updates — the surface the card-setup preset
|
|
788
|
+
* treatment and a merchant `containerStyle` share.
|
|
778
789
|
*/
|
|
779
|
-
theme?: VaultCardThemeColors;
|
|
780
|
-
/** Inline styles for the container the widget mounts into. */
|
|
781
790
|
containerStyle?: React.CSSProperties;
|
|
782
791
|
/** Fired once the widget is injected and bootstrapping. */
|
|
783
792
|
onReady?: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -775,9 +775,18 @@ interface VaultCardFieldsProps {
|
|
|
775
775
|
/**
|
|
776
776
|
* Merchant theme colors pushed into the hosted widget so the card form
|
|
777
777
|
* matches the surrounding checkout. Applied live on change (no remount).
|
|
778
|
+
* `null` is the explicit classic reset: after a theme was applied it tells
|
|
779
|
+
* the hosted form to restore every historical neutral value. Omitted (or
|
|
780
|
+
* `null` from the start) leaves the widget's own defaults untouched.
|
|
781
|
+
*/
|
|
782
|
+
theme?: VaultCardThemeColors | null;
|
|
783
|
+
/**
|
|
784
|
+
* Inline styles for the container the widget mounts into. Applied as a
|
|
785
|
+
* whole declaration list in key order on every change (not diffed property
|
|
786
|
+
* by property), so a shorthand and a longhand of the same family cascade
|
|
787
|
+
* deterministically across live updates — the surface the card-setup preset
|
|
788
|
+
* treatment and a merchant `containerStyle` share.
|
|
778
789
|
*/
|
|
779
|
-
theme?: VaultCardThemeColors;
|
|
780
|
-
/** Inline styles for the container the widget mounts into. */
|
|
781
790
|
containerStyle?: React.CSSProperties;
|
|
782
791
|
/** Fired once the widget is injected and bootstrapping. */
|
|
783
792
|
onReady?: () => void;
|