@lendi-ui/alert
Advanced tools
Comparing version 2.2.2 to 3.0.0
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15063
10
9
125
27
1
- Removed@lendi-ui/breakpoint@2.1.0(transitive)
- Removed@lendi-ui/color@3.1.0(transitive)
- Removed@lendi-ui/spacing@4.1.1(transitive)
- Removed@lendi-ui/theme@6.2.0(transitive)
- Removed@lendi-ui/utils@2.5.0(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-context@0.2.3(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedgud@1.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@2.5.5(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@3.4.10(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.39(transitive)
Updated@lendi-ui/color@^4.0.0
Updated@lendi-ui/icon@^8.2.0
Updated@lendi-ui/spacing@^5.0.0
Updated@lendi-ui/typography@^3.3.0
Updated@lendi-ui/utils@^3.0.0