@scripso-homepad/ui 0.4.3 → 0.4.4

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 CHANGED
@@ -958,8 +958,6 @@ var selectFieldMetrics = reactNative.StyleSheet.create({
958
958
  flexDirection: "row",
959
959
  alignItems: "center",
960
960
  height: SELECT_HEIGHT,
961
- minHeight: SELECT_HEIGHT,
962
- maxHeight: SELECT_HEIGHT,
963
961
  borderRadius: radii.lg,
964
962
  padding: SELECT_PADDING,
965
963
  gap: SELECT_INNER_GAP,
@@ -1196,6 +1194,7 @@ function Select({
1196
1194
  invalid,
1197
1195
  hint,
1198
1196
  containerStyle,
1197
+ fieldStyle,
1199
1198
  className,
1200
1199
  fieldClassName,
1201
1200
  menuClassName,
@@ -1226,7 +1225,7 @@ function Select({
1226
1225
  toValue: open ? 1 : 0,
1227
1226
  duration: SELECT_CHEVRON_ROTATION_MS,
1228
1227
  easing: reactNative.Easing.out(reactNative.Easing.ease),
1229
- useNativeDriver: true
1228
+ useNativeDriver: reactNative.Platform.OS !== "web"
1230
1229
  }).start();
1231
1230
  }, [chevronRotation, open]);
1232
1231
  const chevronRotate = chevronRotation.interpolate({
@@ -1356,7 +1355,7 @@ function Select({
1356
1355
  accessibilityState: { disabled, expanded: open },
1357
1356
  disabled,
1358
1357
  onPress: open ? closeMenu : openMenu,
1359
- style: [selectFieldMetrics.container, fieldStyles.container],
1358
+ style: [selectFieldMetrics.container, fieldStyles.container, fieldStyle],
1360
1359
  children: [
1361
1360
  leftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles4.iconSlot, children: renderSelectIcon(leftIcon, fieldStyles.icon) }) : null,
1362
1361
  /* @__PURE__ */ jsxRuntime.jsx(