@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.
- package/README.md +43 -24
- package/dist/CNAME +1 -0
- package/dist/element-plus-logo-small.svg +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/pl-components-pack-v3.es.js +2599 -0
- package/dist/pl-components-pack-v3.umd.js +13 -0
- package/dist/style.css +1 -0
- package/package.json +46 -69
- package/.browserslistrc +0 -3
- package/.editorconfig +0 -7
- package/.eslintrc.js +0 -17
- package/.storybook/main.js +0 -30
- package/.storybook/preview.js +0 -15
- package/babel.config.js +0 -5
- package/build/rollup.config.js +0 -38
- package/entry.js +0 -37
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/src/App.vue +0 -6
- package/src/assets/logo.png +0 -0
- package/src/components/pl-currency/src/pl-currency.vue +0 -47
- package/src/main.js +0 -13
- package/src/router/index.js +0 -16
- package/src/store/index.js +0 -12
- package/src/stories/Button.stories.js +0 -52
- package/src/stories/Button.vue +0 -53
- package/src/stories/Header.stories.js +0 -28
- package/src/stories/Header.vue +0 -54
- package/src/stories/Introduction.stories.mdx +0 -211
- package/src/stories/Page.stories.js +0 -30
- package/src/stories/Page.vue +0 -79
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/button.css +0 -30
- package/src/stories/currency-input/pl-currency.stories.js +0 -27
- package/src/stories/currency-input/pl-currency.vue +0 -47
- package/src/stories/header.css +0 -26
- package/src/stories/page.css +0 -69
- package/src/views/Home.vue +0 -10
- package/vue.config.js +0 -3
package/README.md
CHANGED
|
@@ -1,24 +1,43 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
npm
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
###
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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>
|
package/dist/favicon.svg
ADDED
|
@@ -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>
|