@bigbinary/neeto-molecules 1.0.5 → 1.0.7

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.
@@ -2169,7 +2169,7 @@ var HotKeyList = function HotKeyList(_ref) {
2169
2169
 
2170
2170
  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}}
2171
2171
 
2172
- var css = ".neeto-commons-keyboard-shortcuts-pane{flex-grow:0;flex-shrink:0;z-index:calc(var(--neeto-ui-modal-z-index) + 1)}";
2172
+ var css = ".neeto-molecules-keyboard-shortcuts-pane{flex-grow:0;flex-shrink:0;z-index:calc(var(--neeto-ui-modal-z-index) + 1)}";
2173
2173
  n(css,{});
2174
2174
 
2175
2175
  var KeyboardShortcutsPane = function KeyboardShortcutsPane(_ref) {
@@ -2193,7 +2193,7 @@ var KeyboardShortcutsPane = function KeyboardShortcutsPane(_ref) {
2193
2193
  return setIsOpen(false);
2194
2194
  });
2195
2195
  return /*#__PURE__*/React__default["default"].createElement("div", {
2196
- className: classnames("neeto-commons-keyboard-shortcuts-pane neeto-ui-border-gray-300 transition-width ml-auto min-h-screen border-l bg-white duration-300 ease-in-out overflow-y-scroll", {
2196
+ className: classnames("neeto-molecules-keyboard-shortcuts-pane neeto-ui-border-gray-300 transition-width ml-auto min-h-screen border-l bg-white duration-300 ease-in-out overflow-y-scroll", {
2197
2197
  "w-80": isOpen,
2198
2198
  "w-0": !isOpen,
2199
2199
  absolute: hasOverlays,
@@ -2162,7 +2162,7 @@ var HotKeyList = function HotKeyList(_ref) {
2162
2162
 
2163
2163
  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}}
2164
2164
 
2165
- var css = ".neeto-commons-keyboard-shortcuts-pane{flex-grow:0;flex-shrink:0;z-index:calc(var(--neeto-ui-modal-z-index) + 1)}";
2165
+ var css = ".neeto-molecules-keyboard-shortcuts-pane{flex-grow:0;flex-shrink:0;z-index:calc(var(--neeto-ui-modal-z-index) + 1)}";
2166
2166
  n(css,{});
2167
2167
 
2168
2168
  var KeyboardShortcutsPane = function KeyboardShortcutsPane(_ref) {
@@ -2186,7 +2186,7 @@ var KeyboardShortcutsPane = function KeyboardShortcutsPane(_ref) {
2186
2186
  return setIsOpen(false);
2187
2187
  });
2188
2188
  return /*#__PURE__*/React.createElement("div", {
2189
- className: classnames("neeto-commons-keyboard-shortcuts-pane neeto-ui-border-gray-300 transition-width ml-auto min-h-screen border-l bg-white duration-300 ease-in-out overflow-y-scroll", {
2189
+ className: classnames("neeto-molecules-keyboard-shortcuts-pane neeto-ui-border-gray-300 transition-width ml-auto min-h-screen border-l bg-white duration-300 ease-in-out overflow-y-scroll", {
2190
2190
  "w-80": isOpen,
2191
2191
  "w-0": !isOpen,
2192
2192
  absolute: hasOverlays,
@@ -97,7 +97,7 @@ var AlertBlock = function AlertBlock(props) {
97
97
 
98
98
  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}}
99
99
 
100
- var css = ".neeto-commons-publish-block{align-items:center;display:flex;gap:12px;justify-content:flex-end}.neeto-commons-publish-block__action-btn{align-items:center;display:inline-flex;flex-direction:row;gap:1px;justify-content:center}.neeto-commons-publish-block__action-btn>.neeto-ui-btn:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.neeto-commons-publish-block__action-btn>.neeto-ui-btn:last-child{border-bottom-left-radius:0;border-top-left-radius:0}";
100
+ var css = ".neeto-molecules-publish-block{align-items:center;display:flex;gap:12px;justify-content:flex-end}.neeto-molecules-publish-block__action-btn{align-items:center;display:inline-flex;flex-direction:row;gap:1px;justify-content:center}.neeto-molecules-publish-block__action-btn>.neeto-ui-btn:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.neeto-molecules-publish-block__action-btn>.neeto-ui-btn:last-child{border-bottom-left-radius:0;border-top-left-radius:0}";
101
101
  n(css,{});
102
102
 
103
103
  var ViewDraftButton = function ViewDraftButton(props) {
@@ -165,7 +165,7 @@ var PublishBlock = function PublishBlock(_ref) {
165
165
  ResetDraftButton: ResetDraftButton
166
166
  });
167
167
  return /*#__PURE__*/React__default["default"].createElement("div", {
168
- className: "neeto-commons-publish-block"
168
+ className: "neeto-molecules-publish-block"
169
169
  }, draftBlockButtons && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
170
170
  className: "flex items-center gap-2"
171
171
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
@@ -177,7 +177,7 @@ var PublishBlock = function PublishBlock(_ref) {
177
177
  }, draftBlockButtons)), /*#__PURE__*/React__default["default"].createElement("div", {
178
178
  className: "neeto-ui-bg-gray-300 h-full w-px"
179
179
  })), /*#__PURE__*/React__default["default"].createElement("div", {
180
- className: "neeto-commons-publish-block__action-btn"
180
+ className: "neeto-molecules-publish-block__action-btn"
181
181
  }, renderPublishButtons({
182
182
  PublishButton: PublishButton,
183
183
  PublishPreviewButton: PublishPreviewButton
@@ -91,7 +91,7 @@ var AlertBlock = function AlertBlock(props) {
91
91
 
92
92
  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}}
93
93
 
94
- var css = ".neeto-commons-publish-block{align-items:center;display:flex;gap:12px;justify-content:flex-end}.neeto-commons-publish-block__action-btn{align-items:center;display:inline-flex;flex-direction:row;gap:1px;justify-content:center}.neeto-commons-publish-block__action-btn>.neeto-ui-btn:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.neeto-commons-publish-block__action-btn>.neeto-ui-btn:last-child{border-bottom-left-radius:0;border-top-left-radius:0}";
94
+ var css = ".neeto-molecules-publish-block{align-items:center;display:flex;gap:12px;justify-content:flex-end}.neeto-molecules-publish-block__action-btn{align-items:center;display:inline-flex;flex-direction:row;gap:1px;justify-content:center}.neeto-molecules-publish-block__action-btn>.neeto-ui-btn:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.neeto-molecules-publish-block__action-btn>.neeto-ui-btn:last-child{border-bottom-left-radius:0;border-top-left-radius:0}";
95
95
  n(css,{});
96
96
 
97
97
  var ViewDraftButton = function ViewDraftButton(props) {
@@ -159,7 +159,7 @@ var PublishBlock = function PublishBlock(_ref) {
159
159
  ResetDraftButton: ResetDraftButton
160
160
  });
161
161
  return /*#__PURE__*/React.createElement("div", {
162
- className: "neeto-commons-publish-block"
162
+ className: "neeto-molecules-publish-block"
163
163
  }, draftBlockButtons && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
164
164
  className: "flex items-center gap-2"
165
165
  }, /*#__PURE__*/React.createElement(Typography, {
@@ -171,7 +171,7 @@ var PublishBlock = function PublishBlock(_ref) {
171
171
  }, draftBlockButtons)), /*#__PURE__*/React.createElement("div", {
172
172
  className: "neeto-ui-bg-gray-300 h-full w-px"
173
173
  })), /*#__PURE__*/React.createElement("div", {
174
- className: "neeto-commons-publish-block__action-btn"
174
+ className: "neeto-molecules-publish-block__action-btn"
175
175
  }, renderPublishButtons({
176
176
  PublishButton: PublishButton,
177
177
  PublishPreviewButton: PublishPreviewButton