@butternutbox/pawprint-native 0.10.8 → 0.10.9
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 +5 -5
- package/CHANGELOG.md +21 -0
- package/dist/index.cjs +696 -775
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +196 -275
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/Drawer/Drawer.stories.tsx +49 -110
- package/src/components/molecules/Drawer/DrawerBody.tsx +9 -42
- package/src/components/molecules/Drawer/DrawerContent.tsx +41 -122
- package/src/components/molecules/Drawer/DrawerMeasureContext.ts +0 -22
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
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.73 MB[39m
|
|
11
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m2.70 MB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 11777ms
|
|
13
10
|
[32mCJS[39m [1mdist/index.cjs [22m[32m1.80 MB[39m
|
|
14
11
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m2.70 MB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 11884ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m1.72 MB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m2.70 MB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 11885ms
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 22581ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m91.44 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m91.44 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @butternutbox/pawprint-native
|
|
2
2
|
|
|
3
|
+
## 0.10.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 825e9bb: Drawer: fix the content-driven height re-fit so tall drawers no longer clip or
|
|
8
|
+
lose the ability to scroll (regression in 0.10.8).
|
|
9
|
+
|
|
10
|
+
The 0.10.8 implementation derived the panel height from the body content
|
|
11
|
+
measured _inside_ the height-constrained `ScrollView` and fed it back to size
|
|
12
|
+
the panel. For any drawer whose content height depends on the available height,
|
|
13
|
+
that coupling sized the panel too short and collapsed the scroll region, so tall
|
|
14
|
+
drawers clipped their content and could not scroll to the end.
|
|
15
|
+
|
|
16
|
+
The re-fit is now purely layout-driven: the panel wraps its content and caps at
|
|
17
|
+
90% of the window height, while `DrawerBody` keeps its own `maxHeight` to bound
|
|
18
|
+
scrolling (and prevent the `ScrollView` from collapsing). When the body grows or
|
|
19
|
+
shrinks after open — async loading, expanding sections — the panel re-fits
|
|
20
|
+
itself through normal layout with no measurement feedback loop. Removes the
|
|
21
|
+
`DrawerMeasureContext` plumbing and adds a `DynamicContent` story as a
|
|
22
|
+
regression guard.
|
|
23
|
+
|
|
3
24
|
## 0.10.8
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|