reshaped 3.0.1 → 3.0.3
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.
- package/CHANGELOG.md +7 -69
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +9 -9
- package/dist/components/Modal/Modal.js +6 -3
- package/dist/components/Modal/Modal.types.d.ts +4 -1
- package/dist/components/Modal/tests/Modal.stories.js +4 -0
- package/dist/components/Reshaped/Reshaped.css +1 -1
- package/dist/components/Slider/Slider.module.css +1 -1
- package/dist/components/Slider/Slider.types.d.ts +2 -0
- package/dist/components/Slider/Slider.utilities.d.ts +4 -0
- package/dist/components/Slider/Slider.utilities.js +10 -0
- package/dist/components/Slider/SliderControlled.js +31 -27
- package/dist/components/Slider/SliderThumb.js +2 -2
- package/dist/components/Slider/tests/Slider.stories.d.ts +1 -0
- package/dist/components/Slider/tests/Slider.stories.js +9 -0
- package/dist/utilities/dom.d.ts +2 -0
- package/dist/utilities/dom.js +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,71 +1,9 @@
|
|
1
|
-
|
1
|
+
3.1.0
|
2
2
|
|
3
|
-
-
|
4
|
-
-
|
5
|
-
-
|
6
|
-
-
|
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
|
3
|
+
- Reshaped global reset styles in rs.reset
|
4
|
+
- Modal: attribures.ref support
|
5
|
+
- Modal: disableSwipeGesture
|
6
|
+
- Slider: vertical orientation
|
12
7
|
|
13
|
-
|
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
|
8
|
+
- Figma: Removed local scoping
|
9
|
+
- Figma: Updated description links
|