Comparing version 1.15.0 to 1.15.1
import React from 'react'; | ||
export declare type AlertIntent = 'error' | 'success'; | ||
export declare type AlertIntent = 'error' | 'success' | 'warning'; | ||
interface Props { | ||
@@ -4,0 +4,0 @@ intent?: AlertIntent; |
@@ -17,2 +17,3 @@ "use strict"; | ||
_b[Alert_module_css_1.default.alertSuccess] = intent === 'success', | ||
_b[Alert_module_css_1.default.alertWarning] = intent === 'warning', | ||
_b), className); | ||
@@ -24,4 +25,5 @@ var contentContainer = classnames_1.default(Alert_module_css_1.default.contentContainer, (_c = {}, | ||
react_1.default.createElement("div", { className: contentContainer }, | ||
intent === 'error' && (react_1.default.createElement(react_feather_1.AlertCircle, { className: classnames_1.default(Alert_module_css_1.default.icon, Alert_module_css_1.default.iconError) })), | ||
intent === 'error' && react_1.default.createElement(react_feather_1.XOctagon, { className: classnames_1.default(Alert_module_css_1.default.icon, Alert_module_css_1.default.iconError) }), | ||
intent === 'success' && (react_1.default.createElement(react_feather_1.CheckCircle, { className: classnames_1.default(Alert_module_css_1.default.icon, Alert_module_css_1.default.iconSuccess) })), | ||
intent === 'warning' && (react_1.default.createElement(react_feather_1.AlertTriangle, { className: classnames_1.default(Alert_module_css_1.default.icon, Alert_module_css_1.default.iconWarning) })), | ||
react_1.default.createElement("span", { className: Alert_module_css_1.default.message }, message)), | ||
@@ -28,0 +30,0 @@ onClose && (react_1.default.createElement("div", { className: Alert_module_css_1.default.closeContainer }, |
{ | ||
"name": "ventura", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"repository": "git@github.com:kodiak-packages/ventura.git", | ||
@@ -5,0 +5,0 @@ "author": "Kodiak", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
140314
2103