@stackline/angular-multiselect-dropdown 21.0.1 → 21.0.2
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 +25 -23
- package/fesm2022/stackline-angular-multiselect-dropdown.mjs +2070 -221
- package/package.json +65 -17
- package/themes/custom.theme.css +1 -28
- package/themes/custom.theme.scss +1 -27
- package/themes/dark.theme.scss +113 -0
- package/themes/default.theme.css +0 -27
- package/themes/default.theme.scss +0 -26
- package/types/stackline-angular-multiselect-dropdown.d.ts +321 -58
- package/fesm2022/stackline-angular-multiselect-dropdown.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,32 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "../../../node_modules/ng-packagr/package.schema.json",
|
|
2
3
|
"name": "@stackline/angular-multiselect-dropdown",
|
|
3
|
-
"version": "21.0.
|
|
4
|
-
"description": "Angular 21 compatible multiselect dropdown package for the Stackline Angular 21 release line.",
|
|
4
|
+
"version": "21.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": "Pradeep Terli",
|
|
7
|
-
"
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/alexandroit/angular-multiselect-dropdown.git"
|
|
10
|
-
},
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/alexandroit/angular-multiselect-dropdown/issues"
|
|
13
|
-
},
|
|
14
|
-
"homepage": "https://alexandro.net/docs/angular/multiselect/angular-21/",
|
|
6
|
+
"author": "Pradeep Terli (Original), Alexandro Paixao Marques (Maintainer)",
|
|
7
|
+
"description": "Angular multiselect dropdown for maintained release lines from Angular 2 through Angular 21, with search, grouping, custom templates, checkbox selection, reactive and template-driven forms support, and Material-inspired theming from Angular 14 onward.",
|
|
15
8
|
"keywords": [
|
|
16
|
-
"angular
|
|
17
|
-
"angular
|
|
9
|
+
"angular",
|
|
10
|
+
"angular-library",
|
|
11
|
+
"angular-component",
|
|
12
|
+
"angular-multiselect-dropdown",
|
|
13
|
+
"angular multiselect dropdown",
|
|
14
|
+
"angular-multiselect",
|
|
18
15
|
"angular multiselect",
|
|
19
|
-
"angular
|
|
16
|
+
"angular-select",
|
|
17
|
+
"angular multi select",
|
|
18
|
+
"multiselect",
|
|
19
|
+
"multiselect-dropdown",
|
|
20
|
+
"multi-select",
|
|
21
|
+
"dropdown",
|
|
22
|
+
"select",
|
|
23
|
+
"dropdown-search",
|
|
24
|
+
"checkbox-dropdown",
|
|
25
|
+
"checkbox multiselect",
|
|
26
|
+
"searchable-dropdown",
|
|
27
|
+
"select-all",
|
|
28
|
+
"dropdown-with-search",
|
|
29
|
+
"search-filter",
|
|
30
|
+
"group-by",
|
|
31
|
+
"grouped-dropdown",
|
|
32
|
+
"custom-templates",
|
|
33
|
+
"template-driven-forms",
|
|
34
|
+
"reactive-forms",
|
|
35
|
+
"ngmodel",
|
|
36
|
+
"formcontrolname",
|
|
37
|
+
"forms",
|
|
38
|
+
"ui-component",
|
|
39
|
+
"material-inspired",
|
|
40
|
+
"material-like",
|
|
41
|
+
"theming",
|
|
42
|
+
"scss-theme",
|
|
43
|
+
"css-theme",
|
|
44
|
+
"legacy-angular",
|
|
45
|
+
"angular-compatibility",
|
|
46
|
+
"angular21",
|
|
47
|
+
"angular20",
|
|
48
|
+
"angular19",
|
|
49
|
+
"angular14",
|
|
50
|
+
"angular2-multiselect",
|
|
51
|
+
"angular2-multiselect-dropdown",
|
|
52
|
+
"migration-friendly",
|
|
53
|
+
"maintained",
|
|
54
|
+
"ngx",
|
|
55
|
+
"ngx-multiselect",
|
|
56
|
+
"virtual-scroll"
|
|
20
57
|
],
|
|
58
|
+
"homepage": "https://alexandro.net/docs/angular/multiselect/",
|
|
21
59
|
"peerDependencies": {
|
|
22
|
-
"@angular/common": ">=21.0.0 <22.0.0",
|
|
23
60
|
"@angular/core": ">=21.0.0 <22.0.0",
|
|
24
|
-
"@angular/forms": ">=21.0.0 <22.0.0"
|
|
61
|
+
"@angular/forms": ">=21.0.0 <22.0.0",
|
|
62
|
+
"@angular/common": ">=21.0.0 <22.0.0"
|
|
25
63
|
},
|
|
26
64
|
"dependencies": {
|
|
27
|
-
"
|
|
65
|
+
"@tweenjs/tween.js": "^17.4.0",
|
|
28
66
|
"tslib": "^2.3.0"
|
|
29
67
|
},
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "git+https://github.com/alexandroit/angular-multiselect-dropdown.git"
|
|
71
|
+
},
|
|
72
|
+
"bugs": {
|
|
73
|
+
"url": "https://github.com/alexandroit/angular-multiselect-dropdown/issues"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=20.19.0"
|
|
77
|
+
},
|
|
30
78
|
"module": "fesm2022/stackline-angular-multiselect-dropdown.mjs",
|
|
31
79
|
"typings": "types/stackline-angular-multiselect-dropdown.d.ts",
|
|
32
80
|
"exports": {
|
package/themes/custom.theme.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
.stackline-dropdown .c-btn {
|
|
25
25
|
min-height: 56px;
|
|
26
|
-
padding: 11px
|
|
26
|
+
padding: 11px 54px 11px 16px;
|
|
27
27
|
border-radius: 18px;
|
|
28
28
|
background: var(--ms-surface);
|
|
29
29
|
border: 1px solid var(--ms-outline);
|
|
@@ -200,30 +200,3 @@
|
|
|
200
200
|
right: 16px;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
/*# sourceMappingURL=custom.theme.css.map */
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
.selected-list .clear-all {
|
|
207
|
-
font-size: 12pt;
|
|
208
|
-
position: absolute;
|
|
209
|
-
right: 42px;
|
|
210
|
-
top: 50%;
|
|
211
|
-
transform: translateY(-50%);
|
|
212
|
-
cursor: pointer;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.stackline-dropdown.theme-material .selected-list .clear-all,
|
|
216
|
-
.stackline-dropdown.theme-dark .selected-list .clear-all,
|
|
217
|
-
.stackline-dropdown.theme-custom .selected-list .clear-all {
|
|
218
|
-
position: absolute;
|
|
219
|
-
top: 50%;
|
|
220
|
-
right: 42px;
|
|
221
|
-
display: inline-flex;
|
|
222
|
-
align-items: center;
|
|
223
|
-
justify-content: center;
|
|
224
|
-
width: 20px;
|
|
225
|
-
height: 20px;
|
|
226
|
-
transform: translateY(-50%);
|
|
227
|
-
color: var(--ms-on-surface-muted);
|
|
228
|
-
cursor: pointer;
|
|
229
|
-
}
|
package/themes/custom.theme.scss
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.stackline-dropdown .c-btn {
|
|
26
26
|
min-height: 56px;
|
|
27
|
-
padding: 11px
|
|
27
|
+
padding: 11px 54px 11px 16px;
|
|
28
28
|
border-radius: 18px;
|
|
29
29
|
background: var(--ms-surface);
|
|
30
30
|
border: 1px solid var(--ms-outline);
|
|
@@ -200,29 +200,3 @@
|
|
|
200
200
|
top: 18px;
|
|
201
201
|
right: 16px;
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
.selected-list .clear-all {
|
|
206
|
-
font-size: 12pt;
|
|
207
|
-
position: absolute;
|
|
208
|
-
right: 42px;
|
|
209
|
-
top: 50%;
|
|
210
|
-
transform: translateY(-50%);
|
|
211
|
-
cursor: pointer;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.stackline-dropdown.theme-material .selected-list .clear-all,
|
|
215
|
-
.stackline-dropdown.theme-dark .selected-list .clear-all,
|
|
216
|
-
.stackline-dropdown.theme-custom .selected-list .clear-all {
|
|
217
|
-
position: absolute;
|
|
218
|
-
top: 50%;
|
|
219
|
-
right: 42px;
|
|
220
|
-
display: inline-flex;
|
|
221
|
-
align-items: center;
|
|
222
|
-
justify-content: center;
|
|
223
|
-
width: 20px;
|
|
224
|
-
height: 20px;
|
|
225
|
-
transform: translateY(-50%);
|
|
226
|
-
color: var(--ms-on-surface-muted);
|
|
227
|
-
cursor: pointer;
|
|
228
|
-
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
|
|
2
|
+
$base-color: #000000;
|
|
3
|
+
$btn-background: #fff;
|
|
4
|
+
$btn-border: #ccc;
|
|
5
|
+
$btn-text-color: #333;
|
|
6
|
+
$btn-arrow: #333;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
$token-background: $base-color;
|
|
10
|
+
$token-text-color: #fff;
|
|
11
|
+
$token-remove-color: #fff;
|
|
12
|
+
|
|
13
|
+
$box-shadow-color: #959595;
|
|
14
|
+
$list-hover-background: #f5f5f5;
|
|
15
|
+
$label-color: #000;
|
|
16
|
+
$selected-background: #e9f4ff;
|
|
17
|
+
|
|
18
|
+
.c-btn{
|
|
19
|
+
background: $btn-background;
|
|
20
|
+
border: 1px solid $btn-border;
|
|
21
|
+
color: $btn-text-color;
|
|
22
|
+
}
|
|
23
|
+
.selected-list{
|
|
24
|
+
.c-list{
|
|
25
|
+
.c-token{
|
|
26
|
+
background: $token-background;
|
|
27
|
+
.c-label{
|
|
28
|
+
color: $token-text-color;
|
|
29
|
+
}
|
|
30
|
+
.c-remove {
|
|
31
|
+
svg {
|
|
32
|
+
fill: $token-remove-color;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.c-angle-down, .c-angle-up{
|
|
39
|
+
svg {
|
|
40
|
+
fill: $btn-arrow;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.dropdown-list{
|
|
45
|
+
ul{
|
|
46
|
+
li:hover{
|
|
47
|
+
background: $list-hover-background;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.arrow-up, .arrow-down {
|
|
52
|
+
border-bottom: 15px solid #fff;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.arrow-2{
|
|
56
|
+
border-bottom: 15px solid #ccc;
|
|
57
|
+
}
|
|
58
|
+
.list-area{
|
|
59
|
+
border: 1px solid #ccc;
|
|
60
|
+
background: #fff;
|
|
61
|
+
box-shadow: 0px 1px 5px $box-shadow-color;
|
|
62
|
+
}
|
|
63
|
+
.select-all{
|
|
64
|
+
border-bottom: 1px solid #ccc;
|
|
65
|
+
}
|
|
66
|
+
.list-filter{
|
|
67
|
+
border-bottom: 1px solid #ccc;
|
|
68
|
+
.c-search{
|
|
69
|
+
svg {
|
|
70
|
+
fill: #888;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.c-clear {
|
|
74
|
+
svg {
|
|
75
|
+
fill: #888;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.pure-checkbox {
|
|
81
|
+
input[type="checkbox"]:focus + label:before, input[type="checkbox"]:hover + label:before{
|
|
82
|
+
border-color: $base-color;
|
|
83
|
+
background-color: #f2f2f2;
|
|
84
|
+
}
|
|
85
|
+
input[type="checkbox"] + label{
|
|
86
|
+
color: $label-color;
|
|
87
|
+
}
|
|
88
|
+
input[type="checkbox"] + label:before{
|
|
89
|
+
color: $base-color;
|
|
90
|
+
border: 2px solid $base-color;
|
|
91
|
+
}
|
|
92
|
+
input[type="checkbox"] + label:after{
|
|
93
|
+
background-color: $base-color;
|
|
94
|
+
}
|
|
95
|
+
input[type="checkbox"]:disabled + label:before{
|
|
96
|
+
border-color: #cccccc;
|
|
97
|
+
}
|
|
98
|
+
input[type="checkbox"]:disabled:checked + label:before{
|
|
99
|
+
background-color: #cccccc;
|
|
100
|
+
}
|
|
101
|
+
input[type="checkbox"] + label:after{
|
|
102
|
+
border-color: #ffffff;
|
|
103
|
+
}
|
|
104
|
+
input[type="radio"]:checked + label:before{
|
|
105
|
+
background-color: white;
|
|
106
|
+
}
|
|
107
|
+
input[type="checkbox"]:checked + label:before{
|
|
108
|
+
background: $base-color;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.selected-item{
|
|
112
|
+
background: $selected-background;
|
|
113
|
+
}
|
package/themes/default.theme.css
CHANGED
|
@@ -34,30 +34,3 @@
|
|
|
34
34
|
color: #ffffff;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/*# sourceMappingURL=default.theme.css.map */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
.selected-list .clear-all {
|
|
41
|
-
font-size: 12pt;
|
|
42
|
-
position: absolute;
|
|
43
|
-
right: 42px;
|
|
44
|
-
top: 50%;
|
|
45
|
-
transform: translateY(-50%);
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.stackline-dropdown.theme-material .selected-list .clear-all,
|
|
50
|
-
.stackline-dropdown.theme-dark .selected-list .clear-all,
|
|
51
|
-
.stackline-dropdown.theme-custom .selected-list .clear-all {
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: 50%;
|
|
54
|
-
right: 42px;
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
width: 20px;
|
|
59
|
-
height: 20px;
|
|
60
|
-
transform: translateY(-50%);
|
|
61
|
-
color: var(--ms-on-surface-muted);
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
}
|
|
@@ -33,29 +33,3 @@
|
|
|
33
33
|
background: var(--ms-primary);
|
|
34
34
|
color: #ffffff;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.selected-list .clear-all {
|
|
39
|
-
font-size: 12pt;
|
|
40
|
-
position: absolute;
|
|
41
|
-
right: 42px;
|
|
42
|
-
top: 50%;
|
|
43
|
-
transform: translateY(-50%);
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.stackline-dropdown.theme-material .selected-list .clear-all,
|
|
48
|
-
.stackline-dropdown.theme-dark .selected-list .clear-all,
|
|
49
|
-
.stackline-dropdown.theme-custom .selected-list .clear-all {
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 50%;
|
|
52
|
-
right: 42px;
|
|
53
|
-
display: inline-flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
width: 20px;
|
|
57
|
-
height: 20px;
|
|
58
|
-
transform: translateY(-50%);
|
|
59
|
-
color: var(--ms-on-surface-muted);
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
}
|