@varlet/ui 1.24.5 → 1.24.6-alpha.1641735742059

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.
@@ -1,5 +1,6 @@
1
1
  import '../../styles/common.css'
2
2
  import '../../styles/elevation.css'
3
3
  import '../../button/button.css'
4
+ import '../../icon/icon.css'
4
5
  import '../date-picker.css'
5
6
  import '../DatePickerSfc.css'
@@ -1,5 +1,6 @@
1
1
  import '../../styles/common.less'
2
2
  import '../../styles/elevation.less'
3
3
  import '../../button/button.less'
4
+ import '../../icon/icon.less'
4
5
  import '../date-picker.less'
5
6
  import '../DatePickerSfc.less'
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "var-action-sheet/lock-scroll": {
27
27
  "type": "boolean",
28
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发body的滚动 默认值:true"
28
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
29
29
  },
30
30
  "var-action-sheet/close-on-click-action": {
31
31
  "type": "boolean",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "var-app-bar/title-position": {
55
55
  "type": "string",
56
- "description": "标题位置,可选值为 `left`,`center`,`right` 默认值:left"
56
+ "description": "标题位置,可选值为 `left`, `center`, `right` 默认值:left"
57
57
  },
58
58
  "var-app-bar/elevation": {
59
59
  "type": "boolean",
@@ -81,15 +81,15 @@
81
81
  },
82
82
  "var-badge/value": {
83
83
  "type": "string | number",
84
- "description": "徽标中显示的值(当`dot`为`false`时生效) 默认值:0"
84
+ "description": "徽标中显示的值(当 `dot` 为 `false` 时生效) 默认值:0"
85
85
  },
86
86
  "var-badge/max-value": {
87
87
  "type": "number",
88
- "description": "徽标中显示的最大值,当`value`大于`max-value`时会显示`max-value+`(当`value`与`max-value`都存在时生效) 默认值:-"
88
+ "description": "徽标中显示的最大值,当 `value` 大于 `max-value` 时会显示 `max-value+` (当 `value` 与 `max-value` 都存在时生效) 默认值:-"
89
89
  },
90
90
  "var-badge/position": {
91
91
  "type": "string",
92
- "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值`right-top` `top-bottom` `left-top` `left-bottom` 默认值:right-top"
92
+ "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值 `right-top` `top-bottom` `left-top` `left-bottom` 默认值:right-top"
93
93
  },
94
94
  "var-badge/color": {
95
95
  "type": "string",
@@ -261,7 +261,7 @@
261
261
  },
262
262
  "var-checkbox/rules": {
263
263
  "type": "Array<(value: any) => any>",
264
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
264
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
265
265
  },
266
266
  "var-checkbox-group/v-model": {
267
267
  "type": "any[]",
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "var-checkbox-group/rules": {
279
279
  "type": "Array<(value: any[]) => any>",
280
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示 默认值:horizontal"
280
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:horizontal"
281
281
  },
282
282
  "var-chip/type": {
283
283
  "type": "string",
@@ -305,7 +305,7 @@
305
305
  },
306
306
  "var-chip/close-name": {
307
307
  "type": "string",
308
- "description": "自定义可关闭纸片的图标,必须在`closeable`为`true`的条件下才能用 默认值:-"
308
+ "description": "自定义可关闭纸片的图标,必须在 `closeable` 为 `true` 的条件下才能用 默认值:-"
309
309
  },
310
310
  "var-chip/color": {
311
311
  "type": "string",
@@ -313,7 +313,7 @@
313
313
  },
314
314
  "var-chip/text-color": {
315
315
  "type": "string",
316
- "description": "文本颜色,优先级高于`color`属性 默认值:-"
316
+ "description": "文本颜色,优先级高于 `color` 属性 默认值:-"
317
317
  },
318
318
  "var-col/span": {
319
319
  "type": "number | string",
@@ -441,7 +441,7 @@
441
441
  },
442
442
  "var-counter/rules": {
443
443
  "type": "Array<(value: number) => any>",
444
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
444
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
445
445
  },
446
446
  "var-date-picker/v-model": {
447
447
  "type": "string[] | string",
@@ -449,7 +449,7 @@
449
449
  },
450
450
  "var-date-picker/type": {
451
451
  "type": "string",
452
- "description": "选择器类型,可选值为`date, month` 默认值:date"
452
+ "description": "选择器类型,可选值为 `date, month` 默认值:date"
453
453
  },
454
454
  "var-date-picker/allowed-dates": {
455
455
  "type": "function",
@@ -549,15 +549,15 @@
549
549
  },
550
550
  "var-dialog/overlay-class": {
551
551
  "type": "string",
552
- "description": "自定义遮罩层的class 默认值:-"
552
+ "description": "自定义遮罩层的 class 默认值:-"
553
553
  },
554
554
  "var-dialog/overlay-style": {
555
555
  "type": "string",
556
- "description": "自定义遮罩层的style 默认值:-"
556
+ "description": "自定义遮罩层的 style 默认值:-"
557
557
  },
558
558
  "var-dialog/lock-scroll": {
559
559
  "type": "boolean",
560
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发body的滚动 默认值:true"
560
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动 默认值:true"
561
561
  },
562
562
  "var-dialog/close-on-click-overlay": {
563
563
  "type": "boolean",
@@ -665,7 +665,7 @@
665
665
  },
666
666
  "var-image-preview/images": {
667
667
  "type": "string[]",
668
- "description": "需要预览的图片 URL数组 默认值:[]"
668
+ "description": "需要预览的图片 URL 数组 默认值:[]"
669
669
  },
670
670
  "var-image-preview/current": {
671
671
  "type": "string",
@@ -713,7 +713,7 @@
713
713
  },
714
714
  "var-index-bar/css-mode": {
715
715
  "type": "boolean",
716
- "description": "开启原生`css sticky`模式 默认值:false"
716
+ "description": "开启原生 `css sticky` 模式 默认值:false"
717
717
  },
718
718
  "var-index-bar/z-index": {
719
719
  "type": "number | string",
@@ -793,7 +793,7 @@
793
793
  },
794
794
  "var-input/rules": {
795
795
  "type": "Array<(v: string) => any>",
796
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
796
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示 默认值:-"
797
797
  },
798
798
  "var-list/v-model:loading": {
799
799
  "type": "boolean",
@@ -1381,15 +1381,15 @@
1381
1381
  },
1382
1382
  "var-space/align": {
1383
1383
  "type": "string",
1384
- "description": "垂直排列方式 可选值为`stretch` `center` `start` `end` `baseline` 默认值:-"
1384
+ "description": "垂直排列方式 可选值为 `stretch` `center` `start` `end` `baseline` 默认值:-"
1385
1385
  },
1386
1386
  "var-space/justify": {
1387
1387
  "type": "string",
1388
- "description": "水平排列方式 可选值为`start` `end` `center` `space-around` `space-between` 默认值:start"
1388
+ "description": "水平排列方式 可选值为 `start` `end` `center` `space-around` `space-between` 默认值:start"
1389
1389
  },
1390
1390
  "var-space/size": {
1391
1391
  "type": "string | number | [string | number, string | number]",
1392
- "description": "间距,可选值为`mini` `small` `normal` `large`或`[垂直间距, 水平间距]`(支持长度单位) 默认值:normal"
1392
+ "description": "间距,可选值为 `mini` `small` `normal` `large` 或`[垂直间距, 水平间距]`(支持长度单位) 默认值:normal"
1393
1393
  },
1394
1394
  "var-space/wrap": {
1395
1395
  "type": "boolean",
@@ -1397,7 +1397,7 @@
1397
1397
  },
1398
1398
  "var-space/direction": {
1399
1399
  "type": "string",
1400
- "description": "布局方向 可选值为`row` `column` 默认值:row"
1400
+ "description": "布局方向 可选值为 `row` `column` 默认值:row"
1401
1401
  },
1402
1402
  "var-space/inline": {
1403
1403
  "type": "boolean",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "1.24.4",
4
+ "version": "1.24.5",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -65,7 +65,7 @@
65
65
  },
66
66
  {
67
67
  "name": "lock-scroll",
68
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发body的滚动",
68
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动",
69
69
  "default": "true",
70
70
  "value": {
71
71
  "type": "boolean",
@@ -169,7 +169,7 @@
169
169
  },
170
170
  {
171
171
  "name": "title-position",
172
- "description": "标题位置,可选值为 `left`,`center`,`right`",
172
+ "description": "标题位置,可选值为 `left`, `center`, `right`",
173
173
  "default": "left",
174
174
  "value": {
175
175
  "type": "string",
@@ -269,7 +269,7 @@
269
269
  },
270
270
  {
271
271
  "name": "value",
272
- "description": "徽标中显示的值(当`dot`为`false`时生效)",
272
+ "description": "徽标中显示的值(当 `dot` 为 `false` 时生效)",
273
273
  "default": "0",
274
274
  "value": {
275
275
  "type": "string | number",
@@ -278,7 +278,7 @@
278
278
  },
279
279
  {
280
280
  "name": "max-value",
281
- "description": "徽标中显示的最大值,当`value`大于`max-value`时会显示`max-value+`(当`value`与`max-value`都存在时生效)",
281
+ "description": "徽标中显示的最大值,当 `value` 大于 `max-value` 时会显示 `max-value+` (当 `value` 与 `max-value` 都存在时生效)",
282
282
  "default": "-",
283
283
  "value": {
284
284
  "type": "number",
@@ -287,7 +287,7 @@
287
287
  },
288
288
  {
289
289
  "name": "position",
290
- "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值`right-top` `top-bottom` `left-top` `left-bottom`",
290
+ "description": "徽标标签中有其他标签时定义徽标在其他标签上的位置,可选值 `right-top` `top-bottom` `left-top` `left-bottom`",
291
291
  "default": "right-top",
292
292
  "value": {
293
293
  "type": "string",
@@ -764,7 +764,7 @@
764
764
  },
765
765
  {
766
766
  "name": "rules",
767
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示",
767
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示",
768
768
  "default": "-",
769
769
  "value": {
770
770
  "type": "Array<(value: any) => any>",
@@ -829,7 +829,7 @@
829
829
  },
830
830
  {
831
831
  "name": "rules",
832
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示",
832
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示",
833
833
  "default": "horizontal",
834
834
  "value": {
835
835
  "type": "Array<(value: any[]) => any>",
@@ -909,7 +909,7 @@
909
909
  },
910
910
  {
911
911
  "name": "close-name",
912
- "description": "自定义可关闭纸片的图标,必须在`closeable`为`true`的条件下才能用",
912
+ "description": "自定义可关闭纸片的图标,必须在 `closeable` 为 `true` 的条件下才能用",
913
913
  "default": "-",
914
914
  "value": {
915
915
  "type": "string",
@@ -927,7 +927,7 @@
927
927
  },
928
928
  {
929
929
  "name": "text-color",
930
- "description": "文本颜色,优先级高于`color`属性",
930
+ "description": "文本颜色,优先级高于 `color` 属性",
931
931
  "default": "-",
932
932
  "value": {
933
933
  "type": "string",
@@ -981,13 +981,13 @@
981
981
  "events": [
982
982
  {
983
983
  "name": "click",
984
- "description": "点击Col时触发"
984
+ "description": "点击 Col 时触发"
985
985
  }
986
986
  ],
987
987
  "slots": [
988
988
  {
989
989
  "name": "default",
990
- "description": "Col内容"
990
+ "description": "Col 内容"
991
991
  }
992
992
  ]
993
993
  },
@@ -1323,7 +1323,7 @@
1323
1323
  },
1324
1324
  {
1325
1325
  "name": "rules",
1326
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示",
1326
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示",
1327
1327
  "default": "-",
1328
1328
  "value": {
1329
1329
  "type": "Array<(value: number) => any>",
@@ -1334,7 +1334,7 @@
1334
1334
  "events": [
1335
1335
  {
1336
1336
  "name": "before-change",
1337
- "description": "变更之前(仅限lazy-change模式)触发"
1337
+ "description": "变更之前(仅限 lazy-change 模式)触发"
1338
1338
  },
1339
1339
  {
1340
1340
  "name": "change",
@@ -1365,7 +1365,7 @@
1365
1365
  },
1366
1366
  {
1367
1367
  "name": "type",
1368
- "description": "选择器类型,可选值为`date, month`",
1368
+ "description": "选择器类型,可选值为 `date, month`",
1369
1369
  "default": "date",
1370
1370
  "value": {
1371
1371
  "type": "string",
@@ -1623,7 +1623,7 @@
1623
1623
  },
1624
1624
  {
1625
1625
  "name": "overlay-class",
1626
- "description": "自定义遮罩层的class",
1626
+ "description": "自定义遮罩层的 class",
1627
1627
  "default": "-",
1628
1628
  "value": {
1629
1629
  "type": "string",
@@ -1632,7 +1632,7 @@
1632
1632
  },
1633
1633
  {
1634
1634
  "name": "overlay-style",
1635
- "description": "自定义遮罩层的style",
1635
+ "description": "自定义遮罩层的 style",
1636
1636
  "default": "-",
1637
1637
  "value": {
1638
1638
  "type": "string",
@@ -1641,7 +1641,7 @@
1641
1641
  },
1642
1642
  {
1643
1643
  "name": "lock-scroll",
1644
- "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发body的滚动",
1644
+ "description": "是否禁止滚动穿透,禁止时滚动弹出层不会引发 body 的滚动",
1645
1645
  "default": "true",
1646
1646
  "value": {
1647
1647
  "type": "boolean",
@@ -1995,7 +1995,7 @@
1995
1995
  },
1996
1996
  {
1997
1997
  "name": "images",
1998
- "description": "需要预览的图片 URL数组",
1998
+ "description": "需要预览的图片 URL 数组",
1999
1999
  "default": "[]",
2000
2000
  "value": {
2001
2001
  "type": "string[]",
@@ -2152,7 +2152,7 @@
2152
2152
  },
2153
2153
  {
2154
2154
  "name": "css-mode",
2155
- "description": "开启原生`css sticky`模式",
2155
+ "description": "开启原生 `css sticky` 模式",
2156
2156
  "default": "false",
2157
2157
  "value": {
2158
2158
  "type": "boolean",
@@ -2353,7 +2353,7 @@
2353
2353
  },
2354
2354
  {
2355
2355
  "name": "rules",
2356
- "description": "验证规则,返回`true`表示验证通过,其余的值则转换为文本作为用户提示",
2356
+ "description": "验证规则,返回 `true` 表示验证通过,其余的值则转换为文本作为用户提示",
2357
2357
  "default": "-",
2358
2358
  "value": {
2359
2359
  "type": "Array<(v: string) => any>",
@@ -4127,7 +4127,7 @@
4127
4127
  "attributes": [
4128
4128
  {
4129
4129
  "name": "align",
4130
- "description": "垂直排列方式 可选值为`stretch` `center` `start` `end` `baseline`",
4130
+ "description": "垂直排列方式 可选值为 `stretch` `center` `start` `end` `baseline`",
4131
4131
  "default": "-",
4132
4132
  "value": {
4133
4133
  "type": "string",
@@ -4136,7 +4136,7 @@
4136
4136
  },
4137
4137
  {
4138
4138
  "name": "justify",
4139
- "description": "水平排列方式 可选值为`start` `end` `center` `space-around` `space-between`",
4139
+ "description": "水平排列方式 可选值为 `start` `end` `center` `space-around` `space-between`",
4140
4140
  "default": "start",
4141
4141
  "value": {
4142
4142
  "type": "string",
@@ -4145,7 +4145,7 @@
4145
4145
  },
4146
4146
  {
4147
4147
  "name": "size",
4148
- "description": "间距,可选值为`mini` `small` `normal` `large`或`[垂直间距, 水平间距]`(支持长度单位)",
4148
+ "description": "间距,可选值为 `mini` `small` `normal` `large` 或`[垂直间距, 水平间距]`(支持长度单位)",
4149
4149
  "default": "normal",
4150
4150
  "value": {
4151
4151
  "type": "string | number | [string | number, string | number]",
@@ -4163,7 +4163,7 @@
4163
4163
  },
4164
4164
  {
4165
4165
  "name": "direction",
4166
- "description": "布局方向 可选值为`row` `column`",
4166
+ "description": "布局方向 可选值为 `row` `column`",
4167
4167
  "default": "row",
4168
4168
  "value": {
4169
4169
  "type": "string",
@@ -1,5 +1,6 @@
1
1
  require('../../styles/common.css')
2
2
  require('../../styles/elevation.css')
3
3
  require('../../button/button.css')
4
+ require('../../icon/icon.css')
4
5
  require('../date-picker.css')
5
6
  require('../DatePickerSfc.css')
@@ -1,5 +1,6 @@
1
1
  require('../../styles/common.less')
2
2
  require('../../styles/elevation.less')
3
3
  require('../../button/button.less')
4
+ require('../../icon/icon.less')
4
5
  require('../date-picker.less')
5
6
  require('../DatePickerSfc.less')
@@ -1,8 +1,8 @@
1
1
  require('../../styles/common.css')
2
+ require('../SnackbarSfc.css')
2
3
  require('../../styles/elevation.css')
3
4
  require('../../loading/loading.css')
4
5
  require('../../button/button.css')
5
6
  require('../../icon/icon.css')
6
7
  require('../snackbar.css')
7
8
  require('../coreSfc.css')
8
- require('../SnackbarSfc.css')
@@ -1,8 +1,8 @@
1
1
  require('../../styles/common.less')
2
+ require('../SnackbarSfc.less')
2
3
  require('../../styles/elevation.less')
3
4
  require('../../loading/loading.less')
4
5
  require('../../button/button.less')
5
6
  require('../../icon/icon.less')
6
7
  require('../snackbar.less')
7
8
  require('../coreSfc.less')
8
- require('../SnackbarSfc.less')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "1.24.5",
3
+ "version": "1.24.6-alpha.1641735742059",
4
4
  "description": "A material like components library",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",
@@ -39,13 +39,13 @@
39
39
  },
40
40
  "gitHead": "ee9c3866bedad96c86365b0f9888a3a6bb781b1f",
41
41
  "dependencies": {
42
- "@varlet/icons": "1.24.5",
42
+ "@varlet/icons": "1.24.6-alpha.1641735742059",
43
43
  "dayjs": "^1.10.4",
44
44
  "decimal.js": "^10.2.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@varlet/cli": "1.24.5",
48
- "@varlet/touch-emulator": "1.24.5",
47
+ "@varlet/cli": "1.24.6-alpha.1641735742059",
48
+ "@varlet/touch-emulator": "1.24.6-alpha.1641735742059",
49
49
  "@vue/test-utils": "2.0.0-rc.6",
50
50
  "typescript": "^4.4.4",
51
51
  "lodash-es": "^4.17.21",