sard-uniapp 1.13.1 → 1.13.3
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 +80 -62
- package/README.md +1 -1
- package/components/progress-bar/index.scss +2 -2
- package/components/tab/tab.vue +3 -3
- package/components/tabs/common.d.ts +1 -1
- package/components/tabs/tabs.vue +5 -3
- package/package.json +28 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
|
+
## [1.13.3](https://github.com/sutras/sard-uniapp/compare/v1.13.2...v1.13.3) (2025-05-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 修复tabs组件初始触发change事件问题 ([f9a408b](https://github.com/sutras/sard-uniapp/commit/f9a408b77cd83dbe62498145daf197b958886c0d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.13.2](https://github.com/sutras/sard-uniapp/compare/v1.13.1...v1.13.2) (2025-05-06)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 修复progress-bar inside 时显示问题 ([1e633ed](https://github.com/sutras/sard-uniapp/commit/1e633ed67b41558a122675bc9f35aeda76ecb569))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.13.1](https://github.com/sutras/sard-uniapp/compare/v1.13.0...v1.13.1) (2025-05-01)
|
|
2
20
|
|
|
3
21
|
|
|
4
22
|
### Bug Fixes
|
|
5
23
|
|
|
6
|
-
* 修复notify显示问题 ([
|
|
24
|
+
* 修复notify显示问题 ([30d3f36](https://github.com/sutras/sard-uniapp/commit/30d3f36c2a9ca31fb2c9103b7195ccdf79bcbbb4))
|
|
7
25
|
|
|
8
26
|
|
|
9
27
|
|
|
@@ -12,9 +30,9 @@
|
|
|
12
30
|
|
|
13
31
|
### Features
|
|
14
32
|
|
|
15
|
-
* button 组件新增 icon 功能 ([
|
|
16
|
-
* 新增 divider 组件 ([
|
|
17
|
-
* 新增 FloatingPanel 组件 ([
|
|
33
|
+
* button 组件新增 icon 功能 ([ff69d30](https://github.com/sutras/sard-uniapp/commit/ff69d302b76c897acc4b639ed82708c6b45a00f1))
|
|
34
|
+
* 新增 divider 组件 ([410fe89](https://github.com/sutras/sard-uniapp/commit/410fe895d91a0e811ea9631bb17059fdb10d44b0))
|
|
35
|
+
* 新增 FloatingPanel 组件 ([ddb6561](https://github.com/sutras/sard-uniapp/commit/ddb6561ef72cc279a00b890703693298a20086f1))
|
|
18
36
|
|
|
19
37
|
|
|
20
38
|
|
|
@@ -23,7 +41,7 @@
|
|
|
23
41
|
|
|
24
42
|
### Bug Fixes
|
|
25
43
|
|
|
26
|
-
* 修复 table 组件 sass 导入问题 ([
|
|
44
|
+
* 修复 table 组件 sass 导入问题 ([238257e](https://github.com/sutras/sard-uniapp/commit/238257e1f7bf69c93e62688ebc7e11e8e1553e94))
|
|
27
45
|
|
|
28
46
|
|
|
29
47
|
|
|
@@ -32,7 +50,7 @@
|
|
|
32
50
|
|
|
33
51
|
### Features
|
|
34
52
|
|
|
35
|
-
* tabbar-item 组件 icon 插槽新增 active 属性 ([
|
|
53
|
+
* tabbar-item 组件 icon 插槽新增 active 属性 ([4ccd9cc](https://github.com/sutras/sard-uniapp/commit/4ccd9cce425b57e434943cc410a47e4d12c78d6e))
|
|
36
54
|
|
|
37
55
|
|
|
38
56
|
|
|
@@ -41,7 +59,7 @@
|
|
|
41
59
|
|
|
42
60
|
### Features
|
|
43
61
|
|
|
44
|
-
* card 组件新增点击态 ([
|
|
62
|
+
* card 组件新增点击态 ([0eef48e](https://github.com/sutras/sard-uniapp/commit/0eef48e9be15f12f43bc3b28c85ef86d0684c3e1))
|
|
45
63
|
|
|
46
64
|
|
|
47
65
|
|
|
@@ -50,7 +68,7 @@
|
|
|
50
68
|
|
|
51
69
|
### Features
|
|
52
70
|
|
|
53
|
-
* tabs 等组件新增 change 事件, card 新增 click 事件 ([
|
|
71
|
+
* tabs 等组件新增 change 事件, card 新增 click 事件 ([20fa21c](https://github.com/sutras/sard-uniapp/commit/20fa21c6b8de0992959befe2971708743c9f3d01))
|
|
54
72
|
|
|
55
73
|
|
|
56
74
|
|
|
@@ -59,7 +77,7 @@
|
|
|
59
77
|
|
|
60
78
|
### Bug Fixes
|
|
61
79
|
|
|
62
|
-
* 移除 crop-image 组件 toast 提示,新增button组件 inline 属性 ([
|
|
80
|
+
* 移除 crop-image 组件 toast 提示,新增button组件 inline 属性 ([64e6474](https://github.com/sutras/sard-uniapp/commit/64e6474ca99b75cc95e99dfdd0d0ef91cac95322))
|
|
63
81
|
|
|
64
82
|
|
|
65
83
|
|
|
@@ -68,23 +86,23 @@
|
|
|
68
86
|
|
|
69
87
|
### Bug Fixes
|
|
70
88
|
|
|
71
|
-
* **cascader:** 允许空字符串作为未选择初始值 ([
|
|
72
|
-
* 修复 table 组件右边固定阴影显示问题 ([
|
|
73
|
-
* 修复cascader在支付宝端的展示问题 ([
|
|
74
|
-
* 修复因uniapp会修改元素id导致获取不到元素的问题 ([
|
|
89
|
+
* **cascader:** 允许空字符串作为未选择初始值 ([428b3c5](https://github.com/sutras/sard-uniapp/commit/428b3c58bb08fad50dc0e235757e480372ea9ffa))
|
|
90
|
+
* 修复 table 组件右边固定阴影显示问题 ([c6f0e88](https://github.com/sutras/sard-uniapp/commit/c6f0e887fdb5028d4f252790b01845e6be6dd59d))
|
|
91
|
+
* 修复cascader在支付宝端的展示问题 ([3e713ac](https://github.com/sutras/sard-uniapp/commit/3e713ac2d2399e3e998a87cc2541b73c9137c836))
|
|
92
|
+
* 修复因uniapp会修改元素id导致获取不到元素的问题 ([45b8070](https://github.com/sutras/sard-uniapp/commit/45b80701b829ddd1aa00f0dcbb031da6eab01742))
|
|
75
93
|
|
|
76
94
|
|
|
77
95
|
### Features
|
|
78
96
|
|
|
79
|
-
* button 组件新增 block 属性 ([
|
|
80
|
-
* grid 组件新增 badge 相关属性 ([
|
|
81
|
-
* navbar组件新增属性,修改样式 ([
|
|
82
|
-
* 新增 crop-image 组件 ([
|
|
83
|
-
* 新增 ScrollSpy 组件 ([
|
|
84
|
-
* 新增 Sidebar 组件 ([
|
|
85
|
-
* 新增 signature 组件 ([
|
|
86
|
-
* 新增 status-bar 组件 ([
|
|
87
|
-
* 新增 zIndex 全局配置 ([
|
|
97
|
+
* button 组件新增 block 属性 ([6b59144](https://github.com/sutras/sard-uniapp/commit/6b59144df3b15a12f9d4d19c711070a7f6d823a7))
|
|
98
|
+
* grid 组件新增 badge 相关属性 ([4f697a3](https://github.com/sutras/sard-uniapp/commit/4f697a39debe00d14397c3a6db56bf1d661a101e))
|
|
99
|
+
* navbar组件新增属性,修改样式 ([e6039b4](https://github.com/sutras/sard-uniapp/commit/e6039b4b1835a4062c9ce0a173e4666a8eb4fcc6))
|
|
100
|
+
* 新增 crop-image 组件 ([9bd948a](https://github.com/sutras/sard-uniapp/commit/9bd948a8dafce3d3d3c11200e4cbba3d5c19466c))
|
|
101
|
+
* 新增 ScrollSpy 组件 ([cefa8b4](https://github.com/sutras/sard-uniapp/commit/cefa8b429b2be108ef01f2dbf7edfafe90203dc0))
|
|
102
|
+
* 新增 Sidebar 组件 ([608ec0d](https://github.com/sutras/sard-uniapp/commit/608ec0da2f48e537d40b3c098880ebbba8ac2e2b))
|
|
103
|
+
* 新增 signature 组件 ([f75489d](https://github.com/sutras/sard-uniapp/commit/f75489d835c502f97218935a6f26f54f05ba6b0a))
|
|
104
|
+
* 新增 status-bar 组件 ([e005b0c](https://github.com/sutras/sard-uniapp/commit/e005b0c1a5d7ec1725a47d5f21f24b0652d27de9))
|
|
105
|
+
* 新增 zIndex 全局配置 ([7945ae9](https://github.com/sutras/sard-uniapp/commit/7945ae93a0f83be4cf9a090584e2235a58401f05))
|
|
88
106
|
|
|
89
107
|
|
|
90
108
|
|
|
@@ -93,7 +111,7 @@
|
|
|
93
111
|
|
|
94
112
|
### Bug Fixes
|
|
95
113
|
|
|
96
|
-
* 修复tree组件递归引用问题 ([
|
|
114
|
+
* 修复tree组件递归引用问题 ([0a789c6](https://github.com/sutras/sard-uniapp/commit/0a789c612bb6038d23e95bb3dbc154a4be1dc808))
|
|
97
115
|
|
|
98
116
|
|
|
99
117
|
|
|
@@ -102,7 +120,7 @@
|
|
|
102
120
|
|
|
103
121
|
### Bug Fixes
|
|
104
122
|
|
|
105
|
-
* 修复日期时间选择器min, max联动问题 ([
|
|
123
|
+
* 修复日期时间选择器min, max联动问题 ([fd6c351](https://github.com/sutras/sard-uniapp/commit/fd6c3511154ae736c471013d68f8addc74d06d2f))
|
|
106
124
|
|
|
107
125
|
|
|
108
126
|
|
|
@@ -111,12 +129,12 @@
|
|
|
111
129
|
|
|
112
130
|
### Bug Fixes
|
|
113
131
|
|
|
114
|
-
* **datetime-picker:** 修改min, max属性后更新列数据 ([
|
|
132
|
+
* **datetime-picker:** 修改min, max属性后更新列数据 ([9b6b3f4](https://github.com/sutras/sard-uniapp/commit/9b6b3f4316028cd6453ce9a8b126d01e5d8473f8))
|
|
115
133
|
|
|
116
134
|
|
|
117
135
|
### Features
|
|
118
136
|
|
|
119
|
-
* 新增 DatetimeRangePicker 和 DatetimeRangePickerInput 组件 ([
|
|
137
|
+
* 新增 DatetimeRangePicker 和 DatetimeRangePickerInput 组件 ([8b3d6ee](https://github.com/sutras/sard-uniapp/commit/8b3d6ee7e844ebbe78f3b7232bc7a7e9ace27ecd))
|
|
120
138
|
|
|
121
139
|
|
|
122
140
|
|
|
@@ -125,7 +143,7 @@
|
|
|
125
143
|
|
|
126
144
|
### Bug Fixes
|
|
127
145
|
|
|
128
|
-
* 使用 [@import](https://github.com/import) 导入scss, 兼容mp-alipay ([
|
|
146
|
+
* 使用 [@import](https://github.com/import) 导入scss, 兼容mp-alipay ([3e1b7b6](https://github.com/sutras/sard-uniapp/commit/3e1b7b69ed73f1b3421b2082bd25ed8df1f98a49))
|
|
129
147
|
|
|
130
148
|
|
|
131
149
|
|
|
@@ -134,8 +152,8 @@
|
|
|
134
152
|
|
|
135
153
|
### Bug Fixes
|
|
136
154
|
|
|
137
|
-
* 修复 cascader, cascader-input 组件 ([
|
|
138
|
-
* 确保 DatetimePickerInput value 格式化, 移除sass警告 ([
|
|
155
|
+
* 修复 cascader, cascader-input 组件 ([1ac846d](https://github.com/sutras/sard-uniapp/commit/1ac846d66bc91b5b7ed6bb5144e41b5e5082b58e))
|
|
156
|
+
* 确保 DatetimePickerInput value 格式化, 移除sass警告 ([0ded8f9](https://github.com/sutras/sard-uniapp/commit/0ded8f9e33a176ddd5f0f2c5dbd90a2c79dfc163))
|
|
139
157
|
|
|
140
158
|
|
|
141
159
|
|
|
@@ -144,7 +162,7 @@
|
|
|
144
162
|
|
|
145
163
|
### Bug Fixes
|
|
146
164
|
|
|
147
|
-
* 修复全局配置问题 ([
|
|
165
|
+
* 修复全局配置问题 ([b05a52e](https://github.com/sutras/sard-uniapp/commit/b05a52e80e2fa14a4851c3fddfb64506f04325a7))
|
|
148
166
|
|
|
149
167
|
|
|
150
168
|
|
|
@@ -153,7 +171,7 @@
|
|
|
153
171
|
|
|
154
172
|
### Features
|
|
155
173
|
|
|
156
|
-
* 新增 Space 组件, 新增 Dialog 组件的按钮配置, 新增 valueFormat 属性, 修复已知问题 ([
|
|
174
|
+
* 新增 Space 组件, 新增 Dialog 组件的按钮配置, 新增 valueFormat 属性, 修复已知问题 ([69825ef](https://github.com/sutras/sard-uniapp/commit/69825efbc99a2767acb314fb8763f7f015d3ee3b))
|
|
157
175
|
|
|
158
176
|
|
|
159
177
|
|
|
@@ -162,7 +180,7 @@
|
|
|
162
180
|
|
|
163
181
|
### Features
|
|
164
182
|
|
|
165
|
-
* 表单组件新增change事件 ([
|
|
183
|
+
* 表单组件新增change事件 ([cc56e51](https://github.com/sutras/sard-uniapp/commit/cc56e5121e825e65ee573291ed07df18ad9d2d49))
|
|
166
184
|
|
|
167
185
|
|
|
168
186
|
|
|
@@ -171,7 +189,7 @@
|
|
|
171
189
|
|
|
172
190
|
### Bug Fixes
|
|
173
191
|
|
|
174
|
-
* 修复qrcode 在app端报错的问题 ([
|
|
192
|
+
* 修复qrcode 在app端报错的问题 ([486a95f](https://github.com/sutras/sard-uniapp/commit/486a95fb0fa14acdb3df96958216dbca84d148c4))
|
|
175
193
|
|
|
176
194
|
|
|
177
195
|
|
|
@@ -180,7 +198,7 @@
|
|
|
180
198
|
|
|
181
199
|
### Features
|
|
182
200
|
|
|
183
|
-
* 新增表格组件 ([
|
|
201
|
+
* 新增表格组件 ([6649af4](https://github.com/sutras/sard-uniapp/commit/6649af4096b07d8b77d6fcd1f70abe8562cacd8b))
|
|
184
202
|
|
|
185
203
|
|
|
186
204
|
|
|
@@ -189,7 +207,7 @@
|
|
|
189
207
|
|
|
190
208
|
### Bug Fixes
|
|
191
209
|
|
|
192
|
-
* **PopoutInput:** 只读时隐藏箭头 ([
|
|
210
|
+
* **PopoutInput:** 只读时隐藏箭头 ([28f29ac](https://github.com/sutras/sard-uniapp/commit/28f29ac4274f8d74e0f61bf62f04fcc1d8b4f64d))
|
|
193
211
|
|
|
194
212
|
|
|
195
213
|
|
|
@@ -198,7 +216,7 @@
|
|
|
198
216
|
|
|
199
217
|
### Bug Fixes
|
|
200
218
|
|
|
201
|
-
* 修复局部导入组件未注册问题 ([
|
|
219
|
+
* 修复局部导入组件未注册问题 ([225ff82](https://github.com/sutras/sard-uniapp/commit/225ff82510cd0c41fe932d0207bcfa2e824e9478))
|
|
202
220
|
|
|
203
221
|
|
|
204
222
|
|
|
@@ -207,7 +225,7 @@
|
|
|
207
225
|
|
|
208
226
|
### Features
|
|
209
227
|
|
|
210
|
-
* 按钮添加小程序能力 ([
|
|
228
|
+
* 按钮添加小程序能力 ([a887361](https://github.com/sutras/sard-uniapp/commit/a887361fd35e758b271f23c3ad6a6d0404b19969))
|
|
211
229
|
|
|
212
230
|
|
|
213
231
|
|
|
@@ -216,7 +234,7 @@
|
|
|
216
234
|
|
|
217
235
|
### Bug Fixes
|
|
218
236
|
|
|
219
|
-
* 修复 input 获取焦点时的光标位置 ([
|
|
237
|
+
* 修复 input 获取焦点时的光标位置 ([820f248](https://github.com/sutras/sard-uniapp/commit/820f24898f47ff99c414d39f10ab5b9fcf05678b))
|
|
220
238
|
|
|
221
239
|
|
|
222
240
|
|
|
@@ -225,7 +243,7 @@
|
|
|
225
243
|
|
|
226
244
|
### Features
|
|
227
245
|
|
|
228
|
-
* 新增全局配置 ([
|
|
246
|
+
* 新增全局配置 ([dbc6444](https://github.com/sutras/sard-uniapp/commit/dbc64443ec9528cc039be6631be927fc30592967))
|
|
229
247
|
|
|
230
248
|
|
|
231
249
|
|
|
@@ -234,8 +252,8 @@
|
|
|
234
252
|
|
|
235
253
|
### Bug Fixes
|
|
236
254
|
|
|
237
|
-
* count-down stop timer before unmount ([
|
|
238
|
-
* fix type of 'confirm-hold' in sard-input ([
|
|
255
|
+
* count-down stop timer before unmount ([5a0feb2](https://github.com/sutras/sard-uniapp/commit/5a0feb243384bd21022f930412161af36bd58ae1))
|
|
256
|
+
* fix type of 'confirm-hold' in sard-input ([fd6209d](https://github.com/sutras/sard-uniapp/commit/fd6209d31a75a72d60c04cb7da927ca36b211594))
|
|
239
257
|
|
|
240
258
|
|
|
241
259
|
|
|
@@ -244,7 +262,7 @@
|
|
|
244
262
|
|
|
245
263
|
### Features
|
|
246
264
|
|
|
247
|
-
* 新增Tree, Timeline, BackTop 组件 close [#36](https://github.com/sutras/sard-uniapp/issues/36), close [#41](https://github.com/sutras/sard-uniapp/issues/41), close 43 ([
|
|
265
|
+
* 新增Tree, Timeline, BackTop 组件 close [#36](https://github.com/sutras/sard-uniapp/issues/36), close [#41](https://github.com/sutras/sard-uniapp/issues/41), close 43 ([f0a0504](https://github.com/sutras/sard-uniapp/commit/f0a0504f03a8eac84f926e2e01a61bc31de59057))
|
|
248
266
|
|
|
249
267
|
|
|
250
268
|
|
|
@@ -253,7 +271,7 @@
|
|
|
253
271
|
|
|
254
272
|
### Features
|
|
255
273
|
|
|
256
|
-
* 新增Fab, FloatingBubble 组件, 优化构建流程 close [#39](https://github.com/sutras/sard-uniapp/issues/39) ([
|
|
274
|
+
* 新增Fab, FloatingBubble 组件, 优化构建流程 close [#39](https://github.com/sutras/sard-uniapp/issues/39) ([fe28b0a](https://github.com/sutras/sard-uniapp/commit/fe28b0aeb3a60f8b4d3f74a7d16ceb0fb4ccf295))
|
|
257
275
|
|
|
258
276
|
|
|
259
277
|
|
|
@@ -262,7 +280,7 @@
|
|
|
262
280
|
|
|
263
281
|
### Features
|
|
264
282
|
|
|
265
|
-
* search组件新增clear, focus, blur事件 ([
|
|
283
|
+
* search组件新增clear, focus, blur事件 ([5c4f9fe](https://github.com/sutras/sard-uniapp/commit/5c4f9febfc320acc38147e37779e964825f88692))
|
|
266
284
|
|
|
267
285
|
|
|
268
286
|
|
|
@@ -271,7 +289,7 @@
|
|
|
271
289
|
|
|
272
290
|
### Features
|
|
273
291
|
|
|
274
|
-
* add qrcode ([
|
|
292
|
+
* add qrcode ([4c74b1e](https://github.com/sutras/sard-uniapp/commit/4c74b1e6c0618178699d78b7b39c6a66ac2ecce4))
|
|
275
293
|
|
|
276
294
|
|
|
277
295
|
|
|
@@ -280,7 +298,7 @@
|
|
|
280
298
|
|
|
281
299
|
### Features
|
|
282
300
|
|
|
283
|
-
* 新增radio-input, checkbox-input, alert组件 ([
|
|
301
|
+
* 新增radio-input, checkbox-input, alert组件 ([4d2198e](https://github.com/sutras/sard-uniapp/commit/4d2198ec97915630d025ed820fcedc5978e1748d))
|
|
284
302
|
|
|
285
303
|
|
|
286
304
|
|
|
@@ -289,8 +307,8 @@
|
|
|
289
307
|
|
|
290
308
|
### Bug Fixes
|
|
291
309
|
|
|
292
|
-
* lwa copy ([
|
|
293
|
-
* 修复pnpm非扁平化依赖包下lwa依赖问题 close [#32](https://github.com/sutras/sard-uniapp/issues/32) ([
|
|
310
|
+
* lwa copy ([d2ecc78](https://github.com/sutras/sard-uniapp/commit/d2ecc788d364440f3a2b396b6222f7df96e40fa0))
|
|
311
|
+
* 修复pnpm非扁平化依赖包下lwa依赖问题 close [#32](https://github.com/sutras/sard-uniapp/issues/32) ([904e6bd](https://github.com/sutras/sard-uniapp/commit/904e6bd15fc8d6a8fe6b329f26509cbbdc975700))
|
|
294
312
|
|
|
295
313
|
|
|
296
314
|
|
|
@@ -299,7 +317,7 @@
|
|
|
299
317
|
|
|
300
318
|
### Features
|
|
301
319
|
|
|
302
|
-
* 新增Marquee, LuckyDraw, CountTo组件 ([
|
|
320
|
+
* 新增Marquee, LuckyDraw, CountTo组件 ([ce825ae](https://github.com/sutras/sard-uniapp/commit/ce825ae7cac423c75bcc036bf59916af5bd1ed8b))
|
|
303
321
|
|
|
304
322
|
|
|
305
323
|
|
|
@@ -308,7 +326,7 @@
|
|
|
308
326
|
|
|
309
327
|
### Bug Fixes
|
|
310
328
|
|
|
311
|
-
* 修复表单内组件的禁用和只读问题 close [#27](https://github.com/sutras/sard-uniapp/issues/27) ([
|
|
329
|
+
* 修复表单内组件的禁用和只读问题 close [#27](https://github.com/sutras/sard-uniapp/issues/27) ([733f010](https://github.com/sutras/sard-uniapp/commit/733f010348cfb48e4d0c9470c7b9d977f082809c))
|
|
312
330
|
|
|
313
331
|
|
|
314
332
|
|
|
@@ -317,7 +335,7 @@
|
|
|
317
335
|
|
|
318
336
|
### Bug Fixes
|
|
319
337
|
|
|
320
|
-
* 修复 notify 组件显示问题、优化文档 ([
|
|
338
|
+
* 修复 notify 组件显示问题、优化文档 ([34f09a6](https://github.com/sutras/sard-uniapp/commit/34f09a662ebceb1f610eb658a9b2089ee31290f7))
|
|
321
339
|
|
|
322
340
|
|
|
323
341
|
|
|
@@ -326,7 +344,7 @@
|
|
|
326
344
|
|
|
327
345
|
### Bug Fixes
|
|
328
346
|
|
|
329
|
-
* 修复toast&dialog不显示问题 ([
|
|
347
|
+
* 修复toast&dialog不显示问题 ([37255c5](https://github.com/sutras/sard-uniapp/commit/37255c5994e5416b41997f7b336ec13593fafdb7))
|
|
330
348
|
|
|
331
349
|
|
|
332
350
|
|
|
@@ -335,7 +353,7 @@
|
|
|
335
353
|
|
|
336
354
|
### Bug Fixes
|
|
337
355
|
|
|
338
|
-
* 修复input组件字数统计, dialog&toast组件不能显示的问题 close [#26](https://github.com/sutras/sard-uniapp/issues/26),[#24](https://github.com/sutras/sard-uniapp/issues/24) ([
|
|
356
|
+
* 修复input组件字数统计, dialog&toast组件不能显示的问题 close [#26](https://github.com/sutras/sard-uniapp/issues/26),[#24](https://github.com/sutras/sard-uniapp/issues/24) ([fb31059](https://github.com/sutras/sard-uniapp/commit/fb31059cb4937cc4d2e47433905d485a38db92c4))
|
|
339
357
|
|
|
340
358
|
|
|
341
359
|
|
|
@@ -344,7 +362,7 @@
|
|
|
344
362
|
|
|
345
363
|
### Bug Fixes
|
|
346
364
|
|
|
347
|
-
* 修复下拉刷新组件有时不触发的问题 close [#18](https://github.com/sutras/sard-uniapp/issues/18) ([
|
|
365
|
+
* 修复下拉刷新组件有时不触发的问题 close [#18](https://github.com/sutras/sard-uniapp/issues/18) ([5ec5044](https://github.com/sutras/sard-uniapp/commit/5ec5044ffd58238651d380cb7d4debeea3bf6d80))
|
|
348
366
|
|
|
349
367
|
|
|
350
368
|
|
|
@@ -353,7 +371,7 @@
|
|
|
353
371
|
|
|
354
372
|
### Bug Fixes
|
|
355
373
|
|
|
356
|
-
* 移除属性选择器 close [#23](https://github.com/sutras/sard-uniapp/issues/23) ([
|
|
374
|
+
* 移除属性选择器 close [#23](https://github.com/sutras/sard-uniapp/issues/23) ([b3c0450](https://github.com/sutras/sard-uniapp/commit/b3c045022188366be5552bc84170dba2a432fd56))
|
|
357
375
|
|
|
358
376
|
|
|
359
377
|
|
|
@@ -362,8 +380,8 @@
|
|
|
362
380
|
|
|
363
381
|
### Bug Fixes
|
|
364
382
|
|
|
365
|
-
* 修复upload-preview的image在h5环境下,没有宽度导致图片显示不全 ([
|
|
366
|
-
* 修复upload组件图片预览问题 ([
|
|
383
|
+
* 修复upload-preview的image在h5环境下,没有宽度导致图片显示不全 ([71383d3](https://github.com/sutras/sard-uniapp/commit/71383d3cd338796aa9118613e993fa89f20e9897))
|
|
384
|
+
* 修复upload组件图片预览问题 ([0552838](https://github.com/sutras/sard-uniapp/commit/0552838b427bdc58c82ae21cb70e73b7cc9b743c))
|
|
367
385
|
|
|
368
386
|
|
|
369
387
|
|
|
@@ -372,7 +390,7 @@
|
|
|
372
390
|
|
|
373
391
|
### Bug Fixes
|
|
374
392
|
|
|
375
|
-
* 修复input组件字数统计问题 close [#19](https://github.com/sutras/sard-uniapp/issues/19) ([
|
|
393
|
+
* 修复input组件字数统计问题 close [#19](https://github.com/sutras/sard-uniapp/issues/19) ([4a63701](https://github.com/sutras/sard-uniapp/commit/4a63701223abe8aee49efbbf9212ec8ce8358dae))
|
|
376
394
|
|
|
377
395
|
|
|
378
396
|
|
|
@@ -385,7 +403,7 @@
|
|
|
385
403
|
|
|
386
404
|
### Features
|
|
387
405
|
|
|
388
|
-
* 新增load-more组件, stepper组件新增size属性 ([
|
|
406
|
+
* 新增load-more组件, stepper组件新增size属性 ([d8184c7](https://github.com/sutras/sard-uniapp/commit/d8184c7cc3ad7eb98b86511d3b1ec5b1cd1f3453))
|
|
389
407
|
|
|
390
408
|
|
|
391
409
|
|
|
@@ -394,7 +412,7 @@
|
|
|
394
412
|
|
|
395
413
|
### Features
|
|
396
414
|
|
|
397
|
-
* 新增pull-down-refresh组件, slider组件新增时间, 重构loading组件, 其他优化 ([
|
|
415
|
+
* 新增pull-down-refresh组件, slider组件新增时间, 重构loading组件, 其他优化 ([c6dc6e4](https://github.com/sutras/sard-uniapp/commit/c6dc6e41c49a84e85310d64efd1889cd9a18aa0a))
|
|
398
416
|
|
|
399
417
|
|
|
400
418
|
|
|
@@ -403,7 +421,7 @@
|
|
|
403
421
|
|
|
404
422
|
### Bug Fixes
|
|
405
423
|
|
|
406
|
-
* 修复打包组件缺少文件的问题 ([
|
|
424
|
+
* 修复打包组件缺少文件的问题 ([915a6af](https://github.com/sutras/sard-uniapp/commit/915a6af9619a0c5fdafb8477bc96fd71ceabd512))
|
|
407
425
|
|
|
408
426
|
|
|
409
427
|
|
|
@@ -412,7 +430,7 @@
|
|
|
412
430
|
|
|
413
431
|
### Bug Fixes
|
|
414
432
|
|
|
415
|
-
* **sard-uniapp:** 修复打包缺少tag组件的bug ([
|
|
433
|
+
* **sard-uniapp:** 修复打包缺少tag组件的bug ([663ffde](https://github.com/sutras/sard-uniapp/commit/663ffdeb7b5cbdc527ee89e503cf1787a7ff2097))
|
|
416
434
|
|
|
417
435
|
|
|
418
436
|
|
package/README.md
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
@include universal;
|
|
21
21
|
flex-direction: row;
|
|
22
22
|
align-items: center;
|
|
23
|
-
justify-content: flex-end;
|
|
24
23
|
height: 100%;
|
|
25
24
|
border-radius: var(--sar-progress-bar-border-radius);
|
|
26
25
|
font-size: var(--sar-progress-bar-piece-font-size);
|
|
@@ -47,7 +46,8 @@
|
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
@include e(text) {
|
|
50
|
-
margin-left:
|
|
49
|
+
margin-left: auto;
|
|
50
|
+
padding-left: var(--sar-progress-bar-text-margin-left);
|
|
51
51
|
margin-right: var(--sar-progress-bar-text-margin-right);
|
|
52
52
|
font-size: var(--sar-progress-bar-inside-text-font-size);
|
|
53
53
|
}
|
package/components/tab/tab.vue
CHANGED
|
@@ -54,8 +54,8 @@ export default _defineComponent({
|
|
|
54
54
|
const getRect = () => {
|
|
55
55
|
return getBoundingClientRect(`.${tabId}`, instance);
|
|
56
56
|
};
|
|
57
|
-
const select = () => {
|
|
58
|
-
context.select(props.name);
|
|
57
|
+
const select = (initial) => {
|
|
58
|
+
context.select(props.name, initial);
|
|
59
59
|
};
|
|
60
60
|
const onClick = (event) => {
|
|
61
61
|
emit("click", event);
|
|
@@ -69,7 +69,7 @@ export default _defineComponent({
|
|
|
69
69
|
});
|
|
70
70
|
if (isCurrent.value) {
|
|
71
71
|
nextTick(() => {
|
|
72
|
-
select();
|
|
72
|
+
select(true);
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
});
|
|
@@ -40,7 +40,7 @@ export interface TabEmits {
|
|
|
40
40
|
}
|
|
41
41
|
export interface TabContext {
|
|
42
42
|
current: any;
|
|
43
|
-
select: (name: string | number,
|
|
43
|
+
select: (name: string | number, initial?: boolean) => void;
|
|
44
44
|
register: (name: string | number, expose: {
|
|
45
45
|
getRect: () => Promise<NodeRect>;
|
|
46
46
|
}) => void;
|
package/components/tabs/tabs.vue
CHANGED
|
@@ -146,11 +146,13 @@ export default _defineComponent({
|
|
|
146
146
|
unregister(name) {
|
|
147
147
|
delete tabMap[name];
|
|
148
148
|
},
|
|
149
|
-
select(name) {
|
|
149
|
+
select(name, initial) {
|
|
150
150
|
innerCurrent.value = name;
|
|
151
|
-
emit("update:current", name);
|
|
152
|
-
emit("change", name);
|
|
153
151
|
scrollToTabQueue.value = name;
|
|
152
|
+
if (!initial) {
|
|
153
|
+
emit("update:current", name);
|
|
154
|
+
emit("change", name);
|
|
155
|
+
}
|
|
154
156
|
}
|
|
155
157
|
})
|
|
156
158
|
);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sard-uniapp",
|
|
3
3
|
"name": "sard-uniapp",
|
|
4
4
|
"displayName": "sard-uniapp",
|
|
5
|
-
"version": "1.13.
|
|
5
|
+
"version": "1.13.3",
|
|
6
6
|
"description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"scripts": {
|
|
@@ -75,26 +75,27 @@
|
|
|
75
75
|
"@commitlint/cli": "^17.8.1",
|
|
76
76
|
"@commitlint/config-conventional": "^17.8.1",
|
|
77
77
|
"@commitlint/prompt-cli": "^17.8.1",
|
|
78
|
-
"@dcloudio/types": "^3.4.
|
|
79
|
-
"@dcloudio/uni-app": "3.0.0-
|
|
80
|
-
"@dcloudio/uni-app-harmony": "3.0.0-
|
|
81
|
-
"@dcloudio/uni-app-plus": "3.0.0-
|
|
82
|
-
"@dcloudio/uni-automator": "3.0.0-
|
|
83
|
-
"@dcloudio/uni-cli-shared": "3.0.0-
|
|
84
|
-
"@dcloudio/uni-components": "3.0.0-
|
|
85
|
-
"@dcloudio/uni-h5": "3.0.0-
|
|
86
|
-
"@dcloudio/uni-mp-alipay": "3.0.0-
|
|
87
|
-
"@dcloudio/uni-mp-baidu": "3.0.0-
|
|
88
|
-
"@dcloudio/uni-mp-
|
|
89
|
-
"@dcloudio/uni-mp-
|
|
90
|
-
"@dcloudio/uni-mp-
|
|
91
|
-
"@dcloudio/uni-mp-
|
|
92
|
-
"@dcloudio/uni-mp-
|
|
93
|
-
"@dcloudio/uni-mp-
|
|
94
|
-
"@dcloudio/uni-mp-
|
|
95
|
-
"@dcloudio/uni-
|
|
96
|
-
"@dcloudio/uni-
|
|
97
|
-
"@dcloudio/
|
|
78
|
+
"@dcloudio/types": "^3.4.8",
|
|
79
|
+
"@dcloudio/uni-app": "3.0.0-4060420250429001",
|
|
80
|
+
"@dcloudio/uni-app-harmony": "3.0.0-4060420250429001",
|
|
81
|
+
"@dcloudio/uni-app-plus": "3.0.0-4060420250429001",
|
|
82
|
+
"@dcloudio/uni-automator": "3.0.0-4060420250429001",
|
|
83
|
+
"@dcloudio/uni-cli-shared": "3.0.0-4060420250429001",
|
|
84
|
+
"@dcloudio/uni-components": "3.0.0-4060420250429001",
|
|
85
|
+
"@dcloudio/uni-h5": "3.0.0-4060420250429001",
|
|
86
|
+
"@dcloudio/uni-mp-alipay": "3.0.0-4060420250429001",
|
|
87
|
+
"@dcloudio/uni-mp-baidu": "3.0.0-4060420250429001",
|
|
88
|
+
"@dcloudio/uni-mp-harmony": "3.0.0-4060420250429001",
|
|
89
|
+
"@dcloudio/uni-mp-jd": "3.0.0-4060420250429001",
|
|
90
|
+
"@dcloudio/uni-mp-kuaishou": "3.0.0-4060420250429001",
|
|
91
|
+
"@dcloudio/uni-mp-lark": "3.0.0-4060420250429001",
|
|
92
|
+
"@dcloudio/uni-mp-qq": "3.0.0-4060420250429001",
|
|
93
|
+
"@dcloudio/uni-mp-toutiao": "3.0.0-4060420250429001",
|
|
94
|
+
"@dcloudio/uni-mp-weixin": "3.0.0-4060420250429001",
|
|
95
|
+
"@dcloudio/uni-mp-xhs": "3.0.0-4060420250429001",
|
|
96
|
+
"@dcloudio/uni-quickapp-webview": "3.0.0-4060420250429001",
|
|
97
|
+
"@dcloudio/uni-stacktracey": "3.0.0-4060420250429001",
|
|
98
|
+
"@dcloudio/vite-plugin-uni": "3.0.0-4060420250429001",
|
|
98
99
|
"@esbuild/darwin-x64": "0.20.2",
|
|
99
100
|
"@gunny/perf-test": "^0.1.3",
|
|
100
101
|
"@rollup/rollup-darwin-x64": "^4.24.0",
|
|
@@ -105,7 +106,7 @@
|
|
|
105
106
|
"@typescript-eslint/parser": "^5.62.0",
|
|
106
107
|
"@vitejs/plugin-vue": "^4.6.2",
|
|
107
108
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
108
|
-
"@vue/runtime-core": "^3.
|
|
109
|
+
"@vue/runtime-core": "^3.4.21",
|
|
109
110
|
"@vue/test-utils": "^2.4.6",
|
|
110
111
|
"consola": "^3.2.3",
|
|
111
112
|
"eslint": "^9.16.0",
|
|
@@ -121,18 +122,18 @@
|
|
|
121
122
|
"lodash-es": "^4.17.21",
|
|
122
123
|
"prettier": "^2.8.8",
|
|
123
124
|
"region-data": "^1.2.3",
|
|
124
|
-
"sard-cli": "^1.1.
|
|
125
|
+
"sard-cli": "^1.1.6",
|
|
125
126
|
"sass": "^1.69.7",
|
|
126
127
|
"tel-area-code": "^1.1.0",
|
|
127
128
|
"ts-custom-error": "^3.3.1",
|
|
128
129
|
"tsx": "^4.19.2",
|
|
129
130
|
"typescript": "~5.6.2",
|
|
130
131
|
"typescript-eslint": "^8.17.0",
|
|
131
|
-
"vite": "
|
|
132
|
+
"vite": "6.3.5",
|
|
132
133
|
"vite-plugin-eslint": "^1.8.1",
|
|
133
|
-
"vitest": "^1.
|
|
134
|
-
"vue": "^3.
|
|
135
|
-
"vue-i18n": "^9.14.
|
|
134
|
+
"vitest": "^3.1.3",
|
|
135
|
+
"vue": "^3.4.21",
|
|
136
|
+
"vue-i18n": "^9.14.4",
|
|
136
137
|
"vue-tsc": "^2.0.29"
|
|
137
138
|
},
|
|
138
139
|
"author": "wuzhitao",
|