You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance Accessibility, Readability, and Loading State Handling
This commit introduces several changes to improve the accessibility and readability of the codebase, and to enhance the handling of the loading state of components.
Changes include:
Test suite structure in button.test.tsx has been refactored using describe and test blocks for improved readability and organization.
Styling for the disabled state of the button in button.styled.ts has been updated to handle loading state.
A disabled variable has been added to buttonStandAlone.tsx to handle the button's disabled state when it's loading.
LoaderStandAlone component in loader.tsx has been modified to always return a JSX element and a visible prop has been added to control the visibility of the loader.
LoaderStandaloneComponent in loaderStandAlone.tsx and ILoaderStandAlone interface in loader.ts have been updated to include a visible prop that controls the visibility of the loader.
A visible field has been added to the story args for the Loader and LoaderWithCtv stories in loader.stories.tsx to control the visibility of the loader in the storybook.
These changes improve the readability of the code, the accessibility of the components, and the handling of the loading state.
'Icon to show on the right side of the input. `altText` are not allowed here. You can set in configAccesibility prop in `iconInputOpenAriaLabel` and `iconInputCloseAriaLabel`',
0 commit comments