release 6.4.1

This commit is contained in:
Grzegorz Bujański 2023-07-31 13:42:50 +02:00
parent 942ba0f7d1
commit ab9df6e30b
15 changed files with 29 additions and 18 deletions

View File

@ -1,5 +1,5 @@
MDB5 MDB5
Version: FREE 6.4.0 Version: FREE 6.4.1
Documentation: Documentation:
https://mdbootstrap.com/docs/standard/ https://mdbootstrap.com/docs/standard/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
css/mdb.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
css/mdb.rtl.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
js/mdb.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "mdb-ui-kit", "name": "mdb-ui-kit",
"version": "6.4.0", "version": "6.4.1",
"main": "js/mdb.min.js", "main": "js/mdb.min.js",
"homepage": "https://mdbootstrap.com/docs/standard/", "homepage": "https://mdbootstrap.com/docs/standard/",
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git", "repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",

View File

@ -66,8 +66,10 @@ class Tab extends BSTab {
const showEventMdb = EventHandler.trigger(innerElem, EVENT_SHOW, { relatedTarget: active }); const showEventMdb = EventHandler.trigger(innerElem, EVENT_SHOW, { relatedTarget: active });
if ( if (
(showEvent.defaultPrevented && showEventMdb.defaultPrevented) || showEvent.defaultPrevented ||
(hideEvent && hideEvent.defaultPrevented && hideEventMdb && hideEventMdb.defaultPrevented) showEventMdb.defaultPrevented ||
(hideEvent && hideEvent.defaultPrevented) ||
(hideEventMdb && hideEventMdb.defaultPrevented)
) { ) {
return; return;
} }

View File

@ -241,7 +241,16 @@ const EventHandler = {
eventParameters[param] = e[param]; eventParameters[param] = e[param];
}); });
} }
EventHandler.trigger(element, `${event.name}.mdb.${componentName}`, eventParameters);
const mdbEvent = EventHandler.trigger(
element,
`${event.name}.mdb.${componentName}`,
eventParameters
);
if (mdbEvent.defaultPrevented) {
e.preventDefault();
}
}); });
}); });
}, },

View File

@ -599,7 +599,7 @@ $blue-grays: (
// scss-docs-start color-variables // scss-docs-start color-variables
$red: $red-500 !default; $red: $red-500 !default;
$pink: $pink-500 !default; $pink: $pink-500 !default;
$purple: purple-500 !default; $purple: $purple-500 !default;
$indigo: $indigo-500 !default; $indigo: $indigo-500 !default;
$blue: $blue-500 !default; $blue: $blue-500 !default;
$cyan: $cyan-500 !default; $cyan: $cyan-500 !default;