@indico-data/design-system 2.23.0 → 2.24.1

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/lib/index.js CHANGED
@@ -42664,12 +42664,12 @@ const Tooltip = (props) => {
42664
42664
  };
42665
42665
 
42666
42666
  const Pill = (_a) => {
42667
- var { children, status = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["children", "status", "size"]);
42668
- const className = classNames('pill', {
42669
- [`pill--${status}`]: status,
42667
+ var { children, className, color = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["children", "className", "color", "size"]);
42668
+ const pillClasses = classNames('pill', className, {
42669
+ [`pill--${color}`]: color,
42670
42670
  [`pill--${size}`]: size,
42671
42671
  });
42672
- return (jsxRuntime.jsx("div", Object.assign({ className: className }, rest, { children: children })));
42672
+ return (jsxRuntime.jsx("div", Object.assign({ className: pillClasses }, rest, { children: children })));
42673
42673
  };
42674
42674
 
42675
42675
  exports.ANIMATION = animation;