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

@lendi-ui/alert

Package Overview
Dependencies
Maintainers
31
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 3.0.0 to 4.0.0

9

CHANGELOG.md

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

## [3.0.0] - [2019-07-02] - [HUB-151](https://creditandfinance.atlassian.net/browse/HUB-151)
## [4.0.0] 2019-9-23 [Release notes](https://creditandfinance.atlassian.net/wiki/spaces/HUB/pages/803930391/Upcoming+Major+Changes)
## [3.0.0] 2019-9-23 [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.3.0] - 2019-09-11 - [HUB-488-alert](https://creditandfinance.atlassian.net/browse/HUB-488-alert)
### Changed
- Change Alert children type to React.ReactNode instead of string.
## [2.2.2] - 2019-05-29 - [HUB-144](https://creditandfinance.atlassian.net/browse/HUB-144)

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

4

dist/cjs/index.style.js

@@ -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,10 +0,10 @@

/// <reference types="react" />
import { AlertVariant } from './index.style';
import * as React from 'react';
import { LUIGlobalProps } from '@lendi-ui/utils';
export declare type AlertVariant = 'error' | 'info' | 'success' | 'warn';
export interface AlertProps extends LUIGlobalProps {
variant: AlertVariant;
heading?: string;
children?: string;
children?: React.ReactNode;
}
declare const Alert: ({ variant, heading, children, ...otherProps }: AlertProps) => JSX.Element;
export default Alert;

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

export declare type AlertVariant = 'error' | 'info' | 'success' | 'warn';
import { BodyOptions } from '@lendi-ui/typography';
import { AlertVariant } from './index';
interface WrapperProps {

@@ -9,6 +10,7 @@ variant: AlertVariant;

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 & {
export declare const HeadingWrapper: import("styled-components").StyledComponent<"p", any, BodyOptions, never>;
interface ContentWrapperProps extends BodyOptions {
withHeading: boolean;
}, never>;
}
export declare const ContentWrapper: import("styled-components").StyledComponent<"p", any, ContentWrapperProps, never>;
export {};
{
"name": "@lendi-ui/alert",
"version": "3.0.0",
"version": "4.0.0",
"license": "ISC",

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

"peerDependencies": {
"@lendi-ui/theme": "^7.0.0",
"@lendi-ui/theme": "^8.0.0",
"@types/react": "^16.8",

@@ -22,7 +22,7 @@ "react": "^16.8",

"dependencies": {
"@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"
"@lendi-ui/utils": "^4.0.0",
"@lendi-ui/color": "^5.0.0",
"@lendi-ui/icon": "9.0.0",
"@lendi-ui/spacing": "^6.0.0",
"@lendi-ui/typography": "^4.0.0"
},

@@ -29,0 +29,0 @@ "scripts": {

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