@mica-js/editor 0.5.0 → 0.5.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/fused.js +15 -12
- package/dist/fused.js.map +1 -1
- package/dist/style.css +3 -2
- package/package.json +1 -1
package/dist/fused.js
CHANGED
|
@@ -4459,18 +4459,21 @@ function ToolbarPart(props) {
|
|
|
4459
4459
|
"data-compact": layout.compact,
|
|
4460
4460
|
children: visible.map(itemButton)
|
|
4461
4461
|
}),
|
|
4462
|
-
overflow.length > 0 && /* @__PURE__ */ jsxs(
|
|
4463
|
-
className: "mica-wb-more
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4462
|
+
overflow.length > 0 && /* @__PURE__ */ jsxs("span", {
|
|
4463
|
+
className: "mica-wb-more",
|
|
4464
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
4465
|
+
className: "mica-wb-more-button",
|
|
4466
|
+
"aria-label": "更多工具",
|
|
4467
|
+
title: "更多工具",
|
|
4468
|
+
"aria-expanded": more,
|
|
4469
|
+
onClick: () => setMore(!more),
|
|
4470
|
+
children: /* @__PURE__ */ jsx(Icon, { name: "ellipsis" })
|
|
4471
|
+
}), more && /* @__PURE__ */ jsx("div", {
|
|
4472
|
+
className: "mica-wb-more-menu",
|
|
4473
|
+
"aria-label": "其他工具",
|
|
4474
|
+
children: overflow.map(itemButton)
|
|
4475
|
+
})]
|
|
4476
|
+
})
|
|
4474
4477
|
] })
|
|
4475
4478
|
]
|
|
4476
4479
|
});
|