@dpa-id-components/dpa-shared-components 0.2.1 → 0.3.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.
- package/README.md +27 -1
- package/dist/.eslintrc.cjs +39 -0
- package/dist/.prettierrc +4 -0
- package/dist/dpa-shared-components.mjs +1310 -1267
- package/dist/dpa-shared-components.umd.js +3 -4
- package/dist/style.css +1 -0
- package/package.json +13 -9
- package/dist/alert-c8e2ae08.js +0 -15
- package/dist/arrow-left-93c1cdc7.js +0 -15
- package/dist/audio-inline-92256dc7.js +0 -19
- package/dist/checkmark-d41d01ff.js +0 -19
- package/dist/chevron-down-d9cc3584.js +0 -15
- package/dist/chevron-left-b66f074e.js +0 -15
- package/dist/chevron-right-b589ab17.js +0 -17
- package/dist/chevron-up-6418abb0.js +0 -15
- package/dist/clock-02be24f4.js +0 -19
- package/dist/close-5d26c1d1.js +0 -15
- package/dist/copy-link-de7cb91d.js +0 -19
- package/dist/dpa-shared-components.js +0 -5685
- package/dist/dpa-shared-components.umd.cjs +0 -4
- package/dist/emoji-9480b7e3.js +0 -19
- package/dist/envelope-5df69adf.js +0 -15
- package/dist/event-babd84b5.js +0 -15
- package/dist/filter-e213ae59.js +0 -15
- package/dist/filter-outline-91e5aa0a.js +0 -19
- package/dist/flash-6c2fa662.js +0 -15
- package/dist/graphic-inline-a41ad739.js +0 -19
- package/dist/help-471874fe.js +0 -19
- package/dist/info-ee40cf5c.js +0 -15
- package/dist/info-filled-c86c481a.js +0 -15
- package/dist/lightbulb-0c284cc9.js +0 -15
- package/dist/more-horizontal-e7e121c3.js +0 -15
- package/dist/paperplane-662f4097.js +0 -15
- package/dist/pdf-bcee5eee.js +0 -19
- package/dist/pen-128f19d5.js +0 -15
- package/dist/picture-inline-0eb9c590.js +0 -19
- package/dist/pin-ce661952.js +0 -19
- package/dist/planning-cb43b438.js +0 -15
- package/dist/plus-0900f7b4.js +0 -15
- package/dist/search-9bebfc15.js +0 -15
- package/dist/share-f49b038e.js +0 -15
- package/dist/star-5c3c64ca.js +0 -15
- package/dist/star-filled-eb91b846.js +0 -15
- package/dist/text-inline-cbb3242f.js +0 -15
- package/dist/topic-354c5294.js +0 -19
- package/dist/union-5e751949.js +0 -19
- package/dist/video-inline-b961f9cd.js +0 -19
package/README.md
CHANGED
|
@@ -41,6 +41,32 @@ The readme should contain a minimal explanation of the usage and a definition of
|
|
|
41
41
|
events, slots...).
|
|
42
42
|
Also don't forget to add an import/export in `./src/components/index.ts` to make your component available.
|
|
43
43
|
|
|
44
|
+
### Link the project locally
|
|
45
|
+
|
|
46
|
+
For a better developer experience and testing in your actual it's recommended
|
|
47
|
+
to [link](https://docs.npmjs.com/cli/v9/commands/npm-link) the package locally.
|
|
48
|
+
For that run
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
npm link
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
in the root of your cloned shared components and
|
|
55
|
+
|
|
56
|
+
```shell
|
|
57
|
+
npm link "@dpa-id-components/dpa-shared-components"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
in your target project.
|
|
61
|
+
|
|
62
|
+
Don't forget to run
|
|
63
|
+
|
|
64
|
+
```shell
|
|
65
|
+
npm run build
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
before linking or otherwise you wouldn't have a dist folder.
|
|
69
|
+
|
|
44
70
|
### Tests
|
|
45
71
|
|
|
46
72
|
Tests are based on [vitest](https://vitest.dev/) and [Vue Test Utils 2](https://test-utils.vuejs.org/) running in
|
|
@@ -93,4 +119,4 @@ To publish a new release just run one of the following (depending on the kind of
|
|
|
93
119
|
npm run release:patch
|
|
94
120
|
npm run release:minor
|
|
95
121
|
npm run release:major
|
|
96
|
-
```
|
|
122
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
extends: [
|
|
7
|
+
"plugin:vue/recommended",
|
|
8
|
+
"eslint:recommended",
|
|
9
|
+
"@vue/typescript",
|
|
10
|
+
"@vue/prettier",
|
|
11
|
+
"plugin:vue/vue3-recommended",
|
|
12
|
+
"plugin:tailwindcss/recommended",
|
|
13
|
+
"@vue/eslint-config-typescript/recommended",
|
|
14
|
+
"@vue/eslint-config-prettier",
|
|
15
|
+
"plugin:storybook/recommended"
|
|
16
|
+
],
|
|
17
|
+
plugins: ["tailwindcss"],
|
|
18
|
+
settings: {
|
|
19
|
+
tailwindcss: {
|
|
20
|
+
groupByResponsive: true,
|
|
21
|
+
prependCustom: true,
|
|
22
|
+
removeDuplicates: true
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
rules: {
|
|
26
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
27
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
28
|
+
"@typescript-eslint/no-non-null-assertion": "warn",
|
|
29
|
+
"@typescript-eslint/triple-slash-reference": "off",
|
|
30
|
+
"tailwindcss/no-custom-classname": "off",
|
|
31
|
+
"vue/script-setup-uses-vars": "error",
|
|
32
|
+
"vue/multi-word-component-names": "off",
|
|
33
|
+
"vue/no-v-html": "off",
|
|
34
|
+
"no-console": "error"
|
|
35
|
+
},
|
|
36
|
+
parserOptions: {
|
|
37
|
+
ecmaVersion: 2020
|
|
38
|
+
}
|
|
39
|
+
};
|
package/dist/.prettierrc
ADDED