@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.cjs.js
CHANGED
|
@@ -31754,7 +31754,7 @@ var Chevron = function Chevron() {
|
|
|
31754
31754
|
}));
|
|
31755
31755
|
};
|
|
31756
31756
|
|
|
31757
|
-
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:
|
|
31757
|
+
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}";
|
|
31758
31758
|
n(css,{});
|
|
31759
31759
|
|
|
31760
31760
|
var AppSwitcherButton = function AppSwitcherButton(_ref) {
|
|
@@ -31904,7 +31904,50 @@ function _toConsumableArray(arr) {
|
|
|
31904
31904
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
31905
31905
|
}
|
|
31906
31906
|
|
|
31907
|
+
function _typeof(obj) {
|
|
31908
|
+
"@babel/helpers - typeof";
|
|
31909
|
+
|
|
31910
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
31911
|
+
return typeof obj;
|
|
31912
|
+
} : function (obj) {
|
|
31913
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
31914
|
+
}, _typeof(obj);
|
|
31915
|
+
}
|
|
31916
|
+
|
|
31917
|
+
function _toPrimitive(input, hint) {
|
|
31918
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
31919
|
+
var prim = input[Symbol.toPrimitive];
|
|
31920
|
+
if (prim !== undefined) {
|
|
31921
|
+
var res = prim.call(input, hint || "default");
|
|
31922
|
+
if (_typeof(res) !== "object") return res;
|
|
31923
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
31924
|
+
}
|
|
31925
|
+
return (hint === "string" ? String : Number)(input);
|
|
31926
|
+
}
|
|
31927
|
+
|
|
31928
|
+
function _toPropertyKey(arg) {
|
|
31929
|
+
var key = _toPrimitive(arg, "string");
|
|
31930
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
31931
|
+
}
|
|
31932
|
+
|
|
31933
|
+
function _defineProperty(obj, key, value) {
|
|
31934
|
+
key = _toPropertyKey(key);
|
|
31935
|
+
if (key in obj) {
|
|
31936
|
+
Object.defineProperty(obj, key, {
|
|
31937
|
+
value: value,
|
|
31938
|
+
enumerable: true,
|
|
31939
|
+
configurable: true,
|
|
31940
|
+
writable: true
|
|
31941
|
+
});
|
|
31942
|
+
} else {
|
|
31943
|
+
obj[key] = value;
|
|
31944
|
+
}
|
|
31945
|
+
return obj;
|
|
31946
|
+
}
|
|
31947
|
+
|
|
31907
31948
|
var _excluded$2 = ["onClick", "label", "icon"];
|
|
31949
|
+
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; }
|
|
31950
|
+
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; }
|
|
31908
31951
|
var LinkSection = function LinkSection(_ref) {
|
|
31909
31952
|
var links = _ref.links;
|
|
31910
31953
|
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
@@ -31921,13 +31964,14 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
31921
31964
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends({
|
|
31922
31965
|
fullWidth: true,
|
|
31923
31966
|
className: "neeto-molecules-profile-sublist__item-btn",
|
|
31924
|
-
icon: icon,
|
|
31925
31967
|
iconPosition: "left",
|
|
31926
31968
|
iconSize: 18,
|
|
31969
|
+
style: "text"
|
|
31970
|
+
}, _objectSpread$2({
|
|
31971
|
+
icon: icon,
|
|
31927
31972
|
label: label,
|
|
31928
|
-
style: "text",
|
|
31929
31973
|
onClick: onClick
|
|
31930
|
-
}, otherProps)));
|
|
31974
|
+
}, otherProps))));
|
|
31931
31975
|
}));
|
|
31932
31976
|
};
|
|
31933
31977
|
|
|
@@ -32016,47 +32060,6 @@ var HelpSection = function HelpSection(_ref, ref) {
|
|
|
32016
32060
|
};
|
|
32017
32061
|
var HelpSection$1 = /*#__PURE__*/React.forwardRef(HelpSection);
|
|
32018
32062
|
|
|
32019
|
-
function _typeof(obj) {
|
|
32020
|
-
"@babel/helpers - typeof";
|
|
32021
|
-
|
|
32022
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
32023
|
-
return typeof obj;
|
|
32024
|
-
} : function (obj) {
|
|
32025
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
32026
|
-
}, _typeof(obj);
|
|
32027
|
-
}
|
|
32028
|
-
|
|
32029
|
-
function _toPrimitive(input, hint) {
|
|
32030
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
32031
|
-
var prim = input[Symbol.toPrimitive];
|
|
32032
|
-
if (prim !== undefined) {
|
|
32033
|
-
var res = prim.call(input, hint || "default");
|
|
32034
|
-
if (_typeof(res) !== "object") return res;
|
|
32035
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
32036
|
-
}
|
|
32037
|
-
return (hint === "string" ? String : Number)(input);
|
|
32038
|
-
}
|
|
32039
|
-
|
|
32040
|
-
function _toPropertyKey(arg) {
|
|
32041
|
-
var key = _toPrimitive(arg, "string");
|
|
32042
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
32043
|
-
}
|
|
32044
|
-
|
|
32045
|
-
function _defineProperty(obj, key, value) {
|
|
32046
|
-
key = _toPropertyKey(key);
|
|
32047
|
-
if (key in obj) {
|
|
32048
|
-
Object.defineProperty(obj, key, {
|
|
32049
|
-
value: value,
|
|
32050
|
-
enumerable: true,
|
|
32051
|
-
configurable: true,
|
|
32052
|
-
writable: true
|
|
32053
|
-
});
|
|
32054
|
-
} else {
|
|
32055
|
-
obj[key] = value;
|
|
32056
|
-
}
|
|
32057
|
-
return obj;
|
|
32058
|
-
}
|
|
32059
|
-
|
|
32060
32063
|
var _excluded$1 = ["label"];
|
|
32061
32064
|
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; }
|
|
32062
32065
|
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; }
|
|
@@ -32245,7 +32248,7 @@ var Links = function Links(_ref) {
|
|
|
32245
32248
|
style: "body2",
|
|
32246
32249
|
weight: "normal"
|
|
32247
32250
|
}, label), items && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32248
|
-
className: classnames("neeto-molecules-sidebar__link-icon", {
|
|
32251
|
+
className: classnames("neeto-molecules-sidebar__link-icon neeto-molecules-sidebar__link-icon--caret", {
|
|
32249
32252
|
"neeto-molecules-sidebar__link-icon--rotate": isMenuExpanded
|
|
32250
32253
|
})
|
|
32251
32254
|
}, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Down, {
|
|
@@ -32321,7 +32324,9 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
32321
32324
|
onAppSwitcherToggle: function onAppSwitcherToggle() {
|
|
32322
32325
|
return setIsAppSwitcherOpen(ramda.not);
|
|
32323
32326
|
}
|
|
32324
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
32327
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32328
|
+
className: "neeto-molecules-sidebar__toggler-wrapper"
|
|
32329
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
32325
32330
|
className: "neeto-molecules-sidebar__toggler",
|
|
32326
32331
|
icon: Chevron,
|
|
32327
32332
|
style: "text",
|
|
@@ -32332,7 +32337,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
32332
32337
|
onClick: function onClick() {
|
|
32333
32338
|
return setIsSidebarCollapsed(!isSidebarCollapsed);
|
|
32334
32339
|
}
|
|
32335
|
-
})), showAppSwitcher && /*#__PURE__*/React__default["default"].createElement(AppSwitcher, {
|
|
32340
|
+
}))), showAppSwitcher && /*#__PURE__*/React__default["default"].createElement(AppSwitcher, {
|
|
32336
32341
|
isOpen: isAppSwitcherOpen,
|
|
32337
32342
|
onClose: function onClose() {
|
|
32338
32343
|
return setIsAppSwitcherOpen(false);
|