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

Cleanup Icon component implementation #1183

Merged
merged 10 commits into from
Jan 13, 2023
Merged

Cleanup Icon component implementation #1183

merged 10 commits into from
Jan 13, 2023

Conversation

Noxsios
Copy link
Contributor

@Noxsios Noxsios commented Jan 10, 2023

Description

The icon.svelte component has re-implementation of the material-symbols library. Since the library exports a typescript type, a wrapper component around this should be used instead. There is also a fallback for Zarf specific icons (such as package and component).

Type of change

  • New feature (non-breaking change which adds functionality)

Copy link
Contributor

@jeff-mccoy jeff-mccoy left a comment

Choose a reason for hiding this comment

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

SGTM.

Screenshot 2023-01-12 at 10 54 28 PM

@jeff-mccoy jeff-mccoy enabled auto-merge (squash) January 13, 2023 04:55
@jeff-mccoy jeff-mccoy merged commit bba0a98 into main Jan 13, 2023
@jeff-mccoy jeff-mccoy deleted the razzle-cleanup-icons branch January 13, 2023 18:02
jeff-mccoy pushed a commit that referenced this pull request Jan 15, 2023
The `icon.svelte` component has a re-implementation of the
`material-symbols` library. Since the library exports a [typescript
type](https://github.com/marella/material-symbols/blob/main/material-symbols/index.d.ts),
a wrapper component around this should be used instead. There is also a
fallback for Zarf-specific icons (such as `package` and `component`).
@Noxsios Noxsios added this to the Zarf UI milestone Jan 17, 2023
Noxsios added a commit that referenced this pull request Mar 8, 2023
The `icon.svelte` component has a re-implementation of the
`material-symbols` library. Since the library exports a [typescript
type](https://github.com/marella/material-symbols/blob/main/material-symbols/index.d.ts),
a wrapper component around this should be used instead. There is also a
fallback for Zarf-specific icons (such as `package` and `component`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants