Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/f36-modal

Package Overview
Dependencies
Maintainers
104
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/f36-modal - npm Package Compare versions

Comparing version 4.0.1-next-v4-6859.2287 to 4.0.1-next-v4-7604.2322

14

dist/types.d.ts
import React from "react";
import { PrimitiveProps, CommonProps } from "@contentful/f36-core";
import { PropsWithHTMLElement, CommonProps } from "@contentful/f36-core";
import ReactModal from "react-modal";
export interface ModalHeaderProps extends PrimitiveProps<'div'> {
interface ModalHeaderInternalProps extends CommonProps {
title: string;
onClose?: Function;
as?: 'div';
}
export type ModalHeaderProps = PropsWithHTMLElement<ModalHeaderInternalProps, 'div'>;
export function ModalHeader({ onClose, title, testId, className, ...otherProps }: ModalHeaderProps): React.ReactElement;
export interface ModalContentProps extends PrimitiveProps<'div'> {
interface ModalContentInternalProps extends CommonProps {
children: React.ReactNode;
as?: 'div';
}
export type ModalContentProps = PropsWithHTMLElement<ModalContentInternalProps, 'div'>;
export function ModalContent({ testId, className, children, ...otherProps }: ModalContentProps): JSX.Element;
export interface ModalControlsProps extends PrimitiveProps<'div'> {
as?: 'div';
interface ModalControlsInternalProps extends CommonProps {
children: React.ReactElement[] | React.ReactElement;
}
export type ModalControlsProps = PropsWithHTMLElement<ModalControlsInternalProps, 'div'>;
export function ModalControls({ testId, className, children, ...otherProps }: ModalControlsProps): React.ReactElement;

@@ -20,0 +20,0 @@ type ModalSizeType = 'small' | 'medium' | 'large' | 'fullWidth' | 'zen' | string | number;

{
"name": "@contentful/f36-modal",
"version": "4.0.1-next-v4-6859.2287+1c884886",
"version": "4.0.1-next-v4-7604.2322+0bee7360",
"description": "Forma 36: Modal component",

@@ -10,7 +10,7 @@ "scripts": {

"@babel/runtime": "^7.6.2",
"@contentful/f36-button": "4.0.1-next-v4-6859.2287+1c884886",
"@contentful/f36-core": "4.0.1-next-v4-6859.2287+1c884886",
"@contentful/f36-icons": "4.0.1-next-v4-6859.2287+1c884886",
"@contentful/f36-tokens": "4.0.1-next-v4-6859.2287+1c884886",
"@contentful/f36-typography": "4.0.1-next-v4-6859.2287+1c884886",
"@contentful/f36-button": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-core": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-icons": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-tokens": "4.0.1-next-v4-7604.2322+0bee7360",
"@contentful/f36-typography": "4.0.1-next-v4-7604.2322+0bee7360",
"@types/react-modal": "^3.12.1",

@@ -41,3 +41,3 @@ "emotion": "^10.0.17",

},
"gitHead": "1c884886dfbd1a17e16a1c06523e23861922e466"
"gitHead": "0bee7360d2456674a913f221d51a3b08d75a14bb"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc