Skip to content
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9dcf554
Added button component stub
alex-e-leon Apr 29, 2026
d9e3184
Basic button styles
alex-e-leon Apr 29, 2026
d3df058
Button variant styles
alex-e-leon Apr 29, 2026
0263d4d
Button variant styles
alex-e-leon Apr 30, 2026
6452ab8
Fixed styles for button styles
alex-e-leon Apr 30, 2026
35960c2
Add loading spinner on black background story
alex-e-leon Apr 30, 2026
c1ec0e6
Fix loading spinner on black
alex-e-leon Apr 30, 2026
53d4979
Add button loading spinner variant
alex-e-leon Apr 30, 2026
ecb6b9b
Better button icon padding
alex-e-leon Apr 30, 2026
cb4a85a
Square icon buttons
alex-e-leon Apr 30, 2026
b800a39
Fix button transitions
alex-e-leon Apr 30, 2026
4f81009
Add min-width to button for square buttons
alex-e-leon Apr 30, 2026
e0c06e1
Added pre+suff icon
alex-e-leon Apr 30, 2026
410bb70
Fix button story lint issues
alex-e-leon Apr 30, 2026
0d7143f
Fix lint errors
alex-e-leon Apr 30, 2026
49d34e3
Update petrinaut button components
alex-e-leon Apr 30, 2026
d8a21b6
Added link subtle back in
alex-e-leon Apr 30, 2026
659b6c0
Added changeset
alex-e-leon May 1, 2026
9828a92
Switch button min-width to use border-variable width
alex-e-leon May 1, 2026
4a2ba80
bump button font-weigh to 500 + make subtle button bg transparent
alex-e-leon May 5, 2026
89dcdd9
Added an xxs size to button
alex-e-leon May 5, 2026
06bc906
Match prefix + suffix icon sizes in button story
alex-e-leon May 5, 2026
88a353e
Fix petrinaut button props
alex-e-leon May 5, 2026
59b8d64
remove href if link is disabled
alex-e-leon May 5, 2026
a415ed1
Add extra link styles to button
alex-e-leon May 6, 2026
12580c4
Fix min-width on links
alex-e-leon May 6, 2026
daf1aaa
Use variable for icon margin
alex-e-leon May 6, 2026
650fb9a
Switch line-height to be a js value rather than a calculated value
alex-e-leon May 6, 2026
9ecf1a5
Added click to load story example
alex-e-leon May 7, 2026
03de19a
Revert "Switch line-height to be a js value rather than a calculated …
alex-e-leon May 7, 2026
8ec08d9
Don't add ref twice to button
alex-e-leon May 8, 2026
1b647e6
Useless commit to re-trigger GH CI
alex-e-leon May 11, 2026
abc9787
Fix ds-components turbo dependencies
alex-e-leon May 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cyan-pans-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashintel/ds-components": patch
---

New Button component added to DS
5 changes: 5 additions & 0 deletions libs/@hashintel/ds-components/scripts/figma-variables.json
Comment thread
alex-e-leon marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,11 @@
"type": "fontSize",
"resolvedType": "FLOAT"
},
"xxs": {
"value": 10,
"type": "fontSize",
"resolvedType": "FLOAT"
},
"xs": {
"value": 12,
"type": "fontSize",
Expand Down
Loading
Loading