@julseb-lib/react 1.0.13 → 1.0.15

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 } = useLibTheme();
3016
+ const { theme = "light" } = useLibTheme();
3017
3017
  const Element = element;
3018
3018
  const childrenArray = import_react23.Children.toArray(
3019
3019
  children?.toString().replaceAll(",", "").split("")
@@ -66281,6 +66281,7 @@ var Select = ({
66281
66281
  onClick: () => setIsOpen(!isOpen),
66282
66282
  onFocus: () => setIsOpen(true),
66283
66283
  disabled,
66284
+ type: "button",
66284
66285
  ...rest,
66285
66286
  children: [
66286
66287
  /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(
@@ -67017,7 +67018,7 @@ var AccordionContent = ({
67017
67018
  children,
67018
67019
  ...rest
67019
67020
  }) => {
67020
- const Element = element ?? (typeof children === "string" ? Text : import_react75.Fragment);
67021
+ const Element = element ?? (typeof children === "string" ? Text : "div");
67021
67022
  return /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
67022
67023
  Element,
67023
67024
  {
@@ -67222,7 +67223,7 @@ var Toast = ({
67222
67223
  ...rest
67223
67224
  }) => {
67224
67225
  const Element = element;
67225
- const { theme } = useLibTheme();
67226
+ const { theme = "light" } = useLibTheme();
67226
67227
  return /* @__PURE__ */ (0, import_jsx_runtime333.jsxs)(
67227
67228
  Element,
67228
67229
  {
@@ -67413,7 +67414,7 @@ var Alert = ({
67413
67414
  ...rest
67414
67415
  }) => {
67415
67416
  const Element = element;
67416
- const { theme } = useLibTheme();
67417
+ const { theme = "light" } = useLibTheme();
67417
67418
  return /* @__PURE__ */ (0, import_jsx_runtime336.jsx)(
67418
67419
  Element,
67419
67420
  {