Skip to content

Commit

Permalink
release: 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mako3577 committed Sep 16, 2024
1 parent 481af33 commit 741f6d5
Show file tree
Hide file tree
Showing 13 changed files with 487 additions and 453 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdb-react-ui-kit-demo",
"version": "8.0.0",
"version": "9.0.0",
"main": "index.js",
"repository": {
"type": "git",
Expand Down
4 changes: 1 addition & 3 deletions app/src/free/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,10 @@ const MDBModal = ({
'modal',
staticModalAnimation && 'modal-static',
animationDirection,
'fade',
isOpen && 'show',
isOpen && nonInvasive && 'modal-non-invasive-show',
className
);
const backdropClasses = clsx('modal-backdrop', 'fade', isOpen && 'show');
const backdropClasses = clsx('modal-backdrop');

const closeModal = useCallback(() => {
setIsOpenState(false);
Expand Down
5 changes: 4 additions & 1 deletion app/src/free/forms/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ const MDBInput: React.FC<InputProps> = React.forwardRef<HTMLInputElement, InputP
useImperativeHandle(ref, () => innerRef.current as HTMLInputElement);

const wrapperClasses = clsx('form-outline', contrast && 'form-white', wrapperClass);
const typesWithPlaceholder = ['date', 'time', 'datetime-local', 'month', 'week'];
const isTypeWithPlaceholder = typesWithPlaceholder.includes(type as string);

const inputClasses = clsx(
'form-control',
active && 'active',
type === 'date' && 'active',
isTypeWithPlaceholder && 'active',
size && `form-control-${size}`,
className
);
Expand Down
2 changes: 1 addition & 1 deletion dist/css/mdb.dark.min.css

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mdb-react-ui-kit.cjs

Large diffs are not rendered by default.

878 changes: 438 additions & 440 deletions dist/mdb-react-ui-kit.esm.js

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions dist/scss/free/forms/_input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,38 @@
}
}
}

INPUT,
SELECT,
TEXTAREA {
&:-webkit-autofill {
animation-name: onautofillstart;

-webkit-background-clip: text;
box-shadow: inset 0 0 20px 20px white;
-webkit-box-shadow: 0 0 20px 20px white inset !important;

&:hover,
&:focus,
&:active {
animation-name: onautofillstart;

-webkit-background-clip: text;
box-shadow: inset 0 0 20px 20px white;
-webkit-box-shadow: 0 0 20px 20px white inset !important;
}
}

&:not(:-webkit-autofill) {
animation-name: onautofillcancel;
}
}

@keyframes onautofillstart {
from {
}
}
@keyframes onautofillcancel {
from {
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdb-react-ui-kit",
"version": "8.0.0",
"version": "9.0.0",
"main": "./dist/mdb-react-ui-kit.cjs",
"module": "./dist/mdb-react-ui-kit.esm.js",
"types": "./dist/types/index-free.d.ts",
Expand Down

0 comments on commit 741f6d5

Please sign in to comment.