@ecohouse/ui 0.1.40 → 0.1.41

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.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Cross-platform presentation-only UI components for EcoHouse (React Native + React Native Web)",
@@ -313,8 +313,7 @@ export const Drawer = forwardRef<ComponentRef<typeof View>, DrawerProps>(functio
313
313
  >
314
314
  <View style={styles.root} accessibilityViewIsModal>
315
315
  <Animated.View
316
- pointerEvents="none"
317
- style={[styles.backdrop, { opacity: animatedBackdrop }]}
316
+ style={[styles.backdrop, { opacity: animatedBackdrop, pointerEvents: "none" }]}
318
317
  />
319
318
  <Pressable
320
319
  accessibilityRole="button"
@@ -198,7 +198,7 @@ function MultiValueChips({ options, disabled, onRemove }: MultiValueChipsProps)
198
198
  return (
199
199
  <View style={styles.multiValueRoot}>
200
200
  {/* Hidden copy of every chip; RN has no synchronous text measurement. */}
201
- <View pointerEvents="none" style={styles.measureRow}>
201
+ <View style={[styles.measureRow, { pointerEvents: "none" }]}>
202
202
  {options.map((option) => (
203
203
  <View
204
204
  key={`measure-${option.value}`}
@@ -723,7 +723,7 @@ export const Select = forwardRef<ComponentRef<typeof View>, SelectProps>(
723
723
  ]}
724
724
  >
725
725
  {multiple ? (
726
- <View pointerEvents="none" style={styles.itemCheckbox}>
726
+ <View style={[styles.itemCheckbox, { pointerEvents: "none" }]}>
727
727
  <Checkbox value={isSelected} variant="light" />
728
728
  </View>
729
729
  ) : null}
package/src/index.ts CHANGED
@@ -21,6 +21,7 @@ export {
21
21
  DatePicker,
22
22
  FloatingActionButton,
23
23
  Modal,
24
+ Drawer,
24
25
  Input,
25
26
  VerificationCodeInput,
26
27
  Select,
@@ -68,6 +69,7 @@ export type {
68
69
  DateRange,
69
70
  FloatingActionButtonProps,
70
71
  ModalProps,
72
+ DrawerProps,
71
73
  InputIcon,
72
74
  InputProps,
73
75
  InputSize,