@julseb-lib/react 1.0.14 → 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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2831,7 +2831,7 @@ var Key = ({
|
|
|
2831
2831
|
accentColor = "primary",
|
|
2832
2832
|
...rest
|
|
2833
2833
|
}) => {
|
|
2834
|
-
const { theme } = useLibTheme();
|
|
2834
|
+
const { theme = "light" } = useLibTheme();
|
|
2835
2835
|
const Element = element;
|
|
2836
2836
|
const childrenArray = Children.toArray(
|
|
2837
2837
|
children?.toString().replaceAll(",", "").split("")
|
|
@@ -66099,6 +66099,7 @@ var Select = ({
|
|
|
66099
66099
|
onClick: () => setIsOpen(!isOpen),
|
|
66100
66100
|
onFocus: () => setIsOpen(true),
|
|
66101
66101
|
disabled,
|
|
66102
|
+
type: "button",
|
|
66102
66103
|
...rest,
|
|
66103
66104
|
children: [
|
|
66104
66105
|
/* @__PURE__ */ jsx316(
|
|
@@ -67040,7 +67041,7 @@ var Toast = ({
|
|
|
67040
67041
|
...rest
|
|
67041
67042
|
}) => {
|
|
67042
67043
|
const Element = element;
|
|
67043
|
-
const { theme } = useLibTheme();
|
|
67044
|
+
const { theme = "light" } = useLibTheme();
|
|
67044
67045
|
return /* @__PURE__ */ jsxs278(
|
|
67045
67046
|
Element,
|
|
67046
67047
|
{
|
|
@@ -67233,7 +67234,7 @@ var Alert = ({
|
|
|
67233
67234
|
...rest
|
|
67234
67235
|
}) => {
|
|
67235
67236
|
const Element = element;
|
|
67236
|
-
const { theme } = useLibTheme();
|
|
67237
|
+
const { theme = "light" } = useLibTheme();
|
|
67237
67238
|
return /* @__PURE__ */ jsx335(
|
|
67238
67239
|
Element,
|
|
67239
67240
|
{
|