-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: ✨sd-carousel #324
Merged
Merged
feat: ✨sd-carousel #324
Changes from 11 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
c4dc70a
feat: adding shoelace components
Vahid1919 9bd7ceb
feat: add sd-carousel-item css + prepare stories
Vahid1919 b0128be
fix: format
Vahid1919 3821942
feat: adding carousel buttons
Vahid1919 fbf7780
feat: adding styling
Vahid1919 277bc83
feat: dot format carousel
Vahid1919 1ac9cd2
feat: added handleVariant function
Vahid1919 c563de2
fix: adding missing inverted styles
Vahid1919 cf076f7
fix: replaced components with shoelace components
Vahid1919 b2cd026
fix: resolve code dependencies
Vahid1919 d5df8d4
fix: converted css to tailwind
Vahid1919 dd35fa3
fix: format
Vahid1919 d50c4ae
fix: adjusting styles to our needs
Vahid1919 b17ee3a
fix: remove carousel.styles.ts
Vahid1919 4784803
feat: final dot styling
Vahid1919 74a7433
feat: init number variant
Vahid1919 6f9d46b
fix: remove unneccesary feats and numeral css
Vahid1919 1beea3b
fix: remove console.log and re-added localization
Vahid1919 7237085
fix: remove unneccesary inverted color change
Vahid1919 cf75985
fix: fix dot rounding issue
Vahid1919 0c27e54
fix: replaced chevron buttons with sd-button
Vahid1919 d8a3ad2
fix: remove default hover effects
Vahid1919 922917d
feat: added stories draft
Vahid1919 b966d32
fix: clean up stories
Vahid1919 48385f8
fix: remove unnecesary attributes + fix button positioning
Vahid1919 075b7d6
feat: add manual Pause/Resule methods
Vahid1919 6effb64
fix: fix svg colors and added slots for icons
Vahid1919 644d3d0
fix: previous method bug
Vahid1919 6130c16
fix: remove inverted bg change in main component
Vahid1919 dab2ea7
fix: added parts
Vahid1919 9b236f9
Merge remote-tracking branch 'origin' into feat/sd-carousel
Vahid1919 5e6df71
fix: removed sd-button, optimised autoplay
Vahid1919 2b30eaa
fix: converted css for sd-carousel-item
Vahid1919 efd90c8
fix: added missing translations
Vahid1919 4d84812
fix: remove console.log
Vahid1919 065a68d
feat: added basic tests to carousel & carousel-item [no ci]
Vahid1919 e3b947e
fix: merged new changes in main [no ci]
Vahid1919 4a7cfb6
fix: merged new changes from main [no ci]
Vahid1919 829094b
fix: format [no ci]
Vahid1919 4334d52
fix: adding migration guide template [no ci]
Vahid1919 8a02f73
fix: ui-slider migration guide [no ci]
Vahid1919 3f59c30
fix: format [no ci]
Vahid1919 aa6bde9
fix: actually merge changes from main [no ci]
Vahid1919 ebbcc90
fix: remove redundant icon add [no ci]
Vahid1919 a2c7788
fix: move styles from icon to button [no ci]
Vahid1919 63f54f4
fix: remove unused import
Vahid1919 d28a23e
Update packages/components/src/components/carousel-item/carousel-item.ts
Vahid1919 45df720
fix: added sd-interactive into carousel
Vahid1919 464f4f1
fix: made dot items tabbable
Vahid1919 349285d
fix: format
Vahid1919 d21f868
fix: adjust version numbers
Vahid1919 1a78c0f
fix: make German translations neutral
Vahid1919 d366b0c
fix: autoplay controls visibility
Vahid1919 c8c6c6d
fix: remove unused define method from SolidElement class
Vahid1919 e8e8b00
fix: simplifying css
Vahid1919 c2f3df7
fix inverted logic
Vahid1919 854532d
fix: optimizing css
Vahid1919 b337bed
fix: add inverted stories to sd-interactive
Vahid1919 420cb66
fix: updated hover style for sd-interactive
Vahid1919 ac1c683
fix: update active colors in sd-interactive
Vahid1919 dde1bc1
fix: include cursor pointer style where missing
Vahid1919 eb1a0c2
fix: added issues to TODO lines and updated migration guide
Vahid1919 532822d
fix: merging changes to sd-interactive into sd-carousel branch
Vahid1919 1439323
Merge branch 'main' into feat/sd-carousel
Vahid1919 cd519f8
fix: next button not working
Vahid1919 649f1e6
fix: storybook helper and remove console logs
Vahid1919 0b62d73
fix: add slidesPerMove
Vahid1919 73cc491
fix: add slidesPerMove
Vahid1919 469b135
fix: formatting tsconfig
Vahid1919 bb0a6b8
fix: formatting tsconfig
Vahid1919 6dc92ea
fix: formatting tsconfig
Vahid1919 49c0dbd
fix: adding test for slidesPerMove
Vahid1919 95eee2d
Merging main to access new slot classes
Vahid1919 14b8ad6
fix: add new slot classes to carousel and carousel-item
Vahid1919 60326a1
fix: improved documentation for slidesPerMove
Vahid1919 b8ecef5
fix: added workaround for skipping slides on looping
Vahid1919 afcfe21
fix: removed workaround and improved documentation for slidesPerMove
Vahid1919 4d3283e
fix: needed upstream to update headline documentation
Vahid1919 91efaf8
docs: update headline status
Vahid1919 e0ac09c
docs: update carousel status
Vahid1919 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,32 @@ | ||
/* This is the "dev" TS Config which includes typechecking for test. This is used by ESLint to provide TypeScript errors for test files */ | ||
{ | ||
"compilerOptions": { | ||
/* Visit https://aka.ms/tsconfig.json to read more about this file */ | ||
"target": "esnext", | ||
"module": "esnext", | ||
"lib": [ | ||
"dom", | ||
"dom.Iterable", | ||
"es2021" | ||
], | ||
"declaration": true, | ||
"rootDir": ".", | ||
"strict": true, | ||
"strictPropertyInitialization": false, | ||
"strictFunctionTypes": false, | ||
"noImplicitThis": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"experimentalDecorators": true, | ||
"useDefineForClassFields": false /* See https://lit.dev/docs/components/properties/#avoiding-issues-with-class-fields */, | ||
"removeComments": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"useUnknownInCatchVariables": true, | ||
"baseUrl": ".", | ||
"types": [ | ||
"mocha", | ||
"user-agent-data-types", | ||
"vite/client" | ||
], | ||
"resolveJsonModule": true | ||
}, | ||
"include": [ | ||
"src/**/*", | ||
"vite.config.*ts" | ||
], | ||
"exclude": [ | ||
"src/_components/**", | ||
"custom-elements-manifest.config.ts" | ||
] | ||
} | ||
"compilerOptions": { | ||
/* Visit https://aka.ms/tsconfig.json to read more about this file */ | ||
"target": "esnext", | ||
"module": "esnext", | ||
"lib": ["dom", "dom.Iterable", "es2021"], | ||
"declaration": true, | ||
"rootDir": ".", | ||
"strict": true, | ||
"strictPropertyInitialization": false, | ||
"strictFunctionTypes": false, | ||
"noImplicitThis": false, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"experimentalDecorators": true, | ||
"useDefineForClassFields": false /* See https://lit.dev/docs/components/properties/#avoiding-issues-with-class-fields */, | ||
"removeComments": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"useUnknownInCatchVariables": true, | ||
"baseUrl": ".", | ||
"types": ["mocha", "user-agent-data-types", "vite/client"], | ||
"resolveJsonModule": true | ||
}, | ||
"include": ["src/**/*", "vite.config.*ts"], | ||
"exclude": ["src/_components/**", "custom-elements-manifest.config.ts"] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens when
slides-per-page
is set to 1 andslides-per-move
is set to 2? maybe you can explain the combination a bit more detailed in terms of what to expect => makes it easier to test.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karlbaumhauer I added some explanation there, but I thought it was better to show how it works so I expanded on it's story to show that specific example.