General
show to open, onHide to onClose, and onShow to onOpen in all components
.js to .cjs
type keyword to props export.
displayName to the components.
use client directive.
framer-motion library to our dependencies.
Features
datetimepicker!
value, onDatepickerOpen, onDatepickerClose, onTimepickerOpen, onTimepickerClose
onClosed, onOpened
show to open & fixed controlling open state with it
value prop
onClosed, onOpened, open properties
activeDate inside datepicker
enableTarget, target, setTarget
animate, onEnd
src, video, captionClassName from MDBCarouselItem
activeStep
onChange and marked onValueChange as deprecated
open property
open prop to always define the state of the component (controlled)
defaultOpen to set initial open state (uncontrolled)
events prop
files and onChange to enable controlling value
Improved & fixed
scrollIntoViewIfNeeded() because it was not supported on some browsers.
onClose and onOpen events triggering.
open property
onHide event triggering even when dropdown was already closed.
bs-[position] class
onChange triggering on the first render