pm-fuel 20.0.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 ADDED
@@ -0,0 +1,73 @@
1
+ # pm-fuel
2
+
3
+ Unified library containing UI components, utilities, pipes, directives, and styles for Payment Hub applications.
4
+ Combines functionality previously found in `@pmarzoa/pmds-cdk` and `@pmarzoa/pmds-common`.
5
+
6
+ [**Storybook Demo**](https://pablomarzoa.github.io/?path=/docs/introduction--docs)
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install pm-fuel
12
+ ```
13
+
14
+ ## Features
15
+
16
+ ### UI Components
17
+ A comprehensive set of UI components:
18
+
19
+ #### Structural & Inputs
20
+ - **Buttons**: `PmdsCdkButtonComponent`, `PmdsCdkRadioButtonsComponent`
21
+ - **Inputs**: `PmdsCdkPhoneInputComponent`, `PmdsCdkCheckboxComponent`, `PmdsCdkTextComponent`
22
+ - **Navigation**: `PmdsCdkMenuAndSubmenuComponent`, `PmdsCdkSidebarEmbeddedComponent`
23
+
24
+ #### Data Display
25
+ - **Table**: `PmdsCdkTableComponent` - Feature-rich data tables.
26
+ - **Cards**: `PmdsCdkDynamicCardComponent`, `PmdsCdkCardsSelectorComponent`
27
+
28
+ #### Visualization (Graphs)
29
+ - `PmdsCdkGraphsLineChartComponent`
30
+ - `PmdsCdkGraphsSequentialBarChartComponent`
31
+ - `PmdsCdkGraphsPieChartComponent`
32
+
33
+ #### Utilities
34
+ - `PmdsCdkLoaderComponent`
35
+ - `PmdsCdkCopyClipboardComponent`
36
+
37
+ ### Core & Common Utilities
38
+
39
+ #### Pipes
40
+ - `PmdsPipeAmountFormat`
41
+ - `PmdsPipeAccountFormat`
42
+ - `PmdsPipeDateTime`
43
+ - `PmdsPipeTruncateEllipsis`
44
+
45
+ #### Directives
46
+ - `PmdsDirectiveTooltip`
47
+ - `PmdsDirectiveNoLeadingSpacesInput`
48
+ - `PmdsDirectiveTitle`
49
+
50
+ #### Core Services
51
+ - **Validators**: `PmdsUtilValidators`
52
+ - **Storage**: `PmdsCoreStorageService`
53
+ - **Cache**: `PmdsCoreCacheService`
54
+
55
+ ### Styles
56
+ Includes core design tokens:
57
+ - **Fonts**: `@use 'pm-fuel/src/lib/utils/pmds-util-styles/src/assets/styles/fonts.scss';`
58
+ - **Icons**: `@use 'pm-fuel/src/lib/utils/pmds-util-styles/src/assets/styles/icons.scss';`
59
+ - **Colors**: `@use 'pm-fuel/src/lib/utils/pmds-util-styles/src/assets/styles/emi-colors.scss';`
60
+
61
+ ## Usage
62
+
63
+ import { PmdsCdkButtonComponent, PmdsPipeAmountFormat } from 'pm-fuel';
64
+
65
+ @Component({
66
+ imports: [PmdsCdkButtonComponent, PmdsPipeAmountFormat],
67
+ template: `
68
+ <pmds-cdk-button label="Click Me" (buttonClick)="onClick()"></pmds-cdk-button>
69
+ <p>{{ value | pmdsPipeAmountFormat }}</p>
70
+ `
71
+ })
72
+ export class MyComponent {}
73
+ ```