Skip to content

Commit

Permalink
feat(icon-button): get the new colours approach
Browse files Browse the repository at this point in the history
new colours approach

BREAKING CHANGE: using the new colours approach
  • Loading branch information
andresin87 authored and acd02 committed Aug 2, 2023
1 parent 29be2be commit 50e09d3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 17 deletions.
42 changes: 29 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components/icon-button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spark-ui/icon-button",
"version": "1.3.10",
"version": "1.3.10-colours.0",
"description": "Icon button renders an icon within in a button",
"publishConfig": {
"access": "public"
Expand All @@ -12,7 +12,7 @@
"build": "vite build"
},
"dependencies": {
"@spark-ui/button": "^1.15.0",
"@spark-ui/button": "colours",
"class-variance-authority": "0.5.2"
},
"peerDependencies": {
Expand Down
6 changes: 4 additions & 2 deletions packages/components/icon-button/src/IconButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ export default meta

const sizes: IconButtonProps['size'][] = ['sm', 'md', 'lg']
const intents: IconButtonProps['intent'][] = [
'primary',
'secondary',
'main',
'support',
'accent',
'basic',
'success',
'alert',
'danger',
Expand Down

0 comments on commit 50e09d3

Please sign in to comment.