reshaped 2.10.14 → 2.10.16

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 (56) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bundle.css +1 -1
  3. package/bundle.js +15 -15
  4. package/components/ActionBar/ActionBar.module.css +1 -1
  5. package/components/Actionable/Actionable.js +0 -1
  6. package/components/Autocomplete/Autocomplete.js +7 -2
  7. package/components/Badge/Badge.module.css +1 -1
  8. package/components/Button/Button.module.css +1 -1
  9. package/components/Card/Card.d.ts +1 -1
  10. package/components/Card/tests/Card.stories.d.ts +1 -1
  11. package/components/Carousel/Carousel.module.css +1 -1
  12. package/components/FormControl/FormControl.context.d.ts +0 -2
  13. package/components/Link/Link.module.css +1 -1
  14. package/components/Loader/Loader.module.css +1 -1
  15. package/components/Modal/Modal.module.css +1 -1
  16. package/components/Overlay/Overlay.js +5 -16
  17. package/components/Pagination/Pagination.module.css +1 -0
  18. package/components/Pagination/PaginationControlled.js +3 -2
  19. package/components/Reshaped/Reshaped.css +1 -1
  20. package/components/Scrim/Scrim.module.css +1 -1
  21. package/components/ScrollArea/ScrollArea.module.css +1 -1
  22. package/components/Skeleton/Skeleton.module.css +1 -1
  23. package/components/Stepper/Stepper.module.css +1 -1
  24. package/components/Switch/Switch.module.css +1 -1
  25. package/components/Table/Table.js +1 -1
  26. package/components/Table/Table.module.css +1 -1
  27. package/components/Table/tests/Table.stories.js +16 -0
  28. package/components/Tabs/Tabs.module.css +1 -1
  29. package/components/Tabs/TabsItem.js +1 -1
  30. package/components/Tabs/TabsList.js +9 -9
  31. package/components/Toast/Toast.module.css +1 -1
  32. package/components/Toast/ToastContainer.js +6 -6
  33. package/components/Toast/ToastRegion.js +1 -1
  34. package/components/_private/Flyout/Flyout.module.css +1 -1
  35. package/components/_private/Flyout/Flyout.types.d.ts +1 -1
  36. package/components/_private/Flyout/FlyoutControlled.js +8 -14
  37. package/config/postcss.d.ts +1 -0
  38. package/config/postcss.js +1 -1
  39. package/hooks/_private/useSingletonKeyboardMode.js +3 -3
  40. package/hooks/useHotkeys.d.ts +6 -6
  41. package/package.json +31 -31
  42. package/utilities/a11y/TrapFocus.d.ts +41 -0
  43. package/utilities/a11y/TrapFocus.js +127 -0
  44. package/utilities/a11y/TrapScreenReader.d.ts +15 -0
  45. package/utilities/a11y/TrapScreenReader.js +39 -0
  46. package/utilities/a11y/focus.d.ts +24 -0
  47. package/utilities/a11y/focus.js +90 -0
  48. package/utilities/a11y/keyboardMode.d.ts +3 -0
  49. package/utilities/a11y/keyboardMode.js +10 -0
  50. package/utilities/a11y/types.d.ts +18 -0
  51. package/utilities/a11y/types.js +1 -0
  52. package/utilities/helpers.d.ts +1 -1
  53. package/constants/attributes.d.ts +0 -2
  54. package/constants/attributes.js +0 -2
  55. package/utilities/a11y.d.ts +0 -36
  56. package/utilities/a11y.js +0 -220
package/CHANGELOG.md CHANGED
@@ -9,6 +9,9 @@ Features:
9
9
  - Modal: overlayClassName
10
10
  - PinField: new component
11
11
  - useHotkeys: preventDefault flag
12
+ - Table: Added width: auto nowrap
13
+ - Table: Added minWidth support
14
+ - Tabs: Animated fade
12
15
 
13
16
  Fixes:
14
17
 
@@ -24,3 +27,9 @@ Fixes:
24
27
  - Actionable: Form submission with type="submit"
25
28
  - Calendar: Fixed dates tabIndex edge cases
26
29
  - Tabs: Improved tabs animation
30
+ - Tabs: Updated font weight to medium to align with buttons
31
+ - Pagination: Added tabular nums
32
+
33
+ Updates:
34
+
35
+ - Commitlint 16, Storybook 8, Chromatic 11