@popmenu/common-ui 0.120.0 → 0.121.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/build/components/Button/Button.d.ts +2 -2
- package/build/components/Button/ButtonProps.d.ts +5 -4
- package/build/components/Chip/Chip.d.ts +2 -2
- package/build/components/Chip/ChipProps.d.ts +7 -3
- package/build/components/Chip/ChipStyles.d.ts +1 -1
- package/build/components/Link/Link.d.ts +9 -1
- package/build/components/Typography/Typography.d.ts +2 -2
- package/build/components/Typography/TypographyProps.d.ts +7 -5
- package/build/index.es.js +3 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -0
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -682,6 +682,8 @@ var getBorder = function (theme) { return function (props) {
|
|
|
682
682
|
}
|
|
683
683
|
return borderColor;
|
|
684
684
|
}; };
|
|
685
|
+
// using `any` here is a bit of cheating but it doesn't matter since this doesn't depend on
|
|
686
|
+
// any component-specific props
|
|
685
687
|
var useChipStyles = styles.makeStyles(function (theme) { return ({
|
|
686
688
|
root: {
|
|
687
689
|
background: getBackground(theme),
|
|
@@ -929,6 +931,7 @@ var useLinkStyles = styles.makeStyles(function (theme) { return ({
|
|
|
929
931
|
},
|
|
930
932
|
}); });
|
|
931
933
|
|
|
934
|
+
// eslint-disable-next-line react/display-name -- false positive
|
|
932
935
|
var Link = React.forwardRef(function (props, ref) {
|
|
933
936
|
var children = props.children, muiProps = __rest(props, ["children"]);
|
|
934
937
|
var classes = useLinkStyles(props);
|