hy-app 0.5.14 → 0.5.16

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.
Files changed (35) hide show
  1. package/components/hy-address-picker/hy-address-picker.vue +0 -1
  2. package/components/hy-button/hy-button.vue +7 -1
  3. package/components/hy-button/index.scss +22 -21
  4. package/components/hy-code-input/hy-code-input.vue +231 -231
  5. package/components/hy-code-input/props.ts +90 -88
  6. package/components/hy-config-provider/index.scss +1 -1
  7. package/components/hy-datetime-picker/hy-datetime-picker.vue +519 -521
  8. package/components/hy-icon/index.scss +1 -2
  9. package/components/hy-index-bar/hy-index-bar.vue +0 -12
  10. package/components/hy-index-bar/index.scss +1 -1
  11. package/components/hy-notify/hy-notify.vue +174 -174
  12. package/components/hy-picker/hy-picker.vue +0 -1
  13. package/components/hy-picker/index.scss +1 -1
  14. package/components/hy-skeleton/hy-skeleton.vue +142 -0
  15. package/components/hy-skeleton/index.scss +90 -0
  16. package/components/hy-skeleton/props.ts +46 -0
  17. package/components/hy-skeleton/typing.d.ts +31 -0
  18. package/components/hy-steps/hy-steps.vue +267 -267
  19. package/components/hy-steps/index.scss +7 -2
  20. package/components/hy-steps/typing.d.ts +25 -21
  21. package/components/hy-tabs/index.scss +1 -0
  22. package/components/hy-tag/hy-tag.vue +174 -174
  23. package/components/hy-tag/index.scss +3 -6
  24. package/components/hy-tag/props.ts +89 -89
  25. package/components/hy-text/hy-text.vue +1 -1
  26. package/components/hy-textarea/hy-textarea.vue +1 -1
  27. package/components/hy-textarea/index.scss +1 -4
  28. package/global.d.ts +2 -0
  29. package/index.scss +1 -1
  30. package/libs/css/iconfont.css +117 -119
  31. package/libs/css/theme.scss +1 -0
  32. package/libs/css/vars.scss +2 -0
  33. package/libs/utils/utils.ts +0 -1
  34. package/package.json +62 -3
  35. package/web-types.json +1 -1
@@ -1,12 +1,14 @@
1
1
  @font-face {
2
- font-family: "iconfont"; /* Project id 4305932 */
3
- src: url('https://at.alicdn.com/t/c/font_4305932_qgtc1zvcqsm.woff2?t=1761211099193') format('woff2'),
4
- url('https://at.alicdn.com/t/c/font_4305932_qgtc1zvcqsm.woff?t=1761211099193') format('woff'),
5
- url('https://at.alicdn.com/t/c/font_4305932_qgtc1zvcqsm.ttficonfont.ttf?t=1761211099193') format('truetype');
2
+ font-family: 'hy-icon'; /* Project id 4305932 */
3
+ src: url('https://at.alicdn.com/t/c/font_4305932_qhqacvg5ep.woff2?t=1767149933313') format('woff2'),
4
+ url('https://at.alicdn.com/t/c/font_4305932_qhqacvg5ep.woff?t=1767149933313') format('woff'),
5
+ url('https://at.alicdn.com/t/c/font_4305932_qhqacvg5ep.ttf?t=1767149933313') format('truetype');
6
+ font-weight: normal;
7
+ font-style: normal;
6
8
  }
7
9
 
8
10
  .iconfont {
9
- font-family: "iconfont" !important;
11
+ font-family: "hy-icon" !important;
10
12
  font-size: 16px;
11
13
  font-style: normal;
12
14
  -webkit-font-smoothing: antialiased;
@@ -14,430 +16,426 @@
14
16
  }
15
17
 
16
18
  .hy-icon-query:before {
17
- content: "\e617";
19
+ content: "\e617";
18
20
  }
19
21
 
20
22
  .hy-icon-notice:before {
21
- content: "\e61f";
23
+ content: "\e61f";
22
24
  }
23
25
 
24
26
  .hy-icon-telephone-fill:before {
25
- content: "\e66d";
27
+ content: "\e66d";
26
28
  }
27
29
 
28
- .hy-icon-dot:before {
29
- content: "\ec1e";
30
+ .hy-icon-pie-chart:before {
31
+ content: "\e60c";
30
32
  }
31
33
 
32
- .hy-icon-shujuzhanbi:before {
33
- content: "\e60c";
34
- }
35
-
36
- .hy-icon-shujushitu:before {
37
- content: "\e60d";
34
+ .hy-icon-bar-chart:before {
35
+ content: "\e60d";
38
36
  }
39
37
 
40
38
  .hy-icon-picture-fill:before {
41
- content: "\e60e";
39
+ content: "\e60e";
42
40
  }
43
41
 
44
- .hy-icon-a-xiangshang3:before {
45
- content: "\e60f";
42
+ .hy-icon-arrow-upward:before {
43
+ content: "\e60f";
46
44
  }
47
45
 
48
46
  .hy-icon-remind-fill:before {
49
- content: "\e610";
47
+ content: "\e610";
50
48
  }
51
49
 
52
- .hy-icon-a-xiangxia3:before {
53
- content: "\e612";
50
+ .hy-icon-arrow-downward:before {
51
+ content: "\e612";
54
52
  }
55
53
 
56
54
  .hy-icon-setting-fill:before {
57
- content: "\e613";
55
+ content: "\e613";
58
56
  }
59
57
 
60
58
  .hy-icon-eye-close:before {
61
- content: "\e671";
59
+ content: "\e671";
62
60
  }
63
61
 
64
62
  .hy-icon-hide:before {
65
- content: "\e673";
63
+ content: "\e673";
66
64
  }
67
65
 
68
66
  .hy-icon-mic:before {
69
- content: "\e678";
67
+ content: "\e678";
70
68
  }
71
69
 
72
70
  .hy-icon-telephone-out:before {
73
- content: "\e68e";
71
+ content: "\e68e";
74
72
  }
75
73
 
76
74
  .hy-icon-telephone:before {
77
- content: "\e68f";
75
+ content: "\e68f";
78
76
  }
79
77
 
80
78
  .hy-icon-close-circle-fill:before {
81
- content: "\e6f2";
79
+ content: "\e6f2";
82
80
  }
83
81
 
84
82
  .hy-icon-help-fill:before {
85
- content: "\e6fa";
83
+ content: "\e6fa";
86
84
  }
87
85
 
88
86
  .hy-icon-message:before {
89
- content: "\e70c";
87
+ content: "\e70c";
90
88
  }
91
89
 
92
90
  .hy-icon-message-fill:before {
93
- content: "\e70d";
91
+ content: "\e70d";
94
92
  }
95
93
 
96
94
  .hy-icon-notice-fill:before {
97
- content: "\e71b";
95
+ content: "\e71b";
98
96
  }
99
97
 
100
98
  .hy-icon-send:before {
101
- content: "\e726";
99
+ content: "\e726";
102
100
  }
103
101
 
104
102
  .hy-icon-share-fill:before {
105
- content: "\e729";
103
+ content: "\e729";
106
104
  }
107
105
 
108
106
  .hy-icon-share:before {
109
- content: "\e72a";
107
+ content: "\e72a";
110
108
  }
111
109
 
112
110
  .hy-icon-success-fill:before {
113
- content: "\e72d";
111
+ content: "\e72d";
114
112
  }
115
113
 
116
114
  .hy-icon-systemprompt_fill:before {
117
- content: "\e72f";
115
+ content: "\e72f";
118
116
  }
119
117
 
120
118
  .hy-icon-delete:before {
121
- content: "\e738";
119
+ content: "\e738";
122
120
  }
123
121
 
124
122
  .hy-icon-delete-fill:before {
125
- content: "\e739";
123
+ content: "\e739";
126
124
  }
127
125
 
128
126
  .hy-icon-warning-fill:before {
129
- content: "\e73d";
127
+ content: "\e73d";
130
128
  }
131
129
 
132
130
  .hy-icon-search:before {
133
- content: "\e741";
131
+ content: "\e741";
134
132
  }
135
133
 
136
134
  .hy-icon-loading:before {
137
- content: "\e64a";
135
+ content: "\e64a";
138
136
  }
139
137
 
140
138
  .hy-icon-order:before {
141
- content: "\e737";
139
+ content: "\e737";
142
140
  }
143
141
 
144
142
  .hy-icon-copy:before {
145
- content: "\e656";
143
+ content: "\e656";
146
144
  }
147
145
 
148
146
  .hy-icon-collect-fill:before {
149
- content: "\e631";
147
+ content: "\e631";
150
148
  }
151
149
 
152
150
  .hy-icon-collect:before {
153
- content: "\e632";
151
+ content: "\e632";
154
152
  }
155
153
 
156
154
  .hy-icon-calendar:before {
157
- content: "\e645";
155
+ content: "\e645";
158
156
  }
159
157
 
160
158
  .hy-icon-eye:before {
161
- content: "\e666";
159
+ content: "\e666";
162
160
  }
163
161
 
164
162
  .hy-icon-download:before {
165
- content: "\e667";
163
+ content: "\e667";
166
164
  }
167
165
 
168
166
  .hy-icon-arrow-double-left:before {
169
- content: "\e665";
167
+ content: "\e665";
170
168
  }
171
169
 
172
170
  .hy-icon-arrow-double-right:before {
173
- content: "\e668";
171
+ content: "\e668";
174
172
  }
175
173
 
176
174
  .hy-icon-camera:before {
177
- content: "\e669";
175
+ content: "\e669";
178
176
  }
179
177
 
180
178
  .hy-icon-attachment:before {
181
- content: "\e66a";
179
+ content: "\e66a";
182
180
  }
183
181
 
184
182
  .hy-icon-comment:before {
185
- content: "\e66b";
183
+ content: "\e66b";
186
184
  }
187
185
 
188
186
  .hy-icon-customer-service:before {
189
- content: "\e66c";
187
+ content: "\e66c";
190
188
  }
191
189
 
192
190
  .hy-icon-ellipsis:before {
193
- content: "\e66e";
191
+ content: "\e66e";
194
192
  }
195
193
 
196
194
  .hy-icon-export:before {
197
- content: "\e66f";
195
+ content: "\e66f";
198
196
  }
199
197
 
200
198
  .hy-icon-link:before {
201
- content: "\e676";
199
+ content: "\e676";
202
200
  }
203
201
 
204
202
  .hy-icon-layers:before {
205
- content: "\e675";
203
+ content: "\e675";
206
204
  }
207
205
 
208
206
  .hy-icon-print:before {
209
- content: "\e67a";
207
+ content: "\e67a";
210
208
  }
211
209
 
212
210
  .hy-icon-navigation:before {
213
- content: "\e67b";
211
+ content: "\e67b";
214
212
  }
215
213
 
216
214
  .hy-icon-pdf:before {
217
- content: "\e67c";
215
+ content: "\e67c";
218
216
  }
219
217
 
220
218
  .hy-icon-picture:before {
221
- content: "\e67e";
219
+ content: "\e67e";
222
220
  }
223
221
 
224
222
  .hy-icon-save:before {
225
- content: "\e67f";
223
+ content: "\e67f";
226
224
  }
227
225
 
228
226
  .hy-icon-scan:before {
229
- content: "\e680";
227
+ content: "\e680";
230
228
  }
231
229
 
232
230
  .hy-icon-security:before {
233
- content: "\e681";
231
+ content: "\e681";
234
232
  }
235
233
 
236
234
  .hy-icon-success:before {
237
- content: "\e682";
235
+ content: "\e682";
238
236
  }
239
237
 
240
238
  .hy-icon-smile:before {
241
- content: "\e683";
239
+ content: "\e683";
242
240
  }
243
241
 
244
242
  .hy-icon-switch:before {
245
- content: "\e684";
243
+ content: "\e684";
246
244
  }
247
245
 
248
246
  .hy-icon-upload:before {
249
- content: "\e685";
247
+ content: "\e685";
250
248
  }
251
249
 
252
250
  .hy-icon-warning:before {
253
- content: "\e687";
251
+ content: "\e687";
254
252
  }
255
253
 
256
254
  .hy-icon-arrow-up-fill:before {
257
- content: "\e688";
255
+ content: "\e688";
258
256
  }
259
257
 
260
258
  .hy-icon-arrow-down-fill:before {
261
- content: "\e689";
259
+ content: "\e689";
262
260
  }
263
261
 
264
262
  .hy-icon-arrow-left-fill:before {
265
- content: "\e68a";
263
+ content: "\e68a";
266
264
  }
267
265
 
268
266
  .hy-icon-arrow-right-fill:before {
269
- content: "\e68b";
267
+ content: "\e68b";
270
268
  }
271
269
 
272
270
  .hy-icon-smile-fill:before {
273
- content: "\e68c";
271
+ content: "\e68c";
274
272
  }
275
273
 
276
274
  .hy-icon-cry-fill:before {
277
- content: "\e68d";
275
+ content: "\e68d";
278
276
  }
279
277
 
280
278
  .hy-icon-minus:before {
281
- content: "\e686";
279
+ content: "\e686";
282
280
  }
283
281
 
284
282
  .hy-icon-check-mask:before {
285
- content: "\e602";
283
+ content: "\e602";
286
284
  }
287
285
 
288
286
  .hy-icon-close:before {
289
- content: "\e611";
287
+ content: "\e611";
290
288
  }
291
289
 
292
290
  .hy-icon-lock:before {
293
- content: "\e8b2";
291
+ content: "\e8b2";
294
292
  }
295
293
 
296
294
  .hy-icon-home-fill:before {
297
- content: "\e8c6";
295
+ content: "\e8c6";
298
296
  }
299
297
 
300
298
  .hy-icon-mine:before {
301
- content: "\e60b";
299
+ content: "\e60b";
302
300
  }
303
301
 
304
302
  .hy-icon-class-fill:before {
305
- content: "\e600";
303
+ content: "\e600";
306
304
  }
307
305
 
308
306
  .hy-icon-setting:before {
309
- content: "\e601";
307
+ content: "\e601";
310
308
  }
311
309
 
312
310
  .hy-icon-mine-fill:before {
313
- content: "\e608";
311
+ content: "\e608";
314
312
  }
315
313
 
316
314
  .hy-icon-shopping-cart-fill:before {
317
- content: "\e73c";
315
+ content: "\e73c";
318
316
  }
319
317
 
320
318
  .hy-icon-home:before {
321
- content: "\e751";
319
+ content: "\e751";
322
320
  }
323
321
 
324
322
  .hy-icon-shopping-cart-add:before {
325
- content: "\e640";
323
+ content: "\e640";
326
324
  }
327
325
 
328
326
  .hy-icon-map:before {
329
- content: "\e64e";
327
+ content: "\e64e";
330
328
  }
331
329
 
332
330
  .hy-icon-class:before {
333
- content: "\e638";
331
+ content: "\e638";
334
332
  }
335
333
 
336
334
  .hy-icon-right:before {
337
- content: "\e620";
335
+ content: "\e620";
338
336
  }
339
337
 
340
338
  .hy-icon-close-circle:before {
341
- content: "\e621";
339
+ content: "\e621";
342
340
  }
343
341
 
344
342
  .hy-icon-help-circle:before {
345
- content: "\e622";
343
+ content: "\e622";
346
344
  }
347
345
 
348
346
  .hy-icon-screen:before {
349
- content: "\e623";
347
+ content: "\e623";
350
348
  }
351
349
 
352
350
  .hy-icon-remind:before {
353
- content: "\e625";
351
+ content: "\e625";
354
352
  }
355
353
 
356
354
  .hy-icon-plus:before {
357
- content: "\e626";
355
+ content: "\e626";
358
356
  }
359
357
 
360
358
  .hy-icon-arrow-rightward:before {
361
- content: "\e628";
359
+ content: "\e628";
362
360
  }
363
361
 
364
362
  .hy-icon-arrow-leftward:before {
365
- content: "\e629";
363
+ content: "\e629";
366
364
  }
367
365
 
368
366
  .hy-icon-notice-circle:before {
369
- content: "\e62a";
367
+ content: "\e62a";
370
368
  }
371
369
 
372
370
  .hy-icon-menu:before {
373
- content: "\e62e";
371
+ content: "\e62e";
374
372
  }
375
373
 
376
374
  .hy-icon-list-dot:before {
377
- content: "\e62f";
375
+ content: "\e62f";
378
376
  }
379
377
 
380
378
  .hy-icon-network:before {
381
- content: "\e630";
379
+ content: "\e630";
382
380
  }
383
381
 
384
382
  .hy-icon-time:before {
385
- content: "\e639";
383
+ content: "\e639";
386
384
  }
387
385
 
388
386
  .hy-icon-history:before {
389
- content: "\e63b";
387
+ content: "\e63b";
390
388
  }
391
389
 
392
390
  .hy-icon-up:before {
393
- content: "\e63c";
391
+ content: "\e63c";
394
392
  }
395
393
 
396
394
  .hy-icon-down:before {
397
- content: "\e63d";
395
+ content: "\e63d";
398
396
  }
399
397
 
400
398
  .hy-icon-left:before {
401
- content: "\e63e";
399
+ content: "\e63e";
402
400
  }
403
401
 
404
402
  .hy-icon-tag:before {
405
- content: "\e63f";
403
+ content: "\e63f";
406
404
  }
407
405
 
408
406
  .hy-icon-task:before {
409
- content: "\e641";
407
+ content: "\e641";
410
408
  }
411
409
 
412
410
  .hy-icon-refresh:before {
413
- content: "\e642";
411
+ content: "\e642";
414
412
  }
415
413
 
416
414
  .hy-icon-shopping-cart:before {
417
- content: "\e899";
415
+ content: "\e899";
418
416
  }
419
417
 
420
418
  .hy-icon-shopping-bag:before {
421
- content: "\e65a";
419
+ content: "\e65a";
422
420
  }
423
421
 
424
422
  .hy-icon-map-fill:before {
425
- content: "\e65e";
423
+ content: "\e65e";
426
424
  }
427
425
 
428
426
  .hy-icon-lock-open-fill:before {
429
- content: "\e63a";
427
+ content: "\e63a";
430
428
  }
431
429
 
432
430
  .hy-icon-lock-fill:before {
433
- content: "\e643";
431
+ content: "\e643";
434
432
  }
435
433
 
436
434
  .hy-icon-shop:before {
437
- content: "\e644";
435
+ content: "\e644";
438
436
  }
439
437
 
440
438
  .hy-icon-edit:before {
441
- content: "\e8ac";
439
+ content: "\e8ac";
442
440
  }
443
441
 
@@ -46,6 +46,7 @@ $hy-background--container: var(--hy-background--container, #ffffff) !default; //
46
46
  $hy-background--disabled: var(--hy-background--disabled, rgba(0, 0, 0, 0.04)); // 禁用背景色
47
47
  $hy-background--track: var(--hy-background--track, #F6F6F6) !default; // 轨道背景色
48
48
  $hy-background--empty: var(--hy-background--empty, #F3F3F3) !default; // 搜索背景色
49
+ $hy-background--skeleton: var(--hy-background--skeleton, #eee) !default; // 骨架屏背景色
49
50
  $hy-background--hover: var(--hy-background--hover, rgba(0,0,0,0.05)) !default; // 点击状态
50
51
  $hy-background-mask: var(--hy-background-mask, rgba(0, 0, 0, 0.5)); //遮罩颜色
51
52
  $hy-background--active: var(--hy-background--active, #FFFFFF); // 选中背景色
@@ -17,6 +17,7 @@
17
17
  --hy-background--container: #FFFFFF;
18
18
  --hy-background--disabled: rgba(0, 0, 0, 0.04);
19
19
  --hy-background--empty: #F3F3F3;
20
+ --hy-background--skeleton: #EEEEEE;
20
21
  --hy-background--hover: rgba(0,0,0,0.05);
21
22
  --hy-background--active: #FFFFFF;
22
23
  --hy-background--close: #f0f0f0;
@@ -53,6 +54,7 @@
53
54
  --hy-background--container: #242424;
54
55
  --hy-background--disabled: rgba(255, 255, 255, 0.08);
55
56
  --hy-background--empty: #3A3A44;
57
+ --hy-background--skeleton: #323233;
56
58
  --hy-background--hover: rgba(255,255,255,0.2);
57
59
  --hy-background--active: #000000;
58
60
  --hy-background--close: #323233;
@@ -429,7 +429,6 @@ const getRect = <T extends boolean>(
429
429
  const method = all ? 'selectAll' : 'select'
430
430
 
431
431
  const callback = (rect: UniApp.NodeInfo | UniApp.NodeInfo[]) => {
432
- console.log(rect, 'rect')
433
432
  if (all && Array.isArray(rect) && rect.length > 0) {
434
433
  resolve(rect as RectResultType<T>)
435
434
  } else if (!all && rect) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hy-app",
3
- "version": "0.5.14",
4
- "description": "feat: 新增indexBar索引栏功能",
3
+ "version": "0.5.16",
4
+ "description": "feat: 新增骨架屏组件",
5
5
  "main": "./index.ts",
6
6
  "private": false,
7
7
  "scripts": {},
@@ -14,5 +14,64 @@
14
14
  ],
15
15
  "web-types": "./web-types.json",
16
16
  "author": "华玥作者",
17
- "license": "MIT"
17
+ "license": "MIT",
18
+ "uni_modules": {
19
+ "dependencies": [],
20
+ "encrypt": [],
21
+ "platforms": {
22
+ "cloud": {
23
+ "tcb": "√",
24
+ "aliyun": "√",
25
+ "alipay": "√"
26
+ },
27
+ "client": {
28
+ "uni-app": {
29
+ "vue": {
30
+ "vue2": "x",
31
+ "vue3": "√"
32
+ },
33
+ "web": {
34
+ "safari": "√",
35
+ "chrome": "√"
36
+ },
37
+ "app": {
38
+ "vue": "√",
39
+ "nvue": "-",
40
+ "android": "√",
41
+ "ios": "√",
42
+ "harmony": "√"
43
+ },
44
+ "mp": {
45
+ "weixin": "√",
46
+ "alipay": "√",
47
+ "toutiao": "√",
48
+ "baidu": "-",
49
+ "kuaishou": "-",
50
+ "jd": "-",
51
+ "harmony": "√",
52
+ "qq": "√",
53
+ "lark": "-"
54
+ },
55
+ "quickapp": {
56
+ "huawei": "-",
57
+ "union": "-"
58
+ }
59
+ },
60
+ "uni-app-x": {
61
+ "web": {
62
+ "safari": "-",
63
+ "chrome": "-"
64
+ },
65
+ "app": {
66
+ "android": "-",
67
+ "ios": "-",
68
+ "harmony": "-"
69
+ },
70
+ "mp": {
71
+ "weixin": "-"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
18
77
  }