@resee-movies/nuxt-ux 0.7.0 → 0.7.1
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
|
@@ -145,5 +145,5 @@ const altText = computed(() => {
|
|
|
145
145
|
</script>
|
|
146
146
|
|
|
147
147
|
<style scoped>
|
|
148
|
-
@reference "tailwindcss";.image{background-color:#fff;max-width:-moz-fit-content;max-width:fit-content;overflow:clip;position:relative;width:100%;@variant dark{background-color:#000}}.image.bordered{border:2px solid var(--color-global-background-accent)}.image.beveled{border-bottom-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.image.raised{box-shadow:var(--shadow-heavy)}.image.glass:after{background-image:linear-gradient(110deg,transparent 25%,hsla(0,0%,100%,.15) 80%,transparent);content:var(--zero-width-space);inset:0;position:absolute}.image .icon{color:var(--color-global-background-accent);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}
|
|
148
|
+
@reference "tailwindcss";.image{background-color:#fff;max-width:-moz-fit-content;max-width:fit-content;overflow:clip;position:relative;width:100%;@variant dark{background-color:#000}}.image.bordered{border:2px solid var(--color-global-background-accent)}.image.beveled{border-bottom-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.image.raised{box-shadow:var(--shadow-heavy)}.image.glass:after{background-image:linear-gradient(110deg,transparent 25%,hsla(0,0%,100%,.15) 80%,transparent);content:var(--zero-width-space);inset:0;position:absolute}.image :deep(.icon){color:var(--color-global-background-accent);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}
|
|
149
149
|
</style>
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
checkbox-icon = "i-ph-check-bold"
|
|
22
22
|
>
|
|
23
23
|
<template #value="{ value, placeholder }">
|
|
24
|
-
<template v-if="value">
|
|
25
|
-
|
|
24
|
+
<template v-if="value && (Array.isArray(value) ? value.length : true)">
|
|
25
|
+
<slot name="label">
|
|
26
|
+
{{ toLabel(value) || "\u200B" }}
|
|
27
|
+
</slot>
|
|
26
28
|
</template>
|
|
27
29
|
|
|
28
30
|
<span v-else class="placeholder">
|
|
@@ -9,6 +9,8 @@ export interface FormElementSelectOptionsProps extends Omit<PrimeSelectProps, 'i
|
|
|
9
9
|
selectionLimit?: string | number;
|
|
10
10
|
}
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FormElementSelectOptionsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormElementSelectOptionsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
label?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
12
14
|
option?: (props: {
|
|
13
15
|
option: any;
|
|
14
16
|
selected: any;
|
package/package.json
CHANGED