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 CHANGED
@@ -1510,7 +1510,7 @@ const theme = {
1510
1510
  shadows: {
1511
1511
  sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
1512
1512
  base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
1513
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
1513
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05)",
1514
1514
  lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
1515
1515
  xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"
1516
1516
  },
@@ -2507,6 +2507,13 @@ const ThemeProvider = _ref => {
2507
2507
  let {
2508
2508
  children
2509
2509
  } = _ref;
2510
+ // Ensure theme is properly defined
2511
+ if (!theme) {
2512
+ console.error("Theme is undefined!");
2513
+ return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
2514
+ children: children
2515
+ });
2516
+ }
2510
2517
  return jsxRuntimeExports.jsx(ThemeProvider$1, {
2511
2518
  theme: theme,
2512
2519
  children: children