@humu-tech/ui 0.1.7 → 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 +21 -20
- package/dist/index.mjs +21 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4988,27 +4988,26 @@ var Sidebar = (0, import_react65.forwardRef)(function Sidebar2({
|
|
|
4988
4988
|
children: [
|
|
4989
4989
|
headerSlot && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children: headerSlot }),
|
|
4990
4990
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
4991
|
-
|
|
4991
|
+
Tooltip,
|
|
4992
4992
|
{
|
|
4993
|
-
|
|
4994
|
-
"
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
},
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
] })
|
|
4993
|
+
side: "right",
|
|
4994
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { children: [
|
|
4995
|
+
collapsed ? "Expandir menu" : "Recolher menu",
|
|
4996
|
+
enableShortcut && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "ml-1 text-v2-fg-muted", children: getShortcutLabel("B") })
|
|
4997
|
+
] }),
|
|
4998
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
4999
|
+
"button",
|
|
5000
|
+
{
|
|
5001
|
+
type: "button",
|
|
5002
|
+
"aria-expanded": !collapsed,
|
|
5003
|
+
"aria-label": collapsed ? "Expandir menu" : "Recolher menu",
|
|
5004
|
+
onClick: toggleCollapse,
|
|
5005
|
+
className: cn(
|
|
5006
|
+
"inline-flex size-8 shrink-0 items-center justify-center rounded-v2-md text-current transition-colors hover:bg-v2-bg-subtle"
|
|
5007
|
+
),
|
|
5008
|
+
children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react64.CaretDoubleRight, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react64.CaretDoubleLeft, { size: 16 })
|
|
5009
|
+
}
|
|
5010
|
+
)
|
|
5012
5011
|
}
|
|
5013
5012
|
)
|
|
5014
5013
|
]
|
|
@@ -6970,6 +6969,8 @@ var DonutChart = (0, import_react89.forwardRef)(
|
|
|
6970
6969
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6971
6970
|
import_recharts.Tooltip,
|
|
6972
6971
|
{
|
|
6972
|
+
allowEscapeViewBox: { x: false, y: true },
|
|
6973
|
+
position: { y: -12 },
|
|
6973
6974
|
content: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6974
6975
|
ChartTooltip,
|
|
6975
6976
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -4928,27 +4928,26 @@ var Sidebar = forwardRef38(function Sidebar2({
|
|
|
4928
4928
|
children: [
|
|
4929
4929
|
headerSlot && !collapsed && /* @__PURE__ */ jsx50("div", { children: headerSlot }),
|
|
4930
4930
|
/* @__PURE__ */ jsx50(
|
|
4931
|
-
|
|
4931
|
+
Tooltip,
|
|
4932
4932
|
{
|
|
4933
|
-
|
|
4934
|
-
"
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
},
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
] })
|
|
4933
|
+
side: "right",
|
|
4934
|
+
content: /* @__PURE__ */ jsxs31("span", { children: [
|
|
4935
|
+
collapsed ? "Expandir menu" : "Recolher menu",
|
|
4936
|
+
enableShortcut && /* @__PURE__ */ jsx50("span", { className: "ml-1 text-v2-fg-muted", children: getShortcutLabel("B") })
|
|
4937
|
+
] }),
|
|
4938
|
+
children: /* @__PURE__ */ jsx50(
|
|
4939
|
+
"button",
|
|
4940
|
+
{
|
|
4941
|
+
type: "button",
|
|
4942
|
+
"aria-expanded": !collapsed,
|
|
4943
|
+
"aria-label": collapsed ? "Expandir menu" : "Recolher menu",
|
|
4944
|
+
onClick: toggleCollapse,
|
|
4945
|
+
className: cn(
|
|
4946
|
+
"inline-flex size-8 shrink-0 items-center justify-center rounded-v2-md text-current transition-colors hover:bg-v2-bg-subtle"
|
|
4947
|
+
),
|
|
4948
|
+
children: collapsed ? /* @__PURE__ */ jsx50(CaretDoubleRight, { size: 16 }) : /* @__PURE__ */ jsx50(CaretDoubleLeft, { size: 16 })
|
|
4949
|
+
}
|
|
4950
|
+
)
|
|
4952
4951
|
}
|
|
4953
4952
|
)
|
|
4954
4953
|
]
|
|
@@ -6910,6 +6909,8 @@ var DonutChart = forwardRef50(
|
|
|
6910
6909
|
/* @__PURE__ */ jsx68(
|
|
6911
6910
|
Tooltip2,
|
|
6912
6911
|
{
|
|
6912
|
+
allowEscapeViewBox: { x: false, y: true },
|
|
6913
|
+
position: { y: -12 },
|
|
6913
6914
|
content: /* @__PURE__ */ jsx68(
|
|
6914
6915
|
ChartTooltip,
|
|
6915
6916
|
{
|