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: Implement icon component #41

Merged
merged 9 commits into from
Aug 5, 2024
Merged

feat: Implement icon component #41

merged 9 commits into from
Aug 5, 2024

Conversation

ChesneyJulian
Copy link
Contributor

@ChesneyJulian ChesneyJulian commented Aug 1, 2024

This component predefines sizing, padding and font size for icons. It has params for color, type, circular, and backgroundColor. If circular is true and no backgroundColor is passed, the backgroundColor will default to the subtle version of the icon color. The color params have types that match Bootstrap's color options. The type param utilizes the NrgIconValue type. The circular param determines if the icon has a circle background with additional padding and color.

image

@ChesneyJulian ChesneyJulian requested a review from TSenter August 1, 2024 14:10
@lnicely
Copy link
Contributor

lnicely commented Aug 1, 2024

Per Tyler - can we modify this to take an additional argument for showing the bubble/not showing the bubble?

@ChesneyJulian ChesneyJulian marked this pull request as draft August 1, 2024 19:18
@ChesneyJulian ChesneyJulian changed the title feat: Implement icon-bubble feat: Implement icon component Aug 2, 2024
@ChesneyJulian ChesneyJulian marked this pull request as ready for review August 2, 2024 11:57
@ChesneyJulian ChesneyJulian force-pushed the chesney-icon-bubble branch 2 times, most recently from c063e8f to 8c17663 Compare August 2, 2024 16:51
@TSenter TSenter added this to the Beta Release (v0.0.0) milestone Aug 2, 2024
packages/ember/src/components/icon.gts Outdated Show resolved Hide resolved
packages/ember/src/components/icon.gts Outdated Show resolved Hide resolved
packages/ember-test-app/app/components/f/icon.gts Outdated Show resolved Hide resolved
packages/ember-test-app/app/components/f/icon.gts Outdated Show resolved Hide resolved
packages/ember/src/components/icon.gts Show resolved Hide resolved
@TSenter TSenter merged commit a444f0d into main Aug 5, 2024
9 checks passed
@TSenter TSenter deleted the chesney-icon-bubble branch August 5, 2024 14:44
@TSenter TSenter added the enhancement New feature or request label Aug 22, 2024
@TSenter TSenter added internal Internal changes or things that don't fit in any other category enhancement New feature or request and removed enhancement New feature or request internal Internal changes or things that don't fit in any other category labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants