Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update swiper@11 in taro-components #15122

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8c7bfef
refactor: update swiper@11 in taro-components
TheKonka Jan 16, 2024
af15e75
fix(swiper): update onchange event
TheKonka Jan 17, 2024
04fb8a5
test: update snapshot
TheKonka Jan 17, 2024
8d2f688
refactor: update swiper@11 in @tarojs/components-react
TheKonka Jan 18, 2024
927dcf2
style(lint): ignore lint error
TheKonka Jan 18, 2024
00ce646
chore: pnpm-lock
TheKonka Jan 23, 2024
de5fe39
fix(types): update runtime fix #15102
ZakaryCode Jan 19, 2024
6c14238
fix(ci): 仅编译所需依赖
ZakaryCode Jan 19, 2024
5c0040f
fix(rn): 重定向 runtime 到 rn 指定目录
ZakaryCode Jan 19, 2024
b1947bf
refactor(types): sync components types
ZakaryCode Jan 19, 2024
18e8b3b
chore(release): publish 3.6.23 (#15139)
liqinuo Jan 19, 2024
deeb0ab
fix(types): 补充微信 createInnerAudioContext 接口类型参数更新 (#15119)
Jinx-1120 Jan 20, 2024
3209a53
fix: 修复convertor生成配置文件时路径报错的问题
yintyuan Jan 22, 2024
d57af31
Merge branch 'main' into update-swiper
TheKonka Jan 24, 2024
27b9041
chore: ignore lint
TheKonka Jan 24, 2024
a4dd49f
Merge branch 'main' into update-swiper
TheKonka Jan 24, 2024
e77f0d3
chore: fix lint
TheKonka Jan 24, 2024
e77ba30
chore: update snapshot
TheKonka Jan 24, 2024
cd422bf
fix: use tsx instead of ts-node
TheKonka Jan 27, 2024
2aa6163
test: fix test error, update snapshot
TheKonka Jan 27, 2024
e190f6c
fix: adjust stencil config
TheKonka Jan 28, 2024
423b62a
fix: skip test error in pull-to-refresh
TheKonka Jan 28, 2024
c7579ee
fix(test): add .mjs to be transformed by babel-jest
TheKonka Jan 28, 2024
7b931d3
test: update snapshot
TheKonka Jan 29, 2024
459c404
Merge branch 'main' into update-swiper
TheKonka Jan 29, 2024
f155c40
fix: solve code review
TheKonka Feb 7, 2024
3ccd32f
Merge branch 'main' into update-swiper
TheKonka Feb 7, 2024
a2da9b0
test: update snapshot
TheKonka Feb 7, 2024
dd8914b
Merge branch 'main' into update-swiper
TheKonka Mar 12, 2024
91b31e8
build: update lock file
TheKonka Mar 13, 2024
ea29c26
test: update snapshot
TheKonka Mar 13, 2024
4a48ff0
Merge branch 'main' into update-swiper
ZEJIA-LIU Mar 14, 2024
0ec9ac3
fix(review): fix not showing when remove swiper-item sometimes
TheKonka Mar 14, 2024
b3a9da1
Merge branch 'main' into update-swiper
TheKonka Mar 14, 2024
91b75cb
build: update pnpm-lock.yaml
TheKonka Mar 15, 2024
ee95fe8
fix: test error
TheKonka Mar 15, 2024
1eb7f82
fix: update [email protected]
TheKonka Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
"@tarojs/plugin-framework-vue3": "workspace:*",
"@tarojs/plugin-platform-alipay": "workspace:*",
"@tarojs/plugin-platform-h5": "workspace:*",
"@tarojs/plugin-platform-harmony-hybrid": "workspace:*",
"@tarojs/plugin-platform-jd": "workspace:*",
"@tarojs/plugin-platform-qq": "workspace:*",
"@tarojs/plugin-platform-swan": "workspace:*",
"@tarojs/plugin-platform-tt": "workspace:*",
"@tarojs/plugin-platform-weapp": "workspace:*",
"@tarojs/plugin-platform-harmony-hybrid": "workspace:*",
"@tarojs/router": "workspace:*",
"@tarojs/runner-utils": "workspace:*",
"@tarojs/runtime": "workspace:*",
Expand Down Expand Up @@ -128,7 +128,7 @@
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-standard": "^4.0.1",
"husky": "^8.0.1",
Expand All @@ -154,7 +154,7 @@
"stylelint-order": "^6.0.3",
"stylelint-taro-rn": "workspace:*",
"tslib": "^2.6.2",
"typescript": "^4.7.4",
"typescript": "^4.9.5",
"vue": "^2.6.11",
"vue-loader": "^17.0.0",
"vue-template-compiler": "^2.6.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function finishedEventHandler (node: HTMLElement) {
if (!controlledValue) return

// 立即执行事件回调中用户可能触发了的 React 更新
flushSync(() => {})
flushSync(() => { })

// 组件在 React 更新后的 React props
const newProps = getPropsAfterReactUpdate(node)
Expand Down Expand Up @@ -188,7 +188,7 @@ export const attachProps = (node: HTMLElementWithEvents, newProps: any, oldProps
const handleChangeEvent = ['INPUT', 'TEXTAREA'].includes(getComponentName(node)) ? 'input' : 'change'
node.__events ||= {}
if (!node.__events.hasOwnProperty(handleChangeEvent)) {
syncEvent(node, handleChangeEvent, function () {})
syncEvent(node, handleChangeEvent, function () { })
}
}
}
Expand Down
14 changes: 11 additions & 3 deletions packages/taro-components-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.14.5",
"@tarojs/taro": "workspace:*",
"@tarojs/components": "workspace:*",
"@tarojs/taro": "workspace:*",
"classnames": "^2.2.5",
"swiper": "6.8.0",
"swiper": "11.1.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand All @@ -44,11 +44,19 @@
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.2.18",
"postcss": "^8.4.18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.8.1",
"rollup-plugin-node-externals": "^5.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-ts": "^3.0.2",
"typescript": "^4.7.4"
"typescript": "5.5.0-dev.20240401"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
}
}
Loading
Loading