@kizmann/nano-ui 0.9.1 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/overview.html +1 -1
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +1 -1
- package/dist/nano-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/popover/src/popover/popover.scss +3 -3
- package/src/select/src/select/select.js +9 -1
- package/src/select/src/select/select.scss +5 -1
- package/servy.json +0 -6
package/package.json
CHANGED
@@ -68,7 +68,6 @@
|
|
68
68
|
line-height: 1.2;
|
69
69
|
}
|
70
70
|
|
71
|
-
|
72
71
|
.n-popover-option .n-image {
|
73
72
|
flex: 0 0 auto;
|
74
73
|
margin-top: -2px;
|
@@ -139,6 +138,7 @@
|
|
139
138
|
|
140
139
|
.n-popover--#{$suffix} .n-popover__body .n-popover-group,
|
141
140
|
.n-popover--#{$suffix} .n-popover__body .n-popover-option {
|
141
|
+
width: calc(100% + #{$-popover-padding * 2.4});
|
142
142
|
margin: 0 -#{$-popover-padding * 1.2};
|
143
143
|
}
|
144
144
|
|
@@ -153,8 +153,8 @@
|
|
153
153
|
}
|
154
154
|
|
155
155
|
.n-popover-option--#{$suffix} .n-image {
|
156
|
-
width: $-popover-font +
|
157
|
-
height: $-popover-font +
|
156
|
+
width: $-popover-font + 10;
|
157
|
+
height: $-popover-font + 10;
|
158
158
|
}
|
159
159
|
|
160
160
|
.n-popover-option--#{$suffix} .n-icon {
|
@@ -836,8 +836,16 @@ export default {
|
|
836
836
|
|
837
837
|
renderPopover()
|
838
838
|
{
|
839
|
+
let classList = [
|
840
|
+
'n-popover--select'
|
841
|
+
];
|
842
|
+
|
843
|
+
if ( this.lazy ) {
|
844
|
+
classList.push('n-virtual');
|
845
|
+
}
|
846
|
+
|
839
847
|
let props = {
|
840
|
-
class:
|
848
|
+
class: classList,
|
841
849
|
trigger: 'click',
|
842
850
|
width: - 1,
|
843
851
|
listen: true,
|
@@ -118,13 +118,17 @@
|
|
118
118
|
}
|
119
119
|
|
120
120
|
.n-select__body.n-virtual {
|
121
|
-
min-height:
|
121
|
+
min-height: 210px;
|
122
122
|
}
|
123
123
|
|
124
124
|
.n-select__empty {
|
125
125
|
text-align: center;
|
126
126
|
}
|
127
127
|
|
128
|
+
.n-popover--select.n-virtual {
|
129
|
+
overflow: hidden;
|
130
|
+
}
|
131
|
+
|
128
132
|
@each $suffix, $values in $form {
|
129
133
|
|
130
134
|
$-select-font: map-get($values, 'font');
|