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 2.3.0

4

CHANGELOG.md

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

## [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)

@@ -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,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;
/// <reference types="react" />
export declare type AlertVariant = 'error' | 'info' | 'success' | 'warn';
import { AlertVariant } from './index';
interface WrapperProps {

@@ -4,0 +4,0 @@ variant: AlertVariant;

{
"name": "@lendi-ui/alert",
"version": "2.2.2",
"version": "2.3.0",
"license": "ISC",

@@ -5,0 +5,0 @@ "source": "src/index.tsx",

@@ -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

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