reshaped 3.0.0 → 3.0.2

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 (36) hide show
  1. package/CHANGELOG.md +3 -70
  2. package/dist/bundle.css +1 -1
  3. package/dist/bundle.js +10 -10
  4. package/dist/cjs/cli/theming/reshaped.config.d.ts +1 -1
  5. package/dist/cjs/config/tailwind.d.ts +1 -1
  6. package/dist/cjs/themes/_generator/constants.d.ts +1 -1
  7. package/dist/cjs/themes/_generator/definitions/figma.d.ts +1 -1
  8. package/dist/cjs/themes/_generator/definitions/reshaped.d.ts +1 -1
  9. package/dist/cjs/themes/_generator/definitions/slate.d.ts +1 -1
  10. package/dist/cjs/themes/_generator/types.d.ts +1 -1
  11. package/dist/cjs/types/config.d.ts +1 -1
  12. package/dist/cli/theming/reshaped.config.d.ts +1 -1
  13. package/dist/components/Carousel/tests/Carousel.stories.js +2 -2
  14. package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -1
  15. package/dist/components/Modal/Modal.js +6 -3
  16. package/dist/components/Modal/Modal.types.d.ts +4 -1
  17. package/dist/components/Modal/tests/Modal.stories.js +6 -14
  18. package/dist/components/Popover/tests/Popover.stories.js +5 -13
  19. package/dist/components/Reshaped/Reshaped.css +1 -1
  20. package/dist/components/ScrollArea/tests/ScrollArea.stories.js +1 -1
  21. package/dist/components/Select/Select.types.d.ts +3 -3
  22. package/dist/components/Stepper/tests/Stepper.stories.js +1 -2
  23. package/dist/components/TextArea/TextArea.types.d.ts +1 -1
  24. package/dist/components/Toast/tests/Toast.stories.js +3 -3
  25. package/dist/components/Tooltip/tests/Tooltip.stories.js +3 -14
  26. package/dist/components/View/tests/View.stories.d.ts +1 -1
  27. package/dist/components/_private/Flyout/tests/Flyout.stories.js +1 -12
  28. package/dist/config/tailwind.d.ts +1 -1
  29. package/dist/themes/_generator/constants.d.ts +1 -1
  30. package/dist/themes/_generator/definitions/figma.d.ts +1 -1
  31. package/dist/themes/_generator/definitions/reshaped.d.ts +1 -1
  32. package/dist/themes/_generator/definitions/slate.d.ts +1 -1
  33. package/dist/themes/_generator/tests/themes.stories.js +9 -3
  34. package/dist/themes/_generator/types.d.ts +1 -1
  35. package/dist/types/config.d.ts +1 -1
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,71 +1,4 @@
1
- 2.11.x
1
+ 3.1.0
2
2
 
3
- - TextArea: Fixed sizing when using values without spaces in them
4
- - Slider: Fit thumbs within the bar area not to cause overflow
5
- - Slider: Fixed horizontal scrolling on mount in safari
6
- - Actionable: Switched to :focus-visible
7
- - Badge: Relaxed the types to be able to pass dismissAriaLabel while onDismiss is undefined
8
- - Modal: Added full-screen position
9
- - Tooltip: Optional text prop
10
- - Modal: Added autoFocus=false support
11
- - Modal: Added ariaLabel support
12
-
13
- 3.0
14
-
15
- General:
16
-
17
- - Switched to `exports` in `package.json`
18
-
19
- Theming:
20
-
21
- - Completely switched to Figma variables, no need to use plugins anymore
22
- - Major update for the Slate theme and minor changes for Reshaped theme
23
- - Updated raised shadow value
24
- - Updated color tokens generation, closer to Slate theme now
25
- - [Breaking] Border rgb color tokens got removed (since some border colors are coming with built-in opacity)
26
- - generateColors support for manually passing dark mode base values
27
- - [Breaking] --rs-unit-radius-_ turned into --rs-radius-_
28
- - [Breaking] unit.radius in theme config is now radius
29
- - [Breaking] heavy font weight is now called extrabold
30
- - [Breaking] removed highlighted color tokens
31
- - Added opacity to neutral border, border faded and background faded color tokens
32
- - [Maybe breaking] REM based typography, removed default font size / line height from body
33
- - Added `rootTheme` and `setRootTheme`
34
- - Allow to pass manually defined on colors
35
-
36
- Figma:
37
-
38
- - [Breaking] Icon: switched to use instance swapping
39
- - Icon: Added on background colors support
40
- - Icon: Fixed edge cases for applying correct color to the icons in other components
41
- - Card: Improved content clip
42
- - Text: White color for inherit
43
-
44
- Utilities:
45
-
46
- - [Breaking] Hidden: Switched to display: contents. Removed displayStyle prop and render props children function
47
- - Container: Added "align" | "justify" | "height" | "maxHeight" support
48
- - Flyout: Automatic sticky positioning support
49
-
50
- Components:
51
-
52
- - Alert: Increased gap before actions when using inline layout
53
- - Link: Added `warning` color support
54
- - MenuItem: Aligned the medium size border radius in design and code
55
- - TextField: Removed focus ring for headless variant
56
- - Badge: ref support for routing
57
- - Badge: fixed onClick triggerring together with onDismiss
58
- - Autocomplete: Added onInput support
59
- - ScrollArea: Fixed hover display thumb opacity
60
- - [Breaking] Button: black, white -> media
61
- - Button: updated media disabled state
62
- - [Breaking] Button: neutral faded -> outline elevated
63
- - Button: updated highlighted styles
64
- - MenuItem: updated highlighted/selected styles
65
- - PinField: fixed the field to use edit mode if the value is filled on mount
66
- - Modal, Overlay: onOpen for focus management
67
- - [Breaking] Progress: white -> media
68
-
69
- Hooks:
70
-
71
- - useHotkeys: Added support for holding keys pressed
3
+ - Modal: attribures.ref support
4
+ - Modal: disableSwipeGesture