@otwb/ui 2.0.3 → 2.0.5

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -15
  2. 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: 220
416
+ default: 208
417
417
  },
418
418
  collapsedWidth: {
419
419
  type: Number,
@@ -851,20 +851,10 @@ var AppTab = /* @__PURE__ */ defineComponent({
851
851
  ref: W,
852
852
  style: ["display: flex; align-items: center; width: fit-content", J.value],
853
853
  class: d.isCurrent ? "bg-[#f0f2f5]" : ""
854
- }, [createVNode("span", { style: q.value }, [B.default?.()]), createVNode("span", { style: "line-height: 0; display: inline-block; text-align: right; padding-top: 2px" }, [createVNode(NButton, {
855
- text: !0,
856
- onClick: (d) => {
857
- d.stopPropagation(), z("close");
858
- }
859
- }, { default: () => [createVNode(NIcon, { size: 18 }, { default: () => [createVNode("svg", {
860
- xmlns: "http://www.w3.org/2000/svg",
861
- width: "1em",
862
- height: "1em",
863
- viewBox: "0 0 24 24"
864
- }, [createVNode("path", {
865
- fill: "currentColor",
866
- 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"
867
- }, null)])] })] })])])])]);
854
+ }, [createVNode("span", {
855
+ class: "whitespace-nowrap",
856
+ style: q.value
857
+ }, [B.default?.()]), createVNode("span", { style: "line-height: 0; display: inline-block; text-align: right; padding-top: 2px" }, null)])])]);
868
858
  }
869
859
  });
870
860
  const AppMultiTabs = /* @__PURE__ */ defineComponent({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwb/ui",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "otwb UI",