aeb-ui-kit 2.0.0 → 2.0.2

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 CHANGED
@@ -1,24 +1,23 @@
1
1
  # AebUiKit
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.6.
3
+ Инструкция разработки:
4
4
 
5
- ## Code scaffolding
5
+ 1. npm install
6
+ 2. npm start
7
+ 3. http://localhost:6006/
6
8
 
7
- Run `ng generate component component-name --project aeb-ui-kit` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project aeb-ui-kit`.
8
- > Note: Don't forget to add `--project aeb-ui-kit` or else it will be added to the default project in your `angular.json` file.
9
+ Инструкция сборки и публикации:
9
10
 
10
- ## Build
11
+ 1. npm run build:publish
12
+ 2. npm run publish
11
13
 
12
- Run `ng build aeb-ui-kit` to build the project. The build artifacts will be stored in the `dist/` directory.
14
+ Если не помогла инструкция разработки:
13
15
 
14
- ## Publishing
16
+ 1. npm install
17
+ 2. npm run start
15
18
 
16
- After building your library with `ng build aeb-ui-kit`, go to the dist folder `cd dist/aeb-ui-kit` and run `npm publish`.
19
+ Инструкция по использованию в проекте:
17
20
 
18
- ## Running unit tests
19
-
20
- Run `ng test aeb-ui-kit` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
21
+ 1. `npm install aeb-ui-kit`
22
+ 2. В `angular.json` добавить стили в массивы "architect > build > options > styles" и "architect > test > options > styles" путь до CSS-файла со стилями: `"./node_modules/aeb-ui-kit/styles.css"`
23
+ 3. Запустить проект (например, `npm start`)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "aeb-ui-kit",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "peerDependencies": {
5
- "@angular/common": "^14.3.0",
6
- "@angular/core": "^14.3.0",
5
+ "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0",
6
+ "@angular/core": "^13.0.0 || ^14.0.0 || ^15.0.0",
7
7
  "date-fns": "2.28.0",
8
- "ngx-mask": "^13.1.15"
8
+ "ngx-mask": "^14.2.4"
9
9
  },
10
10
  "dependencies": {
11
11
  "tslib": "^2.0.0"
@@ -30,4 +30,4 @@
30
30
  }
31
31
  },
32
32
  "sideEffects": false
33
- }
33
+ }
@@ -1,89 +1,106 @@
1
- :root {
2
- /**
3
- * White
4
- */
5
- --white: #fff;
6
- --white-hover: #f1f8ff;
7
- --white-active: #e6f2ff;
8
- --white-primary: #fafafa;
9
- --web-white: #f8fbfc;
10
-
11
- /**
12
- * Blue
13
- */
14
- --blue: #2f88f0;
15
- --blue-hover: #288cff;
16
- --blue-active: #2c7dda;
17
- --blue-turquoise: #00b1e9;
18
- --active-gradient: linear-gradient(180deg, #11bef4 0%, #02d1c5 100%);
19
-
20
- /**
21
- * Light blue
22
- */
23
- --lightblue: #d5e8fc;
24
- --lightblue-hover: #e8f2fd;
25
- --lightblue-active: #c6daf0;
26
-
27
- /**
28
- * Dark blue
29
- */
30
- --darkblue: #27303e;
31
- --darkblue-hover: #2c3747;
32
- --darkblue-active: #232b38;
33
-
34
- /**
35
- * Gray
36
- */
37
- --gray: #94a8be;
38
- --gray-hover: #9cb2c9;
39
- --gray-active: #889db4;
40
- --gray-primary: #a3aaae;
41
- --gray-8c: #8c99a5;
42
-
43
- /**
44
- * Light gray
45
- */
46
- --lightgray: #e1e4e7;
47
- --lightgray-hover: #eff0f1;
48
- --lightgray-active: #d1d5d8;
49
- --lightgray-secondary: #f0f0f0;
50
-
51
- /**
52
- * Red
53
- */
54
- --red: #ff3055;
55
- --red-hover: #ff3055;
56
- --red-active: #ec4362;
57
-
58
- /**
59
- * Light red
60
- */
61
- --lightred: #ffe0e6;
62
- --lightred-hover: #ffe9ed;
63
- --lightred-active: #fcd8df;
64
-
65
- /**
66
- * Green
67
- */
68
- --green: #00bf41;
69
- --green-hover: #01c944;
70
- --green-active: #02ac3b;
71
-
72
- /**
73
- * Yellow
74
- */
75
- --yellow: #f2c94c;
76
- --yellow-hover: #f7d05b;
77
- --yellow-active: #e6bd45;
78
-
79
- --light-gray: #e2e2e2;
80
- --middle-gray: #e7eaec;
81
- --light-blue: #d5e8fc;
82
- --blue: #2f88f0;
83
- --secondary-light-gray: #e1e4e7;
84
- --secondary-web-ligth-sky: #f8fbfc;
85
- --others-destructive: #ff3055;
86
- --others-green: #00bf41;
87
- --others-turquoise: #00B1E9;
88
- --others-turquoise-active: linear-gradient(180deg, #11BEF4 0%, #02D1C5 100%);
89
- }
1
+ :root {
2
+ /**
3
+ * White
4
+ */
5
+ --white: #fff;
6
+ --white-hover: #f1f8ff;
7
+ --white-active: #e6f2ff;
8
+ --white-primary: #fafafa;
9
+ --web-white: #f8fbfc;
10
+ /**
11
+ * Blue
12
+ */
13
+ --blue: #2f88f0;
14
+ --blue-hover: #288cff;
15
+ --blue-active: #2c7dda;
16
+ --blue-turquoise: #00b1e9;
17
+ --active-gradient: linear-gradient(180deg, #11bef4 0%, #02d1c5 100%);
18
+ /**
19
+ * Light blue
20
+ */
21
+ --lightblue: #d5e8fc;
22
+ --lightblue-hover: #e8f2fd;
23
+ --lightblue-active: #c6daf0;
24
+ /**
25
+ * Dark blue
26
+ */
27
+ --darkblue: #27303e;
28
+ --darkblue-hover: #2c3747;
29
+ --darkblue-active: #232b38;
30
+ /**
31
+ * Gray
32
+ */
33
+ --gray: #94a8be;
34
+ --gray-hover: #9cb2c9;
35
+ --gray-active: #889db4;
36
+ --gray-primary: #a3aaae;
37
+ --gray-8c: #8c99a5;
38
+ /**
39
+ * Light gray
40
+ */
41
+ --lightgray: #e1e4e7;
42
+ --lightgray-hover: #eff0f1;
43
+ --lightgray-active: #d1d5d8;
44
+ --lightgray-secondary: #f0f0f0;
45
+ /**
46
+ * Red
47
+ */
48
+ --red: #ff3055;
49
+ --red-hover: #ff3055;
50
+ --red-active: #ec4362;
51
+ /**
52
+ * Light red
53
+ */
54
+ --lightred: #ffe0e6;
55
+ --lightred-hover: #ffe9ed;
56
+ --lightred-active: #fcd8df;
57
+ /**
58
+ * Green
59
+ */
60
+ --green: #00bf41;
61
+ --green-hover: #01c944;
62
+ --green-active: #02ac3b;
63
+ /**
64
+ * Yellow
65
+ */
66
+ --yellow: #f2c94c;
67
+ --yellow-hover: #f7d05b;
68
+ --yellow-active: #e6bd45;
69
+ --light-gray: #e2e2e2;
70
+ --middle-gray: #e7eaec;
71
+ --light-blue: #d5e8fc;
72
+ --blue: #2f88f0;
73
+ --secondary-light-gray: #e1e4e7;
74
+ --secondary-web-ligth-sky: #f8fbfc;
75
+ --others-destructive: #ff3055;
76
+ --others-green: #00bf41;
77
+ --others-turquoise: #00B1E9;
78
+ --others-turquoise-active: linear-gradient(180deg, #11BEF4 0%, #02D1C5 100%);
79
+ }
80
+
81
+ @font-face {
82
+ font-family: "Roboto";
83
+ font-style: normal;
84
+ src: url(./assets/fonts/Roboto-Regular.ttf) format("truetype");
85
+ font-weight: 400;
86
+ }
87
+ @font-face {
88
+ font-family: "Roboto";
89
+ font-style: normal;
90
+ src: url(./assets/fonts/Roboto-Medium.ttf) format("truetype");
91
+ font-weight: 500;
92
+ }
93
+ @font-face {
94
+ font-family: "Roboto";
95
+ font-style: normal;
96
+ src: url(./assets/fonts/Roboto-Bold.ttf) format("truetype");
97
+ font-weight: 700;
98
+ }
99
+ /**
100
+ * Global styles
101
+ */
102
+ html {
103
+ font-family: "Roboto", sans-serif;
104
+ -webkit-font-smoothing: antialiased;
105
+ -moz-osx-font-smoothing: grayscale;
106
+ }
@@ -1,12 +0,0 @@
1
- @import "./variables.scss";
2
- @import "./typography.scss";
3
-
4
- /**
5
- * Global styles
6
- */
7
-
8
- html {
9
- font-family: "Roboto", sans-serif;
10
- -webkit-font-smoothing: antialiased;
11
- -moz-osx-font-smoothing: grayscale;
12
- }
@@ -1,20 +0,0 @@
1
- @font-face {
2
- font-family: "Roboto";
3
- font-style: normal;
4
- src: url(./assets/fonts/Roboto-Regular.ttf) format("truetype");
5
- font-weight: 400;
6
- }
7
-
8
- @font-face {
9
- font-family: "Roboto";
10
- font-style: normal;
11
- src: url(./assets/fonts/Roboto-Medium.ttf) format("truetype");
12
- font-weight: 500;
13
- }
14
-
15
- @font-face {
16
- font-family: "Roboto";
17
- font-style: normal;
18
- src: url(./assets/fonts/Roboto-Bold.ttf) format("truetype");
19
- font-weight: 700;
20
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes