@bikdotai/bik-component-library 0.0.510-beta-007 → 0.0.510-beta-009
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/dist/cjs/components/action-button/ActionButton.styled.d.ts +1 -0
- package/dist/cjs/components/action-button/ActionButton.styled.js +6 -4
- package/dist/esm/components/action-button/ActionButton.styled.d.ts +1 -0
- package/dist/esm/components/action-button/ActionButton.styled.js +6 -4
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),r=require("../../constants/Theme.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const t=o(e).default.div`
|
|
2
|
+
width: ${e=>{var r;return null!==(r=e.width)&&void 0!==r?r:"100%"}};
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: row;
|
|
4
5
|
justify-content: center;
|
|
@@ -8,14 +9,15 @@
|
|
|
8
9
|
box-shadow: ${e=>e.isConfigured||e.isSelected||e.isError?"0px 2px 8px 0px #0000001f":""};
|
|
9
10
|
background-color: white;
|
|
10
11
|
border-radius: 4px;
|
|
11
|
-
border: ${e=>{var
|
|
12
|
+
border: ${e=>{var o;return null!==(o=e.border)&&void 0!==o?o:`1px solid ${r.BASE_COLORS.grayscale[200]}`}};
|
|
12
13
|
cursor: pointer;
|
|
13
14
|
:hover {
|
|
14
|
-
background-color: ${e=>e.isSelected||e.isError?"":
|
|
15
|
+
background-color: ${e=>e.isSelected||e.isError?"":r.BASE_COLORS.grayscale[200]};
|
|
16
|
+
border: 1px dashed ${r.BASE_COLORS.grayscale[400]};
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
.action__icon {
|
|
18
20
|
height: 20px;
|
|
19
21
|
width: 20px;
|
|
20
22
|
}
|
|
21
|
-
`;exports.ActionButtonContainer=
|
|
23
|
+
`;exports.ActionButtonContainer=t;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import r from"styled-components";const
|
|
1
|
+
import r from"styled-components";import{BASE_COLORS as e}from"../../constants/Theme.js";const o=r.div`
|
|
2
|
+
width: ${r=>{var e;return null!==(e=r.width)&&void 0!==e?e:"100%"}};
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: row;
|
|
4
5
|
justify-content: center;
|
|
@@ -8,14 +9,15 @@ import r from"styled-components";const e=r.div`
|
|
|
8
9
|
box-shadow: ${r=>r.isConfigured||r.isSelected||r.isError?"0px 2px 8px 0px #0000001f":""};
|
|
9
10
|
background-color: white;
|
|
10
11
|
border-radius: 4px;
|
|
11
|
-
border: ${r=>{var
|
|
12
|
+
border: ${r=>{var o;return null!==(o=r.border)&&void 0!==o?o:`1px solid ${e.grayscale[200]}`}};
|
|
12
13
|
cursor: pointer;
|
|
13
14
|
:hover {
|
|
14
|
-
background-color: ${r=>r.isSelected||r.isError?"":
|
|
15
|
+
background-color: ${r=>r.isSelected||r.isError?"":e.grayscale[200]};
|
|
16
|
+
border: 1px dashed ${e.grayscale[400]};
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
.action__icon {
|
|
18
20
|
height: 20px;
|
|
19
21
|
width: 20px;
|
|
20
22
|
}
|
|
21
|
-
`;export{
|
|
23
|
+
`;export{o as ActionButtonContainer};
|