@nutui/nutui 4.1.4 → 4.1.5-beta.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.
Files changed (149) hide show
  1. package/README.md +1 -1
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +2100 -2067
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/_es/ActionSheet.js +6 -5
  6. package/dist/packages/_es/Address.js +17 -17
  7. package/dist/packages/_es/AddressList.js +3 -3
  8. package/dist/packages/_es/Animate.js +2 -2
  9. package/dist/packages/_es/Audio.js +7 -7
  10. package/dist/packages/_es/Avatar.js +2 -2
  11. package/dist/packages/_es/AvatarGroup.js +3 -3
  12. package/dist/packages/_es/Badge.js +3 -3
  13. package/dist/packages/_es/Calendar.js +23 -18
  14. package/dist/packages/_es/CalendarItem.js +1 -1
  15. package/dist/packages/_es/Cascader.js +16 -16
  16. package/dist/packages/_es/Category.js +2 -2
  17. package/dist/packages/_es/CategoryPane.js +3 -3
  18. package/dist/packages/_es/Collapse.js +2 -2
  19. package/dist/packages/_es/CollapseItem.js +7 -7
  20. package/dist/packages/_es/Comment.js +3 -3
  21. package/dist/packages/_es/ConfigProvider.js +57 -66
  22. package/dist/packages/_es/Countdown.js +20 -6
  23. package/dist/packages/_es/Countup.js +11 -11
  24. package/dist/packages/_es/DatePicker.js +11 -11
  25. package/dist/packages/_es/Dialog.js +3 -3
  26. package/dist/packages/_es/Drag.js +1 -1
  27. package/dist/packages/_es/Ecard.js +3 -3
  28. package/dist/packages/_es/Elevator.js +8 -8
  29. package/dist/packages/_es/Ellipsis.js +2 -2
  30. package/dist/packages/_es/FormItem.js +0 -1
  31. package/dist/packages/_es/GridItem.js +1 -1
  32. package/dist/packages/_es/Image.js +2 -2
  33. package/dist/packages/_es/ImagePreview.js +18 -18
  34. package/dist/packages/_es/InfiniteLoading.js +5 -5
  35. package/dist/packages/_es/Input.js +5 -5
  36. package/dist/packages/_es/Invoice.js +11 -5
  37. package/dist/packages/_es/List.js +11 -11
  38. package/dist/packages/_es/Menu.js +4 -4
  39. package/dist/packages/_es/MenuItem.js +11 -12
  40. package/dist/packages/_es/Navbar.js +21 -7
  41. package/dist/packages/_es/Noticebar.js +20 -14
  42. package/dist/packages/_es/Notify.js +3 -3
  43. package/dist/packages/_es/NumberKeyboard.js +10 -5
  44. package/dist/packages/_es/Overlay.js +3 -3
  45. package/dist/packages/_es/Picker.js +3 -3
  46. package/dist/packages/_es/Popover.js +9 -9
  47. package/dist/packages/_es/Popup.js +1 -1
  48. package/dist/packages/_es/PullRefresh.js +1 -1
  49. package/dist/packages/_es/Range.js +5 -5
  50. package/dist/packages/_es/Row.js +0 -1
  51. package/dist/packages/_es/Searchbar.js +10 -10
  52. package/dist/packages/_es/ShortPassword.js +14 -9
  53. package/dist/packages/_es/SideNavbar.js +2 -3
  54. package/dist/packages/_es/SideNavbarItem.js +2 -2
  55. package/dist/packages/_es/Signature.js +2 -2
  56. package/dist/packages/_es/Sku.js +38 -37
  57. package/dist/packages/_es/Step.js +1 -1
  58. package/dist/packages/_es/Steps.js +2 -2
  59. package/dist/packages/_es/Sticky.js +2 -2
  60. package/dist/packages/_es/SubSideNavbar.js +2 -2
  61. package/dist/packages/_es/Swipe.js +2 -2
  62. package/dist/packages/_es/SwipeGroup.js +2 -2
  63. package/dist/packages/_es/Swiper.js +4 -4
  64. package/dist/packages/_es/Switch.js +2 -2
  65. package/dist/packages/_es/Tabbar.js +2 -2
  66. package/dist/packages/_es/Table.js +6 -6
  67. package/dist/packages/_es/Tabs.js +13 -13
  68. package/dist/packages/_es/Textarea.js +3 -3
  69. package/dist/packages/_es/TimeDetail.js +1 -1
  70. package/dist/packages/_es/TimeSelect.js +3 -3
  71. package/dist/packages/_es/Tour.js +7 -7
  72. package/dist/packages/_es/Uploader.js +11 -11
  73. package/dist/packages/_es/Video.js +11 -11
  74. package/dist/packages/_es/{index-7fe29a2f.js → index-3032df15.js} +8 -9
  75. package/dist/packages/_es/{index-66fff386.js → index-7fdbc8f1.js} +13 -10
  76. package/dist/packages/circleprogress/index.scss +3 -1
  77. package/dist/packages/popover/index.scss +3 -1
  78. package/dist/packages/video/index.scss +4 -1
  79. package/dist/smartips/web-types.json +2 -2
  80. package/dist/style.css +1 -1
  81. package/dist/styles/themes/default.scss +42 -42
  82. package/dist/styles/themes/jdb.scss +42 -42
  83. package/dist/styles/themes/jddkh.scss +42 -42
  84. package/dist/styles/themes/jdt.scss +42 -42
  85. package/dist/styles/variables-jdb.scss +7 -1
  86. package/dist/styles/variables-jddkh.scss +7 -1
  87. package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
  88. package/dist/types/__VUE/address/index.vue.d.ts +3 -3
  89. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +60 -0
  90. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +23 -0
  91. package/dist/types/__VUE/addresslist/index.vue.d.ts +2 -2
  92. package/dist/types/__VUE/audio/index.vue.d.ts +3 -3
  93. package/dist/types/__VUE/calendar/index.vue.d.ts +9 -0
  94. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +77 -0
  95. package/dist/types/__VUE/collapseitem/index.vue.d.ts +3 -3
  96. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +42 -0
  97. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +36 -0
  98. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +59 -0
  99. package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
  100. package/dist/types/__VUE/configprovider/common.d.ts +19 -0
  101. package/dist/types/__VUE/countdown/index.vue.d.ts +7 -4
  102. package/dist/types/__VUE/countup/index.vue.d.ts +3 -3
  103. package/dist/types/__VUE/datepicker/index.vue.d.ts +3 -3
  104. package/dist/types/__VUE/elevator/index.vue.d.ts +3 -3
  105. package/dist/types/__VUE/empty/index.vue.d.ts +1 -1
  106. package/dist/types/__VUE/formitem/index.vue.d.ts +2 -4
  107. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  108. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +126 -0
  109. package/dist/types/__VUE/imagepreview/index.vue.d.ts +3 -3
  110. package/dist/types/__VUE/indicator/index.vue.d.ts +1 -0
  111. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +3 -3
  112. package/dist/types/__VUE/input/index.vue.d.ts +3 -3
  113. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  114. package/dist/types/__VUE/invoice/index.vue.d.ts +3 -2
  115. package/dist/types/__VUE/list/index.vue.d.ts +4 -4
  116. package/dist/types/__VUE/navbar/index.vue.d.ts +9 -5
  117. package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
  118. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +13 -4
  119. package/dist/types/__VUE/picker/Column.vue.d.ts +134 -0
  120. package/dist/types/__VUE/picker/common.d.ts +484 -4
  121. package/dist/types/__VUE/picker/index.vue.d.ts +125 -5
  122. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  123. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  124. package/dist/types/__VUE/range/index.vue.d.ts +8 -7
  125. package/dist/types/__VUE/rate/index.vue.d.ts +5 -5
  126. package/dist/types/__VUE/row/index.vue.d.ts +2 -2
  127. package/dist/types/__VUE/searchbar/index.vue.d.ts +7 -7
  128. package/dist/types/__VUE/shortpassword/index.vue.d.ts +9 -0
  129. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +2 -2
  130. package/dist/types/__VUE/signature/index.vue.d.ts +1 -1
  131. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +17 -0
  132. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +60 -0
  133. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +25 -0
  134. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +56 -0
  135. package/dist/types/__VUE/sku/index.vue.d.ts +9 -9
  136. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  137. package/dist/types/__VUE/steps/index.vue.d.ts +2 -2
  138. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +2 -2
  139. package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
  140. package/dist/types/__VUE/tabbar/index.vue.d.ts +2 -2
  141. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +3 -3
  142. package/dist/types/__VUE/table/common.d.ts +1 -1
  143. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  144. package/dist/types/__VUE/tag/index.vue.d.ts +3 -0
  145. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  146. package/dist/types/__VUE/toast/index.vue.d.ts +4 -4
  147. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  148. package/dist/types/index.d.ts +1 -1
  149. package/package.json +1 -1
@@ -148,7 +148,7 @@ const _sfc_main = create({
148
148
  "change",
149
149
  "delete",
150
150
  "update:fileList",
151
- "file-item-click"
151
+ "fileItemClick"
152
152
  ],
153
153
  setup(props, { emit }) {
154
154
  const fileList = ref(props.fileList);
@@ -176,7 +176,7 @@ const _sfc_main = create({
176
176
  el.value = "";
177
177
  };
178
178
  const fileItemClick = (fileItem) => {
179
- emit("file-item-click", { fileItem });
179
+ emit("fileItemClick", { fileItem });
180
180
  };
181
181
  const executeUpload = (fileItem, index2) => {
182
182
  const uploadOption = new UploadOptions();
@@ -360,7 +360,7 @@ const _hoisted_4 = {
360
360
  };
361
361
  const _hoisted_5 = { class: "nut-uploader__preview__progress__msg" };
362
362
  const _hoisted_6 = ["onClick"];
363
- const _hoisted_7 = ["onClick", "src"];
363
+ const _hoisted_7 = ["src", "onClick"];
364
364
  const _hoisted_8 = {
365
365
  key: 3,
366
366
  class: "nut-uploader__preview-img__file"
@@ -392,8 +392,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
392
392
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fileList, (item, index2) => {
393
393
  var _a;
394
394
  return openBlock(), createElementBlock("view", {
395
- class: normalizeClass(["nut-uploader__preview", [_ctx.listType]]),
396
- key: item.uid
395
+ key: item.uid,
396
+ class: normalizeClass(["nut-uploader__preview", [_ctx.listType]])
397
397
  }, [
398
398
  _ctx.listType == "picture" && !_ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_3, [
399
399
  item.status != "success" ? (openBlock(), createElementBlock("view", _hoisted_4, [
@@ -421,12 +421,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
421
421
  ((_a = item == null ? void 0 : item.type) == null ? void 0 : _a.includes("image")) && item.url ? (openBlock(), createElementBlock("img", {
422
422
  key: 2,
423
423
  class: "nut-uploader__preview-img__c",
424
- onClick: ($event) => _ctx.fileItemClick(item),
425
- src: item.url
424
+ src: item.url,
425
+ onClick: ($event) => _ctx.fileItemClick(item)
426
426
  }, null, 8, _hoisted_7)) : (openBlock(), createElementBlock("view", _hoisted_8, [
427
427
  createElementVNode("view", {
428
- onClick: ($event) => _ctx.fileItemClick(item),
429
- class: "nut-uploader__preview-img__file__name"
428
+ class: "nut-uploader__preview-img__file__name",
429
+ onClick: ($event) => _ctx.fileItemClick(item)
430
430
  }, [
431
431
  createElementVNode("view", _hoisted_10, toDisplayString(item.name), 1)
432
432
  ], 8, _hoisted_9)
@@ -434,8 +434,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
434
434
  createElementVNode("view", _hoisted_11, toDisplayString(item.name), 1)
435
435
  ])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view", _hoisted_12, [
436
436
  createElementVNode("view", {
437
- onClick: ($event) => _ctx.fileItemClick(item),
438
- class: normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
437
+ class: normalizeClass(["nut-uploader__preview-img__file__name", [item.status]]),
438
+ onClick: ($event) => _ctx.fileItemClick(item)
439
439
  }, [
440
440
  createVNode(_component_Link, { class: "nut-uploader__preview-img__file__link" }),
441
441
  createElementVNode("view", _hoisted_14, toDisplayString(item.name), 1),
@@ -211,15 +211,15 @@ const _sfc_main = create({
211
211
  };
212
212
  const timeFormat = (t) => {
213
213
  var h = Math.floor(t / 3600);
214
- if (h < 10) {
214
+ if (+h < 10) {
215
215
  h = "0" + h;
216
216
  }
217
217
  var m = Math.floor(t % 3600 / 60);
218
- if (m < 10) {
218
+ if (+m < 10) {
219
219
  m = "0" + m;
220
220
  }
221
221
  var s = Math.round(t % 3600 % 60);
222
- if (s < 10) {
222
+ if (+s < 10) {
223
223
  s = "0" + s;
224
224
  }
225
225
  var str = "";
@@ -317,24 +317,24 @@ const _sfc_main = create({
317
317
  }
318
318
  });
319
319
  const _hoisted_1 = {
320
- class: "nut-video",
321
- ref: "videocon"
320
+ ref: "videocon",
321
+ class: "nut-video"
322
322
  };
323
323
  const _hoisted_2 = ["muted", "autoplay", "loop", "poster", "controls", "preload"];
324
324
  const _hoisted_3 = ["src", "type"];
325
325
  const _hoisted_4 = { class: "nut-video-controller__now" };
326
326
  const _hoisted_5 = { class: "nut-video-controller__progress" };
327
327
  const _hoisted_6 = {
328
- class: "nut-video-controller__progress-value",
329
- ref: "progressBar"
328
+ ref: "progressBar",
329
+ class: "nut-video-controller__progress-value"
330
330
  };
331
331
  const _hoisted_7 = /* @__PURE__ */ createElementVNode("div", { class: "nut-video-controller__ball-move" }, null, -1);
332
332
  const _hoisted_8 = [
333
333
  _hoisted_7
334
334
  ];
335
335
  const _hoisted_9 = {
336
- class: "nut-video-controller__played",
337
- ref: "playedBar"
336
+ ref: "playedBar",
337
+ class: "nut-video-controller__played"
338
338
  };
339
339
  const _hoisted_10 = { class: "nut-video-controller__total" };
340
340
  const _hoisted_11 = { class: "nut-video-error" };
@@ -359,14 +359,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
359
359
  ], 40, _hoisted_2),
360
360
  _ctx.showToolbox && !_ctx.isDisabled ? (openBlock(), createElementBlock("div", {
361
361
  key: 0,
362
- class: "nut-video-mask",
363
362
  ref: "touchMask",
363
+ class: "nut-video-mask",
364
364
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.play && _ctx.play(...args))
365
365
  }, null, 512)) : createCommentVNode("", true),
366
366
  _ctx.showToolbox && !_ctx.isDisabled ? withDirectives((openBlock(), createElementBlock("div", {
367
367
  key: 1,
368
- class: "nut-video-play-btn",
369
368
  ref: "palyBtn",
369
+ class: "nut-video-play-btn",
370
370
  onClick: _cache[2] || (_cache[2] = (...args) => _ctx.play && _ctx.play(...args))
371
371
  }, null, 512)), [
372
372
  [vShow, !_ctx.state.playing]
@@ -113,7 +113,7 @@ const _sfc_main = create({
113
113
  Close
114
114
  },
115
115
  props: popupProps,
116
- emits: ["click-pop", "click-close-icon", "open", "close", "opened", "closed", "click-overlay", "update:visible"],
116
+ emits: ["clickPop", "clickCloseIcon", "open", "close", "opened", "closed", "clickOverlay", "update:visible"],
117
117
  setup(props, { emit }) {
118
118
  const state = reactive({
119
119
  zIndex: props.zIndex,
@@ -160,15 +160,15 @@ const _sfc_main = create({
160
160
  }
161
161
  };
162
162
  const onClick = (e) => {
163
- emit("click-pop", e);
163
+ emit("clickPop", e);
164
164
  };
165
165
  const onClickCloseIcon = (e) => {
166
166
  e.stopPropagation();
167
- emit("click-close-icon", e);
167
+ emit("clickCloseIcon", e);
168
168
  emit("update:visible", false);
169
169
  };
170
170
  const onClickOverlay = (e) => {
171
- emit("click-overlay", e);
171
+ emit("clickOverlay", e);
172
172
  if (props.closeOnClickOverlay) {
173
173
  emit("update:visible", false);
174
174
  }
@@ -215,9 +215,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
215
215
  "lock-scroll": _ctx.lockScroll,
216
216
  duration: _ctx.duration,
217
217
  "overlay-class": _ctx.overlayClass,
218
- "overlay-style": _ctx.overlayStyle,
219
- onClick: _ctx.onClickOverlay
220
- }, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "overlay-class", "overlay-style", "onClick"])) : createCommentVNode("", true),
218
+ "overlay-style": _ctx.overlayStyle
219
+ }, _ctx.$attrs, { onClick: _ctx.onClickOverlay }), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "overlay-class", "overlay-style", "onClick"])) : createCommentVNode("", true),
221
220
  createVNode(Transition, {
222
221
  name: _ctx.transitionName,
223
222
  onAfterEnter: _ctx.onOpened,
@@ -232,8 +231,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
232
231
  _ctx.showSlot ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
233
232
  _ctx.closed ? (openBlock(), createElementBlock("view", {
234
233
  key: 1,
235
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
236
- class: normalizeClass(["nut-popup__close-icon", "nut-popup__close-icon--" + _ctx.closeIconPosition])
234
+ class: normalizeClass(["nut-popup__close-icon", "nut-popup__close-icon--" + _ctx.closeIconPosition]),
235
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args))
237
236
  }, [
238
237
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
239
238
  createVNode(_component_Close, { height: "12px" })
@@ -329,6 +329,9 @@ const _sfc_main = create({
329
329
  if (type == "range" && state.chooseData.length == 2 || type != "range") {
330
330
  let selectData = state.chooseData.slice(0);
331
331
  if (type == "week") {
332
+ if (state.chooseData.length !== 2) {
333
+ return;
334
+ }
332
335
  selectData = {
333
336
  weekDate: [handleWeekDate(state.chooseData[0]), handleWeekDate(state.chooseData[1])]
334
337
  };
@@ -824,12 +827,12 @@ const _hoisted_4 = {
824
827
  class: "nut-calendar__header-subtitle"
825
828
  };
826
829
  const _hoisted_5 = {
827
- class: "nut-calendar__weekdays",
828
- ref: "weeksPanel"
830
+ ref: "weeksPanel",
831
+ class: "nut-calendar__weekdays"
829
832
  };
830
833
  const _hoisted_6 = {
831
- class: "nut-calendar__panel",
832
- ref: "monthsPanel"
834
+ ref: "monthsPanel",
835
+ class: "nut-calendar__panel"
833
836
  };
834
837
  const _hoisted_7 = { class: "nut-calendar__month-title" };
835
838
  const _hoisted_8 = { class: "nut-calendar__days" };
@@ -871,27 +874,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
871
874
  createElementVNode("view", _hoisted_5, [
872
875
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.weeks, (item, index) => {
873
876
  return openBlock(), createElementBlock("view", {
874
- class: normalizeClass(["nut-calendar__weekday", { weekend: item.weekend }]),
875
- key: index
877
+ key: index,
878
+ class: normalizeClass(["nut-calendar__weekday", { weekend: item.weekend }])
876
879
  }, toDisplayString(item.day), 3);
877
880
  }), 128))
878
881
  ], 512)
879
882
  ]),
880
883
  createElementVNode("view", {
881
- class: "nut-calendar__content",
882
884
  ref: "months",
885
+ class: "nut-calendar__content",
883
886
  onScroll: _cache[0] || (_cache[0] = (...args) => _ctx.mothsViewScroll && _ctx.mothsViewScroll(...args))
884
887
  }, [
885
888
  createElementVNode("view", _hoisted_6, [
886
889
  createElementVNode("view", {
887
- class: "nut-calendar__body",
888
890
  ref: "viewArea",
891
+ class: "nut-calendar__body",
889
892
  style: normalizeStyle({ transform: `translateY(${_ctx.translateY}px)` })
890
893
  }, [
891
894
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.compConthsData, (month, index) => {
892
895
  return openBlock(), createElementBlock("view", {
893
- class: "nut-calendar__month",
894
- key: index
896
+ key: index,
897
+ class: "nut-calendar__month"
895
898
  }, [
896
899
  createElementVNode("view", _hoisted_7, toDisplayString(month.title), 1),
897
900
  createElementVNode("view", _hoisted_8, [
@@ -9,7 +9,9 @@
9
9
 
10
10
  &__hover {
11
11
  stroke: $circleprogress-primary-color;
12
- transition: stroke-dasharray 0.6s ease 0s, stroke 0.6s ease 0s;
12
+ transition:
13
+ stroke-dasharray 0.6s ease 0s,
14
+ stroke 0.6s ease 0s;
13
15
  }
14
16
 
15
17
  &__path {
@@ -96,7 +96,9 @@
96
96
  color: #333;
97
97
  box-shadow: 0 2px 12px #3232331f;
98
98
  opacity: 1;
99
- transition: opacity 0.15s, transform 0.15s;
99
+ transition:
100
+ opacity 0.15s,
101
+ transform 0.15s;
100
102
  max-height: initial;
101
103
  overflow-y: initial;
102
104
 
@@ -37,7 +37,10 @@
37
37
  border: 0;
38
38
  background-color: rgba(0, 0, 0, 0.45);
39
39
  color: #fff;
40
- transition: border-color 0.4s, outline 0.4s, background-color 0.4s;
40
+ transition:
41
+ border-color 0.4s,
42
+ outline 0.4s,
43
+ background-color 0.4s;
41
44
  position: absolute;
42
45
  top: 50%;
43
46
  left: 50%;
@@ -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.1.4",
5
+ "version": "4.1.5-beta.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -1511,7 +1511,7 @@
1511
1511
  {
1512
1512
  "name": "time",
1513
1513
  "default": "`0`",
1514
- "description": "倒计时显示时间,单位是毫秒。`autoStart` 为 `false` 时生效",
1514
+ "description": "倒计时显示时间,单位是毫秒。`auto-start` 为 `false` 时生效",
1515
1515
  "value": {
1516
1516
  "type": "string | number",
1517
1517
  "kind": "expression"