@deque/cauldron-react 6.5.0-canary.946b10da → 6.5.0-canary.db835fd5
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/components/Tag/index.d.ts +1 -2
- package/lib/index.js +2 -4
- package/package.json +1 -1
|
@@ -2,14 +2,13 @@ import React from 'react';
|
|
|
2
2
|
interface TagProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
size?: 'default' | 'small';
|
|
6
5
|
}
|
|
7
6
|
export declare const TagLabel: {
|
|
8
7
|
({ children, className, ...other }: TagProps): React.JSX.Element;
|
|
9
8
|
displayName: string;
|
|
10
9
|
};
|
|
11
10
|
declare const Tag: {
|
|
12
|
-
({ children, className,
|
|
11
|
+
({ children, className, ...other }: TagProps): React.JSX.Element;
|
|
13
12
|
displayName: string;
|
|
14
13
|
};
|
|
15
14
|
export default Tag;
|
package/lib/index.js
CHANGED
|
@@ -2634,10 +2634,8 @@ var TagLabel = function (_a) {
|
|
|
2634
2634
|
};
|
|
2635
2635
|
TagLabel.displayName = 'TagLabel';
|
|
2636
2636
|
var Tag = function (_a) {
|
|
2637
|
-
var children = _a.children, className = _a.className,
|
|
2638
|
-
return (React__default["default"].createElement("div", tslib.__assign({ className: classNames__default["default"]('Tag', className,
|
|
2639
|
-
'Tag--small': size === 'small'
|
|
2640
|
-
}) }, other), children));
|
|
2637
|
+
var children = _a.children, className = _a.className, other = tslib.__rest(_a, ["children", "className"]);
|
|
2638
|
+
return (React__default["default"].createElement("div", tslib.__assign({ className: classNames__default["default"]('Tag', className) }, other), children));
|
|
2641
2639
|
};
|
|
2642
2640
|
Tag.displayName = 'Tag';
|
|
2643
2641
|
|
package/package.json
CHANGED