Skip to content

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

Description

@valeriatoneva

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.

Metadata

Metadata

Labels

🆕 status: newThe issue is new and will be reviewed when somebody picks it up.feature-request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions