Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 20231009 #272

Merged
merged 8 commits into from
Oct 9, 2023
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"rollup": "~2.66",
"rollup-plugin-typescript2": "^0.34.1",
"storybook": "^7.0.9",
"styled-components": "^5.3.3",
"styled-components": "^6.0.0",
"typescript": "^4.5.0",
"web-vitals": "^2.1.4"
},
Expand Down Expand Up @@ -137,6 +137,6 @@
"formik": "^2.2.9",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.3"
"styled-components": "^6.0.0"
}
}
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export * from "./stories/loaders/progress";
export * from "./stories/loaders/skeleton";
export * from "./stories/loaders/spinner";
export * from "./stories/loaders/dots";
export * from "./stories/page/pageLoader";

// --- Login Form ---
export * from "./stories/login-form";
Expand All @@ -120,7 +119,6 @@ export * from "./stories/navigation/app-header";
export * from "./stories/navigation/main";
export * from "./stories/navigation/nav";
export * from "./stories/navigation/nav/nav-item";
export * from "./stories/navigation/sidebar";
export * from "./stories/navigation/chrome";

// --- Notifications ---
Expand Down
28 changes: 0 additions & 28 deletions src/stories/close/index.stories.tsx

This file was deleted.

5 changes: 2 additions & 3 deletions src/stories/navigation/header/header-item/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { getValueAndUnit } from 'polished';
import { ThemeProps } from "styled-components";
import { theme } from "../../../theme";
import { DefaultTheme } from "styled-components";

/**
* Get unitless line height based on the given pixel-valued height and font size.
Expand All @@ -26,7 +25,7 @@ const getLineHeight = (height: string | number, fontSize: string | number) => {
return (heightValue as number) / (fontSizeValue as number);
}

export const getNavWidth = (props: ThemeProps<typeof theme>) => {
export const getNavWidth = (props: DefaultTheme) => {
return `${props.theme.space.base * 15}px`;
};

Expand Down
30 changes: 0 additions & 30 deletions src/stories/navigation/sidebar/_types.tsx

This file was deleted.

95 changes: 0 additions & 95 deletions src/stories/navigation/sidebar/index.stories.tsx

This file was deleted.

Loading
Loading