@paperless/conventions 0.1.0-alpha.3 → 0.1.0-alpha.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +17 -0
  3. 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.7 (2022-07-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Atoms:** Add helper component ([64cccca](https://github.com/Employes/Paperless/commit/64cccca8035f9492754370d1e94b275c226b1464))
12
+
13
+
14
+
15
+
16
+
17
+ # 0.1.0-alpha.6 (2022-07-08)
18
+
19
+ **Note:** Version bump only for package @paperless/conventions
20
+
21
+
22
+
23
+
24
+
25
+ # 0.1.0-alpha.5 (2022-07-08)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **Atoms/Button:** Rename `click` event to `onClick` ([e14cf01](https://github.com/Employes/Paperless/commit/e14cf011d2010b151596a576df6fc8bdafc45081))
31
+
32
+
33
+
34
+
35
+
36
+ # 0.1.0-alpha.4 (2022-07-07)
37
+
38
+
39
+ ### Features
40
+
41
+ * **Atoms/Button:** Add hover/active/disabled states ([35109f7](https://github.com/Employes/Paperless/commit/35109f77d6f87c25e29fa5c704c21ae1240537ad))
42
+
43
+
44
+
45
+
46
+
6
47
  # 0.1.0-alpha.3 (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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paperless/conventions",
3
3
  "description": "Paperless eslint, typescript & prettier recommended configuration",
4
- "version": "0.1.0-alpha.3",
4
+ "version": "0.1.0-alpha.7",
5
5
  "main": "index.js",
6
6
  "license": "ISC",
7
7
  "publishConfig": {