@lendi-ui/alert
Advanced tools
Comparing version 2.2.2 to 3.0.0-alpha
@@ -0,1 +1,5 @@ | ||
## [3.0.0-alpha] 2019-8-21 [Release notes](https://creditandfinance.atlassian.net/wiki/spaces/HUB/pages/803930391/Upcoming+Major+Changes) | ||
### 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 @@ }; |
@@ -38,4 +38,4 @@ "use strict"; | ||
exports.IconWrapper = styled_components_1.default.span(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n line-height: 0;\n"], ["\n line-height: 0;\n"]))); | ||
exports.HeadingWrapper = styled_components_1.default(typography_1.Body)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), spacing_1.ml('xs')); | ||
exports.ContentWrapper = styled_components_1.default(typography_1.Body)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) { | ||
exports.HeadingWrapper = styled_components_1.default.p(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n ", ";\n"], ["\n ", "\n ", ";\n"])), function (props) { return typography_1.body(props); }, spacing_1.ml('xs')); | ||
exports.ContentWrapper = styled_components_1.default.p(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n ", ";\n"], ["\n ", "\n ", ";\n"])), function (props) { return typography_1.body(props); }, function (_a) { | ||
var withHeading = _a.withHeading; | ||
@@ -42,0 +42,0 @@ return (withHeading ? spacing_1.mt('xxxs') : spacing_1.ml('xs')); |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { BodyOptions } from '@lendi-ui/typography'; | ||
export declare type AlertVariant = 'error' | 'info' | 'success' | 'warn'; | ||
@@ -7,11 +7,10 @@ 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, BodyOptions, never>; | ||
interface ContentWrapperProps extends BodyOptions { | ||
withHeading: boolean; | ||
}, any, import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & import("@lendi-ui/typography").BodyOptions & import("@lendi-ui/spacing").MarginOptions & { | ||
withHeading: boolean; | ||
}>; | ||
} | ||
export declare const ContentWrapper: import("styled-components").StyledComponent<"p", any, ContentWrapperProps, never>; | ||
export {}; |
{ | ||
"name": "@lendi-ui/alert", | ||
"version": "2.2.2", | ||
"version": "3.0.0-alpha", | ||
"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-alpha", | ||
"@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": "9.0.0-alpha", | ||
"@lendi-ui/spacing": "^5.0.0", | ||
"@lendi-ui/typography": "4.0.0-alpha" | ||
}, | ||
@@ -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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
15325
10
9
127
2
27
+ Added@lendi-ui/icon@9.0.0-alpha(transitive)
+ Added@lendi-ui/typography@4.0.0-alpha(transitive)
+ Added@types/hoist-non-react-statics@3.3.6(transitive)
+ Added@types/prop-types@15.7.14(transitive)
+ Addedelectron-to-chromium@1.5.71(transitive)
- Removed@lendi-ui/breakpoint@2.1.0(transitive)
- Removed@lendi-ui/color@3.1.0(transitive)
- Removed@lendi-ui/icon@8.3.0(transitive)
- Removed@lendi-ui/spacing@4.1.1(transitive)
- Removed@lendi-ui/theme@6.2.0(transitive)
- Removed@lendi-ui/typography@3.5.0(transitive)
- Removed@lendi-ui/utils@2.5.0(transitive)
- Removed@types/hoist-non-react-statics@3.3.5(transitive)
- Removed@types/prop-types@15.7.13(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-context@0.2.3(transitive)
- Removedelectron-to-chromium@1.5.70(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@9.0.0-alpha
Updated@lendi-ui/spacing@^5.0.0
Updated@lendi-ui/utils@^3.0.0