-
Compare the old and new versions, and modify theme.mediaqueries. Old version SM > = 567, MD > = 768, LG > = 992, XL > = 1200. But the new version SM < = 319, MD > = 629, LG > = 1120, XL > = 1440. The new version defaults to 320 to 628px, which just fits the width of the phone.
-
新旧版本比较,对theme.mediaQueries.进行修改。旧版本sm>=567,md>=768,lg>=992,xl>=1200。但是新版本sm<=319,md>=629,lg>=1120,xl>=1440。新版本缺省值320到628px,正好适配手机宽度。
- InputGroup 大幅度修改,支持自适应。
- Update
Stack
to better support gestures.
- Use a
button
tag whentype=submit
is used on aButton
.
- Fix
useFocusLock
hook to prevent unwanted focusing.
ComboBox
now accepts an autocomlete prop, andComboBoxInput
uses aBaseInput
by default.
- Add
ComboBox
,usePositioner
and improveuseMeasure
.
- Rename
GestureStack
toPager
- use new scroll-lock hook
- Update Stack to fix measurement issues
- Fix
Stack
dropshadow in dark mode
- Added
Stack
ScrollView
now accepts arbitrary props (for things like styling)
- Added
Skeleton
,AlertDialog
, anduseInfiniteScroll
hook. - Start using
useCallback
in more places to ensure better performance.
- Update react-spring, react-gesture-view, toasted-notes
- Upgrade react-gesture-view and react-gesture-responder. This enables users to disable gestures for GestureView.
- Fix disabled form states
- Improve input error appearances
- Replace TabContent and ReactSwipeableView with our own
GestureView
component. Because GestureView uses the pan-responder-hook it works better with our other gestures. DarkMode
andLightMode
now forward refs and props. Unfortunately, this requires that both components only accept a single child which results in a breaking change.