@butternutbox/pawprint-native 0.19.1 → 0.19.2

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.
@@ -7,12 +7,12 @@
7
7
  CJS Build start
8
8
  ESM Build start
9
9
  DTS Build start
10
- CJS dist/index.cjs 546.41 KB
11
- CJS dist/index.cjs.map 1.06 MB
12
- CJS ⚡️ Build success in 7807ms
13
- ESM dist/index.js 516.34 KB
10
+ ESM dist/index.js 516.72 KB
14
11
  ESM dist/index.js.map 1.06 MB
15
- ESM ⚡️ Build success in 7808ms
16
- DTS ⚡️ Build success in 22733ms
12
+ ESM ⚡️ Build success in 7309ms
13
+ CJS dist/index.cjs 546.81 KB
14
+ CJS dist/index.cjs.map 1.06 MB
15
+ CJS ⚡️ Build success in 7309ms
16
+ DTS ⚡️ Build success in 21698ms
17
17
  DTS dist/index.d.cts 100.86 KB
18
18
  DTS dist/index.d.ts 100.86 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @butternutbox/pawprint-native
2
2
 
3
+ ## 0.19.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 68b227a: `NativeSelectPicker`: fix the Android options panel being too short.
8
+
9
+ On Android the options `FlatList` was capped at a tiny fixed height (`spacing["8xl"]`), so only ~1 option was visible with a cramped scrollbar. It now sizes to a fraction of the screen height, filling the bottom-sheet dialog so all options are reachable/scrollable — matching the full-height iOS `ActionSheetIOS` picker. iOS is unaffected.
10
+
3
11
  ## 0.19.1
4
12
 
5
13
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -9357,6 +9357,7 @@ var NativeSelectPicker = React66__default.default.forwardRef(
9357
9357
  var _a2;
9358
9358
  const [isOpen, setIsOpen] = React66.useState(false);
9359
9359
  const { iconAnimationStyles } = useIconAnimation();
9360
+ const { height: windowHeight } = reactNative.useWindowDimensions();
9360
9361
  const hasPlaceholder = placeholder && Object.keys(placeholder).length > 0 && placeholder.label !== void 0;
9361
9362
  const allItems = React66.useMemo(() => {
9362
9363
  var _a3;
@@ -9471,7 +9472,12 @@ var NativeSelectPicker = React66__default.default.forwardRef(
9471
9472
  );
9472
9473
  },
9473
9474
  style: {
9474
- maxHeight: parseSize2(dimensions2.spacing["8xl"])
9475
+ // Fill the bottom-sheet dialog (sized 40-80% of the
9476
+ // screen) rather than a tiny fixed cap, so all options
9477
+ // are reachable/scrollable on Android like the iOS
9478
+ // ActionSheet. Previously capped at spacing["8xl"],
9479
+ // which showed only ~1 row.
9480
+ maxHeight: windowHeight * 0.7
9475
9481
  }
9476
9482
  }
9477
9483
  )