@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.
package/.turbo/turbo-build.log
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
[34mCJS[39m Build start
|
|
8
8
|
[34mESM[39m Build start
|
|
9
9
|
[34mDTS[39m Build start
|
|
10
|
-
[
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1.06 MB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 7807ms
|
|
13
|
-
[32mESM[39m [1mdist/index.js [22m[32m516.34 KB[39m
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m516.72 KB[39m
|
|
14
11
|
[32mESM[39m [1mdist/index.js.map [22m[32m1.06 MB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 7309ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m546.81 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1.06 MB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 7309ms
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 21698ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m100.86 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m100.86 KB[39m
|
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
|
-
|
|
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
|
)
|