@bigbinary/neeto-molecules 1.8.1 → 1.9.1
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/Breadcrumbs.js +4 -9
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/CustomDomainDashboard.js +5 -33
- package/dist/CustomDomainDashboard.js.map +1 -1
- package/dist/Header.js +8 -36
- package/dist/Header.js.map +1 -1
- package/dist/NavigationHeader.js +4 -9
- package/dist/NavigationHeader.js.map +1 -1
- package/dist/Rename.js +4 -9
- package/dist/Rename.js.map +1 -1
- package/dist/Security.js +6 -34
- package/dist/Security.js.map +1 -1
- package/dist/Settings.js +9 -36
- package/dist/Settings.js.map +1 -1
- package/dist/Sidebar.js +6 -2
- package/dist/Sidebar.js.map +1 -1
- package/dist/Taxonomy.js +6 -34
- package/dist/Taxonomy.js.map +1 -1
- package/dist/cjs/Breadcrumbs.js +4 -9
- package/dist/cjs/Breadcrumbs.js.map +1 -1
- package/dist/cjs/CustomDomainDashboard.js +6 -33
- package/dist/cjs/CustomDomainDashboard.js.map +1 -1
- package/dist/cjs/Header.js +8 -35
- package/dist/cjs/Header.js.map +1 -1
- package/dist/cjs/NavigationHeader.js +4 -9
- package/dist/cjs/NavigationHeader.js.map +1 -1
- package/dist/cjs/Rename.js +4 -9
- package/dist/cjs/Rename.js.map +1 -1
- package/dist/cjs/Security.js +6 -33
- package/dist/cjs/Security.js.map +1 -1
- package/dist/cjs/Settings.js +9 -35
- package/dist/cjs/Settings.js.map +1 -1
- package/dist/cjs/Sidebar.js +6 -2
- package/dist/cjs/Sidebar.js.map +1 -1
- package/dist/cjs/Taxonomy.js +6 -33
- package/dist/cjs/Taxonomy.js.map +1 -1
- package/package.json +1 -1
- package/types/Sidebar.d.ts +1 -0
package/dist/Taxonomy.js
CHANGED
|
@@ -3,12 +3,12 @@ import { t as t$1 } from 'i18next';
|
|
|
3
3
|
import { isNotEmpty, noop, isNotPresent, capitalize } from '@bigbinary/neeto-cist';
|
|
4
4
|
import { globalProps, taxonomies } from '@bigbinary/neeto-commons-frontend/initializers';
|
|
5
5
|
import withTitle from '@bigbinary/neeto-commons-frontend/react-utils/withTitle';
|
|
6
|
-
import {
|
|
6
|
+
import { Dropdown as Dropdown$1, Typography, Button, Tooltip, Pane, Toastr, Table, Alert, NoData } from '@bigbinary/neetoui';
|
|
7
7
|
import { not, mergeRight, toPairs, fromPairs, keys, pick, prop } from 'ramda';
|
|
8
8
|
import { useTranslation, Trans } from 'react-i18next';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
|
+
import Breadcrumbs from '@bigbinary/neeto-molecules/Breadcrumbs';
|
|
10
11
|
import Search from '@bigbinary/neeto-molecules/Search';
|
|
11
|
-
import { Link } from 'react-router-dom';
|
|
12
12
|
import { MenuHorizontal, Column, Download, Filter, MenuVertical } from '@bigbinary/neeto-icons';
|
|
13
13
|
import ManageColumns from '@bigbinary/neeto-molecules/Columns';
|
|
14
14
|
import { Filters } from '@bigbinary/neeto-filters-frontend';
|
|
@@ -1335,37 +1335,6 @@ function _defineProperty(obj, key, value) {
|
|
|
1335
1335
|
return obj;
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
|
-
var css$2 = ":root{--neeto-molecules-main-header-height:98px;--neeto-molecules-main-header-with-breadcrumbs-height:170px}.neeto-molecules-header{align-items:flex-start;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;flex-shrink:0;gap:16px;justify-content:space-between;min-height:98px;min-height:var(--neeto-molecules-main-header-height);padding:40px 0 24px;width:100%}@media screen and (max-width:1024px){.neeto-molecules-header{flex-wrap:wrap}}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:flex-start;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{align-items:center;display:flex;flex-direction:row;gap:12px;margin-top:-12px;width:100%}@media screen and (max-width:1024px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-10px}}@media screen and (max-width:768px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-8px}}@media screen and (max-width:576px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-4px}}.neeto-molecules-header .neeto-molecules-header__page-title h2{font-size:calc(1.375rem + 1.5vw);line-height:var(--neeto-ui-leading-tight)}@media (min-width:1200px){.neeto-molecules-header .neeto-molecules-header__page-title h2{font-size:2.5rem}}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex;margin:0 0 40px}@media screen and (max-width:768px){.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{margin:0 0 16px}}.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{font-size:12px;line-height:16px;margin:0 12px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;gap:12px;justify-content:flex-end}@media screen and (max-width:768px){.neeto-molecules-header .neeto-molecules-header__right{flex-wrap:wrap;justify-content:flex-start}}.neeto-molecules-header .neeto-molecules-header__right .neeto-ui-btn{flex-shrink:0}.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__search-input{flex-grow:0;min-width:104px}.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__action-block{align-items:center;display:flex;flex-shrink:0;gap:12px;justify-content:flex-end}@media screen and (max-width:360px){.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__action-block{flex-shrink:1;flex-wrap:wrap;justify-content:flex-start}}.neeto-molecules-header--has-breadcrumbs{min-height:170px;min-height:var(--neeto-molecules-main-header-with-breadcrumbs-height)}.neeto-molecules-header--has-breadcrumbs .neeto-molecules-header__page-title{margin-top:0}.neeto-molecules-header--nano,.neeto-molecules-header--small{flex-shrink:0;min-height:0}.neeto-molecules-header--nano .neeto-molecules-header__breadcrumbs-wrap,.neeto-molecules-header--small .neeto-molecules-header__breadcrumbs-wrap{margin:0 0 16px}.neeto-molecules-header--small .neeto-molecules-header__page-title{margin-top:-4px}.neeto-molecules-header--small .neeto-molecules-header__page-title h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.neeto-molecules-header--small .neeto-molecules-header__page-title h2{font-size:2rem}}.neeto-molecules-header--nano .neeto-molecules-header__page-title{margin-top:0}.neeto-molecules-header--nano .neeto-molecules-header__page-title h2{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.neeto-molecules-header--nano .neeto-molecules-header__page-title h2{font-size:1.5rem}}";
|
|
1339
|
-
n(css$2,{});
|
|
1340
|
-
|
|
1341
|
-
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
1342
|
-
var breadcrumbs = _ref.breadcrumbs;
|
|
1343
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1344
|
-
className: "neeto-molecules-header__breadcrumbs-wrap"
|
|
1345
|
-
}, breadcrumbs.map(function (_ref2, index) {
|
|
1346
|
-
var text = _ref2.text,
|
|
1347
|
-
_ref2$link = _ref2.link,
|
|
1348
|
-
link = _ref2$link === void 0 ? "#" : _ref2$link;
|
|
1349
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1350
|
-
className: "neeto-molecules-header__breadcrumb",
|
|
1351
|
-
"data-cy": "header-breadcrumb",
|
|
1352
|
-
key: index
|
|
1353
|
-
}, /*#__PURE__*/React.createElement(Link, {
|
|
1354
|
-
to: link
|
|
1355
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
1356
|
-
className: "neeto-ui-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-header__breadcrumb-link",
|
|
1357
|
-
component: "span",
|
|
1358
|
-
"data-cy": text,
|
|
1359
|
-
"data-test-id": text,
|
|
1360
|
-
style: "body2",
|
|
1361
|
-
weight: "normal"
|
|
1362
|
-
}, text)), index !== breadcrumbs.length - 1 && /*#__PURE__*/React.createElement("span", {
|
|
1363
|
-
className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-black"
|
|
1364
|
-
}, "/"));
|
|
1365
|
-
}));
|
|
1366
|
-
};
|
|
1367
|
-
var Breadcrumbs$1 = /*#__PURE__*/React.memo(Breadcrumbs);
|
|
1368
|
-
|
|
1369
1338
|
var SIZES = {
|
|
1370
1339
|
nano: "nano",
|
|
1371
1340
|
small: "small",
|
|
@@ -1387,6 +1356,9 @@ var Dropdown = function Dropdown(props) {
|
|
|
1387
1356
|
}, props));
|
|
1388
1357
|
};
|
|
1389
1358
|
|
|
1359
|
+
var css$2 = ":root{--neeto-molecules-main-header-height:98px;--neeto-molecules-main-header-with-breadcrumbs-height:170px}.neeto-molecules-header{align-items:flex-start;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;flex-shrink:0;gap:16px;justify-content:space-between;min-height:98px;min-height:var(--neeto-molecules-main-header-height);padding:40px 0 24px;width:100%}@media screen and (max-width:1024px){.neeto-molecules-header{flex-wrap:wrap}}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:flex-start;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{align-items:center;display:flex;flex-direction:row;gap:12px;margin-top:-12px;width:100%}@media screen and (max-width:1024px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-10px}}@media screen and (max-width:768px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-8px}}@media screen and (max-width:576px){.neeto-molecules-header .neeto-molecules-header__page-title{margin-top:-4px}}.neeto-molecules-header .neeto-molecules-header__page-title h2{font-size:calc(1.375rem + 1.5vw);line-height:var(--neeto-ui-leading-tight)}@media (min-width:1200px){.neeto-molecules-header .neeto-molecules-header__page-title h2{font-size:2.5rem}}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;gap:12px;justify-content:flex-end}@media screen and (max-width:768px){.neeto-molecules-header .neeto-molecules-header__right{flex-wrap:wrap;justify-content:flex-start}}.neeto-molecules-header .neeto-molecules-header__right .neeto-ui-btn{flex-shrink:0}.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__search-input{flex-grow:0;min-width:104px}.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__action-block{align-items:center;display:flex;flex-shrink:0;gap:12px;justify-content:flex-end}@media screen and (max-width:360px){.neeto-molecules-header .neeto-molecules-header__right .neeto-molecules-header__action-block{flex-shrink:1;flex-wrap:wrap;justify-content:flex-start}}.neeto-molecules-header--has-breadcrumbs{min-height:170px;min-height:var(--neeto-molecules-main-header-with-breadcrumbs-height)}.neeto-molecules-header--has-breadcrumbs .neeto-molecules-header__page-title{margin-top:0}.neeto-molecules-header--nano,.neeto-molecules-header--small{flex-shrink:0;min-height:0}.neeto-molecules-header--nano .neeto-molecules-breadcrumbs-wrap,.neeto-molecules-header--small .neeto-molecules-breadcrumbs-wrap{margin:0 0 16px}.neeto-molecules-header--small .neeto-molecules-header__page-title{margin-top:-4px}.neeto-molecules-header--small .neeto-molecules-header__page-title h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.neeto-molecules-header--small .neeto-molecules-header__page-title h2{font-size:2rem}}.neeto-molecules-header--nano .neeto-molecules-header__page-title{margin-top:0}.neeto-molecules-header--nano .neeto-molecules-header__page-title h2{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.neeto-molecules-header--nano .neeto-molecules-header__page-title h2{font-size:1.5rem}}";
|
|
1360
|
+
n(css$2,{});
|
|
1361
|
+
|
|
1390
1362
|
function ownKeys$4(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; }
|
|
1391
1363
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1392
1364
|
var Header = function Header(_ref) {
|
|
@@ -1416,7 +1388,7 @@ var Header = function Header(_ref) {
|
|
|
1416
1388
|
className: "neeto-molecules-header__left"
|
|
1417
1389
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1418
1390
|
className: "neeto-molecules-header__left-data-wrap"
|
|
1419
|
-
}, isNotEmpty(breadcrumbs) && /*#__PURE__*/React.createElement(Breadcrumbs
|
|
1391
|
+
}, isNotEmpty(breadcrumbs) && /*#__PURE__*/React.createElement(Breadcrumbs, {
|
|
1420
1392
|
breadcrumbs: breadcrumbs
|
|
1421
1393
|
}), /*#__PURE__*/React.createElement("div", {
|
|
1422
1394
|
className: "neeto-molecules-header__page-title"
|