Skip to content

5.2.1

Compare
Choose a tag to compare
@1uokun 1uokun released this 02 Aug 13:44
· 68 commits to master since this release

2024-08-02

  • 🔥 New Components
    • 🔥 Form component. #1345
    • 🔥 Input component, used to replace InputItem & TextareaItem component. #1345
    • 🔥 Collapse component, used to replace Accordion component.~commit
    • 🔥 Tooltip component, used to replace Popover component, base on @floating-ui/react-native. #1356
  • 🔥 Toast
    • 🆕 Add icon prop to support custom icons
    • 🆕 Add position prop for vertical display position #1353
  • 🔥 List
    • 💄 Refactor internal DOM structure, cancel the {flex:1} layout of extra, and change it to {maxWith: "70%"}. ~commit
    • 🛠 Simplified styles to better support and serve as the main component of Dark Mode.
  • Provider
    • 🆕 Add onHaptics for vibration feedback
    • 🛠 Simplified theme, complete Dark Mode. ~doc
  • NoticeBar
  • Slider
    • 💄 Refactor style, changed to brand color(#108ee9).
    • 🆕 Add new features such as range step ticks.
    • 🆕 Add dependence react-native-reanimated.
    • 🗑 Remove dependence @react-native-community/slider.
  • Stepper
    • 💄 Refactor style, base on InputStyle.
    • 🆕 Add stringMode, set value as string to support high precision decimals.
  • SwipeAction
    • 🆕 Add closeOnTouchOutside prop, base on useClickAway hook implementation. #1345
    • 🆕 Complete more properties base on react-native-gesture-handler/Swipeable.
  • 🗑 Deprecate SegmentedControl component.
    • 🗑 Remove dependence @react-native-community/segmented-control.

  • 🔥 新增组件
    • 🔥 Form 高性能表单控件。 #1345
    • 🔥 Input 文本输入组件,用于替换 InputItem & TextareaItem 组件,也更好支持Form#1345
    • 🔥 Collapse 折叠面板组件,用于替换 Accordion 组件。~commit
    • 🔥 Tooltip 气泡组件, 用于替换 Popover 组件。基于@floating-ui/react-native依赖实现。 #1356
  • 🔥 List
    • 💄 重构内部DOM结构,取消extra{flex:1}布局,改为{maxWith: "70%"}cc84d4f
    • 🛠 优化styles,更好支持并作为暗黑模式的主要组件。
  • 🔥 Toast
    • 🆕 新增 icon 属性,支持自定义图标。
    • 🆕 新增 position 属性,控制垂直方向显示位置。 #1353
  • Provider
    • 🆕 新增 onHaptics 属性,用于执行震动反馈事件,需自行选择引入触觉引擎。
    • 🛠 精简 theme主题变量,现支持暗黑模式~doc
  • NoticeBar
  • Slider
    • 💄 重构样式,改为品牌色(#108ee9)。
    • 🆕 添加新功能,例如rangestepticks
    • 🆕 新增 react-native-reanimated 依赖。
    • 🗑 移除 @react-native-community/slider 依赖。
  • Stepper
    • 💄 重构样式,改为基于 InputStyle。
    • 🆕 新增 stringMode属性,支持高精度小数,基于@rc-component/mini-decimal依赖实现。
  • SwipeAction
    • 🆕 新增 closeOnTouchOutside 属性,基于 useClickAway 钩子实现。 #1345
    • 🆕 完善并支持 react-native-gesture-handler/Swipeable 的所有属性。
  • 🗑 废弃 SegmentedControl 组件。
    • 🗑 移除 @react-native-community/segmented-control 依赖。