Commit Graph

14 Commits

Author SHA1 Message Date
Huyen Nguyen
ac09cc2df9 refactor(client): replace Bootstrap button in modals and solution widget (#52378)
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
2023-12-20 09:23:42 +01:00
Huyen Nguyen
5b074f7141 fix(ui-components): button component styles (#52116) 2023-11-01 08:47:59 +01:00
Moshe
2d7b75b930 test(ui-components): title should be tag-like text (#51366) 2023-08-24 13:27:11 +05:30
Muhammed Mustafa
323158569b feat(tools): clean unneeded code in the menu items (#50341) 2023-07-11 10:23:59 -05:00
Moshe
21e5470220 feat(ui-tools): add dropDown component (#47043)
* Create a drop down menu

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moshe vilner <shootermv@gmail.com>

hopefully sort the tests

hopefully sort the test this time

this time? I hope

test compound component

I give up

This reverts commit d88c6783cccf811c3c5dced0ab980adff0172669.

headless doesn't pass onclick to its buttons children

add the logical statment back

revert the removing the ability to click

sort the tests

fix a typo

* sort the tests

* rename to menu item

* let dropdown trigger accept children

* include dropdown and menu items in the exports

* polish the logic around setting the dropup style

* add tests

* fix: typo DropDown to Dropdown

* sort the styles

* sort the type and add bsStyle to dropdownToggle

* fix: types in button and menu items

* align text to center

* remove the bsstyle and block logic from dropdown

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>

* add w-full to sort default button not taking all width

* move the styling dependecy away from dev

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>

* stop the mutation

Co-authored-by: sembauke <semboot699@gmail.com>

* remove the extra story

---------

Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
2023-04-24 10:05:25 +02:00
Muhammed Mustafa
35c3a93a72 feat: add the ability to create a download button (#48697)
* feat: add the ability to create a download button

* Allow the creating of download button

* update test, and stories props
2022-12-16 08:57:39 -08:00
Huyen Nguyen
92e496cbe9 feat(ui-components): create Link component (#46105)
* feat(ui-components): create Link component

* refactor(ui-components): replace color tokens
2022-05-23 16:38:13 +03:00
Huyen Nguyen
fa59d4a107 chore(ui-components): simplify color tokens (#45848)
* chore: rename color tokens

* chore: clean up hover tokens

* docs: add a note on colors usage
2022-05-09 16:28:25 +03:00
saltedTofu
2cc13c322f fix(ui-components): disabled button behavior (#45739)
* fixed disabled button behavior

Changed disabled button to not have active styles

* Update tools/ui-components/src/button/button.tsx

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

* Update tools/ui-components/src/button/button.tsx

* Update tools/ui-components/src/button/button.tsx

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2022-04-29 17:14:07 +03:00
Huyen Nguyen
86935fa59f feat(ui-components): add support for link to Button component (#45671)
* add active style

* add disable state

* add support for full-width

* add custom focus outline

* feat(ui-components): add support for link to Button component

* Add onClick action

* center content
2022-04-25 13:47:40 +03:00
Huyen Nguyen
d35c24af42 feat(ui-components): add states and full-width support to Button component (#45665)
* add active style

* add disable state

* add support for full-width

* add custom focus outline
2022-04-18 11:26:36 +03:00
Huyen Nguyen
791b8b527b feat(ui-components): add info variant and hover state to Button component (#45541)
* add info variant

* add styling for hover state

* feat: add info variant

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-31 21:54:06 +03:00
Huyen Nguyen
06a1aa39b2 chore(ui-components): minor adjustments in Button component (#45480) 2022-03-23 11:23:26 +03:00
Huyen Nguyen
3fc687a583 feat(ui-components): implement basic Button component (#45421)
* Move to its own folder

* file rename

* implement basic Button component
2022-03-16 12:00:53 +03:00