glints-aries 4.0.370 → 4.0.371
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/es/@next/Link/Link.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Blue, Neutral } from '../utilities/colors';
|
|
3
3
|
import { space2 } from '../utilities/spacing';
|
|
4
|
+
var centerAlign = "\n vertical-align: middle;\n\n svg {\n vertical-align: middle;\n }\n";
|
|
4
5
|
export var StyledLink = styled.a.withConfig({
|
|
5
6
|
displayName: "LinkStyle__StyledLink",
|
|
6
7
|
componentId: "sc-usx229-0"
|
|
7
|
-
})(["
|
|
8
|
+
})(["", " color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";svg{fill:", ";}}svg{fill:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], function (_ref) {
|
|
9
|
+
var external = _ref.external;
|
|
10
|
+
return external && centerAlign;
|
|
11
|
+
}, Blue.S99, Neutral.B18, Neutral.B00, Neutral.B00, Neutral.B18, Blue.S100, Blue.S100, Blue.S99, space2, space2);
|
package/lib/@next/Link/Link.js
CHANGED
|
@@ -6,8 +6,12 @@ exports.StyledLink = void 0;
|
|
|
6
6
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
7
7
|
var _colors = require("../utilities/colors");
|
|
8
8
|
var _spacing = require("../utilities/spacing");
|
|
9
|
+
var centerAlign = "\n vertical-align: middle;\n\n svg {\n vertical-align: middle;\n }\n";
|
|
9
10
|
var StyledLink = _styledComponents["default"].a.withConfig({
|
|
10
11
|
displayName: "LinkStyle__StyledLink",
|
|
11
12
|
componentId: "sc-usx229-0"
|
|
12
|
-
})(["
|
|
13
|
+
})(["", " color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";svg{fill:", ";}}svg{fill:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], function (_ref) {
|
|
14
|
+
var external = _ref.external;
|
|
15
|
+
return external && centerAlign;
|
|
16
|
+
}, _colors.Blue.S99, _colors.Neutral.B18, _colors.Neutral.B00, _colors.Neutral.B00, _colors.Neutral.B18, _colors.Blue.S100, _colors.Blue.S100, _colors.Blue.S99, _spacing.space2, _spacing.space2);
|
|
13
17
|
exports.StyledLink = StyledLink;
|