Skip to content

Commit 233c415

Browse files
author
unknown
committed
1.0.0-beta7
1 parent 4dc531a commit 233c415

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+534
-315
lines changed

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MDB 5 Vue
22

3-
Version: FREE 1.0.0-beta6
3+
Version: FREE 1.0.0-beta7
44

55
Documentation:
66
https://mdbootstrap.com/docs/b5/vue/

css/mdb.min.css

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/mdb.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/mdb.common.js

Lines changed: 164 additions & 141 deletions
Large diffs are not rendered by default.

js/mdb.common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/mdb.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/mdb.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdb-vue-ui-kit",
3-
"version": "1.0.0-beta6",
3+
"version": "1.0.0-beta7",
44
"main": "js/mdb.umd.min.js",
55
"repository": "https://github.com/mdbootstrap/mdb-vue-ui-kit.git",
66
"author": "MDBootstrap",

src/components/free/forms/MDBInput.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
:value="inputValue"
88
@input="handleInput"
99
ref="inputRef"
10+
v-mdb-click-outside="clickOutside"
1011
/>
1112
<label
1213
v-if="label && !wrap"
@@ -39,6 +40,7 @@
3940
:is="tag"
4041
:class="wrapperClassName"
4142
:style="validationStyle"
43+
v-mdb-click-outside="clickOutside"
4244
>
4345
<slot name="prepend" />
4446
<input
@@ -86,6 +88,7 @@ import {
8688
} from "vue";
8789
import { on, off } from "../../utils/MDBEventHandlers";
8890
import { getUID } from "../../utils/getUID";
91+
import mdbClickOutside from "@/directives/free/mdbClickOutside.js";
8992
9093
export default {
9194
name: "MDBInput",
@@ -124,7 +127,8 @@ export default {
124127
default: "div"
125128
}
126129
},
127-
emits: ["update:modelValue"],
130+
directives: { mdbClickOutside },
131+
emits: ["update:modelValue", "click-outside"],
128132
setup(props, { attrs, emit }) {
129133
const inputRef = ref("inputRef");
130134
const inputValue = ref(props.modelValue);
@@ -226,6 +230,10 @@ export default {
226230
emit("update:modelValue", inputValue.value);
227231
}
228232
233+
function clickOutside() {
234+
emit("click-outside");
235+
}
236+
229237
onMounted(() => {
230238
calcNotch();
231239
setPlaceholder();
@@ -273,6 +281,7 @@ export default {
273281
customInvalidFeedback,
274282
notchLeadingWidth,
275283
notchMiddleWidth,
284+
clickOutside,
276285
attrs,
277286
props
278287
};

src/components/free/layout/MDBRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { computed } from "vue";
99
1010
export default {
11-
name: "MDBContainer",
11+
name: "MDBRow",
1212
props: {
1313
tag: {
1414
type: String,

0 commit comments

Comments
 (0)