@synerise/ds-button 0.18.0 → 0.18.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/CHANGELOG.md +19 -0
- package/dist/Creator/Creator.styles.js +4 -7
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [0.18.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.18.1...@synerise/ds-button@0.18.2) (2023-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.18.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.18.0...@synerise/ds-button@0.18.1) (2023-09-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **button:** creator and item picker large background changed ([250e6ee](https://github.com/synerise/synerise-design/commit/250e6ee5b0d5074639bf66339a47df8220bf692e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.18.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.17.20...@synerise/ds-button@0.18.0) (2023-08-20)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -35,7 +35,7 @@ export var Creator = styled(function (_ref3) {
|
|
|
35
35
|
}).withConfig({
|
|
36
36
|
displayName: "Creatorstyles__Creator",
|
|
37
37
|
componentId: "sc-1w96u6h-1"
|
|
38
|
-
})(["&&&{width:", ";opacity:", ";height:48px;", " padding:0;border-radius:3px;border:1px dashed ", ";background:
|
|
38
|
+
})(["&&&{width:", ";opacity:", ";height:48px;", " padding:0;border-radius:3px;border:1px dashed ", ";background:transparent;transition:all 0.3s ease;justify-content:", ";align-items:center;", "{margin:auto 12px;svg{transition:all 0.3s ease;color:", ";fill:", ";}}", "{background-color:", ";}", "{display:none;}&:hover:not(:disabled){", "{svg{color:", " !important;fill:", " !important;}}", "{color:", ";}}&:hover:not(:disabled):not(:focus){border:1px dashed ", ";background-color:", ";}", " &:focus:active{border:1px dashed ", " !important;box-shadow:none;background-color:", ";}&:focus{border:1px dashed ", ";box-shadow:none;}&:disabled{border-color:", ";background-color:", ";}", " ", "}"], function (props) {
|
|
39
39
|
if (!props.withLabel) return '48px';
|
|
40
40
|
if (props.block) return '100%';
|
|
41
41
|
return 'auto';
|
|
@@ -46,9 +46,6 @@ export var Creator = styled(function (_ref3) {
|
|
|
46
46
|
}, function (_ref4) {
|
|
47
47
|
var theme = _ref4.theme;
|
|
48
48
|
return theme.palette['grey-400'];
|
|
49
|
-
}, function (_ref5) {
|
|
50
|
-
var theme = _ref5.theme;
|
|
51
|
-
return theme.palette.white;
|
|
52
49
|
}, function (props) {
|
|
53
50
|
return props.withLabel ? "flex-start" : 'center';
|
|
54
51
|
}, IconContainer, function (props) {
|
|
@@ -63,11 +60,11 @@ export var Creator = styled(function (_ref3) {
|
|
|
63
60
|
return props.theme.palette['grey-600'];
|
|
64
61
|
}, CreatorLabel, function (props) {
|
|
65
62
|
return props.theme.palette['grey-600'];
|
|
63
|
+
}, function (_ref5) {
|
|
64
|
+
var theme = _ref5.theme;
|
|
65
|
+
return theme.palette['grey-400'];
|
|
66
66
|
}, function (_ref6) {
|
|
67
67
|
var theme = _ref6.theme;
|
|
68
|
-
return theme.palette['grey-400'];
|
|
69
|
-
}, function (_ref7) {
|
|
70
|
-
var theme = _ref7.theme;
|
|
71
68
|
return hexToRgba(theme.palette['grey-200'], 0.2);
|
|
72
69
|
}, function (props) {
|
|
73
70
|
return props.pressed && "&&{ background-color: " + hexToRgba(props.theme.palette['grey-200'], 0.4) + "; }";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Button UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -32,16 +32,18 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-icon": "^0.58.
|
|
35
|
+
"@synerise/ds-icon": "^0.58.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@synerise/ds-core": "*",
|
|
39
|
-
"antd": "
|
|
40
|
-
"react": ">=16.9.0 < 17.0.0"
|
|
39
|
+
"antd": "4.7.0",
|
|
40
|
+
"react": ">=16.9.0 < 17.0.0",
|
|
41
|
+
"styled-components": "5.0.1"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@synerise/ds-utils": "^0.
|
|
44
|
+
"@synerise/ds-utils": "^0.24.16",
|
|
45
|
+
"@testing-library/react": "10.0.1",
|
|
44
46
|
"csstype": "2.6.9"
|
|
45
47
|
},
|
|
46
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
|
|
47
49
|
}
|