reshaped 2.10.13 → 2.10.15

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 (63) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/bundle.css +1 -1
  3. package/bundle.js +15 -15
  4. package/components/Actionable/Actionable.js +0 -1
  5. package/components/Autocomplete/Autocomplete.js +7 -2
  6. package/components/Badge/Badge.module.css +1 -1
  7. package/components/Badge/Badge.types.d.ts +1 -1
  8. package/components/Button/Button.module.css +1 -1
  9. package/components/Calendar/CalendarMonth.js +1 -1
  10. package/components/Card/Card.d.ts +1 -1
  11. package/components/Card/Card.module.css +1 -1
  12. package/components/Card/tests/Card.stories.d.ts +1 -1
  13. package/components/Carousel/Carousel.module.css +1 -1
  14. package/components/FormControl/FormControl.context.d.ts +0 -2
  15. package/components/Link/Link.module.css +1 -1
  16. package/components/Loader/Loader.module.css +1 -1
  17. package/components/Modal/Modal.module.css +1 -1
  18. package/components/Overlay/Overlay.js +5 -16
  19. package/components/Pagination/Pagination.module.css +1 -0
  20. package/components/Pagination/PaginationControlled.js +3 -2
  21. package/components/Reshaped/Reshaped.css +1 -1
  22. package/components/Scrim/Scrim.module.css +1 -1
  23. package/components/ScrollArea/ScrollArea.module.css +1 -1
  24. package/components/Skeleton/Skeleton.module.css +1 -1
  25. package/components/Stepper/Stepper.module.css +1 -1
  26. package/components/Switch/Switch.module.css +1 -1
  27. package/components/Table/Table.js +1 -1
  28. package/components/Table/Table.module.css +1 -1
  29. package/components/Table/tests/Table.stories.js +16 -0
  30. package/components/Tabs/Tabs.module.css +1 -1
  31. package/components/Tabs/TabsItem.js +1 -1
  32. package/components/Tabs/TabsList.js +9 -9
  33. package/components/Tabs/tests/Tabs.stories.js +1 -1
  34. package/components/TextField/TextField.module.css +1 -1
  35. package/components/TextField/tests/TextField.stories.js +1 -1
  36. package/components/Toast/Toast.module.css +1 -1
  37. package/components/Toast/ToastContainer.js +6 -6
  38. package/components/Toast/ToastRegion.js +1 -1
  39. package/components/View/View.module.css +1 -1
  40. package/components/_private/Flyout/Flyout.module.css +1 -1
  41. package/components/_private/Flyout/Flyout.types.d.ts +1 -1
  42. package/components/_private/Flyout/FlyoutControlled.js +8 -14
  43. package/config/postcss.d.ts +1 -0
  44. package/config/postcss.js +1 -1
  45. package/hooks/_private/useSingletonKeyboardMode.js +3 -3
  46. package/hooks/useHotkeys.d.ts +6 -6
  47. package/package.json +31 -31
  48. package/styles/padding/padding.module.css +1 -1
  49. package/utilities/a11y/TrapFocus.d.ts +41 -0
  50. package/utilities/a11y/TrapFocus.js +127 -0
  51. package/utilities/a11y/TrapScreenReader.d.ts +15 -0
  52. package/utilities/a11y/TrapScreenReader.js +39 -0
  53. package/utilities/a11y/focus.d.ts +24 -0
  54. package/utilities/a11y/focus.js +90 -0
  55. package/utilities/a11y/keyboardMode.d.ts +3 -0
  56. package/utilities/a11y/keyboardMode.js +10 -0
  57. package/utilities/a11y/types.d.ts +18 -0
  58. package/utilities/a11y/types.js +1 -0
  59. package/utilities/helpers.d.ts +1 -1
  60. package/constants/attributes.d.ts +0 -2
  61. package/constants/attributes.js +0 -2
  62. package/utilities/a11y.d.ts +0 -36
  63. package/utilities/a11y.js +0 -220
package/CHANGELOG.md CHANGED
@@ -9,13 +9,27 @@ 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
 
15
18
  - View: Fixed dividers incorrectly working with React.Fragments
19
+ - View: Padding respects border
20
+ - Card: Padding respects border
21
+ - TextField: Fixed focus-within when focused on the button inside
16
22
  - useHotkeys: auto preventDefault
17
23
  - useHotkeys: fixed used hotkeys cleanup
18
24
  - DropdownMenu: fixed double click handling
19
25
  - Slider: Float values
20
26
  - Slider: Tabular numbers
21
27
  - Actionable: Form submission with type="submit"
28
+ - Calendar: Fixed dates tabIndex edge cases
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