@bigbinary/neeto-molecules 1.0.78-beta → 1.0.79-beta
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/CustomDomain.cjs.js +19 -28
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +21 -30
- package/dist/CustomDomain.js.map +1 -1
- package/dist/CustomDomainDashboard.cjs.js +27 -35
- package/dist/CustomDomainDashboard.cjs.js.map +1 -1
- package/dist/CustomDomainDashboard.js +28 -36
- package/dist/CustomDomainDashboard.js.map +1 -1
- package/dist/EmailForm.cjs.js +18 -13
- package/dist/EmailForm.cjs.js.map +1 -1
- package/dist/EmailForm.js +18 -13
- package/dist/EmailForm.js.map +1 -1
- package/dist/Header.cjs.js +7 -6
- package/dist/Header.cjs.js.map +1 -1
- package/dist/Header.js +7 -6
- package/dist/Header.js.map +1 -1
- package/dist/Scrollable.cjs.js +5 -1
- package/dist/Scrollable.cjs.js.map +1 -1
- package/dist/Scrollable.js +5 -1
- package/dist/Scrollable.js.map +1 -1
- package/dist/ShareViaEmail.cjs.js +1 -0
- package/dist/ShareViaEmail.cjs.js.map +1 -1
- package/dist/ShareViaEmail.js +1 -0
- package/dist/ShareViaEmail.js.map +1 -1
- package/dist/Sidebar.cjs.js +53 -48
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +53 -48
- package/dist/Sidebar.js.map +1 -1
- package/dist/SubHeader.cjs.js +1 -1
- package/dist/SubHeader.js +1 -1
- package/package.json +2 -2
- package/src/translations/en.json +8 -7
- package/types/EmailForm.d.ts +1 -0
- package/types/EmailFormProvider.d.ts +5 -1
package/dist/Sidebar.js
CHANGED
|
@@ -31728,7 +31728,7 @@ var Chevron = function Chevron() {
|
|
|
31728
31728
|
}));
|
|
31729
31729
|
};
|
|
31730
31730
|
|
|
31731
|
-
var css = ":root{--neeto-molecules-sidebar-width:240px;--neeto-molecules-sidebar-z-index:99998}.neeto-molecules-sidebar__wrapper{display:flex;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:relative;transition:all .15s;width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{transform:scale(-1)}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-gray-100));border-right:1px solid rgb(var(--neeto-ui-gray-100));height:100vh;padding:24px 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar__no-shrinkable{max-width:240px;max-width:var(--neeto-molecules-sidebar-width);width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}.neeto-molecules-sidebar__toggler{left:
|
|
31731
|
+
var css = ":root{--neeto-molecules-sidebar-width:240px;--neeto-molecules-sidebar-z-index:99998}.neeto-molecules-sidebar__wrapper{display:flex;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:relative;transition:all .15s;width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{transform:scale(-1)}.neeto-molecules-sidebar__wrapper:hover .neeto-molecules-sidebar__toggler{opacity:1}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-gray-100));border-right:1px solid rgb(var(--neeto-ui-gray-100));height:100vh;padding:24px 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar__no-shrinkable{max-width:240px;max-width:var(--neeto-molecules-sidebar-width);width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}.neeto-molecules-sidebar__toggler-wrapper{bottom:0;left:100%;top:0;width:40px}.neeto-molecules-sidebar__toggler,.neeto-molecules-sidebar__toggler-wrapper{position:absolute;z-index:99996;z-index:calc(var(--neeto-molecules-sidebar-z-index) - 2)}.neeto-molecules-sidebar__toggler{left:4px;opacity:0;top:34px}.neeto-molecules-sidebar__toggler:focus{opacity:1}.neeto-molecules-sidebar__header{margin:14px 0 28px;padding:0 24px}.neeto-molecules-sidebar__logo svg{height:20px;max-width:100%;width:auto}.neeto-molecules-sidebar__links{margin-bottom:40px}.neeto-molecules-sidebar__link{color:rgb(var(--neeto-ui-gray-800));gap:10px;padding:8px 24px;position:relative;text-decoration:none!important;transition:var(--neeto-ui-transition);width:100%}.neeto-molecules-sidebar__link:not(:first-child){margin-top:10px}.neeto-molecules-sidebar__link-icon{flex-shrink:0;transition:var(--neeto-ui-transition)}.neeto-molecules-sidebar__link-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-sidebar__link-icon--rotate{transform:scale(-1)}.neeto-molecules-sidebar__link-icon--caret{opacity:0;transition:none}.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{flex-grow:1;text-align:left}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible,.neeto-molecules-sidebar__link[aria-expanded=true]{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));outline:none}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-label{font-weight:var(--neeto-ui-font-medium)}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-icon--caret{opacity:1}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink-wrapper{background-color:rgb(var(--neeto-ui-white));padding:4px 0}.neeto-molecules-sidebar__sublink{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-gray-700));cursor:pointer;gap:8px;padding:8px 24px 8px 58px;text-decoration:none;transition:all .3s}.neeto-molecules-sidebar__sublink:not(:last-child){margin-bottom:4px}.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{opacity:.75}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-gray-800));text-decoration:none}.neeto-molecules-sidebar__sublink:hover .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{color:rgb(var(--neeto-ui-gray-800));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink:focus .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:focus-visible .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);text-decoration:none}.neeto-molecules-sidebar__sublink.active .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:active .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__footer{margin-top:auto}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile-name{flex-grow:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile:hover{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));text-decoration:none}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile:focus,.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile:focus-visible,.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile[aria-expanded=true]{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));outline:none;text-decoration:none}.sidebar-featured-tooltip__content{border-radius:8px!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:12px;width:150px}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:8px;height:40px;margin-bottom:8px;margin-left:auto;margin-right:auto;width:40px}.sidebar-featured-tooltip__title{margin-bottom:4px}.neeto-molecules-help-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;box-shadow:var(--neeto-ui-shadow-xs)!important}.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-sublist{border-top:1px solid rgb(var(--neeto-ui-gray-400))}.neeto-molecules-help-sublist,.neeto-molecules-profile-sublist{list-style:none;margin:0;padding:4px 0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{border-radius:0;justify-content:flex-end!important}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn-icon svg path,.neeto-molecules-profile-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}";
|
|
31732
31732
|
n(css,{});
|
|
31733
31733
|
|
|
31734
31734
|
var AppSwitcherButton = function AppSwitcherButton(_ref) {
|
|
@@ -31878,7 +31878,50 @@ function _toConsumableArray(arr) {
|
|
|
31878
31878
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
31879
31879
|
}
|
|
31880
31880
|
|
|
31881
|
+
function _typeof(obj) {
|
|
31882
|
+
"@babel/helpers - typeof";
|
|
31883
|
+
|
|
31884
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
31885
|
+
return typeof obj;
|
|
31886
|
+
} : function (obj) {
|
|
31887
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
31888
|
+
}, _typeof(obj);
|
|
31889
|
+
}
|
|
31890
|
+
|
|
31891
|
+
function _toPrimitive(input, hint) {
|
|
31892
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
31893
|
+
var prim = input[Symbol.toPrimitive];
|
|
31894
|
+
if (prim !== undefined) {
|
|
31895
|
+
var res = prim.call(input, hint || "default");
|
|
31896
|
+
if (_typeof(res) !== "object") return res;
|
|
31897
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
31898
|
+
}
|
|
31899
|
+
return (hint === "string" ? String : Number)(input);
|
|
31900
|
+
}
|
|
31901
|
+
|
|
31902
|
+
function _toPropertyKey(arg) {
|
|
31903
|
+
var key = _toPrimitive(arg, "string");
|
|
31904
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
31905
|
+
}
|
|
31906
|
+
|
|
31907
|
+
function _defineProperty(obj, key, value) {
|
|
31908
|
+
key = _toPropertyKey(key);
|
|
31909
|
+
if (key in obj) {
|
|
31910
|
+
Object.defineProperty(obj, key, {
|
|
31911
|
+
value: value,
|
|
31912
|
+
enumerable: true,
|
|
31913
|
+
configurable: true,
|
|
31914
|
+
writable: true
|
|
31915
|
+
});
|
|
31916
|
+
} else {
|
|
31917
|
+
obj[key] = value;
|
|
31918
|
+
}
|
|
31919
|
+
return obj;
|
|
31920
|
+
}
|
|
31921
|
+
|
|
31881
31922
|
var _excluded$2 = ["onClick", "label", "icon"];
|
|
31923
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
31924
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
31882
31925
|
var LinkSection = function LinkSection(_ref) {
|
|
31883
31926
|
var links = _ref.links;
|
|
31884
31927
|
return /*#__PURE__*/React.createElement("ul", {
|
|
@@ -31895,13 +31938,14 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
31895
31938
|
}, /*#__PURE__*/React.createElement(Button, _extends({
|
|
31896
31939
|
fullWidth: true,
|
|
31897
31940
|
className: "neeto-molecules-profile-sublist__item-btn",
|
|
31898
|
-
icon: icon,
|
|
31899
31941
|
iconPosition: "left",
|
|
31900
31942
|
iconSize: 18,
|
|
31943
|
+
style: "text"
|
|
31944
|
+
}, _objectSpread$2({
|
|
31945
|
+
icon: icon,
|
|
31901
31946
|
label: label,
|
|
31902
|
-
style: "text",
|
|
31903
31947
|
onClick: onClick
|
|
31904
|
-
}, otherProps)));
|
|
31948
|
+
}, otherProps))));
|
|
31905
31949
|
}));
|
|
31906
31950
|
};
|
|
31907
31951
|
|
|
@@ -31990,47 +32034,6 @@ var HelpSection = function HelpSection(_ref, ref) {
|
|
|
31990
32034
|
};
|
|
31991
32035
|
var HelpSection$1 = /*#__PURE__*/forwardRef(HelpSection);
|
|
31992
32036
|
|
|
31993
|
-
function _typeof(obj) {
|
|
31994
|
-
"@babel/helpers - typeof";
|
|
31995
|
-
|
|
31996
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
31997
|
-
return typeof obj;
|
|
31998
|
-
} : function (obj) {
|
|
31999
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
32000
|
-
}, _typeof(obj);
|
|
32001
|
-
}
|
|
32002
|
-
|
|
32003
|
-
function _toPrimitive(input, hint) {
|
|
32004
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
32005
|
-
var prim = input[Symbol.toPrimitive];
|
|
32006
|
-
if (prim !== undefined) {
|
|
32007
|
-
var res = prim.call(input, hint || "default");
|
|
32008
|
-
if (_typeof(res) !== "object") return res;
|
|
32009
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
32010
|
-
}
|
|
32011
|
-
return (hint === "string" ? String : Number)(input);
|
|
32012
|
-
}
|
|
32013
|
-
|
|
32014
|
-
function _toPropertyKey(arg) {
|
|
32015
|
-
var key = _toPrimitive(arg, "string");
|
|
32016
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
32017
|
-
}
|
|
32018
|
-
|
|
32019
|
-
function _defineProperty(obj, key, value) {
|
|
32020
|
-
key = _toPropertyKey(key);
|
|
32021
|
-
if (key in obj) {
|
|
32022
|
-
Object.defineProperty(obj, key, {
|
|
32023
|
-
value: value,
|
|
32024
|
-
enumerable: true,
|
|
32025
|
-
configurable: true,
|
|
32026
|
-
writable: true
|
|
32027
|
-
});
|
|
32028
|
-
} else {
|
|
32029
|
-
obj[key] = value;
|
|
32030
|
-
}
|
|
32031
|
-
return obj;
|
|
32032
|
-
}
|
|
32033
|
-
|
|
32034
32037
|
var _excluded$1 = ["label"];
|
|
32035
32038
|
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
32036
32039
|
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -32219,7 +32222,7 @@ var Links = function Links(_ref) {
|
|
|
32219
32222
|
style: "body2",
|
|
32220
32223
|
weight: "normal"
|
|
32221
32224
|
}, label), items && /*#__PURE__*/React.createElement("span", {
|
|
32222
|
-
className: classnames("neeto-molecules-sidebar__link-icon", {
|
|
32225
|
+
className: classnames("neeto-molecules-sidebar__link-icon neeto-molecules-sidebar__link-icon--caret", {
|
|
32223
32226
|
"neeto-molecules-sidebar__link-icon--rotate": isMenuExpanded
|
|
32224
32227
|
})
|
|
32225
32228
|
}, /*#__PURE__*/React.createElement(Down, {
|
|
@@ -32295,7 +32298,9 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
32295
32298
|
onAppSwitcherToggle: function onAppSwitcherToggle() {
|
|
32296
32299
|
return setIsAppSwitcherOpen(not);
|
|
32297
32300
|
}
|
|
32298
|
-
})), /*#__PURE__*/React.createElement(
|
|
32301
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
32302
|
+
className: "neeto-molecules-sidebar__toggler-wrapper"
|
|
32303
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
32299
32304
|
className: "neeto-molecules-sidebar__toggler",
|
|
32300
32305
|
icon: Chevron,
|
|
32301
32306
|
style: "text",
|
|
@@ -32306,7 +32311,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
32306
32311
|
onClick: function onClick() {
|
|
32307
32312
|
return setIsSidebarCollapsed(!isSidebarCollapsed);
|
|
32308
32313
|
}
|
|
32309
|
-
})), showAppSwitcher && /*#__PURE__*/React.createElement(AppSwitcher, {
|
|
32314
|
+
}))), showAppSwitcher && /*#__PURE__*/React.createElement(AppSwitcher, {
|
|
32310
32315
|
isOpen: isAppSwitcherOpen,
|
|
32311
32316
|
onClose: function onClose() {
|
|
32312
32317
|
return setIsAppSwitcherOpen(false);
|