@epilot/volt-ui 1.3.0 → 1.3.1
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.es.js
CHANGED
|
@@ -21878,40 +21878,39 @@ const o_ = ({
|
|
|
21878
21878
|
) });
|
|
21879
21879
|
}, r_ = ({
|
|
21880
21880
|
className: e,
|
|
21881
|
-
|
|
21882
|
-
|
|
21881
|
+
floatingClassName: n,
|
|
21882
|
+
children: t,
|
|
21883
|
+
...o
|
|
21883
21884
|
}) => {
|
|
21884
|
-
const { collapsed:
|
|
21885
|
+
const { collapsed: r, width: a, isHovered: s, expandOnHover: i, skipTransition: l } = Zs(), c = typeof a == "number" ? `${a}px` : a;
|
|
21885
21886
|
return /* @__PURE__ */ Y(Be, { children: [
|
|
21886
|
-
!
|
|
21887
|
+
!r && /* @__PURE__ */ u(
|
|
21887
21888
|
"aside",
|
|
21888
21889
|
{
|
|
21889
21890
|
"data-slot": "collapsible-sidebar-content",
|
|
21890
|
-
className: S(
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
style: { width: l },
|
|
21895
|
-
...t,
|
|
21896
|
-
children: n
|
|
21891
|
+
className: S("volt-flex volt-flex-col volt-h-full volt-flex-1", e),
|
|
21892
|
+
style: { width: c },
|
|
21893
|
+
...o,
|
|
21894
|
+
children: t
|
|
21897
21895
|
}
|
|
21898
21896
|
),
|
|
21899
|
-
|
|
21897
|
+
i && /* @__PURE__ */ u(
|
|
21900
21898
|
"div",
|
|
21901
21899
|
{
|
|
21902
21900
|
"data-slot": "collapsible-sidebar-floating",
|
|
21903
|
-
"data-visible":
|
|
21901
|
+
"data-visible": r && s,
|
|
21904
21902
|
className: S(
|
|
21905
|
-
"volt-absolute volt-top-0 volt-left-0 volt-h-full volt-z-
|
|
21903
|
+
"volt-absolute volt-top-0 volt-left-0 volt-h-full volt-z-50 volt-rounded-2xl",
|
|
21906
21904
|
"volt-bg-[var(--surface,#fff)]",
|
|
21907
21905
|
"volt-shadow-[0_4px_20px_rgba(0,0,0,0.15)]",
|
|
21908
|
-
|
|
21906
|
+
l ? "volt-transition-none" : "volt-transition-all volt-duration-200 volt-ease-[cubic-bezier(0.25,0.46,0.45,0.94)]",
|
|
21909
21907
|
"volt-opacity-0 volt--translate-x-1/2 volt-pointer-events-none",
|
|
21910
21908
|
"volt-data-[visible=true]:opacity-100 volt-data-[visible=true]:translate-x-0 volt-data-[visible=true]:pointer-events-auto",
|
|
21911
|
-
"volt-flex volt-flex-col"
|
|
21909
|
+
"volt-flex volt-flex-col",
|
|
21910
|
+
n
|
|
21912
21911
|
),
|
|
21913
|
-
style: { width:
|
|
21914
|
-
children:
|
|
21912
|
+
style: { width: c },
|
|
21913
|
+
children: r && s && t
|
|
21915
21914
|
}
|
|
21916
21915
|
)
|
|
21917
21916
|
] });
|