@equinor/eds-core-react 0.35.0 → 0.35.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/dist/eds-core-react.cjs
CHANGED
|
@@ -1305,10 +1305,7 @@ var StyledTypography$1 = styled__default.default.p.withConfig({
|
|
|
1305
1305
|
});
|
|
1306
1306
|
}, function (_ref3) {
|
|
1307
1307
|
var $lines = _ref3.$lines;
|
|
1308
|
-
return (
|
|
1309
|
-
//https://caniuse.com/#feat=css-line-clamp
|
|
1310
|
-
$lines > 0 && styled.css(["&{display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}"], $lines)
|
|
1311
|
-
);
|
|
1308
|
+
return $lines && styled.css(["display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"], $lines);
|
|
1312
1309
|
}, function (_ref4) {
|
|
1313
1310
|
var $link = _ref4.$link;
|
|
1314
1311
|
return $link && styled.css(["&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}"], edsUtils.outlineTemplate(link.states.focus.outline), edsUtils.outlineTemplate(link.states.focus.outline));
|
|
@@ -63,10 +63,7 @@ var StyledTypography = styled.p.withConfig({
|
|
|
63
63
|
});
|
|
64
64
|
}, function (_ref3) {
|
|
65
65
|
var $lines = _ref3.$lines;
|
|
66
|
-
return (
|
|
67
|
-
//https://caniuse.com/#feat=css-line-clamp
|
|
68
|
-
$lines > 0 && css(["&{display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}"], $lines)
|
|
69
|
-
);
|
|
66
|
+
return $lines && css(["display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"], $lines);
|
|
70
67
|
}, function (_ref4) {
|
|
71
68
|
var $link = _ref4.$link;
|
|
72
69
|
return $link && css(["&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}"], outlineTemplate(link.states.focus.outline), outlineTemplate(link.states.focus.outline));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/eds-core-react",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.1",
|
|
4
4
|
"description": "The React implementation of the Equinor Design System",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"@tanstack/react-virtual": "3.0.0-beta.54",
|
|
87
87
|
"downshift": "^8.2.3",
|
|
88
88
|
"@equinor/eds-icons": "^0.20.0",
|
|
89
|
-
"@equinor/eds-
|
|
90
|
-
"@equinor/eds-
|
|
89
|
+
"@equinor/eds-utils": "0.8.3",
|
|
90
|
+
"@equinor/eds-tokens": "0.9.2"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
93
|
"pnpm": ">=4",
|