@factoringplus/pl-components-pack-v3 0.1.7 → 0.1.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 (46) hide show
  1. package/README.md +43 -24
  2. package/dist/CNAME +1 -0
  3. package/dist/element-plus-logo-small.svg +1 -0
  4. package/dist/favicon.svg +1 -0
  5. package/dist/pl-components-pack-v3.es.js +2599 -0
  6. package/dist/pl-components-pack-v3.umd.js +13 -0
  7. package/dist/style.css +1 -0
  8. package/package.json +46 -69
  9. package/.browserslistrc +0 -3
  10. package/.editorconfig +0 -7
  11. package/.eslintrc.js +0 -17
  12. package/.storybook/main.js +0 -30
  13. package/.storybook/preview.js +0 -15
  14. package/babel.config.js +0 -5
  15. package/build/rollup.config.js +0 -38
  16. package/entry.js +0 -37
  17. package/public/favicon.ico +0 -0
  18. package/public/index.html +0 -17
  19. package/src/App.vue +0 -6
  20. package/src/assets/logo.png +0 -0
  21. package/src/components/pl-currency/src/pl-currency.vue +0 -47
  22. package/src/main.js +0 -13
  23. package/src/router/index.js +0 -16
  24. package/src/store/index.js +0 -12
  25. package/src/stories/Button.stories.js +0 -52
  26. package/src/stories/Button.vue +0 -53
  27. package/src/stories/Header.stories.js +0 -28
  28. package/src/stories/Header.vue +0 -54
  29. package/src/stories/Introduction.stories.mdx +0 -211
  30. package/src/stories/Page.stories.js +0 -30
  31. package/src/stories/Page.vue +0 -79
  32. package/src/stories/assets/code-brackets.svg +0 -1
  33. package/src/stories/assets/colors.svg +0 -1
  34. package/src/stories/assets/comments.svg +0 -1
  35. package/src/stories/assets/direction.svg +0 -1
  36. package/src/stories/assets/flow.svg +0 -1
  37. package/src/stories/assets/plugin.svg +0 -1
  38. package/src/stories/assets/repo.svg +0 -1
  39. package/src/stories/assets/stackalt.svg +0 -1
  40. package/src/stories/button.css +0 -30
  41. package/src/stories/currency-input/pl-currency.stories.js +0 -27
  42. package/src/stories/currency-input/pl-currency.vue +0 -47
  43. package/src/stories/header.css +0 -26
  44. package/src/stories/page.css +0 -69
  45. package/src/views/Home.vue +0 -10
  46. package/vue.config.js +0 -3
package/README.md CHANGED
@@ -1,24 +1,43 @@
1
- # storybook3
2
-
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
7
-
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
12
-
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
-
18
- ### Lints and fixes files
19
- ```
20
- npm run lint
21
- ```
22
-
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
1
+ # pl-components-pack-v3
2
+
3
+ > Библиотека компонентов Vue 3
4
+
5
+ В текущей версии есть ряд ограничений по установке пакета в проект.
6
+
7
+ - Невозможно добавиь сразу все компоненты библиотеки глобально (через плагин)
8
+ - Файл стилей нужно добавлять глобально
9
+
10
+ В ближайшее время эти ограничения будут исправлены.
11
+
12
+ ## Установка
13
+
14
+ ```bash
15
+ npm i @factoringplus/pl-components-pack-v3
16
+ ```
17
+
18
+ ### Добавление стилей глобально
19
+
20
+ ```bash
21
+ // src/main.js
22
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
23
+ ```
24
+
25
+ ### Добавление компонентов в проект
26
+
27
+ ```bash
28
+ import { TestViteNpmComponent, PlCurrency } from '@factoringplus/pl-components-pack-v3';
29
+ ```
30
+
31
+ ## Для разработчиков
32
+
33
+ ### Запуск сторибука
34
+
35
+ ```bash
36
+ npm run storybook
37
+ ```
38
+
39
+ ### Запуск проекта
40
+
41
+ ```bash
42
+ npm run dev
43
+ ```
package/dist/CNAME ADDED
@@ -0,0 +1 @@
1
+ vite-starter.element-plus.org
@@ -0,0 +1 @@
1
+ <svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44"><defs><style>.cls-1{fill:#409eff;fill-rule:evenodd;}</style></defs><title>element plus-logo-small 副本</title><path id="element_plus-logo-small" data-name="element plus-logo-small" class="cls-1" d="M37.41,32.37c0,1.57-.83,1.93-.83,1.93L21.51,43A1.69,1.69,0,0,1,20,43S5.2,34.4,4.66,34a1.29,1.29,0,0,1-.55-1V15.24c0-.78,1-1.33,1-1.33L19.86,5.36a2,2,0,0,1,1.79,0l14.46,8.41a2.06,2.06,0,0,1,1.25,2.06V32.37Zm-5.9-17L21.35,9.5a1.59,1.59,0,0,0-1.41,0L8.33,16.15s-.77.46-.76,1.08,0,13.92,0,13.92A1,1,0,0,0,8,31.9c.43.3,12,7,12,7a1.31,1.31,0,0,0,1.19,0C21.91,38.5,33,32.11,33,32.11s.65-.28.65-1.51V27.13l-13,7.9V32a3.05,3.05,0,0,1,1-2.07L33.2,23a2.44,2.44,0,0,0,.55-1.46V18.43L20.64,26.35v-3.2a2.22,2.22,0,0,1,.83-1.79ZM41.07,4.22a.39.39,0,0,0-.37-.42H38V1.06c0-.16-.26-.22-.53-.22L36,1.08c-.18,0-.31.12-.31.23V3.8H33a.4.4,0,0,0-.36.37v2h3V9c0,.16.26.27.54.23l1.51-.25c.18,0,.29-.13.29-.23V6.14h3Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44"><defs><style>.cls-1{fill:#409eff;fill-rule:evenodd;}</style></defs><title>element plus-logo-small 副本</title><path id="element_plus-logo-small" data-name="element plus-logo-small" class="cls-1" d="M37.41,32.37c0,1.57-.83,1.93-.83,1.93L21.51,43A1.69,1.69,0,0,1,20,43S5.2,34.4,4.66,34a1.29,1.29,0,0,1-.55-1V15.24c0-.78,1-1.33,1-1.33L19.86,5.36a2,2,0,0,1,1.79,0l14.46,8.41a2.06,2.06,0,0,1,1.25,2.06V32.37Zm-5.9-17L21.35,9.5a1.59,1.59,0,0,0-1.41,0L8.33,16.15s-.77.46-.76,1.08,0,13.92,0,13.92A1,1,0,0,0,8,31.9c.43.3,12,7,12,7a1.31,1.31,0,0,0,1.19,0C21.91,38.5,33,32.11,33,32.11s.65-.28.65-1.51V27.13l-13,7.9V32a3.05,3.05,0,0,1,1-2.07L33.2,23a2.44,2.44,0,0,0,.55-1.46V18.43L20.64,26.35v-3.2a2.22,2.22,0,0,1,.83-1.79ZM41.07,4.22a.39.39,0,0,0-.37-.42H38V1.06c0-.16-.26-.22-.53-.22L36,1.08c-.18,0-.31.12-.31.23V3.8H33a.4.4,0,0,0-.36.37v2h3V9c0,.16.26.27.54.23l1.51-.25c.18,0,.29-.13.29-.23V6.14h3Z"/></svg>