@indico-data/design-system 3.1.0 → 3.2.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
@@ -19275,9 +19275,10 @@ function Menu(_a) {
19275
19275
  }
19276
19276
 
19277
19277
  const Pill = (_a) => {
19278
- var { children, className, color = 'neutral', size = 'sm' } = _a, rest = __rest(_a, ["children", "className", "color", "size"]);
19278
+ var { children, className, color = 'gray', size = 'sm', shade } = _a, rest = __rest(_a, ["children", "className", "color", "size", "shade"]);
19279
19279
  const pillClasses = classNames('pill', className, {
19280
- [`pill--${color}`]: color,
19280
+ [`pill--${color}`]: color && !shade,
19281
+ [`pill--${color}-${shade}`]: color && shade,
19281
19282
  [`pill--${size}`]: size,
19282
19283
  });
19283
19284
  return (jsxRuntime.jsx("div", Object.assign({ className: pillClasses }, rest, { children: children })));