@megafon/ui-core 4.0.1 → 4.1.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.1.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@4.0.2...@megafon/ui-core@4.1.0) (2022-09-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * **button:** changed white themed primary typed button hover color ([a6e6c98](https://github.com/MegafonWebLab/megafon-ui/commit/a6e6c98eb9716f3ba33d651f71dcb9e4298ad0a0))
12
+ * **color:** added grey button hover color ([b291e83](https://github.com/MegafonWebLab/megafon-ui/commit/b291e831bb9e35144cdf83895b43df4856a364cf))
13
+
14
+
15
+
16
+
17
+
18
+ ## [4.0.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@4.0.1...@megafon/ui-core@4.0.2) (2022-09-14)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * change ui-icons peer dependecy ([4936d3f](https://github.com/MegafonWebLab/megafon-ui/commit/4936d3f7d4b04d1dd8fde870c4b251f8ff36c958))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [4.0.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@4.0.0...@megafon/ui-core@4.0.1) (2022-09-14)
7
30
 
8
31
 
@@ -71,11 +71,14 @@ var colors = {
71
71
  code: 'background',
72
72
  border: '1px solid var(--spbSky2)'
73
73
  }, {
74
- name: 'Button Hov. G.',
74
+ name: 'Button Hov. Green',
75
75
  code: 'buttonHoverGreen'
76
76
  }, {
77
- name: 'Button Hov. P.',
77
+ name: 'Button Hov. Purple',
78
78
  code: 'buttonHoverPurple'
79
+ }, {
80
+ name: 'Button Hov. Grey',
81
+ code: 'buttonHoverGrey'
79
82
  }, {
80
83
  name: 'Button Down',
81
84
  code: 'buttonDown'
@@ -319,9 +319,9 @@
319
319
  }
320
320
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover {
321
321
  color: var(--stcBlack);
322
- background-color: var(--buttonHoverGreen);
323
- -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
324
- box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
322
+ background-color: var(--buttonHoverGrey);
323
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGrey);
324
+ box-shadow: inset 0 0 0 1px var(--buttonHoverGrey);
325
325
  }
326
326
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover svg {
327
327
  fill: var(--stcBlack);
@@ -77,11 +77,14 @@ var colors = {
77
77
  code: 'background',
78
78
  border: '1px solid var(--spbSky2)'
79
79
  }, {
80
- name: 'Button Hov. G.',
80
+ name: 'Button Hov. Green',
81
81
  code: 'buttonHoverGreen'
82
82
  }, {
83
- name: 'Button Hov. P.',
83
+ name: 'Button Hov. Purple',
84
84
  code: 'buttonHoverPurple'
85
+ }, {
86
+ name: 'Button Hov. Grey',
87
+ code: 'buttonHoverGrey'
85
88
  }, {
86
89
  name: 'Button Down',
87
90
  code: 'buttonDown'
@@ -319,9 +319,9 @@
319
319
  }
320
320
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover {
321
321
  color: var(--stcBlack);
322
- background-color: var(--buttonHoverGreen);
323
- -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
324
- box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
322
+ background-color: var(--buttonHoverGrey);
323
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGrey);
324
+ box-shadow: inset 0 0 0 1px var(--buttonHoverGrey);
325
325
  }
326
326
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover svg {
327
327
  fill: var(--stcBlack);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-core",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "styles"
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  },
45
45
  "peerDependencies": {
46
- "@megafon/ui-icons": "^0.0.2-beta.2",
46
+ "@megafon/ui-icons": "^2.0.0",
47
47
  "react": ">=16.13.0",
48
48
  "react-dom": ">=16.13.0"
49
49
  },
@@ -54,7 +54,7 @@
54
54
  "@babel/preset-env": "^7.8.6",
55
55
  "@babel/preset-react": "^7.8.3",
56
56
  "@babel/preset-typescript": "^7.8.3",
57
- "@megafon/ui-icons": "^2.0.0",
57
+ "@megafon/ui-icons": "^2.0.1",
58
58
  "@svgr/core": "^2.4.1",
59
59
  "@testing-library/react-hooks": "^7.0.1",
60
60
  "@types/enzyme": "^3.10.5",
@@ -86,7 +86,7 @@
86
86
  "dependencies": {
87
87
  "@babel/runtime": "^7.8.4",
88
88
  "@datepicker-react/hooks": "^2.7.0",
89
- "@megafon/ui-helpers": "^2.1.2",
89
+ "@megafon/ui-helpers": "^2.2.0",
90
90
  "@popperjs/core": "^2.5.3",
91
91
  "core-js": "^3.6.4",
92
92
  "date-fns": "^2.16.1",
@@ -97,5 +97,5 @@
97
97
  "react-popper": "^2.2.3",
98
98
  "swiper": "^6.5.6"
99
99
  },
100
- "gitHead": "0633ca221fdcbf7374dbb325997c58d72afe80d4"
100
+ "gitHead": "1429e7a01a2f0e9558a6f4085d6dd22170bc1ff7"
101
101
  }
package/styles/colors.css CHANGED
@@ -21,6 +21,7 @@
21
21
  --background: #FFFFFF;
22
22
  --buttonHoverGreen: #10E272;
23
23
  --buttonHoverPurple: #A500BF;
24
+ --buttonHoverGrey: #D6D6D6;
24
25
  --buttonDown: #404D46;
25
26
 
26
27
  /* Gradients */
@@ -22,6 +22,7 @@
22
22
  --background: #1F1F1F;
23
23
  --buttonHoverGreen: #10E272;
24
24
  --buttonHoverPurple: #A500BF;
25
+ --buttonHoverGrey: #D6D6D6;
25
26
  --buttonDown: #404D46;
26
27
 
27
28
  /* Gradients */