sprintify-ui 0.0.91 → 0.0.92
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/sprintify-ui.es.js
CHANGED
|
@@ -10672,7 +10672,7 @@ const Zm = /* @__PURE__ */ ze(Km, [["render", Jm]]), Xm = { role: "presentation"
|
|
|
10672
10672
|
]);
|
|
10673
10673
|
};
|
|
10674
10674
|
}
|
|
10675
|
-
}), rp = ["value", "name", "placeholder", "disabled", "required"], op = /* @__PURE__ */ H({
|
|
10675
|
+
}), rp = ["value", "name", "placeholder", "disabled", "required", "rows"], op = /* @__PURE__ */ H({
|
|
10676
10676
|
__name: "BaseTextareaAutoresize",
|
|
10677
10677
|
props: {
|
|
10678
10678
|
modelValue: {
|
|
@@ -10695,6 +10695,10 @@ const Zm = /* @__PURE__ */ ze(Km, [["render", Jm]]), Xm = { role: "presentation"
|
|
|
10695
10695
|
default: 100,
|
|
10696
10696
|
type: Number
|
|
10697
10697
|
},
|
|
10698
|
+
rows: {
|
|
10699
|
+
default: 1,
|
|
10700
|
+
type: Number
|
|
10701
|
+
},
|
|
10698
10702
|
submitOnEnter: {
|
|
10699
10703
|
default: !1,
|
|
10700
10704
|
type: Boolean
|
|
@@ -10747,7 +10751,7 @@ const Zm = /* @__PURE__ */ ze(Km, [["render", Jm]]), Xm = { role: "presentation"
|
|
|
10747
10751
|
h(m) ? "border-red-500" : "border-slate-300"
|
|
10748
10752
|
]]),
|
|
10749
10753
|
style: De({ maxHeight: e.maxHeight + "px", gridArea: o }),
|
|
10750
|
-
rows:
|
|
10754
|
+
rows: e.rows,
|
|
10751
10755
|
onInput: E,
|
|
10752
10756
|
onKeyup: $,
|
|
10753
10757
|
onKeydown: L,
|
|
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
default: number;
|
|
20
20
|
type: NumberConstructor;
|
|
21
21
|
};
|
|
22
|
+
rows: {
|
|
23
|
+
default: number;
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
};
|
|
22
26
|
/**
|
|
23
27
|
* Setting this to true will trigger the 'submit' event while pressing Enter.
|
|
24
28
|
* Users will be able to add a line break while pressing Shift + Enter.
|
|
@@ -56,6 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
default: number;
|
|
57
61
|
type: NumberConstructor;
|
|
58
62
|
};
|
|
63
|
+
rows: {
|
|
64
|
+
default: number;
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
};
|
|
59
67
|
/**
|
|
60
68
|
* Setting this to true will trigger the 'submit' event while pressing Enter.
|
|
61
69
|
* Users will be able to add a line break while pressing Shift + Enter.
|
|
@@ -84,6 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
92
|
disabled: boolean;
|
|
85
93
|
hasError: boolean;
|
|
86
94
|
maxHeight: number;
|
|
95
|
+
rows: number;
|
|
87
96
|
submitOnEnter: boolean;
|
|
88
97
|
}>;
|
|
89
98
|
export default _default;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
hasErrorInternal ? 'border-red-500' : 'border-slate-300',
|
|
17
17
|
]"
|
|
18
18
|
:style="{ maxHeight: maxHeight + 'px', gridArea: BASE_GRID_AREA }"
|
|
19
|
-
rows="
|
|
19
|
+
:rows="rows"
|
|
20
20
|
@input="onInput"
|
|
21
21
|
@keyup="onKeyUp"
|
|
22
22
|
@keydown="onKeyDown"
|
|
@@ -72,6 +72,10 @@ const props = defineProps({
|
|
|
72
72
|
default: 100,
|
|
73
73
|
type: Number,
|
|
74
74
|
},
|
|
75
|
+
rows: {
|
|
76
|
+
default: 1,
|
|
77
|
+
type: Number,
|
|
78
|
+
},
|
|
75
79
|
/**
|
|
76
80
|
* Setting this to true will trigger the 'submit' event while pressing Enter.
|
|
77
81
|
* Users will be able to add a line break while pressing Shift + Enter.
|