@pepperi-addons/ngx-lib-react 0.5.8 → 0.5.10
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 +15 -1
- package/SERVICES.md +4 -0
- package/elements/3rdpartylicenses.txt +0 -3
- package/elements/main.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/pep-attachment.js +0 -1
- package/pep-bread-crumbs.js +0 -1
- package/pep-button.d.ts +1 -0
- package/pep-button.js +4 -2
- package/pep-images-filmstrip.js +0 -1
- package/pep-list-chooser.d.ts +15 -0
- package/pep-list-chooser.js +36 -0
- package/pep-snack-bar.js +0 -1
- package/services.js +2 -2
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ export function App() {
|
|
|
31
31
|
- **Use components**
|
|
32
32
|
|
|
33
33
|
```tsx
|
|
34
|
-
import { PepButton, PepTextbox, PepSelect } from '@pepperi-addons/ngx-lib-react';
|
|
34
|
+
import { PepButton, PepTextbox, PepSelect, PepListChooser } from '@pepperi-addons/ngx-lib-react';
|
|
35
35
|
|
|
36
36
|
export function Example() {
|
|
37
37
|
return (
|
|
@@ -39,6 +39,17 @@ export function Example() {
|
|
|
39
39
|
<PepButton value="Save" styleType="strong" />
|
|
40
40
|
<PepTextbox label="Amount" type="currency" accessory="$" />
|
|
41
41
|
<PepSelect label="Status" options={[{ key: 'open', value: 'Open' }]} />
|
|
42
|
+
|
|
43
|
+
<PepListChooser
|
|
44
|
+
options={[
|
|
45
|
+
{ key: 'all', text: 'All Lists' },
|
|
46
|
+
{ key: 'favorites', text: 'Favorites' },
|
|
47
|
+
{ key: 'archived', text: 'Archived' },
|
|
48
|
+
]}
|
|
49
|
+
currentList={{ key: 'all', text: 'All Lists' }}
|
|
50
|
+
sizeType="md"
|
|
51
|
+
onChange={(e) => console.log('List changed', e.source)}
|
|
52
|
+
/>
|
|
42
53
|
</div>
|
|
43
54
|
);
|
|
44
55
|
}
|
|
@@ -144,3 +155,6 @@ Instead you should use:
|
|
|
144
155
|
|
|
145
156
|
See [SERVICES.md](./SERVICES.md) for complete documentation on available
|
|
146
157
|
service helpers (HTTP/session/customization) and usage examples.
|
|
158
|
+
|
|
159
|
+
For a concise, repo-level summary of all exported helpers and build artifacts,
|
|
160
|
+
see [`docs/services-export-summary.md`](../../docs/services-export-summary.md).
|
package/SERVICES.md
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
`@pepperi-addons/ngx-lib-react` does **not** export Angular service classes such
|
|
6
6
|
as `PepHttpService`, `PepSessionService`, or `PepCustomizationService`.
|
|
7
7
|
|
|
8
|
+
For a high-level summary of all exported helpers, bridge functions, and build
|
|
9
|
+
artifacts, see
|
|
10
|
+
[`docs/services-export-summary.md`](../../docs/services-export-summary.md).
|
|
11
|
+
|
|
8
12
|
Directly exporting those services would pull Angular and its DI runtime into
|
|
9
13
|
your React bundle, causing:
|
|
10
14
|
|