@evotor-dev/ui-kit 6.7.1 → 6.9.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 +8 -51
- package/bundles/evotor-dev-ui-kit.umd.js +124 -34
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.js +393 -0
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete-default-option/evo-autocomplete-default-option.component.js +49 -0
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete-footer/evo-autocomplete-footer.component.js +16 -0
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete-header/evo-autocomplete-header.component.js +16 -0
- package/esm2015/lib/components/evo-autocomplete/evo-autocomplete.module.js +15 -5
- package/esm2015/lib/components/evo-autocomplete/public-api.js +5 -3
- package/esm2015/lib/components/evo-datepicker/evo-datepicker.component.js +1 -1
- package/esm2015/lib/components/evo-icon-button/evo-icon-button.component.js +10 -3
- package/esm2015/lib/components/evo-input/evo-input.component.js +1 -1
- package/esm2015/lib/components/evo-textarea/evo-textarea.component.js +8 -4
- package/fesm2015/evotor-dev-ui-kit.js +105 -30
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/lib/components/evo-autocomplete/components/{evo-autocomplete.component.d.ts → evo-autocomplete/evo-autocomplete.component.d.ts} +16 -8
- package/lib/components/evo-autocomplete/components/evo-autocomplete-footer/evo-autocomplete-footer.component.d.ts +5 -0
- package/lib/components/evo-autocomplete/components/evo-autocomplete-header/evo-autocomplete-header.component.d.ts +5 -0
- package/lib/components/evo-autocomplete/evo-autocomplete.module.d.ts +12 -10
- package/lib/components/evo-autocomplete/public-api.d.ts +4 -2
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +2 -1
- package/lib/components/evo-textarea/evo-textarea.component.d.ts +3 -1
- package/package.json +6 -1
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete.component.js +0 -365
- package/esm2015/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.js +0 -49
- /package/lib/components/evo-autocomplete/components/{templates → evo-autocomplete-default-option}/evo-autocomplete-default-option.component.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# @evotor-dev/ui-kit
|
|
2
2
|
|
|
3
|
-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.3.
|
|
4
|
-
|
|
5
3
|
## Storybook
|
|
6
4
|
|
|
7
5
|
https://evotor.github.io/Evo-UI-Kit/
|
|
@@ -11,7 +9,7 @@ https://evotor.github.io/Evo-UI-Kit/
|
|
|
11
9
|
To install this package run following command:
|
|
12
10
|
|
|
13
11
|
```
|
|
14
|
-
|
|
12
|
+
npm i @evotor-dev/ui-kit
|
|
15
13
|
```
|
|
16
14
|
|
|
17
15
|
Add to styles in angular.json
|
|
@@ -23,16 +21,6 @@ Add to styles in angular.json
|
|
|
23
21
|
...
|
|
24
22
|
],
|
|
25
23
|
```
|
|
26
|
-
|
|
27
|
-
### Package publishing
|
|
28
|
-
|
|
29
|
-
1. Merge PR to `master`
|
|
30
|
-
1. `git checkout master && git pull`
|
|
31
|
-
1. `GH_TOKEN=<your_github_token> yarn release`
|
|
32
|
-
1. update package version in `./projects/evo-ui-kit/package.json`
|
|
33
|
-
1. `git add -p && git commit -m 'chore(evo-ui-kit): version up'`
|
|
34
|
-
1. `git push origin`
|
|
35
|
-
|
|
36
24
|
### Troubleshooting
|
|
37
25
|
|
|
38
26
|
If you have password on your ssh key, [add it to ssh-agent](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent).
|
|
@@ -49,22 +37,22 @@ Host github.com
|
|
|
49
37
|
Run server
|
|
50
38
|
|
|
51
39
|
```
|
|
52
|
-
|
|
53
|
-
|
|
40
|
+
npm run build:evo-ui-kit
|
|
41
|
+
npm run storybook
|
|
54
42
|
```
|
|
55
43
|
|
|
56
44
|
Build
|
|
57
45
|
|
|
58
46
|
```
|
|
59
|
-
|
|
60
|
-
|
|
47
|
+
npm run build:evo-ui-kit
|
|
48
|
+
npm run build:storybook
|
|
61
49
|
```
|
|
62
50
|
|
|
63
51
|
## Development
|
|
64
52
|
|
|
65
53
|
### Build library
|
|
66
54
|
|
|
67
|
-
Run `
|
|
55
|
+
Run `npm run build:evo-ui-kit` to build the ui kit. The build artifacts will be stored in the `dist/` directory.
|
|
68
56
|
|
|
69
57
|
### Add dependencies
|
|
70
58
|
|
|
@@ -74,41 +62,10 @@ Run `yarn run build:evo-ui-kit` to build the ui kit. The build artifacts will be
|
|
|
74
62
|
1. Add package to projects/evo-ui-kit/ng-package.json to allowedNonPeerDependencies
|
|
75
63
|
1. Add package to projects/evo-ui-kit/ng-package.prod.json to allowedNonPeerDependencies
|
|
76
64
|
|
|
77
|
-
### Publish changes
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
git add -f dist
|
|
81
|
-
git commit -m 'commit message'
|
|
82
|
-
git push
|
|
83
|
-
git subtree push --prefix dist/evo-ui-kit origin deploy
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Build sample web app
|
|
87
|
-
|
|
88
|
-
Build ui kit library and install styles. Run `yarn build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
|
|
89
|
-
|
|
90
65
|
### Development server
|
|
91
66
|
|
|
92
|
-
Build ui kit library and install styles. Run `
|
|
93
|
-
|
|
94
|
-
### Code scaffolding
|
|
95
|
-
|
|
96
|
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
97
|
-
|
|
98
|
-
### Code scaffolding for library
|
|
99
|
-
|
|
100
|
-
Run `ng generate component --project evo-ui-kit component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project evo-ui-kit`.
|
|
67
|
+
Build ui kit library and install styles. Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
|
101
68
|
|
|
102
69
|
### Running unit tests
|
|
103
70
|
|
|
104
|
-
Run `
|
|
105
|
-
|
|
106
|
-
### Running end-to-end tests
|
|
107
|
-
|
|
108
|
-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
|
|
109
|
-
|
|
110
|
-
## Further help
|
|
111
|
-
|
|
112
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
113
|
-
|
|
114
|
-
To get more help on the libraries go check out the [Angular CLI WIKI](https://github.com/angular/angular-cli/wiki/stories-create-library).
|
|
71
|
+
Run `npm run test:local`.
|