@semcore/link 5.44.0 → 5.44.1-prerelease.2
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/CHANGELOG.md +6 -0
- package/lib/cjs/Link.js +12 -12
- package/lib/es6/Link.js +12 -12
- package/lib/esm/Link.mjs +50 -50
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [5.44.1] - 2025-03-18
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [4.48.0 ~> 4.48.1], `@semcore/flex-box` [5.41.0 ~> 5.41.1], `@semcore/core` [2.39.0 ~> 2.39.1]).
|
|
10
|
+
|
|
5
11
|
## [5.44.0] - 2025-03-14
|
|
6
12
|
|
|
7
13
|
### Added
|
package/lib/cjs/Link.js
CHANGED
|
@@ -25,18 +25,18 @@ var _logger = _interopRequireDefault(require("@semcore/utils/lib/logger"));
|
|
|
25
25
|
var _hasLabels = _interopRequireDefault(require("@semcore/utils/lib/hasLabels"));
|
|
26
26
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
|
|
27
27
|
/*__reshadow-styles__:"./style/link.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
29
|
-
"__SLink": "
|
|
30
|
-
"_keyboardFocused": "
|
|
31
|
-
"_visually-disabled": "__visually-
|
|
32
|
-
"_noWrapText": "
|
|
33
|
-
"_inline": "
|
|
34
|
-
"__SAddon": "
|
|
35
|
-
"__SText": "
|
|
36
|
-
"_active": "
|
|
37
|
-
"_enableVisited": "
|
|
38
|
-
"_text-color": "__text-
|
|
39
|
-
"--text-color": "--text-
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLink_1lus8_gg_{display:inline-block;font-family:inherit;color:var(--intergalactic-text-link, #006dca);line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SLink_1lus8_gg_:active,.___SLink_1lus8_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SLink_1lus8_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SLink_1lus8_gg_::-moz-focus-inner{border:0;padding:0}.___SLink_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_:active{color:var(--intergalactic-text-link-hover-active, #044792)}@media (hover:hover){.___SLink_1lus8_gg_:hover{color:var(--intergalactic-text-link-hover-active, #044792)}}.___SLink_1lus8_gg_.__active_1lus8_gg_ .___SText_1lus8_gg_,.___SLink_1lus8_gg_:active .___SText_1lus8_gg_{border-color:currentColor}@media (hover:hover){.___SLink_1lus8_gg_:hover .___SText_1lus8_gg_{border-color:currentColor}}.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited{color:var(--intergalactic-text-link-visited, #8649e1)}@media (hover:hover){.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited:hover{color:var(--intergalactic-text-link-visited, #8649e1)}}.___SLink_1lus8_gg_.__keyboardFocused_1lus8_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 143, 248, 0.5));outline-style:solid;outline-width:3px}.___SLink_1lus8_gg_.__visually-disabled_1lus8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SLink_1lus8_gg_.__noWrapText_1lus8_gg_{white-space:nowrap}.___SLink_1lus8_gg_.__inline_1lus8_gg_{display:inline}.___SAddon_1lus8_gg_{display:inline-flex;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-05x, 2px);vertical-align:middle;pointer-events:none}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_1lus8_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLink_1lus8_gg_.__text-color_1lus8_gg_{color:var(--text-color_1lus8)}.___SLink_1lus8_gg_.__text-color_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_.__text-color_1lus8_gg_:active{color:var(--text-color_1lus8);filter:brightness(.8)}@media (hover:hover){.___SLink_1lus8_gg_.__text-color_1lus8_gg_:hover{color:var(--text-color_1lus8);filter:brightness(.8)}}@media (prefers-reduced-motion){.___SLink_1lus8_gg_,.___SText_1lus8_gg_{transition:none}}" /*__inner_css_end__*/, "1lus8_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__SLink": "___SLink_1lus8_gg_",
|
|
30
|
+
"_keyboardFocused": "__keyboardFocused_1lus8_gg_",
|
|
31
|
+
"_visually-disabled": "__visually-disabled_1lus8_gg_",
|
|
32
|
+
"_noWrapText": "__noWrapText_1lus8_gg_",
|
|
33
|
+
"_inline": "__inline_1lus8_gg_",
|
|
34
|
+
"__SAddon": "___SAddon_1lus8_gg_",
|
|
35
|
+
"__SText": "___SText_1lus8_gg_",
|
|
36
|
+
"_active": "__active_1lus8_gg_",
|
|
37
|
+
"_enableVisited": "__enableVisited_1lus8_gg_",
|
|
38
|
+
"_text-color": "__text-color_1lus8_gg_",
|
|
39
|
+
"--text-color": "--text-color_1lus8"
|
|
40
40
|
});
|
|
41
41
|
var RootLink = /*#__PURE__*/function (_Component) {
|
|
42
42
|
(0, _inherits2["default"])(RootLink, _Component);
|
package/lib/es6/Link.js
CHANGED
|
@@ -20,18 +20,18 @@ import logger from '@semcore/utils/lib/logger';
|
|
|
20
20
|
import hasLabels from '@semcore/utils/lib/hasLabels';
|
|
21
21
|
import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
|
|
22
22
|
/*__reshadow-styles__:"./style/link.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SLink": "
|
|
25
|
-
"_keyboardFocused": "
|
|
26
|
-
"_visually-disabled": "__visually-
|
|
27
|
-
"_noWrapText": "
|
|
28
|
-
"_inline": "
|
|
29
|
-
"__SAddon": "
|
|
30
|
-
"__SText": "
|
|
31
|
-
"_active": "
|
|
32
|
-
"_enableVisited": "
|
|
33
|
-
"_text-color": "__text-
|
|
34
|
-
"--text-color": "--text-
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLink_1lus8_gg_{display:inline-block;font-family:inherit;color:var(--intergalactic-text-link, #006dca);line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SLink_1lus8_gg_:active,.___SLink_1lus8_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SLink_1lus8_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SLink_1lus8_gg_::-moz-focus-inner{border:0;padding:0}.___SLink_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_:active{color:var(--intergalactic-text-link-hover-active, #044792)}@media (hover:hover){.___SLink_1lus8_gg_:hover{color:var(--intergalactic-text-link-hover-active, #044792)}}.___SLink_1lus8_gg_.__active_1lus8_gg_ .___SText_1lus8_gg_,.___SLink_1lus8_gg_:active .___SText_1lus8_gg_{border-color:currentColor}@media (hover:hover){.___SLink_1lus8_gg_:hover .___SText_1lus8_gg_{border-color:currentColor}}.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited{color:var(--intergalactic-text-link-visited, #8649e1)}@media (hover:hover){.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited:hover{color:var(--intergalactic-text-link-visited, #8649e1)}}.___SLink_1lus8_gg_.__keyboardFocused_1lus8_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 143, 248, 0.5));outline-style:solid;outline-width:3px}.___SLink_1lus8_gg_.__visually-disabled_1lus8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SLink_1lus8_gg_.__noWrapText_1lus8_gg_{white-space:nowrap}.___SLink_1lus8_gg_.__inline_1lus8_gg_{display:inline}.___SAddon_1lus8_gg_{display:inline-flex;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-05x, 2px);vertical-align:middle;pointer-events:none}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_1lus8_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLink_1lus8_gg_.__text-color_1lus8_gg_{color:var(--text-color_1lus8)}.___SLink_1lus8_gg_.__text-color_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_.__text-color_1lus8_gg_:active{color:var(--text-color_1lus8);filter:brightness(.8)}@media (hover:hover){.___SLink_1lus8_gg_.__text-color_1lus8_gg_:hover{color:var(--text-color_1lus8);filter:brightness(.8)}}@media (prefers-reduced-motion){.___SLink_1lus8_gg_,.___SText_1lus8_gg_{transition:none}}" /*__inner_css_end__*/, "1lus8_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SLink": "___SLink_1lus8_gg_",
|
|
25
|
+
"_keyboardFocused": "__keyboardFocused_1lus8_gg_",
|
|
26
|
+
"_visually-disabled": "__visually-disabled_1lus8_gg_",
|
|
27
|
+
"_noWrapText": "__noWrapText_1lus8_gg_",
|
|
28
|
+
"_inline": "__inline_1lus8_gg_",
|
|
29
|
+
"__SAddon": "___SAddon_1lus8_gg_",
|
|
30
|
+
"__SText": "___SText_1lus8_gg_",
|
|
31
|
+
"_active": "__active_1lus8_gg_",
|
|
32
|
+
"_enableVisited": "__enableVisited_1lus8_gg_",
|
|
33
|
+
"_text-color": "__text-color_1lus8_gg_",
|
|
34
|
+
"--text-color": "--text-color_1lus8"
|
|
35
35
|
});
|
|
36
36
|
var RootLink = /*#__PURE__*/function (_Component) {
|
|
37
37
|
_inherits(RootLink, _Component);
|
package/lib/esm/Link.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import C from "@babel/runtime/helpers/esm/createClass";
|
|
|
4
4
|
import f from "@babel/runtime/helpers/esm/assertThisInitialized";
|
|
5
5
|
import T from "@babel/runtime/helpers/esm/inherits";
|
|
6
6
|
import E from "@babel/runtime/helpers/esm/createSuper";
|
|
7
|
-
import
|
|
7
|
+
import l from "@babel/runtime/helpers/esm/defineProperty";
|
|
8
8
|
import { sstyled as P } from "@semcore/utils/lib/core/index";
|
|
9
|
-
import R, { sstyled as
|
|
9
|
+
import R, { sstyled as v, assignProps as k, Component as w } from "@semcore/core";
|
|
10
10
|
import i from "react";
|
|
11
11
|
import { Text as M } from "@semcore/typography";
|
|
12
12
|
import { Box as S } from "@semcore/flex-box";
|
|
@@ -20,68 +20,68 @@ var V = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(P.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
".
|
|
24
|
-
"
|
|
23
|
+
".___SLink_1lus8_gg_{display:inline-block;font-family:inherit;color:var(--intergalactic-text-link, #006dca);line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SLink_1lus8_gg_:active,.___SLink_1lus8_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SLink_1lus8_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SLink_1lus8_gg_::-moz-focus-inner{border:0;padding:0}.___SLink_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_:active{color:var(--intergalactic-text-link-hover-active, #044792)}@media (hover:hover){.___SLink_1lus8_gg_:hover{color:var(--intergalactic-text-link-hover-active, #044792)}}.___SLink_1lus8_gg_.__active_1lus8_gg_ .___SText_1lus8_gg_,.___SLink_1lus8_gg_:active .___SText_1lus8_gg_{border-color:currentColor}@media (hover:hover){.___SLink_1lus8_gg_:hover .___SText_1lus8_gg_{border-color:currentColor}}.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited{color:var(--intergalactic-text-link-visited, #8649e1)}@media (hover:hover){.___SLink_1lus8_gg_.__enableVisited_1lus8_gg_:visited:hover{color:var(--intergalactic-text-link-visited, #8649e1)}}.___SLink_1lus8_gg_.__keyboardFocused_1lus8_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 143, 248, 0.5));outline-style:solid;outline-width:3px}.___SLink_1lus8_gg_.__visually-disabled_1lus8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SLink_1lus8_gg_.__noWrapText_1lus8_gg_{white-space:nowrap}.___SLink_1lus8_gg_.__inline_1lus8_gg_{display:inline}.___SAddon_1lus8_gg_{display:inline-flex;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-05x, 2px);vertical-align:middle;pointer-events:none}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SLink_1lus8_gg_ .___SAddon_1lus8_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_1lus8_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SLink_1lus8_gg_.__text-color_1lus8_gg_{color:var(--text-color_1lus8)}.___SLink_1lus8_gg_.__text-color_1lus8_gg_.__active_1lus8_gg_,.___SLink_1lus8_gg_.__text-color_1lus8_gg_:active{color:var(--text-color_1lus8);filter:brightness(.8)}@media (hover:hover){.___SLink_1lus8_gg_.__text-color_1lus8_gg_:hover{color:var(--text-color_1lus8);filter:brightness(.8)}}@media (prefers-reduced-motion){.___SLink_1lus8_gg_,.___SText_1lus8_gg_{transition:none}}",
|
|
24
|
+
"1lus8_gg_"
|
|
25
25
|
), {
|
|
26
|
-
__SLink: "
|
|
27
|
-
_keyboardFocused: "
|
|
28
|
-
"_visually-disabled": "__visually-
|
|
29
|
-
_noWrapText: "
|
|
30
|
-
_inline: "
|
|
31
|
-
__SAddon: "
|
|
32
|
-
__SText: "
|
|
33
|
-
_active: "
|
|
34
|
-
_enableVisited: "
|
|
35
|
-
"_text-color": "__text-
|
|
36
|
-
"--text-color": "--text-
|
|
26
|
+
__SLink: "___SLink_1lus8_gg_",
|
|
27
|
+
_keyboardFocused: "__keyboardFocused_1lus8_gg_",
|
|
28
|
+
"_visually-disabled": "__visually-disabled_1lus8_gg_",
|
|
29
|
+
_noWrapText: "__noWrapText_1lus8_gg_",
|
|
30
|
+
_inline: "__inline_1lus8_gg_",
|
|
31
|
+
__SAddon: "___SAddon_1lus8_gg_",
|
|
32
|
+
__SText: "___SText_1lus8_gg_",
|
|
33
|
+
_active: "__active_1lus8_gg_",
|
|
34
|
+
_enableVisited: "__enableVisited_1lus8_gg_",
|
|
35
|
+
"_text-color": "__text-color_1lus8_gg_",
|
|
36
|
+
"--text-color": "--text-color_1lus8"
|
|
37
37
|
})
|
|
38
|
-
), h = /* @__PURE__ */ function(
|
|
39
|
-
T(o,
|
|
38
|
+
), h = /* @__PURE__ */ function(d) {
|
|
39
|
+
T(o, d);
|
|
40
40
|
var a = E(o);
|
|
41
41
|
function o() {
|
|
42
|
-
var
|
|
42
|
+
var _;
|
|
43
43
|
A(this, o);
|
|
44
|
-
for (var e = arguments.length, n = new Array(e),
|
|
45
|
-
n[
|
|
46
|
-
return
|
|
44
|
+
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
|
|
45
|
+
n[r] = arguments[r];
|
|
46
|
+
return _ = a.call.apply(a, [this].concat(n)), l(f(_), "containerRef", /* @__PURE__ */ i.createRef()), l(f(_), "state", {
|
|
47
47
|
ariaLabelledByContent: "",
|
|
48
48
|
visibleHint: !1
|
|
49
|
-
}),
|
|
50
|
-
|
|
49
|
+
}), l(f(_), "handleMouseEnterOnlyAddon", function() {
|
|
50
|
+
_.setState({
|
|
51
51
|
visibleHint: !0
|
|
52
52
|
});
|
|
53
|
-
}),
|
|
54
|
-
|
|
53
|
+
}), l(f(_), "handleMouseLeaveOnlyAddon", function() {
|
|
54
|
+
_.setState({
|
|
55
55
|
visibleHint: !1
|
|
56
56
|
});
|
|
57
|
-
}),
|
|
57
|
+
}), _;
|
|
58
58
|
}
|
|
59
59
|
return C(o, [{
|
|
60
60
|
key: "componentDidMount",
|
|
61
61
|
value: function() {
|
|
62
62
|
var e = this;
|
|
63
63
|
process.env.NODE_ENV !== "production" && F.warn(this.containerRef.current && !H(this.containerRef.current), "'title' or 'aria-label' or 'aria-labelledby' are required props for links without text content", this.asProps["data-ui-name"] || o.displayName), this.asProps["aria-labelledby"] && setTimeout(function() {
|
|
64
|
-
var n,
|
|
64
|
+
var n, r;
|
|
65
65
|
e.setState({
|
|
66
|
-
ariaLabelledByContent: (n = (
|
|
66
|
+
ariaLabelledByContent: (n = (r = document.getElementById(e.asProps["aria-labelledby"])) === null || r === void 0 ? void 0 : r.textContent) !== null && n !== void 0 ? n : ""
|
|
67
67
|
});
|
|
68
68
|
}, 0);
|
|
69
69
|
}
|
|
70
70
|
}, {
|
|
71
71
|
key: "renderChildren",
|
|
72
72
|
value: function() {
|
|
73
|
-
var e = this.asProps, n = e.Children,
|
|
74
|
-
return
|
|
75
|
-
tag:
|
|
76
|
-
}) : null, B(n,
|
|
77
|
-
tag:
|
|
73
|
+
var e = this.asProps, n = e.Children, r = e.styles, t = e.addonLeft, s = e.addonRight;
|
|
74
|
+
return v(r), /* @__PURE__ */ i.createElement(i.Fragment, null, t ? /* @__PURE__ */ i.createElement(u.Addon, {
|
|
75
|
+
tag: t
|
|
76
|
+
}) : null, B(n, u.Text, u.Addon), s ? /* @__PURE__ */ i.createElement(u.Addon, {
|
|
77
|
+
tag: s
|
|
78
78
|
}) : null);
|
|
79
79
|
}
|
|
80
80
|
}, {
|
|
81
81
|
key: "renderOnlyAddons",
|
|
82
82
|
value: function() {
|
|
83
|
-
var e, n,
|
|
84
|
-
return e =
|
|
83
|
+
var e, n, r, t = this.asProps, s = t.styles, m = t.addonLeft, p = t.addonRight, g = t.title, c = t["aria-label"], b = t.keyboardFocused, x = this.state.visibleHint, L = (n = (r = g ?? c) !== null && r !== void 0 ? r : this.state.ariaLabelledByContent) !== null && n !== void 0 ? n : "";
|
|
84
|
+
return e = v(s), /* @__PURE__ */ i.createElement(u.Addon, {
|
|
85
85
|
tag: O,
|
|
86
86
|
title: L,
|
|
87
87
|
timeout: [250, 50],
|
|
@@ -91,13 +91,13 @@ var V = (
|
|
|
91
91
|
}, {
|
|
92
92
|
key: "render",
|
|
93
93
|
value: function() {
|
|
94
|
-
var e = this.asProps, n,
|
|
95
|
-
return n =
|
|
94
|
+
var e = this.asProps, n, r = M, t = this.asProps, s = t.styles, m = t.noWrap, p = t.color, g = t.resolveColor, c = t.disabled, b = t.href, x = t.children;
|
|
95
|
+
return n = v(s), /* @__PURE__ */ i.createElement(r, n.cn("SLink", y({}, k({
|
|
96
96
|
role: "link",
|
|
97
97
|
tabIndex: c ? -1 : 0,
|
|
98
98
|
"use:href": c ? void 0 : b,
|
|
99
99
|
"visually-disabled": c,
|
|
100
|
-
"text-color":
|
|
100
|
+
"text-color": g(p),
|
|
101
101
|
tag: "a",
|
|
102
102
|
noWrapText: m,
|
|
103
103
|
"use:noWrap": !1,
|
|
@@ -109,28 +109,28 @@ var V = (
|
|
|
109
109
|
}
|
|
110
110
|
}]), o;
|
|
111
111
|
}(w);
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
l(h, "displayName", "Link");
|
|
113
|
+
l(h, "defaultProps", {
|
|
114
114
|
noWrap: !0
|
|
115
115
|
});
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
function N(
|
|
119
|
-
var a = arguments[0], o,
|
|
120
|
-
return o =
|
|
116
|
+
l(h, "style", V);
|
|
117
|
+
l(h, "enhance", [W(), $()]);
|
|
118
|
+
function N(d) {
|
|
119
|
+
var a = arguments[0], o, _ = S, e = d.styles;
|
|
120
|
+
return o = v(e), /* @__PURE__ */ i.createElement(_, o.cn("SText", y({}, k({
|
|
121
121
|
tag: "span"
|
|
122
122
|
}, a))));
|
|
123
123
|
}
|
|
124
|
-
function D(
|
|
125
|
-
var a = arguments[0], o,
|
|
126
|
-
return o =
|
|
124
|
+
function D(d) {
|
|
125
|
+
var a = arguments[0], o, _ = S, e = d.styles;
|
|
126
|
+
return o = v(e), /* @__PURE__ */ i.createElement(_, o.cn("SAddon", y({}, k({
|
|
127
127
|
tag: "span"
|
|
128
128
|
}, a))));
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var u = R(h, {
|
|
131
131
|
Text: N,
|
|
132
132
|
Addon: D
|
|
133
133
|
});
|
|
134
134
|
export {
|
|
135
|
-
|
|
135
|
+
u as default
|
|
136
136
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/link",
|
|
3
3
|
"description": "Semrush Link Component",
|
|
4
|
-
"version": "5.44.
|
|
4
|
+
"version": "5.44.1-prerelease.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/utils": "4.48.
|
|
18
|
-
"@semcore/typography": "5.52.
|
|
19
|
-
"@semcore/flex-box": "5.41.
|
|
20
|
-
"@semcore/tooltip": "6.49.
|
|
17
|
+
"@semcore/utils": "4.48.1-prerelease.2",
|
|
18
|
+
"@semcore/typography": "5.52.1-prerelease.2",
|
|
19
|
+
"@semcore/flex-box": "5.41.1-prerelease.2",
|
|
20
|
+
"@semcore/tooltip": "6.49.1-prerelease.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@semcore/core": "^2.
|
|
23
|
+
"@semcore/core": "^2.39.1-prerelease.2",
|
|
24
24
|
"react": "16.8 - 18",
|
|
25
25
|
"react-dom": "16.8 - 18"
|
|
26
26
|
},
|