@bigbinary/neeto-molecules 3.16.9 → 3.16.10
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/MadeWith.js +97 -11
- package/dist/MadeWith.js.map +1 -1
- package/dist/cjs/MadeWith.js +115 -10
- package/dist/cjs/MadeWith.js.map +1 -1
- package/package.json +2 -1
- package/types/MadeWith.d.ts +1 -0
package/dist/MadeWith.js
CHANGED
|
@@ -2,24 +2,101 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import { memo } from 'react';
|
|
4
4
|
import { capitalize } from '@bigbinary/neeto-cist';
|
|
5
|
+
import * as Icons from '@bigbinary/neeto-icons/logos';
|
|
6
|
+
import Typography from '@bigbinary/neetoui/Typography';
|
|
5
7
|
import { Trans } from 'react-i18next';
|
|
8
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
6
9
|
import { n } from './inject-css-DmrvuTKK.js';
|
|
7
|
-
import { jsx } from 'react/jsx-runtime';
|
|
10
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
function preserveCamelCase(str) {
|
|
13
|
+
let isLastCharLower = false;
|
|
14
|
+
let isLastCharUpper = false;
|
|
15
|
+
let isLastLastCharUpper = false;
|
|
16
|
+
|
|
17
|
+
for (let i = 0; i < str.length; i++) {
|
|
18
|
+
const c = str[i];
|
|
19
|
+
|
|
20
|
+
if (isLastCharLower && /[a-zA-Z]/.test(c) && c.toUpperCase() === c) {
|
|
21
|
+
str = str.substr(0, i) + '-' + str.substr(i);
|
|
22
|
+
isLastCharLower = false;
|
|
23
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
24
|
+
isLastCharUpper = true;
|
|
25
|
+
i++;
|
|
26
|
+
} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(c) && c.toLowerCase() === c) {
|
|
27
|
+
str = str.substr(0, i - 1) + '-' + str.substr(i - 1);
|
|
28
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
29
|
+
isLastCharUpper = false;
|
|
30
|
+
isLastCharLower = true;
|
|
31
|
+
} else {
|
|
32
|
+
isLastCharLower = c.toLowerCase() === c;
|
|
33
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
34
|
+
isLastCharUpper = c.toUpperCase() === c;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return str;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var camelcase = function (str) {
|
|
42
|
+
if (arguments.length > 1) {
|
|
43
|
+
str = Array.from(arguments)
|
|
44
|
+
.map(x => x.trim())
|
|
45
|
+
.filter(x => x.length)
|
|
46
|
+
.join('-');
|
|
47
|
+
} else {
|
|
48
|
+
str = str.trim();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (str.length === 0) {
|
|
52
|
+
return '';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (str.length === 1) {
|
|
56
|
+
return str.toLowerCase();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (/^[a-z0-9]+$/.test(str)) {
|
|
60
|
+
return str;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const hasUpperCase = str !== str.toLowerCase();
|
|
64
|
+
|
|
65
|
+
if (hasUpperCase) {
|
|
66
|
+
str = preserveCamelCase(str);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return str
|
|
70
|
+
.replace(/^[_.\- ]+/, '')
|
|
71
|
+
.toLowerCase()
|
|
72
|
+
.replace(/[_.\- ]+(\w|$)/g, (m, p1) => p1.toUpperCase());
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const camelCase = camelcase;
|
|
76
|
+
|
|
77
|
+
var uppercamelcase = function () {
|
|
78
|
+
const cased = camelCase.apply(camelCase, arguments);
|
|
79
|
+
return cased.charAt(0).toUpperCase() + cased.slice(1);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
var uppercamelcase$1 = /*@__PURE__*/getDefaultExportFromCjs(uppercamelcase);
|
|
83
|
+
|
|
84
|
+
var css = ".neeto-molecules-made-with__wrapper{align-items:center;background:#fff;border:.5px solid #dfdfde;border-radius:.375rem;color:#000;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Inter,Arial,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:400;gap:.375rem;padding:.375rem .5rem;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-molecules-made-with__wrapper strong{font-weight:700}.neeto-molecules-made-with__wrapper:hover{box-shadow:inset 0 0 0 1px #dfdfde}";
|
|
10
85
|
n(css,{});
|
|
11
86
|
|
|
12
|
-
var _excluded = ["productName"];
|
|
87
|
+
var _excluded = ["productName", "productIcon"];
|
|
13
88
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
89
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
90
|
var MadeWith = function MadeWith(_ref) {
|
|
16
91
|
var _globalProps$organiza;
|
|
17
92
|
var productName = _ref.productName,
|
|
93
|
+
ProductIcon = _ref.productIcon,
|
|
18
94
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
var name = capitalize(productName || globalProps.appName);
|
|
95
|
+
var name = capitalize(productName || globalProps.appName || "Neeto");
|
|
20
96
|
var subdomain = (_globalProps$organiza = globalProps.organization) === null || _globalProps$organiza === void 0 ? void 0 : _globalProps$organiza.subdomain;
|
|
21
97
|
var utmParams = "utm_source=madewith".concat(subdomain ? "&utm_campaign=".concat(subdomain) : "");
|
|
22
|
-
|
|
98
|
+
var IconComponent = ProductIcon || Icons[uppercamelcase$1(name)];
|
|
99
|
+
return /*#__PURE__*/jsxs("a", _objectSpread(_objectSpread({
|
|
23
100
|
className: "neeto-molecules-made-with__wrapper",
|
|
24
101
|
"data-cy": "made-with-".concat(name.toLowerCase()),
|
|
25
102
|
"data-testid": "made-with-".concat(name.toLowerCase()),
|
|
@@ -27,12 +104,21 @@ var MadeWith = function MadeWith(_ref) {
|
|
|
27
104
|
rel: "noreferrer",
|
|
28
105
|
target: "_blank"
|
|
29
106
|
}, otherProps), {}, {
|
|
30
|
-
children: /*#__PURE__*/jsx(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
})
|
|
107
|
+
children: [IconComponent && /*#__PURE__*/jsx("span", {
|
|
108
|
+
"data-testid": "made-with-".concat(name.toLowerCase(), "-icon"),
|
|
109
|
+
children: /*#__PURE__*/jsx(IconComponent, {
|
|
110
|
+
size: 14
|
|
111
|
+
})
|
|
112
|
+
}), /*#__PURE__*/jsx(Typography, {
|
|
113
|
+
className: "leading-snug",
|
|
114
|
+
style: "body2",
|
|
115
|
+
children: /*#__PURE__*/jsx(Trans, {
|
|
116
|
+
i18nKey: "neetoMolecules.common.madeWith",
|
|
117
|
+
values: {
|
|
118
|
+
productName: name
|
|
119
|
+
}
|
|
120
|
+
})
|
|
121
|
+
})]
|
|
36
122
|
}));
|
|
37
123
|
};
|
|
38
124
|
var index = /*#__PURE__*/memo(MadeWith);
|
package/dist/MadeWith.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MadeWith.js","sources":["../src/components/MadeWith/index.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { capitalize } from \"neetocist\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\n\nimport \"./made-with.scss\";\n\nconst MadeWith = ({ productName, ...otherProps }) => {\n const name = capitalize(productName || globalProps.appName);\n const subdomain = globalProps.organization?.subdomain;\n const utmParams = `utm_source=madewith${\n subdomain ? `&utm_campaign=${subdomain}` : \"\"\n }`;\n\n return (\n <a\n className=\"neeto-molecules-made-with__wrapper\"\n data-cy={`made-with-${name.toLowerCase()}`}\n data-testid={`made-with-${name.toLowerCase()}`}\n href={`https://www.neeto.com/${name.toLowerCase()}?${utmParams}`}\n rel=\"noreferrer\"\n target=\"_blank\"\n {...otherProps}\n >\n <Trans\n
|
|
1
|
+
{"version":3,"file":"MadeWith.js","sources":["../node_modules/uppercamelcase/node_modules/camelcase/index.js","../node_modules/uppercamelcase/index.js","../src/components/MadeWith/index.jsx"],"sourcesContent":["'use strict';\n\nfunction preserveCamelCase(str) {\n\tlet isLastCharLower = false;\n\tlet isLastCharUpper = false;\n\tlet isLastLastCharUpper = false;\n\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst c = str[i];\n\n\t\tif (isLastCharLower && /[a-zA-Z]/.test(c) && c.toUpperCase() === c) {\n\t\t\tstr = str.substr(0, i) + '-' + str.substr(i);\n\t\t\tisLastCharLower = false;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = true;\n\t\t\ti++;\n\t\t} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(c) && c.toLowerCase() === c) {\n\t\t\tstr = str.substr(0, i - 1) + '-' + str.substr(i - 1);\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = false;\n\t\t\tisLastCharLower = true;\n\t\t} else {\n\t\t\tisLastCharLower = c.toLowerCase() === c;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = c.toUpperCase() === c;\n\t\t}\n\t}\n\n\treturn str;\n}\n\nmodule.exports = function (str) {\n\tif (arguments.length > 1) {\n\t\tstr = Array.from(arguments)\n\t\t\t.map(x => x.trim())\n\t\t\t.filter(x => x.length)\n\t\t\t.join('-');\n\t} else {\n\t\tstr = str.trim();\n\t}\n\n\tif (str.length === 0) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1) {\n\t\treturn str.toLowerCase();\n\t}\n\n\tif (/^[a-z0-9]+$/.test(str)) {\n\t\treturn str;\n\t}\n\n\tconst hasUpperCase = str !== str.toLowerCase();\n\n\tif (hasUpperCase) {\n\t\tstr = preserveCamelCase(str);\n\t}\n\n\treturn str\n\t\t.replace(/^[_.\\- ]+/, '')\n\t\t.toLowerCase()\n\t\t.replace(/[_.\\- ]+(\\w|$)/g, (m, p1) => p1.toUpperCase());\n};\n","'use strict';\nconst camelCase = require('camelcase');\n\nmodule.exports = function () {\n\tconst cased = camelCase.apply(camelCase, arguments);\n\treturn cased.charAt(0).toUpperCase() + cased.slice(1);\n};\n","import { memo } from \"react\";\n\nimport { capitalize } from \"neetocist\";\nimport * as Icons from \"neetoicons/logos\";\nimport { Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\nimport uppercamelcase from \"uppercamelcase\";\n\nimport \"./made-with.scss\";\n\nconst MadeWith = ({ productName, productIcon: ProductIcon, ...otherProps }) => {\n const name = capitalize(productName || globalProps.appName || \"Neeto\");\n const subdomain = globalProps.organization?.subdomain;\n const utmParams = `utm_source=madewith${\n subdomain ? `&utm_campaign=${subdomain}` : \"\"\n }`;\n\n const IconComponent = ProductIcon || Icons[uppercamelcase(name)];\n\n return (\n <a\n className=\"neeto-molecules-made-with__wrapper\"\n data-cy={`made-with-${name.toLowerCase()}`}\n data-testid={`made-with-${name.toLowerCase()}`}\n href={`https://www.neeto.com/${name.toLowerCase()}?${utmParams}`}\n rel=\"noreferrer\"\n target=\"_blank\"\n {...otherProps}\n >\n {IconComponent && (\n <span data-testid={`made-with-${name.toLowerCase()}-icon`}>\n <IconComponent size={14} />\n </span>\n )}\n <Typography className=\"leading-snug\" style=\"body2\">\n <Trans\n i18nKey=\"neetoMolecules.common.madeWith\"\n values={{ productName: name }}\n />\n </Typography>\n </a>\n );\n};\n\nMadeWith.propTypes = {\n /**\n * Product name to be displayed on the component (optional).\n */\n productName: PropTypes.string,\n\n /**\n * Product icon component to be displayed on the badge (optional).\n */\n productIcon: PropTypes.elementType,\n};\n\nexport default memo(MadeWith);\n"],"names":["require$$0","MadeWith","_ref","_globalProps$organiza","productName","ProductIcon","productIcon","otherProps","_objectWithoutProperties","_excluded","name","capitalize","globalProps","appName","subdomain","organization","utmParams","concat","IconComponent","Icons","uppercamelcase","_jsxs","_objectSpread","className","toLowerCase","href","rel","target","children","_jsx","size","Typography","style","Trans","i18nKey","values","memo"],"mappings":";;;;;;;;;;;AAEA,SAAS,iBAAiB,CAAC,GAAG,EAAE;AAChC,CAAC,IAAI,eAAe,GAAG,KAAK,CAAC;AAC7B,CAAC,IAAI,eAAe,GAAG,KAAK,CAAC;AAC7B,CAAC,IAAI,mBAAmB,GAAG,KAAK,CAAC;AACjC;AACA,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACtC,EAAE,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AACnB;AACA,EAAE,IAAI,eAAe,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE;AACtE,GAAG,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAChD,GAAG,eAAe,GAAG,KAAK,CAAC;AAC3B,GAAG,mBAAmB,GAAG,eAAe,CAA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AC,KACvB,CACP,eACDD,GAAA,CAACE,UAAU,EAAA;AAACR,MAAAA,SAAS,EAAC,cAAc;AAACS,MAAAA,KAAK,EAAC,OAAO;MAAAJ,QAAA,eAChDC,GAAA,CAACI,KAAK,EAAA;AACJC,QAAAA,OAAO,EAAC,gCAAgC;AACxCC,QAAAA,MAAM,EAAE;AAAE/B,UAAAA,WAAW,EAAEM,IAAAA;AAAK,SAAA;OAC7B,CAAA;AAAC,KACQ,CAAC,CAAA;AAAA,GAAA,CACZ,CAAC,CAAA;AAER,CAAC,CAAA;AAcD,YAAe0B,aAAAA,IAAI,CAACnC,QAAQ,CAAC;;;;","x_google_ignoreList":[0,1]}
|
package/dist/cjs/MadeWith.js
CHANGED
|
@@ -4,24 +4,120 @@ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
|
4
4
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
7
|
+
var Icons = require('@bigbinary/neeto-icons/logos');
|
|
8
|
+
var Typography = require('@bigbinary/neetoui/Typography');
|
|
7
9
|
var reactI18next = require('react-i18next');
|
|
10
|
+
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
8
11
|
var injectCss = require('./inject-css-vQvjPR2x.js');
|
|
9
12
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
function _interopNamespaceDefault(e) {
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
Object.keys(e).forEach(function (k) {
|
|
18
|
+
if (k !== 'default') {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
20
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return e[k]; }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
n.default = e;
|
|
28
|
+
return Object.freeze(n);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var Icons__namespace = /*#__PURE__*/_interopNamespaceDefault(Icons);
|
|
32
|
+
|
|
33
|
+
function preserveCamelCase(str) {
|
|
34
|
+
let isLastCharLower = false;
|
|
35
|
+
let isLastCharUpper = false;
|
|
36
|
+
let isLastLastCharUpper = false;
|
|
37
|
+
|
|
38
|
+
for (let i = 0; i < str.length; i++) {
|
|
39
|
+
const c = str[i];
|
|
40
|
+
|
|
41
|
+
if (isLastCharLower && /[a-zA-Z]/.test(c) && c.toUpperCase() === c) {
|
|
42
|
+
str = str.substr(0, i) + '-' + str.substr(i);
|
|
43
|
+
isLastCharLower = false;
|
|
44
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
45
|
+
isLastCharUpper = true;
|
|
46
|
+
i++;
|
|
47
|
+
} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(c) && c.toLowerCase() === c) {
|
|
48
|
+
str = str.substr(0, i - 1) + '-' + str.substr(i - 1);
|
|
49
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
50
|
+
isLastCharUpper = false;
|
|
51
|
+
isLastCharLower = true;
|
|
52
|
+
} else {
|
|
53
|
+
isLastCharLower = c.toLowerCase() === c;
|
|
54
|
+
isLastLastCharUpper = isLastCharUpper;
|
|
55
|
+
isLastCharUpper = c.toUpperCase() === c;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return str;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
var camelcase = function (str) {
|
|
63
|
+
if (arguments.length > 1) {
|
|
64
|
+
str = Array.from(arguments)
|
|
65
|
+
.map(x => x.trim())
|
|
66
|
+
.filter(x => x.length)
|
|
67
|
+
.join('-');
|
|
68
|
+
} else {
|
|
69
|
+
str = str.trim();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (str.length === 0) {
|
|
73
|
+
return '';
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (str.length === 1) {
|
|
77
|
+
return str.toLowerCase();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (/^[a-z0-9]+$/.test(str)) {
|
|
81
|
+
return str;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const hasUpperCase = str !== str.toLowerCase();
|
|
85
|
+
|
|
86
|
+
if (hasUpperCase) {
|
|
87
|
+
str = preserveCamelCase(str);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return str
|
|
91
|
+
.replace(/^[_.\- ]+/, '')
|
|
92
|
+
.toLowerCase()
|
|
93
|
+
.replace(/[_.\- ]+(\w|$)/g, (m, p1) => p1.toUpperCase());
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const camelCase = camelcase;
|
|
97
|
+
|
|
98
|
+
var uppercamelcase = function () {
|
|
99
|
+
const cased = camelCase.apply(camelCase, arguments);
|
|
100
|
+
return cased.charAt(0).toUpperCase() + cased.slice(1);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
var uppercamelcase$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(uppercamelcase);
|
|
104
|
+
|
|
105
|
+
var css = ".neeto-molecules-made-with__wrapper{align-items:center;background:#fff;border:.5px solid #dfdfde;border-radius:.375rem;color:#000;display:inline-flex;font-family:-apple-system,BlinkMacSystemFont,Inter,Arial,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:400;gap:.375rem;padding:.375rem .5rem;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-molecules-made-with__wrapper strong{font-weight:700}.neeto-molecules-made-with__wrapper:hover{box-shadow:inset 0 0 0 1px #dfdfde}";
|
|
12
106
|
injectCss.n(css,{});
|
|
13
107
|
|
|
14
|
-
var _excluded = ["productName"];
|
|
108
|
+
var _excluded = ["productName", "productIcon"];
|
|
15
109
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
110
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
111
|
var MadeWith = function MadeWith(_ref) {
|
|
18
112
|
var _globalProps$organiza;
|
|
19
113
|
var productName = _ref.productName,
|
|
114
|
+
ProductIcon = _ref.productIcon,
|
|
20
115
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
-
var name = neetoCist.capitalize(productName || globalProps.appName);
|
|
116
|
+
var name = neetoCist.capitalize(productName || globalProps.appName || "Neeto");
|
|
22
117
|
var subdomain = (_globalProps$organiza = globalProps.organization) === null || _globalProps$organiza === void 0 ? void 0 : _globalProps$organiza.subdomain;
|
|
23
118
|
var utmParams = "utm_source=madewith".concat(subdomain ? "&utm_campaign=".concat(subdomain) : "");
|
|
24
|
-
|
|
119
|
+
var IconComponent = ProductIcon || Icons__namespace[uppercamelcase$1(name)];
|
|
120
|
+
return /*#__PURE__*/jsxRuntime.jsxs("a", _objectSpread(_objectSpread({
|
|
25
121
|
className: "neeto-molecules-made-with__wrapper",
|
|
26
122
|
"data-cy": "made-with-".concat(name.toLowerCase()),
|
|
27
123
|
"data-testid": "made-with-".concat(name.toLowerCase()),
|
|
@@ -29,12 +125,21 @@ var MadeWith = function MadeWith(_ref) {
|
|
|
29
125
|
rel: "noreferrer",
|
|
30
126
|
target: "_blank"
|
|
31
127
|
}, otherProps), {}, {
|
|
32
|
-
children: /*#__PURE__*/jsxRuntime.jsx(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
})
|
|
128
|
+
children: [IconComponent && /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
129
|
+
"data-testid": "made-with-".concat(name.toLowerCase(), "-icon"),
|
|
130
|
+
children: /*#__PURE__*/jsxRuntime.jsx(IconComponent, {
|
|
131
|
+
size: 14
|
|
132
|
+
})
|
|
133
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
134
|
+
className: "leading-snug",
|
|
135
|
+
style: "body2",
|
|
136
|
+
children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
|
|
137
|
+
i18nKey: "neetoMolecules.common.madeWith",
|
|
138
|
+
values: {
|
|
139
|
+
productName: name
|
|
140
|
+
}
|
|
141
|
+
})
|
|
142
|
+
})]
|
|
38
143
|
}));
|
|
39
144
|
};
|
|
40
145
|
var index = /*#__PURE__*/React.memo(MadeWith);
|
package/dist/cjs/MadeWith.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MadeWith.js","sources":["../../src/components/MadeWith/index.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { capitalize } from \"neetocist\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\n\nimport \"./made-with.scss\";\n\nconst MadeWith = ({ productName, ...otherProps }) => {\n const name = capitalize(productName || globalProps.appName);\n const subdomain = globalProps.organization?.subdomain;\n const utmParams = `utm_source=madewith${\n subdomain ? `&utm_campaign=${subdomain}` : \"\"\n }`;\n\n return (\n <a\n className=\"neeto-molecules-made-with__wrapper\"\n data-cy={`made-with-${name.toLowerCase()}`}\n data-testid={`made-with-${name.toLowerCase()}`}\n href={`https://www.neeto.com/${name.toLowerCase()}?${utmParams}`}\n rel=\"noreferrer\"\n target=\"_blank\"\n {...otherProps}\n >\n <Trans\n
|
|
1
|
+
{"version":3,"file":"MadeWith.js","sources":["../../node_modules/uppercamelcase/node_modules/camelcase/index.js","../../node_modules/uppercamelcase/index.js","../../src/components/MadeWith/index.jsx"],"sourcesContent":["'use strict';\n\nfunction preserveCamelCase(str) {\n\tlet isLastCharLower = false;\n\tlet isLastCharUpper = false;\n\tlet isLastLastCharUpper = false;\n\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst c = str[i];\n\n\t\tif (isLastCharLower && /[a-zA-Z]/.test(c) && c.toUpperCase() === c) {\n\t\t\tstr = str.substr(0, i) + '-' + str.substr(i);\n\t\t\tisLastCharLower = false;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = true;\n\t\t\ti++;\n\t\t} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(c) && c.toLowerCase() === c) {\n\t\t\tstr = str.substr(0, i - 1) + '-' + str.substr(i - 1);\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = false;\n\t\t\tisLastCharLower = true;\n\t\t} else {\n\t\t\tisLastCharLower = c.toLowerCase() === c;\n\t\t\tisLastLastCharUpper = isLastCharUpper;\n\t\t\tisLastCharUpper = c.toUpperCase() === c;\n\t\t}\n\t}\n\n\treturn str;\n}\n\nmodule.exports = function (str) {\n\tif (arguments.length > 1) {\n\t\tstr = Array.from(arguments)\n\t\t\t.map(x => x.trim())\n\t\t\t.filter(x => x.length)\n\t\t\t.join('-');\n\t} else {\n\t\tstr = str.trim();\n\t}\n\n\tif (str.length === 0) {\n\t\treturn '';\n\t}\n\n\tif (str.length === 1) {\n\t\treturn str.toLowerCase();\n\t}\n\n\tif (/^[a-z0-9]+$/.test(str)) {\n\t\treturn str;\n\t}\n\n\tconst hasUpperCase = str !== str.toLowerCase();\n\n\tif (hasUpperCase) {\n\t\tstr = preserveCamelCase(str);\n\t}\n\n\treturn str\n\t\t.replace(/^[_.\\- ]+/, '')\n\t\t.toLowerCase()\n\t\t.replace(/[_.\\- ]+(\\w|$)/g, (m, p1) => p1.toUpperCase());\n};\n","'use strict';\nconst camelCase = require('camelcase');\n\nmodule.exports = function () {\n\tconst cased = camelCase.apply(camelCase, arguments);\n\treturn cased.charAt(0).toUpperCase() + cased.slice(1);\n};\n","import { memo } from \"react\";\n\nimport { capitalize } from \"neetocist\";\nimport * as Icons from \"neetoicons/logos\";\nimport { Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\nimport uppercamelcase from \"uppercamelcase\";\n\nimport \"./made-with.scss\";\n\nconst MadeWith = ({ productName, productIcon: ProductIcon, ...otherProps }) => {\n const name = capitalize(productName || globalProps.appName || \"Neeto\");\n const subdomain = globalProps.organization?.subdomain;\n const utmParams = `utm_source=madewith${\n subdomain ? `&utm_campaign=${subdomain}` : \"\"\n }`;\n\n const IconComponent = ProductIcon || Icons[uppercamelcase(name)];\n\n return (\n <a\n className=\"neeto-molecules-made-with__wrapper\"\n data-cy={`made-with-${name.toLowerCase()}`}\n data-testid={`made-with-${name.toLowerCase()}`}\n href={`https://www.neeto.com/${name.toLowerCase()}?${utmParams}`}\n rel=\"noreferrer\"\n target=\"_blank\"\n {...otherProps}\n >\n {IconComponent && (\n <span data-testid={`made-with-${name.toLowerCase()}-icon`}>\n <IconComponent size={14} />\n </span>\n )}\n <Typography className=\"leading-snug\" style=\"body2\">\n <Trans\n i18nKey=\"neetoMolecules.common.madeWith\"\n values={{ productName: name }}\n />\n </Typography>\n </a>\n );\n};\n\nMadeWith.propTypes = {\n /**\n * Product name to be displayed on the component (optional).\n */\n productName: PropTypes.string,\n\n /**\n * Product icon component to be displayed on the badge (optional).\n */\n productIcon: PropTypes.elementType,\n};\n\nexport default memo(MadeWith);\n"],"names":["require$$0","MadeWith","_ref","_globalProps$organiza","productName","ProductIcon","productIcon","otherProps","_objectWithoutProperties","_excluded","name","capitalize","globalProps","appName","subdomain","organization","utmParams","concat","IconComponent","Icons","uppercamelcase","_jsxs","_objectSpread","className","toLowerCase","href","rel","target","children","_jsx","size","Typography","style","Trans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ules",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.10",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -202,6 +202,7 @@
|
|
|
202
202
|
"tailwindcss": "^3.4.1",
|
|
203
203
|
"tippy.js": "6.3.7",
|
|
204
204
|
"typescript": "^5.6.3",
|
|
205
|
+
"uppercamelcase": "^3.0.0",
|
|
205
206
|
"yjs": "^13.6.19",
|
|
206
207
|
"yup": "0.32.11",
|
|
207
208
|
"zustand": "4.3.2"
|