@indico-data/design-system 3.1.0 → 3.2.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.esm.js CHANGED
@@ -19250,9 +19250,10 @@ function Menu(_a) {
19250
19250
  }
19251
19251
 
19252
19252
  const Pill = (_a) => {
19253
- var { children, className, color = 'neutral', size = 'sm' } = _a, rest = __rest(_a, ["children", "className", "color", "size"]);
19253
+ var { children, className, color = 'gray', size = 'sm', shade } = _a, rest = __rest(_a, ["children", "className", "color", "size", "shade"]);
19254
19254
  const pillClasses = classNames('pill', className, {
19255
- [`pill--${color}`]: color,
19255
+ [`pill--${color}`]: color && !shade,
19256
+ [`pill--${color}-${shade}`]: color && shade,
19256
19257
  [`pill--${size}`]: size,
19257
19258
  });
19258
19259
  return (jsx("div", Object.assign({ className: pillClasses }, rest, { children: children })));