@nutui/nutui 4.0.0-beta.17 → 4.0.0-beta.19

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 (60) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.umd.js +7 -0
  3. package/dist/packages/_es/ActionSheet.js +1 -1
  4. package/dist/packages/_es/Address.js +1 -1
  5. package/dist/packages/_es/AddressList.js +7 -6
  6. package/dist/packages/_es/Barrage.js +21 -27
  7. package/dist/packages/_es/Calendar.js +1 -1
  8. package/dist/packages/_es/Cascader.js +2 -3
  9. package/dist/packages/_es/Comment.js +12 -12
  10. package/dist/packages/_es/Dialog.js +5 -3
  11. package/dist/packages/_es/ImagePreview.js +1 -1
  12. package/dist/packages/_es/InfiniteLoading.js +0 -8
  13. package/dist/packages/_es/List.js +1 -1
  14. package/dist/packages/_es/MenuItem.js +1 -1
  15. package/dist/packages/_es/Noticebar.js +4 -1
  16. package/dist/packages/_es/Notify.js +1 -1
  17. package/dist/packages/_es/NumberKeyboard.js +1 -1
  18. package/dist/packages/_es/Overlay.js +1 -1
  19. package/dist/packages/_es/Popover.js +1 -2
  20. package/dist/packages/_es/Popup.js +1 -1
  21. package/dist/packages/_es/PullRefresh.js +5 -8
  22. package/dist/packages/_es/ShortPassword.js +1 -1
  23. package/dist/packages/_es/Signature.js +12 -1
  24. package/dist/packages/_es/Skeleton.js +1 -3
  25. package/dist/packages/_es/Sku.js +11 -7
  26. package/dist/packages/_es/Swiper.js +0 -4
  27. package/dist/packages/_es/TimeDetail.js +0 -4
  28. package/dist/packages/_es/TimeSelect.js +2 -2
  29. package/dist/packages/_es/Tour.js +1 -1
  30. package/dist/packages/_es/{index-1006915b.js → index-af79da1a.js} +1 -1
  31. package/dist/packages/comment/index.scss +5 -0
  32. package/dist/packages/inputnumber/index.scss +0 -2
  33. package/dist/packages/noticebar/index.scss +2 -0
  34. package/dist/packages/radio/index.scss +0 -1
  35. package/dist/packages/signature/index.scss +2 -2
  36. package/dist/packages/step/index.scss +1 -9
  37. package/dist/packages/sticky/index.scss +1 -0
  38. package/dist/packages/timedetail/index.scss +0 -5
  39. package/dist/smartips/web-types.json +32 -50
  40. package/dist/style.css +1 -1
  41. package/dist/styles/themes/default.scss +53 -53
  42. package/dist/styles/themes/jdb.scss +53 -53
  43. package/dist/styles/themes/jddkh.scss +53 -53
  44. package/dist/styles/themes/jdt.scss +53 -53
  45. package/dist/styles/variables-jdb.scss +1 -5
  46. package/dist/styles/variables-jddkh.scss +1 -4
  47. package/dist/styles/variables-jdt.scss +1 -4
  48. package/dist/styles/variables.scss +1 -4
  49. package/dist/types/__VUE/barrage/index.vue.d.ts +2 -4
  50. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
  51. package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
  52. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
  53. package/dist/types/__VUE/popover/index.vue.d.ts +0 -9
  54. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
  55. package/dist/types/__VUE/swiper/index.vue.d.ts +0 -9
  56. package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
  57. package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
  58. package/dist/types/index.d.ts +1 -1
  59. package/package.json +2 -2
  60. package/dist/nutui.umd.cjs +0 -7
@@ -37,6 +37,8 @@
37
37
  padding-right: 40px;
38
38
  }
39
39
  .nut-noticebar__page-lefticon {
40
+ display: flex;
41
+ align-items: center;
40
42
  height: $noticebar-left-icon-width;
41
43
  min-width: $noticebar-left-icon-width;
42
44
  margin: $noticebar-lefticon-margin;
@@ -81,7 +81,6 @@
81
81
  color: $radio-label-font-active-color;
82
82
  transition-duration: 0.3s;
83
83
  transition-property: color, border-color, background-color;
84
- font-size: $radio-icon-font-size;
85
84
  }
86
85
  &__icon--unchecked {
87
86
  color: $radio-icon-disable-color;
@@ -1,6 +1,6 @@
1
1
  .nut-signature {
2
2
  .nut-signature-inner {
3
- height: 10rem;
3
+ height: 8rem;
4
4
  margin-bottom: 1rem;
5
5
  border: 1px solid #dadada;
6
6
  display: flex;
@@ -10,7 +10,7 @@
10
10
  .spcanvas_WEAPP {
11
11
  width: 100%;
12
12
  height: 100%;
13
- #spcanvas {
13
+ .spcanvas {
14
14
  width: 100%;
15
15
  }
16
16
  }
@@ -71,9 +71,6 @@
71
71
  color: $steps-finish-head-color;
72
72
  border-color: $steps-finish-head-border-color;
73
73
  }
74
- .nut-step-icon.is-text {
75
- background-color: $steps-finish-icon-text-color;
76
- }
77
74
  .nut-step-icon.is-icon {
78
75
  background-color: $steps-finish-icon-text-color;
79
76
  }
@@ -89,9 +86,6 @@
89
86
  color: $steps-process-head-color;
90
87
  border-color: $steps-process-head-border-color;
91
88
  }
92
- .nut-step-icon.is-text {
93
- background-color: $steps-process-icon-text-color;
94
- }
95
89
  .nut-step-icon.is-icon {
96
90
  background-color: $steps-process-icon-text-color;
97
91
  }
@@ -104,11 +98,9 @@
104
98
  color: $steps-wait-head-color;
105
99
  border-color: $steps-wait-head-border-color;
106
100
  }
107
- .nut-step-icon.is-text {
108
- background-color: $steps-wait-icon-bg-color;
109
- }
110
101
  .nut-step-icon.is-icon {
111
102
  background-color: $steps-wait-icon-bg-color;
103
+ color: $steps-wait-icon-text-color;
112
104
  .nut-icon {
113
105
  color: $steps-wait-icon-color;
114
106
  }
@@ -4,6 +4,7 @@
4
4
  position: sticky;
5
5
  }
6
6
  &--fixed {
7
+ display: flex;
7
8
  position: fixed;
8
9
  }
9
10
  }
@@ -55,11 +55,6 @@
55
55
  }
56
56
  }
57
57
  }
58
- &__time {
59
- margin-bottom: 10px;
60
- color: $timeselect-timedetail-time-text-color;
61
- font-size: $timeselect-timedetail-time-font-size;
62
- }
63
58
  }
64
59
  &__detail--afternoon {
65
60
  margin-top: 30px;
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "NutUI",
5
- "version": "4.0.0-beta.17",
5
+ "version": "4.0.0-beta.19",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -110,10 +110,19 @@
110
110
  "attributes": [
111
111
  {
112
112
  "name": "v-model:visible",
113
- "default": "`''`",
113
+ "default": "`false`",
114
114
  "description": "是否打开地址选择",
115
115
  "value": {
116
- "type": "string",
116
+ "type": "boolean",
117
+ "kind": "expression"
118
+ }
119
+ },
120
+ {
121
+ "name": "v-model:value",
122
+ "default": "`[]`",
123
+ "description": "设置默认选中值",
124
+ "value": {
125
+ "type": "array",
117
126
  "kind": "expression"
118
127
  }
119
128
  },
@@ -607,7 +616,7 @@
607
616
  },
608
617
  {
609
618
  "name": "speeds",
610
- "default": "`2000`",
619
+ "default": "`5000`",
611
620
  "description": "每个弹幕的滚动时间",
612
621
  "value": {
613
622
  "type": "number",
@@ -616,7 +625,7 @@
616
625
  },
617
626
  {
618
627
  "name": "rows",
619
- "default": "`1`",
628
+ "default": "`3`",
620
629
  "description": "弹幕行数,分几行展示",
621
630
  "value": {
622
631
  "type": "number",
@@ -1047,15 +1056,6 @@
1047
1056
  "kind": "expression"
1048
1057
  }
1049
1058
  },
1050
- {
1051
- "name": "close-icon",
1052
- "default": "`\"close\"`",
1053
- "description": "自定义关闭按钮,继承 `Popup` 组件",
1054
- "value": {
1055
- "type": "string",
1056
- "kind": "expression"
1057
- }
1058
- },
1059
1059
  {
1060
1060
  "name": "closeable",
1061
1061
  "default": "`true`",
@@ -3531,7 +3531,7 @@
3531
3531
  {
3532
3532
  "name": "wrapable",
3533
3533
  "default": "`false`",
3534
- "description": "是否开启文本换行",
3534
+ "description": "是否开启文本换行,`scrollable` 会设置为 `false`",
3535
3535
  "value": {
3536
3536
  "type": "boolean",
3537
3537
  "kind": "expression"
@@ -3749,7 +3749,7 @@
3749
3749
  },
3750
3750
  {
3751
3751
  "name": "lock-scroll",
3752
- "default": "`false`",
3752
+ "default": "`true`",
3753
3753
  "description": "遮罩显示时的背景是否锁定",
3754
3754
  "value": {
3755
3755
  "type": "boolean",
@@ -3923,15 +3923,6 @@
3923
3923
  "kind": "expression"
3924
3924
  }
3925
3925
  },
3926
- {
3927
- "name": "safe-area-inset-bottom",
3928
- "default": "`false`",
3929
- "description": "是否开启 iphone 系列全面屏底部安全区适配,仅当 `position` 为 `bottom` 时有效",
3930
- "value": {
3931
- "type": "boolean",
3932
- "kind": "expression"
3933
- }
3934
- },
3935
3926
  {
3936
3927
  "name": "visible-option-num",
3937
3928
  "default": "`7`",
@@ -4032,18 +4023,9 @@
4032
4023
  {
4033
4024
  "name": "duration",
4034
4025
  "default": "`0.3`",
4035
- "description": "动画时长",
4036
- "value": {
4037
- "type": "[number, number]",
4038
- "kind": "expression"
4039
- }
4040
- },
4041
- {
4042
- "name": "iconPrefix",
4043
- "default": "`nut-icon`",
4044
- "description": "图标自定义类值,等同于 Icon 组件的[ class-prefix 属性](https://nutui.jd.com/#/zh-CN/component/icon)",
4026
+ "description": "动画时长,单位秒",
4045
4027
  "value": {
4046
- "type": "string",
4028
+ "type": "[number, string]",
4047
4029
  "kind": "expression"
4048
4030
  }
4049
4031
  },
@@ -4543,15 +4525,6 @@
4543
4525
  "kind": "expression"
4544
4526
  }
4545
4527
  },
4546
- {
4547
- "name": "complete-txt",
4548
- "default": "`''`",
4549
- "description": "刷新成功提示文案",
4550
- "value": {
4551
- "type": "string",
4552
- "kind": "expression"
4553
- }
4554
- },
4555
4528
  {
4556
4529
  "name": "duration",
4557
4530
  "default": "`0.3 `",
@@ -4598,7 +4571,7 @@
4598
4571
  {
4599
4572
  "name": "shape",
4600
4573
  "default": "`round`",
4601
- "description": "形状,可选值为 buttonround",
4574
+ "description": "形状,可选值为 `button`、`round`",
4602
4575
  "value": {
4603
4576
  "type": "string",
4604
4577
  "kind": "expression"
@@ -5099,7 +5072,7 @@
5099
5072
  {
5100
5073
  "name": "un-support-tpl",
5101
5074
  "default": "`对不起,当前浏览器不支持Canvas,无法使用本控件!`",
5102
- "description": "不支持Canvas情况下的展示文案",
5075
+ "description": "不支持 Canvas 情况下的展示文案",
5103
5076
  "value": {
5104
5077
  "type": "string",
5105
5078
  "kind": "expression"
@@ -5544,7 +5517,7 @@
5544
5517
  }
5545
5518
  },
5546
5519
  {
5547
- "name": "is-preventDefault",
5520
+ "name": "is-prevent-default",
5548
5521
  "default": "`true`",
5549
5522
  "description": "滑动过程中是否禁用默认事件",
5550
5523
  "value": {
@@ -5553,7 +5526,7 @@
5553
5526
  }
5554
5527
  },
5555
5528
  {
5556
- "name": "is-stopPropagation",
5529
+ "name": "is-stop-propagation",
5557
5530
  "default": "`true`",
5558
5531
  "description": "滑动过程中是否禁止冒泡",
5559
5532
  "value": {
@@ -6145,12 +6118,21 @@
6145
6118
  },
6146
6119
  {
6147
6120
  "name": "lock-scroll",
6148
- "default": "`false`",
6121
+ "default": "`true`",
6149
6122
  "description": "背景是否锁定",
6150
6123
  "value": {
6151
6124
  "type": "boolean",
6152
6125
  "kind": "expression"
6153
6126
  }
6127
+ },
6128
+ {
6129
+ "name": "teleport-disable",
6130
+ "default": "`false`",
6131
+ "description": "是否允许挂载节点",
6132
+ "value": {
6133
+ "type": "boolean",
6134
+ "kind": "expression"
6135
+ }
6154
6136
  }
6155
6137
  ]
6156
6138
  },