@pepperi-addons/ngx-composite-lib-react 0.0.3 → 0.5.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 +79 -0
- package/elements/3rdpartylicenses.txt +0 -26
- package/elements/971.js +1 -1
- package/elements/index.html +5 -5
- package/elements/main.js +1 -1
- package/elements/polyfills.js +1 -1
- package/elements/runtime.js +1 -1
- package/elements/styles.css +16 -1
- package/index.d.ts +10 -19
- package/index.js +10 -19
- package/package.json +24 -23
- package/pep-color-settings.d.ts +17 -4
- package/pep-color-settings.js +33 -2
- package/pep-file-status-panel.d.ts +18 -4
- package/pep-file-status-panel.js +28 -2
- package/pep-flow-picker-button.d.ts +13 -4
- package/pep-flow-picker-button.js +29 -2
- package/pep-generic-list.d.ts +70 -4
- package/pep-generic-list.js +126 -2
- package/pep-group-buttons-settings.d.ts +25 -4
- package/pep-group-buttons-settings.js +45 -2
- package/pep-icon-picker.d.ts +18 -4
- package/pep-icon-picker.js +39 -2
- package/pep-padding-settings.d.ts +12 -4
- package/pep-padding-settings.js +23 -2
- package/pep-rich-text.d.ts +47 -4
- package/pep-rich-text.js +76 -2
- package/pep-shadow-settings.d.ts +15 -4
- package/pep-shadow-settings.js +22 -2
- package/pep-show-if-badge.d.ts +10 -4
- package/pep-show-if-badge.js +16 -2
- package/components/PepGroupButtonsSettings.d.ts +0 -14
- package/components/PepGroupButtonsSettings.js +0 -19
- package/components/PepGroupButtonsSettingsReact.d.ts +0 -14
- package/components/PepGroupButtonsSettingsReact.js +0 -63
- package/elements/register.auto.d.ts +0 -1
- package/elements/register.auto.js +0 -1
- package/elements/register.d.ts +0 -1
- package/elements/register.js +0 -1
- package/elements/register.polyfills.js +0 -1
- package/elements/register.runtime.js +0 -1
- package/pep-data-view-builder.d.ts +0 -4
- package/pep-data-view-builder.js +0 -3
- package/pep-field-container.d.ts +0 -4
- package/pep-field-container.js +0 -3
- package/pep-generic-form.d.ts +0 -4
- package/pep-generic-form.js +0 -3
- package/pep-group-buttons-settings-react.d.ts +0 -14
- package/pep-group-buttons-settings-react.js +0 -62
- package/pep-layout-builder-editor.d.ts +0 -4
- package/pep-layout-builder-editor.js +0 -3
- package/pep-layout-builder.d.ts +0 -4
- package/pep-layout-builder.js +0 -3
- package/pep-layout.d.ts +0 -4
- package/pep-layout.js +0 -3
- package/pep-manage-parameters.d.ts +0 -4
- package/pep-manage-parameters.js +0 -3
- package/pep-mapping-parameters.d.ts +0 -4
- package/pep-mapping-parameters.js +0 -3
- package/utils/create-wrapper.d.ts +0 -7
- package/utils/create-wrapper.js +0 -46
package/README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# @pepperi-addons/ngx-composite-lib-react
|
|
2
|
+
|
|
3
|
+
Thin React wrappers for Pepperi ngx-composite-lib Angular Elements.
|
|
4
|
+
|
|
5
|
+
## Version 0.5.0
|
|
6
|
+
|
|
7
|
+
This package provides React wrappers for 10 fully converted Angular Elements from ngx-composite-lib:
|
|
8
|
+
|
|
9
|
+
## Available Components
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
import {
|
|
13
|
+
PepColorSettings,
|
|
14
|
+
PepGroupButtonsSettings,
|
|
15
|
+
PepFlowPickerButton,
|
|
16
|
+
PepIconPicker,
|
|
17
|
+
PepPaddingSettings,
|
|
18
|
+
PepShadowSettings,
|
|
19
|
+
PepRichText,
|
|
20
|
+
PepShowIfBadge,
|
|
21
|
+
PepGenericList,
|
|
22
|
+
PepFileStatusPanel,
|
|
23
|
+
} from '@pepperi-addons/ngx-composite-lib-react';
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Component Details
|
|
27
|
+
|
|
28
|
+
- **PepColorSettings** - Color picker and settings component
|
|
29
|
+
- **PepGroupButtonsSettings** - Group button configuration component
|
|
30
|
+
- **PepFlowPickerButton** - Flow selection button component
|
|
31
|
+
- **PepIconPicker** - Icon selection component
|
|
32
|
+
- **PepPaddingSettings** - Padding configuration component
|
|
33
|
+
- **PepShadowSettings** - Shadow configuration component
|
|
34
|
+
- **PepRichText** - Rich text editor with Quill integration
|
|
35
|
+
- **PepShowIfBadge** - Conditional badge display component
|
|
36
|
+
- **PepGenericList** - Advanced data list with filtering and actions
|
|
37
|
+
- **PepFileStatusPanel** - File status display with snackbar support
|
|
38
|
+
|
|
39
|
+
## Prerequisites
|
|
40
|
+
|
|
41
|
+
Load the Elements bundle from `@pepperi-addons/ngx-composite-lib-elements` before using wrappers:
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
<script src="path/to/elements/main.js"></script>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Usage Example
|
|
48
|
+
|
|
49
|
+
```tsx
|
|
50
|
+
import React from 'react';
|
|
51
|
+
import { PepRichText, PepGenericList } from '@pepperi-addons/ngx-composite-lib-react';
|
|
52
|
+
|
|
53
|
+
function MyComponent() {
|
|
54
|
+
return (
|
|
55
|
+
<div>
|
|
56
|
+
<PepRichText
|
|
57
|
+
value="<p>Hello World</p>"
|
|
58
|
+
onValueChange={(event) => console.log('Value changed:', event.detail)}
|
|
59
|
+
/>
|
|
60
|
+
<PepGenericList
|
|
61
|
+
dataSource={myData}
|
|
62
|
+
onSelectionChanged={(event) => console.log('Selection:', event.detail)}
|
|
63
|
+
/>
|
|
64
|
+
</div>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Features
|
|
70
|
+
|
|
71
|
+
- ✅ Full Input/Output parity with Angular components
|
|
72
|
+
- ✅ TypeScript support with proper type definitions
|
|
73
|
+
- ✅ Event handling with React-friendly patterns
|
|
74
|
+
- ✅ Consistent API across all components
|
|
75
|
+
- ✅ Optimized for React 17+ and React 18+
|
|
76
|
+
|
|
77
|
+
## License
|
|
78
|
+
|
|
79
|
+
MIT
|
|
@@ -332,32 +332,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
332
332
|
THE SOFTWARE.
|
|
333
333
|
|
|
334
334
|
|
|
335
|
-
node-fetch
|
|
336
|
-
MIT
|
|
337
|
-
The MIT License (MIT)
|
|
338
|
-
|
|
339
|
-
Copyright (c) 2016 David Frank
|
|
340
|
-
|
|
341
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
342
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
343
|
-
in the Software without restriction, including without limitation the rights
|
|
344
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
345
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
346
|
-
furnished to do so, subject to the following conditions:
|
|
347
|
-
|
|
348
|
-
The above copyright notice and this permission notice shall be included in all
|
|
349
|
-
copies or substantial portions of the Software.
|
|
350
|
-
|
|
351
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
352
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
353
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
354
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
355
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
356
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
357
|
-
SOFTWARE.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
335
|
quill
|
|
362
336
|
BSD-3-Clause
|
|
363
337
|
Copyright (c) 2014, Jason Chen
|