@indico-data/design-system 2.22.0 → 2.23.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.d.ts +4 -4
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/src/components/pill/Pill.d.ts +4 -4
- package/package.json +1 -1
- package/src/components/pill/Pill.stories.tsx +47 -24
- package/src/components/pill/Pill.tsx +5 -5
- package/src/components/pill/__tests__/Pill.test.tsx +10 -2
package/lib/index.js
CHANGED
|
@@ -42664,12 +42664,12 @@ const Tooltip = (props) => {
|
|
|
42664
42664
|
};
|
|
42665
42665
|
|
|
42666
42666
|
const Pill = (_a) => {
|
|
42667
|
-
var {
|
|
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:
|
|
42672
|
+
return (jsxRuntime.jsx("div", Object.assign({ className: className }, rest, { children: children })));
|
|
42673
42673
|
};
|
|
42674
42674
|
|
|
42675
42675
|
exports.ANIMATION = animation;
|