thailife-react 0.0.15 → 0.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.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/ThemeProvider.d.ts.map +1 -1
- package/dist/styles/theme.d.ts +74 -74
- package/dist/styles/theme.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1531,7 +1531,7 @@ const theme = {
|
|
|
1531
1531
|
shadows: {
|
|
1532
1532
|
sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
1533
1533
|
base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
|
|
1534
|
-
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.
|
|
1534
|
+
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05)",
|
|
1535
1535
|
lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
|
|
1536
1536
|
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
|
|
1537
1537
|
},
|
|
@@ -2528,6 +2528,13 @@ const ThemeProvider = _ref => {
|
|
|
2528
2528
|
let {
|
|
2529
2529
|
children
|
|
2530
2530
|
} = _ref;
|
|
2531
|
+
// Ensure theme is properly defined
|
|
2532
|
+
if (!theme) {
|
|
2533
|
+
console.error("Theme is undefined!");
|
|
2534
|
+
return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
|
|
2535
|
+
children: children
|
|
2536
|
+
});
|
|
2537
|
+
}
|
|
2531
2538
|
return jsxRuntimeExports.jsx(react.ThemeProvider, {
|
|
2532
2539
|
theme: theme,
|
|
2533
2540
|
children: children
|