@stll/workspace-ui 0.15.4 → 0.15.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.
- package/dist/view-switcher.js +3 -1
- package/package.json +2 -2
package/dist/view-switcher.js
CHANGED
|
@@ -4,6 +4,7 @@ import { EllipsisVerticalIcon } from "@stll/ui/icons";
|
|
|
4
4
|
import { Menu, MenuPopup, MenuTrigger } from "@stll/ui/menu";
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { BidiText } from "@stll/ui/bidi-text";
|
|
7
8
|
import { cn } from "@stll/ui/utils";
|
|
8
9
|
import { attachClosestEdge } from "@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge/attach-closest-edge";
|
|
9
10
|
import { extractClosestEdge } from "@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge/extract-closest-edge";
|
|
@@ -183,7 +184,8 @@ const WorkspaceViewTab = ({ actions, canReorder, direction, getDragData, getDrop
|
|
|
183
184
|
onContextMenu: (event) => onContextMenu?.(view, event),
|
|
184
185
|
onDoubleClick: (event) => onDoubleClick?.(view, event),
|
|
185
186
|
value: view.id,
|
|
186
|
-
children: [renderIcon(view), /* @__PURE__ */ jsx(
|
|
187
|
+
children: [renderIcon(view), /* @__PURE__ */ jsx(BidiText, {
|
|
188
|
+
as: "span",
|
|
187
189
|
className: "max-w-36 overflow-hidden text-ellipsis whitespace-pre",
|
|
188
190
|
children: view.name
|
|
189
191
|
})]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/workspace-ui",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.7",
|
|
4
4
|
"description": "Reusable workspace presentation components and view helpers for Stella.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calculations",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@stll/calculations": "^0.1.3",
|
|
131
131
|
"@stll/conditions": "^0.4.0",
|
|
132
132
|
"@stll/money": "^0.3.1",
|
|
133
|
-
"@stll/ui": "^0.
|
|
133
|
+
"@stll/ui": "^0.65.0",
|
|
134
134
|
"better-result": "3.0.1",
|
|
135
135
|
"temporal-polyfill": "1.0.5",
|
|
136
136
|
"use-intl": "4.14.9"
|