quasar-ui-sellmate-ui-kit 3.14.39 → 3.14.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.14.39",
3
+ "version": "3.14.40",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -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>