vim-web 0.3.44-dev.59 → 0.3.44-dev.60
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/vim-web.js
CHANGED
|
@@ -67312,15 +67312,7 @@ function AxesPanel(props) {
|
|
|
67312
67312
|
}
|
|
67313
67313
|
function createSection$1(section) {
|
|
67314
67314
|
if (section.enable !== void 0 && !section.enable()) return null;
|
|
67315
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `vim-control-bar-section ${section.style ?? sectionDefaultStyle}`, children: section.buttons.map((b) =>
|
|
67316
|
-
if (React__default.isValidElement(b)) {
|
|
67317
|
-
return b;
|
|
67318
|
-
}
|
|
67319
|
-
if (isControlBarButtonItem(b)) {
|
|
67320
|
-
return createButton(b);
|
|
67321
|
-
}
|
|
67322
|
-
return null;
|
|
67323
|
-
}) }, section.id);
|
|
67315
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `vim-control-bar-section ${section.style ?? sectionDefaultStyle}`, children: section.buttons.map((b) => createButton(b)) }, section.id);
|
|
67324
67316
|
}
|
|
67325
67317
|
function ControlBar(props) {
|
|
67326
67318
|
useEffect(() => {
|