Compare commits

...

4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
6cf599486e refactor(storybook): improve type safety without type assertions
Co-authored-by: Razboy20 <29903962+Razboy20@users.noreply.github.com>
2026-02-12 04:29:34 +00:00
copilot-swe-agent[bot]
02350188b5 fix(storybook): fix typecheck errors in SortableList.stories.tsx
Co-authored-by: Razboy20 <29903962+Razboy20@users.noreply.github.com>
2026-02-12 04:28:22 +00:00
copilot-swe-agent[bot]
3e1eb4ee6b Initial plan 2026-02-12 04:24:30 +00:00
dependabot[bot]
1dfafa9db2 chore(deps-dev): bump storybook from 8.6.0 to 8.6.15
Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core) from 8.6.0 to 8.6.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.15/code/core)

---
updated-dependencies:
- dependency-name: storybook
  dependency-version: 8.6.15
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 04:13:44 +00:00
3 changed files with 369 additions and 338 deletions

View File

@@ -142,7 +142,7 @@
"prettier": "3.6.2", "prettier": "3.6.2",
"react-dev-utils": "^12.0.1", "react-dev-utils": "^12.0.1",
"semantic-release": "^24.2.3", "semantic-release": "^24.2.3",
"storybook": "^8.6.0", "storybook": "^8.6.15",
"typescript": "^5.7.3", "typescript": "^5.7.3",
"unocss": "^0.63.6", "unocss": "^0.63.6",
"unocss-preset-primitives": "0.0.2-beta.1", "unocss-preset-primitives": "0.0.2-beta.1",

697
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -77,7 +77,7 @@ type CourseWithId = { course: Course } & BaseItem;
const meta = { const meta = {
title: 'Components/Common/SortableList', title: 'Components/Common/SortableList',
component: SortableList, component: SortableList<CourseWithId>,
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
@@ -85,7 +85,7 @@ const meta = {
} satisfies Meta<typeof SortableList<CourseWithId>>; } satisfies Meta<typeof SortableList<CourseWithId>>;
export default meta; export default meta;
type Story = StoryObj<Meta<typeof SortableList<CourseWithId>>>; type Story = StoryObj<typeof meta>;
export const Default: Story = { export const Default: Story = {
args: { args: {
@@ -94,7 +94,9 @@ export const Default: Story = {
course, course,
})), })),
onChange: () => {}, onChange: () => {},
renderItem: ({ id, course }) => <PopupCourseBlock key={id} course={course} colors={course.colors} />, renderItem: (item: CourseWithId) => (
<PopupCourseBlock key={item.id} course={item.course} colors={item.course.colors} />
),
}, },
render: args => ( render: args => (
<div className='h-3xl w-3xl transform-none'> <div className='h-3xl w-3xl transform-none'>