quasar-ui-sellmate-ui-kit 3.14.39 → 3.14.41
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/dist/index.common.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/dist/index.umd.js +13 -7
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/InputWithSearchIcon.vue +7 -1
- package/src/components/SSelectSearch.vue +21 -1
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
v-if="search"
|
|
7
7
|
:name="closeIcon12"
|
|
8
8
|
size="12px"
|
|
9
|
-
class="q-pa-sm cursor-pointer"
|
|
9
|
+
class="q-pa-sm cursor-pointer absolute-right"
|
|
10
10
|
color="grey_65"
|
|
11
11
|
@click="$emit('onDelete')"
|
|
12
12
|
/>
|
|
@@ -80,4 +80,10 @@
|
|
|
80
80
|
outline: none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
+
.absolute-right {
|
|
84
|
+
position: absolute;
|
|
85
|
+
right: 0;
|
|
86
|
+
top: 50%;
|
|
87
|
+
transform: translateY(-50%);
|
|
88
|
+
}
|
|
83
89
|
</style>
|
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
's-select-opts s-select-opts__select-search',
|
|
14
14
|
`s-select-opt-${id}`,
|
|
15
15
|
isScrolled && 's-select-opts--scroll',
|
|
16
|
+
menuWidth && 'menu-fixed',
|
|
16
17
|
popupContentClass,
|
|
17
18
|
].join(' ')
|
|
18
19
|
"
|
|
20
|
+
:popup-content-style="menuWidth ? { '--dynamic-width': menuWidth + 'px' } : {}"
|
|
19
21
|
:option-label="optionLabel"
|
|
20
22
|
:option-value="optionValue"
|
|
21
23
|
:menu-offset="[0, 4]"
|
|
@@ -124,6 +126,10 @@
|
|
|
124
126
|
popupContentClass: {
|
|
125
127
|
type: String,
|
|
126
128
|
},
|
|
129
|
+
menuWidth: {
|
|
130
|
+
type: [String, Number, null],
|
|
131
|
+
default: null,
|
|
132
|
+
},
|
|
127
133
|
},
|
|
128
134
|
setup(props, { emit }) {
|
|
129
135
|
const id = useId();
|
|
@@ -326,7 +332,8 @@
|
|
|
326
332
|
}
|
|
327
333
|
}
|
|
328
334
|
.custom-select-options {
|
|
329
|
-
height: $default-height;
|
|
335
|
+
min-height: $default-height;
|
|
336
|
+
height: auto !important;
|
|
330
337
|
}
|
|
331
338
|
|
|
332
339
|
.disabled.s-select-option {
|
|
@@ -334,4 +341,17 @@
|
|
|
334
341
|
background: none !important;
|
|
335
342
|
color: $grey_65 !important;
|
|
336
343
|
}
|
|
344
|
+
|
|
345
|
+
.q-item__section {
|
|
346
|
+
display: block;
|
|
347
|
+
white-space: normal;
|
|
348
|
+
overflow: visible;
|
|
349
|
+
text-overflow: unset;
|
|
350
|
+
word-break: break-all;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.menu-fixed {
|
|
354
|
+
max-width: var(--dynamic-width) !important;
|
|
355
|
+
width: var(--dynamic-width) !important;
|
|
356
|
+
}
|
|
337
357
|
</style>
|