@pepperi-addons/ngx-lib-react 0.0.1 → 0.0.3

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 CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  Thin React wrappers around Pepperi Angular Elements (Web Components) for better DX in React apps.
4
4
 
5
+ ## Quickstart: test in another addon (0.0.1)
6
+
7
+ - **Install**
8
+
9
+ ```bash
10
+ npm i @pepperi-addons/ngx-lib-react
11
+ ```
12
+
13
+ - **Load Elements (embedded in this package)**
14
+
15
+ ```ts
16
+ // e.g., in src/index.tsx or src/main.tsx
17
+ import '@pepperi-addons/ngx-lib-react/elements/runtime.js';
18
+ import '@pepperi-addons/ngx-lib-react/elements/polyfills.js';
19
+ import '@pepperi-addons/ngx-lib-react/elements/main.js';
20
+ import '@pepperi-addons/ngx-lib-react/elements/styles.css';
21
+ ```
22
+
23
+ - **Theme wrapper**
24
+
25
+ ```tsx
26
+ export function App() {
27
+ return <div className="pepperi-theme">{/* ... */}</div>;
28
+ }
29
+ ```
30
+
31
+ - **Use components**
32
+
33
+ ```tsx
34
+ import { PepButton, PepTextbox, PepSelect } from '@pepperi-addons/ngx-lib-react';
35
+
36
+ export function Example() {
37
+ return (
38
+ <div className="pepperi-theme">
39
+ <PepButton value="Save" styleType="strong" />
40
+ <PepTextbox label="Amount" type="currency" accessory="$" />
41
+ <PepSelect label="Status" options={[{ key: 'open', value: 'Open' }]} />
42
+ </div>
43
+ );
44
+ }
45
+ ```
46
+
5
47
  This package expects you to load the Elements bundle and theme CSS (from `@pepperi-addons/ngx-lib-elements`) in your app.
6
48
 
7
49
  ## Install
@@ -63,12 +63,43 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  THE SOFTWARE.
64
64
 
65
65
 
66
+ @angular/material-moment-adapter
67
+ MIT
68
+ The MIT License
69
+
70
+ Copyright (c) 2022 Google LLC.
71
+
72
+ Permission is hereby granted, free of charge, to any person obtaining a copy
73
+ of this software and associated documentation files (the "Software"), to deal
74
+ in the Software without restriction, including without limitation the rights
75
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
76
+ copies of the Software, and to permit persons to whom the Software is
77
+ furnished to do so, subject to the following conditions:
78
+
79
+ The above copyright notice and this permission notice shall be included in
80
+ all copies or substantial portions of the Software.
81
+
82
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
83
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
84
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
85
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
86
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
87
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
88
+ THE SOFTWARE.
89
+
90
+
66
91
  @angular/platform-browser
67
92
  MIT
68
93
 
69
94
  @angular/router
70
95
  MIT
71
96
 
97
+ @mat-datetimepicker/core
98
+ MIT
99
+
100
+ @mat-datetimepicker/moment
101
+ MIT
102
+
72
103
  @ngx-translate/core
73
104
  MIT
74
105
 
@@ -103,6 +134,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
103
134
  THE SOFTWARE.
104
135
 
105
136
 
137
+ moment
138
+ MIT
139
+ Copyright (c) JS Foundation and other contributors
140
+
141
+ Permission is hereby granted, free of charge, to any person
142
+ obtaining a copy of this software and associated documentation
143
+ files (the "Software"), to deal in the Software without
144
+ restriction, including without limitation the rights to use,
145
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
146
+ copies of the Software, and to permit persons to whom the
147
+ Software is furnished to do so, subject to the following
148
+ conditions:
149
+
150
+ The above copyright notice and this permission notice shall be
151
+ included in all copies or substantial portions of the Software.
152
+
153
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
154
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
155
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
156
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
157
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
158
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
159
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
160
+ OTHER DEALINGS IN THE SOFTWARE.
161
+
162
+
163
+ ng2-file-upload
164
+
106
165
  ngx-translate-multi-http-loader
107
166
  MIT
108
167