@commercetools-uikit/link 17.0.0 → 17.1.0
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from "./declarations/src/index";
|
|
2
2
|
export { default } from "./declarations/src/index";
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy11aWtpdC1saW5rLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -35,8 +35,8 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
35
35
|
var _styled__default = /*#__PURE__*/_interopDefault(_styled);
|
|
36
36
|
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
37
37
|
|
|
38
|
-
function ownKeys(
|
|
39
|
-
function _objectSpread(
|
|
38
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
39
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
40
40
|
const warnIfMissingContent = props => {
|
|
41
41
|
const hasContent = Boolean(props.intlMessage) || Boolean(react$1.Children.count(props.children));
|
|
42
42
|
process.env.NODE_ENV !== "production" ? utils.warning(hasContent, ['Warning: Failed prop type:', "The prop `intlMessage` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
|
|
@@ -124,7 +124,7 @@ Link.defaultProps = defaultProps;
|
|
|
124
124
|
var Link$1 = Link;
|
|
125
125
|
|
|
126
126
|
// NOTE: This string will be replaced on build time with the package version.
|
|
127
|
-
var version = "17.
|
|
127
|
+
var version = "17.1.0";
|
|
128
128
|
|
|
129
129
|
exports["default"] = Link$1;
|
|
130
130
|
exports.version = version;
|
|
@@ -34,8 +34,8 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
34
34
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
35
35
|
var _styled__default = /*#__PURE__*/_interopDefault(_styled);
|
|
36
36
|
|
|
37
|
-
function ownKeys(
|
|
38
|
-
function _objectSpread(
|
|
37
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
39
39
|
const warnIfMissingContent = props => {
|
|
40
40
|
Boolean(props.intlMessage) || Boolean(react$1.Children.count(props.children));
|
|
41
41
|
};
|
|
@@ -109,7 +109,7 @@ Link.defaultProps = defaultProps;
|
|
|
109
109
|
var Link$1 = Link;
|
|
110
110
|
|
|
111
111
|
// NOTE: This string will be replaced on build time with the package version.
|
|
112
|
-
var version = "17.
|
|
112
|
+
var version = "17.1.0";
|
|
113
113
|
|
|
114
114
|
exports["default"] = Link$1;
|
|
115
115
|
exports.version = version;
|
|
@@ -18,8 +18,8 @@ import { filterInvalidAttributes, warning } from '@commercetools-uikit/utils';
|
|
|
18
18
|
import { ExternalLinkIcon } from '@commercetools-uikit/icons';
|
|
19
19
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
20
20
|
|
|
21
|
-
function ownKeys(
|
|
22
|
-
function _objectSpread(
|
|
21
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
23
|
const warnIfMissingContent = props => {
|
|
24
24
|
const hasContent = Boolean(props.intlMessage) || Boolean(Children.count(props.children));
|
|
25
25
|
process.env.NODE_ENV !== "production" ? warning(hasContent, ['Warning: Failed prop type:', "The prop `intlMessage` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
|
|
@@ -107,6 +107,6 @@ Link.defaultProps = defaultProps;
|
|
|
107
107
|
var Link$1 = Link;
|
|
108
108
|
|
|
109
109
|
// NOTE: This string will be replaced on build time with the package version.
|
|
110
|
-
var version = "17.
|
|
110
|
+
var version = "17.1.0";
|
|
111
111
|
|
|
112
112
|
export { Link$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/link",
|
|
3
3
|
"description": "Links are used either to link to other UI routes, or to link to external pages. This component is a very thin wrapper over either a React Router Link, or a normal HTML <a> tag.",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.1.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/design-system": "17.
|
|
25
|
-
"@commercetools-uikit/icons": "17.
|
|
26
|
-
"@commercetools-uikit/spacings-inline": "17.
|
|
27
|
-
"@commercetools-uikit/utils": "17.
|
|
24
|
+
"@commercetools-uikit/design-system": "17.1.0",
|
|
25
|
+
"@commercetools-uikit/icons": "17.1.0",
|
|
26
|
+
"@commercetools-uikit/spacings-inline": "17.1.0",
|
|
27
|
+
"@commercetools-uikit/utils": "17.1.0",
|
|
28
28
|
"@emotion/react": "^11.10.5",
|
|
29
29
|
"@emotion/styled": "^11.10.5",
|
|
30
30
|
"@types/history": "^4.7.11",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-uikit-link.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|