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

@newageerp/v3.widgets.alert-widget

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newageerp/v3.widgets.alert-widget - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

dist/alert-widget.d.ts

@@ -14,3 +14,5 @@ import { ReactNode } from 'react';

isCompact?: boolean;
style?: any;
className?: string;
};
export declare function AlertWidget(props: AlertWidgetProps): JSX.Element;

8

dist/alert-widget.js

@@ -18,9 +18,5 @@ "use strict";

function AlertWidget(props) {
const { children, title, isCompact, } = props;
const { children, title, isCompact, style, className, } = props;
const color = props.color ? props.color : 'warning';
return (react_1.default.createElement("div", { className: (0, classnames_1.default)([
'tw3-rounded-md tw3-max-w-[420px]',
isCompact ? 'tw3-p-[8px]' : 'tw3-p-[30px]',
AlertWidgetColors[color],
]) },
return (react_1.default.createElement("div", { className: (0, classnames_1.default)('tw3-rounded-md tw3-max-w-[420px]', { 'tw3-p-[8px]': isCompact }, { 'tw3-p-[30px]': !isCompact }, AlertWidgetColors[color], className), style: style },
title && react_1.default.createElement("p", { className: "tw3-mb-2 tw3-text-[22px]" }, title),

@@ -27,0 +23,0 @@ react_1.default.createElement("p", { className: "tw3-font-light" }, children)));

{
"name": "@newageerp/v3.widgets.alert-widget",
"version": "0.0.8",
"version": "0.0.9",
"homepage": "https://bit.dev/newageerp/v3/widgets/alert-widget",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "v3/widgets/alert-widget",
"version": "0.0.8"
"version": "0.0.9"
},

@@ -23,3 +23,3 @@ "dependencies": {

"@types/node": "12.20.4",
"@newageerp/extensions.sfs-react-env": "0.0.7"
"@newageerp/extensions.sfs-react-env": "0.0.8"
},

@@ -26,0 +26,0 @@ "peerDependencies": {

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