Skip to content

Commit 741f6d5

Browse files
committed
release: 9.0.0
1 parent 481af33 commit 741f6d5

13 files changed

+487
-453
lines changed

app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdb-react-ui-kit-demo",
3-
"version": "8.0.0",
3+
"version": "9.0.0",
44
"main": "index.js",
55
"repository": {
66
"type": "git",

app/src/free/components/Modal/Modal.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ const MDBModal = ({
6868
'modal',
6969
staticModalAnimation && 'modal-static',
7070
animationDirection,
71-
'fade',
72-
isOpen && 'show',
7371
isOpen && nonInvasive && 'modal-non-invasive-show',
7472
className
7573
);
76-
const backdropClasses = clsx('modal-backdrop', 'fade', isOpen && 'show');
74+
const backdropClasses = clsx('modal-backdrop');
7775

7876
const closeModal = useCallback(() => {
7977
setIsOpenState(false);

app/src/free/forms/Input/Input.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ const MDBInput: React.FC<InputProps> = React.forwardRef<HTMLInputElement, InputP
5959
useImperativeHandle(ref, () => innerRef.current as HTMLInputElement);
6060

6161
const wrapperClasses = clsx('form-outline', contrast && 'form-white', wrapperClass);
62+
const typesWithPlaceholder = ['date', 'time', 'datetime-local', 'month', 'week'];
63+
const isTypeWithPlaceholder = typesWithPlaceholder.includes(type as string);
64+
6265
const inputClasses = clsx(
6366
'form-control',
6467
active && 'active',
65-
type === 'date' && 'active',
68+
isTypeWithPlaceholder && 'active',
6669
size && `form-control-${size}`,
6770
className
6871
);

dist/css/mdb.dark.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/mdb.dark.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/mdb.dark.rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/mdb.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/mdb.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/mdb.rtl.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mdb-react-ui-kit.cjs

+1-1
Large diffs are not rendered by default.

dist/mdb-react-ui-kit.esm.js

+438-440
Large diffs are not rendered by default.

dist/scss/free/forms/_input-group.scss

+35
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,38 @@
124124
}
125125
}
126126
}
127+
128+
INPUT,
129+
SELECT,
130+
TEXTAREA {
131+
&:-webkit-autofill {
132+
animation-name: onautofillstart;
133+
134+
-webkit-background-clip: text;
135+
box-shadow: inset 0 0 20px 20px white;
136+
-webkit-box-shadow: 0 0 20px 20px white inset !important;
137+
138+
&:hover,
139+
&:focus,
140+
&:active {
141+
animation-name: onautofillstart;
142+
143+
-webkit-background-clip: text;
144+
box-shadow: inset 0 0 20px 20px white;
145+
-webkit-box-shadow: 0 0 20px 20px white inset !important;
146+
}
147+
}
148+
149+
&:not(:-webkit-autofill) {
150+
animation-name: onautofillcancel;
151+
}
152+
}
153+
154+
@keyframes onautofillstart {
155+
from {
156+
}
157+
}
158+
@keyframes onautofillcancel {
159+
from {
160+
}
161+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdb-react-ui-kit",
3-
"version": "8.0.0",
3+
"version": "9.0.0",
44
"main": "./dist/mdb-react-ui-kit.cjs",
55
"module": "./dist/mdb-react-ui-kit.esm.js",
66
"types": "./dist/types/index-free.d.ts",

0 commit comments

Comments
 (0)