@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -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 + 6;
157
- height: $-popover-font + 6;
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: 'n-popover--select',
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: 310px;
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');
package/servy.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "hostname": "nano-ui.local",
3
- "webroot": "",
4
- "version": "php-8.2.8",
5
- "engine": "apache"
6
- }