@ng-matero/extensions 16.3.1 → 16.3.3
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/core/density/_all-density.scss +22 -0
- package/core/density/_compatibility.scss +74 -0
- package/core/theming/_theming.scss +55 -21
- package/core/tokens/m2/mtx/_grid.scss +12 -1
- package/core/tokens/m2/mtx/_split.scss +1 -1
- package/esm2022/grid/column-menu.mjs +10 -4
- package/esm2022/grid/grid-pipes.mjs +2 -2
- package/esm2022/grid/grid.mjs +12 -11
- package/esm2022/popover/popover.mjs +3 -3
- package/esm2022/select/select.mjs +2 -2
- package/fesm2022/mtxGrid.mjs +21 -14
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxPopover.mjs +2 -2
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxSelect.mjs +2 -2
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/grid/_grid-theme.scss +8 -1
- package/grid/column-menu.d.ts +1 -2
- package/grid/column-menu.scss +32 -3
- package/grid/grid-pipes.d.ts +1 -1
- package/grid/grid.d.ts +2 -1
- package/grid/grid.scss +28 -107
- package/package.json +7 -7
- package/popover/popover.scss +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/select/select.scss +55 -79
package/select/select.scss
CHANGED
|
@@ -26,12 +26,10 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
26
26
|
.ng-value-container {
|
|
27
27
|
align-items: center;
|
|
28
28
|
|
|
29
|
-
.ng-input {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
font: inherit;
|
|
34
|
-
}
|
|
29
|
+
.ng-input>input {
|
|
30
|
+
padding: 0;
|
|
31
|
+
color: inherit;
|
|
32
|
+
font: inherit;
|
|
35
33
|
}
|
|
36
34
|
}
|
|
37
35
|
|
|
@@ -77,98 +75,76 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
|
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
&.ng-select-opened {
|
|
80
|
-
.ng-arrow-wrapper {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
border-width: 0 5px 5px;
|
|
84
|
-
}
|
|
78
|
+
.ng-arrow-wrapper .ng-arrow {
|
|
79
|
+
top: -2px;
|
|
80
|
+
border-width: 0 5px 5px;
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
|
|
88
84
|
&.ng-select-single {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
display: initial;
|
|
93
|
-
visibility: hidden;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.ng-select-container {
|
|
98
|
-
.ng-value-container {
|
|
99
|
-
// vertical align with material form field
|
|
100
|
-
.ng-placeholder,
|
|
101
|
-
.ng-value {
|
|
102
|
-
&::after {
|
|
103
|
-
display: inline-block;
|
|
104
|
-
content: '';
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
85
|
+
&.ng-select-filtered .ng-placeholder {
|
|
86
|
+
display: initial;
|
|
87
|
+
visibility: hidden;
|
|
108
88
|
}
|
|
109
89
|
}
|
|
110
90
|
|
|
111
91
|
&.ng-select-multiple {
|
|
112
|
-
.ng-select-container {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
font-size: .875em;
|
|
118
|
-
line-height: 18px;
|
|
92
|
+
.ng-select-container .ng-value-container .ng-value {
|
|
93
|
+
margin: 2px 4px 2px 0;
|
|
94
|
+
border-radius: 16px;
|
|
95
|
+
font-size: .875em;
|
|
96
|
+
line-height: 18px;
|
|
119
97
|
|
|
120
|
-
|
|
121
|
-
|
|
98
|
+
@include token-utils.use-tokens($_tokens...) {
|
|
99
|
+
@include token-utils.create-token-slot(background-color, multiple-value-background-color);
|
|
122
100
|
|
|
123
|
-
|
|
101
|
+
$border-color: token-utils.get-token-variable(multiple-value-border-color);
|
|
124
102
|
|
|
125
|
-
|
|
126
|
-
|
|
103
|
+
border: 1px solid var($border-color);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@include rtl {
|
|
107
|
+
margin-right: auto;
|
|
108
|
+
margin-left: 4px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.ng-value-disabled {
|
|
112
|
+
opacity: .4;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ng-value-label {
|
|
116
|
+
display: inline-block;
|
|
117
|
+
margin: 0 8px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ng-value-icon {
|
|
121
|
+
display: inline-block;
|
|
122
|
+
width: 18px;
|
|
123
|
+
height: 18px;
|
|
124
|
+
border-radius: 100%;
|
|
125
|
+
text-align: center;
|
|
126
|
+
|
|
127
|
+
&.left {
|
|
128
|
+
margin-right: -4px;
|
|
127
129
|
|
|
128
130
|
@include rtl {
|
|
131
|
+
margin-left: -4px;
|
|
129
132
|
margin-right: auto;
|
|
130
|
-
margin-left: 4px;
|
|
131
133
|
}
|
|
134
|
+
}
|
|
132
135
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
+
&.right {
|
|
137
|
+
margin-left: -4px;
|
|
136
138
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
margin:
|
|
139
|
+
@include rtl {
|
|
140
|
+
margin-right: -4px;
|
|
141
|
+
margin-left: auto;
|
|
140
142
|
}
|
|
143
|
+
}
|
|
141
144
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
height: 18px;
|
|
146
|
-
border-radius: 100%;
|
|
147
|
-
text-align: center;
|
|
148
|
-
|
|
149
|
-
&.left {
|
|
150
|
-
margin-right: -4px;
|
|
151
|
-
|
|
152
|
-
@include rtl {
|
|
153
|
-
margin-left: -4px;
|
|
154
|
-
margin-right: auto;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.right {
|
|
159
|
-
margin-left: -4px;
|
|
160
|
-
|
|
161
|
-
@include rtl {
|
|
162
|
-
margin-right: -4px;
|
|
163
|
-
margin-left: auto;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&:hover {
|
|
168
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
169
|
-
@include token-utils.create-token-slot(background-color, multiple-value-icon-hover-background-color);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
145
|
+
&:hover {
|
|
146
|
+
@include token-utils.use-tokens($_tokens...) {
|
|
147
|
+
@include token-utils.create-token-slot(background-color, multiple-value-icon-hover-background-color);
|
|
172
148
|
}
|
|
173
149
|
}
|
|
174
150
|
}
|