reshaped 3.0.4 → 3.0.6
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 +2 -0
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +9 -9
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/Modal.module.css +1 -1
- package/dist/components/Modal/Modal.types.d.ts +2 -4
- package/dist/components/Modal/tests/Modal.stories.d.ts +1 -0
- package/dist/components/Modal/tests/Modal.stories.js +36 -0
- package/dist/components/Overlay/Overlay.js +5 -5
- package/dist/components/Overlay/Overlay.module.css +1 -1
- package/dist/components/Overlay/Overlay.types.d.ts +1 -0
- package/dist/components/Tooltip/tests/Tooltip.stories.js +15 -0
- package/dist/components/_private/Flyout/FlyoutContent.js +2 -1
- package/dist/components/_private/Flyout/FlyoutControlled.js +4 -4
- package/dist/components/_private/Flyout/utilities/cooldown.js +1 -1
- package/dist/components/_private/Portal/Portal.types.d.ts +1 -1
- package/dist/hooks/useScrollLock.d.ts +4 -1
- package/dist/hooks/useScrollLock.js +15 -10
- package/dist/utilities/a11y/TrapScreenReader.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -16,6 +16,8 @@
|
|
16
16
|
- Flyout: Calculate position correctly inside fixed position containers that are not top: 0
|
17
17
|
- Modal: Improved edge cases of swipe to close in scrollable modals
|
18
18
|
- Modal: Prevent swipe to close when text selection is happening
|
19
|
+
- Overlay, Modal: containerRef support
|
20
|
+
- useScrollLock: added support for passing an element ref
|
19
21
|
|
20
22
|
- Figma: Removed local color scoping
|
21
23
|
- Figma: Updated description links
|