Socket
Socket
Sign inDemoInstall

@weahead/consent-manager

Package Overview
Dependencies
9
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

4

dist/components/Buttons/Button/OpenModal/index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc