Skip to content

Commit

Permalink
Release 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaju committed May 9, 2022
1 parent e5dbbae commit 2ce6f9b
Show file tree
Hide file tree
Showing 23 changed files with 214 additions and 1,300 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MDB 5 Vue

Version: FREE 1.12.0
Version: FREE 1.13.0

Documentation:
https://mdbootstrap.com/docs/b5/vue/
Expand Down
16 changes: 4 additions & 12 deletions css/mdb.dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.dark.min.css.map

Large diffs are not rendered by default.

14 changes: 3 additions & 11 deletions css/mdb.dark.rtl.min.css

Large diffs are not rendered by default.

16 changes: 4 additions & 12 deletions css/mdb.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.min.css.map

Large diffs are not rendered by default.

14 changes: 3 additions & 11 deletions css/mdb.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdb-vue-ui-kit",
"version": "1.12.0",
"version": "1.13.0",
"main": "js/mdb.umd.min.js",
"repository": "https://github.com/mdbootstrap/mdb-vue-ui-kit.git",
"author": "MDBootstrap",
Expand Down
3 changes: 1 addition & 2 deletions src/directives/free/mdbOnScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export default {
if (binding.value === false || !el) return;

const options = binding.value;

let isFirstShow = true;
let isFirstHide = true;

Expand All @@ -13,7 +12,7 @@ export default {
const callback = options.callback || options;

const getOffset = () => {
var rect = el.getBoundingClientRect();
const rect = el.getBoundingClientRect();
return rect.top;
};

Expand Down
98 changes: 98 additions & 0 deletions src/scss/free/_validation.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,101 @@
.valid-feedback {
width: auto;
}

.is-valid {
.form-outline {
.form-control {
~ .form-label {
color: $valid-color;
}

~ .form-notch .form-notch-leading,
~ .form-notch .form-notch-middle,
~ .form-notch .form-notch-trailing {
border-color: $valid-color;
}

&:focus ~ .form-notch .form-notch-middle,
&.active ~ .form-notch .form-notch-middle {
border-top: 1px solid transparent;
}
&:focus ~ .form-notch .form-notch-middle {
box-shadow: 0 1px 0 0 $valid-color;
}
&:focus ~ .form-notch .form-notch-leading {
box-shadow: -1px 0 0 0 $valid-color, 0 1px 0 0 $valid-color,
0 -1px 0 0 $valid-color;
}
&:focus ~ .form-notch .form-notch-trailing {
box-shadow: 1px 0 0 0 $valid-color, 0 -1px 0 0 $valid-color,
0 1px 0 0 $valid-color;
}

&.select-input.focused {
& ~ .form-notch .form-notch-leading {
box-shadow: -1px 0 0 0 $valid-color, 0 1px 0 0 $valid-color,
0 -1px 0 0 $valid-color;
}

& ~ .form-notch .form-notch-middle {
box-shadow: 0 1px 0 0 $valid-color;
border-top: 1px solid transparent;
}

& ~ .form-notch .form-notch-trailing {
box-shadow: 1px 0 0 0 $valid-color, 0 -1px 0 0 $valid-color,
0 1px 0 0 $valid-color;
}
}
}
}
}

.is-invalid {
.form-outline {
.form-control {
~ .form-label {
color: $invalid-color;
}

~ .form-notch .form-notch-leading,
~ .form-notch .form-notch-middle,
~ .form-notch .form-notch-trailing {
border-color: $invalid-color;
}

&:focus ~ .form-notch .form-notch-middle,
&.active ~ .form-notch .form-notch-middle {
border-top: 1px solid transparent;
}
&:focus ~ .form-notch .form-notch-middle {
box-shadow: 0 1px 0 0 $invalid-color;
}
&:focus ~ .form-notch .form-notch-leading {
box-shadow: -1px 0 0 0 $invalid-color, 0 1px 0 0 $invalid-color,
0 -1px 0 0 $invalid-color;
}
&:focus ~ .form-notch .form-notch-trailing {
box-shadow: 1px 0 0 0 $invalid-color, 0 -1px 0 0 $invalid-color,
0 1px 0 0 $invalid-color;
}

&.select-input.focused {
& ~ .form-notch .form-notch-leading {
box-shadow: -1px 0 0 0 $invalid-color, 0 1px 0 0 $invalid-color,
0 -1px 0 0 $invalid-color;
}

& ~ .form-notch .form-notch-middle {
box-shadow: 0 1px 0 0 $invalid-color;
border-top: 1px solid transparent;
}

& ~ .form-notch .form-notch-trailing {
box-shadow: 1px 0 0 0 $invalid-color, 0 -1px 0 0 $invalid-color,
0 1px 0 0 $invalid-color;
}
}
}
}
}
2 changes: 2 additions & 0 deletions src/scss/free/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$valid-color: #00b74a;
$invalid-color: #f93154;
3 changes: 3 additions & 0 deletions src/scss/index.free.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// MDB Standard Free
@import "./standard/mdb.free";

// MDB Vue core utils
@import "./free/variables";

// MDB Vue Free
@import "./free/checkboxes";
@import "./free/badges";
Expand Down
8 changes: 4 additions & 4 deletions src/scss/standard/free/_carousel.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.carousel-control-prev-icon {
&::after {
content: "\f053";
content: '\f053';
font-weight: $font-weight-bold;
font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
font-size: 1.7rem;
}
}
.carousel-control-next-icon {
&::after {
content: "\f054";
content: '\f054';
font-weight: $font-weight-bold;
font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
font-size: 1.7rem;
}
}
Expand Down
Loading

0 comments on commit 2ce6f9b

Please sign in to comment.