pukaad-ui-lib 1.190.0 → 1.192.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/dist/module.json +1 -1
- package/dist/runtime/components/card/card-user-blog.d.vue.ts +3 -3
- package/dist/runtime/components/card/card-user-blog.vue +3 -3
- package/dist/runtime/components/card/card-user-blog.vue.d.ts +3 -3
- package/dist/runtime/components/input/input-textarea.vue +3 -2
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/dist/runtime/components/ui/textarea/Textarea.vue +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -14,9 +14,9 @@ interface CardUserBlogProps {
|
|
|
14
14
|
title: string;
|
|
15
15
|
description: string;
|
|
16
16
|
image?: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
like_count: number;
|
|
18
|
+
comment_count: number;
|
|
19
|
+
share_count: number;
|
|
20
20
|
liked?: boolean;
|
|
21
21
|
}
|
|
22
22
|
type __VLS_Props = {
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
disabled-divider-top
|
|
64
64
|
disabled-divider-bottom
|
|
65
65
|
:item-count="{
|
|
66
|
-
liked: props.item.
|
|
67
|
-
commented: props.item.
|
|
68
|
-
shared: props.item.
|
|
66
|
+
liked: props.item.like_count,
|
|
67
|
+
commented: props.item.comment_count,
|
|
68
|
+
shared: props.item.share_count
|
|
69
69
|
}"
|
|
70
70
|
:itemActive="{
|
|
71
71
|
liked: props.item.liked
|
|
@@ -14,9 +14,9 @@ interface CardUserBlogProps {
|
|
|
14
14
|
title: string;
|
|
15
15
|
description: string;
|
|
16
16
|
image?: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
like_count: number;
|
|
18
|
+
comment_count: number;
|
|
19
|
+
share_count: number;
|
|
20
20
|
liked?: boolean;
|
|
21
21
|
}
|
|
22
22
|
type __VLS_Props = {
|
|
@@ -88,7 +88,7 @@ const props = defineProps({
|
|
|
88
88
|
rows: { type: Number, required: false, default: 4 },
|
|
89
89
|
fullWidth: { type: Boolean, required: false, default: false },
|
|
90
90
|
fullHeight: { type: Boolean, required: false, default: false },
|
|
91
|
-
heightScroll: { type: Boolean, required: false, default:
|
|
91
|
+
heightScroll: { type: Boolean, required: false, default: false },
|
|
92
92
|
height: { type: Number, required: false },
|
|
93
93
|
width: { type: Number, required: false },
|
|
94
94
|
class: { type: String, required: false }
|
|
@@ -108,10 +108,11 @@ const defaultRules = (v) => {
|
|
|
108
108
|
return true;
|
|
109
109
|
};
|
|
110
110
|
const autoHeight = () => {
|
|
111
|
+
if (props.height || props.fullHeight) return;
|
|
111
112
|
const el = textareaRef.value?.$el;
|
|
112
113
|
if (el) {
|
|
113
|
-
el.style.height = "auto";
|
|
114
114
|
if (!props.heightScroll) {
|
|
115
|
+
el.style.height = "auto";
|
|
115
116
|
el.style.height = `${el.scrollHeight}px`;
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -11,7 +11,7 @@ const props = defineProps({
|
|
|
11
11
|
data-slot="input-group-control"
|
|
12
12
|
:class="
|
|
13
13
|
cn(
|
|
14
|
-
'flex-1 resize-none rounded-none border-0 bg-transparent py-
|
|
14
|
+
'flex-1 resize-none rounded-none border-0 bg-transparent py-1 shadow-none focus-visible:ring-0 dark:bg-transparent',
|
|
15
15
|
props.class
|
|
16
16
|
)
|
|
17
17
|
"
|
|
@@ -20,7 +20,7 @@ const modelValue = useVModel(props, "modelValue", emits, {
|
|
|
20
20
|
:class="
|
|
21
21
|
cn(
|
|
22
22
|
'font-body-large',
|
|
23
|
-
'border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex
|
|
23
|
+
'border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex min-h-9 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
|
|
24
24
|
props.class
|
|
25
25
|
)
|
|
26
26
|
"
|