colibri-ui 0.7.34 → 0.7.36
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/Badge/Badge.module.scss.js +13 -0
- package/Badge/Control/Control.module.scss.js +13 -0
- package/Badge/Control/index.js +11 -7
- package/Badge/index.js +26 -20
- package/Button/Button.module.scss.js +13 -0
- package/Button/index.js +27 -23
- package/Button/index.props.d.ts +3 -34
- package/Checkbox/Checkbox.module.scss.js +13 -0
- package/Checkbox/index.js +38 -34
- package/Checkbox/index.props.d.ts +1 -19
- package/Counter/Counter.module.scss.js +13 -0
- package/Counter/index.d.ts +2 -2
- package/Counter/index.js +40 -33
- package/Counter/index.props.d.ts +1 -1
- package/DotsLoader/DotsLoader.module.scss.js +13 -0
- package/DotsLoader/index.js +44 -17
- package/Dropdown/Dropdown.module.scss.js +13 -0
- package/Dropdown/index.d.ts +2 -2
- package/Dropdown/index.js +28 -31
- package/Dropdown/index.props.d.ts +2 -2
- package/Grid/Grid.module.scss.js +13 -0
- package/Grid/Item/Grid-Item.module.scss.js +13 -0
- package/Grid/Item/index.js +15 -10
- package/Grid/index.js +18 -11
- package/Icons/Cart.d.ts +2 -2
- package/Icons/Cart.js +7 -6
- package/Icons/Chevron.d.ts +2 -2
- package/Icons/Chevron.js +11 -9
- package/Icons/Close.d.ts +2 -2
- package/Icons/Close.js +13 -11
- package/Icons/EyeClosed.d.ts +2 -2
- package/Icons/EyeClosed.js +8 -6
- package/Icons/EyeOpen.d.ts +2 -2
- package/Icons/EyeOpen.js +15 -13
- package/Icons/Help.d.ts +2 -2
- package/Icons/Help.js +11 -9
- package/Icons/Info.d.ts +2 -2
- package/Icons/Info.js +9 -7
- package/Icons/Minus.d.ts +2 -2
- package/Icons/Minus.js +9 -8
- package/Icons/More.d.ts +2 -2
- package/Icons/More.js +18 -16
- package/Icons/Plus.d.ts +2 -2
- package/Icons/Plus.js +14 -13
- package/Icons/Trash.d.ts +2 -2
- package/Icons/Trash.js +11 -9
- package/Icons/User.d.ts +2 -2
- package/Icons/User.js +16 -14
- package/Image/Image.module.scss.js +13 -0
- package/Image/index.d.ts +2 -2
- package/Image/index.js +27 -22
- package/Input/index.d.ts +2 -2
- package/Input/index.js +21 -23
- package/Input/index.props.d.ts +3 -3
- package/Menu/Menu.module.scss.js +13 -0
- package/Menu/components/MenuItem/MenuItem.module.scss.js +13 -0
- package/Menu/components/MenuItem/index.js +24 -14
- package/Menu/components/MenuItem/index.props.d.ts +1 -14
- package/Menu/index.js +10 -6
- package/Menu/index.props.d.ts +3 -21
- package/Modal/Modal.module.scss.js +13 -0
- package/Modal/components/Close/Close.module.scss.js +13 -0
- package/Modal/components/Close/index.js +12 -3
- package/Modal/components/Content/Content.module.scss.js +13 -0
- package/Modal/components/Content/index.js +11 -5
- package/Modal/components/Title/Title.module.scss.js +13 -0
- package/Modal/components/Title/index.d.ts +0 -2
- package/Modal/components/Title/index.js +15 -12
- package/Modal/index.js +40 -33
- package/Select/Select.module.scss.js +13 -0
- package/Select/index.d.ts +2 -1
- package/Select/index.js +55 -45
- package/Separator/Separator.module.scss.js +13 -0
- package/Separator/index.d.ts +6 -0
- package/Separator/index.js +21 -0
- package/Separator/package.json +6 -0
- package/Skeleton/Skeleton.module.scss.js +13 -0
- package/Skeleton/index.js +12 -6
- package/Switch/Switch.module.scss.js +13 -0
- package/Switch/index.d.ts +2 -2
- package/Switch/index.js +28 -12
- package/Switch/index.props.d.ts +2 -15
- package/Theme/index.d.ts +83 -234
- package/Theme/index.js +2 -15
- package/Theme/themes/buenos_aires.d.ts +9 -185
- package/Theme/themes/buenos_aires.js +9 -228
- package/Theme/themes/default.d.ts +79 -184
- package/Theme/themes/default.js +80 -226
- package/Typography/Typography.module.scss.js +13 -0
- package/Typography/index.d.ts +2 -2
- package/Typography/index.js +18 -27
- package/Typography/index.props.d.ts +3 -12
- package/base/BaseInput/BaseInput.module.scss.js +13 -0
- package/base/BaseInput/index.d.ts +4 -0
- package/base/BaseInput/index.js +30 -0
- package/base/BaseInput/index.props.d.ts +4 -0
- package/base/FormField/FormField.module.scss.js +13 -0
- package/base/FormField/index.d.ts +2 -2
- package/base/FormField/index.js +16 -14
- package/base/InputRoot/InputRoot.module.scss.js +13 -0
- package/base/InputRoot/index.d.ts +2 -2
- package/base/InputRoot/index.js +20 -16
- package/base/InputRoot/index.props.d.ts +5 -33
- package/esm/Badge/Badge.module.scss.js +8 -0
- package/esm/Badge/Control/Control.module.scss.js +8 -0
- package/esm/Badge/Control/index.js +6 -7
- package/esm/Badge/index.js +21 -20
- package/esm/Button/Button.module.scss.js +8 -0
- package/esm/Button/index.js +23 -24
- package/esm/Button/index.props.d.ts +3 -34
- package/esm/Checkbox/Checkbox.module.scss.js +8 -0
- package/esm/Checkbox/index.js +33 -34
- package/esm/Checkbox/index.props.d.ts +1 -19
- package/esm/Counter/Counter.module.scss.js +8 -0
- package/esm/Counter/index.d.ts +2 -2
- package/esm/Counter/index.js +36 -34
- package/esm/Counter/index.props.d.ts +1 -1
- package/esm/DotsLoader/DotsLoader.module.scss.js +8 -0
- package/esm/DotsLoader/index.js +39 -17
- package/esm/Dropdown/Dropdown.module.scss.js +8 -0
- package/esm/Dropdown/index.d.ts +2 -2
- package/esm/Dropdown/index.js +23 -31
- package/esm/Dropdown/index.props.d.ts +2 -2
- package/esm/Grid/Grid.module.scss.js +8 -0
- package/esm/Grid/Item/Grid-Item.module.scss.js +8 -0
- package/esm/Grid/Item/index.js +10 -10
- package/esm/Grid/index.js +13 -11
- package/esm/Icons/Cart.d.ts +2 -2
- package/esm/Icons/Cart.js +4 -7
- package/esm/Icons/Chevron.d.ts +2 -2
- package/esm/Icons/Chevron.js +8 -10
- package/esm/Icons/Close.d.ts +2 -2
- package/esm/Icons/Close.js +10 -12
- package/esm/Icons/EyeClosed.d.ts +2 -2
- package/esm/Icons/EyeClosed.js +5 -7
- package/esm/Icons/EyeOpen.d.ts +2 -2
- package/esm/Icons/EyeOpen.js +12 -14
- package/esm/Icons/Help.d.ts +2 -2
- package/esm/Icons/Help.js +8 -10
- package/esm/Icons/Info.d.ts +2 -2
- package/esm/Icons/Info.js +6 -8
- package/esm/Icons/Minus.d.ts +2 -2
- package/esm/Icons/Minus.js +6 -9
- package/esm/Icons/More.d.ts +2 -2
- package/esm/Icons/More.js +15 -17
- package/esm/Icons/Plus.d.ts +2 -2
- package/esm/Icons/Plus.js +11 -14
- package/esm/Icons/Trash.d.ts +2 -2
- package/esm/Icons/Trash.js +8 -10
- package/esm/Icons/User.d.ts +2 -2
- package/esm/Icons/User.js +13 -15
- package/esm/Image/Image.module.scss.js +8 -0
- package/esm/Image/index.d.ts +2 -2
- package/esm/Image/index.js +23 -23
- package/esm/Input/index.d.ts +2 -2
- package/esm/Input/index.js +18 -25
- package/esm/Input/index.props.d.ts +3 -3
- package/esm/Menu/Menu.module.scss.js +8 -0
- package/esm/Menu/components/MenuItem/MenuItem.module.scss.js +8 -0
- package/esm/Menu/components/MenuItem/index.js +19 -14
- package/esm/Menu/components/MenuItem/index.props.d.ts +1 -14
- package/esm/Menu/index.js +6 -7
- package/esm/Menu/index.props.d.ts +3 -21
- package/esm/Modal/Modal.module.scss.js +8 -0
- package/esm/Modal/components/Close/Close.module.scss.js +8 -0
- package/esm/Modal/components/Close/index.js +7 -3
- package/esm/Modal/components/Content/Content.module.scss.js +8 -0
- package/esm/Modal/components/Content/index.js +6 -5
- package/esm/Modal/components/Title/Title.module.scss.js +8 -0
- package/esm/Modal/components/Title/index.d.ts +0 -2
- package/esm/Modal/components/Title/index.js +10 -12
- package/esm/Modal/index.js +28 -26
- package/esm/Select/Select.module.scss.js +8 -0
- package/esm/Select/index.d.ts +2 -1
- package/esm/Select/index.js +49 -44
- package/esm/Separator/Separator.module.scss.js +8 -0
- package/esm/Separator/index.d.ts +6 -0
- package/esm/Separator/index.js +12 -0
- package/esm/Skeleton/Skeleton.module.scss.js +8 -0
- package/esm/Skeleton/index.js +7 -6
- package/esm/Switch/Switch.module.scss.js +8 -0
- package/esm/Switch/index.d.ts +2 -2
- package/esm/Switch/index.js +25 -14
- package/esm/Switch/index.props.d.ts +2 -15
- package/esm/Theme/index.d.ts +83 -234
- package/esm/Theme/index.js +3 -15
- package/esm/Theme/themes/buenos_aires.d.ts +9 -185
- package/esm/Theme/themes/buenos_aires.js +7 -222
- package/esm/Theme/themes/default.d.ts +79 -184
- package/esm/Theme/themes/default.js +78 -220
- package/esm/Typography/Typography.module.scss.js +8 -0
- package/esm/Typography/index.d.ts +2 -2
- package/esm/Typography/index.js +15 -29
- package/esm/Typography/index.props.d.ts +3 -12
- package/esm/base/BaseInput/BaseInput.module.scss.js +8 -0
- package/esm/base/BaseInput/index.d.ts +4 -0
- package/esm/base/BaseInput/index.js +21 -0
- package/esm/base/BaseInput/index.props.d.ts +4 -0
- package/esm/base/FormField/FormField.module.scss.js +8 -0
- package/esm/base/FormField/index.d.ts +2 -2
- package/esm/base/FormField/index.js +12 -15
- package/esm/base/InputRoot/InputRoot.module.scss.js +8 -0
- package/esm/base/InputRoot/index.d.ts +2 -2
- package/esm/base/InputRoot/index.js +16 -17
- package/esm/base/InputRoot/index.props.d.ts +5 -33
- package/esm/hooks/useMediaSizes/index.d.ts +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/esm/node_modules/style-inject/dist/style-inject.es.js +26 -0
- package/hooks/useMediaSizes/index.d.ts +1 -1
- package/index.d.ts +2 -1
- package/index.js +13 -12
- package/package.json +3 -51
- package/Badge/Control/styles.d.ts +0 -5
- package/Badge/Control/styles.js +0 -18
- package/Badge/styles.d.ts +0 -8
- package/Badge/styles.js +0 -31
- package/Button/styles.d.ts +0 -16
- package/Button/styles.js +0 -61
- package/Checkbox/styles.d.ts +0 -32
- package/Checkbox/styles.js +0 -75
- package/Counter/styles.d.ts +0 -17
- package/Counter/styles.js +0 -42
- package/DotsLoader/styles.d.ts +0 -15
- package/DotsLoader/styles.js +0 -41
- package/Dropdown/styles.d.ts +0 -9
- package/Dropdown/styles.js +0 -29
- package/Grid/Item/styles.d.ts +0 -7
- package/Grid/Item/styles.js +0 -21
- package/Grid/styles.d.ts +0 -13
- package/Grid/styles.js +0 -34
- package/Image/styles.d.ts +0 -5
- package/Image/styles.js +0 -18
- package/Menu/components/MenuItem/styles.d.ts +0 -10
- package/Menu/components/MenuItem/styles.js +0 -31
- package/Menu/styles.d.ts +0 -5
- package/Menu/styles.js +0 -24
- package/Modal/components/Close/styles.d.ts +0 -4
- package/Modal/components/Close/styles.js +0 -20
- package/Modal/components/Content/styles.d.ts +0 -5
- package/Modal/components/Content/styles.js +0 -18
- package/Modal/components/Title/styles.d.ts +0 -8
- package/Modal/components/Title/styles.js +0 -27
- package/Modal/styles.d.ts +0 -21
- package/Modal/styles.js +0 -61
- package/Select/styles.d.ts +0 -20
- package/Select/styles.js +0 -57
- package/Skeleton/styles.d.ts +0 -9
- package/Skeleton/styles.js +0 -31
- package/Switch/styles.d.ts +0 -19
- package/Switch/styles.js +0 -58
- package/Theme/global.d.ts +0 -2
- package/Theme/global.js +0 -14
- package/Theme/index.props.d.ts +0 -18
- package/Typography/styles.d.ts +0 -10
- package/Typography/styles.js +0 -78
- package/base/FormField/styles.d.ts +0 -5
- package/base/FormField/styles.js +0 -18
- package/base/InputRoot/styles.d.ts +0 -27
- package/base/InputRoot/styles.js +0 -82
- package/esm/Badge/Control/styles.d.ts +0 -5
- package/esm/Badge/Control/styles.js +0 -12
- package/esm/Badge/styles.d.ts +0 -8
- package/esm/Badge/styles.js +0 -25
- package/esm/Button/styles.d.ts +0 -16
- package/esm/Button/styles.js +0 -54
- package/esm/Checkbox/styles.d.ts +0 -32
- package/esm/Checkbox/styles.js +0 -64
- package/esm/Counter/styles.d.ts +0 -17
- package/esm/Counter/styles.js +0 -34
- package/esm/DotsLoader/styles.d.ts +0 -15
- package/esm/DotsLoader/styles.js +0 -34
- package/esm/Dropdown/styles.d.ts +0 -9
- package/esm/Dropdown/styles.js +0 -22
- package/esm/Grid/Item/styles.d.ts +0 -7
- package/esm/Grid/Item/styles.js +0 -15
- package/esm/Grid/styles.d.ts +0 -13
- package/esm/Grid/styles.js +0 -27
- package/esm/Image/styles.d.ts +0 -5
- package/esm/Image/styles.js +0 -12
- package/esm/Menu/components/MenuItem/styles.d.ts +0 -10
- package/esm/Menu/components/MenuItem/styles.js +0 -25
- package/esm/Menu/styles.d.ts +0 -5
- package/esm/Menu/styles.js +0 -18
- package/esm/Modal/components/Close/styles.d.ts +0 -4
- package/esm/Modal/components/Close/styles.js +0 -14
- package/esm/Modal/components/Content/styles.d.ts +0 -5
- package/esm/Modal/components/Content/styles.js +0 -12
- package/esm/Modal/components/Title/styles.d.ts +0 -8
- package/esm/Modal/components/Title/styles.js +0 -21
- package/esm/Modal/styles.d.ts +0 -21
- package/esm/Modal/styles.js +0 -51
- package/esm/Select/styles.d.ts +0 -20
- package/esm/Select/styles.js +0 -48
- package/esm/Skeleton/styles.d.ts +0 -9
- package/esm/Skeleton/styles.js +0 -24
- package/esm/Switch/styles.d.ts +0 -19
- package/esm/Switch/styles.js +0 -49
- package/esm/Theme/global.d.ts +0 -2
- package/esm/Theme/global.js +0 -10
- package/esm/Theme/index.props.d.ts +0 -18
- package/esm/Typography/styles.d.ts +0 -10
- package/esm/Typography/styles.js +0 -72
- package/esm/base/FormField/styles.d.ts +0 -5
- package/esm/base/FormField/styles.js +0 -12
- package/esm/base/InputRoot/styles.d.ts +0 -27
- package/esm/base/InputRoot/styles.js +0 -72
package/Theme/index.d.ts
CHANGED
|
@@ -1,240 +1,89 @@
|
|
|
1
|
-
import { type FC, type ReactNode } from "react";
|
|
2
|
-
import type { ThemeProps } from "./index.props";
|
|
3
1
|
export declare const THEMES: {
|
|
4
2
|
DEFAULT: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
SECONDARY_BA_5: string;
|
|
83
|
-
PRIMARY_BA_1: string;
|
|
84
|
-
PRIMARY_BA_2: string;
|
|
85
|
-
PRIMARY_BA_3: string;
|
|
86
|
-
PRIMARY_BA_4: string;
|
|
87
|
-
PRIMARY_BA_5: string;
|
|
88
|
-
TRETIARY_1: string;
|
|
89
|
-
TRETIARY_2: string;
|
|
90
|
-
TRETIARY_3: string;
|
|
91
|
-
TRETIARY_4: string;
|
|
92
|
-
TRETIARY_5: string;
|
|
93
|
-
SECONDARY_1: string;
|
|
94
|
-
SECONDARY_2: string;
|
|
95
|
-
SECONDARY_3: string;
|
|
96
|
-
SECONDARY_4: string;
|
|
97
|
-
SECONDARY_5: string;
|
|
98
|
-
PRIMARY_1: string;
|
|
99
|
-
PRIMARY_2: string;
|
|
100
|
-
PRIMARY_3: string;
|
|
101
|
-
PRIMARY_4: string;
|
|
102
|
-
PRIMARY_5: string;
|
|
103
|
-
BG_1: string;
|
|
104
|
-
BG_2: string;
|
|
105
|
-
BG_3: string;
|
|
106
|
-
BG_4: string;
|
|
107
|
-
BG_5: string;
|
|
108
|
-
BRAND_BA_1: string;
|
|
109
|
-
BRAND_BA_2: string;
|
|
110
|
-
BRAND_BA_3: string;
|
|
111
|
-
BRAND_DEFAULT_1: string;
|
|
112
|
-
BRAND_DEFAULT_2: string;
|
|
113
|
-
BRAND_DEFAULT_3: string;
|
|
114
|
-
ALERT: string;
|
|
115
|
-
SUCCESS: string;
|
|
116
|
-
WHITE: string;
|
|
117
|
-
BLACK: string;
|
|
118
|
-
};
|
|
3
|
+
"palette-black": string;
|
|
4
|
+
"palette-white": string;
|
|
5
|
+
"palette-bg-1": string;
|
|
6
|
+
"palette-bg-2": string;
|
|
7
|
+
"palette-bg-3": string;
|
|
8
|
+
"palette-bg-4": string;
|
|
9
|
+
"palette-bg-5": string;
|
|
10
|
+
"palette-brand-default-1": string;
|
|
11
|
+
"palette-brand-default-2": string;
|
|
12
|
+
"palette-brand-default-3": string;
|
|
13
|
+
"palette-primary-1": string;
|
|
14
|
+
"palette-primary-2": string;
|
|
15
|
+
"palette-primary-3": string;
|
|
16
|
+
"palette-primary-4": string;
|
|
17
|
+
"palette-primary-5": string;
|
|
18
|
+
"palette-tretiary-1": string;
|
|
19
|
+
"palette-tretiary-2": string;
|
|
20
|
+
"palette-tretiary-3": string;
|
|
21
|
+
"palette-tretiary-4": string;
|
|
22
|
+
"palette-tretiary-5": string;
|
|
23
|
+
"palette-alert": string;
|
|
24
|
+
"typography-alert": string;
|
|
25
|
+
"typography-success": string;
|
|
26
|
+
"typography-secondary": string;
|
|
27
|
+
"button-border-radius": string;
|
|
28
|
+
"button-primary-color": string;
|
|
29
|
+
"button-primary-background-color": string;
|
|
30
|
+
"button-primary-border-color": string;
|
|
31
|
+
"button-primary-color-hovered": string;
|
|
32
|
+
"button-primary-background-color-hovered": string;
|
|
33
|
+
"button-primary-border-color-hovered": string;
|
|
34
|
+
"button-primary-color-active": string;
|
|
35
|
+
"button-primary-background-color-active": string;
|
|
36
|
+
"button-primary-border-color-active": string;
|
|
37
|
+
"button-primary-color-disabled": string;
|
|
38
|
+
"button-primary-background-color-disabled": string;
|
|
39
|
+
"button-primary-border-color-disabled": string;
|
|
40
|
+
"button-secondary-color": string;
|
|
41
|
+
"button-secondary-background-color": string;
|
|
42
|
+
"button-secondary-border-color": string;
|
|
43
|
+
"button-secondary-color-hovered": string;
|
|
44
|
+
"button-secondary-background-color-hovered": string;
|
|
45
|
+
"button-secondary-border-color-hovered": string;
|
|
46
|
+
"button-secondary-color-active": string;
|
|
47
|
+
"button-secondary-background-color-active": string;
|
|
48
|
+
"button-secondary-border-color-active": string;
|
|
49
|
+
"button-secondary-color-disabled": string;
|
|
50
|
+
"button-secondary-background-color-disabled": string;
|
|
51
|
+
"button-secondary-border-color-disabled": string;
|
|
52
|
+
"button-pseudo-color": string;
|
|
53
|
+
"button-pseudo-background-color": string;
|
|
54
|
+
"button-pseudo-border-color": string;
|
|
55
|
+
"button-pseudo-color-hovered": string;
|
|
56
|
+
"button-pseudo-background-color-hovered": string;
|
|
57
|
+
"button-pseudo-border-color-hovered": string;
|
|
58
|
+
"button-pseudo-color-active": string;
|
|
59
|
+
"button-pseudo-background-color-active": string;
|
|
60
|
+
"button-pseudo-border-color-active": string;
|
|
61
|
+
"button-pseudo-color-disabled": string;
|
|
62
|
+
"button-pseudo-background-color-disabled": string;
|
|
63
|
+
"button-pseudo-border-color-disabled": string;
|
|
64
|
+
"button-clear-color": string;
|
|
65
|
+
"button-clear-color-hovered": string;
|
|
66
|
+
"button-clear-color-active": string;
|
|
67
|
+
"input-primary-border-color": string;
|
|
68
|
+
"input-primary-plaseholder-color": string;
|
|
69
|
+
"checkbox-primary-background-color-checked": string;
|
|
70
|
+
"checkbox-primary-background-color-hovered": string;
|
|
71
|
+
"checkbox-primary-box-shadow-focused": string;
|
|
72
|
+
"checkbox-primary-background-color-active": string;
|
|
73
|
+
"checkbox-primary-border-color-active": string;
|
|
74
|
+
"checkbox-primary-box-shadow-active": string;
|
|
75
|
+
"checkbox-primary-background-color-disabled": string;
|
|
76
|
+
"switch-primary-background-color": string;
|
|
77
|
+
"switch-primary-border-color": string;
|
|
78
|
+
"switch-primary-background-color-checked": string;
|
|
79
|
+
"switch-primary-border-color-checked": string;
|
|
119
80
|
};
|
|
120
81
|
BA: {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
};
|
|
128
|
-
primary: {
|
|
129
|
-
normal: {
|
|
130
|
-
borderColor: string;
|
|
131
|
-
};
|
|
132
|
-
hovered: {
|
|
133
|
-
borderColor: string;
|
|
134
|
-
boxShadow: string;
|
|
135
|
-
};
|
|
136
|
-
focused: {
|
|
137
|
-
borderColor: string;
|
|
138
|
-
};
|
|
139
|
-
disabled: {
|
|
140
|
-
color: string;
|
|
141
|
-
backgroundColor: string;
|
|
142
|
-
borderColor: string;
|
|
143
|
-
};
|
|
144
|
-
error: {
|
|
145
|
-
normal: {
|
|
146
|
-
backgroundColor: string;
|
|
147
|
-
borderColor: string;
|
|
148
|
-
};
|
|
149
|
-
hovered: {
|
|
150
|
-
backgroundColor: string;
|
|
151
|
-
borderColor: string;
|
|
152
|
-
boxShadow: string;
|
|
153
|
-
};
|
|
154
|
-
focused: {
|
|
155
|
-
backgroundColor: string;
|
|
156
|
-
borderColor: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
checkbox: import("../Checkbox/index.props").CheckboxVariant;
|
|
162
|
-
typography: {
|
|
163
|
-
alert: {
|
|
164
|
-
color: string;
|
|
165
|
-
};
|
|
166
|
-
success: {
|
|
167
|
-
color: string;
|
|
168
|
-
};
|
|
169
|
-
secondary: {
|
|
170
|
-
color: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
switch: {
|
|
174
|
-
circle: {
|
|
175
|
-
backgroundColor: string;
|
|
176
|
-
};
|
|
177
|
-
state: {
|
|
178
|
-
normal: {
|
|
179
|
-
backgroundColor: string;
|
|
180
|
-
borderColor: string;
|
|
181
|
-
};
|
|
182
|
-
checked: {
|
|
183
|
-
backgroundColor: string;
|
|
184
|
-
borderColor: string;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
palette: {
|
|
189
|
-
TRETIARY_BA_1: string;
|
|
190
|
-
TRETIARY_BA_2: string;
|
|
191
|
-
TRETIARY_BA_3: string;
|
|
192
|
-
TRETIARY_BA_4: string;
|
|
193
|
-
TRETIARY_BA_5: string;
|
|
194
|
-
SECONDARY_BA_1: string;
|
|
195
|
-
SECONDARY_BA_2: string;
|
|
196
|
-
SECONDARY_BA_3: string;
|
|
197
|
-
SECONDARY_BA_4: string;
|
|
198
|
-
SECONDARY_BA_5: string;
|
|
199
|
-
PRIMARY_BA_1: string;
|
|
200
|
-
PRIMARY_BA_2: string;
|
|
201
|
-
PRIMARY_BA_3: string;
|
|
202
|
-
PRIMARY_BA_4: string;
|
|
203
|
-
PRIMARY_BA_5: string;
|
|
204
|
-
TRETIARY_1: string;
|
|
205
|
-
TRETIARY_2: string;
|
|
206
|
-
TRETIARY_3: string;
|
|
207
|
-
TRETIARY_4: string;
|
|
208
|
-
TRETIARY_5: string;
|
|
209
|
-
SECONDARY_1: string;
|
|
210
|
-
SECONDARY_2: string;
|
|
211
|
-
SECONDARY_3: string;
|
|
212
|
-
SECONDARY_4: string;
|
|
213
|
-
SECONDARY_5: string;
|
|
214
|
-
PRIMARY_1: string;
|
|
215
|
-
PRIMARY_2: string;
|
|
216
|
-
PRIMARY_3: string;
|
|
217
|
-
PRIMARY_4: string;
|
|
218
|
-
PRIMARY_5: string;
|
|
219
|
-
BG_1: string;
|
|
220
|
-
BG_2: string;
|
|
221
|
-
BG_3: string;
|
|
222
|
-
BG_4: string;
|
|
223
|
-
BG_5: string;
|
|
224
|
-
BRAND_BA_1: string;
|
|
225
|
-
BRAND_BA_2: string;
|
|
226
|
-
BRAND_BA_3: string;
|
|
227
|
-
BRAND_DEFAULT_1: string;
|
|
228
|
-
BRAND_DEFAULT_2: string;
|
|
229
|
-
BRAND_DEFAULT_3: string;
|
|
230
|
-
ALERT: string;
|
|
231
|
-
SUCCESS: string;
|
|
232
|
-
WHITE: string;
|
|
233
|
-
BLACK: string;
|
|
234
|
-
};
|
|
82
|
+
"palette-bg-3": string;
|
|
83
|
+
"palette-black": string;
|
|
84
|
+
"palette-white": string;
|
|
85
|
+
"palette-brand-ba-1": string;
|
|
86
|
+
"palette-brand-ba-2": string;
|
|
87
|
+
"palette-brand-ba-3": string;
|
|
235
88
|
};
|
|
236
89
|
};
|
|
237
|
-
export declare const ThemeProvider: FC<{
|
|
238
|
-
children: ReactNode;
|
|
239
|
-
theme: ThemeProps;
|
|
240
|
-
}>;
|
package/Theme/index.js
CHANGED
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
4
|
-
var react = require('@emotion/react');
|
|
5
|
-
var global = require('./global.js');
|
|
6
3
|
var _default = require('./themes/default.js');
|
|
7
4
|
var buenos_aires = require('./themes/buenos_aires.js');
|
|
8
5
|
|
|
9
6
|
var THEMES = {
|
|
10
|
-
DEFAULT: _default.
|
|
11
|
-
BA: buenos_aires.
|
|
12
|
-
};
|
|
13
|
-
var ThemeProvider = function ThemeProvider(_a) {
|
|
14
|
-
var children = _a.children,
|
|
15
|
-
_b = _a.theme,
|
|
16
|
-
theme = _b === void 0 ? _default.THEME_DEFAULT : _b;
|
|
17
|
-
return jsxRuntime.jsxs(react.ThemeProvider, {
|
|
18
|
-
theme: theme,
|
|
19
|
-
children: [global.default, children]
|
|
20
|
-
});
|
|
7
|
+
DEFAULT: _default.default,
|
|
8
|
+
BA: buenos_aires.default
|
|
21
9
|
};
|
|
22
10
|
|
|
23
11
|
exports.THEMES = THEMES;
|
|
24
|
-
exports.ThemeProvider = ThemeProvider;
|
|
@@ -1,185 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
normal: {
|
|
11
|
-
borderColor: string;
|
|
12
|
-
};
|
|
13
|
-
hovered: {
|
|
14
|
-
borderColor: string;
|
|
15
|
-
boxShadow: string;
|
|
16
|
-
};
|
|
17
|
-
focused: {
|
|
18
|
-
borderColor: string;
|
|
19
|
-
};
|
|
20
|
-
disabled: {
|
|
21
|
-
color: string;
|
|
22
|
-
backgroundColor: string;
|
|
23
|
-
borderColor: string;
|
|
24
|
-
};
|
|
25
|
-
error: {
|
|
26
|
-
normal: {
|
|
27
|
-
backgroundColor: string;
|
|
28
|
-
borderColor: string;
|
|
29
|
-
};
|
|
30
|
-
hovered: {
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
borderColor: string;
|
|
33
|
-
boxShadow: string;
|
|
34
|
-
};
|
|
35
|
-
focused: {
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
borderColor: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const CheckboxThemeBA: CheckboxVariant;
|
|
43
|
-
export declare const TypographyThemeBA: {
|
|
44
|
-
alert: {
|
|
45
|
-
color: string;
|
|
46
|
-
};
|
|
47
|
-
success: {
|
|
48
|
-
color: string;
|
|
49
|
-
};
|
|
50
|
-
secondary: {
|
|
51
|
-
color: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export declare const SwitchThemeBA: {
|
|
55
|
-
circle: {
|
|
56
|
-
backgroundColor: string;
|
|
57
|
-
};
|
|
58
|
-
state: {
|
|
59
|
-
normal: {
|
|
60
|
-
backgroundColor: string;
|
|
61
|
-
borderColor: string;
|
|
62
|
-
};
|
|
63
|
-
checked: {
|
|
64
|
-
backgroundColor: string;
|
|
65
|
-
borderColor: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
export declare const MenuThemeBA: MenuVariant;
|
|
70
|
-
export declare const THEME_BA: {
|
|
71
|
-
breakpoints: import("../breakpoints").BreakpointsTheme;
|
|
72
|
-
button: ButtonVariant & ButtonBase;
|
|
73
|
-
menu: MenuVariant;
|
|
74
|
-
input: {
|
|
75
|
-
placeholder: {
|
|
76
|
-
color: string;
|
|
77
|
-
};
|
|
78
|
-
primary: {
|
|
79
|
-
normal: {
|
|
80
|
-
borderColor: string;
|
|
81
|
-
};
|
|
82
|
-
hovered: {
|
|
83
|
-
borderColor: string;
|
|
84
|
-
boxShadow: string;
|
|
85
|
-
};
|
|
86
|
-
focused: {
|
|
87
|
-
borderColor: string;
|
|
88
|
-
};
|
|
89
|
-
disabled: {
|
|
90
|
-
color: string;
|
|
91
|
-
backgroundColor: string;
|
|
92
|
-
borderColor: string;
|
|
93
|
-
};
|
|
94
|
-
error: {
|
|
95
|
-
normal: {
|
|
96
|
-
backgroundColor: string;
|
|
97
|
-
borderColor: string;
|
|
98
|
-
};
|
|
99
|
-
hovered: {
|
|
100
|
-
backgroundColor: string;
|
|
101
|
-
borderColor: string;
|
|
102
|
-
boxShadow: string;
|
|
103
|
-
};
|
|
104
|
-
focused: {
|
|
105
|
-
backgroundColor: string;
|
|
106
|
-
borderColor: string;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
checkbox: CheckboxVariant;
|
|
112
|
-
typography: {
|
|
113
|
-
alert: {
|
|
114
|
-
color: string;
|
|
115
|
-
};
|
|
116
|
-
success: {
|
|
117
|
-
color: string;
|
|
118
|
-
};
|
|
119
|
-
secondary: {
|
|
120
|
-
color: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
switch: {
|
|
124
|
-
circle: {
|
|
125
|
-
backgroundColor: string;
|
|
126
|
-
};
|
|
127
|
-
state: {
|
|
128
|
-
normal: {
|
|
129
|
-
backgroundColor: string;
|
|
130
|
-
borderColor: string;
|
|
131
|
-
};
|
|
132
|
-
checked: {
|
|
133
|
-
backgroundColor: string;
|
|
134
|
-
borderColor: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
palette: {
|
|
139
|
-
TRETIARY_BA_1: string;
|
|
140
|
-
TRETIARY_BA_2: string;
|
|
141
|
-
TRETIARY_BA_3: string;
|
|
142
|
-
TRETIARY_BA_4: string;
|
|
143
|
-
TRETIARY_BA_5: string;
|
|
144
|
-
SECONDARY_BA_1: string;
|
|
145
|
-
SECONDARY_BA_2: string;
|
|
146
|
-
SECONDARY_BA_3: string;
|
|
147
|
-
SECONDARY_BA_4: string;
|
|
148
|
-
SECONDARY_BA_5: string;
|
|
149
|
-
PRIMARY_BA_1: string;
|
|
150
|
-
PRIMARY_BA_2: string;
|
|
151
|
-
PRIMARY_BA_3: string;
|
|
152
|
-
PRIMARY_BA_4: string;
|
|
153
|
-
PRIMARY_BA_5: string;
|
|
154
|
-
TRETIARY_1: string;
|
|
155
|
-
TRETIARY_2: string;
|
|
156
|
-
TRETIARY_3: string;
|
|
157
|
-
TRETIARY_4: string;
|
|
158
|
-
TRETIARY_5: string;
|
|
159
|
-
SECONDARY_1: string;
|
|
160
|
-
SECONDARY_2: string;
|
|
161
|
-
SECONDARY_3: string;
|
|
162
|
-
SECONDARY_4: string;
|
|
163
|
-
SECONDARY_5: string;
|
|
164
|
-
PRIMARY_1: string;
|
|
165
|
-
PRIMARY_2: string;
|
|
166
|
-
PRIMARY_3: string;
|
|
167
|
-
PRIMARY_4: string;
|
|
168
|
-
PRIMARY_5: string;
|
|
169
|
-
BG_1: string;
|
|
170
|
-
BG_2: string;
|
|
171
|
-
BG_3: string;
|
|
172
|
-
BG_4: string;
|
|
173
|
-
BG_5: string;
|
|
174
|
-
BRAND_BA_1: string;
|
|
175
|
-
BRAND_BA_2: string;
|
|
176
|
-
BRAND_BA_3: string;
|
|
177
|
-
BRAND_DEFAULT_1: string;
|
|
178
|
-
BRAND_DEFAULT_2: string;
|
|
179
|
-
BRAND_DEFAULT_3: string;
|
|
180
|
-
ALERT: string;
|
|
181
|
-
SUCCESS: string;
|
|
182
|
-
WHITE: string;
|
|
183
|
-
BLACK: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"palette-bg-3": string;
|
|
3
|
+
"palette-black": string;
|
|
4
|
+
"palette-white": string;
|
|
5
|
+
"palette-brand-ba-1": string;
|
|
6
|
+
"palette-brand-ba-2": string;
|
|
7
|
+
"palette-brand-ba-3": string;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|