Skip to content

Commit

Permalink
chore: remove redundant inherits
Browse files Browse the repository at this point in the history
  • Loading branch information
zettca committed Feb 27, 2025
1 parent f06bf06 commit f0b3844
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/core/src/AppSwitcher/Action/Action.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const { staticClasses, useClasses } = createClasses(
cursor: "pointer",

textDecoration: "inherit",
color: "inherit",
backgroundColor: "inherit",

"$disabled &": {
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/BaseDropdown/BaseDropdown.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export const { useClasses, staticClasses } = createClasses("HvBaseDropdown", {
boxSizing: "border-box",
paddingLeft: theme.space.xs,
paddingRight: theme.sizes.sm,
color: "inherit",
},
selectionDisabled: {},
placeholder: {
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/Loading/Loading.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export const { staticClasses, useClasses } = createClasses("HvLoading", {
":nth-of-type(2)": { animationDelay: "0.22s" },
":nth-of-type(3)": { animationDelay: "0.44s" },
},
label: {},
label: {
...theme.typography.caption1,
},
overlay: {},
blur: {},
hidden: { display: "none" },
Expand Down
7 changes: 1 addition & 6 deletions packages/core/src/Loading/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
import { getColor, HvColorAny } from "@hitachivantara/uikit-styles";

import { HvBaseProps } from "../types/generic";
import { HvTypography } from "../Typography";
import { range } from "../utils/helpers";
import { staticClasses, useClasses } from "./Loading.styles";

Expand Down Expand Up @@ -82,11 +81,7 @@ export const HvLoading = forwardRef<
/>
))}
</div>
{label && (
<HvTypography variant="caption1" className={classes.label}>
{label}
</HvTypography>
)}
{label && <div className={classes.label}>{label}</div>}
</div>
);
});
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export const { staticClasses, useClasses } = createClasses(
width: "100%",
display: "flex",
justifyContent: "flex-start",
color: "inherit",
alignItems: "center",
height: "32px",
borderLeft: `4px solid transparent`,
Expand Down

0 comments on commit f0b3844

Please sign in to comment.