Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 28aa6d3

Browse files
committed
feat: add testing and refactor dropdown component
- Added vitest for testing with watch mode and setup files. - Refactored DropdownItem to support keyboard interactions and improved submenu handling. - Updated Snippets component to replace CSSSnippets. - Removed unused files and optimized imports across various components. - Enhanced file format detection utility to support various image formats.
1 parent 7f5c493 commit 28aa6d3

40 files changed

+8072
-2004
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
*storybook.log

.ladle/components.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
import "../src/App.css"
3+
import type { StoryDefault } from "@ladle/react"
4+
import React from "react"
5+
import { Provider } from 'react-redux'
6+
import { store } from "../src/store"
7+
8+
export default {
9+
decorators: [
10+
(Story: React.FC) => (
11+
<Provider store={store}>
12+
<Story />
13+
</Provider>
14+
)
15+
]
16+
} satisfies StoryDefault

docs/Dokumentace.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)