@acflow/rnc
TypeScript icon, indicating that this package has built-in type declarations

0.3.52 • Public • Published

rnc

the core package for react native application business logic

Installation

npm install @acflow/rnc

Usage

import rnc, { utils } from "@acflow/rnc";

Documentation

See the online documentation


Versions

0.4.5

RN 版本升级至 0.69.0 ios 和 android 完整构建

0.3.47

修复

  • 文档版本号错误

0.3.46

新增

  • 新增图片缓存控件 CacheImage

0.3.45

修改和改善

  • Cell组件左侧图标支持自定义图标

0.3.44

修正和改善:

  • 未找到目标页面时,显示导航栏,便于进行返回操作

0.3.42

修正和改善:

  • 根据设计稿迭代 Text 文字组件渲染效果

0.3.41

:::warning

此版本增加用户行为追踪和崩溃收集功能,需要在业务包的 example 工程中增加依赖,避免 Native 项目启动时的报错问题。

# 在 example 目录下执行
yarn add -E appcenter appcenter-analytics appcenter-crashes

:::

新增:

  • 增加用户交互行为追踪功能

修正和改善:

  • 修复 Cell 组件开关控件的显示判断条件缺陷,一些场景下,设定 valuefalse 无法正常显示开关组件
  • 修复 Cell 组件布局逻辑,当左侧无图标时左侧内边距异常问题
  • 根据设计稿修正分割线组件(Divider)样式(高度、颜色)

0.3.35

新增:

  • 同步 Cell 组件的最新设计样式

修正和改善:

  • 修正:导航使用单例方法,避免页面无法找到的场景
  • 修正:页面导航 headerMode 的 screen 模式支持问题

0.3.33

新增:

  • 单例实现接口
  • 支持导航栏标题多语言配置

修正和改善:

  • 修正:多个业务包使用的 rnc 版本不一致导致的页面导航查找报错问题
  • 修正:演示代码报错问题
  • 更新:最新的 Layout 背景配色色值

0.3.30

新增:

  • Switch 组件,默认使用主题色
  • ActionSheet 组件,默认支持深色、浅色模式,提供更加便捷的使用方法

0.3.27

修正和改善:

  • 应用主题配色加载错误问题
  • 导航栏返回按钮使用主题色

0.3.26

新增:

  • 若干基础组件
  • 默认加载应用主题色配色

License

MIT

[[include:document/starter/index.md]]

Package Sidebar

Install

npm i @acflow/rnc

Weekly Downloads

5

Version

0.3.52

License

MIT

Unpacked Size

1.08 MB

Total Files

614

Last publish

Collaborators

  • junkai
  • bevvvis