ps-helix 2.0.7 → 2.1.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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A comprehensive Angular component library built with Angular 20+ featuring modern design patterns, accessibility-first development, and optimal developer experience.
4
4
 
5
- [![npm version](https://img.shields.io/badge/npm-2.0.7-blue.svg)](https://www.npmjs.com/package/ps-helix)
5
+ [![npm version](https://img.shields.io/badge/npm-2.1.0-blue.svg)](https://www.npmjs.com/package/ps-helix)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
  [![Angular](https://img.shields.io/badge/Angular-20.0.0-red.svg)](https://angular.dev/)
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.8.0-blue.svg)](https://www.typescriptlang.org/)
@@ -87,14 +87,26 @@ The following dependencies are bundled with ps-helix:
87
87
 
88
88
  ## Installation
89
89
 
90
- Install the package via npm:
90
+ Install the package via your preferred package manager:
91
91
 
92
+ **Avec pnpm (recommandé) :**
93
+ ```bash
94
+ pnpm add ps-helix
95
+ ```
96
+
97
+ **Avec npm :**
92
98
  ```bash
93
99
  npm install ps-helix
94
100
  ```
95
101
 
96
102
  All peer dependencies should be automatically installed. If not, install them manually:
97
103
 
104
+ **Avec pnpm :**
105
+ ```bash
106
+ pnpm add @angular/common@^20.0.0 @angular/core@^20.0.0 @angular/forms@^20.0.0 @ngx-translate/core@^15.0.0 rxjs@^7.8.0
107
+ ```
108
+
109
+ **Avec npm :**
98
110
  ```bash
99
111
  npm install @angular/common@^20.0.0 @angular/core@^20.0.0 @angular/forms@^20.0.0 @ngx-translate/core@^15.0.0 rxjs@^7.8.0
100
112
  ```
@@ -106,7 +118,7 @@ After installation, verify that ps-helix is in your `package.json`:
106
118
  ```json
107
119
  {
108
120
  "dependencies": {
109
- "ps-helix": "^2.0.7"
121
+ "ps-helix": "^2.1.0"
110
122
  }
111
123
  }
112
124
  ```
@@ -756,11 +768,29 @@ const size: ModalSize = 'small' | 'medium' | 'large' | 'fullscreen';
756
768
  ### Select Types
757
769
 
758
770
  ```typescript
759
- import { SelectFilterMode, SelectPlacement, SelectSize } from 'ps-helix';
771
+ import { SelectOption, SelectOptionGroup, SelectSize, SearchConfig } from 'ps-helix';
760
772
 
761
- const filterMode: SelectFilterMode = 'none' | 'startsWith' | 'contains';
762
- const placement: SelectPlacement = 'bottom' | 'top';
763
- const size: SelectSize = 'small' | 'medium' | 'large';
773
+ interface SelectOption<T> {
774
+ label: string;
775
+ value: T;
776
+ icon?: string;
777
+ disabled?: boolean;
778
+ description?: string;
779
+ }
780
+
781
+ interface SelectOptionGroup<T> {
782
+ label: string;
783
+ options: SelectOption<T>[];
784
+ disabled?: boolean;
785
+ }
786
+
787
+ interface SearchConfig {
788
+ debounceTime: number;
789
+ placeholder: string;
790
+ minLength: number;
791
+ }
792
+
793
+ type SelectSize = 'small' | 'medium' | 'large';
764
794
  ```
765
795
 
766
796
  ### Stepper Types
@@ -1037,7 +1067,9 @@ See [THEME.md](./THEME.md) for complete theming documentation.
1037
1067
  1. Verify Angular version is 20.0.0 or higher
1038
1068
  2. Check `tsconfig.json` has `"strict": true`
1039
1069
  3. Ensure all peer dependencies are installed
1040
- 4. Clear node_modules and reinstall: `rm -rf node_modules && npm install`
1070
+ 4. Clear node_modules and reinstall:
1071
+ - Avec pnpm: `rm -rf node_modules && pnpm install`
1072
+ - Avec npm: `rm -rf node_modules && npm install`
1041
1073
 
1042
1074
  ### Performance Issues
1043
1075
 
@@ -1084,23 +1116,24 @@ Helix Design System supports:
1084
1116
 
1085
1117
  ## Development Scripts
1086
1118
 
1087
- The following npm scripts are available for library development:
1119
+ The following scripts are available for library development:
1088
1120
 
1121
+ **Avec pnpm (recommandé) :**
1089
1122
  ```bash
1090
- # Build the library
1091
- npm run build:lib
1092
-
1093
- # Watch for changes and rebuild
1094
- npm run watch:lib
1095
-
1096
- # Publish to npm registry
1097
- npm run publish:lib
1098
-
1099
- # Build demo application
1100
- npm run build
1123
+ pnpm run build:lib # Build the library
1124
+ pnpm run watch:lib # Watch for changes and rebuild
1125
+ pnpm run publish:lib # Publish to npm registry
1126
+ pnpm run build # Build demo application
1127
+ pnpm run dev # Run demo application in dev mode
1128
+ ```
1101
1129
 
1102
- # Run demo application in dev mode
1103
- npm run dev
1130
+ **Avec npm :**
1131
+ ```bash
1132
+ npm run build:lib # Build the library
1133
+ npm run watch:lib # Watch for changes and rebuild
1134
+ npm run publish:lib # Publish to npm registry
1135
+ npm run build # Build demo application
1136
+ npm run dev # Run demo application in dev mode
1104
1137
  ```
1105
1138
 
1106
1139
  ## Contributing
@@ -1140,7 +1173,7 @@ Copyright (c) 2025 PACK Solutions
1140
1173
 
1141
1174
  ---
1142
1175
 
1143
- **Version**: 2.0.7
1176
+ **Version**: 2.1.0
1144
1177
  **Built with**: Angular 20.0.0, TypeScript 5.8.0, Phosphor Icons 2.0.3
1145
1178
  **Author**: Fabrice PEREZ | Product Designer at PACK Solutions
1146
1179
  **Last Updated**: December 2025