@synerise/ds-button 0.17.20 → 0.18.1
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 +22 -0
- package/dist/Creator/Creator.styles.js +4 -7
- package/dist/index.js +0 -1
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.18.0...@synerise/ds-button@0.18.1) (2023-09-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **button:** creator and item picker large background changed ([250e6ee](https://github.com/synerise/synerise-design/commit/250e6ee5b0d5074639bf66339a47df8220bf692e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **modal:** create modal footer, header and refactor modal ([ab3603f](https://github.com/synerise/synerise-design/commit/ab3603f5d8ac379ad1700b4a9904f340cd50315a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [0.17.20](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.17.19...@synerise/ds-button@0.17.20) (2023-07-26)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @synerise/ds-button
|
|
@@ -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/dist/index.js
CHANGED
|
@@ -23,7 +23,6 @@ var Button = /*#__PURE__*/function (_React$Component) {
|
|
|
23
23
|
|
|
24
24
|
var _proto = Button.prototype;
|
|
25
25
|
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
27
26
|
_proto.render = function render() {
|
|
28
27
|
return /*#__PURE__*/React.createElement(MainButton, this.props);
|
|
29
28
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.1",
|
|
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.1"
|
|
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.15",
|
|
45
|
+
"@testing-library/react": "10.0.1",
|
|
44
46
|
"csstype": "2.6.9"
|
|
45
47
|
},
|
|
46
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a2b1a3a78d87edfdbe97ae2f66573f4736f30e8b"
|
|
47
49
|
}
|