Skip to content

Commit e1b4fc9

Browse files
committed
Merge remote-tracking branch 'upstream/feat_v3.x' into feat_v3.x
2 parents 87c7e2e + b5f41f9 commit e1b4fc9

File tree

169 files changed

+5627
-3633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+5627
-3633
lines changed

CHANGELOG.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,68 @@
1+
# v3.0.18
2+
3+
`2025-08-15`
4+
5+
- 🏡 chore: 升级icon库 (#3330)
6+
- 🏡 chore: 发布taro下的样式按需插件
7+
- 📖 docs: 更新介绍部分内容 (#3324)
8+
- :sparkles: feat: Ellipsis校验越界不走缓存配置 (#3329)
9+
- :sparkles: feat(price): 支持自定义颜色&数据原样输出 (#3328)
10+
- :sparkles: feat(notify): 支持promise调用notice (#3319)
11+
- :bug: fix(noticebar): 适配鸿蒙样式修复 (#3332)
12+
- :bug: Fix icons svg (#3331)
13+
14+
# v3.0.17
15+
16+
`2025-08-01`
17+
18+
- :sparkles: feat: add plugin for bizui using nutui (#3318)
19+
- :bug: fix(skeleton): correct v3 update docs (#3313)
20+
- :bug: fix(pulltorefresh): 增加 catchMove 属性,用于显示控制 (#3311)
21+
- :bug: fix: 修复日历只有一个月的情况 (#3306)
22+
- 🏡 chore(harmonycss): 每个组件构建全量的css (#3316)
23+
24+
# v3.0.16
25+
26+
`2025-07-04`
27+
28+
- :bug: fix(calendar): 类型修订 (#3292)
29+
- :bug: fix(swiper): 修改初始值时不生效问题 (#3293)
30+
- :bug: fix(noticebar): children cannot update responsively in vertical mode (#3251)
31+
32+
# v3.0.15
33+
34+
`2025-06-27`
35+
36+
- 📖 docs(checkbox): 修订数据类型 (#3273)
37+
- :sparkles: feat(dialog): close和cancel各司其职 (#3282)
38+
- :sparkles: feat(calendarcard): 增加自定义头 (#3285)
39+
- :sparkles: feat(calendarcard): 对函数做了优化处理 (#3284)
40+
- :bug: fix(configprovider): 修订路径别名 (#3287)
41+
- :bug: fix(form): 单测错误修复 (#3286)
42+
- :bug: fix(noticebar): first item is not visible when scrolling vertically (#3249)
43+
- :bug: fix(form): 修复右侧星星无法展示的问题 (#3283)
44+
- :bug: fix(form): label无法修改字号 (#3280)
45+
- :bug: fix: remove -zIndex CSS variable due to lower priority and default value confusion (#3262)
46+
- :bug: fix(button): 禁用样式修订 (#3279)
47+
- :bug: fix(datepicker): 修改不设置事件类型的返回值 (#3270)
48+
- :bug: fix(pickerview): 修改快速滚动偶现滑动错位问题 (#3278)
49+
50+
# v3.0.14
51+
52+
`2025-06-13`
53+
54+
- 🏡 chore(site): adjust online debugging visibility (#3257)
55+
- :sparkles: feat(image): support custom error state class name (#3263)
56+
- :bug: fix: docs (#3268)
57+
- :bug: fix(datepicker): 解决未传默认值时限制时间边界不准确问题 (#3265)
58+
- :bug: fix(input): handleBlur callback value is undefined in mini-programs (#3266)
59+
- :bug: fix(image): 修复内联样式不生效 (#3254)
60+
- :bug: fix(switch): 移除重复的onchange回调 (#3259)
61+
- :bug: fix(tabs): correct tabpane-background-color css variables (#3255)
62+
- :bug: fix(navbar): 支持background的配置,补充了部分demo (#3258)
63+
- :bug: fix(configprovider): 调整demo,修复web h5 下引入不一致问题,修复文档 (#3244)
64+
- :bug: fix(elevator): v15 适配 & 选中值支持受控 (#3210)
65+
166
# v3.0.13
267

368
`2025-05-30`

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nutui/nutui-react-taro",
3-
"version": "3.0.13",
3+
"version": "3.0.18",
44
"style": "dist/style.css",
55
"main": "dist/nutui.react.umd.js",
66
"module": "dist/es/packages/nutui.react.build.js",
@@ -108,8 +108,8 @@
108108
},
109109
"dependencies": {
110110
"@babel/runtime": "^7.23.9",
111-
"@nutui/icons-react": "^3.0.1",
112-
"@nutui/icons-react-taro": "^3.0.1",
111+
"@nutui/icons-react": "^3.0.2-beta.5",
112+
"@nutui/icons-react-taro": "^3.0.2-beta.3",
113113
"@nutui/jdesign-icons-react-taro": "1.0.6-beta.2",
114114
"@nutui/touch-emulator": "^1.0.0",
115115
"@nutui/lottie-miniprogram": "^1.0.2",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
.vscode/
3+
node_modules/
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# @nutui/inject-ui-styles
2+
3+
## 功能说明
4+
5+
用于支持不同组件库引入 nutui 的样式文件,尤其是对于鸿蒙和 React Native 平台。
6+
7+
## 使用方法
8+
9+
1. 在 babel.config.js 文件中增加如下代码
10+
11+
```js
12+
const injectUIStyles = require('@nutui/inject-ui-styles')
13+
14+
{
15+
[
16+
[injectUIStyles({})]
17+
]
18+
}
19+
```
20+
21+
2. 在 config/index.js 文件中增加如下内容( 废弃 )
22+
23+
```js
24+
const {viteComponentStyle} = require('@nutui/inject-ui-styles')
25+
26+
{
27+
harmony: {
28+
// 将编译方式设置为使用 Vite 编译
29+
compiler: {
30+
type: 'vite',
31+
vitePlugins: [
32+
viteComponentStyle({cName: '@nutui/nutui-react-taro', pName:'@xxx/ui'})
33+
]
34+
}
35+
}
36+
}
37+
```

packages/nutui-inject-ui-styles/dist/index.js

Lines changed: 189 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nutui-inject-ui-styles/dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "@nutui/inject-ui-styles",
3+
"version": "3.0.17",
4+
"description": "",
5+
"keywords": [
6+
"Taro",
7+
"Plugin"
8+
],
9+
"author": "",
10+
"homepage": "",
11+
"license": "MIT",
12+
"main": "dist/index.js",
13+
"typings": "types/index.d.ts",
14+
"files": [
15+
"dist",
16+
"index.js",
17+
"types"
18+
],
19+
"repository": {
20+
"type": "git",
21+
"url": ""
22+
},
23+
"scripts": {
24+
"build": "rollup -c",
25+
"dev": "rollup -c -w"
26+
},
27+
"publishConfig": {
28+
"access": "public",
29+
"registry": "https://registry.npmjs.org/"
30+
},
31+
"bugs": {
32+
"url": ""
33+
},
34+
"dependencies": {
35+
"@tarojs/service": "^4.0.0",
36+
"lodash.kebabcase": "^4.1.1",
37+
"tslib": "^2.6.2",
38+
"webpack-chain": "^6.5.1"
39+
},
40+
"devDependencies": {
41+
"@types/lodash.kebabcase": "^4.1.9",
42+
"@types/node": "^18.13.0",
43+
"prettier": "^3.2.5",
44+
"rollup": "^2.79.0",
45+
"rollup-plugin-ts": "^3.0.2",
46+
"typescript": "^5.4.5"
47+
}
48+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const path = require('path')
2+
const ts = require('rollup-plugin-ts')
3+
4+
const cwd = __dirname
5+
6+
const base = {
7+
external: ['@tarojs/service'],
8+
plugins: [ts()],
9+
}
10+
11+
// 供 CLI 编译时使用的 Taro 插件入口
12+
const compileConfig = {
13+
input: path.join(cwd, 'src/index.ts'),
14+
output: {
15+
file: path.join(cwd, 'dist/index.js'),
16+
format: 'cjs',
17+
sourcemap: true,
18+
},
19+
...base,
20+
}
21+
22+
module.exports = [compileConfig]

0 commit comments

Comments
 (0)