@bigbinary/neeto-molecules 1.0.55-beta → 1.0.55
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/Container.cjs.js +1 -1
- package/dist/Container.js +1 -1
- package/dist/CustomDomainDashboard.cjs.js +16 -7
- package/dist/CustomDomainDashboard.cjs.js.map +1 -1
- package/dist/CustomDomainDashboard.js +18 -9
- package/dist/CustomDomainDashboard.js.map +1 -1
- package/dist/Header.cjs.js +15 -6
- package/dist/Header.cjs.js.map +1 -1
- package/dist/Header.js +17 -8
- package/dist/Header.js.map +1 -1
- package/dist/MenuBar.cjs.js +1 -1
- package/dist/MenuBar.js +1 -1
- package/dist/Sidebar.cjs.js +56 -108
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +57 -109
- package/dist/Sidebar.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +0 -1
package/dist/Container.cjs.js
CHANGED
|
@@ -1251,7 +1251,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1251
1251
|
|
|
1252
1252
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
1253
1253
|
|
|
1254
|
-
var css = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0
|
|
1254
|
+
var css = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 24px}.neeto-molecules-container--header-fixed{padding:0}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:24px;padding-right:24px}";
|
|
1255
1255
|
n(css,{});
|
|
1256
1256
|
|
|
1257
1257
|
var Container = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
package/dist/Container.js
CHANGED
|
@@ -1245,7 +1245,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1245
1245
|
|
|
1246
1246
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
1247
1247
|
|
|
1248
|
-
var css = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0
|
|
1248
|
+
var css = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 24px}.neeto-molecules-container--header-fixed{padding:0}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:24px;padding-right:24px}";
|
|
1249
1249
|
n(css,{});
|
|
1250
1250
|
|
|
1251
1251
|
var Container = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
@@ -1359,7 +1359,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1359
1359
|
|
|
1360
1360
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
1361
1361
|
|
|
1362
|
-
var css$3 = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0
|
|
1362
|
+
var css$3 = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 24px}.neeto-molecules-container--header-fixed{padding:0}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:24px;padding-right:24px}";
|
|
1363
1363
|
n(css$3,{});
|
|
1364
1364
|
|
|
1365
1365
|
var Container = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
@@ -1381,7 +1381,7 @@ Container.propTypes = {
|
|
|
1381
1381
|
isHeaderFixed: propTypes.exports.bool
|
|
1382
1382
|
};
|
|
1383
1383
|
|
|
1384
|
-
var css$2 = ".neeto-molecules-header{align-items:
|
|
1384
|
+
var css$2 = ".neeto-molecules-header{align-items:center;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;min-height:var(--neeto-ui-main-header-height);padding:24px 0;width:100%}.neeto-molecules-header--has-breadcrumbs{min-height:var(--neeto-ui-main-header-with-breadcrumbs-height)}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.neeto-molecules-header .neeto-molecules-header__left-data-wrap{display:flex;flex-wrap:wrap}.neeto-molecules-header .neeto-molecules-header__page-title{display:flex;flex-direction:row;width:100%}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex}.neeto-molecules-header .neeto-molecules-header__breadcrumb{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;line-height:1}.neeto-molecules-header .neeto-molecules-header__breadcrumb a{text-decoration:none;transition:all .3s ease-in-out}.neeto-molecules-header .neeto-molecules-header__breadcrumb a:focus-visible{border-radius:var(--neeto-ui-rounded-sm);outline:3px solid rgba(var(--neeto-ui-primary-500),50%)}.neeto-molecules-header .neeto-molecules-header__breadcrumb-separator{margin:0 4px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}";
|
|
1385
1385
|
n(css$2,{});
|
|
1386
1386
|
|
|
1387
1387
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
@@ -1397,15 +1397,16 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
1397
1397
|
}, /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Link, {
|
|
1398
1398
|
to: link
|
|
1399
1399
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
1400
|
-
className: "neeto-
|
|
1400
|
+
className: "neeto-molecules-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-header__breadcrumb-link",
|
|
1401
1401
|
component: "span",
|
|
1402
1402
|
"data-cy": text,
|
|
1403
1403
|
"data-test-id": text,
|
|
1404
1404
|
style: "body2",
|
|
1405
1405
|
weight: "normal"
|
|
1406
|
-
}, text)),
|
|
1407
|
-
className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-
|
|
1408
|
-
|
|
1406
|
+
}, text)), /*#__PURE__*/React__default["default"].createElement(neetoIcons.Right, {
|
|
1407
|
+
className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-gray-400",
|
|
1408
|
+
size: 16
|
|
1409
|
+
}));
|
|
1409
1410
|
}));
|
|
1410
1411
|
};
|
|
1411
1412
|
|
|
@@ -1456,6 +1457,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
1456
1457
|
|
|
1457
1458
|
var Header = function Header(_ref) {
|
|
1458
1459
|
var title = _ref.title,
|
|
1460
|
+
menuBarToggle = _ref.menuBarToggle,
|
|
1459
1461
|
searchProps = _ref.searchProps,
|
|
1460
1462
|
_ref$className = _ref.className,
|
|
1461
1463
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -1472,7 +1474,14 @@ var Header = function Header(_ref) {
|
|
|
1472
1474
|
}, className])
|
|
1473
1475
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1474
1476
|
className: "neeto-molecules-header__left"
|
|
1475
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
1477
|
+
}, menuBarToggle && /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
1478
|
+
"aria-label": "Toggle Menubar",
|
|
1479
|
+
className: "neeto-molecules-header__toggle-menubar-btn",
|
|
1480
|
+
"data-cy": "menubar-toggle-button",
|
|
1481
|
+
icon: neetoIcons.HamburgerMenu,
|
|
1482
|
+
style: "text",
|
|
1483
|
+
onClick: menuBarToggle
|
|
1484
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1476
1485
|
className: "neeto-molecules-header__left-data-wrap"
|
|
1477
1486
|
}, breadcrumbs && /*#__PURE__*/React__default["default"].createElement(Breadcrumbs, {
|
|
1478
1487
|
breadcrumbs: breadcrumbs
|