@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/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;