aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/loaders
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-154-97/+68
|
* refactor(components): rewrite ProgressBar componentArmand Philippot2023-11-119-150/+240
| | | | | | | * Avoid browser vendors by adding an extra div * Add a loading state * Add an option to center the progress bar (no longer the default) * Remove min since it is always 0
* refactor(components): rewrite Spinner componentArmand Philippot2023-10-248-109/+171
| | | | | | | * Message should be set as children * Default message is no longer available (depending on use case, the consumer might prefer aria-label instead) * It is now possible to define the message position
* build: convert project to esmArmand Philippot2023-10-242-0/+2
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-207-14/+12
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-194-4/+4
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: add a label to progress barArmand Philippot2022-06-074-47/+53
| | | | | | The progress element is a form element, so a label is required to be accessible. Since I'm not using it without label, I transform the optional info parameter to a mandatory label parameter.
* test: install and configure cypressArmand Philippot2022-06-022-2/+2
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: complete Storybook storiesArmand Philippot2022-05-211-8/+0
|
* chore: handle blog paginationArmand Philippot2022-05-131-1/+1
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-202-5/+41
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-162-4/+4
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-084-9/+18
| | | | | | | | I was using the FunctionComponent type for some component that do not use children. So I change the type to VoidFunctionComponent to avoid mistakes. I also rename all the "classes" or "additionalClasses" props to "className" to keep consistency between each components.
* chore: add a ProgressBar componentArmand Philippot2022-04-054-0/+177
|
* chore: add a Spinner componentArmand Philippot2022-04-044-0/+127