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

Add core button variants #190

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add core button variants #190

wants to merge 2 commits into from

Conversation

GuillaumeRx
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Feb 3, 2022

Codecov Report

Merging #190 (eaf007c) into master (acb20f0) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #190   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           39        39           
  Lines          234       236    +2     
  Branches        67        69    +2     
=========================================
+ Hits           234       236    +2     
Impacted Files Coverage Δ
src/theme.ts 100.00% <ø> (ø)
src/atoms/Button.tsx 100.00% <100.00%> (ø)
src/atoms/Icon.tsx 100.00% <100.00%> (ø)
src/molecules/Banner.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update acb20f0...eaf007c. Read the comment docs.

@@ -7,6 +7,7 @@ import { Spinner } from './Spinner';
interface OwnProps {
compact?: boolean;
loading?: boolean;
fullwidth?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
fullwidth?: boolean;
fullWidth?: boolean;

fill={get(theme.colors, (fill as keyof Theme['colors']) as string) || fill}
sx={{ fill: get(theme.colors, (fill as keyof Theme['colors']) as string) || fill }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the reason for this?

@@ -299,6 +305,36 @@ export const theme = {
}
}
},
warning: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add this to Storybook?

@@ -299,6 +305,36 @@ export const theme = {
}
}
},
warning: {
cursor: 'pointer',
background: '',
Copy link
Collaborator

Choose a reason for hiding this comment

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

?

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