@bigbinary/neeto-molecules 5.1.13 → 5.1.14
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.
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var neetoAtoms = require('@bigbinary/neeto-atoms');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
6
|
+
var index = require('../index-JY2zVpnv.js');
|
|
7
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
require('../_commonjsHelpers-BJu3ubxk.js');
|
|
9
|
+
|
|
10
|
+
var MobilePreviewHeader = reactUtils.withT(function (_ref) {
|
|
11
|
+
var t = _ref.t,
|
|
12
|
+
_ref$className = _ref.className,
|
|
13
|
+
className = _ref$className === void 0 ? "" : _ref$className,
|
|
14
|
+
_ref$message = _ref.message,
|
|
15
|
+
message = _ref$message === void 0 ? "" : _ref$message;
|
|
16
|
+
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
17
|
+
className: classnames("bg-muted px-6 py-5", className),
|
|
18
|
+
"data-testid": "mobile-preview-header",
|
|
19
|
+
children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
|
|
20
|
+
variant: "body2",
|
|
21
|
+
children: message || t("neetoMolecules.mobilePreview.message")
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
MobilePreviewHeader.propTypes = {
|
|
26
|
+
className: index.PropTypes.string,
|
|
27
|
+
message: index.PropTypes.node
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
module.exports = MobilePreviewHeader;
|
|
31
|
+
//# sourceMappingURL=MobilePreviewHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobilePreviewHeader.js","sources":["../../../src/v2/components/MobilePreviewHeader/index.jsx"],"sourcesContent":["import { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { withT } from \"neetocommons/react-utils\";\nimport PropTypes from \"prop-types\";\n\nconst MobilePreviewHeader = withT(({ t, className = \"\", message = \"\" }) => (\n <div\n className={classnames(\"bg-muted px-6 py-5\", className)}\n data-testid=\"mobile-preview-header\"\n >\n <Typography variant=\"body2\">\n {message || t(\"neetoMolecules.mobilePreview.message\")}\n </Typography>\n </div>\n));\n\nMobilePreviewHeader.propTypes = {\n className: PropTypes.string,\n message: PropTypes.node,\n};\n\nexport default MobilePreviewHeader;\n"],"names":["MobilePreviewHeader","withT","_ref","t","_ref$className","className","_ref$message","message","_jsx","classnames","children","Typography","variant","propTypes","PropTypes","string","node"],"mappings":";;;;;;;;;AAKA,IAAMA,mBAAmB,GAAGC,gBAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,cAAA,GAAAF,IAAA,CAAEG,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;IAAAE,YAAA,GAAAJ,IAAA,CAAEK,OAAO;AAAPA,IAAAA,OAAO,GAAAD,YAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,YAAA;AAAA,EAAA,oBAClEE,cAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,SAAS,EAAEI,UAAU,CAAC,oBAAoB,EAAEJ,SAAS,CAAE;AACvD,IAAA,aAAA,EAAY,uBAAuB;IAAAK,QAAA,eAEnCF,cAAA,CAACG,qBAAU,EAAA;AAACC,MAAAA,OAAO,EAAC,OAAO;AAAAF,MAAAA,QAAA,EACxBH,OAAO,IAAIJ,CAAC,CAAC,sCAAsC;KAC1C;AAAC,GACV,CAAC;AAAA,CACP;AAEDH,mBAAmB,CAACa,SAAS,GAAG;EAC9BR,SAAS,EAAES,eAAS,CAACC,MAAM;EAC3BR,OAAO,EAAEO,eAAS,CAACE;AACrB,CAAC;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Typography } from '@bigbinary/neeto-atoms';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
4
|
+
import { P as PropTypes } from '../index-DAYCJu79.js';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
import '../_commonjsHelpers-BFTU3MAI.js';
|
|
7
|
+
|
|
8
|
+
var MobilePreviewHeader = withT(function (_ref) {
|
|
9
|
+
var t = _ref.t,
|
|
10
|
+
_ref$className = _ref.className,
|
|
11
|
+
className = _ref$className === void 0 ? "" : _ref$className,
|
|
12
|
+
_ref$message = _ref.message,
|
|
13
|
+
message = _ref$message === void 0 ? "" : _ref$message;
|
|
14
|
+
return /*#__PURE__*/jsx("div", {
|
|
15
|
+
className: classnames("bg-muted px-6 py-5", className),
|
|
16
|
+
"data-testid": "mobile-preview-header",
|
|
17
|
+
children: /*#__PURE__*/jsx(Typography, {
|
|
18
|
+
variant: "body2",
|
|
19
|
+
children: message || t("neetoMolecules.mobilePreview.message")
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
MobilePreviewHeader.propTypes = {
|
|
24
|
+
className: PropTypes.string,
|
|
25
|
+
message: PropTypes.node
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { MobilePreviewHeader as default };
|
|
29
|
+
//# sourceMappingURL=MobilePreviewHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobilePreviewHeader.js","sources":["../../src/v2/components/MobilePreviewHeader/index.jsx"],"sourcesContent":["import { Typography } from \"@bigbinary/neeto-atoms\";\nimport classnames from \"classnames\";\nimport { withT } from \"neetocommons/react-utils\";\nimport PropTypes from \"prop-types\";\n\nconst MobilePreviewHeader = withT(({ t, className = \"\", message = \"\" }) => (\n <div\n className={classnames(\"bg-muted px-6 py-5\", className)}\n data-testid=\"mobile-preview-header\"\n >\n <Typography variant=\"body2\">\n {message || t(\"neetoMolecules.mobilePreview.message\")}\n </Typography>\n </div>\n));\n\nMobilePreviewHeader.propTypes = {\n className: PropTypes.string,\n message: PropTypes.node,\n};\n\nexport default MobilePreviewHeader;\n"],"names":["MobilePreviewHeader","withT","_ref","t","_ref$className","className","_ref$message","message","_jsx","classnames","children","Typography","variant","propTypes","PropTypes","string","node"],"mappings":";;;;;;;AAKA,IAAMA,mBAAmB,GAAGC,KAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAAC,cAAA,GAAAF,IAAA,CAAEG,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;IAAAE,YAAA,GAAAJ,IAAA,CAAEK,OAAO;AAAPA,IAAAA,OAAO,GAAAD,YAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,YAAA;AAAA,EAAA,oBAClEE,GAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,SAAS,EAAEI,UAAU,CAAC,oBAAoB,EAAEJ,SAAS,CAAE;AACvD,IAAA,aAAA,EAAY,uBAAuB;IAAAK,QAAA,eAEnCF,GAAA,CAACG,UAAU,EAAA;AAACC,MAAAA,OAAO,EAAC,OAAO;AAAAF,MAAAA,QAAA,EACxBH,OAAO,IAAIJ,CAAC,CAAC,sCAAsC;KAC1C;AAAC,GACV,CAAC;AAAA,CACP;AAEDH,mBAAmB,CAACa,SAAS,GAAG;EAC9BR,SAAS,EAAES,SAAS,CAACC,MAAM;EAC3BR,OAAO,EAAEO,SAAS,CAACE;AACrB,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.14",
|
|
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>",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
68
68
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
69
69
|
"@bigbinary/neeto-image-uploader-frontend": "4.0.6",
|
|
70
|
-
"@bigbinary/neeto-team-members-frontend": "5.0.
|
|
70
|
+
"@bigbinary/neeto-team-members-frontend": "5.0.51",
|
|
71
71
|
"@bigbinary/neeto-time-zones": "0.8.25",
|
|
72
72
|
"@bigbinary/neetoui": "8.8.1",
|
|
73
73
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
244
244
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
245
245
|
"@bigbinary/neeto-image-uploader-frontend": "4.0.6",
|
|
246
|
-
"@bigbinary/neeto-team-members-frontend": "5.0.
|
|
246
|
+
"@bigbinary/neeto-team-members-frontend": "5.0.51",
|
|
247
247
|
"@bigbinary/neeto-time-zones": "0.8.25",
|
|
248
248
|
"@bigbinary/neetoui": "8.8.1",
|
|
249
249
|
"@dnd-kit/core": "^6.2.0",
|