From 73fe60e0d32e5e2d415e740f7128096a49685f59 Mon Sep 17 00:00:00 2001 From: Patricio Vargas Date: Thu, 6 Feb 2025 12:30:33 -0500 Subject: [PATCH] added missing style fields to CardField Types --- .changeset/little-suits-camp.md | 5 +++++ packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/little-suits-camp.md diff --git a/.changeset/little-suits-camp.md b/.changeset/little-suits-camp.md new file mode 100644 index 00000000..7c1b1ecc --- /dev/null +++ b/.changeset/little-suits-camp.md @@ -0,0 +1,5 @@ +--- +"@paypal/react-paypal-js": major +--- + +added missing style fields to CardField Types diff --git a/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts b/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts index 1ba5d5d5..91b00613 100644 --- a/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts +++ b/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts @@ -35,6 +35,7 @@ export type PayPalCardFieldsNamespace = { export type CardFieldStyle = { appearance?: string; + background?: string; color?: string; direction?: string; font?: string; @@ -50,6 +51,7 @@ export type CardFieldStyle = { fontVariantNumeric?: string; fontVariant?: string; fontWeight?: string; + height?: string; letterSpacing?: string; lineHeight?: string; opacity?: string;