reshaped 3.0.3 → 3.0.4

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/dist/bundle.css +1 -1
  3. package/dist/bundle.d.ts +3 -3
  4. package/dist/bundle.js +10 -10
  5. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  6. package/dist/components/Autocomplete/Autocomplete.types.d.ts +2 -1
  7. package/dist/components/Carousel/Carousel.types.d.ts +2 -2
  8. package/dist/components/Carousel/index.d.ts +1 -1
  9. package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +3 -2
  10. package/dist/components/DropdownMenu/index.d.ts +1 -1
  11. package/dist/components/Modal/Modal.js +9 -4
  12. package/dist/components/Popover/Popover.js +2 -2
  13. package/dist/components/Popover/Popover.types.d.ts +3 -2
  14. package/dist/components/Popover/index.d.ts +1 -1
  15. package/dist/components/Text/Text.js +1 -1
  16. package/dist/components/Text/Text.module.css +1 -1
  17. package/dist/components/Text/Text.types.d.ts +1 -1
  18. package/dist/components/Text/tests/Text.stories.js +3 -0
  19. package/dist/components/Tooltip/Tooltip.js +2 -2
  20. package/dist/components/Tooltip/Tooltip.types.d.ts +1 -1
  21. package/dist/components/Tooltip/tests/Tooltip.stories.js +25 -1
  22. package/dist/components/View/View.js +3 -1
  23. package/dist/components/View/View.module.css +1 -1
  24. package/dist/components/View/View.types.d.ts +1 -1
  25. package/dist/components/View/tests/View.stories.js +6 -0
  26. package/dist/components/_private/Flyout/Flyout.constants.d.ts +3 -0
  27. package/dist/components/_private/Flyout/Flyout.constants.js +3 -0
  28. package/dist/components/_private/Flyout/Flyout.module.css +1 -1
  29. package/dist/components/_private/Flyout/Flyout.types.d.ts +9 -3
  30. package/dist/components/_private/Flyout/FlyoutContent.js +7 -4
  31. package/dist/components/_private/Flyout/FlyoutControlled.js +33 -18
  32. package/dist/components/_private/Flyout/index.d.ts +1 -1
  33. package/dist/components/_private/Flyout/tests/Flyout.stories.d.ts +3 -0
  34. package/dist/components/_private/Flyout/tests/Flyout.stories.js +62 -0
  35. package/dist/components/_private/Flyout/useFlyout.d.ts +4 -1
  36. package/dist/components/_private/Flyout/useFlyout.js +21 -16
  37. package/dist/components/_private/Flyout/utilities/calculatePosition.d.ts +1 -0
  38. package/dist/components/_private/Flyout/utilities/calculatePosition.js +3 -3
  39. package/dist/components/_private/Flyout/utilities/cooldown.d.ts +8 -0
  40. package/dist/components/_private/Flyout/utilities/cooldown.js +18 -0
  41. package/dist/index.d.ts +3 -3
  42. package/dist/styles/border/border.module.css +1 -0
  43. package/dist/styles/border/index.d.ts +3 -0
  44. package/dist/styles/border/index.js +10 -0
  45. package/dist/styles/types.d.ts +1 -0
  46. package/package.json +1 -1
  47. package/dist/constants/timeouts.d.ts +0 -2
  48. package/dist/constants/timeouts.js +0 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@
4
4
  - Modal: attribures.ref support
5
5
  - Modal: disableSwipeGesture
6
6
  - Slider: vertical orientation
7
+ - Tooltip, Popover, DropdownMenu: Fixed position calculations
8
+ - Tooltip: disabled flag
9
+ - Tooltip: Cooldown for tooltip groups
10
+ - Popover, DropdownMenu, Autocomplete: containerRef
11
+ - Popover, DropdownMenu: updatePosition in instanceRef, added InstanceRef types
12
+ - Text: Responsive weight
13
+ - View: Responsive border color
14
+ - Tooltip, Popover: Disabled content hover
15
+ - Carousel: Renamed CarouselInstanceRef -> CarouselInstance
16
+ - Flyout: Calculate position correctly inside fixed position containers that are not top: 0
17
+ - Modal: Improved edge cases of swipe to close in scrollable modals
18
+ - Modal: Prevent swipe to close when text selection is happening
7
19
 
8
- - Figma: Removed local scoping
20
+ - Figma: Removed local color scoping
9
21
  - Figma: Updated description links
22
+ - Figma: typography weight and scoping