@otwb/ui 2.0.4 → 2.0.6
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/index.js +3 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -413,7 +413,7 @@ const AppLayout = /* @__PURE__ */ defineComponent({
|
|
|
413
413
|
collapsed: Boolean,
|
|
414
414
|
width: {
|
|
415
415
|
type: Number,
|
|
416
|
-
default:
|
|
416
|
+
default: 208
|
|
417
417
|
},
|
|
418
418
|
collapsedWidth: {
|
|
419
419
|
type: Number,
|
|
@@ -850,24 +850,11 @@ var AppTab = /* @__PURE__ */ defineComponent({
|
|
|
850
850
|
}, [createVNode("div", { style: "transition: width 300ms; overflow: hidden" }, [createVNode("div", {
|
|
851
851
|
ref: W,
|
|
852
852
|
style: ["display: flex; align-items: center; width: fit-content", J.value],
|
|
853
|
-
class: d.isCurrent ? "bg-[#
|
|
853
|
+
class: d.isCurrent ? "bg-[#F5F5F5]" : ""
|
|
854
854
|
}, [createVNode("span", {
|
|
855
855
|
class: "whitespace-nowrap",
|
|
856
856
|
style: q.value
|
|
857
|
-
}, [B.default?.()]), createVNode("span", { style: "line-height: 0; display: inline-block; text-align: right; padding-top: 2px" },
|
|
858
|
-
text: !0,
|
|
859
|
-
onClick: (d) => {
|
|
860
|
-
d.stopPropagation(), z("close");
|
|
861
|
-
}
|
|
862
|
-
}, { default: () => [createVNode(NIcon, { size: 18 }, { default: () => [createVNode("svg", {
|
|
863
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
864
|
-
width: "1em",
|
|
865
|
-
height: "1em",
|
|
866
|
-
viewBox: "0 0 24 24"
|
|
867
|
-
}, [createVNode("path", {
|
|
868
|
-
fill: "currentColor",
|
|
869
|
-
d: "m6.4 18.308l-.708-.708l5.6-5.6l-5.6-5.6l.708-.708l5.6 5.6l5.6-5.6l.708.708l-5.6 5.6l5.6 5.6l-.708.708l-5.6-5.6z"
|
|
870
|
-
}, null)])] })] })])])])]);
|
|
857
|
+
}, [B.default?.()]), createVNode("span", { style: "line-height: 0; display: inline-block; text-align: right; padding-top: 2px" }, null)])])]);
|
|
871
858
|
}
|
|
872
859
|
});
|
|
873
860
|
const AppMultiTabs = /* @__PURE__ */ defineComponent({
|