- (feature) add
useUsercentricsServiceConsent
, a hook that integrates the status of the given usercentrics service by id
- (improvement) Add method
integrateHttpBasicAuth()
for handling a list of Http Basic Auth Credentials - (deprecation) Deprecate
handleHttpBasicAuth
method
- (feature) Add
<UsercentricsSmartDataProtector>
snippet component.
- (improvement) Improve Types of
mountJsx
.
- (improvement) Add more parameters for
<Usercentrics>
component. - (improvement) Add
parseLocale
function.
- (improvement) Remove internal
elementMatches()
helper. - (improvement) Remove outdated
CustomEvent
workaround. - (deprecation) Deprecate
createEvent
helper. - (improvement) Remove outdated
MediaQueryList.addEventListener()
workaround.
- (improvement) Add
isAbortError()
. - (feature) Add Usercentrics hook.
- (feature) Add
<Usercentrics>
snippet component.
- (bug) Remove debug output div
- (feature) Add
ClientOnlyPortal
. - (feature) Add Cookiebot hook.
- (feature) Add
<Cookiebot>
snippet component.
Fix invalid version numbers.
- (bug) Support all allowed syntaxes in
AnchorIntegration
. - (improvement) Widen allowed type in JSON functions.
- (feature) Add
AnchorIntegration
. - (bc) The dist file names changed back to
.js
.
- (internal) Change the way the package is published.
- (bc) move
useDebounced
. - (feature) add
useMediaQuery
. - (improvement) Add explicit
types
export. - (feature) Add
handleHttpBasicAuth()
.
- (bc) Use
react
instead ofpreact
for JSX topics. - (internal) Improve build by removing custom logic and using
exports
inpackage.json
- (bc) Build files to
*.mjs
and*.d.ts
. - (improvement) Properly set
type: module
of this package.
- (feature) add
useDebounced
.
- (internal) Republish, due to broken release.
- (improvement) Build TypeScript while preserving the comments.
- (improvement)
closest()
now properly checks the element itself. If you want the old behavior, useclosest(element.parentElement)
instead. - (improvement) You can now call
closest()
withnull
as element. - (bug) Fix
delegate
not actually registering the event listener. - (improvement) Bump all dependencies.
- (bug) Fix
registerBodyClickHandler
for pages that have no or a small body.
- (bug) Fix broken release in
1.5.1
.
- (improvement) Add callback to
addConsecutiveClasses()
.
- (improvement) Add possibility to pass multiple classes to toggle.
- (feature) Add
addConsecutiveClasses()
.
- (feature) Add
matchMediaQuery()
.
- (feature) Add
safeParseJson()
. - (feature) Add
parseElementContentAsJson()
. - (improvement) Allow to pass a single element to
mount()
. - (feature) Add
mountJsx()
.
- (bug) Actually register the event listener in
once
+ add tests.
- (feature) Add
registerBodyClickHandler()
andinitDismissibleContainer()
. - (feature) Add
onNextAnimationFrame()
.
- (feature) Add
toggleClass()
.
- (feature) Add
find()
andfindOne()
indom/traverse
. - (feature) Add
on()
,off()
,delegate()
,onOff()
,once()
andtrigger()
. - (feature) Add
mount()
.