@saas-support/react 0.5.0 → 0.6.2
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.cjs +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.js +45 -45
- package/dist/react.cjs +1318 -128
- package/dist/react.d.ts +14 -0
- package/dist/react.js +3191 -1691
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export declare interface Appearance {
|
|
|
8
8
|
baseTheme?: 'light' | 'dark';
|
|
9
9
|
variables?: ThemeVariables;
|
|
10
10
|
elements?: ElementOverrides;
|
|
11
|
+
/** Custom font URL, or null to disable CDN font loading */
|
|
12
|
+
fontUrl?: string | null;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
declare interface ApplyCouponResult {
|
|
@@ -222,6 +224,12 @@ declare interface ElementOverrides {
|
|
|
222
224
|
chartContainer?: React.CSSProperties;
|
|
223
225
|
queryInput?: React.CSSProperties;
|
|
224
226
|
dashboardGrid?: React.CSSProperties;
|
|
227
|
+
brandIcon?: React.CSSProperties;
|
|
228
|
+
oauthGrid?: React.CSSProperties;
|
|
229
|
+
mfaDigitInput?: React.CSSProperties;
|
|
230
|
+
glassPanel?: React.CSSProperties;
|
|
231
|
+
avatarLarge?: React.CSSProperties;
|
|
232
|
+
profileHeader?: React.CSSProperties;
|
|
225
233
|
}
|
|
226
234
|
|
|
227
235
|
declare interface EmbedToken {
|
|
@@ -625,6 +633,12 @@ export declare interface ThemeVariables {
|
|
|
625
633
|
colorWarning?: string;
|
|
626
634
|
fontFamily?: string;
|
|
627
635
|
borderRadius?: string;
|
|
636
|
+
colorPrimaryContainer?: string;
|
|
637
|
+
colorSurface?: string;
|
|
638
|
+
colorOnSurface?: string;
|
|
639
|
+
colorOutline?: string;
|
|
640
|
+
fontFamilyHeadline?: string;
|
|
641
|
+
fontFamilyBody?: string;
|
|
628
642
|
}
|
|
629
643
|
|
|
630
644
|
declare class TokenManager {
|