colibri-ui 0.7.7 → 0.7.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.
@@ -64,9 +64,12 @@ export declare const THEMES: {
64
64
  BG_3: string;
65
65
  BG_4: string;
66
66
  BG_5: string;
67
- TEXT_BA_PRIMARY: string;
68
- TEXT_BA_SECONDARY: string;
69
- TEXT_BA_TRETIARY: string;
67
+ BRAND_BA_1: string;
68
+ BRAND_BA_2: string;
69
+ BRAND_BA_3: string;
70
+ BRAND_DEFAULT_1: string;
71
+ BRAND_DEFAULT_2: string;
72
+ BRAND_DEFAULT_3: string;
70
73
  ALERT: string;
71
74
  SUCCESS: string;
72
75
  WHITE: string;
@@ -136,9 +139,12 @@ export declare const THEMES: {
136
139
  BG_3: string;
137
140
  BG_4: string;
138
141
  BG_5: string;
139
- TEXT_BA_PRIMARY: string;
140
- TEXT_BA_SECONDARY: string;
141
- TEXT_BA_TRETIARY: string;
142
+ BRAND_BA_1: string;
143
+ BRAND_BA_2: string;
144
+ BRAND_BA_3: string;
145
+ BRAND_DEFAULT_1: string;
146
+ BRAND_DEFAULT_2: string;
147
+ BRAND_DEFAULT_3: string;
142
148
  ALERT: string;
143
149
  SUCCESS: string;
144
150
  WHITE: string;
@@ -88,9 +88,12 @@ export declare const THEME_BA: {
88
88
  BG_3: string;
89
89
  BG_4: string;
90
90
  BG_5: string;
91
- TEXT_BA_PRIMARY: string;
92
- TEXT_BA_SECONDARY: string;
93
- TEXT_BA_TRETIARY: string;
91
+ BRAND_BA_1: string;
92
+ BRAND_BA_2: string;
93
+ BRAND_BA_3: string;
94
+ BRAND_DEFAULT_1: string;
95
+ BRAND_DEFAULT_2: string;
96
+ BRAND_DEFAULT_3: string;
94
97
  ALERT: string;
95
98
  SUCCESS: string;
96
99
  WHITE: string;
@@ -29,9 +29,9 @@ var ButtonThemeBA = {
29
29
  borderColor: Color.PRIMARY_BA_5
30
30
  },
31
31
  disabled: {
32
- color: Color.PRIMARY_BA_3,
33
- backgroundColor: Color.PRIMARY_BA_2,
34
- borderColor: Color.PRIMARY_BA_2
32
+ color: Color.BG_3,
33
+ backgroundColor: Color.BG_1,
34
+ borderColor: Color.BG_1
35
35
  }
36
36
  },
37
37
  secondary: {
@@ -56,9 +56,9 @@ var ButtonThemeBA = {
56
56
  borderColor: Color.SECONDARY_BA_5
57
57
  },
58
58
  disabled: {
59
- color: Color.SECONDARY_BA_3,
60
- backgroundColor: Color.SECONDARY_BA_2,
61
- borderColor: Color.SECONDARY_BA_2
59
+ color: Color.BG_3,
60
+ backgroundColor: Color.BG_1,
61
+ borderColor: Color.BG_1
62
62
  }
63
63
  },
64
64
  clear: {
@@ -78,9 +78,9 @@ var ButtonThemeBA = {
78
78
  borderColor: Color.TRETIARY_BA_2
79
79
  },
80
80
  disabled: {
81
- color: Color.TRETIARY_BA_3,
82
- backgroundColor: Color.TRETIARY_BA_1,
83
- borderColor: Color.TRETIARY_BA_1
81
+ color: Color.BG_3,
82
+ backgroundColor: Color.BG_1,
83
+ borderColor: Color.BG_1
84
84
  }
85
85
  }
86
86
  };
@@ -122,8 +122,8 @@ var SwitchThemeDefault = {
122
122
  },
123
123
  state: {
124
124
  normal: {
125
- backgroundColor: Color.BG_1,
126
- borderColor: Color.BG_1
125
+ backgroundColor: Color.BG_2,
126
+ borderColor: Color.BG_2
127
127
  },
128
128
  checked: {
129
129
  backgroundColor: Color.PRIMARY_BA_5,
@@ -88,9 +88,12 @@ export declare const THEME_DEFAULT: {
88
88
  BG_3: string;
89
89
  BG_4: string;
90
90
  BG_5: string;
91
- TEXT_BA_PRIMARY: string;
92
- TEXT_BA_SECONDARY: string;
93
- TEXT_BA_TRETIARY: string;
91
+ BRAND_BA_1: string;
92
+ BRAND_BA_2: string;
93
+ BRAND_BA_3: string;
94
+ BRAND_DEFAULT_1: string;
95
+ BRAND_DEFAULT_2: string;
96
+ BRAND_DEFAULT_3: string;
94
97
  ALERT: string;
95
98
  SUCCESS: string;
96
99
  WHITE: string;
@@ -28,9 +28,9 @@ var ButtonThemeDefault = {
28
28
  borderColor: Color.PRIMARY_5
29
29
  },
30
30
  disabled: {
31
- color: Color.PRIMARY_3,
32
- backgroundColor: Color.PRIMARY_2,
33
- borderColor: Color.PRIMARY_2
31
+ color: Color.BG_3,
32
+ backgroundColor: Color.BG_1,
33
+ borderColor: Color.BG_1
34
34
  }
35
35
  },
36
36
  secondary: {
@@ -55,9 +55,9 @@ var ButtonThemeDefault = {
55
55
  borderColor: Color.SECONDARY_5
56
56
  },
57
57
  disabled: {
58
- color: Color.SECONDARY_3,
59
- backgroundColor: Color.SECONDARY_2,
60
- borderColor: Color.SECONDARY_2
58
+ color: Color.BG_3,
59
+ backgroundColor: Color.BG_1,
60
+ borderColor: Color.BG_1
61
61
  }
62
62
  },
63
63
  clear: {
@@ -77,9 +77,9 @@ var ButtonThemeDefault = {
77
77
  borderColor: Color.TRETIARY_2
78
78
  },
79
79
  disabled: {
80
- color: Color.TRETIARY_3,
81
- backgroundColor: Color.TRETIARY_1,
82
- borderColor: Color.TRETIARY_1
80
+ color: Color.BG_3,
81
+ backgroundColor: Color.BG_1,
82
+ borderColor: Color.BG_1
83
83
  }
84
84
  }
85
85
  };
@@ -121,8 +121,8 @@ var SwitchThemeDefault = {
121
121
  },
122
122
  state: {
123
123
  normal: {
124
- backgroundColor: Color.BG_1,
125
- borderColor: Color.BG_1
124
+ backgroundColor: Color.BG_2,
125
+ borderColor: Color.BG_2
126
126
  },
127
127
  checked: {
128
128
  backgroundColor: Color.PRIMARY_5,
package/esm/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export { default as Button } from "./Button";
2
+ export { default as Checkbox } from "./Checkbox";
2
3
  export { default as DotsLoader } from "./DotsLoader";
4
+ export { default as Grid } from "./Grid";
3
5
  export { default as Switch } from "./Switch";
4
6
  export { THEMES, ThemeProvider } from "./Theme";
5
7
  export { default as Typography } from "./Typography";
package/esm/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  export { default as Button } from './Button/index.js';
2
+ export { default as Checkbox } from './Checkbox/index.js';
2
3
  export { default as DotsLoader } from './DotsLoader/index.js';
4
+ export { default as Grid } from './Grid/index.js';
3
5
  export { default as Switch } from './Switch/index.js';
4
6
  export { THEMES, ThemeProvider } from './Theme/index.js';
5
7
  export { default as Typography } from './Typography/index.js';
package/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export { default as Button } from "./Button";
2
+ export { default as Checkbox } from "./Checkbox";
2
3
  export { default as DotsLoader } from "./DotsLoader";
4
+ export { default as Grid } from "./Grid";
3
5
  export { default as Switch } from "./Switch";
4
6
  export { THEMES, ThemeProvider } from "./Theme";
5
7
  export { default as Typography } from "./Typography";
package/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./Button/index.js');
4
- var index$1 = require('./DotsLoader/index.js');
5
- var index$2 = require('./Switch/index.js');
6
- var index$3 = require('./Theme/index.js');
7
- var index$4 = require('./Typography/index.js');
4
+ var index$1 = require('./Checkbox/index.js');
5
+ var index$2 = require('./DotsLoader/index.js');
6
+ var index$3 = require('./Grid/index.js');
7
+ var index$4 = require('./Switch/index.js');
8
+ var index$5 = require('./Theme/index.js');
9
+ var index$6 = require('./Typography/index.js');
8
10
  require('./Icons/index.js');
9
11
  var Burger = require('./Icons/Burger.js');
10
12
  var Check = require('./Icons/Check.js');
@@ -20,11 +22,13 @@ var User = require('./Icons/User.js');
20
22
 
21
23
 
22
24
  exports.Button = index.default;
23
- exports.DotsLoader = index$1.default;
24
- exports.Switch = index$2.default;
25
- exports.THEMES = index$3.THEMES;
26
- exports.ThemeProvider = index$3.ThemeProvider;
27
- exports.Typography = index$4.default;
25
+ exports.Checkbox = index$1.default;
26
+ exports.DotsLoader = index$2.default;
27
+ exports.Grid = index$3.default;
28
+ exports.Switch = index$4.default;
29
+ exports.THEMES = index$5.THEMES;
30
+ exports.ThemeProvider = index$5.ThemeProvider;
31
+ exports.Typography = index$6.default;
28
32
  exports.Burger = Burger.default;
29
33
  exports.Check = Check.default;
30
34
  exports.Chevron = Chevron.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colibri-ui",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "React UI components library",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -33,7 +33,6 @@
33
33
  "@babel/preset-env": "7.24.5",
34
34
  "@babel/preset-react": "7.24.1",
35
35
  "@babel/preset-typescript": "7.24.1",
36
- "@chromatic-com/storybook": "1.3.5",
37
36
  "@emotion/babel-plugin": "11.11.0",
38
37
  "@eslint/js": "9.2.0",
39
38
  "@rollup/plugin-babel": "6.0.4",
@@ -54,7 +53,6 @@
54
53
  "@svgr/rollup": "8.1.0",
55
54
  "@swc/plugin-emotion": "^3.0.4",
56
55
  "@types/react": "18.3.1",
57
- "chromatic": "^11.3.5",
58
56
  "eslint": "8.57.0",
59
57
  "eslint-config-prettier": "9.1.0",
60
58
  "eslint-plugin-import": "^2.29.1",