yks-element 1.0.0 → 1.0.315

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 (63) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -4
  3. package/{dist → lib}/fonts/element-icons.535877f5.woff +0 -0
  4. package/{dist → lib}/fonts/element-icons.732389de.ttf +0 -0
  5. package/lib/fonts/iconfont.19124b0d.ttf +0 -0
  6. package/lib/fonts/iconfont.3ae3dd4e.woff +0 -0
  7. package/lib/yks.css +1 -0
  8. package/package.json +74 -51
  9. package/packages/Button/index.js +8 -0
  10. package/packages/Button/src/index.vue +67 -0
  11. package/packages/Dialog/index.js +8 -0
  12. package/packages/Dialog/src/index.vue +103 -0
  13. package/packages/Multimedia/index.js +8 -0
  14. package/packages/Multimedia/src/index.vue +167 -0
  15. package/packages/Pagination/index.js +8 -0
  16. package/packages/Pagination/src/index.vue +149 -0
  17. package/packages/Scrollbar/index.js +8 -0
  18. package/packages/Scrollbar/src/index.vue +27 -0
  19. package/packages/Select/index.js +8 -0
  20. package/packages/Select/src/index.vue +350 -0
  21. package/packages/Select/src/option.vue +29 -0
  22. package/packages/Table/index.js +8 -0
  23. package/packages/Table/src/index.vue +141 -0
  24. package/packages/Tinymce/index.js +8 -0
  25. package/packages/Tinymce/src/config.js +25 -0
  26. package/packages/Tinymce/src/index.vue +500 -0
  27. package/packages/UploadFile/index.js +8 -0
  28. package/packages/UploadFile/src/index.vue +388 -0
  29. package/packages/Video/index.js +8 -0
  30. package/packages/Video/src/index.vue +352 -0
  31. package/packages/assets/utils/index.js +83 -0
  32. package/packages/icon/default/icons.js +182 -0
  33. package/packages/icon/default/icons.min.js +1 -0
  34. package/packages/icon/default/index.js +7 -0
  35. package/packages/icon/ks-pdf.png +0 -0
  36. package/packages/icon/ks-ppt.png +0 -0
  37. package/packages/icon/ks-word.png +0 -0
  38. package/packages/icon/ks-xslx.png +0 -0
  39. package/packages/icon/music-bg.png +0 -0
  40. package/packages/icon/video-bg.png +0 -0
  41. package/packages/index.js +221 -0
  42. package/packages/option/index.js +6 -0
  43. package/packages/styles/_mixin.scss +93 -0
  44. package/packages/styles/_variables.scss +40 -0
  45. package/packages/styles/common.scss +167 -0
  46. package/packages/styles/element-ui.scss +135 -0
  47. package/packages/styles/element-variables.scss +794 -0
  48. package/packages/styles/fonts/element-icons.ttf +0 -0
  49. package/packages/styles/fonts/element-icons.woff +0 -0
  50. package/packages/styles/fonts/iconfont.ttf +0 -0
  51. package/packages/styles/fonts/iconfont.woff +0 -0
  52. package/packages/styles/icon.scss +69 -0
  53. package/packages/styles/index.scss +10 -0
  54. package/packages/styles/select.scss +98 -0
  55. package/packages/styles/table.scss +45 -0
  56. package/types/index.d.ts +4 -0
  57. package/dist/demo.html +0 -10
  58. package/dist/yks.common.js +0 -64801
  59. package/dist/yks.css +0 -1
  60. package/dist/yks.umd.js +0 -64811
  61. package/dist/yks.umd.min.js +0 -15
  62. package/packages/button/index.vue +0 -16
  63. package/packages/index.ts +0 -12
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016-present ElemeFE
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,52 @@
1
- # ysk公共库
2
1
 
3
- ## examples 原src目录更换为examples
2
+ ## ysk公共库
4
3
 
5
- ## packages 组件源码目录
4
+ ### Quick Start
6
5
 
7
- ## npmignore npm配置文件(不发布到Npm的文件在此配置)
6
+ ``` javascript
7
+ import YksElement from 'yks-element'
8
+ import 'yks-element/lib/yks.css';
9
+
10
+ Vue.use(YksElement)
11
+
12
+ // or
13
+ import {
14
+ Button
15
+ // ...
16
+ } from 'yks-element'
17
+
18
+ Vue.component(Button.name, Button)
19
+ ```
20
+
21
+ ### LICENSE
22
+
23
+ [MIT](LICENSE)
24
+
25
+ ### 发布npm包
26
+
27
+ ```shell
28
+ npm publish
29
+ ```
30
+
31
+ ### 发布测试包
32
+
33
+ ```shell
34
+ version : '0.0.1-beta'
35
+ npm publish --tag=beta
36
+ ```
37
+
38
+ ### 下载测试包
39
+
40
+ ```shell
41
+ npm install yks-element@beta
42
+ ```
43
+
44
+ ### 删除npm包
45
+
46
+ ```shell
47
+ npm unpublish yks-element@0.0.1 --force
48
+ ```
49
+
50
+ ### icon 合集
51
+
52
+ packages\styles\icon.scss
File without changes
File without changes
Binary file
Binary file