@ecohouse/ui 0.1.51 → 0.1.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecohouse/ui",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Cross-platform presentation-only UI components for EcoHouse (React Native + React Native Web)",
@@ -265,11 +265,14 @@ const styles = StyleSheet.create({
265
265
  borderColor: colors.grey700,
266
266
  borderRadius: 16,
267
267
  backgroundColor: colors.grey700,
268
- shadowColor: colors.black,
269
- shadowOffset: { width: 0, height: 8 },
270
- shadowOpacity: 0.4,
271
- shadowRadius: 18,
272
- elevation: 12,
268
+ ...Platform.select({
269
+ web: {
270
+ boxShadow: `0 8px 18px ${colors.black}66`,
271
+ },
272
+ default: {
273
+ elevation: 12,
274
+ },
275
+ }),
273
276
  },
274
277
  list: {
275
278
  maxHeight: MENU_MAX_HEIGHT,