Skip to content
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(slider): Adding slider vanilla component - FRONT-4252 #3233

Open
wants to merge 55 commits into
base: v4-dev
Choose a base branch
from

Conversation

planctus
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Feb 14, 2024

@github-actions github-actions bot temporarily deployed to pull request February 14, 2024 10:49 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 19, 2024 16:13 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 20, 2024 08:28 Inactive
@github-actions github-actions bot temporarily deployed to pull request February 21, 2024 09:57 Inactive
Copy link
Contributor

@emeryro emeryro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few remarks here.

Also, the slider does not seem to work fine with rtl display

slider.init();

It comes with two variants, or actually only one, the default is to slide between items like `cards`, all the slides get the same width and a certain number of items will be visible in relation to the available space.
The variant is `tags` and can be used to slide in a list of `ecl tags`, or even better an `ecl tag set`, this variant would also work with simple links or buttons, elements that gets their width determined by the text that they contain.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a remark here: if the variant 'tags' can be used for things like buttons and links, we could use a more generic name for it

}

.ecl-slider__info {
display: none;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be overriden by javascript

}

/**
* Static method to create an svg icon.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we put this in the DOM utils?

@github-actions github-actions bot temporarily deployed to pull request March 21, 2024 08:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 23, 2024 11:23 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 10, 2024 10:31 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 18, 2024 13:33 Inactive
@github-actions github-actions bot temporarily deployed to pull request July 22, 2024 07:00 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 1, 2024 11:52 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 16, 2024 11:30 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 21, 2024 10:50 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 21, 2024 13:16 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 29, 2024 12:50 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 11, 2024 08:13 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 16, 2024 10:23 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 24, 2024 15:17 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 26, 2024 12:31 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants