@weahead/consent-manager
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import type { OpenModalButtonProps } from '../../../../types/Button'; | ||
import './style.css'; | ||
export default function OpenModalButton({ children, className, }: OpenModalButtonProps): JSX.Element; | ||
export default function OpenModalButton({ children, className, }: OpenModalButtonProps): React.JSX.Element; |
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import type { DisabledButtonProps } from '../../../../types/Button'; | ||
import './style.css'; | ||
export default function DisabledToggleButton({ active, }: DisabledButtonProps): JSX.Element; | ||
export default function DisabledToggleButton({ active, }: DisabledButtonProps): React.JSX.Element; |
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import type { ToggleButtonProps } from '../../../../types/Button'; | ||
import './style.css'; | ||
export default function ToggleButton({ cookieName, disabled, }: ToggleButtonProps): JSX.Element; | ||
export default function ToggleButton({ cookieName, disabled, }: ToggleButtonProps): React.JSX.Element; |
@@ -1,3 +0,3 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import type { ModalProps } from '../../types/Modal'; | ||
export default function Modal({ analyticsLabel, approveAllLabel, approveLabel, content, externalLabel, functionLabel, moreSettingsLabel, settingsContent, title, revokeLabel, }: ModalProps): JSX.Element | null; | ||
export default function Modal({ analyticsLabel, approveAllLabel, approveLabel, content, externalLabel, functionLabel, moreSettingsLabel, settingsContent, title, revokeLabel, }: ModalProps): React.JSX.Element | null; |
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import type { ModalProps } from '../../types/Modal'; | ||
import './style.css'; | ||
export default function ConsentModal({ analyticsLabel, approveAllLabel, approveLabel, content, externalLabel, functionLabel, moreSettingsLabel, settingsContent, title, revokeLabel, }: ModalProps): JSX.Element; | ||
export default function ConsentModal({ analyticsLabel, approveAllLabel, approveLabel, content, externalLabel, functionLabel, moreSettingsLabel, settingsContent, title, revokeLabel, }: ModalProps): React.JSX.Element; |
@@ -0,3 +1,4 @@ | ||
import React from 'react'; | ||
import type { PropsWithChildren } from 'react'; | ||
import './style.css'; | ||
export default function Overlay({ children }: PropsWithChildren<{}>): JSX.Element; | ||
export default function Overlay({ children }: PropsWithChildren<{}>): React.JSX.Element; |
import React from 'react'; | ||
import type { PropsWithChildren } from 'react'; | ||
export declare const Context: React.Context<import("../../types/Context").State>; | ||
export default function ConsentManagerContext({ children, }: PropsWithChildren<{}>): JSX.Element; | ||
export default function ConsentManagerContext({ children, }: PropsWithChildren<{}>): React.JSX.Element; |
@@ -0,3 +1,4 @@ | ||
import React from 'react'; | ||
import type { PropsWithChildren } from 'react'; | ||
declare function ConsentManager({ children }: PropsWithChildren<{}>): JSX.Element; | ||
declare function ConsentManager({ children }: PropsWithChildren<{}>): React.JSX.Element; | ||
declare namespace ConsentManager { | ||
@@ -4,0 +5,0 @@ var Modal: typeof import("./components/Modal").default; |
{ | ||
"name": "@weahead/consent-manager", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"author": "Weahead AB <alla@weahead.se>", | ||
@@ -37,9 +37,9 @@ "main": "index.js", | ||
"dependencies": { | ||
"@weahead/react-cookie-consent-hook": "2.0.6", | ||
"@weahead/react-customizable-modal": "1.3.1", | ||
"@weahead/react-cookie-consent-hook": "3.0.0", | ||
"@weahead/react-customizable-modal": "2.0.0-rc.3", | ||
"immer": "9.0.14" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"@types/react": "^17.0.38", | ||
"@types/react": "^18.2.18", | ||
"commitizen": "^4.2.4", | ||
@@ -52,0 +52,0 @@ "copyfiles": "2.4.1", |
49401
1068
+ Added@weahead/react-cookie-consent-hook@3.0.0(transitive)
+ Added@weahead/react-customizable-modal@2.0.0-rc.3(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedtabbable@6.2.0(transitive)
- Removed@weahead/react-cookie-consent-hook@2.0.6(transitive)
- Removed@weahead/react-customizable-modal@1.3.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)