reshaped 2.9.5 → 2.10.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/bundle.css +1 -1
  3. package/bundle.d.ts +2 -0
  4. package/bundle.js +10 -10
  5. package/cli/theming/index.js +2 -0
  6. package/components/Button/Button.js +2 -2
  7. package/components/Button/Button.types.d.ts +1 -1
  8. package/components/FormControl/FormControl.client.d.ts +3 -0
  9. package/components/FormControl/FormControl.client.js +28 -0
  10. package/components/FormControl/FormControl.d.ts +8 -5
  11. package/components/FormControl/FormControl.js +9 -62
  12. package/components/FormControl/FormControl.utilities.d.ts +2 -0
  13. package/components/FormControl/FormControl.utilities.js +1 -0
  14. package/components/FormControl/FormControlCaption.d.ts +3 -0
  15. package/components/FormControl/FormControlCaption.js +15 -0
  16. package/components/FormControl/FormControlError.d.ts +3 -0
  17. package/components/FormControl/FormControlError.js +12 -0
  18. package/components/FormControl/FormControlHelper.d.ts +3 -0
  19. package/components/FormControl/FormControlHelper.js +10 -0
  20. package/components/FormControl/FormControlLabel.d.ts +3 -0
  21. package/components/FormControl/FormControlLabel.js +18 -0
  22. package/components/FormControl/tests/FormControl.stories.d.ts +4 -5
  23. package/components/MenuItem/MenuItem.js +2 -2
  24. package/components/MenuItem/MenuItem.types.d.ts +1 -1
  25. package/components/Pagination/Pagination.d.ts +3 -0
  26. package/components/Pagination/Pagination.js +10 -0
  27. package/components/Pagination/Pagination.types.d.ts +52 -0
  28. package/components/Pagination/Pagination.types.js +1 -0
  29. package/components/Pagination/PaginationControlled.d.ts +3 -0
  30. package/components/Pagination/PaginationControlled.js +47 -0
  31. package/components/Pagination/PaginationUncontrolled.d.ts +3 -0
  32. package/components/Pagination/PaginationUncontrolled.js +25 -0
  33. package/components/Pagination/index.d.ts +2 -0
  34. package/components/Pagination/index.js +1 -0
  35. package/components/Pagination/tests/Pagination.stories.d.ts +11 -0
  36. package/components/Pagination/tests/Pagination.stories.js +24 -0
  37. package/components/Table/Table.js +2 -2
  38. package/components/Table/Table.module.css +1 -1
  39. package/components/Table/Table.types.d.ts +1 -0
  40. package/components/Table/tests/Table.stories.js +17 -0
  41. package/components/Text/Text.js +2 -2
  42. package/components/Text/Text.module.css +1 -1
  43. package/components/Text/Text.types.d.ts +1 -0
  44. package/components/Text/tests/Text.stories.d.ts +1 -0
  45. package/components/Text/tests/Text.stories.js +7 -0
  46. package/components/_private/Expandable/Expandable.js +7 -28
  47. package/components/_private/Expandable/Expandable.module.css +1 -1
  48. package/index.d.ts +2 -0
  49. package/index.js +1 -0
  50. package/package.json +1 -1
  51. package/themes/figma/media.css +1 -1
  52. package/themes/reshaped/media.css +1 -1
  53. package/themes/reshaped/theme.css +1 -1
  54. package/themes/slate/media.css +1 -1
  55. package/utilities/helpers.d.ts +1 -0
  56. package/utilities/helpers.js +5 -0
package/CHANGELOG.md CHANGED
@@ -2,9 +2,20 @@
2
2
 
3
3
  - Actionable: @layer
4
4
  - Accordion: Fixed RSC
5
+ - Accordion, Stepper: Removed js height calculations
5
6
  - sideEffects: false
6
7
  - BadgeContainer: Added pointer-events: none to badge
8
+ - Button: Added min-width support for text buttons
9
+ - Pagination: New component
7
10
  - ScrollArea: Added overflow hidden to root to prevent scrollbar bleeding out in Safari
8
11
  - Slider: Tooltip positioning inside the viewport
12
+ - Table: Cell verticalAlign support
13
+ - Table: Remove border radius for non-bordered tables (for better composition)
14
+ - Table: Fixed duplicated padding in borderless tables
15
+ - Text: wrap="balance"
16
+ - FormControl: Fixed RSC
17
+ - Button,MenuItem: Add as prop support
9
18
 
10
19
  - Updated all dependencies
20
+ - CRA: Responsive style support with Craco
21
+ - Theming: Added json output