flowcloudai-ui 0.1.8 → 0.1.9
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 +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2061,6 +2061,7 @@ var TabItemView = memo4(({
|
|
|
2061
2061
|
isActive,
|
|
2062
2062
|
closable,
|
|
2063
2063
|
draggable,
|
|
2064
|
+
stopMouseDown,
|
|
2064
2065
|
tabClassName,
|
|
2065
2066
|
activeTabClassName,
|
|
2066
2067
|
tabStyle,
|
|
@@ -2103,6 +2104,7 @@ var TabItemView = memo4(({
|
|
|
2103
2104
|
className: classes,
|
|
2104
2105
|
style: mergedStyle,
|
|
2105
2106
|
onClick: () => !item.disabled && onClick(item.key),
|
|
2107
|
+
onMouseDown: stopMouseDown ? (e) => e.stopPropagation() : void 0,
|
|
2106
2108
|
...attributes,
|
|
2107
2109
|
...listeners,
|
|
2108
2110
|
role: "tab",
|
|
@@ -2244,6 +2246,7 @@ var TabBar = memo4(({
|
|
|
2244
2246
|
isActive: activeKey === item.key,
|
|
2245
2247
|
closable,
|
|
2246
2248
|
draggable,
|
|
2249
|
+
stopMouseDown: tauriDragRegion,
|
|
2247
2250
|
tabClassName,
|
|
2248
2251
|
activeTabClassName,
|
|
2249
2252
|
tabStyle,
|
|
@@ -2277,6 +2280,7 @@ var TabBar = memo4(({
|
|
|
2277
2280
|
{
|
|
2278
2281
|
className: "fc-tab-bar__add-btn",
|
|
2279
2282
|
onClick: onAdd,
|
|
2283
|
+
onMouseDown: tauriDragRegion ? (e) => e.stopPropagation() : void 0,
|
|
2280
2284
|
role: "button",
|
|
2281
2285
|
"aria-label": "\u6DFB\u52A0\u6807\u7B7E",
|
|
2282
2286
|
children: renderAddButton ? renderAddButton() : "+"
|