@opentiny/vue-search-box-saas 3.28.5-alpha.0 → 3.29.0

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/index.css CHANGED
@@ -87,7 +87,7 @@
87
87
  /* Safari */
88
88
  margin: var(--tiny-spacing-0, 0px);
89
89
  }
90
- .tiny-popper.tvp-search-box__dropdown-menu,
90
+ .tiny-popper.tiny-popper.tvp-search-box__dropdown-menu,
91
91
  .tvp-search-box__popover {
92
92
  padding: var(--tiny-spacing-0, 0px);
93
93
  }
@@ -212,26 +212,69 @@
212
212
  .tvp-search-box__dropdown {
213
213
  display: block;
214
214
  flex: 1 1 0%;
215
+ overflow-y: auto;
216
+ overflow-x: hidden;
215
217
  }
216
218
  .tvp-search-box__loading-box {
217
219
  min-height: 32px;
218
220
  }
219
- .tvp-search-box__radio-wrap {
220
- max-height: 240px;
221
- overflow: auto;
222
- padding-top: var(--tiny-spacing-1, 0.250rem);
223
- padding-bottom: var(--tiny-spacing-1, 0.250rem);
221
+ .tvp-search-box__virtual-list {
222
+ overflow-y: auto;
223
+ overflow-x: hidden;
224
+ position: relative;
225
+ }
226
+ .tvp-search-box__virtual-list::-webkit-scrollbar {
227
+ width: 8px;
228
+ height: 8px;
229
+ }
230
+ .tvp-search-box__virtual-list::-webkit-scrollbar-track {
231
+ background-color: transparent;
232
+ }
233
+ .tvp-search-box__virtual-list::-webkit-scrollbar-thumb {
234
+ background-color: var(--tiny-color-text-disabled, #AEAEAE);
235
+ border-radius: var(--tiny-borderRadius-DEFAULT, 0.250rem);
236
+ }
237
+ .tvp-search-box__virtual-list .tiny-dropdown-item.tiny-dropdown-item {
238
+ margin-bottom: 0 !important;
239
+ height: 32px;
240
+ overflow: hidden;
241
+ }
242
+ .tvp-search-box__virtual-list .tvp-search-box__filter-type {
243
+ margin-top: var(--tiny-spacing-0, 0px);
244
+ height: 32px;
245
+ line-height: 32px;
246
+ display: block;
247
+ width: 100%;
248
+ }
249
+ .tvp-search-box__virtual-phantom {
250
+ position: relative;
251
+ width: 100%;
252
+ }
253
+ .tvp-search-box__virtual-content {
254
+ position: absolute;
255
+ top: var(--tiny-spacing-0, 0px);
256
+ left: var(--tiny-spacing-0, 0px);
257
+ width: 100%;
258
+ }
259
+ .tvp-search-box__checkbox-scroll {
260
+ flex: 1 1 0%;
261
+ min-height: var(--tiny-spacing-0, 0px);
224
262
  }
225
263
  .tvp-search-box__checkbox-wrap {
226
- padding-top: var(--tiny-spacing-2, 0.500rem);
227
- max-height: 186px;
264
+ display: flex;
265
+ flex-direction: column;
228
266
  }
229
267
  .tvp-search-box__checkbox {
230
268
  flex-direction: column;
231
269
  }
270
+ .tvp-search-box__radio-wrap {
271
+ padding-top: var(--tiny-spacing-1, 0.250rem);
272
+ padding-bottom: var(--tiny-spacing-1, 0.250rem);
273
+ }
232
274
  .tvp-search-box__bottom-btn,
233
275
  .tvp-search-box__checkbox-btn {
234
276
  display: flex;
277
+ flex-shrink: 0;
235
278
  border-top-width: var(--tiny-borderWidth-DEFAULT, 1px);
236
279
  border-color: var(--tiny-color-border, #C9C9C9);
237
280
  margin-top: var(--tiny-spacing-1, 0.250rem);