Socket
Socket
Sign inDemoInstall

@newageerp/v3.widgets.status-widget

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.4.1 to 2.4.2

3

dist/status-widget.d.ts

@@ -23,3 +23,4 @@ import React, { ReactNode } from 'react';

title?: string;
smallPadding?: boolean;
};
export declare function StatusWidget({ children, color, isCompact, className, title, }: StatusWidgetProps): React.JSX.Element;
export declare function StatusWidget({ children, color, isCompact, className, title, smallPadding, }: StatusWidgetProps): React.JSX.Element;

@@ -25,6 +25,6 @@ "use strict";

})(StatusWidgetColors = exports.StatusWidgetColors || (exports.StatusWidgetColors = {}));
function StatusWidget({ children, color, isCompact, className, title, }) {
return (react_1.default.createElement("div", { className: (0, classnames_1.default)('tw3-py-[5px] tw3-font-light tw3-rounded-lg tw3-inline-block tw3-whitespace-nowrap', { 'tw3-px-[15px]': isCompact }, { 'tw3-px-[10px]': !isCompact }, StatusWidgetColors[color], className), title: title }, children && isCompact ? children[0] : children));
function StatusWidget({ children, color, isCompact, className, title, smallPadding, }) {
return (react_1.default.createElement("div", { className: (0, classnames_1.default)('tw3-font-light tw3-rounded-lg tw3-inline-block tw3-whitespace-nowrap', { 'tw3-px-[15px]': isCompact }, { 'tw3-px-[10px]': !isCompact }, { 'tw3-py-[2px]': smallPadding }, { 'tw3-py-[5px]': !smallPadding }, StatusWidgetColors[color], className), title: title }, children && isCompact ? children[0] : children));
}
exports.StatusWidget = StatusWidget;
//# sourceMappingURL=status-widget.js.map
{
"name": "@newageerp/v3.widgets.status-widget",
"version": "2.4.1",
"version": "2.4.2",
"homepage": "https://bit.dev/newageerp/v3/widgets/status-widget",

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

"name": "v3/widgets/status-widget",
"version": "2.4.1"
"version": "2.4.2"
},

@@ -12,0 +12,0 @@ "dependencies": {

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