Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh committed Nov 25, 2024
1 parent 159e418 commit 9c064d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
15 changes: 0 additions & 15 deletions .storybook/nds-theme/ThemeInput.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
import styled from "styled-components";

export const ThemeInput = styled.input(({ theme }) => ({
fontFamily: `${theme.fonts.mono} !important`,
padding: 0,
width: "100%",
fontSize: theme.fontSizes.small,
border: 0,
borderBottom: "1px solid #000",
transition: ".2s",
"&:focus": {
outline: "none",
boxShadow: "1px 1px 1px 0px rgba(0,0,0,1)",
},
lineHeight: theme.lineHeights.base,
}));

export const ThemeSelect = styled.select(({ theme }) => ({
fontFamily: `${theme.fonts.mono} !important`,
padding: 0,
Expand Down
1 change: 0 additions & 1 deletion .storybook/nds-theme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { select } from "@storybook/addon-knobs";
import { NDSProvider } from "../../src";
import { ALL_NDS_LOCALES } from "../../src/locales.const";
import { desktop } from "../../src/theme";
import { ComponentVariant } from "../../src/NDSProvider/ComponentVariantContext";
import { useLocalStorage } from "./useLocalStorage/useLocalStorage";

Expand Down
2 changes: 1 addition & 1 deletion .storybook/nds-theme/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const ThemePanel = () => {
};

const ThemeAddonPanel = ({ active, key }: RenderOptions) => (
<AddonPanel key={key} active={active}>
<AddonPanel key={key} active={Boolean(active)}>
<ThemePanel />
</AddonPanel>
);
Expand Down

0 comments on commit 9c064d6

Please sign in to comment.