@scripso-homepad/ui 0.4.3 → 0.4.5

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
@@ -321,7 +321,6 @@ var sizeConfig = {
321
321
  paddingBottom: 8,
322
322
  paddingLeft: 24,
323
323
  paddingHorizontalCentered: 24,
324
- minHeight: 52,
325
324
  text: buttonTypography.lg,
326
325
  iconContainerSize: 36,
327
326
  iconContainerRadius: 12,
@@ -335,7 +334,6 @@ var sizeConfig = {
335
334
  paddingBottom: 8,
336
335
  paddingLeft: 16,
337
336
  paddingHorizontalCentered: 16,
338
- minHeight: 48,
339
337
  text: buttonTypography.sm,
340
338
  iconContainerSize: 32,
341
339
  iconContainerRadius: 8,
@@ -373,7 +371,6 @@ function Button({
373
371
  {
374
372
  borderRadius: metrics.borderRadius,
375
373
  backgroundColor: preset.backgroundColor,
376
- minHeight: metrics.minHeight,
377
374
  paddingTop: metrics.paddingTop,
378
375
  paddingBottom: metrics.paddingBottom,
379
376
  paddingLeft: hasIcon ? metrics.paddingLeft : metrics.paddingHorizontalCentered,
@@ -958,8 +955,6 @@ var selectFieldMetrics = reactNative.StyleSheet.create({
958
955
  flexDirection: "row",
959
956
  alignItems: "center",
960
957
  height: SELECT_HEIGHT,
961
- minHeight: SELECT_HEIGHT,
962
- maxHeight: SELECT_HEIGHT,
963
958
  borderRadius: radii.lg,
964
959
  padding: SELECT_PADDING,
965
960
  gap: SELECT_INNER_GAP,
@@ -1196,6 +1191,7 @@ function Select({
1196
1191
  invalid,
1197
1192
  hint,
1198
1193
  containerStyle,
1194
+ fieldStyle,
1199
1195
  className,
1200
1196
  fieldClassName,
1201
1197
  menuClassName,
@@ -1226,7 +1222,7 @@ function Select({
1226
1222
  toValue: open ? 1 : 0,
1227
1223
  duration: SELECT_CHEVRON_ROTATION_MS,
1228
1224
  easing: reactNative.Easing.out(reactNative.Easing.ease),
1229
- useNativeDriver: true
1225
+ useNativeDriver: reactNative.Platform.OS !== "web"
1230
1226
  }).start();
1231
1227
  }, [chevronRotation, open]);
1232
1228
  const chevronRotate = chevronRotation.interpolate({
@@ -1356,7 +1352,7 @@ function Select({
1356
1352
  accessibilityState: { disabled, expanded: open },
1357
1353
  disabled,
1358
1354
  onPress: open ? closeMenu : openMenu,
1359
- style: [selectFieldMetrics.container, fieldStyles.container],
1355
+ style: [selectFieldMetrics.container, fieldStyles.container, fieldStyle],
1360
1356
  children: [
1361
1357
  leftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles4.iconSlot, children: renderSelectIcon(leftIcon, fieldStyles.icon) }) : null,
1362
1358
  /* @__PURE__ */ jsxRuntime.jsx(