react-native-system-ui 0.0.6 → 0.0.7
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/README.md +12 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -70,6 +70,11 @@ export const App = ({ children }) => (
|
|
|
70
70
|
size: 'large',
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
|
+
datetimePicker: {
|
|
74
|
+
defaults: {
|
|
75
|
+
popupPlacement: 'bottom',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
73
78
|
},
|
|
74
79
|
}}
|
|
75
80
|
>
|
|
@@ -78,6 +83,8 @@ export const App = ({ children }) => (
|
|
|
78
83
|
)
|
|
79
84
|
```
|
|
80
85
|
|
|
86
|
+
组件 tokens 的 key 使用驼峰命名,与导出的组件名保持一致,例如 `passwordInput`、`safeAreaView`、`shareSheet`。
|
|
87
|
+
|
|
81
88
|
### 主题预设
|
|
82
89
|
|
|
83
90
|
```tsx
|
|
@@ -110,9 +117,10 @@ export const AuroraBranding = () => (
|
|
|
110
117
|
## 已交付能力
|
|
111
118
|
|
|
112
119
|
- **设计系统**:ConfigProvider、ThemeProvider、createTokens、themePresets(light/dark/aurora),组件自管 tokens。使用 Toast/Popup/Dialog 等弹层时推荐用 ConfigProvider 包裹根节点(内置 PortalHost)。
|
|
113
|
-
- **基础与展示**:Button、Badge、Cell、Collapse、Divider、Empty、Flex、Grid、Space、Tag、Typography、Loading、NoticeBar、Popup、Portal、Progress、Slider、Toast、Dialog
|
|
114
|
-
- **表单与输入**:Form、Field、Input、Checkbox、Radio、Switch、Stepper、Rate、Picker、Calendar、Search 等。
|
|
115
|
-
- **导航与反馈**:Tabs、NavBar、Tabbar、ActionSheet、Notify、Overlay 等。
|
|
120
|
+
- **基础与展示**:Button、Badge、Cell、Collapse、Divider、Empty、Flex、Grid、Space、Tag、Typography、Loading、NoticeBar、Popup、Portal、Progress、Slider、Toast、Dialog、Image、ImagePreview、Skeleton、WaterMark 等。
|
|
121
|
+
- **表单与输入**:Form、Field、Input、PasswordInput、Checkbox、Radio、Switch、Stepper、Rate、Picker、DatetimePicker、Calendar、Search、NumberKeyboard、Area、Cascader、Selector 等。
|
|
122
|
+
- **导航与反馈**:Tabs、NavBar、Tabbar、ActionSheet、Notify、Overlay、ShareSheet、Sidebar、Swiper 等。
|
|
123
|
+
- **基础设施**:SafeAreaView、PortalHost、OverlayProvider、ConfigProvider 的 locale(zhCN/enUS)。
|
|
116
124
|
- **文档**:快速上手、架构设计、路线图及组件文档站(`docs/`)。
|
|
117
125
|
|
|
118
126
|
详细组件列表与状态见 [指南 / 路线图](./docs/guide/roadmap.md)。
|
|
@@ -133,4 +141,4 @@ export const AuroraBranding = () => (
|
|
|
133
141
|
|
|
134
142
|
## 版本与反馈
|
|
135
143
|
|
|
136
|
-
当前为 v0.0.
|
|
144
|
+
当前为 v0.0.6,欢迎 issue / PR。
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-system-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "面向 React Native 的设计系统级组件库,Tokens + ThemeProvider 主题体系,按需引入、体积小;API 统一可组合、高效可靠,支持可访问性与多端一致。",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://rn-system-ui.netlify.app/",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
7
7
|
"module": "./dist/es/index.js",
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|