@julseb-lib/react 1.0.15 → 1.0.17

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.cjs CHANGED
@@ -3013,7 +3013,7 @@ var Key = ({
3013
3013
  accentColor = "primary",
3014
3014
  ...rest
3015
3015
  }) => {
3016
- const { theme = "light" } = useLibTheme();
3016
+ const theme = localStorage.getItem("theme") ?? "light";
3017
3017
  const Element = element;
3018
3018
  const childrenArray = import_react23.Children.toArray(
3019
3019
  children?.toString().replaceAll(",", "").split("")
@@ -4621,7 +4621,7 @@ var InputList = ({
4621
4621
  inputBackground,
4622
4622
  validation
4623
4623
  }),
4624
- "z-0",
4624
+ "z-0 overflow-y-scroll",
4625
4625
  "input-list",
4626
4626
  className
4627
4627
  ),
@@ -67223,7 +67223,7 @@ var Toast = ({
67223
67223
  ...rest
67224
67224
  }) => {
67225
67225
  const Element = element;
67226
- const { theme = "light" } = useLibTheme();
67226
+ const theme = localStorage.getItem("theme") ?? "light";
67227
67227
  return /* @__PURE__ */ (0, import_jsx_runtime333.jsxs)(
67228
67228
  Element,
67229
67229
  {
@@ -67414,7 +67414,7 @@ var Alert = ({
67414
67414
  ...rest
67415
67415
  }) => {
67416
67416
  const Element = element;
67417
- const { theme = "light" } = useLibTheme();
67417
+ const theme = localStorage.getItem("theme") ?? "light";
67418
67418
  return /* @__PURE__ */ (0, import_jsx_runtime336.jsx)(
67419
67419
  Element,
67420
67420
  {