Skip to content

Commit d264635

Browse files
author
unknown
committed
1.0.0-beta2
1 parent 1cad4f9 commit d264635

File tree

14 files changed

+821
-244
lines changed

14 files changed

+821
-244
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 MDBootstrap
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

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-beta1
3+
Version: FREE 1.0.0-beta2
44

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

js/mdb.common.js

Lines changed: 509 additions & 221 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: 2 additions & 2 deletions
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-beta1",
3+
"version": "1.0.0-beta2",
44
"main": "js/mdb.umd.min.js",
55
"repository": "https://github.com/mdbootstrap/mdb-vue-ui-kit.git",
66
"author": "MDBootstrap",

src/components/free/components/MDBBtn.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ export default {
4848
props.outline || props.color === "light" || props.color === "link"
4949
? { color: "dark" }
5050
: true
51-
}
51+
},
52+
picker: Boolean
5253
},
5354
directives: { mdbRipple },
5455
inheritAttrs: false,
@@ -58,7 +59,7 @@ export default {
5859
5960
const className = computed(() => {
6061
return [
61-
"btn",
62+
!props.picker && "btn",
6263
props.color && `btn-${props.color}`,
6364
props.size && `btn-${props.size}`,
6465
props.outline && `btn-outline-${props.outline}`,

src/components/free/components/MDBDropdownToggle.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
:is="tag"
44
type="button"
55
:class="className"
6-
data-mdb-toggle="dropdown"
76
:aria-expanded="expanded"
87
aria-haspopup="true"
98
v-bind="attrs"

src/components/free/forms/MDBInput.vue

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@
2323
<div v-if="!wrap && customInvalidFeedback" :class="invalidFeedbackClassName">
2424
{{ customInvalidFeedback }}
2525
</div>
26+
<div v-if="!wrap && formOutline" class="form-notch">
27+
<div
28+
class="form-notch-leading"
29+
:style="{ width: `${notchLeadingWidth}px` }"
30+
></div>
31+
<div
32+
class="form-notch-middle"
33+
:style="{ width: `${notchMiddleWidth}px` }"
34+
></div>
35+
<div class="form-notch-trailing"></div>
36+
</div>
2637
<component
2738
v-if="wrap"
2839
:is="tag"
@@ -82,7 +93,7 @@ export default {
8293
id: String,
8394
label: String,
8495
labelClass: String,
85-
modelValue: [String, Number],
96+
modelValue: [String, Number, Date],
8697
size: String,
8798
formOutline: {
8899
type: Boolean,
@@ -233,7 +244,9 @@ export default {
233244
off(inputRef.value, props.validationEvent, handleValidation);
234245
});
235246
236-
watchEffect(() => (inputValue.value = props.modelValue));
247+
watchEffect(() => {
248+
inputValue.value = props.modelValue;
249+
});
237250
238251
watch(
239252
() => props.isValidated,

0 commit comments

Comments
 (0)