Wykres commitów

35 Commity (a96ef008c8a9e654fcb3e9ae5d4cd44296d94da6)

Autor SHA1 Wiadomość Data
Alessandro 597a06c97c
fix(carousel): add instance check to isCarouselItem (#1684) 2023-10-25 13:04:31 -04:00
Alessandro 58bf05451d
fix: multiple slides per page navigation (#1605)
* fix(carousel): change navigation logic

* chore: update tests

* chore: create polyfill for scrollend

* chore: add unit tests and clean up

* chore: leftover

* chore: minor fix

* chore: avoid initialization for clones

* fix(carousel): update page navigation logic

* chore(carousel): revert change

* chore(carousel): minor changes

* chore: update pagination logic

* fix: enforce slidesPerMove value
2023-10-23 10:57:58 -04:00
Cory LaViska 54923edd22 update default 2023-10-16 12:41:22 -04:00
Cory LaViska 1383ea3fe8
React import paths (#1507)
* fix react imports in examples

* move types to definition files

* update changelog

* update changelog
2023-08-11 13:09:44 -04:00
Konnor Rogers 3a61d20d93
Create non-auto-registering routes (#1450)
* initial attempt at not auto defining

* add files with -

* continued work on removing auto-define

* fix component definitions

* update with new tag stuff

* fix lots of things

* fix improper scoped elements

* working through side effects

* continued react wrapper work

* update changelog

* formatting

* fixes

* update changelog

* lint / formatting

* fix version injection

* fix version injection, work on test

* fix version injection, work on test

* fix merge conflicts

* fix jsdoc null issue

* fix templates

* use exports

* working on tests

* working on registration mocking

* fix customElements test

* linting

* fix some test stuff

* clean up test

* clean up comment

* rename scopedElements to dependencies

* linting / formatting

* linting / formatting

* mark all packages external and still bundle

* set bundle false

* set bundle true

* dont minify

* fix merge conflicts

* use built shoelace-element

* fix lint errors

* prettier

* appease eslint

* appease eslint gods

* appease eslint gods

* appease eslint gods

* appease eslint gods

* add shoelace-autoloader

* move it all into 1 function

* add exportmaps note

* prettier

* add jsdelivr entrypoint

* read as utf8

* update docs with .component.js importS

* prettier
2023-07-24 13:00:07 -04:00
Evan Harrison e88d57d17d
change .floor to .ceil in getCurrentPage; modify prev function to return to closest previous snappable index (#1420) 2023-07-05 16:26:00 -04:00
Konnor Rogers 60d7f688eb
fix extensionless imports (#1394) 2023-06-22 10:56:24 -04:00
Konnor Rogers 441a957432
fix: `<sl-carousel>` has the wrong import for `LocalizeController` (#1384)
* fix autoloading translations

* add changelog entry

* prettier

* prettier
2023-06-20 14:02:07 -04:00
Justin Fagnani b9f62bb1bc Migrate SlCarousel.handleSlotChange 2023-06-14 15:16:26 +09:00
Justin Fagnani a01b2cf8a2 Replace .bind() with arrow functions, add listeners in constructors. 2023-06-14 08:52:12 +09:00
konnorrogers c6cc7b6983 prettier 2023-06-13 15:43:21 -04:00
konnorrogers 0e869ec18d fix the tests 2023-06-13 15:40:04 -04:00
Cory LaViska 1b347874ef fix tests 2023-06-13 14:22:56 -04:00
Alessandro c137f83df6
fix(carousel): clickable elements don't work on chrome (#1266)
* fix(carousel): clickable elements don't work on chrome

* fix: update implementation
2023-04-13 11:55:40 -04:00
Cory LaViska d2369d1de8 fix @since 2023-04-04 16:22:24 -05:00
Cory LaViska 23a7f65b49 fix variable name case 2023-03-27 09:31:43 -04:00
Alessandro 7bf0f647b3
fix(carousel): change the way slide position is computed (#1235) 2023-03-13 10:56:00 -04:00
Cory LaViska 76fd7aa28d trigger update immediately 2023-03-03 10:55:53 -05:00
Cory LaViska 8f17bf4e9d
Improve Carousel Accessibility (#1218)
* fix demo

* improve accessibility, reorg, and polish up

* add support for up/down

* fix docs

* update docs
2023-03-03 10:53:17 -05:00
Cory LaViska 857f318f9c
fix overscroll (#1217) 2023-03-01 11:48:16 -05:00
Cory LaViska c0966bf767 remove unused property 2023-03-01 11:35:25 -05:00
Cory LaViska 86cecc9e30 fix carousel pagination in iOS 2023-03-01 11:34:42 -05:00
Alessandro ec036d8e61
fix(carousel): various fixes and improvements (#1216)
* fix(carousel): don't resume autoplay if interacting

* fix(carousel): wrap pagination items

* chore(carousel): add unit tests

* feat(carousel): more reactive pagination dots

* fix(carousel): trigger scrollend when user scroll exactly over a snap point
2023-03-01 11:05:29 -05:00
Cory LaViska 3d2e618be8 fix term 2023-02-24 16:08:06 -05:00
Cory LaViska b0f7dfb86b update comment 2023-02-24 15:55:02 -05:00
Cory LaViska e1979b8f38 reorder custom properties 2023-02-24 15:54:57 -05:00
Cory LaViska 7e9ae32b9b add carousel terms 2023-02-24 15:48:39 -05:00
Cory LaViska c69db4919b wip; improve carousel docs 2023-02-23 16:50:18 -05:00
Cory LaViska a526e8a956 cleanup 2023-02-23 15:00:27 -05:00
Cory LaViska 4970ba065e set a default aspect ratio 2023-02-23 15:00:02 -05:00
Cory LaViska b64b1c2536 fix test 2023-02-23 14:49:49 -05:00
Cory LaViska 8f9eb012ba sort imports 2023-02-23 14:42:58 -05:00
Cory LaViska 603aa93322 update and fix typos 2023-02-23 14:39:05 -05:00
Cory LaViska 74203de094 sort imports 2023-02-23 14:23:38 -05:00
Alessandro c6a6a77bbd
feat: add carousel component
feat: add nav indicators

wip

wip

wip

fix: minor fixes

fix: minor fixes

fix: some refactor

chore: update docs

chore: update docs

fix: remove slide component

feat: create sl-carousel-item

feat: code refactoring and improvements

chore: update docs with more examples

chore: fix docs

feat: add autoplay

feat: implement accessibility

fix: change icons for rtl

chore: minor change

feat: improve accessibility

fix: minor regression

fix: minor regression

chore: fix docs

fix: improve accessibility and minor fixes

fix: remove heading and refactor component

chore: add custom style exmaple

fix: address review commnets

* Removed header from carousel
* Added `ArrowUp` and `ArrowDown` in keyboard navigation
* Added `--scroll-hint-margin` css property
* Added an example with customized carousel layout
* Fixed thumbnails navigation in demo
* Renamed show-controls to show-arrows and updated the corresponding parts/css accordingly
* Changed `activeSlideElement` getter to a private method
* Changed pagination colors
* Added `--slide-width` and `--slide-height` css properties

chore: update docs

fix: integrate latest repo changes

fix: add aspect ratio and rebase

chore: remove ignore path

feat: multiple slides per page

feat: multiple slide per page

fix: various improvements

chore: minor changes

chore: minor changes

chore: add bit of documentation

chore: improve documentation

fix: add unit tests and fix minor issues

chore: update documentation and unit tests

chore: update tests
2023-01-08 12:24:24 +01:00