@ng-matero/extensions 18.4.2 → 18.5.1
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/checkbox-group/checkbox-group.d.ts +12 -2
- package/core/tokens/m2/mtx/_select.scss +1 -0
- package/core/tokens/m3/mtx/_select.scss +4 -0
- package/esm2022/checkbox-group/checkbox-group.mjs +26 -4
- package/esm2022/datetimepicker/time.mjs +5 -1
- package/esm2022/grid/column-menu.mjs +9 -3
- package/esm2022/grid/grid.mjs +11 -3
- package/esm2022/grid/interfaces.mjs +1 -1
- package/esm2022/select/select.mjs +3 -3
- package/esm2022/tooltip/tooltip.mjs +2 -2
- package/fesm2022/mtxCheckboxGroup.mjs +25 -3
- package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
- package/fesm2022/mtxDatetimepicker.mjs +4 -0
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +18 -4
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxSelect.mjs +2 -2
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxTooltip.mjs +2 -2
- package/grid/_grid-theme.scss +0 -3
- package/grid/column-menu.d.ts +3 -1
- package/grid/grid.d.ts +5 -1
- package/grid/grid.scss +1 -0
- package/grid/interfaces.d.ts +2 -0
- package/package.json +7 -7
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/select/select.scss +22 -33
- package/tooltip/tooltip.scss +1 -1
package/select/select.scss
CHANGED
|
@@ -15,6 +15,7 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
15
15
|
$filled-padding-top: var(--mat-form-field-filled-with-label-container-padding-top);
|
|
16
16
|
$filled-padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom);
|
|
17
17
|
$vertical-padding: var(--mat-form-field-container-vertical-padding);
|
|
18
|
+
$text-line-height: var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));
|
|
18
19
|
|
|
19
20
|
padding: $filled-padding-top 16px $filled-padding-bottom;
|
|
20
21
|
margin: calc($filled-padding-top * -1) -16px calc($filled-padding-bottom * -1);
|
|
@@ -34,17 +35,21 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
34
35
|
|
|
35
36
|
.ng-value-container {
|
|
36
37
|
align-items: center;
|
|
38
|
+
gap: 4px;
|
|
37
39
|
|
|
38
40
|
.ng-input>input {
|
|
39
|
-
|
|
41
|
+
height: $text-line-height;
|
|
40
42
|
color: inherit;
|
|
41
43
|
font: inherit;
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
.ng-clear-wrapper {
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
align-items: center;
|
|
46
51
|
width: 24px;
|
|
47
|
-
text-
|
|
52
|
+
height: $text-line-height;
|
|
48
53
|
}
|
|
49
54
|
}
|
|
50
55
|
|
|
@@ -93,10 +98,12 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
93
98
|
|
|
94
99
|
&.ng-select-multiple {
|
|
95
100
|
.ng-select-container .ng-value-container .ng-value {
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
height: $text-line-height;
|
|
104
|
+
padding: 0 calc(($text-line-height - 16px) / 2);
|
|
105
|
+
border-radius: 9999px;
|
|
98
106
|
font-size: .875em;
|
|
99
|
-
line-height: 18px;
|
|
100
107
|
|
|
101
108
|
@include token-utils.create-token-slot(background-color, multiple-value-background-color);
|
|
102
109
|
|
|
@@ -104,50 +111,32 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
104
111
|
|
|
105
112
|
border: 1px solid $border-color;
|
|
106
113
|
|
|
107
|
-
@include rtl {
|
|
108
|
-
margin-right: auto;
|
|
109
|
-
margin-left: 4px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
114
|
&.ng-value-disabled {
|
|
113
115
|
opacity: .4;
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
.ng-value-label {
|
|
117
119
|
display: inline-block;
|
|
118
|
-
margin: 0
|
|
120
|
+
margin: 0 4px;
|
|
121
|
+
line-height: 16px;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
.ng-value-icon {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
height:
|
|
125
|
-
border-radius:
|
|
125
|
+
width: 16px;
|
|
126
|
+
height: 16px;
|
|
127
|
+
line-height: 16px;
|
|
128
|
+
border-radius: 50%;
|
|
126
129
|
text-align: center;
|
|
127
130
|
|
|
128
|
-
&.left {
|
|
129
|
-
margin-right: -4px;
|
|
130
|
-
|
|
131
|
-
@include rtl {
|
|
132
|
-
margin-left: -4px;
|
|
133
|
-
margin-right: auto;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&.right {
|
|
138
|
-
margin-left: -4px;
|
|
139
|
-
|
|
140
|
-
@include rtl {
|
|
141
|
-
margin-right: -4px;
|
|
142
|
-
margin-left: auto;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
131
|
&:hover {
|
|
147
132
|
@include token-utils.create-token-slot(background-color, multiple-value-icon-hover-background-color);
|
|
148
133
|
}
|
|
149
134
|
}
|
|
150
135
|
}
|
|
136
|
+
|
|
137
|
+
&.ng-select-disabled .ng-select-container .ng-value-container .ng-value {
|
|
138
|
+
border-color: token-utils.get-token-variable(multiple-value-disabled-outline-color);
|
|
139
|
+
}
|
|
151
140
|
}
|
|
152
141
|
|
|
153
142
|
.ng-arrow-wrapper {
|