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.
@@ -21,6 +21,8 @@ export var Link = function Link(_ref) {
21
21
  "data-monochrome": monochrome
22
22
  }, external && {
23
23
  target: '_blank'
24
+ }, {
25
+ external: external
24
26
  }, props), /*#__PURE__*/React.createElement(Typography, {
25
27
  variant: "body1",
26
28
  as: "span"
@@ -2,3 +2,4 @@ import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
4
  export declare const Default: any;
5
+ export declare const WithinParagraph: any;
@@ -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
- })(["display:flex;align-items:center;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;}"], Blue.S99, Neutral.B18, Neutral.B00, Neutral.B00, Neutral.B18, Blue.S100, Blue.S100, Blue.S99, space2, space2);
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);
@@ -26,6 +26,8 @@ var Link = function Link(_ref) {
26
26
  "data-monochrome": monochrome
27
27
  }, external && {
28
28
  target: '_blank'
29
+ }, {
30
+ external: external
29
31
  }, props), /*#__PURE__*/_react["default"].createElement(_Typography.Typography, {
30
32
  variant: "body1",
31
33
  as: "span"
@@ -2,3 +2,4 @@ import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
4
  export declare const Default: any;
5
+ export declare const WithinParagraph: any;
@@ -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
- })(["display:flex;align-items:center;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;}"], _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
+ })(["", " 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glints-aries",
3
- "version": "4.0.370",
3
+ "version": "4.0.371",
4
4
  "description": "Glints ui-kit for frontend",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",