@metrifox/react-sdk 0.0.14 → 0.0.16

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
@@ -74,10 +74,71 @@ interface CheckoutBarTheme {
74
74
  buttonTextColor?: string;
75
75
  }
76
76
 
77
+ type CustomerPortalTheme = {
78
+ tabs?: {
79
+ background?: string;
80
+ borderColor?: string;
81
+ activeBackground?: string;
82
+ activeTextColor?: string;
83
+ inactiveTextColor?: string;
84
+ };
85
+ section?: {
86
+ background?: string;
87
+ titleTextColor?: string;
88
+ contentBackground?: string;
89
+ iconBackground?: string;
90
+ iconColor?: string;
91
+ emptyTextColor?: string;
92
+ };
93
+ card?: {
94
+ titleBackground?: string;
95
+ contentBackground?: string;
96
+ titleColor?: string;
97
+ details?: {
98
+ labelColor?: string;
99
+ valueColor?: string;
100
+ };
101
+ };
102
+ subscription?: {
103
+ items?: {
104
+ background?: string;
105
+ borderColor?: string;
106
+ textColor?: string;
107
+ };
108
+ };
109
+ table?: {
110
+ headerTextColor?: string;
111
+ textcolor?: string;
112
+ };
113
+ button?: {
114
+ background?: string;
115
+ textColor?: string;
116
+ };
117
+ filter?: {
118
+ border?: string;
119
+ activeBackground?: string;
120
+ inactiveBackground?: string;
121
+ activeTextColor?: string;
122
+ inactiveTextColor?: string;
123
+ countBackground?: string;
124
+ countTextColor?: string;
125
+ };
126
+ linkColor?: string;
127
+ };
128
+
129
+ interface Theme {
130
+ pricingTable?: PricingTableTheme;
131
+ customerPortal?: CustomerPortalTheme;
132
+ }
133
+
77
134
  interface MetrifoxInitConfig {
78
135
  clientKey: string;
79
136
  baseUrl?: string;
80
137
  webAppUrl?: string;
138
+ theme?: Theme;
139
+ /**
140
+ * @deprecated Moved to `theme.pricingTable`.
141
+ */
81
142
  pricingTableTheme?: PricingTableTheme;
82
143
  }
83
144
  declare const metrifoxInit: (config: MetrifoxInitConfig) => void;