Closed Vaiginta closed 12 months ago
Some of the individual components may do with some "data-id"
for testing purposes.
Also some tests would be nice :)
Correct me if I am wrong but I think we can combine the SpeedDial-related components in one folder? SpeedDial and SpeedDialAction for example.
Correct me if I am wrong but I think we can combine the SpeedDial-related components in one folder? SpeedDial and SpeedDialAction for example.
I couldn't see another example of similar component in one folder. For example Radio and RadioGroup are in separate folders. @mnapthine what do you think?
Correct me if I am wrong but I think we can combine the SpeedDial-related components in one folder? SpeedDial and SpeedDialAction for example.
I couldn't see another example of similar component in one folder. For example Radio and RadioGroup are in separate folders. @mnapthine what do you think?
Yeah, I did ant to move stuff around for some... Tabs and TableView are both examples of multiple in one folder.
Couple of things to consider:
react-aria
stuff is to ensure the lib is very accessible. This component is essentially a menu and if we are wanting to mimic the Material component then it should follow a similar pattern in terms of accessibility https://mui.com/material-ui/react-speed-dial/#accessibilityreact-aria
use button - https://react-spectrum.adobe.com/react-aria/usePress.html over onClick
If we want it quickly to use with the editor then maybe we should just put this in the other repo or we could use a Menu for the moment, it won't look the same but it would be functionally more like it. The editor has keyboard accessibility issues as well but in the CMS repo we can potentially look at resolving issues later on.
Hi, there is no documentation :) Please have a look at other components for examples. How it works, how it is implemented, source code etc.