reshaped 3.5.4-canary.0 → 3.6.0-canary.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 +11 -43
- package/dist/bundle.css +1 -1
- package/dist/bundle.d.ts +36 -31
- package/dist/bundle.js +10 -10
- package/dist/components/Autocomplete/tests/Autocomplete.stories.js +0 -1
- package/dist/components/Button/Button.types.d.ts +1 -1
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.module.css +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +1 -1
- package/dist/components/DropdownMenu/tests/DropdownMenu.stories.d.ts +1 -1
- package/dist/components/DropdownMenu/tests/DropdownMenu.test.stories.d.ts +1 -1
- package/dist/components/Flyout/Flyout.constants.d.ts +6 -0
- package/dist/components/Flyout/Flyout.constants.js +19 -0
- package/dist/components/{_private/Flyout → Flyout}/Flyout.types.d.ts +3 -3
- package/dist/components/{_private/Flyout → Flyout}/FlyoutContent.js +25 -20
- package/dist/components/{_private/Flyout → Flyout}/FlyoutControlled.js +9 -9
- package/dist/components/{_private/Flyout → Flyout}/tests/Flyout.stories.d.ts +6 -4
- package/dist/components/{_private/Flyout → Flyout}/tests/Flyout.stories.js +128 -118
- package/dist/components/{_private/Flyout → Flyout}/useFlyout.d.ts +1 -1
- package/dist/components/Flyout/useFlyout.js +116 -0
- package/dist/components/Flyout/utilities/calculatePosition.d.ts +30 -0
- package/dist/components/Flyout/utilities/calculatePosition.js +129 -0
- package/dist/components/Flyout/utilities/flyout.d.ts +11 -0
- package/dist/components/Flyout/utilities/flyout.js +79 -0
- package/dist/components/Flyout/utilities/isFullyVisible.d.ts +10 -0
- package/dist/components/Flyout/utilities/isFullyVisible.js +24 -0
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/Popover.types.d.ts +2 -1
- package/dist/components/Popover/tests/Popover.stories.d.ts +2 -2
- package/dist/components/Popover/tests/Popover.test.stories.d.ts +2 -2
- package/dist/components/Radio/Radio.module.css +1 -1
- package/dist/components/ScrollArea/ScrollArea.js +6 -3
- package/dist/components/ScrollArea/tests/ScrollArea.stories.d.ts +4 -13
- package/dist/components/ScrollArea/tests/ScrollArea.stories.js +30 -129
- package/dist/components/ScrollArea/tests/ScrollArea.test.stories.d.ts +23 -0
- package/dist/components/ScrollArea/tests/ScrollArea.test.stories.js +66 -0
- package/dist/components/Tabs/TabsContext.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +1 -1
- package/dist/config/tailwind.d.ts +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/dist/index.d.ts +36 -31
- package/dist/index.js +20 -16
- package/dist/utilities/dom/find.d.ts +6 -9
- package/dist/utilities/dom/find.js +17 -15
- package/dist/utilities/dom/index.d.ts +1 -1
- package/dist/utilities/dom/index.js +1 -1
- package/dist/utilities/scroll/lock.js +4 -3
- package/package.json +10 -9
- package/CHANGELOG-old.md +0 -14
- package/dist/components/_private/Flyout/Flyout.constants.d.ts +0 -3
- package/dist/components/_private/Flyout/Flyout.constants.js +0 -3
- package/dist/components/_private/Flyout/useFlyout.js +0 -211
- package/dist/components/_private/Flyout/utilities/calculatePosition.d.ts +0 -19
- package/dist/components/_private/Flyout/utilities/calculatePosition.js +0 -102
- package/dist/components/_private/Flyout/utilities/isFullyVisible.d.ts +0 -8
- package/dist/components/_private/Flyout/utilities/isFullyVisible.js +0 -16
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.context.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.context.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.module.css +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/Flyout.types.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutContent.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutControlled.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutTrigger.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutTrigger.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutUncontrolled.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/FlyoutUncontrolled.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/index.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/index.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/utilities/cooldown.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/utilities/cooldown.js +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/utilities/getPositionFallbacks.d.ts +0 -0
- /package/dist/components/{_private/Flyout → Flyout}/utilities/getPositionFallbacks.js +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,46 +1,14 @@
|
|
1
|
-
|
1
|
+
3.6.0
|
2
2
|
|
3
|
+
- Flyout: Exported from the library
|
4
|
+
- Flyout: Moved css to css layers
|
5
|
+
- Flyout: Support height animations
|
3
6
|
|
7
|
+
3.5.1
|
4
8
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
* **ScrollArea:** fixed maxHeight ([6ba289f](https://github.com/formaat-design/reshaped-source/commit/6ba289f55bb62ac98ff8145264bc94c1dc975fa6))
|
12
|
-
* test changelog ([cc5759b](https://github.com/formaat-design/reshaped-source/commit/cc5759b59cb29337babac6c532ccc1159aa16783))
|
13
|
-
* test changelog again ([d89d79c](https://github.com/formaat-design/reshaped-source/commit/d89d79c5abaf00bbdd6a645badcc09cf09c312a0))
|
14
|
-
* updated sideEffects to *.css ([fb603ca](https://github.com/formaat-design/reshaped-source/commit/fb603cacb8057cb582f2d1f6b4d07ac0e79b19d8))
|
15
|
-
* updated sideEffects to *.css ([4346ddb](https://github.com/formaat-design/reshaped-source/commit/4346ddbe6d7983f22de807f52f504f42fa8fc5e6))
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
## [3.5.3](https://github.com/formaat-design/reshaped-source/compare/v3.5.1...v3.5.3) (2025-05-10)
|
20
|
-
|
21
|
-
|
22
|
-
### Bug Fixes
|
23
|
-
|
24
|
-
* **Checkbox,Radio:** removed css layers to keep tw3 preflight compatibility ([84d9bae](https://github.com/formaat-design/reshaped-source/commit/84d9bae98f88ad60950b4d5ab25e405448bf6622))
|
25
|
-
* **ScrollArea:** fixed maxHeight ([6ba289f](https://github.com/formaat-design/reshaped-source/commit/6ba289f55bb62ac98ff8145264bc94c1dc975fa6))
|
26
|
-
* test changelog ([cc5759b](https://github.com/formaat-design/reshaped-source/commit/cc5759b59cb29337babac6c532ccc1159aa16783))
|
27
|
-
* test changelog again ([d89d79c](https://github.com/formaat-design/reshaped-source/commit/d89d79c5abaf00bbdd6a645badcc09cf09c312a0))
|
28
|
-
* updated sideEffects to *.css ([fb603ca](https://github.com/formaat-design/reshaped-source/commit/fb603cacb8057cb582f2d1f6b4d07ac0e79b19d8))
|
29
|
-
* updated sideEffects to *.css ([4346ddb](https://github.com/formaat-design/reshaped-source/commit/4346ddbe6d7983f22de807f52f504f42fa8fc5e6))
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
# Unreleased (2025-05-10)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
## [3.5.1](https://github.com/formaat-design/reshaped/compare/v3.5.1-canary.0...v3.5.1) (2025-04-26)
|
38
|
-
|
39
|
-
### Bug Fixes
|
40
|
-
|
41
|
-
- **Card:** fixed absolute positioning inside the cards ([f069c9d](https://github.com/formaat-design/reshaped/commit/f069c9defa88304b11bfa7e664628d7541ad1a4c))
|
42
|
-
- preserve themes/modes in storybook ([35c28d6](https://github.com/formaat-design/reshaped/commit/35c28d67da3f4cedf6f011a550a282ec980f1bef))
|
43
|
-
- **Slider:** fixed drag propagation to swipeable modals ([6cc537b](https://github.com/formaat-design/reshaped/commit/6cc537b02ca1ec1e43812fe29576061ea1683b93))
|
44
|
-
- storybook theme fallback ([99883b0](https://github.com/formaat-design/reshaped/commit/99883b00c479c7bf08427873883d86e4871de680))
|
45
|
-
- **Tabs:** fixed arrow navigation ([e5d0fe8](https://github.com/formaat-design/reshaped/commit/e5d0fe8eb456980ef3645d8cde32993a629d3a51))
|
46
|
-
- **View:** switch to inferred return types ([29a2528](https://github.com/formaat-design/reshaped/commit/29a25280040c6fb1ae7d1424efb0050cc57becbc))
|
9
|
+
- NumberField: user-select none for touch devices
|
10
|
+
- Tabs: Fixed arrow navigation
|
11
|
+
- Slider: Fixed drag propagation when used in swipeable modals
|
12
|
+
- Card: Removed internal content wrapper to fix Safari absolute positioning of contents inside the card
|
13
|
+
- [Pro] Storybook: Preserve theme and mode values while navigating stories
|
14
|
+
- [Pro] Storybook config: switched to js to resolve TS resolving issues
|