@ruc-lib/multi-select 3.2.0 → 4.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 +54 -24
- package/fesm2022/ruc-lib-multi-select.mjs +519 -0
- package/fesm2022/ruc-lib-multi-select.mjs.map +1 -0
- package/index.d.ts +207 -4
- package/package.json +13 -26
- package/esm2020/index.mjs +0 -5
- package/esm2020/lib/animations/animations.mjs +0 -30
- package/esm2020/lib/directives/clickOutside.directive.mjs +0 -31
- package/esm2020/lib/interfaces/multiSelectDefault.mjs +0 -2
- package/esm2020/lib/model/ruc-multi-select.model.mjs +0 -11
- package/esm2020/lib/pipes/filter.pipe.mjs +0 -28
- package/esm2020/lib/pipes/sort.pipe.mjs +0 -38
- package/esm2020/lib/ruclib-multi-select/ruclib-multi-select.component.mjs +0 -361
- package/esm2020/lib/ruclib-multi-select.module.mjs +0 -72
- package/esm2020/ruc-lib-multi-select.mjs +0 -5
- package/fesm2015/ruc-lib-multi-select.mjs +0 -557
- package/fesm2015/ruc-lib-multi-select.mjs.map +0 -1
- package/fesm2020/ruc-lib-multi-select.mjs +0 -558
- package/fesm2020/ruc-lib-multi-select.mjs.map +0 -1
- package/lib/animations/animations.d.ts +0 -1
- package/lib/directives/clickOutside.directive.d.ts +0 -10
- package/lib/interfaces/multiSelectDefault.d.ts +0 -64
- package/lib/model/ruc-multi-select.model.d.ts +0 -9
- package/lib/pipes/filter.pipe.d.ts +0 -7
- package/lib/pipes/sort.pipe.d.ts +0 -9
- package/lib/ruclib-multi-select/ruclib-multi-select.component.d.ts +0 -118
- package/lib/ruclib-multi-select.module.d.ts +0 -20
package/README.md
CHANGED
|
@@ -12,45 +12,75 @@ npm install @uxpractice/ruc-lib
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
### Install Individual Component
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
If you only need the MultiSelect component:
|
|
17
|
+
|
|
18
|
+
**For Angular 15:**
|
|
19
|
+
```bash
|
|
20
|
+
npm install @ruc-lib/multi-select@3.2.0 @angular/material@^15.0.0 @angular/cdk@^15.0.0
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**For Angular 16:**
|
|
24
|
+
```bash
|
|
25
|
+
npm install @ruc-lib/multi-select@3.2.0 @angular/material@^16.0.0 @angular/cdk@^16.0.0
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**For Angular 17:**
|
|
29
|
+
```bash
|
|
30
|
+
npm install @ruc-lib/multi-select@4.0.0 @angular/material@^17.0.0 @angular/cdk@^17.0.0
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**For Angular 18:**
|
|
34
|
+
```bash
|
|
35
|
+
npm install @ruc-lib/multi-select@4.0.0 @angular/material@^18.0.0 @angular/cdk@^18.0.0
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**For Angular 19:**
|
|
39
|
+
```bash
|
|
40
|
+
npm install @ruc-lib/multi-select@4.0.0 @angular/material@^19.0.0 @angular/cdk@^19.0.0
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**For Angular 20:**
|
|
16
44
|
```bash
|
|
17
|
-
npm install @ruc-lib/multi-select
|
|
45
|
+
npm install @ruc-lib/multi-select@4.0.0
|
|
18
46
|
```
|
|
19
47
|
|
|
48
|
+
> **Note:** When installing in Angular 15-19 apps, you must specify the matching `@angular/material` and `@angular/cdk` versions to avoid peer dependency conflicts. Angular 20 will automatically use the correct versions.
|
|
20
49
|
|
|
21
|
-
|
|
50
|
+
### 📦 Version Compatibility
|
|
22
51
|
|
|
23
|
-
Please ensure you install the correct version of `@ruc-lib/multi-select` based on your Angular version.
|
|
24
|
-
|
|
25
52
|
| Angular Version | Compatible `@ruc-lib/multi-select` Version |
|
|
26
53
|
|--------------------|------------------------------------------------|
|
|
27
54
|
| 15.x.x | `npm install @ruc-lib/multi-select@^3.2.0` |
|
|
28
55
|
| 16.x.x | `npm install @ruc-lib/multi-select@^3.2.0` |
|
|
56
|
+
| 17.x.x | `npm install @ruc-lib/multi-select@^4.0.0` |
|
|
57
|
+
| 18.x.x | `npm install @ruc-lib/multi-select@^4.0.0` |
|
|
58
|
+
| 19.x.x | `npm install @ruc-lib/multi-select@^4.0.0` |
|
|
59
|
+
| 20.x.x | `npm install @ruc-lib/multi-select@^4.0.0` |
|
|
29
60
|
|
|
30
61
|
|
|
31
62
|
## Usage
|
|
32
63
|
|
|
33
|
-
### 1. Import the
|
|
34
|
-
In your Angular
|
|
64
|
+
### 1. Import the Component
|
|
65
|
+
In your Angular component file (e.g., `app.component.ts`), import the `RuclibMultiSelectComponent`:
|
|
35
66
|
|
|
36
67
|
```typescript
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
],
|
|
50
|
-
providers: [],
|
|
51
|
-
bootstrap: [AppComponent]
|
|
68
|
+
import { Component } from '@angular/core';
|
|
69
|
+
|
|
70
|
+
// For Complete Library
|
|
71
|
+
import { RuclibMultiSelectComponent } from '@uxpractice/ruc-lib/multi-select';
|
|
72
|
+
|
|
73
|
+
// For Individual Package
|
|
74
|
+
import { RuclibMultiSelectComponent } from '@ruc-lib/multi-select';
|
|
75
|
+
|
|
76
|
+
@Component({
|
|
77
|
+
selector: 'app-root',
|
|
78
|
+
imports: [RuclibMultiSelectComponent],
|
|
79
|
+
templateUrl: './app.component.html',
|
|
52
80
|
})
|
|
53
|
-
export class
|
|
81
|
+
export class AppComponent {
|
|
82
|
+
// Component code here
|
|
83
|
+
}
|
|
54
84
|
```
|
|
55
85
|
|
|
56
86
|
### 2. Use the Component
|
|
@@ -178,4 +208,4 @@ Contributions are welcome! Feel free to open issues or pull requests for any enh
|
|
|
178
208
|
|
|
179
209
|
## Acknowledgements
|
|
180
210
|
|
|
181
|
-
Thank you for choosing the Multi Select Component. If you have any feedback or suggestions, please let us know!
|
|
211
|
+
Thank you for choosing the Multi Select Component. If you have any feedback or suggestions, please let us know!
|