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

[Feature Request] Decouple Paginator Styles and Scripts from Grid Directory #1537

Open
valeriatoneva opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
feature-request 🆕 status: new The issue is new and will be reviewed when somebody picks it up.

Comments

@valeriatoneva
Copy link

valeriatoneva commented Jan 13, 2025

Which component(s) are affected?

Paginator

Description

The paginator currently relies on styles and scripts located under the Grid directory, such as:

  • import 'igniteui-webcomponents-grids/grids/combined.js'
  • grids/grids/themes/light/material.css

This creates an unintended dependency, even though the paginator is designed to work as a standalone component now. The task is to decouple these dependencies and make the paginator self-contained. For example, standalone usage should not require any imports or dependencies related to the Grid directory.

Reproduction

When in App Builder, you place a card component for example and enable paging to it. You can see it's styles are grid related:
image

Workaround

Currently, the paginator can only be used with the Grid module due to its reliance on Grid styles and scripts.

Is this a regression?

No or unsure. This never worker, or I haven't tried before.

Affected versions

4.8.0

Browser/OS/Node environment

Not browser or environment-specific.

@valeriatoneva valeriatoneva added bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. feature-request labels Jan 13, 2025
@valeriatoneva valeriatoneva removed the bug Something isn't working label Jan 13, 2025
@hanastasov hanastasov assigned rkaraivanov and unassigned hanastasov Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request 🆕 status: new The issue is new and will be reviewed when somebody picks it up.
Projects
None yet
Development

No branches or pull requests

5 participants