@hero-design/rn 8.128.2 → 8.129.0
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/CHANGELOG.md +18 -0
- package/es/index.js +336 -129
- package/lib/index.js +335 -128
- package/package.json +1 -1
- package/src/components/BottomSheet/StyledBottomSheet.tsx +1 -1
- package/src/components/Drawer/DragableDrawer/DragableDrawerContext.ts +32 -0
- package/src/components/Drawer/DragableDrawer/DragableScrollView.tsx +113 -0
- package/src/components/Drawer/DragableDrawer/index.tsx +51 -144
- package/src/components/Drawer/DragableDrawer/useDragablePan.ts +223 -0
- package/src/components/Drawer/StyledDrawer.tsx +1 -1
- package/src/components/Drawer/index.tsx +2 -0
- package/src/theme/global/colors/ehJobs.ts +0 -1
- package/src/theme/global/colors/ehWork.ts +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +3 -3
- package/types/components/Checkbox/StyledInlineCheckBox.d.ts +1 -1
- package/types/components/Drawer/DragableDrawer/DragableDrawerContext.d.ts +18 -0
- package/types/components/Drawer/DragableDrawer/DragableScrollView.d.ts +18 -0
- package/types/components/Drawer/DragableDrawer/useDragablePan.d.ts +23 -0
- package/types/components/Drawer/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.129.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5064](https://github.com/Thinkei/hero-design/pull/5064) [`ab04879b122c6f14c987f703c41f9a2a9e70e32d`](https://github.com/Thinkei/hero-design/commit/ab04879b122c6f14c987f703c41f9a2a9e70e32d) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Drawer] Add `Drawer.DragableScrollView` for scroll and drag gesture coordination
|
|
8
|
+
|
|
9
|
+
When used inside `Drawer.Dragable`, `Drawer.DragableScrollView` coordinates scroll and pan gestures:
|
|
10
|
+
|
|
11
|
+
- While dragging the drawer, the scroll view is locked
|
|
12
|
+
- When the drawer reaches full height, scroll is enabled
|
|
13
|
+
- Pulling down from scroll top locks scroll and collapses the drawer
|
|
14
|
+
|
|
15
|
+
## 8.128.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#5095](https://github.com/Thinkei/hero-design/pull/5095) [`18765e918e8a7efd00ee347b16953dbd5542aa3f`](https://github.com/Thinkei/hero-design/commit/18765e918e8a7efd00ee347b16953dbd5542aa3f) Thanks [@phthhieu](https://github.com/phthhieu)! - Revert "[ANG-5090] Update primary token to #7622d7 in EH Work & EH Jobs themes"
|
|
20
|
+
|
|
3
21
|
## 8.128.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|