@synerise/ds-action-area 0.4.0 → 0.4.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 +11 -0
- package/dist/ActionArea.styles.js +11 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-action-area@0.4.0...@synerise/ds-action-area@0.4.1) (2024-06-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **action-area:** add background color on validation ([78b4ad8](https://github.com/Synerise/synerise-design/commit/78b4ad86719427b7e95a1b125600a02c76a3b2a8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-action-area@0.3.25...@synerise/ds-action-area@0.4.0) (2024-05-29)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -10,18 +10,22 @@ export var ActionAreaWrapper = styled.div.withConfig({
|
|
|
10
10
|
export var ActionAreaContent = styled.div.withConfig({
|
|
11
11
|
displayName: "ActionAreastyles__ActionAreaContent",
|
|
12
12
|
componentId: "sc-10ey0kr-1"
|
|
13
|
-
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 24px;border-radius:3px;border:1px dashed ", ";", " .ds-title{margin-bottom:8px;text-align:center;word-break:break-word;}", "{margin-bottom:16px;text-align:center;word-break:break-word;}"], function (_ref2) {
|
|
14
|
-
var
|
|
15
|
-
|
|
13
|
+
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 24px;border-radius:3px;background-color:", ";border:1px dashed ", ";", " .ds-title{margin-bottom:8px;text-align:center;word-break:break-word;}", "{margin-bottom:16px;text-align:center;word-break:break-word;}"], function (_ref2) {
|
|
14
|
+
var isError = _ref2.isError,
|
|
15
|
+
theme = _ref2.theme;
|
|
16
|
+
return isError ? theme.palette['red-050'] : 'none';
|
|
16
17
|
}, function (_ref3) {
|
|
17
|
-
var
|
|
18
|
-
|
|
18
|
+
var theme = _ref3.theme;
|
|
19
|
+
return theme.palette['grey-300'];
|
|
20
|
+
}, function (_ref4) {
|
|
21
|
+
var isError = _ref4.isError,
|
|
22
|
+
theme = _ref4.theme;
|
|
19
23
|
return isError && "border-color: " + theme.palette['red-600'] + ";";
|
|
20
24
|
}, Description);
|
|
21
25
|
export var ErrorText = styled.div.withConfig({
|
|
22
26
|
displayName: "ActionAreastyles__ErrorText",
|
|
23
27
|
componentId: "sc-10ey0kr-2"
|
|
24
|
-
})(["margin-top:8px;color:", ";"], function (
|
|
25
|
-
var theme =
|
|
28
|
+
})(["margin-top:8px;color:", ";"], function (_ref5) {
|
|
29
|
+
var theme = _ref5.theme;
|
|
26
30
|
return theme.palette['red-600'];
|
|
27
31
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-action-area",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "ActionArea UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-button": "^0.
|
|
36
|
+
"@synerise/ds-button": "^0.21.0",
|
|
37
37
|
"@synerise/ds-typography": "^0.15.0",
|
|
38
38
|
"classnames": "2.3.2"
|
|
39
39
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@testing-library/jest-dom": "5.1.1",
|
|
48
48
|
"@testing-library/react": "10.0.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ef835e848d4f02cca258130baa6c9f44dfa15dd0"
|
|
51
51
|
}
|