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

@lendi-ui/alert

Package Overview
Dependencies
Maintainers
29
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi-ui/alert - npm Package Compare versions

Comparing version 2.2.2 to 3.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## [3.0.0] - [2019-07-02] - [HUB-151](https://creditandfinance.atlassian.net/browse/HUB-151)
### Updated
- Update typescript to version 3.5.2 and react to version 16.8.4
## [2.2.2] - 2019-05-29 - [HUB-144](https://creditandfinance.atlassian.net/browse/HUB-144)

@@ -2,0 +6,0 @@ ### Changed

6

dist/cjs/index.js

@@ -18,4 +18,6 @@ "use strict";

if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;

@@ -22,0 +24,0 @@ };

@@ -1,2 +0,1 @@

/// <reference types="react" />
export declare type AlertVariant = 'error' | 'info' | 'success' | 'warn';

@@ -7,11 +6,9 @@ interface WrapperProps {

}
export declare const Wrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WrapperProps, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WrapperProps>;
export declare const HeaderWrapper: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export declare const IconWrapper: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
export declare const HeadingWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions, any, import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions>;
export declare const ContentWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions & {
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, WrapperProps, never>;
export declare const HeaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
export declare const HeadingWrapper: import("styled-components").StyledComponent<"p", any, import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions, never>;
export declare const ContentWrapper: import("styled-components").StyledComponent<"p", any, import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions & {
withHeading: boolean;
}, any, import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions & {
withHeading: boolean;
}>;
}, never>;
export {};
{
"name": "@lendi-ui/alert",
"version": "2.2.2",
"version": "3.0.0",
"license": "ISC",

@@ -14,13 +14,14 @@ "source": "src/index.tsx",

"peerDependencies": {
"@lendi-ui/theme": "^6.1.1",
"@types/react": "^15 || ^16.4",
"react": "^15 || ^16.4",
"styled-components": "^3"
"@lendi-ui/theme": "^7.0.0",
"@types/react": "^16.8",
"react": "^16.8",
"styled-components": "^4",
"@types/styled-components": "^4.1.18"
},
"dependencies": {
"@lendi-ui/utils": "^2.5.0",
"@lendi-ui/color": "^3.0.0",
"@lendi-ui/icon": "^8.0.0",
"@lendi-ui/spacing": "^4.0.0",
"@lendi-ui/typography": "^3.0.0"
"@lendi-ui/utils": "^3.0.0",
"@lendi-ui/color": "^4.0.0",
"@lendi-ui/icon": "^8.2.0",
"@lendi-ui/spacing": "^5.0.0",
"@lendi-ui/typography": "^3.3.0"
},

@@ -27,0 +28,0 @@ "scripts": {

@@ -17,5 +17,5 @@ # @lendi-ui/alert

```
## Properties
```
<PropTable>

@@ -27,5 +27,2 @@ <PropTable.Entry name='children' type='string' description='Alert content'/>

### Notes
<b>Support for native props like Aria attributes, Standard HTML Attributes like title, classname, id, role, itemProp, itemID, itemRef</b>
```

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