@indico-data/design-system 2.22.0 → 2.24.0

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 { value, status = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["value", "status", "size"]);
42667
+ var { children, status = 'info', size = 'sm' } = _a, rest = __rest$1(_a, ["children", "status", "size"]);
42668
42668
  const className = classNames('pill', {
42669
42669
  [`pill--${status}`]: status,
42670
42670
  [`pill--${size}`]: size,
42671
42671
  });
42672
- return (jsxRuntime.jsx("div", Object.assign({ className: className }, rest, { children: value })));
42672
+ return (jsxRuntime.jsx("div", Object.assign({ className: className }, rest, { children: children })));
42673
42673
  };
42674
42674
 
42675
42675
  exports.ANIMATION = animation;