@metrifox/react-sdk 0.0.20-beta.2 → 0.0.20-beta.4

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 CHANGED
@@ -159,123 +159,124 @@ theme?: {
159
159
  ```
160
160
 
161
161
  ```ts
162
- // Customer portal theme configuration
163
- customerPortalTheme?: {
162
+ // Customer portal theme (CustomerPortalTheme). All properties are optional.
163
+ customerPortal?: {
164
+ general?: {
165
+ linkColor?: string
166
+ backgroundColor?: string
167
+ borderRadius?: string
168
+ fontFamily?: string
169
+ containerPadding?: string
170
+ }
171
+
164
172
  tabs?: {
165
- background?: string
166
- borderColor?: string
167
- activeBackground?: string
168
- activeTextColor?: string
169
- inactiveTextColor?: string
173
+ tabBackground?: string
174
+ tabBorderColor?: string
175
+ activeTabBackground?: string
176
+ activeTabTextColor?: string
177
+ inactiveTabTextColor?: string
170
178
  }
171
179
 
172
- section?: {
180
+ sections?: {
173
181
  background?: string
174
- titleTextColor?: string
175
- contentBackground?: string
176
- iconBackground?: string
177
- iconColor?: string
182
+ padding?: string
183
+ borderColor?: string
184
+ borderRadius?: string
178
185
  emptyTextColor?: string
186
+ usage?: { barColor?: string; trackColor?: string }
187
+ content?: { background?: string; padding?: string; borderColor?: string; borderRadius?: string }
188
+ summary?: { background?: string; padding?: string; borderColor?: string; borderRadius?: string }
189
+ header?: { fontSize?: string; fontWeight?: string; color?: string }
190
+ label?: { fontSize?: string; fontWeight?: string; color?: string }
191
+ value?: { fontSize?: string; fontWeight?: string; color?: string }
179
192
  }
180
193
 
181
- card?: {
182
- titleBackground?: string
183
- contentBackground?: string
184
- titleColor?: string
185
- details?: {
186
- labelColor?: string
187
- valueColor?: string
194
+ buttons?: {
195
+ primary?: {
196
+ backgroundColor?: string
197
+ border?: { color?: string; width?: string; radius?: string }
198
+ typography?: { fontSize?: string; fontWeight?: string; color?: string }
199
+ }
200
+ secondary?: {
201
+ backgroundColor?: string
202
+ border?: { color?: string; width?: string; radius?: string }
203
+ typography?: { fontSize?: string; fontWeight?: string; color?: string }
188
204
  }
189
205
  }
190
206
 
191
- subscription?: {
192
- items?: {
207
+ lineItems?: {
208
+ parentRow?: {
193
209
  background?: string
194
210
  borderColor?: string
195
- textColor?: string
211
+ typography?: { label?: { color?: string }; quantity?: { color?: string } }
212
+ }
213
+ childRow?: {
214
+ background?: string
215
+ borderColor?: string
216
+ typography?: { label?: { color?: string }; quantity?: { color?: string } }
196
217
  }
197
218
  }
198
219
 
199
- table?: {
220
+ tables?: {
221
+ headerBackground?: string
200
222
  headerTextColor?: string
201
- textColor?: string
223
+ rowBackgroundOdd?: string
224
+ rowBackgroundEven?: string
225
+ rowTextColor?: string
226
+ borderColor?: string
227
+ cellPadding?: string
228
+ expandIconColor?: string
229
+ typography?: {
230
+ fontSize?: string
231
+ fontWeight?: string
232
+ headerFontSize?: string
233
+ headerFontWeight?: string
234
+ }
202
235
  }
203
236
 
204
- button?: {
237
+ modals?: {
238
+ overlayColor?: string
205
239
  background?: string
206
- textColor?: string
207
- }
208
-
209
- filter?: {
210
- border?: string
211
- activeBackground?: string
212
- inactiveBackground?: string
213
- activeTextColor?: string
214
- inactiveTextColor?: string
215
- countBackground?: string
216
- countTextColor?: string
240
+ borderColor?: string
241
+ borderRadius?: string
242
+ closeButtonColor?: string
243
+ header?: { fontSize?: string; fontWeight?: string; color?: string }
244
+ title?: { fontSize?: string; fontWeight?: string; color?: string }
245
+ description?: { fontSize?: string; fontWeight?: string; color?: string }
246
+ footer?: {
247
+ primary?: { backgroundColor?: string; textColor?: string }
248
+ secondary?: { backgroundColor?: string; textColor?: string; borderColor?: string; borderWidth?: string }
249
+ }
217
250
  }
218
251
 
219
- linkColor?: string
220
-
221
- plan?: {
222
- card?: {
252
+ plans?: {
253
+ currentPlanCard?: {
254
+ header?: { background?: string; textColor?: string }
255
+ gradientColor?: string
256
+ }
257
+ planCards?: {
223
258
  background?: string
224
259
  borderColor?: string
225
260
  descriptionColor?: string
226
-
227
- header?: {
228
- background?: string
229
- textColor?: string
230
- }
231
-
232
- description?: {
233
- textColor?: string
234
- textButtonColor?: string
235
- }
236
-
261
+ header?: { background?: string; textColor?: string }
262
+ description?: { textColor?: string; textButtonColor?: string }
237
263
  price?: {
238
264
  amountColor?: string
239
265
  primaryTextColor?: string
240
266
  secondaryTextColor?: string
241
- textButtonColor?: string
242
267
  background?: string
243
268
  borderColor?: string
244
269
  }
245
270
  }
246
-
247
- button?: {
248
- background?: string
249
- textColor?: string
250
- secondaryBackground?: string
251
- secondaryTextColor?: string
252
- textButtonColor?: string
253
- }
254
-
255
- featureList?: {
256
- textColor?: string
257
- iconColor?: string
258
- }
259
-
260
- intervalToggle?: {
271
+ planFeatures?: { textColor?: string; iconColor?: string }
272
+ planButton?: { background?: string; textColor?: string }
273
+ planToggle?: {
261
274
  background?: string
262
275
  activeBackground?: string
263
276
  activeText?: string
264
277
  inactiveText?: string
265
278
  }
266
-
267
- currentSubscriptionCard?: {
268
- header?: {
269
- background?: string
270
- textColor?: string
271
- }
272
- gradientColor?: string
273
- }
274
-
275
- freeTrialTag?: {
276
- background?: string
277
- textColor?: string
278
- }
279
+ planTags?: { freeTrialBackground?: string; freeTrialText?: string }
279
280
  }
280
281
  }
281
282
  ```