@mdsfe/mds-ui 0.4.9 → 0.4.11-0

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 (137) hide show
  1. package/CHANGELOG.md +1089 -0
  2. package/dist/affix.js +26 -21
  3. package/dist/alert.js +26 -21
  4. package/dist/anchor.js +41 -33
  5. package/dist/avatar.js +26 -21
  6. package/dist/backtop.js +36 -28
  7. package/dist/badge.js +31 -26
  8. package/dist/bordershadow.js +26 -21
  9. package/dist/breadcrumb.js +41 -33
  10. package/dist/button.js +41 -33
  11. package/dist/card.js +41 -33
  12. package/dist/carousel.js +41 -33
  13. package/dist/cascader.js +74 -57
  14. package/dist/cascaderpanel.js +51 -40
  15. package/dist/checkbox.js +41 -33
  16. package/dist/col.js +41 -33
  17. package/dist/collapse.js +41 -33
  18. package/dist/color.js +26 -21
  19. package/dist/datepicker.js +189 -148
  20. package/dist/divider.js +26 -21
  21. package/dist/drawer.js +27 -21
  22. package/dist/dropdown.js +61 -35
  23. package/dist/empty.js +26 -21
  24. package/dist/font/iconfont.6287649.ttf +1 -0
  25. package/dist/font/iconfont.badd670.woff +1 -0
  26. package/dist/font/iconfont.c1b8fe0.woff2 +1 -0
  27. package/dist/font.js +26 -21
  28. package/dist/form.js +41 -33
  29. package/dist/icon.js +26 -21
  30. package/dist/index.js +15 -19
  31. package/dist/input.js +57 -43
  32. package/dist/inputnumber.js +26 -21
  33. package/dist/layout.js +86 -69
  34. package/dist/list.js +41 -33
  35. package/dist/loading.js +26 -21
  36. package/dist/mds-ui.common.css +7 -0
  37. package/dist/mds-ui.common.js +1 -0
  38. package/dist/mds-ui.min.css +1 -1
  39. package/dist/mds-ui.min.js +1 -71200
  40. package/dist/menu.js +71 -57
  41. package/dist/message.js +56 -45
  42. package/dist/modal.js +36 -21
  43. package/dist/notification.js +46 -38
  44. package/dist/pagination.js +56 -45
  45. package/dist/popconfirm.js +1 -1
  46. package/dist/popover.js +26 -21
  47. package/dist/progress.js +57 -46
  48. package/dist/radio.js +44 -36
  49. package/dist/rate.js +41 -33
  50. package/dist/row.js +41 -33
  51. package/dist/select.js +81 -64
  52. package/dist/slider.js +45 -37
  53. package/dist/slottable.js +39 -31
  54. package/dist/steps.js +1 -1
  55. package/dist/style/affix.js +1 -0
  56. package/dist/style/alert.js +1 -0
  57. package/dist/style/anchor.js +1 -0
  58. package/dist/style/avatar.js +1 -0
  59. package/dist/style/backtop.js +1 -0
  60. package/dist/style/badge.css +2 -2
  61. package/dist/style/badge.js +1 -0
  62. package/dist/style/base.css +1 -1
  63. package/dist/style/base.js +1 -0
  64. package/dist/style/bordershadow.js +1 -0
  65. package/dist/style/breadcrumb.js +1 -0
  66. package/dist/style/button.js +1 -0
  67. package/dist/style/card.js +1 -0
  68. package/dist/style/carousel.js +1 -0
  69. package/dist/style/cascader.js +1 -0
  70. package/dist/style/cascaderpanel.js +1 -0
  71. package/dist/style/checkbox.css +9 -5
  72. package/dist/style/checkbox.js +1 -0
  73. package/dist/style/col.js +1 -0
  74. package/dist/style/collapse.js +1 -0
  75. package/dist/style/color.js +1 -0
  76. package/dist/style/datepicker.js +1 -0
  77. package/dist/style/divider.js +1 -0
  78. package/dist/style/drawer.js +1 -0
  79. package/dist/style/dropdown.js +1 -0
  80. package/dist/style/empty.js +1 -0
  81. package/dist/style/font.js +1 -0
  82. package/dist/style/form.js +1 -0
  83. package/dist/style/icon.css +1 -1
  84. package/dist/style/icon.js +1 -0
  85. package/dist/style/index.css +1 -1
  86. package/dist/style/index.js +1 -0
  87. package/dist/style/input.js +1 -0
  88. package/dist/style/inputnumber.js +1 -0
  89. package/dist/style/layout.js +1 -0
  90. package/dist/style/list.js +1 -0
  91. package/dist/style/loading.js +1 -0
  92. package/dist/style/menu.js +1 -0
  93. package/dist/style/message.js +1 -0
  94. package/dist/style/modal.js +1 -0
  95. package/dist/style/notification.css +4 -4
  96. package/dist/style/notification.js +1 -0
  97. package/dist/style/pagination.js +1 -0
  98. package/dist/style/popconfirm.js +1 -0
  99. package/dist/style/popover.js +1 -0
  100. package/dist/style/progress.js +1 -0
  101. package/dist/style/radio.js +1 -0
  102. package/dist/style/rate.css +3 -3
  103. package/dist/style/rate.js +1 -0
  104. package/dist/style/row.js +1 -0
  105. package/dist/style/select.js +1 -0
  106. package/dist/style/slider.js +1 -0
  107. package/dist/style/slottable.js +1 -0
  108. package/dist/style/steps.js +1 -0
  109. package/dist/style/switch.js +1 -0
  110. package/dist/style/table.css +9 -5
  111. package/dist/style/table.js +1 -0
  112. package/dist/style/tabs.js +1 -0
  113. package/dist/style/tag.js +1 -0
  114. package/dist/style/text.js +1 -0
  115. package/dist/style/timeline.js +1 -0
  116. package/dist/style/timepicker.js +1 -0
  117. package/dist/style/tooltip.js +1 -0
  118. package/dist/style/transfer.css +3 -3
  119. package/dist/style/transfer.js +1 -0
  120. package/dist/style/transition.js +1 -0
  121. package/dist/style/tree.js +1 -0
  122. package/dist/style/typography.js +1 -0
  123. package/dist/style/upload.js +1 -0
  124. package/dist/switch.js +26 -21
  125. package/dist/table.js +171 -136
  126. package/dist/tabs.js +103 -77
  127. package/dist/tag.js +26 -21
  128. package/dist/text.js +66 -52
  129. package/dist/timeline.js +41 -33
  130. package/dist/timepicker.js +68 -51
  131. package/dist/tooltip.js +1 -1
  132. package/dist/transfer.js +56 -45
  133. package/dist/transition.js +1 -1
  134. package/dist/tree.js +109 -101
  135. package/dist/typography.js +41 -33
  136. package/dist/upload.js +94 -74
  137. package/package.json +10 -9
@@ -0,0 +1 @@
1
+ require('./index.css')
@@ -0,0 +1 @@
1
+ require('./input.css')
@@ -0,0 +1 @@
1
+ require('./inputnumber.css')
@@ -0,0 +1 @@
1
+ require('./layout.css')
@@ -0,0 +1 @@
1
+ require('./list.css')
@@ -0,0 +1 @@
1
+ require('./loading.css')
@@ -0,0 +1 @@
1
+ require('./menu.css')
@@ -0,0 +1 @@
1
+ require('./message.css')
@@ -0,0 +1 @@
1
+ require('./modal.css')
@@ -1,16 +1,16 @@
1
- .mds-notification-topLeft[data-v-d94bfa66] {
1
+ .mds-notification-topLeft[data-v-0f7fb0e2] {
2
2
  top: 24px;
3
3
  left: 0;
4
4
  }
5
- .mds-notification-topRight[data-v-d94bfa66] {
5
+ .mds-notification-topRight[data-v-0f7fb0e2] {
6
6
  top: 24px;
7
7
  right: 0;
8
8
  }
9
- .mds-notification-bottomLeft[data-v-d94bfa66] {
9
+ .mds-notification-bottomLeft[data-v-0f7fb0e2] {
10
10
  bottom: 24px;
11
11
  left: 0;
12
12
  }
13
- .mds-notification-bottomRight[data-v-d94bfa66] {
13
+ .mds-notification-bottomRight[data-v-0f7fb0e2] {
14
14
  bottom: 24px;
15
15
  right: 0;
16
16
  }
@@ -0,0 +1 @@
1
+ require('./notification.css')
@@ -0,0 +1 @@
1
+ require('./pagination.css')
@@ -0,0 +1 @@
1
+ require('./popconfirm.css')
@@ -0,0 +1 @@
1
+ require('./popover.css')
@@ -0,0 +1 @@
1
+ require('./progress.css')
@@ -0,0 +1 @@
1
+ require('./radio.css')
@@ -63,15 +63,15 @@
63
63
  .mds-rate-star-half i {
64
64
  width: 18px;
65
65
  height: 18px;
66
- background-image: url(/dist/font/zero-star.177c19c.png);
66
+ background-image: url(../font/zero-star.177c19c.png);
67
67
  background-repeat: no-repeat;
68
68
  background-size: contain;
69
69
  }
70
70
  .mds-rate-star-full i {
71
- background-image: url(/dist/font/full-star.b5fdf00.png);
71
+ background-image: url(../font/full-star.b5fdf00.png);
72
72
  }
73
73
  .mds-rate-star-half i {
74
- background-image: url(/dist/font/half-star.2625512.png);
74
+ background-image: url(../font/half-star.2625512.png);
75
75
  }
76
76
  .mds-rate-text {
77
77
  color: #333;
@@ -0,0 +1 @@
1
+ require('./rate.css')
@@ -0,0 +1 @@
1
+ require('./row.css')
@@ -0,0 +1 @@
1
+ require('./select.css')
@@ -0,0 +1 @@
1
+ require('./slider.css')
@@ -0,0 +1 @@
1
+ require('./slottable.css')
@@ -0,0 +1 @@
1
+ require('./steps.css')
@@ -0,0 +1 @@
1
+ require('./switch.css')
@@ -2230,8 +2230,10 @@
2230
2230
  .mds-checkbox-inner:after {
2231
2231
  transform: rotate(45deg) scale(0);
2232
2232
  position: absolute;
2233
- left: 4.3px;
2234
- top: 1px;
2233
+ left: 50%;
2234
+ top: 50%;
2235
+ margin-left: -3px;
2236
+ margin-top: -6px;
2235
2237
  display: block;
2236
2238
  width: 6px;
2237
2239
  height: 10px;
@@ -2259,10 +2261,12 @@
2259
2261
  }
2260
2262
  .mds-checkbox-indeterminate .mds-checkbox-inner:after {
2261
2263
  content: '';
2262
- transform: scale(1);
2264
+ transform: translate(-50%, -50%) scale(1);
2263
2265
  position: absolute;
2264
- left: 2.85714286px;
2265
- top: 2.85714286px;
2266
+ left: 50%;
2267
+ top: 50%;
2268
+ margin-left: 0;
2269
+ margin-top: 0;
2266
2270
  width: 10.28571429px;
2267
2271
  height: 10.28571429px;
2268
2272
  background: #0364FF;
@@ -0,0 +1 @@
1
+ require('./table.css')
@@ -0,0 +1 @@
1
+ require('./tabs.css')
@@ -0,0 +1 @@
1
+ require('./tag.css')
@@ -0,0 +1 @@
1
+ require('./text.css')
@@ -0,0 +1 @@
1
+ require('./timeline.css')
@@ -0,0 +1 @@
1
+ require('./timepicker.css')
@@ -0,0 +1 @@
1
+ require('./tooltip.css')
@@ -194,13 +194,13 @@
194
194
  flex-direction: column;
195
195
  gap: 0;
196
196
  }
197
- .mds-checkbox-wrapper {
197
+ .mds-transfer-extra .mds-checkbox-wrapper {
198
198
  display: flex;
199
199
  align-items: center;
200
200
  }
201
- .mds-checkbox-wrapper:hover {
201
+ .mds-transfer-extra .mds-checkbox-wrapper:hover {
202
202
  background-color: #f5f7fa;
203
203
  }
204
- .mds-checkbox-wrapper .mds-checkbox[disabled] + span {
204
+ .mds-transfer-extra .mds-checkbox-wrapper .mds-checkbox[disabled] + span {
205
205
  color: #d8dce6;
206
206
  }
@@ -0,0 +1 @@
1
+ require('./transfer.css')
@@ -0,0 +1 @@
1
+ require('./transition.css')
@@ -0,0 +1 @@
1
+ require('./tree.css')
@@ -0,0 +1 @@
1
+ require('./typography.css')
@@ -0,0 +1 @@
1
+ require('./upload.css')
package/dist/switch.js CHANGED
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
87
87
  /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
88
  /******/
89
89
  /******/ // __webpack_public_path__
90
- /******/ __webpack_require__.p = "/dist/";
90
+ /******/ __webpack_require__.p = "";
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
@@ -107,19 +107,20 @@ return /******/ (function(modules) { // webpackBootstrap
107
107
  // This module is a runtime utility for cleaner component module output and will
108
108
  // be included in the final webpack user bundle.
109
109
 
110
- function normalizeComponent(
110
+ function normalizeComponent (
111
111
  scriptExports,
112
112
  render,
113
113
  staticRenderFns,
114
114
  functionalTemplate,
115
115
  injectStyles,
116
116
  scopeId,
117
- moduleIdentifier /* server only */,
117
+ moduleIdentifier, /* server only */
118
118
  shadowMode /* vue-cli only */
119
119
  ) {
120
120
  // Vue.extend constructor export interop
121
- var options =
122
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
121
+ var options = typeof scriptExports === 'function'
122
+ ? scriptExports.options
123
+ : scriptExports
123
124
 
124
125
  // render functions
125
126
  if (render) {
@@ -139,8 +140,7 @@ function normalizeComponent(
139
140
  }
140
141
 
141
142
  var hook
142
- if (moduleIdentifier) {
143
- // server build
143
+ if (moduleIdentifier) { // server build
144
144
  hook = function (context) {
145
145
  // 2.3 injection
146
146
  context =
@@ -166,11 +166,11 @@ function normalizeComponent(
166
166
  } else if (injectStyles) {
167
167
  hook = shadowMode
168
168
  ? function () {
169
- injectStyles.call(
170
- this,
171
- (options.functional ? this.parent : this).$root.$options.shadowRoot
172
- )
173
- }
169
+ injectStyles.call(
170
+ this,
171
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
172
+ )
173
+ }
174
174
  : injectStyles
175
175
  }
176
176
 
@@ -181,14 +181,16 @@ function normalizeComponent(
181
181
  options._injectStyles = hook
182
182
  // register for functional component in vue file
183
183
  var originalRender = options.render
184
- options.render = function renderWithStyleInjection(h, context) {
184
+ options.render = function renderWithStyleInjection (h, context) {
185
185
  hook.call(context)
186
186
  return originalRender(h, context)
187
187
  }
188
188
  } else {
189
189
  // inject component registration as beforeCreate hook
190
190
  var existing = options.beforeCreate
191
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
191
+ options.beforeCreate = existing
192
+ ? [].concat(existing, hook)
193
+ : [hook]
192
194
  }
193
195
  }
194
196
 
@@ -217,7 +219,7 @@ var style = __webpack_require__(225);
217
219
  // CONCATENATED MODULE: ./components/switch/style/index.js
218
220
 
219
221
 
220
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=template&id=2b70c022
222
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=template&id=0eee4dc4&
221
223
  var render = function () {
222
224
  var _vm = this
223
225
  var _h = _vm.$createElement
@@ -251,7 +253,7 @@ var staticRenderFns = []
251
253
  render._withStripped = true
252
254
 
253
255
 
254
- // CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=2b70c022
256
+ // CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=0eee4dc4&
255
257
 
256
258
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
257
259
  var defineProperty_ = __webpack_require__(3);
@@ -263,7 +265,7 @@ var proptype_ = __webpack_require__(8);
263
265
  // EXTERNAL MODULE: external "./_util/util"
264
266
  var util_ = __webpack_require__(22);
265
267
 
266
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=script&lang=js
268
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=script&lang=js&
267
269
 
268
270
  //
269
271
  //
@@ -287,7 +289,7 @@ var util_ = __webpack_require__(22);
287
289
 
288
290
 
289
291
 
290
- /* harmony default export */ var switchvue_type_script_lang_js = ({
292
+ /* harmony default export */ var switchvue_type_script_lang_js_ = ({
291
293
  name: 'MdsSwitch',
292
294
  model: {
293
295
  prop: 'checked',
@@ -367,8 +369,8 @@ var util_ = __webpack_require__(22);
367
369
  this.state = this.checked === this.onValue;
368
370
  }
369
371
  });
370
- // CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js
371
- /* harmony default export */ var switch_switchvue_type_script_lang_js = (switchvue_type_script_lang_js);
372
+ // CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js&
373
+ /* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
372
374
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
373
375
  var componentNormalizer = __webpack_require__(0);
374
376
 
@@ -381,7 +383,7 @@ var componentNormalizer = __webpack_require__(0);
381
383
  /* normalize component */
382
384
 
383
385
  var component = Object(componentNormalizer["a" /* default */])(
384
- switch_switchvue_type_script_lang_js,
386
+ switch_switchvue_type_script_lang_js_,
385
387
  render,
386
388
  staticRenderFns,
387
389
  false,
@@ -391,6 +393,9 @@ var component = Object(componentNormalizer["a" /* default */])(
391
393
 
392
394
  )
393
395
 
396
+ /* hot reload */
397
+ if (false) { var api; }
398
+ component.options.__file = "components/switch/switch.vue"
394
399
  /* harmony default export */ var switch_switch = (component.exports);
395
400
  // CONCATENATED MODULE: ./components/switch/index.js
396
401