@grupalia/rn-ui-kit 0.0.4 → 0.0.41
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/lib/commonjs/components/BaseBadge.js +127 -0
- package/lib/commonjs/components/BaseBadge.js.map +1 -0
- package/lib/commonjs/components/BaseButton.js +39 -91
- package/lib/commonjs/components/BaseButton.js.map +1 -1
- package/lib/commonjs/components/index.js +7 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/styles/background-colors.js +27 -19
- package/lib/commonjs/styles/background-colors.js.map +1 -1
- package/lib/commonjs/styles/border-colors.js +9 -1
- package/lib/commonjs/styles/border-colors.js.map +1 -1
- package/lib/commonjs/styles/colors.js +42 -0
- package/lib/commonjs/styles/colors.js.map +1 -1
- package/lib/commonjs/styles/text-colors.js +32 -8
- package/lib/commonjs/styles/text-colors.js.map +1 -1
- package/lib/commonjs/styles/utility-colors.js +507 -0
- package/lib/commonjs/styles/utility-colors.js.map +1 -0
- package/lib/commonjs/types/heroicons.js +6 -0
- package/lib/commonjs/types/heroicons.js.map +1 -0
- package/lib/module/components/BaseBadge.js +122 -0
- package/lib/module/components/BaseBadge.js.map +1 -0
- package/lib/module/components/BaseButton.js +40 -92
- package/lib/module/components/BaseButton.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/styles/background-colors.js +27 -19
- package/lib/module/styles/background-colors.js.map +1 -1
- package/lib/module/styles/border-colors.js +9 -1
- package/lib/module/styles/border-colors.js.map +1 -1
- package/lib/module/styles/colors.js +42 -0
- package/lib/module/styles/colors.js.map +1 -1
- package/lib/module/styles/text-colors.js +32 -8
- package/lib/module/styles/text-colors.js.map +1 -1
- package/lib/module/styles/utility-colors.js +502 -0
- package/lib/module/styles/utility-colors.js.map +1 -0
- package/lib/module/types/heroicons.js +4 -0
- package/lib/module/types/heroicons.js.map +1 -0
- package/lib/typescript/commonjs/components/BaseBadge.d.ts +16 -0
- package/lib/typescript/commonjs/components/BaseBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/BaseButton.d.ts +6 -4
- package/lib/typescript/commonjs/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +1 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/background-colors.d.ts +8 -126
- package/lib/typescript/commonjs/styles/background-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/border-colors.d.ts +8 -42
- package/lib/typescript/commonjs/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/colors.d.ts +42 -0
- package/lib/typescript/commonjs/styles/colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/text-colors.d.ts +8 -90
- package/lib/typescript/commonjs/styles/text-colors.d.ts.map +1 -1
- package/lib/typescript/commonjs/styles/utility-colors.d.ts +500 -0
- package/lib/typescript/commonjs/styles/utility-colors.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/heroicons.d.ts +9 -0
- package/lib/typescript/commonjs/types/heroicons.d.ts.map +1 -0
- package/lib/typescript/module/components/BaseBadge.d.ts +16 -0
- package/lib/typescript/module/components/BaseBadge.d.ts.map +1 -0
- package/lib/typescript/module/components/BaseButton.d.ts +6 -4
- package/lib/typescript/module/components/BaseButton.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +1 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/styles/background-colors.d.ts +8 -126
- package/lib/typescript/module/styles/background-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/border-colors.d.ts +8 -42
- package/lib/typescript/module/styles/border-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/colors.d.ts +42 -0
- package/lib/typescript/module/styles/colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/text-colors.d.ts +8 -90
- package/lib/typescript/module/styles/text-colors.d.ts.map +1 -1
- package/lib/typescript/module/styles/utility-colors.d.ts +500 -0
- package/lib/typescript/module/styles/utility-colors.d.ts.map +1 -0
- package/lib/typescript/module/types/heroicons.d.ts +9 -0
- package/lib/typescript/module/types/heroicons.d.ts.map +1 -0
- package/package.json +6 -3
- package/src/styles/background-colors.ts +38 -19
- package/src/styles/border-colors.ts +20 -1
- package/src/styles/colors.ts +42 -0
- package/src/styles/text-colors.ts +43 -8
- package/src/styles/utility-colors.ts +500 -0
|
@@ -1,128 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
dark: string;
|
|
5
|
-
};
|
|
6
|
-
'bg-primary_alt': {
|
|
7
|
-
light: string;
|
|
8
|
-
dark: string;
|
|
9
|
-
};
|
|
10
|
-
'bg-primary_hover': {
|
|
11
|
-
light: string;
|
|
12
|
-
dark: string;
|
|
13
|
-
};
|
|
14
|
-
'bg-primary_solid': {
|
|
15
|
-
light: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
};
|
|
18
|
-
'bg-secondary': {
|
|
19
|
-
light: string;
|
|
20
|
-
dark: string;
|
|
21
|
-
};
|
|
22
|
-
'bg-secondary_alt': {
|
|
23
|
-
light: string;
|
|
24
|
-
dark: string;
|
|
25
|
-
};
|
|
26
|
-
'bg-secondary_hover': {
|
|
27
|
-
light: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
};
|
|
30
|
-
'bg-secondary_subtle': {
|
|
31
|
-
light: string;
|
|
32
|
-
dark: string;
|
|
33
|
-
};
|
|
34
|
-
'bg-secondary_solid': {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
'bg-tertiary': {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
42
|
-
'bg-quaternary': {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
'bg-active': {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
'bg-disabled': {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
'bg-disabled_subtle': {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
'bg-overlay': {
|
|
59
|
-
light: string;
|
|
60
|
-
dark: string;
|
|
61
|
-
};
|
|
62
|
-
'bg-brand_primary': {
|
|
63
|
-
light: string;
|
|
64
|
-
dark: string;
|
|
65
|
-
};
|
|
66
|
-
'bg-brand_primary_alt': {
|
|
67
|
-
light: string;
|
|
68
|
-
dark: string;
|
|
69
|
-
};
|
|
70
|
-
'bg-brand_secondary': {
|
|
71
|
-
light: string;
|
|
72
|
-
dark: string;
|
|
73
|
-
};
|
|
74
|
-
'bg-brand_solid': {
|
|
75
|
-
light: string;
|
|
76
|
-
dark: string;
|
|
77
|
-
};
|
|
78
|
-
'bg-brand_solid_hover': {
|
|
79
|
-
light: string;
|
|
80
|
-
dark: string;
|
|
81
|
-
};
|
|
82
|
-
'bg-brand_section': {
|
|
83
|
-
light: string;
|
|
84
|
-
dark: string;
|
|
85
|
-
};
|
|
86
|
-
'bg-brand_section_subtle': {
|
|
87
|
-
light: string;
|
|
88
|
-
dark: string;
|
|
89
|
-
};
|
|
90
|
-
'bg-error_primary': {
|
|
91
|
-
light: string;
|
|
92
|
-
dark: string;
|
|
93
|
-
};
|
|
94
|
-
'bg-error_secondary': {
|
|
95
|
-
light: string;
|
|
96
|
-
dark: string;
|
|
97
|
-
};
|
|
98
|
-
'bg-error_solid': {
|
|
99
|
-
light: string;
|
|
100
|
-
dark: string;
|
|
101
|
-
};
|
|
102
|
-
'bg-warning_primary': {
|
|
103
|
-
light: string;
|
|
104
|
-
dark: string;
|
|
105
|
-
};
|
|
106
|
-
'bg-warning_secondary': {
|
|
107
|
-
light: string;
|
|
108
|
-
dark: string;
|
|
109
|
-
};
|
|
110
|
-
'bg-warning_solid': {
|
|
111
|
-
light: string;
|
|
112
|
-
dark: string;
|
|
113
|
-
};
|
|
114
|
-
'bg-success_primary': {
|
|
115
|
-
light: string;
|
|
116
|
-
dark: string;
|
|
117
|
-
};
|
|
118
|
-
'bg-success_secondary': {
|
|
119
|
-
light: string;
|
|
120
|
-
dark: string;
|
|
121
|
-
};
|
|
122
|
-
'bg-success_solid': {
|
|
123
|
-
light: string;
|
|
124
|
-
dark: string;
|
|
125
|
-
};
|
|
1
|
+
type ColorObject = {
|
|
2
|
+
light: string;
|
|
3
|
+
dark: string;
|
|
126
4
|
};
|
|
127
|
-
|
|
5
|
+
type BackgroundColorsType = {
|
|
6
|
+
[key: string]: ColorObject;
|
|
7
|
+
};
|
|
8
|
+
declare const backgroundColors: BackgroundColorsType;
|
|
9
|
+
export default backgroundColors;
|
|
128
10
|
//# sourceMappingURL=background-colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/background-colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"background-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/background-colors.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,oBA6HvB,CAAC;AASF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,44 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
dark: string;
|
|
5
|
-
};
|
|
6
|
-
'border-secondary': {
|
|
7
|
-
light: string;
|
|
8
|
-
dark: string;
|
|
9
|
-
};
|
|
10
|
-
'border-secondary_alt': {
|
|
11
|
-
light: string;
|
|
12
|
-
dark: string;
|
|
13
|
-
};
|
|
14
|
-
'border-tertiary': {
|
|
15
|
-
light: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
};
|
|
18
|
-
'border-disabled': {
|
|
19
|
-
light: string;
|
|
20
|
-
dark: string;
|
|
21
|
-
};
|
|
22
|
-
'border-disabled_subtle': {
|
|
23
|
-
light: string;
|
|
24
|
-
dark: string;
|
|
25
|
-
};
|
|
26
|
-
'border-brand': {
|
|
27
|
-
light: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
};
|
|
30
|
-
'border-brand_alt': {
|
|
31
|
-
light: string;
|
|
32
|
-
dark: string;
|
|
33
|
-
};
|
|
34
|
-
'border-error': {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
'border-error_subtle': {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
1
|
+
type ColorObject = {
|
|
2
|
+
light: string;
|
|
3
|
+
dark?: string;
|
|
42
4
|
};
|
|
43
|
-
|
|
5
|
+
type BorderColorsType = {
|
|
6
|
+
[key: string]: ColorObject;
|
|
7
|
+
};
|
|
8
|
+
declare const borderColors: BorderColorsType;
|
|
9
|
+
export default borderColors;
|
|
44
10
|
//# sourceMappingURL=border-colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"border-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/border-colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"border-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/border-colors.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,gBAyCnB,CAAC;AASF,eAAe,YAAY,CAAC"}
|
|
@@ -380,6 +380,48 @@ declare const _default: {
|
|
|
380
380
|
900: string;
|
|
381
381
|
950: string;
|
|
382
382
|
};
|
|
383
|
+
orange_dark: {
|
|
384
|
+
25: string;
|
|
385
|
+
50: string;
|
|
386
|
+
100: string;
|
|
387
|
+
200: string;
|
|
388
|
+
300: string;
|
|
389
|
+
400: string;
|
|
390
|
+
500: string;
|
|
391
|
+
600: string;
|
|
392
|
+
700: string;
|
|
393
|
+
800: string;
|
|
394
|
+
900: string;
|
|
395
|
+
950: string;
|
|
396
|
+
};
|
|
397
|
+
orange: {
|
|
398
|
+
25: string;
|
|
399
|
+
50: string;
|
|
400
|
+
100: string;
|
|
401
|
+
200: string;
|
|
402
|
+
300: string;
|
|
403
|
+
400: string;
|
|
404
|
+
500: string;
|
|
405
|
+
600: string;
|
|
406
|
+
700: string;
|
|
407
|
+
800: string;
|
|
408
|
+
900: string;
|
|
409
|
+
950: string;
|
|
410
|
+
};
|
|
411
|
+
yellow: {
|
|
412
|
+
25: string;
|
|
413
|
+
50: string;
|
|
414
|
+
100: string;
|
|
415
|
+
200: string;
|
|
416
|
+
300: string;
|
|
417
|
+
400: string;
|
|
418
|
+
500: string;
|
|
419
|
+
600: string;
|
|
420
|
+
700: string;
|
|
421
|
+
800: string;
|
|
422
|
+
900: string;
|
|
423
|
+
950: string;
|
|
424
|
+
};
|
|
383
425
|
};
|
|
384
426
|
export default _default;
|
|
385
427
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/colors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwaE"}
|
|
@@ -1,92 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
dark: string;
|
|
5
|
-
};
|
|
6
|
-
'text-primary_on-brand': {
|
|
7
|
-
light: string;
|
|
8
|
-
dark: string;
|
|
9
|
-
};
|
|
10
|
-
'text-secondary': {
|
|
11
|
-
light: string;
|
|
12
|
-
dark: string;
|
|
13
|
-
};
|
|
14
|
-
'text-secondary_hover': {
|
|
15
|
-
light: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
};
|
|
18
|
-
'text-secondary_on-brand': {
|
|
19
|
-
light: string;
|
|
20
|
-
dark: string;
|
|
21
|
-
};
|
|
22
|
-
'text-tertiary': {
|
|
23
|
-
light: string;
|
|
24
|
-
dark: string;
|
|
25
|
-
};
|
|
26
|
-
'text-tertiary_hover': {
|
|
27
|
-
light: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
};
|
|
30
|
-
'text-tertiary_on-brand': {
|
|
31
|
-
light: string;
|
|
32
|
-
dark: string;
|
|
33
|
-
};
|
|
34
|
-
'text-quaternary': {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
'text-quaternary_on-brand': {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
42
|
-
'text-white': {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
'text-disabled': {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
'text-placeholder': {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
'text-placeholder_subtle': {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
'text-brand-primary': {
|
|
59
|
-
light: string;
|
|
60
|
-
dark: string;
|
|
61
|
-
};
|
|
62
|
-
'text-brand-secondary': {
|
|
63
|
-
light: string;
|
|
64
|
-
dark: string;
|
|
65
|
-
};
|
|
66
|
-
'text-brand-secondary_hover': {
|
|
67
|
-
light: string;
|
|
68
|
-
dark: string;
|
|
69
|
-
};
|
|
70
|
-
'text-brand-tertiary': {
|
|
71
|
-
light: string;
|
|
72
|
-
dark: string;
|
|
73
|
-
};
|
|
74
|
-
'text-brand-tertiary_alt': {
|
|
75
|
-
light: string;
|
|
76
|
-
dark: string;
|
|
77
|
-
};
|
|
78
|
-
'text-error-primary': {
|
|
79
|
-
light: string;
|
|
80
|
-
dark: string;
|
|
81
|
-
};
|
|
82
|
-
'text-warning-primary': {
|
|
83
|
-
light: string;
|
|
84
|
-
dark: string;
|
|
85
|
-
};
|
|
86
|
-
'text-success-primary': {
|
|
87
|
-
light: string;
|
|
88
|
-
dark: string;
|
|
89
|
-
};
|
|
1
|
+
type ColorObject = {
|
|
2
|
+
light: string;
|
|
3
|
+
dark?: string;
|
|
90
4
|
};
|
|
91
|
-
|
|
5
|
+
type TextColorsType = {
|
|
6
|
+
[key: string]: ColorObject;
|
|
7
|
+
};
|
|
8
|
+
declare const textColors: TextColorsType;
|
|
9
|
+
export default textColors;
|
|
92
10
|
//# sourceMappingURL=text-colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/text-colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-colors.d.ts","sourceRoot":"","sources":["../../../../src/styles/text-colors.ts"],"names":[],"mappings":"AAGA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,cAyGjB,CAAC;AASF,eAAe,UAAU,CAAC"}
|