@finema/core 3.17.0 → 3.17.2
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
})
|
|
37
37
|
"
|
|
38
38
|
>
|
|
39
|
-
<div class="flex min-w-0 items-center gap-x-2">
|
|
39
|
+
<div class="flex min-w-0 flex-1 items-center gap-x-2 overflow-hidden">
|
|
40
40
|
<component
|
|
41
41
|
:is="selectedOption.component"
|
|
42
42
|
v-if="
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
class: [ui?.selectedLabel]
|
|
52
52
|
})
|
|
53
53
|
]"
|
|
54
|
-
:style="selectedLabelStyle"
|
|
55
54
|
>
|
|
56
55
|
<span
|
|
57
56
|
:class="[
|
|
58
57
|
props.selectedLabelLines && props.selectedLabelLines > 1 ? 'block min-w-0 break-words whitespace-normal' : 'block min-w-0 truncate'
|
|
59
58
|
]"
|
|
59
|
+
:style="selectedLabelStyle"
|
|
60
60
|
>
|
|
61
61
|
{{ selectedOption?.label ?? modelValue }}
|
|
62
62
|
</span>
|
|
@@ -2,9 +2,9 @@ export const selectMenuTheme = {
|
|
|
2
2
|
slots: {
|
|
3
3
|
base: ["cursor-pointer w-full rounded-lg"],
|
|
4
4
|
trailingIcon: "group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
5
|
-
selectedWrapper: "flex w-full items-center justify-between",
|
|
6
|
-
selectedLabel: "truncate",
|
|
7
|
-
clearIcon: "size-6 bg-gray-400 hover:bg-gray-400/75",
|
|
5
|
+
selectedWrapper: "flex w-full min-w-0 items-center justify-between gap-x-2",
|
|
6
|
+
selectedLabel: "min-w-0 flex-1 truncate text-left",
|
|
7
|
+
clearIcon: "size-6 min-w-6 min-h-6 shrink-0 bg-gray-400 hover:bg-gray-400/75",
|
|
8
8
|
item: "cursor-pointer max-sm:h-14",
|
|
9
9
|
tagsWrapper: "flex flex-wrap gap-x-2 gap-y-1",
|
|
10
10
|
tagsItem: "px-1.5 py-0.5 rounded-sm inline-flex items-center gap-0.5 ring-1 ring-gray-300 bg-white data-disabled:cursor-not-allowed data-disabled:opacity-75",
|