Skip to content

[UIK-5567][carousel] rewrite component to NS#3052

Open
slizhevskyv-semrush wants to merge 1 commit into
release/v17from
UIK-5567/rewrite-component-to-ns
Open

[UIK-5567][carousel] rewrite component to NS#3052
slizhevskyv-semrush wants to merge 1 commit into
release/v17from
UIK-5567/rewrite-component-to-ns

Conversation

@slizhevskyv-semrush

Copy link
Copy Markdown
Contributor

Changelog

@semcore/carousel

Fixed

  • Refactor component types. Deprecated atomic types. Atomic types are part of NSCarousel namespace.

Motivation and Context

Refactor component types. Deprecated atomic types in favor namespaces. Nothing changed in how component works.

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

Comment thread semcore/carousel/src/Carousel.types.ts
active?: boolean;
onClick?: () => void;
inverted?: boolean;
} & CarouselItem;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ilyabrower

note:
I've removed CarouselItem since it's not used within Indicator component. Let me know whether it's needed. Thanks!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

indicators could be like mini items... maybe because of that it was like that... check please this example https://developer.semrush.com/intergalactic/components/carousel/carousel-code#carousel-with-preview-indicators

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

node prop means nothing for Indicator. The component doesn't handle it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants