@datavac/ui-kit 1.1.0 → 1.1.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.js
CHANGED
|
@@ -6704,8 +6704,10 @@ function Ju() {
|
|
|
6704
6704
|
//#endregion
|
|
6705
6705
|
//#region src/components/ThemeToggle/ThemeToggle.tsx
|
|
6706
6706
|
function Yu({ className: e }) {
|
|
6707
|
-
let { themeName: t, toggleTheme: n } = Ju(), r = t === "dark";
|
|
6708
|
-
return
|
|
6707
|
+
let { themeName: t, toggleTheme: n } = Ju(), r = t === "dark", [i, a] = l(!1);
|
|
6708
|
+
return o(() => {
|
|
6709
|
+
a(!0);
|
|
6710
|
+
}, []), i ? /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f("div", {
|
|
6709
6711
|
className: G("hidden md:flex items-center gap-2", e),
|
|
6710
6712
|
children: [
|
|
6711
6713
|
/* @__PURE__ */ d("span", {
|
|
@@ -6742,7 +6744,7 @@ function Yu({ className: e }) {
|
|
|
6742
6744
|
children: /* @__PURE__ */ d(Fu, {})
|
|
6743
6745
|
})
|
|
6744
6746
|
]
|
|
6745
|
-
})] });
|
|
6747
|
+
})] }) : null;
|
|
6746
6748
|
}
|
|
6747
6749
|
//#endregion
|
|
6748
6750
|
export { Tu as Accordion, Eu as AccordionItem, Mu as ArrowsIcon, yt as Badge, vt as Button, tt as Caption, bt as Chip, xt as Counter, bl as Drawer, Au as EmptyState, ju as ErrorState, Qe as Heading, Nu as InfoCircleIcon, St as Input, et as Label, Pu as MenuIcon, Fu as MoonStarsIcon, Iu as PlusIcon, Ct as SearchBar, ku as Skeleton, Ou as Spinner, Lu as SunIcon, zu as Switch, $e as Text, qu as ThemeProvider, Yu as ThemeToggle, za as Tooltip, G as cn, Vu as darkTheme, Bu as defaultTheme, Uu as themes, Gu as tokensToCssVars, Ju as useTheme };
|