@newageerp/v3.widgets.status-widget
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36027
164