@bikdotai/bik-component-library 0.0.8-analytics-chips-beta → 0.0.8
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/cjs/_virtual/_tslib.js +1 -0
- package/dist/cjs/assets/icons/check.svg.js +1 -0
- package/dist/cjs/assets/icons/cross.svg.js +1 -0
- package/dist/cjs/assets/icons/errorInfo.svg.js +1 -0
- package/dist/cjs/bundle.css +621 -0
- package/dist/cjs/components/TypographyStyle.d.ts +15 -0
- package/dist/cjs/components/TypographyStyle.js +88 -0
- package/dist/cjs/components/button/Button.d.ts +3 -0
- package/dist/cjs/components/button/Button.js +1 -0
- package/dist/cjs/components/button/Button.styled.d.ts +13 -0
- package/dist/cjs/components/button/Button.styled.js +1 -0
- package/dist/cjs/components/button/index.d.ts +1 -0
- package/dist/cjs/components/button/model.d.ts +57 -0
- package/dist/cjs/components/button/themes.d.ts +18 -0
- package/dist/cjs/components/button/themes.js +1 -0
- package/dist/cjs/components/checkBox/CheckBox.d.ts +9 -0
- package/dist/cjs/components/checkBox/CheckBox.js +1 -0
- package/dist/cjs/components/checkBox/CheckBox.styled.d.ts +7 -0
- package/dist/cjs/components/checkBox/CheckBox.styled.js +26 -0
- package/dist/cjs/components/checkBox/index.d.ts +1 -0
- package/dist/cjs/components/icon-button/IconButton.d.ts +3 -0
- package/dist/cjs/components/icon-button/IconButton.js +1 -0
- package/dist/cjs/components/icon-button/IconButton.styled.d.ts +6 -0
- package/dist/cjs/components/icon-button/IconButton.styled.js +3 -0
- package/dist/cjs/components/icon-button/index.d.ts +1 -0
- package/dist/cjs/components/icon-button/model.d.ts +37 -0
- package/dist/cjs/components/icon-button/theme.d.ts +3 -0
- package/dist/cjs/components/icon-button/theme.js +1 -0
- package/dist/cjs/components/image-compress/ImageCompress.d.ts +7 -0
- package/dist/cjs/components/image-compress/ImageCompress.js +1 -0
- package/dist/cjs/components/image-compress/index.d.ts +1 -0
- package/dist/cjs/components/input/Input.d.ts +37 -0
- package/dist/cjs/components/input/Input.styled.d.ts +114 -0
- package/dist/cjs/components/input/index.d.ts +1 -0
- package/dist/cjs/components/list-item/ListItem.d.ts +16 -0
- package/dist/cjs/components/list-item/ListItem.js +1 -0
- package/dist/cjs/components/list-item/ListItem.styled.d.ts +9 -0
- package/dist/cjs/components/list-item/ListItem.styled.js +1 -0
- package/dist/cjs/components/list-item/index.d.ts +1 -0
- package/dist/cjs/components/list-item/themes.d.ts +3 -0
- package/dist/cjs/components/list-item/themes.js +1 -0
- package/dist/cjs/components/pagination/Pagination.d.ts +9 -0
- package/dist/cjs/components/pagination/Pagination.js +1 -0
- package/dist/cjs/components/pagination/Pagination.styled.d.ts +5 -0
- package/dist/cjs/components/pagination/Pagination.styled.js +1 -0
- package/dist/cjs/components/pagination/index.d.ts +1 -0
- package/dist/cjs/components/radioButton/RadioButton.d.ts +8 -0
- package/dist/cjs/components/radioButton/RadioButton.js +1 -0
- package/dist/cjs/components/radioButton/RadioButton.styled.d.ts +7 -0
- package/dist/cjs/components/radioButton/RadioButton.styled.js +20 -0
- package/dist/cjs/components/radioButton/index.d.ts +1 -0
- package/dist/cjs/components/sample-button/SampleButton.d.ts +18 -0
- package/dist/cjs/components/sample-button/SampleButton.styled.d.ts +9 -0
- package/dist/cjs/components/sample-button/index.d.ts +1 -0
- package/dist/cjs/components/sample-button/themes.d.ts +2 -0
- package/dist/cjs/components/spinner/Spinner.d.ts +6 -0
- package/dist/cjs/components/spinner/Spinner.js +1 -0
- package/dist/cjs/components/spinner/index.d.ts +1 -0
- package/dist/cjs/components/spinner/lotties/black.json.js +1 -0
- package/dist/cjs/components/spinner/lotties/brand.json.js +1 -0
- package/dist/cjs/components/spinner/lotties/red.json.js +1 -0
- package/dist/cjs/components/spinner/lotties/white.json.js +1 -0
- package/dist/cjs/components/spinner/model.d.ts +13 -0
- package/dist/cjs/components/spinner/themes.d.ts +3 -0
- package/dist/cjs/components/spinner/themes.js +1 -0
- package/dist/cjs/components/stepper/Stepper.d.ts +22 -0
- package/dist/cjs/components/stepper/Stepper.js +1 -0
- package/dist/cjs/components/stepper/Stepper.styled.d.ts +6 -0
- package/dist/cjs/components/stepper/Stepper.styled.js +83 -0
- package/dist/cjs/components/stepper/StepperService.d.ts +4 -0
- package/dist/cjs/components/stepper/WorkingStepper.d.ts +14 -0
- package/dist/cjs/components/stepper/index.d.ts +1 -0
- package/dist/cjs/components/stepper/themes.d.ts +18 -0
- package/dist/cjs/components/stepper/themes.js +1 -0
- package/dist/cjs/components/tag/Tag.d.ts +6 -0
- package/dist/cjs/components/tag/Tag.js +1 -0
- package/dist/cjs/components/tag/Tag.styled.d.ts +6 -0
- package/dist/cjs/components/tag/Tag.styled.js +26 -0
- package/dist/cjs/components/tag/index.d.ts +1 -0
- package/dist/cjs/components/tag/model.d.ts +34 -0
- package/dist/cjs/components/tag/themes.d.ts +6 -0
- package/dist/cjs/components/tag/themes.js +1 -0
- package/dist/cjs/components/toaster/Toaster.d.ts +27 -0
- package/dist/cjs/components/toaster/Toaster.js +1 -0
- package/dist/cjs/components/toaster/Toaster.styled.d.ts +4 -0
- package/dist/cjs/components/toaster/Toaster.styled.js +35 -0
- package/dist/cjs/components/toaster/index.d.ts +1 -0
- package/dist/cjs/components/tooltips/Tooltip.d.ts +10 -0
- package/dist/cjs/components/tooltips/Tooltip.js +1 -0
- package/dist/cjs/components/tooltips/TooltipInternal.d.ts +10 -0
- package/dist/cjs/components/tooltips/TooltipInternal.js +1 -0
- package/dist/cjs/components/tooltips/index.d.ts +1 -0
- package/dist/cjs/constants/Theme.d.ts +587 -0
- package/dist/cjs/constants/Theme.js +1 -0
- package/dist/cjs/constants/breakpoints.d.ts +6 -0
- package/dist/cjs/constants/colors.d.ts +7 -0
- package/dist/cjs/constants/spacing.d.ts +2 -0
- package/dist/cjs/index.d.ts +14 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/utils/classNames.d.ts +7 -0
- package/dist/cjs/utils/rgba.d.ts +8 -0
- package/dist/esm/_virtual/_tslib.js +1 -0
- package/dist/esm/assets/icons/check.svg.js +1 -0
- package/dist/esm/assets/icons/cross.svg.js +1 -0
- package/dist/esm/assets/icons/errorInfo.svg.js +1 -0
- package/dist/esm/bundle.css +621 -0
- package/dist/esm/components/TypographyStyle.d.ts +15 -0
- package/dist/esm/components/TypographyStyle.js +88 -0
- package/dist/esm/components/button/Button.d.ts +3 -0
- package/dist/esm/components/button/Button.js +1 -0
- package/dist/esm/components/button/Button.styled.d.ts +13 -0
- package/dist/esm/components/button/Button.styled.js +1 -0
- package/dist/esm/components/button/index.d.ts +1 -0
- package/dist/esm/components/button/model.d.ts +57 -0
- package/dist/esm/components/button/themes.d.ts +18 -0
- package/dist/esm/components/button/themes.js +1 -0
- package/dist/esm/components/checkBox/CheckBox.d.ts +9 -0
- package/dist/esm/components/checkBox/CheckBox.js +1 -0
- package/dist/esm/components/checkBox/CheckBox.styled.d.ts +7 -0
- package/dist/esm/components/checkBox/CheckBox.styled.js +26 -0
- package/dist/esm/components/checkBox/index.d.ts +1 -0
- package/dist/esm/components/icon-button/IconButton.d.ts +3 -0
- package/dist/esm/components/icon-button/IconButton.js +1 -0
- package/dist/esm/components/icon-button/IconButton.styled.d.ts +6 -0
- package/dist/esm/components/icon-button/IconButton.styled.js +3 -0
- package/dist/esm/components/icon-button/index.d.ts +1 -0
- package/dist/esm/components/icon-button/model.d.ts +37 -0
- package/dist/esm/components/icon-button/theme.d.ts +3 -0
- package/dist/esm/components/icon-button/theme.js +1 -0
- package/dist/esm/components/image-compress/ImageCompress.d.ts +7 -0
- package/dist/esm/components/image-compress/ImageCompress.js +1 -0
- package/dist/esm/components/image-compress/index.d.ts +1 -0
- package/dist/esm/components/input/Input.d.ts +37 -0
- package/dist/esm/components/input/Input.styled.d.ts +114 -0
- package/dist/esm/components/input/index.d.ts +1 -0
- package/dist/esm/components/list-item/ListItem.d.ts +16 -0
- package/dist/esm/components/list-item/ListItem.js +1 -0
- package/dist/esm/components/list-item/ListItem.styled.d.ts +9 -0
- package/dist/esm/components/list-item/ListItem.styled.js +1 -0
- package/dist/esm/components/list-item/index.d.ts +1 -0
- package/dist/esm/components/list-item/themes.d.ts +3 -0
- package/dist/esm/components/list-item/themes.js +1 -0
- package/dist/esm/components/pagination/Pagination.d.ts +9 -0
- package/dist/esm/components/pagination/Pagination.js +1 -0
- package/dist/esm/components/pagination/Pagination.styled.d.ts +5 -0
- package/dist/esm/components/pagination/Pagination.styled.js +1 -0
- package/dist/esm/components/pagination/index.d.ts +1 -0
- package/dist/esm/components/radioButton/RadioButton.d.ts +8 -0
- package/dist/esm/components/radioButton/RadioButton.js +1 -0
- package/dist/esm/components/radioButton/RadioButton.styled.d.ts +7 -0
- package/dist/esm/components/radioButton/RadioButton.styled.js +20 -0
- package/dist/esm/components/radioButton/index.d.ts +1 -0
- package/dist/esm/components/sample-button/SampleButton.d.ts +18 -0
- package/dist/esm/components/sample-button/SampleButton.styled.d.ts +9 -0
- package/dist/esm/components/sample-button/index.d.ts +1 -0
- package/dist/esm/components/sample-button/themes.d.ts +2 -0
- package/dist/esm/components/spinner/Spinner.d.ts +6 -0
- package/dist/esm/components/spinner/Spinner.js +1 -0
- package/dist/esm/components/spinner/index.d.ts +1 -0
- package/dist/esm/components/spinner/lotties/black.json.js +1 -0
- package/dist/esm/components/spinner/lotties/brand.json.js +1 -0
- package/dist/esm/components/spinner/lotties/red.json.js +1 -0
- package/dist/esm/components/spinner/lotties/white.json.js +1 -0
- package/dist/esm/components/spinner/model.d.ts +13 -0
- package/dist/esm/components/spinner/themes.d.ts +3 -0
- package/dist/esm/components/spinner/themes.js +1 -0
- package/dist/esm/components/stepper/Stepper.d.ts +22 -0
- package/dist/esm/components/stepper/Stepper.js +1 -0
- package/dist/esm/components/stepper/Stepper.styled.d.ts +6 -0
- package/dist/esm/components/stepper/Stepper.styled.js +83 -0
- package/dist/esm/components/stepper/StepperService.d.ts +4 -0
- package/dist/esm/components/stepper/WorkingStepper.d.ts +14 -0
- package/dist/esm/components/stepper/index.d.ts +1 -0
- package/dist/esm/components/stepper/themes.d.ts +18 -0
- package/dist/esm/components/stepper/themes.js +1 -0
- package/dist/esm/components/tag/Tag.d.ts +6 -0
- package/dist/esm/components/tag/Tag.js +1 -0
- package/dist/esm/components/tag/Tag.styled.d.ts +6 -0
- package/dist/esm/components/tag/Tag.styled.js +26 -0
- package/dist/esm/components/tag/index.d.ts +1 -0
- package/dist/esm/components/tag/model.d.ts +34 -0
- package/dist/esm/components/tag/themes.d.ts +6 -0
- package/dist/esm/components/tag/themes.js +1 -0
- package/dist/esm/components/toaster/Toaster.d.ts +27 -0
- package/dist/esm/components/toaster/Toaster.js +1 -0
- package/dist/esm/components/toaster/Toaster.styled.d.ts +4 -0
- package/dist/esm/components/toaster/Toaster.styled.js +35 -0
- package/dist/esm/components/toaster/index.d.ts +1 -0
- package/dist/esm/components/tooltips/Tooltip.d.ts +10 -0
- package/dist/esm/components/tooltips/Tooltip.js +1 -0
- package/dist/esm/components/tooltips/TooltipInternal.d.ts +10 -0
- package/dist/esm/components/tooltips/TooltipInternal.js +1 -0
- package/dist/esm/components/tooltips/index.d.ts +1 -0
- package/dist/esm/constants/Theme.d.ts +587 -0
- package/dist/esm/constants/Theme.js +1 -0
- package/dist/esm/constants/breakpoints.d.ts +6 -0
- package/dist/esm/constants/colors.d.ts +7 -0
- package/dist/esm/constants/spacing.d.ts +2 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/utils/classNames.d.ts +7 -0
- package/dist/esm/utils/rgba.d.ts +8 -0
- package/package.json +2 -8
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
export declare const BASE_COLORS: {
|
|
2
|
+
brand: {
|
|
3
|
+
900: string;
|
|
4
|
+
800: string;
|
|
5
|
+
500: string;
|
|
6
|
+
50: string;
|
|
7
|
+
};
|
|
8
|
+
grayscale: {
|
|
9
|
+
900: string;
|
|
10
|
+
700: string;
|
|
11
|
+
500: string;
|
|
12
|
+
400: string;
|
|
13
|
+
200: string;
|
|
14
|
+
100: string;
|
|
15
|
+
50: string;
|
|
16
|
+
white: string;
|
|
17
|
+
alpha: string;
|
|
18
|
+
};
|
|
19
|
+
negative: {
|
|
20
|
+
900: string;
|
|
21
|
+
700: string;
|
|
22
|
+
100: string;
|
|
23
|
+
50: string;
|
|
24
|
+
};
|
|
25
|
+
warning: {
|
|
26
|
+
900: string;
|
|
27
|
+
500: string;
|
|
28
|
+
100: string;
|
|
29
|
+
50: string;
|
|
30
|
+
};
|
|
31
|
+
positive: {
|
|
32
|
+
900: string;
|
|
33
|
+
700: string;
|
|
34
|
+
100: string;
|
|
35
|
+
50: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const COLORS: {
|
|
39
|
+
background: {
|
|
40
|
+
inactive: string;
|
|
41
|
+
base: string;
|
|
42
|
+
inverse: string;
|
|
43
|
+
inverseLight: string;
|
|
44
|
+
brand: string;
|
|
45
|
+
brandLight: string;
|
|
46
|
+
negative: {
|
|
47
|
+
vibrant: string;
|
|
48
|
+
light: string;
|
|
49
|
+
};
|
|
50
|
+
warning: {
|
|
51
|
+
vibrant: string;
|
|
52
|
+
light: string;
|
|
53
|
+
};
|
|
54
|
+
positive: {
|
|
55
|
+
vibrant: string;
|
|
56
|
+
light: string;
|
|
57
|
+
};
|
|
58
|
+
blue: {
|
|
59
|
+
light: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
scrim: {
|
|
63
|
+
standard: string;
|
|
64
|
+
};
|
|
65
|
+
surface: {
|
|
66
|
+
standard: string;
|
|
67
|
+
subdued: string;
|
|
68
|
+
hovered: string;
|
|
69
|
+
};
|
|
70
|
+
content: {
|
|
71
|
+
primary: string;
|
|
72
|
+
secondary: string;
|
|
73
|
+
placeholder: string;
|
|
74
|
+
inactive: string;
|
|
75
|
+
brand: string;
|
|
76
|
+
primaryInverse: string;
|
|
77
|
+
secondaryInverse: string;
|
|
78
|
+
negative: string;
|
|
79
|
+
warning: string;
|
|
80
|
+
positive: string;
|
|
81
|
+
blue: string;
|
|
82
|
+
};
|
|
83
|
+
stroke: {
|
|
84
|
+
primary: string;
|
|
85
|
+
brand: string;
|
|
86
|
+
negative: {
|
|
87
|
+
lightAlt: string;
|
|
88
|
+
vibrant: string;
|
|
89
|
+
};
|
|
90
|
+
warning: {
|
|
91
|
+
lightAlt: string;
|
|
92
|
+
};
|
|
93
|
+
positive: {
|
|
94
|
+
lightAlt: string;
|
|
95
|
+
};
|
|
96
|
+
brandLightAlt: string;
|
|
97
|
+
blue: {
|
|
98
|
+
lightAlt: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
special: {
|
|
102
|
+
whatsapp: {
|
|
103
|
+
brand: string;
|
|
104
|
+
gradient: string;
|
|
105
|
+
dark: string;
|
|
106
|
+
gradientArr: string[];
|
|
107
|
+
};
|
|
108
|
+
brand: {
|
|
109
|
+
google: string;
|
|
110
|
+
facebook: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
text: {
|
|
114
|
+
primary: string;
|
|
115
|
+
secondary: string;
|
|
116
|
+
placeholder: string;
|
|
117
|
+
disabled: string;
|
|
118
|
+
white: string;
|
|
119
|
+
brand: string;
|
|
120
|
+
altPrimary: string;
|
|
121
|
+
altSecondary: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare const FONTS: {
|
|
125
|
+
display: {
|
|
126
|
+
fontWeight: string;
|
|
127
|
+
fontSize: number;
|
|
128
|
+
lineHeight: number;
|
|
129
|
+
letterSpacing: number;
|
|
130
|
+
};
|
|
131
|
+
titleXLarge: {
|
|
132
|
+
fontWeight: string;
|
|
133
|
+
fontSize: number;
|
|
134
|
+
lineHeight: number;
|
|
135
|
+
letterSpacing: number;
|
|
136
|
+
};
|
|
137
|
+
titleLarge: {
|
|
138
|
+
fontWeight: string;
|
|
139
|
+
fontSize: number;
|
|
140
|
+
lineHeight: number;
|
|
141
|
+
letterSpacing: number;
|
|
142
|
+
};
|
|
143
|
+
titleMedium: {
|
|
144
|
+
fontWeight: string;
|
|
145
|
+
fontSize: number;
|
|
146
|
+
lineHeight: number;
|
|
147
|
+
letterSpacing: number;
|
|
148
|
+
};
|
|
149
|
+
titleRegular: {
|
|
150
|
+
fontWeight: string;
|
|
151
|
+
fontSize: number;
|
|
152
|
+
lineHeight: number;
|
|
153
|
+
letterSpacing: number;
|
|
154
|
+
};
|
|
155
|
+
titleSmall: {
|
|
156
|
+
fontWeight: string;
|
|
157
|
+
fontSize: number;
|
|
158
|
+
lineHeight: number;
|
|
159
|
+
letterSpacing: number;
|
|
160
|
+
};
|
|
161
|
+
bodyPrimary: {
|
|
162
|
+
fontWeight: string;
|
|
163
|
+
fontSize: number;
|
|
164
|
+
lineHeight: number;
|
|
165
|
+
letterSpacing: number;
|
|
166
|
+
};
|
|
167
|
+
bodyLarge: {
|
|
168
|
+
fontWeight: string;
|
|
169
|
+
fontSize: number;
|
|
170
|
+
lineHeight: number;
|
|
171
|
+
letterSpacing: number;
|
|
172
|
+
};
|
|
173
|
+
bodySecondary: {
|
|
174
|
+
fontWeight: string;
|
|
175
|
+
fontSize: number;
|
|
176
|
+
lineHeight: number;
|
|
177
|
+
letterSpacing: number;
|
|
178
|
+
};
|
|
179
|
+
caption: {
|
|
180
|
+
fontWeight: string;
|
|
181
|
+
fontSize: number;
|
|
182
|
+
lineHeight: number;
|
|
183
|
+
letterSpacing: number;
|
|
184
|
+
};
|
|
185
|
+
tiny: {
|
|
186
|
+
fontWeight: string;
|
|
187
|
+
fontSize: number;
|
|
188
|
+
lineHeight: number;
|
|
189
|
+
letterSpacing: number;
|
|
190
|
+
};
|
|
191
|
+
subHeading: {
|
|
192
|
+
fontWeight: string;
|
|
193
|
+
fontSize: number;
|
|
194
|
+
lineHeight: number;
|
|
195
|
+
letterSpacing: number;
|
|
196
|
+
};
|
|
197
|
+
title1: {
|
|
198
|
+
fontWeight: string;
|
|
199
|
+
fontSize: number;
|
|
200
|
+
lineHeight: number;
|
|
201
|
+
letterSpacing: number;
|
|
202
|
+
};
|
|
203
|
+
title1Mobile: {
|
|
204
|
+
fontWeight: string;
|
|
205
|
+
fontSize: number;
|
|
206
|
+
lineHeight: number;
|
|
207
|
+
letterSpacing: number;
|
|
208
|
+
};
|
|
209
|
+
title2: {
|
|
210
|
+
fontWeight: string;
|
|
211
|
+
fontSize: number;
|
|
212
|
+
lineHeight: number;
|
|
213
|
+
letterSpacing: number;
|
|
214
|
+
};
|
|
215
|
+
title2Mobile: {
|
|
216
|
+
fontWeight: string;
|
|
217
|
+
fontSize: number;
|
|
218
|
+
lineHeight: number;
|
|
219
|
+
letterSpacing: number;
|
|
220
|
+
};
|
|
221
|
+
title3: {
|
|
222
|
+
fontWeight: string;
|
|
223
|
+
fontSize: number;
|
|
224
|
+
lineHeight: number;
|
|
225
|
+
letterSpacing: number;
|
|
226
|
+
};
|
|
227
|
+
title3Mobile: {
|
|
228
|
+
fontWeight: string;
|
|
229
|
+
fontSize: number;
|
|
230
|
+
lineHeight: number;
|
|
231
|
+
letterSpacing: number;
|
|
232
|
+
};
|
|
233
|
+
title4: {
|
|
234
|
+
fontWeight: string;
|
|
235
|
+
fontSize: number;
|
|
236
|
+
lineHeight: number;
|
|
237
|
+
letterSpacing: number;
|
|
238
|
+
};
|
|
239
|
+
textPlaceholder: {
|
|
240
|
+
fontWeight: string;
|
|
241
|
+
fontSize: number;
|
|
242
|
+
lineHeight: number;
|
|
243
|
+
letterSpacing: number;
|
|
244
|
+
};
|
|
245
|
+
title4Mobile: {
|
|
246
|
+
fontWeight: string;
|
|
247
|
+
fontSize: number;
|
|
248
|
+
lineHeight: number;
|
|
249
|
+
letterSpacing: number;
|
|
250
|
+
};
|
|
251
|
+
bodyRegularMobile: {
|
|
252
|
+
fontWeight: string;
|
|
253
|
+
fontSize: number;
|
|
254
|
+
lineHeight: number;
|
|
255
|
+
letterSpacing: number;
|
|
256
|
+
};
|
|
257
|
+
bodyRegular: {
|
|
258
|
+
fontWeight: string;
|
|
259
|
+
fontSize: number;
|
|
260
|
+
lineHeight: number;
|
|
261
|
+
letterSpacing: number;
|
|
262
|
+
};
|
|
263
|
+
bodySmall: {
|
|
264
|
+
fontWeight: string;
|
|
265
|
+
fontSize: number;
|
|
266
|
+
lineHeight: number;
|
|
267
|
+
letterSpacing: number;
|
|
268
|
+
};
|
|
269
|
+
buttonLarge: {
|
|
270
|
+
fontWeight: string;
|
|
271
|
+
fontSize: number;
|
|
272
|
+
lineHeight: number;
|
|
273
|
+
letterSpacing: number;
|
|
274
|
+
};
|
|
275
|
+
buttonRegular: {
|
|
276
|
+
fontWeight: string;
|
|
277
|
+
fontSize: number;
|
|
278
|
+
lineHeight: number;
|
|
279
|
+
letterSpacing: number;
|
|
280
|
+
};
|
|
281
|
+
captionMobile: {
|
|
282
|
+
fontWeight: string;
|
|
283
|
+
fontSize: number;
|
|
284
|
+
lineHeight: number;
|
|
285
|
+
letterSpacing: number;
|
|
286
|
+
};
|
|
287
|
+
captionBold: {
|
|
288
|
+
fontWeight: string;
|
|
289
|
+
fontSize: number;
|
|
290
|
+
lineHeight: number;
|
|
291
|
+
letterSpacing: number;
|
|
292
|
+
};
|
|
293
|
+
text1Bold: {
|
|
294
|
+
fontWeight: string;
|
|
295
|
+
fontSize: number;
|
|
296
|
+
lineHeight: number;
|
|
297
|
+
letterSpacing: number;
|
|
298
|
+
};
|
|
299
|
+
toast: {
|
|
300
|
+
fontWeight: string;
|
|
301
|
+
fontSize: number;
|
|
302
|
+
lineHeight: number;
|
|
303
|
+
letterSpacing: number;
|
|
304
|
+
};
|
|
305
|
+
toastMobile: {
|
|
306
|
+
fontWeight: string;
|
|
307
|
+
fontSize: number;
|
|
308
|
+
lineHeight: number;
|
|
309
|
+
letterSpacing: number;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
export declare const DEFAULT_THEME: {
|
|
313
|
+
colorsV2: {
|
|
314
|
+
background: {
|
|
315
|
+
inactive: string;
|
|
316
|
+
base: string;
|
|
317
|
+
inverse: string;
|
|
318
|
+
inverseLight: string;
|
|
319
|
+
brand: string;
|
|
320
|
+
brandLight: string;
|
|
321
|
+
negative: {
|
|
322
|
+
vibrant: string;
|
|
323
|
+
light: string;
|
|
324
|
+
};
|
|
325
|
+
warning: {
|
|
326
|
+
vibrant: string;
|
|
327
|
+
light: string;
|
|
328
|
+
};
|
|
329
|
+
positive: {
|
|
330
|
+
vibrant: string;
|
|
331
|
+
light: string;
|
|
332
|
+
};
|
|
333
|
+
blue: {
|
|
334
|
+
light: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
scrim: {
|
|
338
|
+
standard: string;
|
|
339
|
+
};
|
|
340
|
+
surface: {
|
|
341
|
+
standard: string;
|
|
342
|
+
subdued: string;
|
|
343
|
+
hovered: string;
|
|
344
|
+
};
|
|
345
|
+
content: {
|
|
346
|
+
primary: string;
|
|
347
|
+
secondary: string;
|
|
348
|
+
placeholder: string;
|
|
349
|
+
inactive: string;
|
|
350
|
+
brand: string;
|
|
351
|
+
primaryInverse: string;
|
|
352
|
+
secondaryInverse: string;
|
|
353
|
+
negative: string;
|
|
354
|
+
warning: string;
|
|
355
|
+
positive: string;
|
|
356
|
+
blue: string;
|
|
357
|
+
};
|
|
358
|
+
stroke: {
|
|
359
|
+
primary: string;
|
|
360
|
+
brand: string;
|
|
361
|
+
negative: {
|
|
362
|
+
lightAlt: string;
|
|
363
|
+
vibrant: string;
|
|
364
|
+
};
|
|
365
|
+
warning: {
|
|
366
|
+
lightAlt: string;
|
|
367
|
+
};
|
|
368
|
+
positive: {
|
|
369
|
+
lightAlt: string;
|
|
370
|
+
};
|
|
371
|
+
brandLightAlt: string;
|
|
372
|
+
blue: {
|
|
373
|
+
lightAlt: string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
special: {
|
|
377
|
+
whatsapp: {
|
|
378
|
+
brand: string;
|
|
379
|
+
gradient: string;
|
|
380
|
+
dark: string;
|
|
381
|
+
gradientArr: string[];
|
|
382
|
+
};
|
|
383
|
+
brand: {
|
|
384
|
+
google: string;
|
|
385
|
+
facebook: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
text: {
|
|
389
|
+
primary: string;
|
|
390
|
+
secondary: string;
|
|
391
|
+
placeholder: string;
|
|
392
|
+
disabled: string;
|
|
393
|
+
white: string;
|
|
394
|
+
brand: string;
|
|
395
|
+
altPrimary: string;
|
|
396
|
+
altSecondary: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
fonts: {
|
|
400
|
+
display: {
|
|
401
|
+
fontWeight: string;
|
|
402
|
+
fontSize: number;
|
|
403
|
+
lineHeight: number;
|
|
404
|
+
letterSpacing: number;
|
|
405
|
+
};
|
|
406
|
+
titleXLarge: {
|
|
407
|
+
fontWeight: string;
|
|
408
|
+
fontSize: number;
|
|
409
|
+
lineHeight: number;
|
|
410
|
+
letterSpacing: number;
|
|
411
|
+
};
|
|
412
|
+
titleLarge: {
|
|
413
|
+
fontWeight: string;
|
|
414
|
+
fontSize: number;
|
|
415
|
+
lineHeight: number;
|
|
416
|
+
letterSpacing: number;
|
|
417
|
+
};
|
|
418
|
+
titleMedium: {
|
|
419
|
+
fontWeight: string;
|
|
420
|
+
fontSize: number;
|
|
421
|
+
lineHeight: number;
|
|
422
|
+
letterSpacing: number;
|
|
423
|
+
};
|
|
424
|
+
titleRegular: {
|
|
425
|
+
fontWeight: string;
|
|
426
|
+
fontSize: number;
|
|
427
|
+
lineHeight: number;
|
|
428
|
+
letterSpacing: number;
|
|
429
|
+
};
|
|
430
|
+
titleSmall: {
|
|
431
|
+
fontWeight: string;
|
|
432
|
+
fontSize: number;
|
|
433
|
+
lineHeight: number;
|
|
434
|
+
letterSpacing: number;
|
|
435
|
+
};
|
|
436
|
+
bodyPrimary: {
|
|
437
|
+
fontWeight: string;
|
|
438
|
+
fontSize: number;
|
|
439
|
+
lineHeight: number;
|
|
440
|
+
letterSpacing: number;
|
|
441
|
+
};
|
|
442
|
+
bodyLarge: {
|
|
443
|
+
fontWeight: string;
|
|
444
|
+
fontSize: number;
|
|
445
|
+
lineHeight: number;
|
|
446
|
+
letterSpacing: number;
|
|
447
|
+
};
|
|
448
|
+
bodySecondary: {
|
|
449
|
+
fontWeight: string;
|
|
450
|
+
fontSize: number;
|
|
451
|
+
lineHeight: number;
|
|
452
|
+
letterSpacing: number;
|
|
453
|
+
};
|
|
454
|
+
caption: {
|
|
455
|
+
fontWeight: string;
|
|
456
|
+
fontSize: number;
|
|
457
|
+
lineHeight: number;
|
|
458
|
+
letterSpacing: number;
|
|
459
|
+
};
|
|
460
|
+
tiny: {
|
|
461
|
+
fontWeight: string;
|
|
462
|
+
fontSize: number;
|
|
463
|
+
lineHeight: number;
|
|
464
|
+
letterSpacing: number;
|
|
465
|
+
};
|
|
466
|
+
subHeading: {
|
|
467
|
+
fontWeight: string;
|
|
468
|
+
fontSize: number;
|
|
469
|
+
lineHeight: number;
|
|
470
|
+
letterSpacing: number;
|
|
471
|
+
};
|
|
472
|
+
title1: {
|
|
473
|
+
fontWeight: string;
|
|
474
|
+
fontSize: number;
|
|
475
|
+
lineHeight: number;
|
|
476
|
+
letterSpacing: number;
|
|
477
|
+
};
|
|
478
|
+
title1Mobile: {
|
|
479
|
+
fontWeight: string;
|
|
480
|
+
fontSize: number;
|
|
481
|
+
lineHeight: number;
|
|
482
|
+
letterSpacing: number;
|
|
483
|
+
};
|
|
484
|
+
title2: {
|
|
485
|
+
fontWeight: string;
|
|
486
|
+
fontSize: number;
|
|
487
|
+
lineHeight: number;
|
|
488
|
+
letterSpacing: number;
|
|
489
|
+
};
|
|
490
|
+
title2Mobile: {
|
|
491
|
+
fontWeight: string;
|
|
492
|
+
fontSize: number;
|
|
493
|
+
lineHeight: number;
|
|
494
|
+
letterSpacing: number;
|
|
495
|
+
};
|
|
496
|
+
title3: {
|
|
497
|
+
fontWeight: string;
|
|
498
|
+
fontSize: number;
|
|
499
|
+
lineHeight: number;
|
|
500
|
+
letterSpacing: number;
|
|
501
|
+
};
|
|
502
|
+
title3Mobile: {
|
|
503
|
+
fontWeight: string;
|
|
504
|
+
fontSize: number;
|
|
505
|
+
lineHeight: number;
|
|
506
|
+
letterSpacing: number;
|
|
507
|
+
};
|
|
508
|
+
title4: {
|
|
509
|
+
fontWeight: string;
|
|
510
|
+
fontSize: number;
|
|
511
|
+
lineHeight: number;
|
|
512
|
+
letterSpacing: number;
|
|
513
|
+
};
|
|
514
|
+
textPlaceholder: {
|
|
515
|
+
fontWeight: string;
|
|
516
|
+
fontSize: number;
|
|
517
|
+
lineHeight: number;
|
|
518
|
+
letterSpacing: number;
|
|
519
|
+
};
|
|
520
|
+
title4Mobile: {
|
|
521
|
+
fontWeight: string;
|
|
522
|
+
fontSize: number;
|
|
523
|
+
lineHeight: number;
|
|
524
|
+
letterSpacing: number;
|
|
525
|
+
};
|
|
526
|
+
bodyRegularMobile: {
|
|
527
|
+
fontWeight: string;
|
|
528
|
+
fontSize: number;
|
|
529
|
+
lineHeight: number;
|
|
530
|
+
letterSpacing: number;
|
|
531
|
+
};
|
|
532
|
+
bodyRegular: {
|
|
533
|
+
fontWeight: string;
|
|
534
|
+
fontSize: number;
|
|
535
|
+
lineHeight: number;
|
|
536
|
+
letterSpacing: number;
|
|
537
|
+
};
|
|
538
|
+
bodySmall: {
|
|
539
|
+
fontWeight: string;
|
|
540
|
+
fontSize: number;
|
|
541
|
+
lineHeight: number;
|
|
542
|
+
letterSpacing: number;
|
|
543
|
+
};
|
|
544
|
+
buttonLarge: {
|
|
545
|
+
fontWeight: string;
|
|
546
|
+
fontSize: number;
|
|
547
|
+
lineHeight: number;
|
|
548
|
+
letterSpacing: number;
|
|
549
|
+
};
|
|
550
|
+
buttonRegular: {
|
|
551
|
+
fontWeight: string;
|
|
552
|
+
fontSize: number;
|
|
553
|
+
lineHeight: number;
|
|
554
|
+
letterSpacing: number;
|
|
555
|
+
};
|
|
556
|
+
captionMobile: {
|
|
557
|
+
fontWeight: string;
|
|
558
|
+
fontSize: number;
|
|
559
|
+
lineHeight: number;
|
|
560
|
+
letterSpacing: number;
|
|
561
|
+
};
|
|
562
|
+
captionBold: {
|
|
563
|
+
fontWeight: string;
|
|
564
|
+
fontSize: number;
|
|
565
|
+
lineHeight: number;
|
|
566
|
+
letterSpacing: number;
|
|
567
|
+
};
|
|
568
|
+
text1Bold: {
|
|
569
|
+
fontWeight: string;
|
|
570
|
+
fontSize: number;
|
|
571
|
+
lineHeight: number;
|
|
572
|
+
letterSpacing: number;
|
|
573
|
+
};
|
|
574
|
+
toast: {
|
|
575
|
+
fontWeight: string;
|
|
576
|
+
fontSize: number;
|
|
577
|
+
lineHeight: number;
|
|
578
|
+
letterSpacing: number;
|
|
579
|
+
};
|
|
580
|
+
toastMobile: {
|
|
581
|
+
fontWeight: string;
|
|
582
|
+
fontSize: number;
|
|
583
|
+
lineHeight: number;
|
|
584
|
+
letterSpacing: number;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={brand:{900:"#28034E",800:"#4B1583",500:"#731DCF",50:"#EFE6F9"},grayscale:{900:"#212121",700:"#616161",500:"#9E9E9E",400:"#BDBDBD",200:"#E0E0E0",100:"#F0F0F0",50:"#FAFAFA",white:"#FFFFFF",alpha:"#00000088"},negative:{900:"#B92321",700:"#D53434",100:"#FFCED4",50:"#FFEBEF"},warning:{900:"#99631B",500:"#FEC02D",100:"#FFEABE",50:"#FFF7E5"},positive:{900:"#00580E",700:"#1A872C",100:"#C3E4C4",50:"#E6F4E7"}},t={background:{inactive:e.grayscale[200],base:e.grayscale[100],inverse:e.brand[900],inverseLight:e.brand[800],brand:e.brand[500],brandLight:e.brand[50],negative:{vibrant:e.negative[700],light:e.negative[50]},warning:{vibrant:e.warning[500],light:e.warning[50]},positive:{vibrant:e.positive[700],light:e.positive[50]},blue:{light:"#E5F2FF"}},scrim:{standard:"#00000099"},surface:{standard:e.grayscale.white,subdued:e.grayscale[50],hovered:e.grayscale[100]},content:{primary:e.grayscale[900],secondary:e.grayscale[700],placeholder:e.grayscale[500],inactive:e.grayscale[400],brand:e.brand[500],primaryInverse:e.grayscale.white,secondaryInverse:"#ffffffcc",negative:e.negative[900],warning:e.warning[900],positive:e.positive[900],blue:"#28458F"},stroke:{primary:e.grayscale[200],brand:e.brand[500],negative:{lightAlt:e.negative[100],vibrant:e.negative[700]},warning:{lightAlt:e.warning[100]},positive:{lightAlt:e.positive[100]},brandLightAlt:"#DDCCF0",blue:{lightAlt:"#C3D5E5"}},special:{whatsapp:{brand:"#25D366",gradient:"linear-gradient(360deg, #20B038 0%, #60D66A 100%)",dark:"#455A64",gradientArr:["#20B038","#60D66A"]},brand:{google:"#DD4B39",facebook:"#1877F2"}},text:{primary:e.grayscale[900],secondary:e.grayscale[700],placeholder:e.grayscale[500],disabled:e.grayscale[400],white:e.grayscale.white,brand:e.brand[500],altPrimary:e.brand[900],altSecondary:e.brand[800]}},i={display:{fontWeight:"400",fontSize:32,lineHeight:40,letterSpacing:0},titleXLarge:{fontWeight:"600",fontSize:32,lineHeight:40,letterSpacing:0},titleLarge:{fontWeight:"600",fontSize:28,lineHeight:32,letterSpacing:0},titleMedium:{fontWeight:"600",fontSize:20,lineHeight:28,letterSpacing:0},titleRegular:{fontWeight:"600",fontSize:16,lineHeight:24,letterSpacing:0},titleSmall:{fontWeight:"600",fontSize:14,lineHeight:20,letterSpacing:0},bodyPrimary:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},bodyLarge:{fontWeight:"400",fontSize:20,lineHeight:28,letterSpacing:0},bodySecondary:{fontWeight:"400",fontSize:14,lineHeight:20,letterSpacing:0},caption:{fontWeight:"400",fontSize:12,lineHeight:16,letterSpacing:0},tiny:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0},subHeading:{fontWeight:"600",fontSize:10,lineHeight:12,letterSpacing:0},title1:{fontWeight:"600",fontSize:24,lineHeight:32,letterSpacing:0},title1Mobile:{fontWeight:"600",fontSize:20,lineHeight:30,letterSpacing:0},title2:{fontWeight:"600",fontSize:20,lineHeight:28,letterSpacing:0},title2Mobile:{fontWeight:"600",fontSize:18,lineHeight:24,letterSpacing:0},title3:{fontWeight:"600",fontSize:16,lineHeight:24,letterSpacing:0},title3Mobile:{fontWeight:"500",fontSize:14,lineHeight:20,letterSpacing:0},title4:{fontWeight:"400",fontSize:14,lineHeight:20,letterSpacing:0},textPlaceholder:{fontWeight:"400",fontSize:12,lineHeight:16,letterSpacing:0},title4Mobile:{fontWeight:"400",fontSize:10,lineHeight:16,letterSpacing:0},bodyRegularMobile:{fontWeight:"400",fontSize:14,lineHeight:18,letterSpacing:0},bodyRegular:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},bodySmall:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0},buttonLarge:{fontWeight:"600",fontSize:16,lineHeight:20,letterSpacing:0},buttonRegular:{fontWeight:"600",fontSize:14,lineHeight:20,letterSpacing:0},captionMobile:{fontWeight:"500",fontSize:10,lineHeight:12,letterSpacing:0},captionBold:{fontWeight:"700",fontSize:12,lineHeight:16,letterSpacing:0},text1Bold:{fontWeight:"700",fontSize:10,lineHeight:14,letterSpacing:0},toast:{fontWeight:"400",fontSize:16,lineHeight:24,letterSpacing:0},toastMobile:{fontWeight:"400",fontSize:10,lineHeight:12,letterSpacing:0}},n={colorsV2:t,fonts:i};export{e as BASE_COLORS,t as COLORS,n as DEFAULT_THEME,i as FONTS};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const BLACK = "#000000";
|
|
2
|
+
export declare const WHITE = "#ffffff";
|
|
3
|
+
export declare const PRIMARY: string;
|
|
4
|
+
export declare const SECONDARY = "#4b5563";
|
|
5
|
+
export declare const SUCCESS = "#16a34a";
|
|
6
|
+
export declare const ERROR = "#dc2626";
|
|
7
|
+
export declare const WARN = "#eab308";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './constants/Theme';
|
|
2
|
+
export * from './components/checkBox';
|
|
3
|
+
export * from './components/list-item';
|
|
4
|
+
export * from './components/pagination';
|
|
5
|
+
export * from './components/radioButton';
|
|
6
|
+
export * from './components/toaster';
|
|
7
|
+
export * from './components/tooltips';
|
|
8
|
+
export * from './components/spinner';
|
|
9
|
+
export * from './components/stepper';
|
|
10
|
+
export * from './components/tag';
|
|
11
|
+
export * from './components/pagination';
|
|
12
|
+
export * from './components/icon-button';
|
|
13
|
+
export * from './components/image-compress';
|
|
14
|
+
export * from './components/button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{BASE_COLORS,COLORS,DEFAULT_THEME,FONTS}from"./constants/Theme.js";export{CheckBox}from"./components/checkBox/CheckBox.js";export{ListItem}from"./components/list-item/ListItem.js";export{Pagination}from"./components/pagination/Pagination.js";export{RadioButton}from"./components/radioButton/RadioButton.js";export{Toaster}from"./components/toaster/Toaster.js";export{Tooltip}from"./components/tooltips/Tooltip.js";export{Spinner}from"./components/spinner/Spinner.js";export{Stepper}from"./components/stepper/Stepper.js";export{Tag}from"./components/tag/Tag.js";export{IconButton}from"./components/icon-button/IconButton.js";export{ImageService}from"./components/image-compress/ImageCompress.js";export{Button}from"./components/button/Button.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bikdotai/bik-component-library",
|
|
3
|
-
"version": "0.0.8
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Bik Component Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,15 +48,10 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@babel/runtime": "^7.20.7",
|
|
50
50
|
"@lottiefiles/react-lottie-player": "^3.5.3",
|
|
51
|
-
"@popperjs/core": "^2.11.7",
|
|
52
51
|
"@tippyjs/react": "^4.2.6",
|
|
53
|
-
"bootstrap": "^5.1.3",
|
|
54
52
|
"browser-image-compression": "^2.0.2",
|
|
55
|
-
"react-bootstrap": "^2.4.0",
|
|
56
53
|
"react-lottie": "^1.2.3",
|
|
57
|
-
"react-toastify": "^9.1.2"
|
|
58
|
-
"react-popper": "^2.3.0",
|
|
59
|
-
"react-calendar": "^3.7.0"
|
|
54
|
+
"react-toastify": "^9.1.2"
|
|
60
55
|
},
|
|
61
56
|
"devDependencies": {
|
|
62
57
|
"@babel/core": "^7.20.12",
|
|
@@ -122,7 +117,6 @@
|
|
|
122
117
|
"rollup-plugin-import-css": "^3.2.1",
|
|
123
118
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
124
119
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
125
|
-
"storybook-addon-designs": "^6.3.1",
|
|
126
120
|
"styled-components": "^5.3.3",
|
|
127
121
|
"ts-jest": "^29.0.4",
|
|
128
122
|
"tslib": "^2.4.1",
|