pixel-react 1.21.7 → 1.21.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -75
- package/lib/components/Charts/BarChart/BarChart.js +8 -8
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +6 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.js +4 -4
- package/lib/components/Charts/PieChart/PieChart.js +5 -5
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js +41 -38
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib/components/Charts/StackedBarChart/types.d.ts +1 -0
- package/lib/components/Comments/Comments.js +14 -14
- package/lib/components/Comments/childComment/ChildComment.js +14 -14
- package/lib/components/EditTextField/EditTextField.js +2 -2
- package/lib/components/LabelEditTextField/LabelEditTextField.js +4 -4
- package/lib/components/MultiSelect/MultiSelect.js +3 -4
- package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
- package/lib/components/StatusBadge/StatusBadge.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -5
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -3
- package/lib/styles.css +1 -1
- package/package.json +118 -118
|
@@ -29,7 +29,7 @@ const StatusBadge = ({ gap = 8, fontSize = 12, entityType, statusValues, }) => {
|
|
|
29
29
|
// };
|
|
30
30
|
return (_jsx("div", { className: "ff-statusbadge-container", style: {
|
|
31
31
|
gap: `${gap}px`,
|
|
32
|
-
}, children: statusValues.map((val, idx) => (_jsxs("div", { className: "ff-statusbadge-item", "data-tooltip": `${capitalize(val?.status)}${entityType ? ` ${entityType}` : ''} :
|
|
32
|
+
}, children: statusValues.map((val, idx) => (_jsxs("div", { className: "ff-statusbadge-item", "data-tooltip": `${capitalize(val?.status)}${entityType ? ` ${entityType}` : ''} :
|
|
33
33
|
${Number(val?.tooltipValue).toLocaleString('fullwide', {
|
|
34
34
|
useGrouping: false,
|
|
35
35
|
maximumSignificantDigits: 21,
|
|
@@ -11,15 +11,15 @@ const StatusIndicator = forwardRef(({ label = 'Status', iconName = 'update_icon'
|
|
|
11
11
|
danger: 'var(--ff-delete-button-attachment)',
|
|
12
12
|
};
|
|
13
13
|
const iconColor = variantColorMap[variant] || variantColorMap.default;
|
|
14
|
-
return (_jsx("button", { disabled: isDisable, onClick: onClick, className: `
|
|
15
|
-
ff-status-indicator
|
|
16
|
-
ff-status-indicator--${variant}
|
|
14
|
+
return (_jsx("button", { disabled: isDisable, onClick: onClick, className: `
|
|
15
|
+
ff-status-indicator
|
|
16
|
+
ff-status-indicator--${variant}
|
|
17
17
|
${backgroundColor
|
|
18
18
|
? `ff-status-indicator--with-bg ff-status-indicator--${variant}-bg`
|
|
19
|
-
: ''}
|
|
19
|
+
: ''}
|
|
20
20
|
${border
|
|
21
21
|
? `ff-status-indicator--with-border ff-status-indicator--${variant}-border`
|
|
22
|
-
: ''}
|
|
22
|
+
: ''}
|
|
23
23
|
`, ref: ref, children: _jsxs("div", { className: "ff-status-indicator__content", children: [_jsx(Icon, { name: resolvedIconName, color: iconColor, className: `ff-status-indicator__icon ff-status-indicator__icon--${variant}` }), _jsx(Typography, { as: "div", fontSize: 12, className: `ff-status-indicator__label ff-status-indicator__label--${variant}`, fontWeight: "medium", lineHeight: "20px", children: label })] }) }));
|
|
24
24
|
});
|
|
25
25
|
export default StatusIndicator;
|
package/lib/index.d.ts
CHANGED