colibri-ui 0.7.56 → 0.7.58
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/Grid/Item/index.js +4 -2
- package/Grid/Item/index.props.d.ts +2 -1
- package/Modal/components/Title/Title.module.css +5 -0
- package/Modal/components/Title/index.js +2 -1
- package/README.md +22 -0
- package/RadioGroup/index.d.ts +2 -1
- package/Theme/colors/common.d.ts +27 -0
- package/Theme/colors/common.js +28 -0
- package/Theme/colors/index.d.ts +48 -0
- package/Theme/colors/index.js +12 -0
- package/Theme/colors/theme_buenos_aires.d.ts +47 -0
- package/Theme/colors/theme_buenos_aires.js +40 -0
- package/Theme/colors/theme_default.d.ts +47 -0
- package/Theme/colors/theme_default.js +40 -0
- package/Theme/themes/buenos_aires.js +7 -7
- package/Theme/themes/default.js +82 -82
- package/esm/Grid/Item/index.js +4 -2
- package/esm/Grid/Item/index.props.d.ts +2 -1
- package/esm/Modal/components/Title/Title.module.css +5 -0
- package/esm/Modal/components/Title/index.js +2 -1
- package/esm/RadioGroup/index.d.ts +2 -1
- package/esm/Theme/colors/common.d.ts +27 -0
- package/esm/Theme/colors/common.js +20 -0
- package/esm/Theme/colors/index.d.ts +48 -0
- package/esm/Theme/colors/index.js +8 -0
- package/esm/Theme/colors/theme_buenos_aires.d.ts +47 -0
- package/esm/Theme/colors/theme_buenos_aires.js +31 -0
- package/esm/Theme/colors/theme_default.d.ts +47 -0
- package/esm/Theme/colors/theme_default.js +31 -0
- package/esm/Theme/themes/buenos_aires.js +1 -1
- package/esm/Theme/themes/default.js +1 -1
- package/esm/index.d.ts +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/Theme/color.d.ts +0 -118
- package/Theme/color.js +0 -88
- package/esm/Theme/color.d.ts +0 -118
- package/esm/Theme/color.js +0 -72
package/Grid/Item/index.js
CHANGED
|
@@ -17,9 +17,11 @@ var GridItem = function GridItem(_a) {
|
|
|
17
17
|
var children = _a.children,
|
|
18
18
|
_c = _a.fullWidth,
|
|
19
19
|
fullWidth = _c === void 0 ? false : _c,
|
|
20
|
-
className = _a.className
|
|
20
|
+
className = _a.className,
|
|
21
|
+
style = _a.style;
|
|
21
22
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
22
|
-
className: classNames__default.default(styles__default.default.item, (_b = {}, _b[styles__default.default.full] = fullWidth, _b), className)
|
|
23
|
+
className: classNames__default.default(styles__default.default.item, (_b = {}, _b[styles__default.default.full] = fullWidth, _b), className),
|
|
24
|
+
style: style
|
|
23
25
|
}, children);
|
|
24
26
|
};
|
|
25
27
|
|
|
@@ -18,7 +18,8 @@ var Title = function Title(_a) {
|
|
|
18
18
|
var children = _a.children;
|
|
19
19
|
return /*#__PURE__*/React__default.default.createElement(index.default, {
|
|
20
20
|
tag: "h3",
|
|
21
|
-
size: "h3"
|
|
21
|
+
size: "h3",
|
|
22
|
+
className: clx(styles__default.default.title)
|
|
22
23
|
}, /*#__PURE__*/React__default.default.createElement("div", {
|
|
23
24
|
className: clx(styles__default.default.wrapper)
|
|
24
25
|
}, children));
|
package/README.md
CHANGED
|
@@ -14,6 +14,28 @@ React UI components library.
|
|
|
14
14
|
npm i -S colibri-ui
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```tsx
|
|
20
|
+
// app/layout.tsx
|
|
21
|
+
import classNames from "classnames";
|
|
22
|
+
import "colibri-ui/theme_default_variables.css";
|
|
23
|
+
|
|
24
|
+
export default function RootLayout({
|
|
25
|
+
children,
|
|
26
|
+
}: Readonly<{
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}>) {
|
|
29
|
+
return (
|
|
30
|
+
<html lang="en">
|
|
31
|
+
<body className={classNames("theme")}>
|
|
32
|
+
{children}
|
|
33
|
+
</body>
|
|
34
|
+
</html>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
17
39
|
## License
|
|
18
40
|
|
|
19
41
|
MIT
|
package/RadioGroup/index.d.ts
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const Common: {
|
|
2
|
+
WHITE: string;
|
|
3
|
+
BLACK: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const Backgrounds: {
|
|
6
|
+
BG_1: string;
|
|
7
|
+
BG_2: string;
|
|
8
|
+
BG_3: string;
|
|
9
|
+
BG_4: string;
|
|
10
|
+
BG_5: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const Accents: {
|
|
13
|
+
ALERT: string;
|
|
14
|
+
SUCCESS: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const Color: {
|
|
17
|
+
BG_1: string;
|
|
18
|
+
BG_2: string;
|
|
19
|
+
BG_3: string;
|
|
20
|
+
BG_4: string;
|
|
21
|
+
BG_5: string;
|
|
22
|
+
ALERT: string;
|
|
23
|
+
SUCCESS: string;
|
|
24
|
+
WHITE: string;
|
|
25
|
+
BLACK: string;
|
|
26
|
+
};
|
|
27
|
+
export default Color;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
|
|
7
|
+
var Common = {
|
|
8
|
+
WHITE: "#fff",
|
|
9
|
+
BLACK: "#000"
|
|
10
|
+
};
|
|
11
|
+
var Backgrounds = {
|
|
12
|
+
BG_1: "#f2f2f2",
|
|
13
|
+
BG_2: "#e6e6e6",
|
|
14
|
+
BG_3: "#dbdbdb",
|
|
15
|
+
BG_4: "#b3b3b3",
|
|
16
|
+
BG_5: "#999"
|
|
17
|
+
};
|
|
18
|
+
var Accents = {
|
|
19
|
+
ALERT: "#ff564e",
|
|
20
|
+
SUCCESS: "#28bc00"
|
|
21
|
+
};
|
|
22
|
+
var Color = tslib.__assign(tslib.__assign(tslib.__assign({}, Common), Accents), Backgrounds);
|
|
23
|
+
|
|
24
|
+
exports.Accents = Accents;
|
|
25
|
+
exports.Backgrounds = Backgrounds;
|
|
26
|
+
exports.Color = Color;
|
|
27
|
+
exports.Common = Common;
|
|
28
|
+
exports.default = Color;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
TRETIARY_1: string;
|
|
3
|
+
TRETIARY_2: string;
|
|
4
|
+
TRETIARY_3: string;
|
|
5
|
+
TRETIARY_4: string;
|
|
6
|
+
TRETIARY_5: string;
|
|
7
|
+
SECONDARY_1: string;
|
|
8
|
+
SECONDARY_2: string;
|
|
9
|
+
SECONDARY_3: string;
|
|
10
|
+
SECONDARY_4: string;
|
|
11
|
+
SECONDARY_5: string;
|
|
12
|
+
PRIMARY_1: string;
|
|
13
|
+
PRIMARY_2: string;
|
|
14
|
+
PRIMARY_3: string;
|
|
15
|
+
PRIMARY_4: string;
|
|
16
|
+
PRIMARY_5: string;
|
|
17
|
+
BRAND_DEFAULT_1: string;
|
|
18
|
+
BRAND_DEFAULT_2: string;
|
|
19
|
+
BRAND_DEFAULT_3: string;
|
|
20
|
+
TRETIARY_BA_1: string;
|
|
21
|
+
TRETIARY_BA_2: string;
|
|
22
|
+
TRETIARY_BA_3: string;
|
|
23
|
+
TRETIARY_BA_4: string;
|
|
24
|
+
TRETIARY_BA_5: string;
|
|
25
|
+
SECONDARY_BA_1: string;
|
|
26
|
+
SECONDARY_BA_2: string;
|
|
27
|
+
SECONDARY_BA_3: string;
|
|
28
|
+
SECONDARY_BA_4: string;
|
|
29
|
+
SECONDARY_BA_5: string;
|
|
30
|
+
PRIMARY_BA_1: string;
|
|
31
|
+
PRIMARY_BA_2: string;
|
|
32
|
+
PRIMARY_BA_3: string;
|
|
33
|
+
PRIMARY_BA_4: string;
|
|
34
|
+
PRIMARY_BA_5: string;
|
|
35
|
+
BRAND_BA_1: string;
|
|
36
|
+
BRAND_BA_2: string;
|
|
37
|
+
BRAND_BA_3: string;
|
|
38
|
+
BG_1: string;
|
|
39
|
+
BG_2: string;
|
|
40
|
+
BG_3: string;
|
|
41
|
+
BG_4: string;
|
|
42
|
+
BG_5: string;
|
|
43
|
+
ALERT: string;
|
|
44
|
+
SUCCESS: string;
|
|
45
|
+
WHITE: string;
|
|
46
|
+
BLACK: string;
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
var theme_default = require('./theme_default.js');
|
|
7
|
+
var theme_buenos_aires = require('./theme_buenos_aires.js');
|
|
8
|
+
var common = require('./common.js');
|
|
9
|
+
|
|
10
|
+
var Color = tslib.__assign(tslib.__assign(tslib.__assign({}, common.Color), theme_buenos_aires.Color), theme_default.Color);
|
|
11
|
+
|
|
12
|
+
exports.default = Color;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const PrimaryBA: {
|
|
2
|
+
PRIMARY_BA_1: string;
|
|
3
|
+
PRIMARY_BA_2: string;
|
|
4
|
+
PRIMARY_BA_3: string;
|
|
5
|
+
PRIMARY_BA_4: string;
|
|
6
|
+
PRIMARY_BA_5: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const SecondaryBA: {
|
|
9
|
+
SECONDARY_BA_1: string;
|
|
10
|
+
SECONDARY_BA_2: string;
|
|
11
|
+
SECONDARY_BA_3: string;
|
|
12
|
+
SECONDARY_BA_4: string;
|
|
13
|
+
SECONDARY_BA_5: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const TretiaryBA: {
|
|
16
|
+
TRETIARY_BA_1: string;
|
|
17
|
+
TRETIARY_BA_2: string;
|
|
18
|
+
TRETIARY_BA_3: string;
|
|
19
|
+
TRETIARY_BA_4: string;
|
|
20
|
+
TRETIARY_BA_5: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const BrandBA: {
|
|
23
|
+
BRAND_BA_1: string;
|
|
24
|
+
BRAND_BA_2: string;
|
|
25
|
+
BRAND_BA_3: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const Color: {
|
|
28
|
+
TRETIARY_BA_1: string;
|
|
29
|
+
TRETIARY_BA_2: string;
|
|
30
|
+
TRETIARY_BA_3: string;
|
|
31
|
+
TRETIARY_BA_4: string;
|
|
32
|
+
TRETIARY_BA_5: string;
|
|
33
|
+
SECONDARY_BA_1: string;
|
|
34
|
+
SECONDARY_BA_2: string;
|
|
35
|
+
SECONDARY_BA_3: string;
|
|
36
|
+
SECONDARY_BA_4: string;
|
|
37
|
+
SECONDARY_BA_5: string;
|
|
38
|
+
PRIMARY_BA_1: string;
|
|
39
|
+
PRIMARY_BA_2: string;
|
|
40
|
+
PRIMARY_BA_3: string;
|
|
41
|
+
PRIMARY_BA_4: string;
|
|
42
|
+
PRIMARY_BA_5: string;
|
|
43
|
+
BRAND_BA_1: string;
|
|
44
|
+
BRAND_BA_2: string;
|
|
45
|
+
BRAND_BA_3: string;
|
|
46
|
+
};
|
|
47
|
+
export default Color;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
|
|
7
|
+
var PrimaryBA = {
|
|
8
|
+
PRIMARY_BA_1: "rgba(38, 49, 129, .07)",
|
|
9
|
+
PRIMARY_BA_2: "rgba(38, 49, 129, .3)",
|
|
10
|
+
PRIMARY_BA_3: "rgba(38, 49, 129, .4)",
|
|
11
|
+
PRIMARY_BA_4: "rgba(38, 49, 129, .6)",
|
|
12
|
+
PRIMARY_BA_5: "rgba(38, 49, 129, .8)"
|
|
13
|
+
};
|
|
14
|
+
var SecondaryBA = {
|
|
15
|
+
SECONDARY_BA_1: "#d9d9d9",
|
|
16
|
+
SECONDARY_BA_2: "#bbb",
|
|
17
|
+
SECONDARY_BA_3: "#636363",
|
|
18
|
+
SECONDARY_BA_4: "#313131",
|
|
19
|
+
SECONDARY_BA_5: "#1a1a1a"
|
|
20
|
+
};
|
|
21
|
+
var TretiaryBA = {
|
|
22
|
+
TRETIARY_BA_1: "#EDF1F5",
|
|
23
|
+
TRETIARY_BA_2: "#d3dbe3",
|
|
24
|
+
TRETIARY_BA_3: "#c5cfda",
|
|
25
|
+
TRETIARY_BA_4: "#b1bcc8",
|
|
26
|
+
TRETIARY_BA_5: "#87929d"
|
|
27
|
+
};
|
|
28
|
+
var BrandBA = {
|
|
29
|
+
BRAND_BA_1: "#B54141",
|
|
30
|
+
BRAND_BA_2: "#fffbe9",
|
|
31
|
+
BRAND_BA_3: "#D5D500"
|
|
32
|
+
};
|
|
33
|
+
var Color = tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, BrandBA), PrimaryBA), SecondaryBA), TretiaryBA);
|
|
34
|
+
|
|
35
|
+
exports.BrandBA = BrandBA;
|
|
36
|
+
exports.Color = Color;
|
|
37
|
+
exports.PrimaryBA = PrimaryBA;
|
|
38
|
+
exports.SecondaryBA = SecondaryBA;
|
|
39
|
+
exports.TretiaryBA = TretiaryBA;
|
|
40
|
+
exports.default = Color;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const Primary: {
|
|
2
|
+
PRIMARY_1: string;
|
|
3
|
+
PRIMARY_2: string;
|
|
4
|
+
PRIMARY_3: string;
|
|
5
|
+
PRIMARY_4: string;
|
|
6
|
+
PRIMARY_5: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const Secondary: {
|
|
9
|
+
SECONDARY_1: string;
|
|
10
|
+
SECONDARY_2: string;
|
|
11
|
+
SECONDARY_3: string;
|
|
12
|
+
SECONDARY_4: string;
|
|
13
|
+
SECONDARY_5: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const Tretiary: {
|
|
16
|
+
TRETIARY_1: string;
|
|
17
|
+
TRETIARY_2: string;
|
|
18
|
+
TRETIARY_3: string;
|
|
19
|
+
TRETIARY_4: string;
|
|
20
|
+
TRETIARY_5: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const Brand: {
|
|
23
|
+
BRAND_DEFAULT_1: string;
|
|
24
|
+
BRAND_DEFAULT_2: string;
|
|
25
|
+
BRAND_DEFAULT_3: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const Color: {
|
|
28
|
+
TRETIARY_1: string;
|
|
29
|
+
TRETIARY_2: string;
|
|
30
|
+
TRETIARY_3: string;
|
|
31
|
+
TRETIARY_4: string;
|
|
32
|
+
TRETIARY_5: string;
|
|
33
|
+
SECONDARY_1: string;
|
|
34
|
+
SECONDARY_2: string;
|
|
35
|
+
SECONDARY_3: string;
|
|
36
|
+
SECONDARY_4: string;
|
|
37
|
+
SECONDARY_5: string;
|
|
38
|
+
PRIMARY_1: string;
|
|
39
|
+
PRIMARY_2: string;
|
|
40
|
+
PRIMARY_3: string;
|
|
41
|
+
PRIMARY_4: string;
|
|
42
|
+
PRIMARY_5: string;
|
|
43
|
+
BRAND_DEFAULT_1: string;
|
|
44
|
+
BRAND_DEFAULT_2: string;
|
|
45
|
+
BRAND_DEFAULT_3: string;
|
|
46
|
+
};
|
|
47
|
+
export default Color;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
|
|
7
|
+
var Primary = {
|
|
8
|
+
PRIMARY_1: "#E8F0FE",
|
|
9
|
+
PRIMARY_2: "#B8D2FF",
|
|
10
|
+
PRIMARY_3: "#73ABF8",
|
|
11
|
+
PRIMARY_4: "#067AFF",
|
|
12
|
+
PRIMARY_5: "#0066DC"
|
|
13
|
+
};
|
|
14
|
+
var Secondary = {
|
|
15
|
+
SECONDARY_1: "#fff1db",
|
|
16
|
+
SECONDARY_2: "#ffdaa3",
|
|
17
|
+
SECONDARY_3: "#ffca79",
|
|
18
|
+
SECONDARY_4: "#f4b968",
|
|
19
|
+
SECONDARY_5: "#ffab0f"
|
|
20
|
+
};
|
|
21
|
+
var Tretiary = {
|
|
22
|
+
TRETIARY_1: "#FFF5F0",
|
|
23
|
+
TRETIARY_2: "#FFEAE2",
|
|
24
|
+
TRETIARY_3: "#FFD8CA",
|
|
25
|
+
TRETIARY_4: "#FFA384 ",
|
|
26
|
+
TRETIARY_5: "#fc5200"
|
|
27
|
+
};
|
|
28
|
+
var Brand = {
|
|
29
|
+
BRAND_DEFAULT_1: "#F393D2",
|
|
30
|
+
BRAND_DEFAULT_2: "#4BDCF8",
|
|
31
|
+
BRAND_DEFAULT_3: "#D5D500"
|
|
32
|
+
};
|
|
33
|
+
var Color = tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, Brand), Primary), Secondary), Tretiary);
|
|
34
|
+
|
|
35
|
+
exports.Brand = Brand;
|
|
36
|
+
exports.Color = Color;
|
|
37
|
+
exports.Primary = Primary;
|
|
38
|
+
exports.Secondary = Secondary;
|
|
39
|
+
exports.Tretiary = Tretiary;
|
|
40
|
+
exports.default = Color;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index = require('../colors/index.js');
|
|
6
6
|
|
|
7
7
|
var THEME_BA = {
|
|
8
|
-
"palette-bg-3":
|
|
9
|
-
"palette-black":
|
|
10
|
-
"palette-white":
|
|
11
|
-
"palette-brand-ba-1":
|
|
12
|
-
"palette-brand-ba-2":
|
|
13
|
-
"palette-brand-ba-3":
|
|
8
|
+
"palette-bg-3": index.default.BG_3,
|
|
9
|
+
"palette-black": index.default.BLACK,
|
|
10
|
+
"palette-white": index.default.WHITE,
|
|
11
|
+
"palette-brand-ba-1": index.default.BRAND_BA_1,
|
|
12
|
+
"palette-brand-ba-2": index.default.BRAND_BA_2,
|
|
13
|
+
"palette-brand-ba-3": index.default.BRAND_BA_3
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
exports.default = THEME_BA;
|
package/Theme/themes/default.js
CHANGED
|
@@ -2,91 +2,91 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var index = require('../colors/index.js');
|
|
6
6
|
|
|
7
7
|
var THEME_DEFAULT = {
|
|
8
|
-
"palette-black":
|
|
9
|
-
"palette-white":
|
|
10
|
-
"palette-bg-1":
|
|
11
|
-
"palette-bg-2":
|
|
12
|
-
"palette-bg-3":
|
|
13
|
-
"palette-bg-4":
|
|
14
|
-
"palette-bg-5":
|
|
15
|
-
"palette-brand-default-1":
|
|
16
|
-
"palette-brand-default-2":
|
|
17
|
-
"palette-brand-default-3":
|
|
18
|
-
"palette-primary-1":
|
|
19
|
-
"palette-primary-2":
|
|
20
|
-
"palette-primary-3":
|
|
21
|
-
"palette-primary-4":
|
|
22
|
-
"palette-primary-5":
|
|
23
|
-
"palette-tretiary-1":
|
|
24
|
-
"palette-tretiary-2":
|
|
25
|
-
"palette-tretiary-3":
|
|
26
|
-
"palette-tretiary-4":
|
|
27
|
-
"palette-tretiary-5":
|
|
28
|
-
"palette-alert":
|
|
29
|
-
"typography-alert":
|
|
30
|
-
"typography-success":
|
|
31
|
-
"typography-secondary":
|
|
8
|
+
"palette-black": index.default.BLACK,
|
|
9
|
+
"palette-white": index.default.WHITE,
|
|
10
|
+
"palette-bg-1": index.default.BG_1,
|
|
11
|
+
"palette-bg-2": index.default.BG_2,
|
|
12
|
+
"palette-bg-3": index.default.BG_3,
|
|
13
|
+
"palette-bg-4": index.default.BG_4,
|
|
14
|
+
"palette-bg-5": index.default.BG_5,
|
|
15
|
+
"palette-brand-default-1": index.default.BRAND_DEFAULT_1,
|
|
16
|
+
"palette-brand-default-2": index.default.BRAND_DEFAULT_2,
|
|
17
|
+
"palette-brand-default-3": index.default.BRAND_DEFAULT_3,
|
|
18
|
+
"palette-primary-1": index.default.PRIMARY_1,
|
|
19
|
+
"palette-primary-2": index.default.PRIMARY_2,
|
|
20
|
+
"palette-primary-3": index.default.PRIMARY_3,
|
|
21
|
+
"palette-primary-4": index.default.PRIMARY_4,
|
|
22
|
+
"palette-primary-5": index.default.PRIMARY_5,
|
|
23
|
+
"palette-tretiary-1": index.default.TRETIARY_1,
|
|
24
|
+
"palette-tretiary-2": index.default.TRETIARY_2,
|
|
25
|
+
"palette-tretiary-3": index.default.TRETIARY_3,
|
|
26
|
+
"palette-tretiary-4": index.default.TRETIARY_4,
|
|
27
|
+
"palette-tretiary-5": index.default.TRETIARY_5,
|
|
28
|
+
"palette-alert": index.default.ALERT,
|
|
29
|
+
"typography-alert": index.default.ALERT,
|
|
30
|
+
"typography-success": index.default.SUCCESS,
|
|
31
|
+
"typography-secondary": index.default.BG_3,
|
|
32
32
|
"button-border-radius": "26px",
|
|
33
|
-
"button-primary-color":
|
|
34
|
-
"button-primary-background-color":
|
|
35
|
-
"button-primary-border-color":
|
|
36
|
-
"button-primary-color-hovered":
|
|
37
|
-
"button-primary-background-color-hovered":
|
|
38
|
-
"button-primary-border-color-hovered":
|
|
39
|
-
"button-primary-color-active":
|
|
40
|
-
"button-primary-background-color-active":
|
|
41
|
-
"button-primary-border-color-active":
|
|
42
|
-
"button-primary-color-disabled":
|
|
43
|
-
"button-primary-background-color-disabled":
|
|
44
|
-
"button-primary-border-color-disabled":
|
|
45
|
-
"button-secondary-color":
|
|
46
|
-
"button-secondary-background-color":
|
|
47
|
-
"button-secondary-border-color":
|
|
48
|
-
"button-secondary-color-hovered":
|
|
49
|
-
"button-secondary-background-color-hovered":
|
|
50
|
-
"button-secondary-border-color-hovered":
|
|
51
|
-
"button-secondary-color-active":
|
|
52
|
-
"button-secondary-background-color-active":
|
|
53
|
-
"button-secondary-border-color-active":
|
|
54
|
-
"button-secondary-color-disabled":
|
|
55
|
-
"button-secondary-background-color-disabled":
|
|
56
|
-
"button-secondary-border-color-disabled":
|
|
57
|
-
"button-pseudo-color":
|
|
58
|
-
"button-pseudo-background-color":
|
|
59
|
-
"button-pseudo-border-color":
|
|
60
|
-
"button-pseudo-color-hovered":
|
|
61
|
-
"button-pseudo-background-color-hovered":
|
|
62
|
-
"button-pseudo-border-color-hovered":
|
|
63
|
-
"button-pseudo-color-active":
|
|
64
|
-
"button-pseudo-background-color-active":
|
|
65
|
-
"button-pseudo-border-color-active":
|
|
66
|
-
"button-pseudo-color-disabled":
|
|
67
|
-
"button-pseudo-background-color-disabled":
|
|
68
|
-
"button-pseudo-border-color-disabled":
|
|
69
|
-
"button-clear-color":
|
|
70
|
-
"button-clear-color-hovered":
|
|
71
|
-
"button-clear-color-active":
|
|
72
|
-
"input-primary-border-color":
|
|
73
|
-
"input-primary-plaseholder-color":
|
|
74
|
-
"checkbox-primary-background-color-checked":
|
|
75
|
-
"checkbox-primary-background-color-hovered":
|
|
76
|
-
"checkbox-primary-box-shadow-focused":
|
|
77
|
-
"checkbox-primary-background-color-active":
|
|
78
|
-
"checkbox-primary-border-color-active":
|
|
79
|
-
"checkbox-primary-box-shadow-active":
|
|
80
|
-
"checkbox-primary-background-color-disabled":
|
|
81
|
-
"inputradio-primary-background-color-checked":
|
|
82
|
-
"inputradio-primary-background-color-hovered":
|
|
83
|
-
"inputradio-primary-box-shadow-focused":
|
|
84
|
-
"inputradio-primary-background-color-focused":
|
|
85
|
-
"inputradio-primary-border-color-focused":
|
|
86
|
-
"switch-primary-background-color":
|
|
87
|
-
"switch-primary-border-color":
|
|
88
|
-
"switch-primary-background-color-checked":
|
|
89
|
-
"switch-primary-border-color-checked":
|
|
33
|
+
"button-primary-color": index.default.WHITE,
|
|
34
|
+
"button-primary-background-color": index.default.PRIMARY_4,
|
|
35
|
+
"button-primary-border-color": index.default.PRIMARY_4,
|
|
36
|
+
"button-primary-color-hovered": index.default.WHITE,
|
|
37
|
+
"button-primary-background-color-hovered": index.default.PRIMARY_5,
|
|
38
|
+
"button-primary-border-color-hovered": index.default.PRIMARY_5,
|
|
39
|
+
"button-primary-color-active": index.default.WHITE,
|
|
40
|
+
"button-primary-background-color-active": index.default.PRIMARY_5,
|
|
41
|
+
"button-primary-border-color-active": index.default.PRIMARY_5,
|
|
42
|
+
"button-primary-color-disabled": index.default.PRIMARY_2,
|
|
43
|
+
"button-primary-background-color-disabled": index.default.PRIMARY_1,
|
|
44
|
+
"button-primary-border-color-disabled": index.default.PRIMARY_1,
|
|
45
|
+
"button-secondary-color": index.default.WHITE,
|
|
46
|
+
"button-secondary-background-color": index.default.SECONDARY_4,
|
|
47
|
+
"button-secondary-border-color": index.default.SECONDARY_4,
|
|
48
|
+
"button-secondary-color-hovered": index.default.WHITE,
|
|
49
|
+
"button-secondary-background-color-hovered": index.default.SECONDARY_5,
|
|
50
|
+
"button-secondary-border-color-hovered": index.default.SECONDARY_5,
|
|
51
|
+
"button-secondary-color-active": index.default.WHITE,
|
|
52
|
+
"button-secondary-background-color-active": index.default.SECONDARY_5,
|
|
53
|
+
"button-secondary-border-color-active": index.default.SECONDARY_5,
|
|
54
|
+
"button-secondary-color-disabled": index.default.SECONDARY_2,
|
|
55
|
+
"button-secondary-background-color-disabled": index.default.SECONDARY_1,
|
|
56
|
+
"button-secondary-border-color-disabled": index.default.SECONDARY_1,
|
|
57
|
+
"button-pseudo-color": index.default.TRETIARY_5,
|
|
58
|
+
"button-pseudo-background-color": index.default.WHITE,
|
|
59
|
+
"button-pseudo-border-color": index.default.WHITE,
|
|
60
|
+
"button-pseudo-color-hovered": index.default.TRETIARY_5,
|
|
61
|
+
"button-pseudo-background-color-hovered": index.default.TRETIARY_2,
|
|
62
|
+
"button-pseudo-border-color-hovered": index.default.TRETIARY_2,
|
|
63
|
+
"button-pseudo-color-active": index.default.TRETIARY_5,
|
|
64
|
+
"button-pseudo-background-color-active": index.default.TRETIARY_2,
|
|
65
|
+
"button-pseudo-border-color-active": index.default.TRETIARY_2,
|
|
66
|
+
"button-pseudo-color-disabled": index.default.SECONDARY_2,
|
|
67
|
+
"button-pseudo-background-color-disabled": index.default.SECONDARY_1,
|
|
68
|
+
"button-pseudo-border-color-disabled": index.default.SECONDARY_1,
|
|
69
|
+
"button-clear-color": index.default.PRIMARY_4,
|
|
70
|
+
"button-clear-color-hovered": index.default.PRIMARY_5,
|
|
71
|
+
"button-clear-color-active": index.default.PRIMARY_5,
|
|
72
|
+
"input-primary-border-color": index.default.BG_3,
|
|
73
|
+
"input-primary-plaseholder-color": index.default.BG_2,
|
|
74
|
+
"checkbox-primary-background-color-checked": index.default.PRIMARY_4,
|
|
75
|
+
"checkbox-primary-background-color-hovered": index.default.PRIMARY_4,
|
|
76
|
+
"checkbox-primary-box-shadow-focused": index.default.PRIMARY_1,
|
|
77
|
+
"checkbox-primary-background-color-active": index.default.PRIMARY_4,
|
|
78
|
+
"checkbox-primary-border-color-active": index.default.PRIMARY_4,
|
|
79
|
+
"checkbox-primary-box-shadow-active": index.default.PRIMARY_4,
|
|
80
|
+
"checkbox-primary-background-color-disabled": index.default.PRIMARY_1,
|
|
81
|
+
"inputradio-primary-background-color-checked": index.default.PRIMARY_4,
|
|
82
|
+
"inputradio-primary-background-color-hovered": index.default.PRIMARY_4,
|
|
83
|
+
"inputradio-primary-box-shadow-focused": index.default.PRIMARY_1,
|
|
84
|
+
"inputradio-primary-background-color-focused": index.default.PRIMARY_1,
|
|
85
|
+
"inputradio-primary-border-color-focused": index.default.PRIMARY_1,
|
|
86
|
+
"switch-primary-background-color": index.default.BG_2,
|
|
87
|
+
"switch-primary-border-color": index.default.BG_2,
|
|
88
|
+
"switch-primary-background-color-checked": index.default.PRIMARY_5,
|
|
89
|
+
"switch-primary-border-color-checked": index.default.PRIMARY_5
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
exports.default = THEME_DEFAULT;
|
package/esm/Grid/Item/index.js
CHANGED
|
@@ -7,9 +7,11 @@ var GridItem = function GridItem(_a) {
|
|
|
7
7
|
var children = _a.children,
|
|
8
8
|
_c = _a.fullWidth,
|
|
9
9
|
fullWidth = _c === void 0 ? false : _c,
|
|
10
|
-
className = _a.className
|
|
10
|
+
className = _a.className,
|
|
11
|
+
style = _a.style;
|
|
11
12
|
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
-
className: classNames(styles.item, (_b = {}, _b[styles.full] = fullWidth, _b), className)
|
|
13
|
+
className: classNames(styles.item, (_b = {}, _b[styles.full] = fullWidth, _b), className),
|
|
14
|
+
style: style
|
|
13
15
|
}, children);
|
|
14
16
|
};
|
|
15
17
|
|
|
@@ -8,7 +8,8 @@ var Title = function Title(_a) {
|
|
|
8
8
|
var children = _a.children;
|
|
9
9
|
return /*#__PURE__*/React.createElement(Typography, {
|
|
10
10
|
tag: "h3",
|
|
11
|
-
size: "h3"
|
|
11
|
+
size: "h3",
|
|
12
|
+
className: clx(styles.title)
|
|
12
13
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13
14
|
className: clx(styles.wrapper)
|
|
14
15
|
}, children));
|