🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@patterninc/react-ui

Package Overview
Dependencies
Maintainers
10
Versions
1487
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patterninc/react-ui - npm Package Compare versions

Comparing version

to
4.15.31

14

dist/components/InformationPane/InformationPane.d.ts

@@ -16,11 +16,15 @@ import React from 'react';

/** The header that will be displayed when `simple` is not defined. This will always be displayed in the desktop view, even if `simple` is defined. */
header: Header;
header?: Header;
/** Optional prop to simplify the mobile view for this component. */
simple?: SimpleProps;
/** Indicates if the page has a PageFooter component, which affects container height calculations */
includePageFooterHeight?: boolean;
/** Optionally hide gradient overlays in the scrolling container */
hideGradients?: boolean;
};
declare const InformationPane: {
({ header, children, simple, }: InformationPaneProps): React.JSX.Element;
({ header, children, simple, includePageFooterHeight, hideGradients, }: InformationPaneProps): React.JSX.Element;
ImageAndName: ({ imgUrl, product, }: ImageAndNameProps) => React.JSX.Element;
Section: ({ data, isTwoColumns }: SectionProps) => React.JSX.Element;
CustomSection: ({ isOffset, children }: CustomSectionProps) => React.JSX.Element;
CustomSection: ({ children }: CustomSectionProps) => React.JSX.Element;
Divider: () => React.JSX.Element;

@@ -30,3 +34,3 @@ Simple: ({ imgUrl, product, identifier, }: SimpleProps) => React.JSX.Element;

type HeaderProps = InformationPaneProps['header'];
declare const Header: ({ labelAndData, tag, edit }: HeaderProps) => React.JSX.Element;
declare const Header: ({ labelAndData, tag, edit }?: HeaderProps) => React.JSX.Element;
type ImageAndNameProps = {

@@ -50,4 +54,2 @@ /** The url of the product image */

children: React.ReactNode;
/** Moves the section up by 32px. Caution - should only be used as part of a top section that is directly below the header. */
isOffset?: boolean;
};

@@ -54,0 +56,0 @@ type SimpleProps = ImageAndNameProps & {

{
"name": "@patterninc/react-ui",
"version": "4.15.30",
"version": "4.15.31",
"license": "UNLICENSED",

@@ -5,0 +5,0 @@ "main": "dist/main.react-ui.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet