@libs-ui/services-config-project 0.2.5

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 ADDED
@@ -0,0 +1,3 @@
1
+ # config-project
2
+
3
+ This library was generated with [Nx](https://nx.dev).
@@ -0,0 +1,314 @@
1
+ import { IColorButtonTab, ILibsUiConfigButtonStatus, ILibsUiConfigButtonTab, ILibsUiConfigFontHeading } from "./config-project.interface";
2
+ export declare const fontConfig: {
3
+ name: string;
4
+ uri_regular: string;
5
+ uri_medium: string;
6
+ uri_semibold: string;
7
+ uri_bold: string;
8
+ };
9
+ export declare const weights: {
10
+ uri_regular: string;
11
+ uri_medium: string;
12
+ uri_semibold: string;
13
+ uri_bold: string;
14
+ };
15
+ export declare const configHeading: ILibsUiConfigFontHeading;
16
+ export declare const configButtonColor: (rootColorInTheme: string) => {
17
+ "button-primary": {
18
+ configStepColor: {
19
+ text: string;
20
+ text_hover: string;
21
+ text_active: string;
22
+ text_disable: string;
23
+ background: number;
24
+ background_hover: number;
25
+ background_active: number;
26
+ background_disable: string;
27
+ border: number;
28
+ border_hover: number;
29
+ border_active: number;
30
+ border_disable: string;
31
+ };
32
+ rootColor: string;
33
+ };
34
+ "button-primary-revert": {
35
+ configStepColor: {
36
+ text: number;
37
+ text_hover: string;
38
+ text_active: string;
39
+ text_disable: string;
40
+ background: string;
41
+ background_hover: number;
42
+ background_active: number;
43
+ background_disable: string;
44
+ border: number;
45
+ border_hover: number;
46
+ border_active: number;
47
+ border_disable: string;
48
+ };
49
+ rootColor: string;
50
+ };
51
+ "button-secondary": {
52
+ configStepColor: {
53
+ text: number;
54
+ text_hover: number;
55
+ text_active: number;
56
+ text_disable: string;
57
+ background: number;
58
+ background_hover: number;
59
+ background_active: number;
60
+ background_disable: string;
61
+ border: number;
62
+ border_hover: number;
63
+ border_active: number;
64
+ border_disable: string;
65
+ };
66
+ rootColor: string;
67
+ };
68
+ "button-third": {
69
+ configStepColor: {
70
+ text: string;
71
+ text_hover: number;
72
+ text_active: number;
73
+ text_disable: string;
74
+ background: string;
75
+ background_hover: number;
76
+ background_active: number;
77
+ background_disable: string;
78
+ border: string;
79
+ border_hover: number;
80
+ border_active: number;
81
+ border_disable: string;
82
+ };
83
+ rootColor: string;
84
+ };
85
+ "button-secondary-red": {
86
+ configStepColor: {
87
+ text: number;
88
+ text_hover: number;
89
+ text_active: number;
90
+ text_disable: string;
91
+ background: number;
92
+ background_hover: number;
93
+ background_active: number;
94
+ background_disable: string;
95
+ border: number;
96
+ border_hover: number;
97
+ border_active: number;
98
+ border_disable: string;
99
+ };
100
+ rootColor: string;
101
+ };
102
+ "button-outline": {
103
+ configStepColor: {
104
+ text: string;
105
+ text_hover: number;
106
+ text_active: number;
107
+ text_disable: string;
108
+ background: string;
109
+ background_hover: string;
110
+ background_active: string;
111
+ background_disable: string;
112
+ border: string;
113
+ border_hover: number;
114
+ border_active: number;
115
+ border_disable: string;
116
+ };
117
+ rootColor: string;
118
+ };
119
+ "button-danger-high": {
120
+ configStepColor: {
121
+ text: string;
122
+ text_hover: string;
123
+ text_active: string;
124
+ text_disable: string;
125
+ background: number;
126
+ background_hover: number;
127
+ background_active: number;
128
+ background_disable: string;
129
+ border: number;
130
+ border_hover: number;
131
+ border_active: number;
132
+ border_disable: string;
133
+ };
134
+ rootColor: string;
135
+ };
136
+ "button-danger-low": {
137
+ configStepColor: {
138
+ text: string;
139
+ text_hover: string;
140
+ text_active: string;
141
+ text_disable: string;
142
+ background: number;
143
+ background_hover: number;
144
+ background_active: number;
145
+ background_disable: string;
146
+ border: number;
147
+ border_hover: number;
148
+ border_active: number;
149
+ border_disable: string;
150
+ };
151
+ rootColor: string;
152
+ };
153
+ "button-green": {
154
+ configStepColor: {
155
+ text: string;
156
+ text_hover: string;
157
+ text_active: string;
158
+ text_disable: string;
159
+ background: number;
160
+ background_hover: number;
161
+ background_active: number;
162
+ background_disable: string;
163
+ border: number;
164
+ border_hover: number;
165
+ border_active: number;
166
+ border_disable: string;
167
+ };
168
+ rootColor: string;
169
+ };
170
+ "button-violet": {
171
+ configStepColor: {
172
+ text: string;
173
+ text_hover: string;
174
+ text_active: string;
175
+ text_disable: string;
176
+ background: number;
177
+ background_hover: number;
178
+ background_active: number;
179
+ background_disable: string;
180
+ border: number;
181
+ border_hover: number;
182
+ border_active: number;
183
+ border_disable: string;
184
+ };
185
+ rootColor: string;
186
+ };
187
+ "button-outline-green": {
188
+ configStepColor: {
189
+ text: string;
190
+ text_hover: number;
191
+ text_active: number;
192
+ text_disable: string;
193
+ background: string;
194
+ background_hover: string;
195
+ background_active: string;
196
+ background_disable: string;
197
+ border: string;
198
+ border_hover: number;
199
+ border_active: number;
200
+ border_disable: string;
201
+ };
202
+ rootColor: string;
203
+ };
204
+ "button-secondary-green": {
205
+ configStepColor: {
206
+ text: number;
207
+ text_hover: string;
208
+ text_active: string;
209
+ text_disable: string;
210
+ background: number;
211
+ background_hover: number;
212
+ background_active: number;
213
+ background_disable: string;
214
+ border: number;
215
+ border_hover: number;
216
+ border_active: number;
217
+ border_disable: string;
218
+ };
219
+ rootColor: string;
220
+ };
221
+ "button-outline-secondary": {
222
+ configStepColor: {
223
+ text: number;
224
+ text_hover: string;
225
+ text_active: string;
226
+ text_disable: string;
227
+ background: number;
228
+ background_hover: number;
229
+ background_active: number;
230
+ background_disable: string;
231
+ border: number;
232
+ border_hover: number;
233
+ border_active: number;
234
+ border_disable: string;
235
+ };
236
+ rootColor: string;
237
+ };
238
+ "button-outline-hover-danger": {
239
+ configStepColor: {
240
+ text: string;
241
+ text_hover: number;
242
+ text_active: number;
243
+ text_disable: string;
244
+ background: string;
245
+ background_hover: string;
246
+ background_active: string;
247
+ background_disable: string;
248
+ border: string;
249
+ border_hover: number;
250
+ border_active: number;
251
+ border_disable: string;
252
+ };
253
+ rootColor: string;
254
+ };
255
+ };
256
+ export declare const configLinkButton: (rootColorInTheme: string) => {
257
+ "button-link-primary": {
258
+ configStepColor: {
259
+ text: number;
260
+ text_hover: number;
261
+ text_active: number;
262
+ text_disable: string;
263
+ };
264
+ rootColor: string;
265
+ };
266
+ "button-link-third": {
267
+ configStepColor: {
268
+ text: string;
269
+ text_hover: number;
270
+ text_active: number;
271
+ text_disable: string;
272
+ };
273
+ rootColor: string;
274
+ };
275
+ "button-link-danger-high": {
276
+ configStepColor: {
277
+ text: number;
278
+ text_hover: number;
279
+ text_active: number;
280
+ text_disable: string;
281
+ };
282
+ rootColor: string;
283
+ };
284
+ "button-link-danger-low": {
285
+ configStepColor: {
286
+ text: number;
287
+ text_hover: number;
288
+ text_active: number;
289
+ text_disable: string;
290
+ };
291
+ rootColor: string;
292
+ };
293
+ "button-link-green": {
294
+ configStepColor: {
295
+ text: number;
296
+ text_hover: number;
297
+ text_active: number;
298
+ text_disable: string;
299
+ };
300
+ rootColor: string;
301
+ };
302
+ "button-link-violet": {
303
+ configStepColor: {
304
+ text: number;
305
+ text_hover: number;
306
+ text_active: number;
307
+ text_disable: string;
308
+ };
309
+ rootColor: string;
310
+ };
311
+ };
312
+ export declare const configButtonStatus: () => ILibsUiConfigButtonStatus;
313
+ export declare const configButtonTab: () => ILibsUiConfigButtonTab;
314
+ export declare const styleButtonTab: (type: string, config: IColorButtonTab) => string;
@@ -0,0 +1,57 @@
1
+ export interface ILibsUiConfigFontFamily {
2
+ name: string;
3
+ uri_regular: string;
4
+ uri_medium: string;
5
+ uri_semibold: string;
6
+ uri_bold: string;
7
+ }
8
+ export interface ILibsUiConfigFontHeading {
9
+ h1r: ILibsUiConfigFontHeadingStyle;
10
+ h1m: ILibsUiConfigFontHeadingStyle;
11
+ h1s: ILibsUiConfigFontHeadingStyle;
12
+ h1b: ILibsUiConfigFontHeadingStyle;
13
+ h2r: ILibsUiConfigFontHeadingStyle;
14
+ h2m: ILibsUiConfigFontHeadingStyle;
15
+ h2s: ILibsUiConfigFontHeadingStyle;
16
+ h2b: ILibsUiConfigFontHeadingStyle;
17
+ h3r: ILibsUiConfigFontHeadingStyle;
18
+ h3m: ILibsUiConfigFontHeadingStyle;
19
+ h3s: ILibsUiConfigFontHeadingStyle;
20
+ h3b: ILibsUiConfigFontHeadingStyle;
21
+ h4r: ILibsUiConfigFontHeadingStyle;
22
+ h4m: ILibsUiConfigFontHeadingStyle;
23
+ h4s: ILibsUiConfigFontHeadingStyle;
24
+ h4b: ILibsUiConfigFontHeadingStyle;
25
+ h5r: ILibsUiConfigFontHeadingStyle;
26
+ h5m: ILibsUiConfigFontHeadingStyle;
27
+ h5s: ILibsUiConfigFontHeadingStyle;
28
+ h5b: ILibsUiConfigFontHeadingStyle;
29
+ h6r: ILibsUiConfigFontHeadingStyle;
30
+ h6m: ILibsUiConfigFontHeadingStyle;
31
+ h6s: ILibsUiConfigFontHeadingStyle;
32
+ h6b: ILibsUiConfigFontHeadingStyle;
33
+ h7r: ILibsUiConfigFontHeadingStyle;
34
+ h7m: ILibsUiConfigFontHeadingStyle;
35
+ h7s: ILibsUiConfigFontHeadingStyle;
36
+ h7b: ILibsUiConfigFontHeadingStyle;
37
+ }
38
+ export interface ILibsUiConfigFontHeadingStyle {
39
+ 'font-size': string;
40
+ 'font-weight': string;
41
+ 'line-height': string;
42
+ 'letter-spacing': string;
43
+ }
44
+ export interface ILibsUiConfigButtonStatus {
45
+ [key: string]: {
46
+ color: string;
47
+ background?: string;
48
+ };
49
+ }
50
+ export interface ILibsUiConfigButtonTab {
51
+ [key: string]: IColorButtonTab;
52
+ }
53
+ export interface IColorButtonTab {
54
+ color: string;
55
+ background?: string;
56
+ background_badge?: string;
57
+ }