@elliemae/ds-card 2.0.0-alpha.9 → 2.0.0-next.4
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/cjs/detail/styled.js +1 -5
- package/cjs/v2/Group.js +1 -1
- package/cjs/v2/components.js +1 -1
- package/esm/detail/styled.js +1 -5
- package/esm/v2/Group.js +1 -1
- package/esm/v2/components.js +1 -1
- package/package.json +10 -10
- package/cjs/package.json +0 -7
- package/esm/package.json +0 -7
package/cjs/detail/styled.js
CHANGED
|
@@ -43,11 +43,7 @@ const background = ({
|
|
|
43
43
|
|
|
44
44
|
const Container = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
|
|
45
45
|
componentId: "sc-nx8lwv-7"
|
|
46
|
-
})(["width:100%;min-height:52px;min-width:244px;padding:6px 8px 6px 12px;position:relative;border-top:1px solid ", ";border-bottom:1px solid ", ";background:", ";", " &:hover{box-shadow:0 2px 4px 0 rgba(53,60,70,0.5);z-index:1;}"], border, border, background, props => props.disabled ?
|
|
47
|
-
${Title}, ${Description}, ${RightDescription}, ${RightValue} {
|
|
48
|
-
color: ${props.theme.colors.neutral['500']};
|
|
49
|
-
}
|
|
50
|
-
` : '');
|
|
46
|
+
})(["width:100%;min-height:52px;min-width:244px;padding:6px 8px 6px 12px;position:relative;border-top:1px solid ", ";border-bottom:1px solid ", ";background:", ";", " &:hover{box-shadow:0 2px 4px 0 rgba(53,60,70,0.5);z-index:1;}"], border, border, background, props => props.disabled ? "\n ".concat(Title, ", ").concat(Description, ", ").concat(RightDescription, ", ").concat(RightValue, " {\n color: ").concat(props.theme.colors.neutral['500'], ";\n }\n ") : '');
|
|
51
47
|
|
|
52
48
|
exports.Container = Container;
|
|
53
49
|
exports.Description = Description;
|
package/cjs/v2/Group.js
CHANGED
|
@@ -19,7 +19,7 @@ const Group = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
|
19
19
|
})(["display:flex;flex-direction:column;width:100%;max-width:100%;", "{border-top:none;}", ""], Card.CustomCard, ({
|
|
20
20
|
theme,
|
|
21
21
|
withTopBorder
|
|
22
|
-
}) => withTopBorder ?
|
|
22
|
+
}) => withTopBorder ? "border-top: ".concat(theme.colors.neutral['100']) : '');
|
|
23
23
|
const GroupTitle = /*#__PURE__*/styled__default["default"].span.withConfig({
|
|
24
24
|
componentId: "sc-1y2lfoo-1"
|
|
25
25
|
})(["", ""], dsSystem.truncate());
|
package/cjs/v2/components.js
CHANGED
|
@@ -14,7 +14,7 @@ const CardContainer = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withC
|
|
|
14
14
|
})(["align-items:center;justify-content:space-between;width:100%;height:56px;padding:8px 16px;position:relative;border:", ";&:before{content:'';border-bottom:1px solid ", ";position:absolute;margin:0 auto;width:90%;bottom:0;}&:last-child::before{content:none;}"], ({
|
|
15
15
|
theme,
|
|
16
16
|
hasBorder
|
|
17
|
-
}) => hasBorder ?
|
|
17
|
+
}) => hasBorder ? "1px solid ".concat(theme.colors.neutral['100']) : '', props => props.theme.colors.neutral['100']);
|
|
18
18
|
const LeftSection = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
19
19
|
componentId: "sc-1cjakml-1"
|
|
20
20
|
})(["display:flex;align-items:center;"]);
|
package/esm/detail/styled.js
CHANGED
|
@@ -35,10 +35,6 @@ const background = ({
|
|
|
35
35
|
|
|
36
36
|
const Container = /*#__PURE__*/styled(Grid).withConfig({
|
|
37
37
|
componentId: "sc-nx8lwv-7"
|
|
38
|
-
})(["width:100%;min-height:52px;min-width:244px;padding:6px 8px 6px 12px;position:relative;border-top:1px solid ", ";border-bottom:1px solid ", ";background:", ";", " &:hover{box-shadow:0 2px 4px 0 rgba(53,60,70,0.5);z-index:1;}"], border, border, background, props => props.disabled ?
|
|
39
|
-
${Title}, ${Description}, ${RightDescription}, ${RightValue} {
|
|
40
|
-
color: ${props.theme.colors.neutral['500']};
|
|
41
|
-
}
|
|
42
|
-
` : '');
|
|
38
|
+
})(["width:100%;min-height:52px;min-width:244px;padding:6px 8px 6px 12px;position:relative;border-top:1px solid ", ";border-bottom:1px solid ", ";background:", ";", " &:hover{box-shadow:0 2px 4px 0 rgba(53,60,70,0.5);z-index:1;}"], border, border, background, props => props.disabled ? "\n ".concat(Title, ", ").concat(Description, ", ").concat(RightDescription, ", ").concat(RightValue, " {\n color: ").concat(props.theme.colors.neutral['500'], ";\n }\n ") : '');
|
|
43
39
|
|
|
44
40
|
export { Container, Description, ExpandContent, RightAddon, RightDescription, RightValue, Separator, Title };
|
package/esm/v2/Group.js
CHANGED
|
@@ -10,7 +10,7 @@ const Group = /*#__PURE__*/styled.div.withConfig({
|
|
|
10
10
|
})(["display:flex;flex-direction:column;width:100%;max-width:100%;", "{border-top:none;}", ""], CustomCard, ({
|
|
11
11
|
theme,
|
|
12
12
|
withTopBorder
|
|
13
|
-
}) => withTopBorder ?
|
|
13
|
+
}) => withTopBorder ? "border-top: ".concat(theme.colors.neutral['100']) : '');
|
|
14
14
|
const GroupTitle = /*#__PURE__*/styled.span.withConfig({
|
|
15
15
|
componentId: "sc-1y2lfoo-1"
|
|
16
16
|
})(["", ""], truncate());
|
package/esm/v2/components.js
CHANGED
|
@@ -6,7 +6,7 @@ const CardContainer = /*#__PURE__*/styled(Grid).withConfig({
|
|
|
6
6
|
})(["align-items:center;justify-content:space-between;width:100%;height:56px;padding:8px 16px;position:relative;border:", ";&:before{content:'';border-bottom:1px solid ", ";position:absolute;margin:0 auto;width:90%;bottom:0;}&:last-child::before{content:none;}"], ({
|
|
7
7
|
theme,
|
|
8
8
|
hasBorder
|
|
9
|
-
}) => hasBorder ?
|
|
9
|
+
}) => hasBorder ? "1px solid ".concat(theme.colors.neutral['100']) : '', props => props.theme.colors.neutral['100']);
|
|
10
10
|
const LeftSection = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
componentId: "sc-1cjakml-1"
|
|
12
12
|
})(["display:flex;align-items:center;"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-card",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-next.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Card",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"build": "node ../../scripts/build/build.js"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@elliemae/ds-button": "2.0.0-
|
|
72
|
-
"@elliemae/ds-classnames": "2.0.0-
|
|
73
|
-
"@elliemae/ds-form": "2.0.0-
|
|
74
|
-
"@elliemae/ds-grid": "2.0.0-
|
|
75
|
-
"@elliemae/ds-header": "2.0.0-
|
|
76
|
-
"@elliemae/ds-icons": "2.0.0-
|
|
77
|
-
"@elliemae/ds-separator": "2.0.0-
|
|
78
|
-
"@elliemae/ds-system": "2.0.0-
|
|
79
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-
|
|
71
|
+
"@elliemae/ds-button": "2.0.0-next.4",
|
|
72
|
+
"@elliemae/ds-classnames": "2.0.0-next.4",
|
|
73
|
+
"@elliemae/ds-form": "2.0.0-next.4",
|
|
74
|
+
"@elliemae/ds-grid": "2.0.0-next.4",
|
|
75
|
+
"@elliemae/ds-header": "2.0.0-next.4",
|
|
76
|
+
"@elliemae/ds-icons": "2.0.0-next.4",
|
|
77
|
+
"@elliemae/ds-separator": "2.0.0-next.4",
|
|
78
|
+
"@elliemae/ds-system": "2.0.0-next.4",
|
|
79
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-next.4",
|
|
80
80
|
"react-desc": "~4.1.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
package/cjs/package.json
DELETED