esewa-ui-library 1.0.1
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 +1774 -0
- package/dist/@types/index.d.ts +61 -0
- package/dist/components/AlertCard/eSewaAlertCard.d.ts +18 -0
- package/dist/components/AppBar/eSewaAppbar.d.ts +15 -0
- package/dist/components/Button/eSewaButton.d.ts +19 -0
- package/dist/components/Card/eSewaCard.d.ts +7 -0
- package/dist/components/Carousel/eSewaCarousel.d.ts +15 -0
- package/dist/components/CheckBox/eSewaCheckbox.d.ts +11 -0
- package/dist/components/Chip/eSewaChipGroup.d.ts +15 -0
- package/dist/components/DatePicker-native/eSewaDatePicker.d.ts +25 -0
- package/dist/components/Datepicker/eSewaDatePicker.d.ts +18 -0
- package/dist/components/Dialog/eSewaDialog.d.ts +18 -0
- package/dist/components/Divider/eSewaDivider.d.ts +12 -0
- package/dist/components/FullPageLoadingScreen/EsewaFullPageLoadingScreen.d.ts +6 -0
- package/dist/components/Grid/eSewaGrid.d.ts +14 -0
- package/dist/components/Icon/esIcon.d.ts +10 -0
- package/dist/components/Image/eSewaImage.d.ts +12 -0
- package/dist/components/InputFeild/eSewaInputFeild.d.ts +23 -0
- package/dist/components/InputFeildTextArea/eSewaInputFeildTextArea.d.ts +17 -0
- package/dist/components/MultiSelect/eSewaMultiSelect.d.ts +12 -0
- package/dist/components/NativeSelect/eSewaSelectNative.d.ts +19 -0
- package/dist/components/NepaliDatepicker/eSewaNepaliDatepicker.d.ts +10 -0
- package/dist/components/Radio/eSewaRadio.d.ts +12 -0
- package/dist/components/Rating/eSewaRating.d.ts +9 -0
- package/dist/components/ReactSelect/eSewaSelect.d.ts +19 -0
- package/dist/components/SanitizeHtml/eSewaSanitizeHtml.d.ts +6 -0
- package/dist/components/ScrollVIew/eSewaScrolView.d.ts +10 -0
- package/dist/components/Skeleton/eSewaSkeleton.d.ts +11 -0
- package/dist/components/Tag/eSewaTag.d.ts +11 -0
- package/dist/components/Tooltip/eSewaToolip.d.ts +8 -0
- package/dist/hooks/useDebounce/useDebounce.d.ts +1 -0
- package/dist/hooks/useMessage/useMessage.d.ts +9 -0
- package/dist/hooks/useSessionStorage/useSessionStorage.d.ts +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +7919 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +7890 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/pages/componentTesting/ComponentTesting.d.ts +3 -0
- package/dist/pages/confirmationPage/eSewaConfirmationPage.d.ts +19 -0
- package/dist/pages/demoOrderDetail/orderDetails.d.ts +10 -0
- package/dist/pages/demoProductDetail/productDetail.d.ts +17 -0
- package/dist/pages/demoProductListing/productList.d.ts +4 -0
- package/dist/pages/normalPayment/normalPayment.d.ts +4 -0
- package/dist/pages/productPayment/ProductPayemnt.d.ts +3 -0
- package/dist/pages/productPayment/additionalDetails/AdditionalDetails.d.ts +3 -0
- package/dist/pages/productPayment/comfirmation/Confirmation.d.ts +19 -0
- package/dist/pages/productPayment/commissionDetails/CommissionCard.d.ts +8 -0
- package/dist/pages/productPayment/interface/index.d.ts +40 -0
- package/dist/pages/productPayment/paymentDetails/PaymentDetails.d.ts +3 -0
- package/dist/provider/eSewaPaymentProvider.d.ts +16 -0
- package/dist/provider/eSewaProvider.d.ts +21 -0
- package/dist/provider/eSewaThemeProvider.d.ts +4 -0
- package/dist/services/eSewaService.d.ts +4 -0
- package/dist/theme/borderRadius.d.ts +10 -0
- package/dist/theme/colors.d.ts +349 -0
- package/dist/theme/fontSize.d.ts +17 -0
- package/dist/theme/index.d.ts +645 -0
- package/dist/theme/shadow.d.ts +32 -0
- package/dist/theme/spacing.d.ts +19 -0
- package/dist/theme/values.d.ts +22 -0
- package/dist/utils/index.d.ts +9 -0
- package/package.json +88 -0
- package/src/styles/fonts/es-icon/es-font-icon.eot +0 -0
- package/src/styles/fonts/es-icon/es-font-icon.svg +598 -0
- package/src/styles/fonts/es-icon/es-font-icon.ttf +0 -0
- package/src/styles/fonts/es-icon/es-font-icon.woff +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './eSewaConfirmationPage.scss';
|
|
3
|
+
interface Properties {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
interface ProductDetails {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
interface PaymentDetails {
|
|
10
|
+
amount: number;
|
|
11
|
+
productCode: string;
|
|
12
|
+
properties: Properties;
|
|
13
|
+
}
|
|
14
|
+
interface ConfirmationPageProps {
|
|
15
|
+
productDetails?: ProductDetails;
|
|
16
|
+
paymentDetails?: PaymentDetails;
|
|
17
|
+
}
|
|
18
|
+
declare const ESewaConfirmationPage: React.FC<ConfirmationPageProps>;
|
|
19
|
+
export default ESewaConfirmationPage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './orderDetail.scss';
|
|
3
|
+
declare type OrderDetailsProps = {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
data: any;
|
|
6
|
+
onOK: () => void;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const OrderDetails: React.FC<OrderDetailsProps>;
|
|
10
|
+
export default OrderDetails;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './productDetail.scss';
|
|
3
|
+
declare type Rating = {
|
|
4
|
+
rate: number;
|
|
5
|
+
count: number;
|
|
6
|
+
};
|
|
7
|
+
declare type ProductDetails = {
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
price: number;
|
|
11
|
+
description: string;
|
|
12
|
+
category: string;
|
|
13
|
+
image: string;
|
|
14
|
+
rating: Rating;
|
|
15
|
+
};
|
|
16
|
+
declare const ProductDetails: React.FC;
|
|
17
|
+
export default ProductDetails;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Confirmation.scss';
|
|
3
|
+
interface Properties {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
interface ProductDetails {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
interface PaymentDetails {
|
|
10
|
+
amount: number;
|
|
11
|
+
productCode: string;
|
|
12
|
+
properties: Properties;
|
|
13
|
+
}
|
|
14
|
+
interface ConfirmationPageProps {
|
|
15
|
+
productDetails?: ProductDetails;
|
|
16
|
+
paymentDetails?: PaymentDetails;
|
|
17
|
+
}
|
|
18
|
+
declare const ConfirmationPage: React.FC<ConfirmationPageProps>;
|
|
19
|
+
export default ConfirmationPage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './CommissionCard.scss';
|
|
3
|
+
import { CommissionDetails } from '../interface';
|
|
4
|
+
interface CommissionCardProps {
|
|
5
|
+
commission: CommissionDetails;
|
|
6
|
+
}
|
|
7
|
+
declare const CommissionCard: React.FC<CommissionCardProps>;
|
|
8
|
+
export default CommissionCard;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface ProductDetails {
|
|
2
|
+
id?: number;
|
|
3
|
+
name?: string;
|
|
4
|
+
logoPath?: string;
|
|
5
|
+
productCode?: string;
|
|
6
|
+
displayName?: string;
|
|
7
|
+
minimumAmount?: number;
|
|
8
|
+
maximumAmount?: number;
|
|
9
|
+
details?: string;
|
|
10
|
+
shortDescription?: string;
|
|
11
|
+
status?: 'ACTIVE' | 'INACTIVE';
|
|
12
|
+
savePayment?: boolean;
|
|
13
|
+
reminder?: boolean;
|
|
14
|
+
enquiry?: boolean;
|
|
15
|
+
schedulePayment?: boolean;
|
|
16
|
+
reminderTypes?: string[];
|
|
17
|
+
productType?: string;
|
|
18
|
+
userRemarks?: any;
|
|
19
|
+
separateIntegration?: boolean;
|
|
20
|
+
pfmCategoryId?: number | null;
|
|
21
|
+
}
|
|
22
|
+
export interface PaymentProperties {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}
|
|
25
|
+
export interface PaymentRequest {
|
|
26
|
+
amount?: number;
|
|
27
|
+
properties?: PaymentProperties;
|
|
28
|
+
}
|
|
29
|
+
export interface PromoCodeCommission {
|
|
30
|
+
promoCodeCashback?: number;
|
|
31
|
+
promoCodeRewardPoint?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface CommissionDetails extends PromoCodeCommission {
|
|
34
|
+
transactionAmount?: number;
|
|
35
|
+
totalPayingAmount?: number;
|
|
36
|
+
eSewaCashback?: number;
|
|
37
|
+
serviceCharge?: number;
|
|
38
|
+
tdsAmount?: number;
|
|
39
|
+
rewardPoint?: number;
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { CommissionDetails, ProductDetails, PromoCodeCommission } from '../pages/productPayment/interface';
|
|
3
|
+
interface AppContextType {
|
|
4
|
+
productDetails: ProductDetails;
|
|
5
|
+
setProductDetails: React.Dispatch<React.SetStateAction<ProductDetails>>;
|
|
6
|
+
commissionDetails: CommissionDetails;
|
|
7
|
+
setCommissionDetails: React.Dispatch<React.SetStateAction<CommissionDetails>>;
|
|
8
|
+
promoCodeCommission: PromoCodeCommission;
|
|
9
|
+
setPromoCodeCommission: React.Dispatch<React.SetStateAction<PromoCodeCommission | {}>>;
|
|
10
|
+
}
|
|
11
|
+
export declare const AppContext: React.Context<AppContextType | undefined>;
|
|
12
|
+
interface AppProviderProps {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare const ESewaPaymentProvider: React.FC<AppProviderProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { CommissionDetails, ProductDetails, PromoCodeCommission } from '../pages/productPayment/interface';
|
|
3
|
+
interface ProviderDataType {
|
|
4
|
+
title: string | null | undefined;
|
|
5
|
+
}
|
|
6
|
+
interface DataContextType {
|
|
7
|
+
data: ProviderDataType;
|
|
8
|
+
updateData: (newData: ProviderDataType) => void;
|
|
9
|
+
productDetails: ProductDetails;
|
|
10
|
+
setProductDetails: React.Dispatch<React.SetStateAction<ProductDetails>>;
|
|
11
|
+
commissionDetails: CommissionDetails;
|
|
12
|
+
setCommissionDetails: React.Dispatch<React.SetStateAction<CommissionDetails>>;
|
|
13
|
+
promoCodeCommission: PromoCodeCommission;
|
|
14
|
+
setPromoCodeCommission: React.Dispatch<React.SetStateAction<PromoCodeCommission | {}>>;
|
|
15
|
+
}
|
|
16
|
+
interface DataProviderProps {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const ESewaProvider: React.FC<DataProviderProps>;
|
|
20
|
+
export declare const useESewaDataProvider: () => DataContextType;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Callback, REQUEST_DATA_TYPE } from '../@types';
|
|
2
|
+
export declare const getPlatform: () => "android" | "ios" | "unknown";
|
|
3
|
+
export declare const requestMiniApp: (data: REQUEST_DATA_TYPE) => void;
|
|
4
|
+
export declare const requestFromMiniApp: (data: REQUEST_DATA_TYPE, callbackKey: keyof Window['Android'], callback: Callback) => void;
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
export declare const primary: {
|
|
2
|
+
900: string;
|
|
3
|
+
800: string;
|
|
4
|
+
700: string;
|
|
5
|
+
600: string;
|
|
6
|
+
500: string;
|
|
7
|
+
400: string;
|
|
8
|
+
300: string;
|
|
9
|
+
200: string;
|
|
10
|
+
100: string;
|
|
11
|
+
50: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const red: {
|
|
14
|
+
900: string;
|
|
15
|
+
800: string;
|
|
16
|
+
700: string;
|
|
17
|
+
600: string;
|
|
18
|
+
500: string;
|
|
19
|
+
400: string;
|
|
20
|
+
300: string;
|
|
21
|
+
200: string;
|
|
22
|
+
100: string;
|
|
23
|
+
50: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const blue: {
|
|
26
|
+
900: string;
|
|
27
|
+
800: string;
|
|
28
|
+
700: string;
|
|
29
|
+
600: string;
|
|
30
|
+
500: string;
|
|
31
|
+
400: string;
|
|
32
|
+
300: string;
|
|
33
|
+
200: string;
|
|
34
|
+
100: string;
|
|
35
|
+
50: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const orange: {
|
|
38
|
+
900: string;
|
|
39
|
+
800: string;
|
|
40
|
+
700: string;
|
|
41
|
+
600: string;
|
|
42
|
+
500: string;
|
|
43
|
+
400: string;
|
|
44
|
+
300: string;
|
|
45
|
+
200: string;
|
|
46
|
+
100: string;
|
|
47
|
+
50: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const gray: {
|
|
50
|
+
900: string;
|
|
51
|
+
800: string;
|
|
52
|
+
700: string;
|
|
53
|
+
600: string;
|
|
54
|
+
500: string;
|
|
55
|
+
400: string;
|
|
56
|
+
300: string;
|
|
57
|
+
200: string;
|
|
58
|
+
100: string;
|
|
59
|
+
50: string;
|
|
60
|
+
35: string;
|
|
61
|
+
25: string;
|
|
62
|
+
};
|
|
63
|
+
export declare const bluegray: {
|
|
64
|
+
50: string;
|
|
65
|
+
100: string;
|
|
66
|
+
200: string;
|
|
67
|
+
300: string;
|
|
68
|
+
400: string;
|
|
69
|
+
500: string;
|
|
70
|
+
600: string;
|
|
71
|
+
700: string;
|
|
72
|
+
800: string;
|
|
73
|
+
900: string;
|
|
74
|
+
};
|
|
75
|
+
export declare const white = "#fff";
|
|
76
|
+
export declare const black = "#000";
|
|
77
|
+
export declare const miscellaneousStarIconStarRating = "#FFCC05";
|
|
78
|
+
export declare const lightThemeColors: {
|
|
79
|
+
primaryColor: {
|
|
80
|
+
primary: string;
|
|
81
|
+
'primary-dark': string;
|
|
82
|
+
'primary-bg-light': string;
|
|
83
|
+
'primary-text': string;
|
|
84
|
+
'primary-light-text': string;
|
|
85
|
+
'primary-muted': string;
|
|
86
|
+
};
|
|
87
|
+
appBarColor: {
|
|
88
|
+
'bg-bottom': string;
|
|
89
|
+
'bg-top': string;
|
|
90
|
+
'bg-tool': string;
|
|
91
|
+
fg: string;
|
|
92
|
+
};
|
|
93
|
+
bodyColor: {
|
|
94
|
+
'body-bg': string;
|
|
95
|
+
'body-color': string;
|
|
96
|
+
};
|
|
97
|
+
border: {
|
|
98
|
+
border: string;
|
|
99
|
+
'default-input-border': string;
|
|
100
|
+
'disabled-input-border': string;
|
|
101
|
+
};
|
|
102
|
+
secondaryColor: {
|
|
103
|
+
secondary: string;
|
|
104
|
+
'secondary-bg-light': string;
|
|
105
|
+
'secondary-border': string;
|
|
106
|
+
'secondary-muted': string;
|
|
107
|
+
'secondary-text': string;
|
|
108
|
+
'secondary-text-light': string;
|
|
109
|
+
};
|
|
110
|
+
infoColor: {
|
|
111
|
+
info: string;
|
|
112
|
+
'info-bg-light': string;
|
|
113
|
+
'info-border': string;
|
|
114
|
+
'info-text': string;
|
|
115
|
+
};
|
|
116
|
+
successColor: {
|
|
117
|
+
success: string;
|
|
118
|
+
'success-bg-light': string;
|
|
119
|
+
'success-border': string;
|
|
120
|
+
'success-text': string;
|
|
121
|
+
};
|
|
122
|
+
surfaceColor: {
|
|
123
|
+
'surface-bg': string;
|
|
124
|
+
};
|
|
125
|
+
danger: {
|
|
126
|
+
danger: string;
|
|
127
|
+
'danger-bg-light': string;
|
|
128
|
+
'danger-border': string;
|
|
129
|
+
'danger-text': string;
|
|
130
|
+
};
|
|
131
|
+
warning: {
|
|
132
|
+
warning: string;
|
|
133
|
+
'warning-bg-light': string;
|
|
134
|
+
'warning-border': string;
|
|
135
|
+
'warning-text': string;
|
|
136
|
+
};
|
|
137
|
+
input: {
|
|
138
|
+
'input-bg': string;
|
|
139
|
+
'disabled-input-bg': string;
|
|
140
|
+
'input-placeholder': string;
|
|
141
|
+
};
|
|
142
|
+
icon: {
|
|
143
|
+
'icon-green': string;
|
|
144
|
+
'icon-green-light': string;
|
|
145
|
+
'icon-gray': string;
|
|
146
|
+
'icon-bg': string;
|
|
147
|
+
'icon-muted': string;
|
|
148
|
+
'icon-star-rating': string;
|
|
149
|
+
};
|
|
150
|
+
textColor: {
|
|
151
|
+
'text-dark': string;
|
|
152
|
+
'text-tertiary': string;
|
|
153
|
+
'text-light': string;
|
|
154
|
+
'text-muted': string;
|
|
155
|
+
};
|
|
156
|
+
cardColor: {
|
|
157
|
+
'card-bg': string;
|
|
158
|
+
'balance-bg': string;
|
|
159
|
+
'balance-bg-light-gray': string;
|
|
160
|
+
'profile-balance-card-bg': string;
|
|
161
|
+
};
|
|
162
|
+
tooltipColor: {
|
|
163
|
+
'tooltip-bg': string;
|
|
164
|
+
'tooltip-fg': string;
|
|
165
|
+
};
|
|
166
|
+
modalBackDrop: {
|
|
167
|
+
'modal-backdrop-bg': string;
|
|
168
|
+
};
|
|
169
|
+
buttonColor: {
|
|
170
|
+
'button-muted-bg': string;
|
|
171
|
+
'button-muted': string;
|
|
172
|
+
'button-primary-text': string;
|
|
173
|
+
'button-white-bg': string;
|
|
174
|
+
};
|
|
175
|
+
miscellaneousColor: {
|
|
176
|
+
'star-rating': string;
|
|
177
|
+
'bar-active': string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
export declare const darkThemeColors: {
|
|
181
|
+
primaryColor: {
|
|
182
|
+
primary: string;
|
|
183
|
+
'primary-dark': string;
|
|
184
|
+
'primary-bg-light': string;
|
|
185
|
+
'primary-text': string;
|
|
186
|
+
'primary-light-text': string;
|
|
187
|
+
'primary-muted': string;
|
|
188
|
+
};
|
|
189
|
+
appBarColor: {
|
|
190
|
+
'bg-bottom': string;
|
|
191
|
+
'bg-top': string;
|
|
192
|
+
'bg-tool': string;
|
|
193
|
+
fg: string;
|
|
194
|
+
};
|
|
195
|
+
bodyColor: {
|
|
196
|
+
'body-bg': string;
|
|
197
|
+
'body-color': string;
|
|
198
|
+
};
|
|
199
|
+
border: {
|
|
200
|
+
border: string;
|
|
201
|
+
'default-input-border': string;
|
|
202
|
+
'disabled-input-border': string;
|
|
203
|
+
};
|
|
204
|
+
secondaryColor: {
|
|
205
|
+
secondary: string;
|
|
206
|
+
'secondary-bg-light': string;
|
|
207
|
+
'secondary-border': string;
|
|
208
|
+
'secondary-muted': string;
|
|
209
|
+
'secondary-text': string;
|
|
210
|
+
'secondary-text-light': string;
|
|
211
|
+
};
|
|
212
|
+
infoColor: {
|
|
213
|
+
info: string;
|
|
214
|
+
'info-bg-light': string;
|
|
215
|
+
'info-border': string;
|
|
216
|
+
'info-text': string;
|
|
217
|
+
};
|
|
218
|
+
successColor: {
|
|
219
|
+
success: string;
|
|
220
|
+
'success-bg-light': string;
|
|
221
|
+
'success-border': string;
|
|
222
|
+
'success-text': string;
|
|
223
|
+
};
|
|
224
|
+
surfaceColor: {
|
|
225
|
+
'surface-bg': string;
|
|
226
|
+
};
|
|
227
|
+
danger: {
|
|
228
|
+
danger: string;
|
|
229
|
+
'danger-bg-light': string;
|
|
230
|
+
'danger-border': string;
|
|
231
|
+
'danger-text': string;
|
|
232
|
+
};
|
|
233
|
+
warning: {
|
|
234
|
+
warning: string;
|
|
235
|
+
'warning-bg-light': string;
|
|
236
|
+
'warning-border': string;
|
|
237
|
+
'warning-text': string;
|
|
238
|
+
};
|
|
239
|
+
input: {
|
|
240
|
+
'input-bg': string;
|
|
241
|
+
'disabled-input-bg': string;
|
|
242
|
+
'input-placeholder': string;
|
|
243
|
+
};
|
|
244
|
+
icon: {
|
|
245
|
+
'icon-green': string;
|
|
246
|
+
'icon-green-light': string;
|
|
247
|
+
'icon-gray': string;
|
|
248
|
+
'icon-bg': string;
|
|
249
|
+
'icon-muted': string;
|
|
250
|
+
'icon-star-rating': string;
|
|
251
|
+
};
|
|
252
|
+
textColor: {
|
|
253
|
+
'text-dark': string;
|
|
254
|
+
'text-tertiary': string;
|
|
255
|
+
'text-light': string;
|
|
256
|
+
'text-muted': string;
|
|
257
|
+
};
|
|
258
|
+
cardColor: {
|
|
259
|
+
'profile-balance-card-bg': string;
|
|
260
|
+
'balance-bg-light-gray': string;
|
|
261
|
+
'balance-bg': string;
|
|
262
|
+
'card-bg': string;
|
|
263
|
+
};
|
|
264
|
+
tooltipColor: {
|
|
265
|
+
'tooltip-bg': string;
|
|
266
|
+
'tooltip-fg': string;
|
|
267
|
+
};
|
|
268
|
+
modalBackDrop: {
|
|
269
|
+
'modal-backdrop-bg': string;
|
|
270
|
+
};
|
|
271
|
+
buttonColor: {
|
|
272
|
+
'button-muted': string;
|
|
273
|
+
'button-muted-bg': string;
|
|
274
|
+
'button-primary-text': string;
|
|
275
|
+
'button-white-bg': string;
|
|
276
|
+
};
|
|
277
|
+
miscellaneousColor: {
|
|
278
|
+
'star-rating': string;
|
|
279
|
+
'bar-active': string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
export declare const common: {
|
|
283
|
+
black: string;
|
|
284
|
+
white: string;
|
|
285
|
+
};
|
|
286
|
+
export declare const palette: {
|
|
287
|
+
primary: {
|
|
288
|
+
900: string;
|
|
289
|
+
800: string;
|
|
290
|
+
700: string;
|
|
291
|
+
600: string;
|
|
292
|
+
500: string;
|
|
293
|
+
400: string;
|
|
294
|
+
300: string;
|
|
295
|
+
200: string;
|
|
296
|
+
100: string;
|
|
297
|
+
50: string;
|
|
298
|
+
};
|
|
299
|
+
gray: {
|
|
300
|
+
900: string;
|
|
301
|
+
800: string;
|
|
302
|
+
700: string;
|
|
303
|
+
600: string;
|
|
304
|
+
500: string;
|
|
305
|
+
400: string;
|
|
306
|
+
300: string;
|
|
307
|
+
200: string;
|
|
308
|
+
100: string;
|
|
309
|
+
50: string;
|
|
310
|
+
35: string;
|
|
311
|
+
25: string;
|
|
312
|
+
};
|
|
313
|
+
blue: {
|
|
314
|
+
900: string;
|
|
315
|
+
800: string;
|
|
316
|
+
700: string;
|
|
317
|
+
600: string;
|
|
318
|
+
500: string;
|
|
319
|
+
400: string;
|
|
320
|
+
300: string;
|
|
321
|
+
200: string;
|
|
322
|
+
100: string;
|
|
323
|
+
50: string;
|
|
324
|
+
};
|
|
325
|
+
orange: {
|
|
326
|
+
900: string;
|
|
327
|
+
800: string;
|
|
328
|
+
700: string;
|
|
329
|
+
600: string;
|
|
330
|
+
500: string;
|
|
331
|
+
400: string;
|
|
332
|
+
300: string;
|
|
333
|
+
200: string;
|
|
334
|
+
100: string;
|
|
335
|
+
50: string;
|
|
336
|
+
};
|
|
337
|
+
bluegray: {
|
|
338
|
+
50: string;
|
|
339
|
+
100: string;
|
|
340
|
+
200: string;
|
|
341
|
+
300: string;
|
|
342
|
+
400: string;
|
|
343
|
+
500: string;
|
|
344
|
+
600: string;
|
|
345
|
+
700: string;
|
|
346
|
+
800: string;
|
|
347
|
+
900: string;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const fontSize: {
|
|
2
|
+
h1: string;
|
|
3
|
+
h2: string;
|
|
4
|
+
h3: string;
|
|
5
|
+
h4: string;
|
|
6
|
+
h5: string;
|
|
7
|
+
h6: string;
|
|
8
|
+
'body-1': string;
|
|
9
|
+
'body-1-body-2': string;
|
|
10
|
+
button: string;
|
|
11
|
+
label: string;
|
|
12
|
+
caption: string;
|
|
13
|
+
'sub--caption': string;
|
|
14
|
+
overline: string;
|
|
15
|
+
'overline-2': string;
|
|
16
|
+
subcaption2: string;
|
|
17
|
+
};
|