Commit 2cf8a57
authored
Fix/accordion-docs (#305)
* fix: correct accordion documentation props and defaults
- Fix incorrect default values (expanded: null, size: sm, focusable: true)
- Add missing props (autoSetBodyHeight, disableCollapse, disableIcon, etc.)
- Update description to accurately reflect single accordion component
- Correct prop types and descriptions
* feat: add checkout command documentation and refactor hero-v2 component
* chore: migrate project to Bun and update scripts
- Replaced pnpm with Bun for package management and script execution across the project.
- Updated CI workflows to utilize Bun for dependency installation, linting, building, and testing.
- Added bun.lock and bunfig.toml for Bun configuration and dependency locking.
- Refactored package.json scripts to align with Bun's command structure.
- Removed unused variables and commented-out code in various components for improved clarity.
* fix: update CI workflow commands to use Bun run for linting and building
- Changed lint and build commands in CI.yml to use 'bun run' for consistency with Bun's command structure.
* fix: update navigation path in hero-v2 component
- Changed the navigation path in the handleViewComponents function from '/buttons' to '/accordion' for improved routing consistency.
* chore: update Vercel configuration for documentation build process
- Added buildCommand, outputDirectory, and installCommand to streamline the documentation build process using Bun.
- Set framework to null for compatibility with the current setup.
* fix: update CI workflow to use 'bun run' for building the project
- Changed the build command in sonar.yml from 'bun build' to 'bun run build' for consistency with Bun's command structure.
* fix: update package.json scripts and enhance carousel functionality
- Modified the "all" script in package.json to run tests in CI after building and linting.
- Enhanced Carousel component to trigger onSlideChange callback during navigation.
- Improved onInit function in Carousel to handle default dimensions and resize events more effectively.
- Updated test cases for Carousel to ensure proper handling of layout effects and button visibility.
- Adjusted snapshot tests for Accordion and Transfer components to reflect changes in ARIA attributes and IDs for better accessibility.
* chore: update CI workflow and improve build scripts
- Added timeout and error handling for build and test steps in CI.yml to enhance reliability.
- Removed quiet mode from Vite build commands in documentation and library build scripts for better visibility of build output.
* disabling tests temp on ci and sonar worklfows1 parent e3f0a67 commit 2cf8a57
49 files changed
Lines changed: 5102 additions & 522 deletions
File tree
- .cursor/commands
- .github/workflows
- .husky
- packages
- documentation
- common
- code-viewer
- demo-page-renderer
- components
- hooks
- utils
- sandpack-demo
- syntax-highlighter
- components
- accordion-group
- accordion
- home
- landing
- sections
- showcase
- lib
- components
- accordion-group
- accordion/__tests__/__snapshots__
- carousel
- __tests__
- image-comparer/__tests__
- tabs/__tests__
- transfer/__tests__/__snapshots__
- tree/__tests__
- storybook
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | | - | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | | - | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
0 commit comments