@paperless/conventions 0.1.0-alpha.4 → 0.1.0-alpha.8
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/CHANGELOG.md +41 -0
- package/README.md +17 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.1.0-alpha.8 (2022-07-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Grid:** Implement grid ([969cd32](https://github.com/Employes/Paperless/commit/969cd32cdd604e6ff1b9bc4123606b891d66b79a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 0.1.0-alpha.7 (2022-07-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **Atoms:** Add helper component ([64cccca](https://github.com/Employes/Paperless/commit/64cccca8035f9492754370d1e94b275c226b1464))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# 0.1.0-alpha.6 (2022-07-08)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @paperless/conventions
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# 0.1.0-alpha.5 (2022-07-08)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* **Atoms/Button:** Rename `click` event to `onClick` ([e14cf01](https://github.com/Employes/Paperless/commit/e14cf011d2010b151596a576df6fc8bdafc45081))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# 0.1.0-alpha.4 (2022-07-07)
|
|
7
48
|
|
|
8
49
|
|
package/README.md
CHANGED
|
@@ -63,6 +63,12 @@ yarn add @paperless/core
|
|
|
63
63
|
#### React
|
|
64
64
|
|
|
65
65
|
```jsx
|
|
66
|
+
// setup
|
|
67
|
+
import { applyPolyfills, defineCustomElements } from '@paperless/core/loader';
|
|
68
|
+
|
|
69
|
+
applyPolyfills().then(() => defineCustomElements());
|
|
70
|
+
|
|
71
|
+
// usage
|
|
66
72
|
import { Button } from '@employes/paperless';
|
|
67
73
|
|
|
68
74
|
const App = () => <Button>Click me!</Button>;
|
|
@@ -71,6 +77,16 @@ const App = () => <Button>Click me!</Button>;
|
|
|
71
77
|
#### Angular
|
|
72
78
|
|
|
73
79
|
```jsx
|
|
80
|
+
// main.ts
|
|
81
|
+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
82
|
+
import { applyPolyfills, defineCustomElements } from '@paperless/core/loader';
|
|
83
|
+
|
|
84
|
+
applyPolyfills()
|
|
85
|
+
.then(() => defineCustomElements())
|
|
86
|
+
.then(() => platformBrowserDynamic().bootstrapModule(AppModule))
|
|
87
|
+
.catch((err) => console.error(err));
|
|
88
|
+
|
|
89
|
+
// App Module
|
|
74
90
|
import { PaperlessModule } from '@employes/paperless-ngx';
|
|
75
91
|
|
|
76
92
|
@NgModule({
|
|
@@ -81,6 +97,7 @@ import { PaperlessModule } from '@employes/paperless-ngx';
|
|
|
81
97
|
})
|
|
82
98
|
export class AppModule {}
|
|
83
99
|
|
|
100
|
+
// Any component
|
|
84
101
|
@Component({
|
|
85
102
|
selector: 'app-root',
|
|
86
103
|
templateUrl: `
|
package/package.json
CHANGED