taro-react-uilib 1.4.24-0 → 1.4.24-2
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/CHANGELOG.md +111 -76
- package/dist/components/BankIcon/index.js.map +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Cell/index.js +1 -1
- package/dist/components/Cell/index.js.map +1 -1
- package/dist/components/Countdown/index.js +1 -1
- package/dist/components/Countdown/index.js.map +1 -1
- package/dist/components/Curtain/index.js +2 -0
- package/dist/components/Curtain/index.js.map +1 -0
- package/dist/components/Image/index.js +1 -1
- package/dist/components/Image/index.js.map +1 -1
- package/dist/components/Loading/index.js +1 -1
- package/dist/components/Loading/index.js.map +1 -1
- package/dist/components/ThemeProvider/index.js +1 -1
- package/dist/components/ThemeProvider/index.js.map +1 -1
- package/dist/components/_virtual/index.js +1 -1
- package/dist/components/_virtual/react-is.development.js +1 -1
- package/dist/components/_virtual/react-is.production.min.js +1 -1
- package/dist/components/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/components/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/components/node_modules/prop-types/index.js +1 -1
- package/dist/components/node_modules/prop-types/index.js.map +1 -1
- package/dist/components/node_modules/react-is/cjs/react-is.development.js +2 -0
- package/dist/components/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/components/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/components/node_modules/react-is/index.js +2 -0
- package/dist/components/node_modules/react-is/index.js.map +1 -0
- package/dist/components/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/components/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/components/src/index.js +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/styles/components/badge.scss +2 -1
- package/dist/styles/components/cell.scss +9 -4
- package/dist/styles/components/curtain.scss +105 -0
- package/dist/styles/components/index.scss +1 -0
- package/package.json +5 -1
- package/types/components/BankIcon/index.d.ts +2 -1
- package/types/components/Countdown/index.d.ts +0 -1
- package/types/components/Curtain/index.d.ts +18 -0
- package/types/components/Loading/index.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/dist/components/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -2
- package/dist/components/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/components/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/components/node_modules/prop-types/node_modules/react-is/index.js +0 -2
- package/dist/components/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- /package/dist/components/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,46 @@
|
|
|
1
|
+
## [1.4.24-2](https://code.xhdev.xyz/h5group/taro-uilib/compare/v1.4.24-1...v1.4.24-2) (2025-09-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 修改 node 版本 ([0c11ded](https://code.xhdev.xyz/h5group/taro-uilib/commits/0c11ded54ac58837802a6dfb00d5b6f70293002f))
|
|
7
|
+
* 幕帘组件新增离开动画 ([dc5aba9](https://code.xhdev.xyz/h5group/taro-uilib/commits/dc5aba94626c73bf005ba230d4e14fdb241ae970))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [1.4.24-1](https://code.xhdev.xyz/h5group/taro-uilib/compare/v1.4.24-0...v1.4.24-1) (2025-09-11)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* hash ([713184f](https://code.xhdev.xyz/h5group/taro-uilib/commits/713184f2349163a25c1c8773abf25a2aa19a943e))
|
|
17
|
+
* 修复组件导入路径并添加 DemoBlock 组件 ([47fead9](https://code.xhdev.xyz/h5group/taro-uilib/commits/47fead92935dfde70813e1f4eb84343ca1dd8bb5))
|
|
18
|
+
* 修复组件导入路径并添加 DemoBlock 组件 ([1003211](https://code.xhdev.xyz/h5group/taro-uilib/commits/100321194ad725075c8156dcbd6e5402f772ae44))
|
|
19
|
+
* 增加打包配置 ([d7eae38](https://code.xhdev.xyz/h5group/taro-uilib/commits/d7eae384d08364f10fe498595d03a4d7d1c286a4))
|
|
20
|
+
* 增加打包配置 ([4db764f](https://code.xhdev.xyz/h5group/taro-uilib/commits/4db764f6ab5fc59caba78229ca39df619d2bf533))
|
|
21
|
+
* 增加打包配置 ([ba6a37f](https://code.xhdev.xyz/h5group/taro-uilib/commits/ba6a37f974a8fe71ec695f0a001b30b179b5b685))
|
|
22
|
+
* 完成幕帘组件以及 demo ([ca9dee8](https://code.xhdev.xyz/h5group/taro-uilib/commits/ca9dee8d477d76eb366678f82e74cdc86cd39976))
|
|
23
|
+
* 幕帘组件新增离开动画 ([14826aa](https://code.xhdev.xyz/h5group/taro-uilib/commits/14826aad0e4e45d82e03f08248fd12deced278c8))
|
|
24
|
+
* 文档 demo 修改 ([00482c6](https://code.xhdev.xyz/h5group/taro-uilib/commits/00482c61ed91deae421e9b103be4e8b82017f23d))
|
|
25
|
+
* 文档 demo 修改 ([e7482e4](https://code.xhdev.xyz/h5group/taro-uilib/commits/e7482e47db8db8e1a8c94ee1d1ec846f41a40e97))
|
|
26
|
+
* 新增 Cell Demo ([3b33647](https://code.xhdev.xyz/h5group/taro-uilib/commits/3b33647f02b179f8590f0b1ae8ba60f6eafc6759))
|
|
27
|
+
* 更新主题提供者,优化 H5 环境下的样式设置 ([51ae2d1](https://code.xhdev.xyz/h5group/taro-uilib/commits/51ae2d198533f21a71d56e2d95276f2ffd6df457))
|
|
28
|
+
* 添加页面演示组件及主题定制功能 ([d37419e](https://code.xhdev.xyz/h5group/taro-uilib/commits/d37419eb360509cb3c398b3dc601cf7aa4ae943a))
|
|
29
|
+
* 移除改动 ([2cde09c](https://code.xhdev.xyz/h5group/taro-uilib/commits/2cde09c3c991294b540124a3223a1ff8177c847e))
|
|
30
|
+
* 移除改动 ([10845ab](https://code.xhdev.xyz/h5group/taro-uilib/commits/10845abdf8d76f4e60feb71b31c83d6f0add57b2))
|
|
31
|
+
* 移除自定义加载样式说明部分 ([bd4215a](https://code.xhdev.xyz/h5group/taro-uilib/commits/bd4215af7521a638a6b7d066c1086ff2a938ec78))
|
|
32
|
+
* 组件 demo 优化 ([85d8866](https://code.xhdev.xyz/h5group/taro-uilib/commits/85d8866113796cd1824849a81e02e4be018f4778))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
1
36
|
## [1.4.24-0](https://code.xhdev.xyz/h5group/taro-uilib/compare/v1.4.23...v1.4.24-0) (2025-08-07)
|
|
2
37
|
|
|
3
38
|
|
|
4
39
|
### Features
|
|
5
40
|
|
|
6
|
-
* 新增 unlock ([cc84350](https://code.xhdev.xyz/h5group/taro-uilib/commits/cc843500790567dc135058019980d9d41c7b93b4))
|
|
7
|
-
* 优化倒计时-立即执行 ([7147cee](https://code.xhdev.xyz/h5group/taro-uilib/commits/7147ceebd11d4cc47cf38b2859d8d42b4be5362b))
|
|
8
41
|
* entryPathPath ([e02fd21](https://code.xhdev.xyz/h5group/taro-uilib/commits/e02fd213278d00319392d70c81aa3fc8ac025feb))
|
|
42
|
+
* 优化倒计时-立即执行 ([7147cee](https://code.xhdev.xyz/h5group/taro-uilib/commits/7147ceebd11d4cc47cf38b2859d8d42b4be5362b))
|
|
43
|
+
* 新增 unlock ([cc84350](https://code.xhdev.xyz/h5group/taro-uilib/commits/cc843500790567dc135058019980d9d41c7b93b4))
|
|
9
44
|
|
|
10
45
|
|
|
11
46
|
|
|
@@ -65,13 +100,13 @@
|
|
|
65
100
|
|
|
66
101
|
### Features
|
|
67
102
|
|
|
68
|
-
* 新增 icon, checkbox 支持 option ([6db9107](https://code.xhdev.xyz/h5group/taro-uilib/commits/6db91075ce8d420727c0237a65893ea8af0adca6))
|
|
69
|
-
* 新增 tabnav 组件 ([dc945cf](https://code.xhdev.xyz/h5group/taro-uilib/commits/dc945cf3c0f42b6fc390ace2413a1e41dd3ac6d4))
|
|
70
|
-
* 新增Notice 组件 ([5050630](https://code.xhdev.xyz/h5group/taro-uilib/commits/5050630b8b1a9d11d500ea2611ef422dde28cbba))
|
|
71
|
-
* 优化定时器 ([6e7be09](https://code.xhdev.xyz/h5group/taro-uilib/commits/6e7be0962494c4eaec22ab189e3aea416569747b))
|
|
72
103
|
* dts 生成自定义 ([fbf7a81](https://code.xhdev.xyz/h5group/taro-uilib/commits/fbf7a8118bf04e833b419b20adc97ea2c47fd8b0))
|
|
73
104
|
* icon 问题修复 ([c905d04](https://code.xhdev.xyz/h5group/taro-uilib/commits/c905d04c29078300b9426287ba3e349ca36223b7))
|
|
74
105
|
* tabnav 优化 ([4947dc0](https://code.xhdev.xyz/h5group/taro-uilib/commits/4947dc0a7266cede5afc7ca8bc6919359b831214))
|
|
106
|
+
* 优化定时器 ([6e7be09](https://code.xhdev.xyz/h5group/taro-uilib/commits/6e7be0962494c4eaec22ab189e3aea416569747b))
|
|
107
|
+
* 新增 icon, checkbox 支持 option ([6db9107](https://code.xhdev.xyz/h5group/taro-uilib/commits/6db91075ce8d420727c0237a65893ea8af0adca6))
|
|
108
|
+
* 新增 tabnav 组件 ([dc945cf](https://code.xhdev.xyz/h5group/taro-uilib/commits/dc945cf3c0f42b6fc390ace2413a1e41dd3ac6d4))
|
|
109
|
+
* 新增Notice 组件 ([5050630](https://code.xhdev.xyz/h5group/taro-uilib/commits/5050630b8b1a9d11d500ea2611ef422dde28cbba))
|
|
75
110
|
|
|
76
111
|
|
|
77
112
|
|
|
@@ -154,8 +189,8 @@
|
|
|
154
189
|
|
|
155
190
|
### Features
|
|
156
191
|
|
|
157
|
-
* 导出倒计时组件 ([4be7274](https://code.xhdev.xyz/h5group/taro-uilib/commits/4be7274da70b39da4d4692856e589eeac451c307))
|
|
158
192
|
* dts ([aa0909f](https://code.xhdev.xyz/h5group/taro-uilib/commits/aa0909f9c69ccf2341a1dcc450b2207125a221ff))
|
|
193
|
+
* 导出倒计时组件 ([4be7274](https://code.xhdev.xyz/h5group/taro-uilib/commits/4be7274da70b39da4d4692856e589eeac451c307))
|
|
159
194
|
|
|
160
195
|
|
|
161
196
|
|
|
@@ -164,12 +199,12 @@
|
|
|
164
199
|
|
|
165
200
|
### Features
|
|
166
201
|
|
|
167
|
-
* 倒计时组件样式优化 ([e3c3d36](https://code.xhdev.xyz/h5group/taro-uilib/commits/e3c3d3670683e03d4502136f1cf058c7363737d4))
|
|
168
202
|
* 倒计时组件优化 ([85104a2](https://code.xhdev.xyz/h5group/taro-uilib/commits/85104a2ef141cead0d8cc196aef37514a53f95ab))
|
|
169
|
-
*
|
|
203
|
+
* 倒计时组件样式优化 ([e3c3d36](https://code.xhdev.xyz/h5group/taro-uilib/commits/e3c3d3670683e03d4502136f1cf058c7363737d4))
|
|
170
204
|
* 封装倒计时组件 ([e2c73f7](https://code.xhdev.xyz/h5group/taro-uilib/commits/e2c73f7afdf7d4f498e30c2e881f5380fa1c34e7))
|
|
171
|
-
* 设置默认值 ([df44e4e](https://code.xhdev.xyz/h5group/taro-uilib/commits/df44e4ecb8375b67b1c1e761e0a902c3a35812b0))
|
|
172
205
|
* 新增倒计时example ([1d71854](https://code.xhdev.xyz/h5group/taro-uilib/commits/1d71854ff8f844e290eb61583858ed3e282d9dda))
|
|
206
|
+
* 设置默认值 ([df44e4e](https://code.xhdev.xyz/h5group/taro-uilib/commits/df44e4ecb8375b67b1c1e761e0a902c3a35812b0))
|
|
207
|
+
* 调整span标签 ([1f7fb7f](https://code.xhdev.xyz/h5group/taro-uilib/commits/1f7fb7f04ec15a777ed485ccac17dfdcc10d05fb))
|
|
173
208
|
|
|
174
209
|
|
|
175
210
|
|
|
@@ -201,8 +236,8 @@
|
|
|
201
236
|
|
|
202
237
|
### Features
|
|
203
238
|
|
|
204
|
-
* 导出倒计时组件 ([4be7274](https://code.xhdev.xyz/h5group/taro-uilib/commits/4be7274da70b39da4d4692856e589eeac451c307))
|
|
205
239
|
* dts ([aa0909f](https://code.xhdev.xyz/h5group/taro-uilib/commits/aa0909f9c69ccf2341a1dcc450b2207125a221ff))
|
|
240
|
+
* 导出倒计时组件 ([4be7274](https://code.xhdev.xyz/h5group/taro-uilib/commits/4be7274da70b39da4d4692856e589eeac451c307))
|
|
206
241
|
|
|
207
242
|
|
|
208
243
|
|
|
@@ -216,20 +251,20 @@
|
|
|
216
251
|
|
|
217
252
|
### Features
|
|
218
253
|
|
|
219
|
-
* 车牌输入组件更改 ([77f49dc](https://code.xhdev.xyz/h5group/taro-uilib/commits/77f49dc68276b89cbbdf268f235688b103e7862a))
|
|
220
|
-
* 车牌输入组件修改 ([19ae234](https://code.xhdev.xyz/h5group/taro-uilib/commits/19ae2345b5dfdf8eeecb87ce2b9fd6ada88c20fb))
|
|
221
|
-
* 倒计时组件样式优化 ([e3c3d36](https://code.xhdev.xyz/h5group/taro-uilib/commits/e3c3d3670683e03d4502136f1cf058c7363737d4))
|
|
222
|
-
* 倒计时组件优化 ([85104a2](https://code.xhdev.xyz/h5group/taro-uilib/commits/85104a2ef141cead0d8cc196aef37514a53f95ab))
|
|
223
|
-
* 调整span标签 ([1f7fb7f](https://code.xhdev.xyz/h5group/taro-uilib/commits/1f7fb7f04ec15a777ed485ccac17dfdcc10d05fb))
|
|
224
|
-
* 封装倒计时组件 ([e2c73f7](https://code.xhdev.xyz/h5group/taro-uilib/commits/e2c73f7afdf7d4f498e30c2e881f5380fa1c34e7))
|
|
225
|
-
* 如果当前输入和当前的 key 一致就不触发 change ([b7cd22d](https://code.xhdev.xyz/h5group/taro-uilib/commits/b7cd22d0f68ecb72be3d37d5c8decd99f49fbf13))
|
|
226
|
-
* 设置默认值 ([df44e4e](https://code.xhdev.xyz/h5group/taro-uilib/commits/df44e4ecb8375b67b1c1e761e0a902c3a35812b0))
|
|
227
|
-
* 新增倒计时example ([1d71854](https://code.xhdev.xyz/h5group/taro-uilib/commits/1d71854ff8f844e290eb61583858ed3e282d9dda))
|
|
228
|
-
* 增加校验 ([bbbdcae](https://code.xhdev.xyz/h5group/taro-uilib/commits/bbbdcaee67ec73ad9b7a91b076374dd795402c9a))
|
|
229
254
|
* d.s ([e5ef9ea](https://code.xhdev.xyz/h5group/taro-uilib/commits/e5ef9ea60e9405aa719fd18fa9ef8c465404d54a))
|
|
230
255
|
* forminput 优化 ([603a233](https://code.xhdev.xyz/h5group/taro-uilib/commits/603a233bb6015ee4ea1a552007f0a2893ccba833))
|
|
231
256
|
* forminput支持文字方向 ([604cafe](https://code.xhdev.xyz/h5group/taro-uilib/commits/604cafe772a1b1f06d786ed9b78bf8aaf3d83093))
|
|
232
257
|
* merge sentry 秀谷 ([8a31ff9](https://code.xhdev.xyz/h5group/taro-uilib/commits/8a31ff9040af3a1dd56cd8fcb7ecaae8b14c9d70))
|
|
258
|
+
* 倒计时组件优化 ([85104a2](https://code.xhdev.xyz/h5group/taro-uilib/commits/85104a2ef141cead0d8cc196aef37514a53f95ab))
|
|
259
|
+
* 倒计时组件样式优化 ([e3c3d36](https://code.xhdev.xyz/h5group/taro-uilib/commits/e3c3d3670683e03d4502136f1cf058c7363737d4))
|
|
260
|
+
* 增加校验 ([bbbdcae](https://code.xhdev.xyz/h5group/taro-uilib/commits/bbbdcaee67ec73ad9b7a91b076374dd795402c9a))
|
|
261
|
+
* 如果当前输入和当前的 key 一致就不触发 change ([b7cd22d](https://code.xhdev.xyz/h5group/taro-uilib/commits/b7cd22d0f68ecb72be3d37d5c8decd99f49fbf13))
|
|
262
|
+
* 封装倒计时组件 ([e2c73f7](https://code.xhdev.xyz/h5group/taro-uilib/commits/e2c73f7afdf7d4f498e30c2e881f5380fa1c34e7))
|
|
263
|
+
* 新增倒计时example ([1d71854](https://code.xhdev.xyz/h5group/taro-uilib/commits/1d71854ff8f844e290eb61583858ed3e282d9dda))
|
|
264
|
+
* 设置默认值 ([df44e4e](https://code.xhdev.xyz/h5group/taro-uilib/commits/df44e4ecb8375b67b1c1e761e0a902c3a35812b0))
|
|
265
|
+
* 调整span标签 ([1f7fb7f](https://code.xhdev.xyz/h5group/taro-uilib/commits/1f7fb7f04ec15a777ed485ccac17dfdcc10d05fb))
|
|
266
|
+
* 车牌输入组件修改 ([19ae234](https://code.xhdev.xyz/h5group/taro-uilib/commits/19ae2345b5dfdf8eeecb87ce2b9fd6ada88c20fb))
|
|
267
|
+
* 车牌输入组件更改 ([77f49dc](https://code.xhdev.xyz/h5group/taro-uilib/commits/77f49dc68276b89cbbdf268f235688b103e7862a))
|
|
233
268
|
|
|
234
269
|
|
|
235
270
|
|
|
@@ -247,8 +282,8 @@
|
|
|
247
282
|
|
|
248
283
|
### Features
|
|
249
284
|
|
|
250
|
-
* 车牌输入框自动滚动到可视区 ([2cc81c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/2cc81c4b75d1414b09b7144f1947c8c78d4a9a8d))
|
|
251
285
|
* 新增:港澳学领 ([d08040a](https://code.xhdev.xyz/h5group/taro-uilib/commits/d08040a800b061a71b1186a82ff0f9da7ba8303d))
|
|
286
|
+
* 车牌输入框自动滚动到可视区 ([2cc81c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/2cc81c4b75d1414b09b7144f1947c8c78d4a9a8d))
|
|
252
287
|
|
|
253
288
|
|
|
254
289
|
|
|
@@ -257,10 +292,10 @@
|
|
|
257
292
|
|
|
258
293
|
### Features
|
|
259
294
|
|
|
295
|
+
* loading 引用 cdn] ([f674477](https://code.xhdev.xyz/h5group/taro-uilib/commits/f67447796defab84e03d1dc95c1850d4468f0303))
|
|
296
|
+
* 优化 licensePlateInput ([2c81b81](https://code.xhdev.xyz/h5group/taro-uilib/commits/2c81b81e0788501ced165202503483de5a174ae4))
|
|
260
297
|
* 新增车牌输入组件 ([97db954](https://code.xhdev.xyz/h5group/taro-uilib/commits/97db954db9e18c88d10b3aed51961cc3865ce22e))
|
|
261
298
|
* 新增车牌输入组件 ([d4b229a](https://code.xhdev.xyz/h5group/taro-uilib/commits/d4b229a90af28ac981fd7dff88a105dd0cc0d88d))
|
|
262
|
-
* 优化 licensePlateInput ([2c81b81](https://code.xhdev.xyz/h5group/taro-uilib/commits/2c81b81e0788501ced165202503483de5a174ae4))
|
|
263
|
-
* loading 引用 cdn] ([f674477](https://code.xhdev.xyz/h5group/taro-uilib/commits/f67447796defab84e03d1dc95c1850d4468f0303))
|
|
264
299
|
|
|
265
300
|
|
|
266
301
|
|
|
@@ -296,8 +331,8 @@
|
|
|
296
331
|
|
|
297
332
|
### Features
|
|
298
333
|
|
|
299
|
-
* 新增 d.ts ([6dadcfa](https://code.xhdev.xyz/h5group/taro-uilib/commits/6dadcfa39f9fa4db32adfb195c101c452391aff2))
|
|
300
334
|
* BankCardNumberInput 校验修复 ([0966d63](https://code.xhdev.xyz/h5group/taro-uilib/commits/0966d630b536815e7aa6b0373df84a541152ea37))
|
|
335
|
+
* 新增 d.ts ([6dadcfa](https://code.xhdev.xyz/h5group/taro-uilib/commits/6dadcfa39f9fa4db32adfb195c101c452391aff2))
|
|
301
336
|
|
|
302
337
|
|
|
303
338
|
|
|
@@ -306,9 +341,9 @@
|
|
|
306
341
|
|
|
307
342
|
### Features
|
|
308
343
|
|
|
309
|
-
* 主题变量 ([77b1192](https://code.xhdev.xyz/h5group/taro-uilib/commits/77b1192ed4dfa49cc8e72afab94a780701a7d3d9))
|
|
310
344
|
* propswithchidren ([d51a349](https://code.xhdev.xyz/h5group/taro-uilib/commits/d51a34953eb09a50222118462f8e93677b77037a))
|
|
311
345
|
* step 组件更新 ([c8ce09d](https://code.xhdev.xyz/h5group/taro-uilib/commits/c8ce09dabb11e4b1cfe185022c8aeca1319a4d59))
|
|
346
|
+
* 主题变量 ([77b1192](https://code.xhdev.xyz/h5group/taro-uilib/commits/77b1192ed4dfa49cc8e72afab94a780701a7d3d9))
|
|
312
347
|
|
|
313
348
|
|
|
314
349
|
|
|
@@ -323,8 +358,8 @@
|
|
|
323
358
|
|
|
324
359
|
### Features
|
|
325
360
|
|
|
326
|
-
* 新增 icon,esm 打包文件,scss 语法更新 ([0e0f505](https://code.xhdev.xyz/h5group/taro-uilib/commits/0e0f505a13e8d050c92d64735f0ae3e9bd49474f))
|
|
327
361
|
* echarts组件非空判断 ([e4a0ae9](https://code.xhdev.xyz/h5group/taro-uilib/commits/e4a0ae9015754a379de1f2650f0269fe38ce05df))
|
|
362
|
+
* 新增 icon,esm 打包文件,scss 语法更新 ([0e0f505](https://code.xhdev.xyz/h5group/taro-uilib/commits/0e0f505a13e8d050c92d64735f0ae3e9bd49474f))
|
|
328
363
|
|
|
329
364
|
|
|
330
365
|
|
|
@@ -362,8 +397,8 @@
|
|
|
362
397
|
|
|
363
398
|
### Features
|
|
364
399
|
|
|
365
|
-
* 新增 icon ([d859f78](https://code.xhdev.xyz/h5group/taro-uilib/commits/d859f7899fc2dc57979ba7924febeea1846f7420))
|
|
366
400
|
* amountInput 新增title,checkbox 不使用 label ([eedbc25](https://code.xhdev.xyz/h5group/taro-uilib/commits/eedbc2593af457b442b611e08a5e9bceab5d8b9c))
|
|
401
|
+
* 新增 icon ([d859f78](https://code.xhdev.xyz/h5group/taro-uilib/commits/d859f7899fc2dc57979ba7924febeea1846f7420))
|
|
367
402
|
|
|
368
403
|
|
|
369
404
|
|
|
@@ -396,8 +431,8 @@
|
|
|
396
431
|
|
|
397
432
|
### Features
|
|
398
433
|
|
|
399
|
-
* 新增 icon ([d859f78](https://code.xhdev.xyz/h5group/taro-uilib/commits/d859f7899fc2dc57979ba7924febeea1846f7420))
|
|
400
434
|
* amountInput 新增title,checkbox 不使用 label ([eedbc25](https://code.xhdev.xyz/h5group/taro-uilib/commits/eedbc2593af457b442b611e08a5e9bceab5d8b9c))
|
|
435
|
+
* 新增 icon ([d859f78](https://code.xhdev.xyz/h5group/taro-uilib/commits/d859f7899fc2dc57979ba7924febeea1846f7420))
|
|
401
436
|
|
|
402
437
|
|
|
403
438
|
|
|
@@ -463,11 +498,11 @@
|
|
|
463
498
|
|
|
464
499
|
### Features
|
|
465
500
|
|
|
466
|
-
* 身份证输入不能用tel ([fb8d063](https://code.xhdev.xyz/h5group/taro-uilib/commits/fb8d0633a19c4916132ac84951a51c0039632c1c))
|
|
467
|
-
* 新增icon ([094d3cb](https://code.xhdev.xyz/h5group/taro-uilib/commits/094d3cb832fdc5dc529f50c58dcd4c727b074c20))
|
|
468
|
-
* 银行卡组件和身份证组件新增失去焦点事件 ([70fe7fe](https://code.xhdev.xyz/h5group/taro-uilib/commits/70fe7fe48fb1381e5fa240faf18750fa0520a299))
|
|
469
501
|
* checkbox新增特性 ([8e7deb5](https://code.xhdev.xyz/h5group/taro-uilib/commits/8e7deb5a8d125888ae22fac394d37b10eb330f21))
|
|
470
502
|
* drop user ([4e84c1c](https://code.xhdev.xyz/h5group/taro-uilib/commits/4e84c1c17ed248015755640268d21f355ef8f453))
|
|
503
|
+
* 新增icon ([094d3cb](https://code.xhdev.xyz/h5group/taro-uilib/commits/094d3cb832fdc5dc529f50c58dcd4c727b074c20))
|
|
504
|
+
* 身份证输入不能用tel ([fb8d063](https://code.xhdev.xyz/h5group/taro-uilib/commits/fb8d0633a19c4916132ac84951a51c0039632c1c))
|
|
505
|
+
* 银行卡组件和身份证组件新增失去焦点事件 ([70fe7fe](https://code.xhdev.xyz/h5group/taro-uilib/commits/70fe7fe48fb1381e5fa240faf18750fa0520a299))
|
|
471
506
|
|
|
472
507
|
|
|
473
508
|
|
|
@@ -493,13 +528,13 @@
|
|
|
493
528
|
|
|
494
529
|
### Features
|
|
495
530
|
|
|
496
|
-
* 新增银行卡、身份证号输入框业务组件 ([b2ab606](https://code.xhdev.xyz/h5group/taro-uilib/commits/b2ab606d9e383b947f7d1cd7ad49646cc7e5cc75))
|
|
497
|
-
* 新增银行卡、身份证输入组件 ([26376c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/26376c4cc68ce4b1ae9d378bbec160ca67734995))
|
|
498
|
-
* 新增银行卡输入组件 ([0f148f8](https://code.xhdev.xyz/h5group/taro-uilib/commits/0f148f826978990926f3393a4204da181f82a875))
|
|
499
531
|
* actionSheet高亮选中 ([4278bfa](https://code.xhdev.xyz/h5group/taro-uilib/commits/4278bfa57f9dcc4b27239cf5d1674df2ee5728e4))
|
|
500
532
|
* amountInput ([618fe85](https://code.xhdev.xyz/h5group/taro-uilib/commits/618fe8596af2f906dde2771071eb66e4aa47a0fe))
|
|
501
533
|
* AmountInput和AmountKeyboard支持小数 ([52e2409](https://code.xhdev.xyz/h5group/taro-uilib/commits/52e240969cc584ffae0ef65f3e4c959907b611f7))
|
|
502
534
|
* dialog按钮增加纵向 ([12a42a0](https://code.xhdev.xyz/h5group/taro-uilib/commits/12a42a08d469387ad521dd6dbab8c06a07117bbc))
|
|
535
|
+
* 新增银行卡、身份证号输入框业务组件 ([b2ab606](https://code.xhdev.xyz/h5group/taro-uilib/commits/b2ab606d9e383b947f7d1cd7ad49646cc7e5cc75))
|
|
536
|
+
* 新增银行卡、身份证输入组件 ([26376c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/26376c4cc68ce4b1ae9d378bbec160ca67734995))
|
|
537
|
+
* 新增银行卡输入组件 ([0f148f8](https://code.xhdev.xyz/h5group/taro-uilib/commits/0f148f826978990926f3393a4204da181f82a875))
|
|
503
538
|
|
|
504
539
|
|
|
505
540
|
|
|
@@ -674,9 +709,9 @@
|
|
|
674
709
|
|
|
675
710
|
### Features
|
|
676
711
|
|
|
712
|
+
* 补充联系人组件优化 ([5c86d62](https://code.xhdev.xyz/h5group/taro-uilib/commits/5c86d62758bf811bb8d99bcc7d721bff43eb2f70))
|
|
677
713
|
* 补充联系人组件完善 ([47b68a9](https://code.xhdev.xyz/h5group/taro-uilib/commits/47b68a9fb785ac05f10b4ea165842d790f987c1c))
|
|
678
714
|
* 补充联系人组件完善 ([71b7f99](https://code.xhdev.xyz/h5group/taro-uilib/commits/71b7f99443a45443f49837ca7b3c9cdf65162725))
|
|
679
|
-
* 补充联系人组件优化 ([5c86d62](https://code.xhdev.xyz/h5group/taro-uilib/commits/5c86d62758bf811bb8d99bcc7d721bff43eb2f70))
|
|
680
715
|
|
|
681
716
|
|
|
682
717
|
|
|
@@ -703,9 +738,9 @@
|
|
|
703
738
|
|
|
704
739
|
### Features
|
|
705
740
|
|
|
706
|
-
* 新增css变量 ([a6beb40](https://code.xhdev.xyz/h5group/taro-uilib/commits/a6beb40a97ac4f312f7e7bf9dcdabea3f9a338f3))
|
|
707
741
|
* Cell优化 ([9de57d1](https://code.xhdev.xyz/h5group/taro-uilib/commits/9de57d146d341fb9b9296848f29de72f4fddfb68))
|
|
708
742
|
* UI优化。loadingButton修复 ([5eafc61](https://code.xhdev.xyz/h5group/taro-uilib/commits/5eafc6104437ece5a718fa4578d2bf99b7ad6956))
|
|
743
|
+
* 新增css变量 ([a6beb40](https://code.xhdev.xyz/h5group/taro-uilib/commits/a6beb40a97ac4f312f7e7bf9dcdabea3f9a338f3))
|
|
709
744
|
|
|
710
745
|
|
|
711
746
|
|
|
@@ -724,16 +759,16 @@
|
|
|
724
759
|
|
|
725
760
|
### Features
|
|
726
761
|
|
|
727
|
-
* 进度条组件 ([bdec066](https://code.xhdev.xyz/h5group/taro-uilib/commits/bdec0669a3e937bb16f865795cba77d5e2dd1725))
|
|
728
|
-
* 联系人组件开发 ([9f7ac48](https://code.xhdev.xyz/h5group/taro-uilib/commits/9f7ac4893d314e18d434eb8f576117acc378d01c))
|
|
729
|
-
* 缺省页组件开发 ([a55bc8f](https://code.xhdev.xyz/h5group/taro-uilib/commits/a55bc8fbf2c0c4bdf83a40b7472304c0f2c028f9))
|
|
730
|
-
* 增加补充联系人组件 ([dee4637](https://code.xhdev.xyz/h5group/taro-uilib/commits/dee4637f7734443bb7a205f6358ab76172b2a022))
|
|
731
|
-
* 字体文件更新 ([a875262](https://code.xhdev.xyz/h5group/taro-uilib/commits/a8752626433033f398d8975537c5fc10ecb1d733))
|
|
732
762
|
* icon增加、Cellborder ([15490f3](https://code.xhdev.xyz/h5group/taro-uilib/commits/15490f3f79d3cdcccdf9b1153943aff8a4dc1c7a))
|
|
733
763
|
* linkman 组件的开发 ([72de62d](https://code.xhdev.xyz/h5group/taro-uilib/commits/72de62d8507af2dc7281a3b1989ef1219f06f582))
|
|
734
764
|
* linkman开发 ([497b8f7](https://code.xhdev.xyz/h5group/taro-uilib/commits/497b8f7dcae63d7b826409a6573777ff903c9d09))
|
|
735
765
|
* linkman组件开发 ([cb8843c](https://code.xhdev.xyz/h5group/taro-uilib/commits/cb8843ca89091ebbf0b5e43319d472e81e4c8be8))
|
|
736
766
|
* Result 优化 ([ed92c0b](https://code.xhdev.xyz/h5group/taro-uilib/commits/ed92c0bf4a00c7901705fb847b2697ea8ebc64fe))
|
|
767
|
+
* 增加补充联系人组件 ([dee4637](https://code.xhdev.xyz/h5group/taro-uilib/commits/dee4637f7734443bb7a205f6358ab76172b2a022))
|
|
768
|
+
* 字体文件更新 ([a875262](https://code.xhdev.xyz/h5group/taro-uilib/commits/a8752626433033f398d8975537c5fc10ecb1d733))
|
|
769
|
+
* 缺省页组件开发 ([a55bc8f](https://code.xhdev.xyz/h5group/taro-uilib/commits/a55bc8fbf2c0c4bdf83a40b7472304c0f2c028f9))
|
|
770
|
+
* 联系人组件开发 ([9f7ac48](https://code.xhdev.xyz/h5group/taro-uilib/commits/9f7ac4893d314e18d434eb8f576117acc378d01c))
|
|
771
|
+
* 进度条组件 ([bdec066](https://code.xhdev.xyz/h5group/taro-uilib/commits/bdec0669a3e937bb16f865795cba77d5e2dd1725))
|
|
737
772
|
|
|
738
773
|
|
|
739
774
|
|
|
@@ -742,9 +777,9 @@
|
|
|
742
777
|
|
|
743
778
|
### Features
|
|
744
779
|
|
|
745
|
-
* 修改radio、checkbox disble样式 ([0249cb3](https://code.xhdev.xyz/h5group/taro-uilib/commits/0249cb31e5582e4f098e8fd5d3c3154f61068381))
|
|
746
780
|
* Switch组件、组件优化 ([ec81a39](https://code.xhdev.xyz/h5group/taro-uilib/commits/ec81a39876c3755113c78289b030216e22e2375d))
|
|
747
781
|
* tabbar组件新增属性 ([77f16c7](https://code.xhdev.xyz/h5group/taro-uilib/commits/77f16c7d57cd8ecb3e03310ffae8bd9238c5afc0))
|
|
782
|
+
* 修改radio、checkbox disble样式 ([0249cb3](https://code.xhdev.xyz/h5group/taro-uilib/commits/0249cb31e5582e4f098e8fd5d3c3154f61068381))
|
|
748
783
|
|
|
749
784
|
|
|
750
785
|
|
|
@@ -753,17 +788,17 @@
|
|
|
753
788
|
|
|
754
789
|
### Bug Fixes
|
|
755
790
|
|
|
756
|
-
* 去掉所有图片改用icon ([f87d12d](https://code.xhdev.xyz/h5group/taro-uilib/commits/f87d12d39264aeacae35220a7760dd573d18a559))
|
|
757
791
|
* cell content固定宽度 ([6d998c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/6d998c47e90ebda8d0afe7f502625b3a2d6d05a0))
|
|
792
|
+
* 去掉所有图片改用icon ([f87d12d](https://code.xhdev.xyz/h5group/taro-uilib/commits/f87d12d39264aeacae35220a7760dd573d18a559))
|
|
758
793
|
|
|
759
794
|
|
|
760
795
|
### Features
|
|
761
796
|
|
|
762
|
-
* 增加cell、activityindicator、button优化 ([177fb35](https://code.xhdev.xyz/h5group/taro-uilib/commits/177fb3537bd25bb67f152e3570c88950c377019b))
|
|
763
797
|
* actionsheet inline模式 ([d6b4ac5](https://code.xhdev.xyz/h5group/taro-uilib/commits/d6b4ac56bcdc57af9092d847d4c5bc58f1a3edf8))
|
|
764
798
|
* add Cell ([6f79e20](https://code.xhdev.xyz/h5group/taro-uilib/commits/6f79e20acba10d7db41de78a826b0c4f33655c27))
|
|
765
799
|
* alert样式修改 ([d1dab6d](https://code.xhdev.xyz/h5group/taro-uilib/commits/d1dab6d4c9b4b709bd0377d8b62da48aea65f7b3))
|
|
766
800
|
* button 变量修改 ([54d9198](https://code.xhdev.xyz/h5group/taro-uilib/commits/54d9198388022d66afe0a96850acd0706e6d9833))
|
|
801
|
+
* 增加cell、activityindicator、button优化 ([177fb35](https://code.xhdev.xyz/h5group/taro-uilib/commits/177fb3537bd25bb67f152e3570c88950c377019b))
|
|
767
802
|
|
|
768
803
|
|
|
769
804
|
|
|
@@ -786,10 +821,10 @@
|
|
|
786
821
|
|
|
787
822
|
### Features
|
|
788
823
|
|
|
789
|
-
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
790
|
-
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
791
824
|
* actionsheet组件、、rank组件 ([46b5dcd](https://code.xhdev.xyz/h5group/taro-uilib/commits/46b5dcd09300006ba12cc9adb1ea899aa61aa0a9))
|
|
792
825
|
* radio 默认圆形 ([c070363](https://code.xhdev.xyz/h5group/taro-uilib/commits/c070363288a1032cbcaa3c4b5d6d77dfab54290c))
|
|
826
|
+
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
827
|
+
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
793
828
|
|
|
794
829
|
|
|
795
830
|
### Performance Improvements
|
|
@@ -812,8 +847,8 @@
|
|
|
812
847
|
|
|
813
848
|
### Features
|
|
814
849
|
|
|
815
|
-
* 更新icon组件 ([e44f909](https://code.xhdev.xyz/h5group/taro-uilib/commits/e44f909f8a36c5e581c4e9fc456b62f7f117c8bf))
|
|
816
850
|
* icon 组件修复 ([797b1fb](https://code.xhdev.xyz/h5group/taro-uilib/commits/797b1fb1eae7a7c838d2de996cb8865ea135cf8d))
|
|
851
|
+
* 更新icon组件 ([e44f909](https://code.xhdev.xyz/h5group/taro-uilib/commits/e44f909f8a36c5e581c4e9fc456b62f7f117c8bf))
|
|
817
852
|
|
|
818
853
|
|
|
819
854
|
|
|
@@ -840,9 +875,9 @@
|
|
|
840
875
|
|
|
841
876
|
### Features
|
|
842
877
|
|
|
843
|
-
* 修改radio、checkbox disble样式 ([0249cb3](https://code.xhdev.xyz/h5group/taro-uilib/commits/0249cb31e5582e4f098e8fd5d3c3154f61068381))
|
|
844
878
|
* Switch组件、组件优化 ([ec81a39](https://code.xhdev.xyz/h5group/taro-uilib/commits/ec81a39876c3755113c78289b030216e22e2375d))
|
|
845
879
|
* tabbar组件新增属性 ([77f16c7](https://code.xhdev.xyz/h5group/taro-uilib/commits/77f16c7d57cd8ecb3e03310ffae8bd9238c5afc0))
|
|
880
|
+
* 修改radio、checkbox disble样式 ([0249cb3](https://code.xhdev.xyz/h5group/taro-uilib/commits/0249cb31e5582e4f098e8fd5d3c3154f61068381))
|
|
846
881
|
|
|
847
882
|
|
|
848
883
|
|
|
@@ -851,17 +886,17 @@
|
|
|
851
886
|
|
|
852
887
|
### Bug Fixes
|
|
853
888
|
|
|
854
|
-
* 去掉所有图片改用icon ([f87d12d](https://code.xhdev.xyz/h5group/taro-uilib/commits/f87d12d39264aeacae35220a7760dd573d18a559))
|
|
855
889
|
* cell content固定宽度 ([6d998c4](https://code.xhdev.xyz/h5group/taro-uilib/commits/6d998c47e90ebda8d0afe7f502625b3a2d6d05a0))
|
|
890
|
+
* 去掉所有图片改用icon ([f87d12d](https://code.xhdev.xyz/h5group/taro-uilib/commits/f87d12d39264aeacae35220a7760dd573d18a559))
|
|
856
891
|
|
|
857
892
|
|
|
858
893
|
### Features
|
|
859
894
|
|
|
860
|
-
* 增加cell、activityindicator、button优化 ([177fb35](https://code.xhdev.xyz/h5group/taro-uilib/commits/177fb3537bd25bb67f152e3570c88950c377019b))
|
|
861
895
|
* actionsheet inline模式 ([d6b4ac5](https://code.xhdev.xyz/h5group/taro-uilib/commits/d6b4ac56bcdc57af9092d847d4c5bc58f1a3edf8))
|
|
862
896
|
* add Cell ([6f79e20](https://code.xhdev.xyz/h5group/taro-uilib/commits/6f79e20acba10d7db41de78a826b0c4f33655c27))
|
|
863
897
|
* alert样式修改 ([d1dab6d](https://code.xhdev.xyz/h5group/taro-uilib/commits/d1dab6d4c9b4b709bd0377d8b62da48aea65f7b3))
|
|
864
898
|
* button 变量修改 ([54d9198](https://code.xhdev.xyz/h5group/taro-uilib/commits/54d9198388022d66afe0a96850acd0706e6d9833))
|
|
899
|
+
* 增加cell、activityindicator、button优化 ([177fb35](https://code.xhdev.xyz/h5group/taro-uilib/commits/177fb3537bd25bb67f152e3570c88950c377019b))
|
|
865
900
|
|
|
866
901
|
|
|
867
902
|
|
|
@@ -884,10 +919,10 @@
|
|
|
884
919
|
|
|
885
920
|
### Features
|
|
886
921
|
|
|
887
|
-
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
888
|
-
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
889
922
|
* actionsheet组件、、rank组件 ([46b5dcd](https://code.xhdev.xyz/h5group/taro-uilib/commits/46b5dcd09300006ba12cc9adb1ea899aa61aa0a9))
|
|
890
923
|
* radio 默认圆形 ([c070363](https://code.xhdev.xyz/h5group/taro-uilib/commits/c070363288a1032cbcaa3c4b5d6d77dfab54290c))
|
|
924
|
+
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
925
|
+
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
891
926
|
|
|
892
927
|
|
|
893
928
|
### Performance Improvements
|
|
@@ -933,10 +968,10 @@
|
|
|
933
968
|
|
|
934
969
|
### Features
|
|
935
970
|
|
|
936
|
-
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
937
|
-
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
938
971
|
* actionsheet组件、、rank组件 ([46b5dcd](https://code.xhdev.xyz/h5group/taro-uilib/commits/46b5dcd09300006ba12cc9adb1ea899aa61aa0a9))
|
|
939
972
|
* radio 默认圆形 ([c070363](https://code.xhdev.xyz/h5group/taro-uilib/commits/c070363288a1032cbcaa3c4b5d6d77dfab54290c))
|
|
973
|
+
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
974
|
+
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
940
975
|
|
|
941
976
|
|
|
942
977
|
### Performance Improvements
|
|
@@ -965,11 +1000,11 @@
|
|
|
965
1000
|
|
|
966
1001
|
### Features
|
|
967
1002
|
|
|
968
|
-
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
969
|
-
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
970
1003
|
* actionsheet组件、、rank组件 ([46b5dcd](https://code.xhdev.xyz/h5group/taro-uilib/commits/46b5dcd09300006ba12cc9adb1ea899aa61aa0a9))
|
|
971
1004
|
* navbar适配 ([ee6ab17](https://code.xhdev.xyz/h5group/taro-uilib/commits/ee6ab17e766d849c9223582e8e3431315163b289))
|
|
972
1005
|
* radio 默认圆形 ([c070363](https://code.xhdev.xyz/h5group/taro-uilib/commits/c070363288a1032cbcaa3c4b5d6d77dfab54290c))
|
|
1006
|
+
* 主色调更新、优化captcha组件 ([680707e](https://code.xhdev.xyz/h5group/taro-uilib/commits/680707ef5e5e8c35be01125a1a567ea9070b8a2a))
|
|
1007
|
+
* 增加action组件、增加icon ([db09cdd](https://code.xhdev.xyz/h5group/taro-uilib/commits/db09cddee336cdfb4965c4dc39c9907bdd95f8ea))
|
|
973
1008
|
|
|
974
1009
|
|
|
975
1010
|
### Performance Improvements
|
|
@@ -1006,8 +1041,8 @@
|
|
|
1006
1041
|
|
|
1007
1042
|
### Features
|
|
1008
1043
|
|
|
1009
|
-
* 键盘增加disable功能 ([737cd2e](https://code.xhdev.xyz/h5group/taro-uilib/commits/737cd2eed599aea12e2bc9ff1598c518b9cd2116))
|
|
1010
1044
|
* types导出的问题修复 ([1282aa4](https://code.xhdev.xyz/h5group/taro-uilib/commits/1282aa4f480bf2991706e0042f5f465f5210285c))
|
|
1045
|
+
* 键盘增加disable功能 ([737cd2e](https://code.xhdev.xyz/h5group/taro-uilib/commits/737cd2eed599aea12e2bc9ff1598c518b9cd2116))
|
|
1011
1046
|
|
|
1012
1047
|
|
|
1013
1048
|
|
|
@@ -1048,16 +1083,16 @@
|
|
|
1048
1083
|
|
|
1049
1084
|
### Bug Fixes
|
|
1050
1085
|
|
|
1051
|
-
* 修复amountKeyBoard依赖space问题 ([747d8de](https://code.xhdev.xyz/h5group/taro-uilib/commits/747d8de11e6392d494fdf5c10b70cd225639502f))
|
|
1052
1086
|
* build ([5a4e6c9](https://code.xhdev.xyz/h5group/taro-uilib/commits/5a4e6c94141fd6e94f42b61c587ec425dc004595))
|
|
1053
1087
|
* step增加box-sizing ([17237b4](https://code.xhdev.xyz/h5group/taro-uilib/commits/17237b4596e35720821a7a0142a0d7f82c74c1c2))
|
|
1088
|
+
* 修复amountKeyBoard依赖space问题 ([747d8de](https://code.xhdev.xyz/h5group/taro-uilib/commits/747d8de11e6392d494fdf5c10b70cd225639502f))
|
|
1054
1089
|
|
|
1055
1090
|
|
|
1056
1091
|
### Features
|
|
1057
1092
|
|
|
1093
|
+
* add collapse component ([d2b1224](https://code.xhdev.xyz/h5group/taro-uilib/commits/d2b12240d139b45ab9516170552d91654eea2256))
|
|
1058
1094
|
* 开发业务组件 ([458b4be](https://code.xhdev.xyz/h5group/taro-uilib/commits/458b4be31ddb15aff2ba09864b9c8b0994f07ff4))
|
|
1059
1095
|
* 新增AmountInpInput组件、AmountKeyBoard组件、Badge组件 ([ba072af](https://code.xhdev.xyz/h5group/taro-uilib/commits/ba072af9d075ee79b10154432a4024dc4d962f3a))
|
|
1060
|
-
* add collapse component ([d2b1224](https://code.xhdev.xyz/h5group/taro-uilib/commits/d2b12240d139b45ab9516170552d91654eea2256))
|
|
1061
1096
|
|
|
1062
1097
|
|
|
1063
1098
|
### Performance Improvements
|
|
@@ -1097,20 +1132,20 @@
|
|
|
1097
1132
|
### Features
|
|
1098
1133
|
|
|
1099
1134
|
* eslint ([5760511](https://code.xhdev.xyz/h5group/taro-uilib/commits/5760511e926dc8daca69cfeb1ad104d5167eea37))
|
|
1100
|
-
* 部分组件样式采用变量 ([3587ecf](https://code.xhdev.xyz/h5group/taro-uilib/commits/3587ecf71e12b55ea54645679cc81ba2ac41002b))
|
|
1101
|
-
* 新增space组件 ([e250c56](https://code.xhdev.xyz/h5group/taro-uilib/commits/e250c568dfa60d0faef71625d5d20030c328cba7))
|
|
1102
1135
|
* add checkbox ([26c424f](https://code.xhdev.xyz/h5group/taro-uilib/commits/26c424f79cfe351743d1f2447aba80df50eb338e))
|
|
1103
1136
|
* add step component ([ed35870](https://code.xhdev.xyz/h5group/taro-uilib/commits/ed35870190f6b7e90f2092f4bcf0174f05db201e))
|
|
1104
1137
|
* checkbox perf ([c7dceaa](https://code.xhdev.xyz/h5group/taro-uilib/commits/c7dceaa9baf32908fb52813889bcb0e9ebd75661))
|
|
1105
|
-
* checkbox组件 ([20d66eb](https://code.xhdev.xyz/h5group/taro-uilib/commits/20d66eb7436845f05b672a205ab41145127ea261))
|
|
1106
1138
|
* checkboxzhi支持默认选中 ([d126780](https://code.xhdev.xyz/h5group/taro-uilib/commits/d126780d5e0604ed20a4b42060e558f9c2a611ea))
|
|
1139
|
+
* checkbox组件 ([20d66eb](https://code.xhdev.xyz/h5group/taro-uilib/commits/20d66eb7436845f05b672a205ab41145127ea261))
|
|
1107
1140
|
* radio 组件 ([c7607db](https://code.xhdev.xyz/h5group/taro-uilib/commits/c7607dbfd147009b387c2c1e3fedb782364a1118))
|
|
1141
|
+
* 新增space组件 ([e250c56](https://code.xhdev.xyz/h5group/taro-uilib/commits/e250c568dfa60d0faef71625d5d20030c328cba7))
|
|
1142
|
+
* 部分组件样式采用变量 ([3587ecf](https://code.xhdev.xyz/h5group/taro-uilib/commits/3587ecf71e12b55ea54645679cc81ba2ac41002b))
|
|
1108
1143
|
|
|
1109
1144
|
|
|
1110
1145
|
### Performance Improvements
|
|
1111
1146
|
|
|
1112
|
-
* 兼容抖音 ([d2d2a93](https://code.xhdev.xyz/h5group/taro-uilib/commits/d2d2a93c9163308bdb6119c40e1596928b9d0e90))
|
|
1113
1147
|
* 优化picker ([f767998](https://code.xhdev.xyz/h5group/taro-uilib/commits/f7679983100cf5ecc4a29f92db59e4b7c80ed082))
|
|
1148
|
+
* 兼容抖音 ([d2d2a93](https://code.xhdev.xyz/h5group/taro-uilib/commits/d2d2a93c9163308bdb6119c40e1596928b9d0e90))
|
|
1114
1149
|
|
|
1115
1150
|
|
|
1116
1151
|
|
|
@@ -1128,11 +1163,11 @@
|
|
|
1128
1163
|
|
|
1129
1164
|
### Features
|
|
1130
1165
|
|
|
1166
|
+
* 主题组件新增 ([79d796c](https://code.xhdev.xyz/h5group/taro-uilib/commits/79d796ce4bc269a2ead087727cf14564e8b19817))
|
|
1131
1167
|
* 导出theme组件 ([f95c875](https://code.xhdev.xyz/h5group/taro-uilib/commits/f95c87522b609125a804d30dc7671e2421d8c49d))
|
|
1132
|
-
* 添加主题的支持 ([f1c1658](https://code.xhdev.xyz/h5group/taro-uilib/commits/f1c16583a23ecd4f210fb350889b427c561939c3))
|
|
1133
1168
|
* 新增主题组件 ([7c9066c](https://code.xhdev.xyz/h5group/taro-uilib/commits/7c9066c61a0fef94eea651aba6b4df7283971492))
|
|
1134
1169
|
* 新增主题组件 ([529b142](https://code.xhdev.xyz/h5group/taro-uilib/commits/529b142d93f685b1639cea3fc6aa3c8f9f972312))
|
|
1135
|
-
*
|
|
1170
|
+
* 添加主题的支持 ([f1c1658](https://code.xhdev.xyz/h5group/taro-uilib/commits/f1c16583a23ecd4f210fb350889b427c561939c3))
|
|
1136
1171
|
|
|
1137
1172
|
|
|
1138
1173
|
|
|
@@ -1215,12 +1250,12 @@
|
|
|
1215
1250
|
|
|
1216
1251
|
### Features
|
|
1217
1252
|
|
|
1218
|
-
*
|
|
1253
|
+
* toast 增加hide回调 ([bad7c55](https://code.xhdev.xyz/h5group/taro-uilib/commits/bad7c55e9ca3ab41d9af8d3a946794d9e2200aed))
|
|
1219
1254
|
* 修复button存在的内存泄露问题 ([72494d8](https://code.xhdev.xyz/h5group/taro-uilib/commits/72494d877289a443e593a868c53a9e3fb86c0938))
|
|
1220
1255
|
* 修复button存在的内存泄露问题 ([41853b4](https://code.xhdev.xyz/h5group/taro-uilib/commits/41853b49910fc4f5c99107ddc23649bab61334fc))
|
|
1221
1256
|
* 修复button存在的内存泄露问题 ([59fe743](https://code.xhdev.xyz/h5group/taro-uilib/commits/59fe743744553ae213f8c43237d67a1a68230f77))
|
|
1222
1257
|
* 修复button存在的内存泄露问题 ([3beb7a8](https://code.xhdev.xyz/h5group/taro-uilib/commits/3beb7a82cbbb248c5ca9bd9e973af68548111510))
|
|
1223
|
-
*
|
|
1258
|
+
* 借款组件适配 ([3970d31](https://code.xhdev.xyz/h5group/taro-uilib/commits/3970d3135c682fe75b40b6756542ac7ce46c0920))
|
|
1224
1259
|
|
|
1225
1260
|
|
|
1226
1261
|
|
|
@@ -1268,8 +1303,8 @@
|
|
|
1268
1303
|
|
|
1269
1304
|
### Bug Fixes
|
|
1270
1305
|
|
|
1271
|
-
* 导出tabbar list修改 ([9c4262e](https://code.xhdev.xyz/h5group/taro-uilib/commits/9c4262e73a10ad8765a1b610f32938f73e382cb7))
|
|
1272
1306
|
* list ([fc244a0](https://code.xhdev.xyz/h5group/taro-uilib/commits/fc244a073a300df999266c09a3fe62f5cc6536cd))
|
|
1307
|
+
* 导出tabbar list修改 ([9c4262e](https://code.xhdev.xyz/h5group/taro-uilib/commits/9c4262e73a10ad8765a1b610f32938f73e382cb7))
|
|
1273
1308
|
|
|
1274
1309
|
|
|
1275
1310
|
|
|
@@ -1296,11 +1331,11 @@
|
|
|
1296
1331
|
|
|
1297
1332
|
### Features
|
|
1298
1333
|
|
|
1299
|
-
* 打包优化 ([f806089](https://code.xhdev.xyz/h5group/taro-uilib/commits/f80608928dc301cbde21dac00b96a7dfe3957447))
|
|
1300
|
-
* 添加tabbar组件 ([e797c13](https://code.xhdev.xyz/h5group/taro-uilib/commits/e797c133e248c161e429c247eef1a9c62fb7f2e1))
|
|
1301
1334
|
* css压缩 add tabbar components ([f9a5f91](https://code.xhdev.xyz/h5group/taro-uilib/commits/f9a5f9118a811de3f6c1a68127607d2d916f4439))
|
|
1302
1335
|
* tabbar 完善 ([abcde25](https://code.xhdev.xyz/h5group/taro-uilib/commits/abcde25d49cdf5a2089d1dd775b14ddcb1fc1376))
|
|
1303
1336
|
* tabbar 完善 ([35c1ea9](https://code.xhdev.xyz/h5group/taro-uilib/commits/35c1ea9b5a4982dea094bb441f7267a8a6564998))
|
|
1337
|
+
* 打包优化 ([f806089](https://code.xhdev.xyz/h5group/taro-uilib/commits/f80608928dc301cbde21dac00b96a7dfe3957447))
|
|
1338
|
+
* 添加tabbar组件 ([e797c13](https://code.xhdev.xyz/h5group/taro-uilib/commits/e797c133e248c161e429c247eef1a9c62fb7f2e1))
|
|
1304
1339
|
|
|
1305
1340
|
|
|
1306
1341
|
|
|
@@ -1463,8 +1498,6 @@
|
|
|
1463
1498
|
|
|
1464
1499
|
### Features
|
|
1465
1500
|
|
|
1466
|
-
* 按钮修复 ([db92448](https://code.xhdev.xyz/h5group/taro-uilib/commits/db92448ad25dba087d93388a1c0746adf4d27bfb))
|
|
1467
|
-
* 字节小程序 ([fa4bfc4](https://code.xhdev.xyz/h5group/taro-uilib/commits/fa4bfc433a36ed3792a8ef81e5471c6d3b8ce50f))
|
|
1468
1501
|
* add dialog ([60df611](https://code.xhdev.xyz/h5group/taro-uilib/commits/60df6110b4ee02f8d548f3940886695596268bac))
|
|
1469
1502
|
* add eslint & prettier ([c1c243b](https://code.xhdev.xyz/h5group/taro-uilib/commits/c1c243b32618a8173c5d00718373c8f7c4b3cbb5))
|
|
1470
1503
|
* add eslint & prettier ([10101d3](https://code.xhdev.xyz/h5group/taro-uilib/commits/10101d347396744ae32a9344a0271e554de1833b))
|
|
@@ -1481,6 +1514,8 @@
|
|
|
1481
1514
|
* husky ([113e8b6](https://code.xhdev.xyz/h5group/taro-uilib/commits/113e8b65570aaeb4678a71e26ef3238dcdcca858))
|
|
1482
1515
|
* postinstall ([a163622](https://code.xhdev.xyz/h5group/taro-uilib/commits/a1636226a67b4fb573b402b5949f1069eb8788dd))
|
|
1483
1516
|
* postinstall ([207ce77](https://code.xhdev.xyz/h5group/taro-uilib/commits/207ce77a5d1960fc0046e1f59ceb6a39a6e8af86))
|
|
1517
|
+
* 字节小程序 ([fa4bfc4](https://code.xhdev.xyz/h5group/taro-uilib/commits/fa4bfc433a36ed3792a8ef81e5471c6d3b8ce50f))
|
|
1518
|
+
* 按钮修复 ([db92448](https://code.xhdev.xyz/h5group/taro-uilib/commits/db92448ad25dba087d93388a1c0746adf4d27bfb))
|
|
1484
1519
|
|
|
1485
1520
|
|
|
1486
1521
|
|
|
@@ -1494,15 +1529,15 @@
|
|
|
1494
1529
|
|
|
1495
1530
|
### Features
|
|
1496
1531
|
|
|
1497
|
-
* 新增bankicon组件 ([6ea6263](https://code.xhdev.xyz/h5group/taro-uilib/commits/6ea62637a7c7162ac71747d939425c1ca7223be7))
|
|
1498
|
-
* 增加list组件 ([41379ab](https://code.xhdev.xyz/h5group/taro-uilib/commits/41379abdcbdaec4ab050aa70ac0cab7cc883b2b5))
|
|
1499
|
-
* 组件开发 ([64423a8](https://code.xhdev.xyz/h5group/taro-uilib/commits/64423a82fc2991dd84029cfab1f62a69a9acbb8a))
|
|
1500
1532
|
* arrow ([d8650da](https://code.xhdev.xyz/h5group/taro-uilib/commits/d8650da836008125dad49d7207125a38c496bd16))
|
|
1501
1533
|
* base ([4cbef15](https://code.xhdev.xyz/h5group/taro-uilib/commits/4cbef154e95df14e8992092db48aafc4e0461be5))
|
|
1502
1534
|
* d.ts ([3b663f3](https://code.xhdev.xyz/h5group/taro-uilib/commits/3b663f3a689633ba013635e57baffc9b02631029))
|
|
1503
1535
|
* init ([fbd70f2](https://code.xhdev.xyz/h5group/taro-uilib/commits/fbd70f2875752c10785d311448c4940745b3c690))
|
|
1504
1536
|
* version ([9aa311f](https://code.xhdev.xyz/h5group/taro-uilib/commits/9aa311ff857d46feadf28200bd90fb15933e22fd))
|
|
1505
1537
|
* version update ([829a1f4](https://code.xhdev.xyz/h5group/taro-uilib/commits/829a1f4485116d8a7c03a1b435b80be6f68042ff))
|
|
1538
|
+
* 增加list组件 ([41379ab](https://code.xhdev.xyz/h5group/taro-uilib/commits/41379abdcbdaec4ab050aa70ac0cab7cc883b2b5))
|
|
1539
|
+
* 新增bankicon组件 ([6ea6263](https://code.xhdev.xyz/h5group/taro-uilib/commits/6ea62637a7c7162ac71747d939425c1ca7223be7))
|
|
1540
|
+
* 组件开发 ([64423a8](https://code.xhdev.xyz/h5group/taro-uilib/commits/64423a82fc2991dd84029cfab1f62a69a9acbb8a))
|
|
1506
1541
|
|
|
1507
1542
|
|
|
1508
1543
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/BankIcon/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport classNames from \"classnames\";\n\nimport Image from \"../../../src/components/Image\";\nimport { XHComponentCommonProps } from \"../../types\";\nimport \"./index.scss\";\n\nexport type XHListProps = {\n code: string;\n size?: number;\n} & XHComponentCommonProps;\n\nconst BANKCARD_URL =\n \"https://s.xh1.cn/resources/images/bank/logo-2.0.0/placeholder.png\";\n\nconst XHBankIcon: FC<XHListProps> = props => {\n const { code, className, size } = props;\n\n const cls = classNames(\"xh-bank-icon\", className);\n\n return (\n <Image\n src={BANKCARD_URL.replace(\"placeholder\", code)}\n alt={code}\n width={size}\n height={size}\n className={cls}\n />\n );\n};\nexport default XHBankIcon;\n"],"names":["XHBankIcon","props","code","className","size","cls","classNames","React","createElement","Image","src","replace","alt","width","height"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/BankIcon/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport classNames from \"classnames\";\n\nimport Image from \"../../../src/components/Image\";\nimport { XHComponentCommonProps } from \"../../types\";\nimport \"./index.scss\";\n\nexport type BankIconCode =\n | \"102\"\n | \"103\"\n | \"104\"\n | \"105\"\n | \"301\"\n | \"302\"\n | \"303\"\n | \"304\"\n | \"305\"\n | \"306\"\n | \"307\"\n | \"308\"\n | \"309\"\n | \"310\"\n | \"403\";\n\nexport type XHListProps = {\n code: BankIconCode | (string & {});\n size?: number;\n} & XHComponentCommonProps;\n\nconst BANKCARD_URL =\n \"https://s.xh1.cn/resources/images/bank/logo-2.0.0/placeholder.png\";\n\nconst XHBankIcon: FC<XHListProps> = props => {\n const { code, className, size } = props;\n\n const cls = classNames(\"xh-bank-icon\", className);\n\n return (\n <Image\n src={BANKCARD_URL.replace(\"placeholder\", code)}\n alt={code}\n width={size}\n height={size}\n className={cls}\n />\n );\n};\nexport default XHBankIcon;\n"],"names":["XHBankIcon","props","code","className","size","cls","classNames","React","createElement","Image","src","replace","alt","width","height"],"mappings":"gFA6BA,IAGMA,EAA8B,SAAAC,GAC1B,IAAAC,EAA0BD,EAAKC,KAAzBC,EAAoBF,EAAKE,UAAdC,EAASH,OAE5BI,EAAMC,EAAW,eAAgBH,GAEvC,OACEI,EAAAC,cAACC,EAAK,CACJC,IATJ,oEASsBC,QAAQ,cAAeT,GACzCU,IAAKV,EACLW,MAAOT,EACPU,OAAQV,EACRD,UAAWE,GAGjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__read as e}from"../node_modules/tslib/tslib.es6.js";import o,{useState as n,useRef as t,useEffect as r}from"react";import a from"classnames";import{Button as s}from"@tarojs/components";import{useTaroEnv as l}from"../src/hooks/index.js";import i from"./DotJump.js";var m=function(m){var d=m.disabled,p=void 0!==d&&d,c=m.type,u=void 0===c?"default":c,g=m.size,f=void 0===g?"normal":g,y=m.shape,h=void 0===y?"round":y,v=m.children,b=m.className,T=m.htmlType,E=m.formType,P=m.text,M=m.openType,w=m.lang,C=m.sessionFrom,I=m.sendMessageTitle,N=m.sendMessagePath,j=m.sendMessageImg,k=m.showMessageCard,x=m.appParameter,G=m.onGetUserInfo,S=m.onGetPhoneNumber,W=m.onOpenSetting,q=m.onError,B=m.onContact,D=m.onClick,F=m.preventTime,O=void 0===F?2500:F,U=m.style,z=m.loading,A=m.loadingStyle,J=m.loadingSpace,_=m.ghost,H=void 0!==_&&_,K=m.hollow,L=void 0!==K&&K,Q=l(),R=e(n(!1),2),V=R[0],X=R[1],Y=t(),Z=a("xh-button",{default:"default"===u,primary:"primary"===u,secondary:"secondary"===u,ghost:H,hollow:L,warn:"warn"===u,
|
|
1
|
+
import{__read as e}from"../node_modules/tslib/tslib.es6.js";import o,{useState as n,useRef as t,useEffect as r}from"react";import a from"classnames";import{Button as s}from"@tarojs/components";import{useTaroEnv as l}from"../src/hooks/index.js";import i from"./DotJump.js";var m=function(m){var d=m.disabled,p=void 0!==d&&d,c=m.type,u=void 0===c?"default":c,g=m.size,f=void 0===g?"normal":g,y=m.shape,h=void 0===y?"round":y,v=m.children,b=m.className,T=m.htmlType,E=m.formType,P=m.text,M=m.openType,w=m.lang,C=m.sessionFrom,I=m.sendMessageTitle,N=m.sendMessagePath,j=m.sendMessageImg,k=m.showMessageCard,x=m.appParameter,G=m.onGetUserInfo,S=m.onGetPhoneNumber,W=m.onOpenSetting,q=m.onError,B=m.onContact,D=m.onClick,F=m.preventTime,O=void 0===F?2500:F,U=m.style,z=m.loading,A=m.loadingStyle,J=m.loadingSpace,_=m.ghost,H=void 0!==_&&_,K=m.hollow,L=void 0!==K&&K,Q=l(),R=e(n(!1),2),V=R[0],X=R[1],Y=t(),Z=a("xh-button",{default:"default"===u,primary:"primary"===u,secondary:"secondary"===u,ghost:H,hollow:L,warn:"warn"===u,square:"square"===h,round:"round"===h,rectangle:"rectangle"===h,normal:"normal"===f,small:"mini"===f,full:"full"===f,disabled:p,webutton:"WEAPP"===Q},b),$=function(e){"WEB"===Q&&e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),V&&0!==O||(0!==O&&(Y.current=setTimeout((function(){X(!1),clearTimeout(Y.current)}),O)),0!==O&&X(!0),D&&D(e))};r((function(){return function(){clearTimeout(Y.current)}}),[]);var ee=o.createElement(s,{className:Z,formType:E,openType:M,lang:w,type:u,sessionFrom:C,sendMessageTitle:I,sendMessagePath:N,sendMessageImg:j,showMessageCard:k,appParameter:x,onGetUserInfo:G,onGetPhoneNumber:S,onOpenSetting:W,onError:q,onContact:B,onClick:$,disabled:p,style:U,loading:z},v);return"WEB"!==Q?ee:o.createElement("button",{className:Z,disabled:p,type:T,onClick:p?void 0:$,style:U},v||P,z&&o.createElement(i,{style:A,space:J}))};export{m as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Button/index.tsx"],"sourcesContent":["import React, {\n FC,\n MouseEventHandler,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport classNames from \"classnames\";\nimport { Button } from \"@tarojs/components\";\nimport { ButtonProps } from \"@tarojs/components/types/Button\";\nimport {\n ITouchEvent,\n TouchEventFunction,\n} from \"@tarojs/components/types/common\";\n\nimport { useTaroEnv } from \"../../hooks\";\nimport \"./index.scss\";\nimport DotJump from \"./DotJump\";\n\nexport type ButtonType = \"default\" | \"secondary\" | \"primary\" | \"warn\";\n\nexport type ButtonShape = \"square\" | \"round\" | \"rectangle\";\n\nexport type ButtonSize = \"default\" | \"mini\" | \"full\";\n\nexport type XhButtonProps = {\n htmlType?: \"button\" | \"submit\" | \"reset\";\n type?: ButtonType;\n size?: ButtonSize;\n shape?: ButtonShape;\n disabled?: boolean;\n className?: string;\n styleName?: string;\n text?: string;\n preventTime?: number;\n onClick?: (e: ITouchEvent | MouseEvent) => void;\n style?: React.CSSProperties;\n loading?: boolean;\n loadingStyle?: React.CSSProperties;\n loadingSpace?: number;\n ghost?: boolean;\n /**\n * 镂空\n */\n hollow?: boolean;\n} & Omit<ButtonProps, \"type\" | \"size\">;\n\nconst XhButton: FC<XhButtonProps> = props => {\n const {\n disabled = false,\n type = \"default\",\n size = \"normal\",\n shape = \"round\",\n children,\n className,\n htmlType,\n formType,\n text,\n openType,\n lang,\n sessionFrom,\n sendMessageTitle,\n sendMessagePath,\n sendMessageImg,\n showMessageCard,\n appParameter,\n onGetUserInfo,\n onGetPhoneNumber,\n onOpenSetting,\n onError,\n onContact,\n onClick,\n preventTime = 2500,\n style,\n loading,\n loadingStyle,\n loadingSpace,\n ghost = false,\n hollow = false,\n } = props;\n const state = useTaroEnv();\n const [preventClick, setPreventClick] = useState(false);\n const timer = useRef<NodeJS.Timeout | undefined>();\n const classObj = classNames(\n \"xh-button\",\n {\n default: type === \"default\",\n primary: type === \"primary\",\n secondary: type === \"secondary\",\n ghost: ghost,\n hollow: hollow,\n warn: type === \"warn\",\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Button/index.tsx"],"sourcesContent":["import React, {\n FC,\n MouseEventHandler,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport classNames from \"classnames\";\nimport { Button } from \"@tarojs/components\";\nimport { ButtonProps } from \"@tarojs/components/types/Button\";\nimport {\n ITouchEvent,\n TouchEventFunction,\n} from \"@tarojs/components/types/common\";\n\nimport { useTaroEnv } from \"../../hooks\";\nimport \"./index.scss\";\nimport DotJump from \"./DotJump\";\n\nexport type ButtonType = \"default\" | \"secondary\" | \"primary\" | \"warn\";\n\nexport type ButtonShape = \"square\" | \"round\" | \"rectangle\";\n\nexport type ButtonSize = \"default\" | \"mini\" | \"full\";\n\nexport type XhButtonProps = {\n htmlType?: \"button\" | \"submit\" | \"reset\";\n type?: ButtonType;\n size?: ButtonSize;\n shape?: ButtonShape;\n disabled?: boolean;\n className?: string;\n styleName?: string;\n text?: string;\n preventTime?: number;\n onClick?: (e: ITouchEvent | MouseEvent) => void;\n style?: React.CSSProperties;\n loading?: boolean;\n loadingStyle?: React.CSSProperties;\n loadingSpace?: number;\n ghost?: boolean;\n /**\n * 镂空\n */\n hollow?: boolean;\n} & Omit<ButtonProps, \"type\" | \"size\">;\n\nconst XhButton: FC<XhButtonProps> = props => {\n const {\n disabled = false,\n type = \"default\",\n size = \"normal\",\n shape = \"round\",\n children,\n className,\n htmlType,\n formType,\n text,\n openType,\n lang,\n sessionFrom,\n sendMessageTitle,\n sendMessagePath,\n sendMessageImg,\n showMessageCard,\n appParameter,\n onGetUserInfo,\n onGetPhoneNumber,\n onOpenSetting,\n onError,\n onContact,\n onClick,\n preventTime = 2500,\n style,\n loading,\n loadingStyle,\n loadingSpace,\n ghost = false,\n hollow = false,\n } = props;\n const state = useTaroEnv();\n const [preventClick, setPreventClick] = useState(false);\n const timer = useRef<NodeJS.Timeout | undefined>();\n const classObj = classNames(\n \"xh-button\",\n {\n default: type === \"default\",\n primary: type === \"primary\",\n secondary: type === \"secondary\",\n ghost: ghost,\n hollow: hollow,\n warn: type === \"warn\",\n square: shape === \"square\",\n round: shape === \"round\",\n rectangle: shape === \"rectangle\",\n normal: size === \"normal\",\n small: size === \"mini\",\n full: size === \"full\",\n disabled: disabled,\n webutton: state === \"WEAPP\",\n },\n className\n );\n\n const handleClick: MouseEventHandler & TouchEventFunction = e => {\n state === \"WEB\" && e.nativeEvent.stopImmediatePropagation();\n e.preventDefault();\n\n if (preventClick && preventTime !== 0) {\n console.log(\"重复点击\");\n return;\n }\n if (preventTime !== 0) {\n timer.current = setTimeout(() => {\n setPreventClick(false);\n clearTimeout(timer.current);\n }, preventTime);\n }\n if (preventTime !== 0) setPreventClick(true);\n console.log(\"正常点击\");\n onClick && onClick(e);\n };\n\n useEffect(() => {\n return () => {\n clearTimeout(timer.current);\n };\n }, []);\n\n const weButton = (\n <Button\n className={classObj}\n formType={formType}\n openType={openType}\n lang={lang}\n type={type as ButtonProps[\"type\"]}\n sessionFrom={sessionFrom}\n sendMessageTitle={sendMessageTitle}\n sendMessagePath={sendMessagePath}\n sendMessageImg={sendMessageImg}\n showMessageCard={showMessageCard}\n appParameter={appParameter}\n onGetUserInfo={onGetUserInfo}\n onGetPhoneNumber={onGetPhoneNumber}\n onOpenSetting={onOpenSetting}\n onError={onError}\n onContact={onContact}\n onClick={handleClick}\n disabled={disabled}\n style={style}\n loading={loading}\n >\n {children}\n </Button>\n );\n\n if (state !== \"WEB\") {\n return weButton;\n }\n\n return (\n // eslint-disable-next-line react/button-has-type\n <button\n className={classObj}\n disabled={disabled}\n type={htmlType}\n onClick={disabled ? undefined : handleClick}\n style={style}\n >\n {children || text}\n {loading && <DotJump style={loadingStyle} space={loadingSpace} />}\n </button>\n );\n};\n\nexport default XhButton;\n"],"names":["XhButton","props","_a","disabled","_b","type","_c","size","_d","shape","children","className","htmlType","formType","text","openType","lang","sessionFrom","sendMessageTitle","sendMessagePath","sendMessageImg","showMessageCard","appParameter","onGetUserInfo","onGetPhoneNumber","onOpenSetting","onError","onContact","onClick","_e","preventTime","style","loading","loadingStyle","loadingSpace","_f","ghost","_g","hollow","state","useTaroEnv","_h","__read","useState","preventClick","setPreventClick","timer","useRef","classObj","classNames","default","primary","secondary","warn","square","round","rectangle","normal","small","full","webutton","handleClick","e","nativeEvent","stopImmediatePropagation","preventDefault","current","setTimeout","clearTimeout","useEffect","weButton","React","Button","createElement","undefined","DotJump","space"],"mappings":"gRA+CM,IAAAA,EAA8B,SAAAC,GAEhC,IAAAC,EA8BED,EAAKE,SA9BPA,OAAQ,IAAAD,GAAQA,EAChBE,EA6BEH,OA7BFI,aAAO,UAASD,EAChBE,EA4BEL,EA5BaM,KAAfA,OAAO,IAAAD,EAAA,WACPE,EA2BEP,EA3BaQ,MAAfA,OAAQ,IAAAD,EAAA,UACRE,EA0BET,EAAKS,SAzBPC,EAyBEV,EAAKU,UAxBPC,EAwBEX,EAxBMW,SACRC,EAuBEZ,EAvBMY,SACRC,EAsBEb,OArBFc,EAqBEd,EAAKc,SApBPC,EAoBEf,EAAKe,KAnBPC,EAmBEhB,EAnBSgB,YACXC,EAkBEjB,mBAjBFkB,EAiBElB,EAAKkB,gBAhBPC,EAgBEnB,EAAKmB,eAfPC,EAeEpB,EAfaoB,gBACfC,EAcErB,EAdUqB,aACZC,EAaEtB,gBAZFuB,EAYEvB,EAAKuB,iBAXPC,EAWExB,EAAKwB,cAVPC,EAUEzB,EAVKyB,QACPC,EASE1B,YARF2B,EAQE3B,EAAK2B,QAPPC,EAOE5B,EAPgB6B,YAAlBA,OAAc,IAAAD,EAAA,OACdE,EAME9B,EAAK8B,MALPC,EAKE/B,EALK+B,QACPC,EAIEhC,eAHFiC,EAGEjC,eAFFkC,EAEElC,EAFWmC,MAAbA,OAAQ,IAAAD,KACRE,EACEpC,EADYqC,OAAdA,OAAS,IAAAD,KAELE,EAAQC,IACRC,EAAAC,EAAkCC,GAAS,GAAM,GAAhDC,EAAYH,EAAA,GAAEI,OACfC,EAAQC,IACRC,EAAWC,EACf,YACA,CACEC,QAAkB,YAAT7C,EACT8C,QAAkB,YAAT9C,EACT+C,UAAoB,cAAT/C,EACX+B,MAAOA,EACPE,OAAQA,EACRe,KAAe,SAAThD,EACNiD,OAAkB,WAAV7C,EACR8C,MAAiB,UAAV9C,EACP+C,UAAqB,cAAV/C,EACXgD,OAAiB,WAATlD,EACRmD,MAAgB,SAATnD,EACPoD,KAAe,SAATpD,EACNJ,SAAUA,EACVyD,SAAoB,UAAVrB,GAEZ5B,GAGIkD,EAAsD,SAAAC,GAChD,QAAVvB,GAAmBuB,EAAEC,YAAYC,2BACjCF,EAAEG,iBAEErB,GAAgC,IAAhBd,IAIA,IAAhBA,IACFgB,EAAMoB,QAAUC,YAAW,WACzBtB,GAAgB,GAChBuB,aAAatB,EAAMoB,QACpB,GAAEpC,IAEe,IAAhBA,GAAmBe,GAAgB,GAEvCjB,GAAWA,EAAQkC,GACrB,EAEAO,GAAU,WACR,OAAO,WACLD,aAAatB,EAAMoB,QACrB,CACD,GAAE,IAEH,IAAMI,GACJC,gBAACC,EAAM,CACL7D,UAAWqC,EACXnC,SAAUA,EACVE,SAAUA,EACVC,KAAMA,EACNX,KAAMA,EACNY,YAAaA,EACbC,iBAAkBA,EAClBC,gBAAiBA,EACjBC,eAAgBA,EAChBC,gBAAiBA,EACjBC,aAAcA,EACdC,cAAeA,EACfC,iBAAkBA,EAClBC,cAAeA,EACfC,QAASA,EACTC,UAAWA,EACXC,QAASiC,EACT1D,SAAUA,EACV4B,MAAOA,EACPC,QAASA,GAERtB,GAIL,MAAc,QAAV6B,EACK+B,GAKPC,EACEE,cAAA,SAAA,CAAA9D,UAAWqC,EACX7C,SAAUA,EACVE,KAAMO,EACNgB,QAASzB,OAAWuE,EAAYb,EAChC9B,MAAOA,GAENrB,GAAYI,EACZkB,GAAWuC,EAAAE,cAACE,EAAO,CAAC5C,MAAOE,EAAc2C,MAAO1C,IAGvD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{View as l,Text as a}from"@tarojs/components";import c from"classnames";var t=function(t){var o=t.icon,n=t.value,r=t.extraIcon,s=t.arrow,i=t.border,m=void 0===i||i,d=t.paddingHorizontal,p=void 0===d||d,u=t.onClick,v=t.className,h=t.outline,x=void 0===h||h,E=t.descriptionColor,N=void 0===E?"":E,f=t.valueColor,b=t.ellipsis,y=void 0===b||b,C=t.content,g=t.contentDescription,k=t.description,w=t.subDescription,z=t.secondary,D=t.alignItems,H=void 0===D?o?"start":"center":D,I=t.placeholder,j=void 0===I?"":I,q=c("xh-cell",{border:m},{secondary:z},{outline:x},{paddingHorizontal:p},H,v),A=c("xh-cell-main",{ellipsis:y});return e.createElement(l,{className:q,onClick:function(e){u&&u(e)}},o&&e.createElement(l,{className:"xh-cell-icon"},o),e.createElement(l,{className:A},C&&e.createElement(l,{className:"xh-cell-main-content"},C),g&&e.createElement(l,{className:"xh-cell-main-description"},g)),e.createElement(l,{className:"xh-cell-description",style:{color:N}},k?e.createElement(l,null,k):e.createElement(l,{className:"xh-cell-description-placeholder"},j),e.createElement(a,{className:"xh-cell-description-sub"},w)),e.createElement(l,{className:"xh-cell-value"},e.createElement(l,{className:"xh-cell-value-info",style:{color:f}},n),e.createElement(l,{className:"xh-cell-value-icon"},r||s&&e.createElement(l,{className:"xh-cell-value-icon-arrow"}))))};export{t as default};
|
|
1
|
+
import e from"react";import{View as l,Text as a}from"@tarojs/components";import c from"classnames";var t=function(t){var o=t.icon,n=t.value,r=t.extraIcon,s=t.arrow,i=t.border,m=void 0===i||i,d=t.paddingHorizontal,p=void 0===d||d,u=t.onClick,v=t.className,h=t.outline,x=void 0===h||h,E=t.descriptionColor,N=void 0===E?"":E,f=t.valueColor,b=t.ellipsis,y=void 0===b||b,C=t.content,g=t.contentDescription,k=t.description,w=t.subDescription,z=t.secondary,D=t.alignItems,H=void 0===D?o?"start":"center":D,I=t.placeholder,j=void 0===I?"":I,q=c("xh-cell",{border:m},{secondary:z},{outline:x},{paddingHorizontal:p},H,v),A=c("xh-cell-main",{ellipsis:y});return e.createElement(l,{className:q,onClick:function(e){u&&u(e)}},o&&e.createElement(l,{className:"xh-cell-icon"},o),e.createElement(l,{className:A},C&&e.createElement(l,{className:"xh-cell-main-content"},C),g&&e.createElement(l,{className:"xh-cell-main-description"},g)),e.createElement(l,{className:"xh-cell-description",style:{color:N}},k?e.createElement(l,null,k):e.createElement(l,{className:"xh-cell-description-placeholder"},j),e.createElement(a,{className:"xh-cell-description-sub"},w)),e.createElement(l,{className:"xh-cell-value"},e.createElement(l,{className:c("xh-cell-value-info",{ellipsis:y}),style:{color:f}},n),e.createElement(l,{className:"xh-cell-value-icon"},r||s&&e.createElement(l,{className:"xh-cell-value-icon-arrow"}))))};export{t as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|