@mdsfe/mds-ui 0.2.9 → 0.2.10-rc.10

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 (120) hide show
  1. package/dist/_util/iconfont/index.js +38 -0
  2. package/dist/affix.js +8 -8
  3. package/dist/alert.js +476 -0
  4. package/dist/anchor.js +5 -5
  5. package/dist/avatar.js +8 -8
  6. package/dist/backtop.js +9 -9
  7. package/dist/badge.js +17 -17
  8. package/dist/bordershadow.js +2 -2
  9. package/dist/breadcrumb.js +4 -4
  10. package/dist/button.js +10 -10
  11. package/dist/card.js +4 -4
  12. package/dist/carousel.js +67 -67
  13. package/dist/cascader.js +33 -33
  14. package/dist/cascaderpanel.js +20 -20
  15. package/dist/checkbox.js +4 -4
  16. package/dist/col.js +3 -3
  17. package/dist/collapse.js +4 -4
  18. package/dist/color.js +4 -4
  19. package/dist/datepicker.js +234 -234
  20. package/dist/divider.js +2 -2
  21. package/dist/drawer.js +8 -8
  22. package/dist/dropdown.js +17 -17
  23. package/dist/empty.js +8 -8
  24. package/dist/font/{iconfont.28359fa.ttf → iconfont.22ef8cb.ttf} +0 -0
  25. package/dist/font/iconfont.8bd7c3e.woff2 +0 -0
  26. package/dist/font/iconfont.c5d3297.woff +0 -0
  27. package/dist/font.js +4 -4
  28. package/dist/form.js +8 -8
  29. package/dist/icon.js +17 -63
  30. package/dist/index.js +1 -1
  31. package/dist/input.js +13 -13
  32. package/dist/inputnumber.js +8 -8
  33. package/dist/layout.js +10 -10
  34. package/dist/list.js +8 -8
  35. package/dist/loading.js +2 -2
  36. package/dist/mds-ui.min.css +1 -1
  37. package/dist/mds-ui.min.js +909 -743
  38. package/dist/menu.js +17 -17
  39. package/dist/message.js +8 -8
  40. package/dist/modal.js +8 -8
  41. package/dist/notification.js +12 -12
  42. package/dist/pagination.js +49 -24
  43. package/dist/popconfirm.js +17 -17
  44. package/dist/popover.js +6 -6
  45. package/dist/progress.js +10 -208
  46. package/dist/radio.js +8 -8
  47. package/dist/rate.js +33 -213
  48. package/dist/row.js +3 -3
  49. package/dist/select.js +32 -32
  50. package/dist/slider.js +23 -23
  51. package/dist/slottable.js +22 -22
  52. package/dist/steps.js +6 -6
  53. package/dist/style/affix.css +295 -1
  54. package/dist/style/alert.css +6168 -0
  55. package/dist/style/anchor.css +295 -1
  56. package/dist/style/avatar.css +295 -1
  57. package/dist/style/badge.css +295 -1
  58. package/dist/style/bordershadow.css +295 -1
  59. package/dist/style/breadcrumb.css +295 -1
  60. package/dist/style/button.css +295 -1
  61. package/dist/style/card.css +295 -1
  62. package/dist/style/carousel.css +295 -1
  63. package/dist/style/checkbox.css +295 -1
  64. package/dist/style/col.css +295 -1
  65. package/dist/style/collapse.css +295 -1
  66. package/dist/style/color.css +295 -1
  67. package/dist/style/datepicker.css +295 -1
  68. package/dist/style/divider.css +295 -1
  69. package/dist/style/drawer.css +295 -1
  70. package/dist/style/dropdown.css +295 -1
  71. package/dist/style/empty.css +295 -1
  72. package/dist/style/font.css +295 -1
  73. package/dist/style/form.css +295 -1
  74. package/dist/style/icon.css +295 -1
  75. package/dist/style/input.css +295 -1
  76. package/dist/style/inputnumber.css +295 -1
  77. package/dist/style/layout.css +295 -1
  78. package/dist/style/list.css +295 -1
  79. package/dist/style/loading.css +295 -1
  80. package/dist/style/menu.css +295 -1
  81. package/dist/style/modal.css +295 -1
  82. package/dist/style/notification.css +295 -1
  83. package/dist/style/pagination.css +295 -1
  84. package/dist/style/popconfirm.css +295 -1
  85. package/dist/style/popover.css +295 -1
  86. package/dist/style/progress.css +295 -23
  87. package/dist/style/radio.css +295 -1
  88. package/dist/style/rate.css +295 -23
  89. package/dist/style/row.css +295 -1
  90. package/dist/style/select.css +295 -1
  91. package/dist/style/slider.css +295 -1
  92. package/dist/style/slottable.css +295 -1
  93. package/dist/style/steps.css +295 -1
  94. package/dist/style/switch.css +295 -1
  95. package/dist/style/table.css +295 -23
  96. package/dist/style/tabs.css +295 -1
  97. package/dist/style/tag.css +295 -1
  98. package/dist/style/text.css +295 -1
  99. package/dist/style/timeline.css +295 -1
  100. package/dist/style/timepicker.css +295 -1
  101. package/dist/style/tooltip.css +295 -1
  102. package/dist/style/tree.css +295 -1
  103. package/dist/style/typography.css +295 -1
  104. package/dist/style/upload.css +295 -1
  105. package/dist/switch.js +6 -6
  106. package/dist/table.js +72 -252
  107. package/dist/tabs.js +11 -11
  108. package/dist/tag.js +8 -8
  109. package/dist/text.js +10 -10
  110. package/dist/timeline.js +4 -4
  111. package/dist/timepicker.js +11 -11
  112. package/dist/tooltip.js +9 -9
  113. package/dist/transfer.js +13 -13
  114. package/dist/transition.js +2 -2
  115. package/dist/tree.js +78 -78
  116. package/dist/typography.js +4 -4
  117. package/dist/upload.js +8 -8
  118. package/package.json +10 -4
  119. package/dist/font/iconfont.486e3d3.woff2 +0 -0
  120. package/dist/font/iconfont.675049e.woff +0 -0
package/dist/tree.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./icon"), require("./transition"), require("./checkbox")) : factory(root["./icon"], root["./transition"], root["./checkbox"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__36__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__35__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 100);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 98);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,77 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 100:
206
+ /***/ 11:
207
+ /***/ (function(module, exports) {
208
+
209
+ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
210
+
211
+ /***/ }),
212
+
213
+ /***/ 139:
214
+ /***/ (function(module, exports) {
215
+
216
+ // removed by extract-text-webpack-plugin
217
+
218
+ /***/ }),
219
+
220
+ /***/ 23:
221
+ /***/ (function(module, exports) {
222
+
223
+ module.exports = require("babel-runtime/core-js/get-iterator");
224
+
225
+ /***/ }),
226
+
227
+ /***/ 238:
228
+ /***/ (function(module, exports) {
229
+
230
+ // removed by extract-text-webpack-plugin
231
+
232
+ /***/ }),
233
+
234
+ /***/ 30:
235
+ /***/ (function(module, exports) {
236
+
237
+ module.exports = require("babel-runtime/core-js/map");
238
+
239
+ /***/ }),
240
+
241
+ /***/ 33:
242
+ /***/ (function(module, exports) {
243
+
244
+ module.exports = require("babel-runtime/helpers/classCallCheck");
245
+
246
+ /***/ }),
247
+
248
+ /***/ 34:
249
+ /***/ (function(module, exports) {
250
+
251
+ module.exports = require("babel-runtime/helpers/createClass");
252
+
253
+ /***/ }),
254
+
255
+ /***/ 35:
256
+ /***/ (function(module, exports) {
257
+
258
+ module.exports = __WEBPACK_EXTERNAL_MODULE__35__;
259
+
260
+ /***/ }),
261
+
262
+ /***/ 7:
263
+ /***/ (function(module, exports) {
264
+
265
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
266
+
267
+ /***/ }),
268
+
269
+ /***/ 9:
270
+ /***/ (function(module, exports) {
271
+
272
+ module.exports = require("babel-runtime/helpers/typeof");
273
+
274
+ /***/ }),
275
+
276
+ /***/ 98:
207
277
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
278
 
209
279
  "use strict";
@@ -214,7 +284,7 @@ __webpack_require__.r(__webpack_exports__);
214
284
  var style = __webpack_require__(139);
215
285
 
216
286
  // EXTERNAL MODULE: ./components/tree/style/index.less
217
- var tree_style = __webpack_require__(236);
287
+ var tree_style = __webpack_require__(238);
218
288
 
219
289
  // CONCATENATED MODULE: ./components/tree/style/index.js
220
290
 
@@ -288,11 +358,11 @@ var typeof_ = __webpack_require__(9);
288
358
  var typeof_default = /*#__PURE__*/__webpack_require__.n(typeof_);
289
359
 
290
360
  // EXTERNAL MODULE: external "babel-runtime/helpers/classCallCheck"
291
- var classCallCheck_ = __webpack_require__(34);
361
+ var classCallCheck_ = __webpack_require__(33);
292
362
  var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck_);
293
363
 
294
364
  // EXTERNAL MODULE: external "babel-runtime/helpers/createClass"
295
- var createClass_ = __webpack_require__(35);
365
+ var createClass_ = __webpack_require__(34);
296
366
  var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass_);
297
367
 
298
368
  // CONCATENATED MODULE: ./components/_util/tree/node.js
@@ -1379,11 +1449,11 @@ tree_itemvue_type_template_id_7faeb42c_render._withStripped = true
1379
1449
  // CONCATENATED MODULE: ./components/tree/tree-item.vue?vue&type=template&id=7faeb42c&
1380
1450
 
1381
1451
  // EXTERNAL MODULE: external "./icon"
1382
- var external_icon_ = __webpack_require__(8);
1452
+ var external_icon_ = __webpack_require__(7);
1383
1453
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
1384
1454
 
1385
1455
  // EXTERNAL MODULE: external "./checkbox"
1386
- var external_checkbox_ = __webpack_require__(36);
1456
+ var external_checkbox_ = __webpack_require__(35);
1387
1457
  var external_checkbox_default = /*#__PURE__*/__webpack_require__.n(external_checkbox_);
1388
1458
 
1389
1459
  // EXTERNAL MODULE: external "./transition"
@@ -1935,76 +2005,6 @@ tree.install = function (Vue) {
1935
2005
  };
1936
2006
  /* harmony default export */ var components_tree = __webpack_exports__["default"] = (tree);
1937
2007
 
1938
- /***/ }),
1939
-
1940
- /***/ 11:
1941
- /***/ (function(module, exports) {
1942
-
1943
- module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
1944
-
1945
- /***/ }),
1946
-
1947
- /***/ 139:
1948
- /***/ (function(module, exports) {
1949
-
1950
- // removed by extract-text-webpack-plugin
1951
-
1952
- /***/ }),
1953
-
1954
- /***/ 23:
1955
- /***/ (function(module, exports) {
1956
-
1957
- module.exports = require("babel-runtime/core-js/get-iterator");
1958
-
1959
- /***/ }),
1960
-
1961
- /***/ 236:
1962
- /***/ (function(module, exports) {
1963
-
1964
- // removed by extract-text-webpack-plugin
1965
-
1966
- /***/ }),
1967
-
1968
- /***/ 30:
1969
- /***/ (function(module, exports) {
1970
-
1971
- module.exports = require("babel-runtime/core-js/map");
1972
-
1973
- /***/ }),
1974
-
1975
- /***/ 34:
1976
- /***/ (function(module, exports) {
1977
-
1978
- module.exports = require("babel-runtime/helpers/classCallCheck");
1979
-
1980
- /***/ }),
1981
-
1982
- /***/ 35:
1983
- /***/ (function(module, exports) {
1984
-
1985
- module.exports = require("babel-runtime/helpers/createClass");
1986
-
1987
- /***/ }),
1988
-
1989
- /***/ 36:
1990
- /***/ (function(module, exports) {
1991
-
1992
- module.exports = __WEBPACK_EXTERNAL_MODULE__36__;
1993
-
1994
- /***/ }),
1995
-
1996
- /***/ 8:
1997
- /***/ (function(module, exports) {
1998
-
1999
- module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
2000
-
2001
- /***/ }),
2002
-
2003
- /***/ 9:
2004
- /***/ (function(module, exports) {
2005
-
2006
- module.exports = require("babel-runtime/helpers/typeof");
2007
-
2008
2008
  /***/ })
2009
2009
 
2010
2010
  /******/ });
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 116);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 114);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 116:
206
+ /***/ 114:
207
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
208
 
209
209
  "use strict";
@@ -214,7 +214,7 @@ __webpack_require__.r(__webpack_exports__);
214
214
  var style = __webpack_require__(139);
215
215
 
216
216
  // EXTERNAL MODULE: ./components/typography/style/index.less
217
- var typography_style = __webpack_require__(262);
217
+ var typography_style = __webpack_require__(264);
218
218
 
219
219
  // CONCATENATED MODULE: ./components/typography/style/index.js
220
220
 
@@ -458,7 +458,7 @@ typography.install = function (Vue) {
458
458
 
459
459
  /***/ }),
460
460
 
461
- /***/ 262:
461
+ /***/ 264:
462
462
  /***/ (function(module, exports) {
463
463
 
464
464
  // removed by extract-text-webpack-plugin
package/dist/upload.js CHANGED
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 88);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 86);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -217,7 +217,7 @@ module.exports = require("babel-runtime/core-js/object/keys");
217
217
 
218
218
  /***/ }),
219
219
 
220
- /***/ 159:
220
+ /***/ 161:
221
221
  /***/ (function(module, exports) {
222
222
 
223
223
  // removed by extract-text-webpack-plugin
@@ -238,7 +238,7 @@ module.exports = require("babel-runtime/helpers/extends");
238
238
 
239
239
  /***/ }),
240
240
 
241
- /***/ 57:
241
+ /***/ 55:
242
242
  /***/ (function(module, exports) {
243
243
 
244
244
  module.exports = require("axios");
@@ -252,14 +252,14 @@ module.exports = require("babel-runtime/core-js/object/assign");
252
252
 
253
253
  /***/ }),
254
254
 
255
- /***/ 65:
255
+ /***/ 63:
256
256
  /***/ (function(module, exports) {
257
257
 
258
258
  module.exports = require("babel-runtime/core-js/object/values");
259
259
 
260
260
  /***/ }),
261
261
 
262
- /***/ 88:
262
+ /***/ 86:
263
263
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
264
264
 
265
265
  "use strict";
@@ -270,7 +270,7 @@ __webpack_require__.r(__webpack_exports__);
270
270
  var style = __webpack_require__(139);
271
271
 
272
272
  // EXTERNAL MODULE: ./components/upload/style/index.less
273
- var upload_style = __webpack_require__(159);
273
+ var upload_style = __webpack_require__(161);
274
274
 
275
275
  // CONCATENATED MODULE: ./components/upload/style/index.js
276
276
 
@@ -347,7 +347,7 @@ var get_iterator_ = __webpack_require__(23);
347
347
  var get_iterator_default = /*#__PURE__*/__webpack_require__.n(get_iterator_);
348
348
 
349
349
  // EXTERNAL MODULE: external "babel-runtime/core-js/object/values"
350
- var values_ = __webpack_require__(65);
350
+ var values_ = __webpack_require__(63);
351
351
  var values_default = /*#__PURE__*/__webpack_require__.n(values_);
352
352
 
353
353
  // EXTERNAL MODULE: external "babel-runtime/helpers/extends"
@@ -355,7 +355,7 @@ var extends_ = __webpack_require__(26);
355
355
  var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
356
356
 
357
357
  // EXTERNAL MODULE: external "axios"
358
- var external_axios_ = __webpack_require__(57);
358
+ var external_axios_ = __webpack_require__(55);
359
359
  var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
360
360
 
361
361
  // CONCATENATED MODULE: ./components/upload/attr-accept.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdsfe/mds-ui",
3
- "version": "0.2.9",
3
+ "version": "0.2.10-rc.10",
4
4
  "description": "A set of enterprise-class Vue UI components.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -9,6 +9,7 @@
9
9
  "test": "jest ./components/",
10
10
  "test:cov": "jest ./components/ --coverage",
11
11
  "lint": "eslint components",
12
+ "lint:fix": "eslint --fix --ext '.js,.vue,.ts' components",
12
13
  "clean": "rimraf dist",
13
14
  "clean:site": "rimraf site/dist site/components site/docs site/router.js",
14
15
  "create:site": "node scripts/generate.js -a",
@@ -20,11 +21,14 @@
20
21
  "build:locale": "cross-env BABEL_ENV=utils babel components/_locale --out-dir dist/_locale",
21
22
  "build:component": "webpack --config ./build/webpack.dist.component.config.js",
22
23
  "build:c": "webpack --config ./build/webpack.dist.static.config.js",
24
+ "build:analyzer": "webpack --config ./build/webpack.dist.analyzer.config.js",
23
25
  "build": "npm run clean && webpack --config ./build/webpack.dist.prod.config.js",
24
26
  "dist": "npm run build && npm run build:c && npm run build:component && npm run build:locale && npm run build:mixin && npm run build:utils",
25
- "analyz": "NODE_ENV=production npm_config_report=true npm run dev",
27
+ "analyz": "NODE_ENV=production npm_config_report=true npm run dist && npm run build:analyzer",
26
28
  "commit": "npx git-cz",
27
- "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
29
+ "size": "node build/getFileSize.js",
30
+ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
31
+ "release": "release-it"
28
32
  },
29
33
  "files": [
30
34
  "dist"
@@ -48,6 +52,7 @@
48
52
  "license": "MIT",
49
53
  "devDependencies": {
50
54
  "@babel/core": "^7.7.2",
55
+ "@release-it/conventional-changelog": "^8.0.1",
51
56
  "@vue/test-utils": "^1.0.0-beta.29",
52
57
  "autoprefixer": "^7.1.3",
53
58
  "babel-cli": "^6.26.0",
@@ -64,7 +69,7 @@
64
69
  "babel-preset-env": "^1.6.1",
65
70
  "babel-preset-stage-2": "^6.24.1",
66
71
  "babel-register": "^6.26.0",
67
- "chalk": "^2.4.2",
72
+ "chalk": "3.0.0",
68
73
  "commitizen": "^4.2.3",
69
74
  "copy-webpack-plugin": "^5.0.5",
70
75
  "cross-env": "^5.2.1",
@@ -95,6 +100,7 @@
95
100
  "marked": "^0.3.9",
96
101
  "npm-check-updates": "^3.0.8",
97
102
  "optimize-css-assets-webpack-plugin": "^3.2.0",
103
+ "release-it": "^17.0.1",
98
104
  "rimraf": "^3.0.0",
99
105
  "single-line-log": "^1.1.2",
100
106
  "style-loader": "^0.18.2",
Binary file
Binary file