freeCodeCamp/tools/ui-components/src
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
..
alert feat(tools): export Alertprops if needed for consumption (#49236) 2023-03-15 16:27:07 +03:00
assets feat(tools): create ui-components package and setup Storybook (#41920) 2021-05-11 00:37:01 +05:30
button feat(ui-tools): add dropDown component (#47043) 2023-04-24 10:05:25 +02:00
close-button refactor(tools): import close button props and stop reassigning its value (#49235) 2023-02-18 08:18:40 -08:00
color-system refactor: fix hidden eslint errors (#49365) 2023-02-13 07:13:50 -08:00
control-label chore(tools): create formgroup component (#46758) 2023-03-27 13:39:18 +05:30
drop-down feat(ui-tools): add dropDown component (#47043) 2023-04-24 10:05:25 +02:00
form-control fix(tools): sort small issues in formControl (#49872) 2023-04-18 20:01:36 +05:30
form-group chore(tools): create formgroup component (#46758) 2023-03-27 13:39:18 +05:30
help-block chore(ui-components): simplify color tokens (#45848) 2022-05-09 16:28:25 +03:00
image feat: add image component (#44590) 2022-02-03 13:48:14 +03:00
link feat: add the ability to create a download button (#48697) 2022-12-16 08:57:39 -08:00
panel feat(tools): add panel component (#49398) 2023-04-19 16:37:13 +02:00
table test(UI): add tests to the table spec (#48823) 2023-01-02 23:18:07 +05:30
toggle-button feat(UI): implement ToggleButton component (#48567) 2023-03-15 14:08:58 +03:00
base.css fix(component-library): add color variables to css build (#48417) 2022-11-11 08:13:07 +02:00
colors.css feat(tools): remove system colors variables from colors.css (#49870) 2023-04-03 14:06:18 +05:30
declarations.d.ts chore(tools): convert color-system to TypeScript (#44970) 2022-01-31 17:06:45 +03:00
index.ts feat(ui-tools): add dropDown component (#47043) 2023-04-24 10:05:25 +02:00
introduction.stories.mdx chore(tools): update import statement (#44990) 2022-02-01 13:36:04 -08:00