@assemblyvoting/ui-library 0.0.1
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 +90 -0
- package/dist/UILibrary.d.ts +7 -0
- package/dist/UILibrary.d.ts.map +1 -0
- package/dist/components/atoms/AVAlert/AVAlert.vue.d.ts +5 -0
- package/dist/components/atoms/AVAlert/AVAlert.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVBullet/AVBullet.vue.d.ts +5 -0
- package/dist/components/atoms/AVBullet/AVBullet.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVButton/AVButton.vue.d.ts +5 -0
- package/dist/components/atoms/AVButton/AVButton.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVDatetimeInput/AVDatetimeInput.vue.d.ts +5 -0
- package/dist/components/atoms/AVDatetimeInput/AVDatetimeInput.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVDropdown/AVDropdown.vue.d.ts +5 -0
- package/dist/components/atoms/AVDropdown/AVDropdown.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVDropdown/AVDropdownContent.vue.d.ts +5 -0
- package/dist/components/atoms/AVDropdown/AVDropdownContent.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVDropdown/AVDropdownItem.vue.d.ts +5 -0
- package/dist/components/atoms/AVDropdown/AVDropdownItem.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVFileInput/AVFileInput.vue.d.ts +5 -0
- package/dist/components/atoms/AVFileInput/AVFileInput.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVLabel/AVLabel.vue.d.ts +5 -0
- package/dist/components/atoms/AVLabel/AVLabel.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVNumberInput/AVNumberInput.vue.d.ts +5 -0
- package/dist/components/atoms/AVNumberInput/AVNumberInput.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVPasswordInput/AVPasswordInput.vue.d.ts +5 -0
- package/dist/components/atoms/AVPasswordInput/AVPasswordInput.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVRoundBox/AVRoundBox.vue.d.ts +5 -0
- package/dist/components/atoms/AVRoundBox/AVRoundBox.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVRoundButton/AVRoundButton.vue.d.ts +5 -0
- package/dist/components/atoms/AVRoundButton/AVRoundButton.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVSpinner/AVSpinner.vue.d.ts +5 -0
- package/dist/components/atoms/AVSpinner/AVSpinner.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVTextArea/AVTextArea.vue.d.ts +5 -0
- package/dist/components/atoms/AVTextArea/AVTextArea.vue.d.ts.map +1 -0
- package/dist/components/atoms/AVTextInput/AVTextInput.vue.d.ts +5 -0
- package/dist/components/atoms/AVTextInput/AVTextInput.vue.d.ts.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs +794 -0
- package/dist/index.js +17456 -0
- package/dist/style.css +1 -0
- package/package.json +82 -0
package/README.md
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# Assembly Voting UI Library
|
2
|
+
|
3
|
+
TO-DO
|
4
|
+
|
5
|
+
Description...
|
6
|
+
|
7
|
+
## Setup
|
8
|
+
|
9
|
+
```
|
10
|
+
npm i npm-package-name
|
11
|
+
```
|
12
|
+
`yarn add npm-package-name`
|
13
|
+
|
14
|
+
## Importing library as a plugin
|
15
|
+
|
16
|
+
In the main file:
|
17
|
+
|
18
|
+
```
|
19
|
+
import * as UILibrary from "npm-package-name"; // Imports components
|
20
|
+
import "npm-package-name/styles"; // Imports styles
|
21
|
+
|
22
|
+
const app = createApp(App);
|
23
|
+
app.use(UILibrary.default); // Plugin-in the library
|
24
|
+
app.mount("#app");
|
25
|
+
```
|
26
|
+
|
27
|
+
## Importing components individually
|
28
|
+
|
29
|
+
In the file you want to use it:
|
30
|
+
|
31
|
+
```
|
32
|
+
import { ComponentName } from 'npm-package-name'
|
33
|
+
|
34
|
+
<component-name />
|
35
|
+
|
36
|
+
```
|
37
|
+
## Project Setup
|
38
|
+
|
39
|
+
```sh
|
40
|
+
yarn
|
41
|
+
```
|
42
|
+
|
43
|
+
### Compile and Hot-Reload for Development
|
44
|
+
|
45
|
+
```sh
|
46
|
+
yarn dev
|
47
|
+
```
|
48
|
+
|
49
|
+
### Type-Check, Compile and Minify for Production
|
50
|
+
|
51
|
+
```sh
|
52
|
+
yarn build
|
53
|
+
```
|
54
|
+
|
55
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
56
|
+
|
57
|
+
```sh
|
58
|
+
yarn test
|
59
|
+
```
|
60
|
+
|
61
|
+
### Lint with [ESLint](https://eslint.org/)
|
62
|
+
|
63
|
+
```sh
|
64
|
+
yarn lint
|
65
|
+
```
|
66
|
+
|
67
|
+
### Start [Storybook](https://storybook.js.org/) for Development
|
68
|
+
|
69
|
+
```sh
|
70
|
+
yarn storybook
|
71
|
+
```
|
72
|
+
|
73
|
+
### Compile [Storybook](https://storybook.js.org/) for Production
|
74
|
+
|
75
|
+
```sh
|
76
|
+
yarn build-storybook
|
77
|
+
```
|
78
|
+
### Creating new components
|
79
|
+
|
80
|
+
Remember to include them on the component index at:
|
81
|
+
|
82
|
+
```sh
|
83
|
+
@app/src/components.index.ts
|
84
|
+
```
|
85
|
+
|
86
|
+
and then add them in the Library (both as plugin component and as regular export) at:
|
87
|
+
|
88
|
+
```sh
|
89
|
+
@app/src/UILibrary.ts
|
90
|
+
```
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AVButton, AVSpinner, AVBullet, AVTextInput, AVNumberInput, AVPasswordInput, AVRoundBox, AVRoundButton, AVLabel, AVDatetimeInput, AVTextArea, AVDropdown, AVDropdownContent, AVDropdownItem, AVAlert, AVFileInput } from "./components";
|
2
|
+
declare const _default: {
|
3
|
+
install: (app: any) => void;
|
4
|
+
};
|
5
|
+
export default _default;
|
6
|
+
export { AVButton, AVSpinner, AVBullet, AVTextInput, AVNumberInput, AVPasswordInput, AVRoundBox, AVRoundButton, AVLabel, AVDatetimeInput, AVTextArea, AVDropdown, AVDropdownContent, AVDropdownItem, AVAlert, AVFileInput };
|
7
|
+
//# sourceMappingURL=UILibrary.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UILibrary.d.ts","sourceRoot":"","sources":["../src/UILibrary.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,WAAW,EACX,aAAa,EACb,eAAe,EACf,UAAU,EACV,aAAa,EACb,OAAO,EACP,eAAe,EACf,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,WAAW,EACZ,MAAM,cAAc,CAAC;;;;AACtB,wBAoBE;AACF,OAAO,EACL,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,WAAW,EACX,aAAa,EACb,eAAe,EACf,UAAU,EACV,aAAa,EACb,OAAO,EACP,eAAe,EACf,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,WAAW,EACZ,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVAlert/AVAlert.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVAlert.css?vue&type=style&index=0&src=a2cf6b2d&scoped=a2cf6b2d&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVAlert.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVAlert.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVAlert/AVAlert.vue"],"names":[],"mappings":"AACA,cAAc,sHAAsH,CAAC;AACrI,OAAO,4EAA4E,CAAC;;AAEpF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVBullet/AVBullet.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVBullet.css?vue&type=style&index=0&src=12596306&scoped=12596306&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVBullet.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVBullet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVBullet/AVBullet.vue"],"names":[],"mappings":"AACA,cAAc,wHAAwH,CAAC;AACvI,OAAO,6EAA6E,CAAC;;AAErF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVButton/AVButton.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVButton.css?vue&type=style&index=0&src=f721b56e&scoped=f721b56e&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVButton.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVButton/AVButton.vue"],"names":[],"mappings":"AACA,cAAc,wHAAwH,CAAC;AACvI,OAAO,6EAA6E,CAAC;;AAErF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVDatetimeInput/AVDatetimeInput.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVDatetimeInput.css?vue&type=style&index=0&src=907a88e7&scoped=907a88e7&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVDatetimeInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVDatetimeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVDatetimeInput/AVDatetimeInput.vue"],"names":[],"mappings":"AACA,cAAc,sIAAsI,CAAC;AACrJ,OAAO,oFAAoF,CAAC;;AAE5F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVDropdown/AVDropdown.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVDropdown.css?vue&type=style&index=0&src=63303fab&scoped=63303fab&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVDropdown.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVDropdown/AVDropdown.vue"],"names":[],"mappings":"AACA,cAAc,4HAA4H,CAAC;AAC3I,OAAO,+EAA+E,CAAC;;AAEvF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVDropdown/AVDropdownContent.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVDropdownContent.css?vue&type=style&index=0&src=dfa440ab&scoped=dfa440ab&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVDropdownContent.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVDropdownContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVDropdown/AVDropdownContent.vue"],"names":[],"mappings":"AACA,cAAc,mIAAmI,CAAC;AAClJ,OAAO,sFAAsF,CAAC;;AAE9F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVDropdown/AVDropdownItem.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVDropdownItem.css?vue&type=style&index=0&src=2ca0bff3&scoped=2ca0bff3&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVDropdownItem.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVDropdown/AVDropdownItem.vue"],"names":[],"mappings":"AACA,cAAc,gIAAgI,CAAC;AAC/I,OAAO,mFAAmF,CAAC;;AAE3F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVFileInput/AVFileInput.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVFileInput.css?vue&type=style&index=0&src=94ec2e5c&scoped=94ec2e5c&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVFileInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVFileInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVFileInput/AVFileInput.vue"],"names":[],"mappings":"AACA,cAAc,8HAA8H,CAAC;AAC7I,OAAO,gFAAgF,CAAC;;AAExF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVLabel/AVLabel.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVLabel.css?vue&type=style&index=0&src=ee7ab830&scoped=ee7ab830&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVLabel.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVLabel/AVLabel.vue"],"names":[],"mappings":"AACA,cAAc,sHAAsH,CAAC;AACrI,OAAO,4EAA4E,CAAC;;AAEpF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVNumberInput/AVNumberInput.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVNumberInput.css?vue&type=style&index=0&src=5919673d&scoped=5919673d&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVNumberInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVNumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVNumberInput/AVNumberInput.vue"],"names":[],"mappings":"AACA,cAAc,kIAAkI,CAAC;AACjJ,OAAO,kFAAkF,CAAC;;AAE1F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVPasswordInput/AVPasswordInput.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVPasswordInput.css?vue&type=style&index=0&src=97b319a3&scoped=97b319a3&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVPasswordInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVPasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVPasswordInput/AVPasswordInput.vue"],"names":[],"mappings":"AACA,cAAc,sIAAsI,CAAC;AACrJ,OAAO,oFAAoF,CAAC;;AAE5F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVRoundBox/AVRoundBox.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVRoundBox.css?vue&type=style&index=0&src=38b412a9&scoped=38b412a9&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVRoundBox.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVRoundBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVRoundBox/AVRoundBox.vue"],"names":[],"mappings":"AACA,cAAc,4HAA4H,CAAC;AAC3I,OAAO,+EAA+E,CAAC;;AAEvF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVRoundButton/AVRoundButton.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVRoundButton.css?vue&type=style&index=0&src=ab828aec&scoped=ab828aec&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVRoundButton.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVRoundButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVRoundButton/AVRoundButton.vue"],"names":[],"mappings":"AACA,cAAc,kIAAkI,CAAC;AACjJ,OAAO,kFAAkF,CAAC;;AAE1F,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVSpinner/AVSpinner.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVSpinner.css?vue&type=style&index=0&src=89f1eb2b&scoped=89f1eb2b&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVSpinner.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVSpinner.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVSpinner/AVSpinner.vue"],"names":[],"mappings":"AACA,cAAc,0HAA0H,CAAC;AACzI,OAAO,8EAA8E,CAAC;;AAEtF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVTextArea/AVTextArea.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVTextArea.css?vue&type=style&index=0&src=6211aba7&scoped=6211aba7&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVTextArea.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVTextArea/AVTextArea.vue"],"names":[],"mappings":"AACA,cAAc,4HAA4H,CAAC;AAC3I,OAAO,+EAA+E,CAAC;;AAEvF,wBAA0F"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from "/Users/alexis.toledo/Projects/ui-library/src/components/atoms/AVTextInput/AVTextInput.vue?vue&type=script&setup=true&lang.ts";
|
2
|
+
import "./AVTextInput.css?vue&type=style&index=0&src=8460c413&scoped=8460c413&lang.css";
|
3
|
+
declare const _default: any;
|
4
|
+
export default _default;
|
5
|
+
//# sourceMappingURL=AVTextInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AVTextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/AVTextInput/AVTextInput.vue"],"names":[],"mappings":"AACA,cAAc,8HAA8H,CAAC;AAC7I,OAAO,gFAAgF,CAAC;;AAExF,wBAA0F"}
|
package/dist/favicon.ico
ADDED
Binary file
|