aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(settings): close tooltip when modal is closingArmand Philippot2022-06-082-15/+20
| | | | | The event was not captured so the tooltip remained open when the settings was closed. It prevented to click on the toolbar buttons.
* chore: add an aria label to code blocksArmand Philippot2022-06-072-0/+19
| | | | | Prism is adding a tabindex to code blocks, so I think an aria label can help screen reader users to identify the tabbed content.
* chore(cards): use post title as link labelArmand Philippot2022-06-074-48/+69
|
* chore: use image title as figure label if no caption is providedArmand Philippot2022-06-071-2/+6
|
* chore: add aria hidden attribute to SVG iconsArmand Philippot2022-06-073-3/+3
|
* test: install and configure cypressArmand Philippot2022-06-0228-28/+28
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* fix: improve help button accessibility with aria-pressedArmand Philippot2022-06-022-1/+5
|
* fix: ensure radio buttons are accessibleArmand Philippot2022-06-022-4/+24
| | | | | It seems I cannot use the SVG title as label. So I removed the title and added a visually hidden span to set the radio buttons label.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-0128-586/+780
|
* chore: replace the toggle componentArmand Philippot2022-06-0120-472/+431
|
* chore: add a RadioGroup componentArmand Philippot2022-05-316-2/+348
|
* chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-316-7/+408
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-2512-7/+105
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* chore: give autofocus to the toolbar search formArmand Philippot2022-05-241-11/+10
|
* test: fix theme toggle and comment testsArmand Philippot2022-05-242-4/+4
|
* chore(toolbar): change icons to close button when activatedArmand Philippot2022-05-244-0/+213
|
* chore: adjust cards list spacingArmand Philippot2022-05-231-1/+1
|
* refactor: reduce the number of data transformationArmand Philippot2022-05-231-20/+2
|
* chore: adjust dark mode stylesArmand Philippot2022-05-222-1/+3
|
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-224-14/+52
| | | | | | There is a bug with next/image and Storybook. I was manually adding `unoptimized` to images. Instead we can use a workaround by adding an extra config in Storybook `preview.js` file.
* chore: complete Storybook storiesArmand Philippot2022-05-2116-143/+85
|
* fix: close Ackee tooltip on button clickArmand Philippot2022-05-212-6/+17
| | | | | | | The tooltip was closing and reopening on click because of a conflict between the button event and the hook useClickOutside. By checking that the event target is not the button, the tooltip is now closing as expected.
* chore: update images stylesArmand Philippot2022-05-203-9/+68
|
* chore: udpate code blocks styleArmand Philippot2022-05-201-139/+135
|
* chore: handle blog pagination when JS is disabledArmand Philippot2022-05-202-6/+6
|
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-192-18/+10
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: fix minor styles/typescript issues introduced during refactoringArmand Philippot2022-05-182-2/+7
|
* chore: handle settings changeArmand Philippot2022-05-1812-89/+113
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-182-10/+16
|
* chore: add branding animationArmand Philippot2022-05-183-45/+126
|
* chore: make some widgets scrollable (like ToC)Armand Philippot2022-05-172-1/+27
|
* chore: adjust articles stylesArmand Philippot2022-05-172-58/+30
| | | | | * change animation on article card hover * change comments section alignment
* chore: listen scroll to hide/show back to top buttonArmand Philippot2022-05-171-2/+2
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-164-21/+59
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* chore: improve accessibilityArmand Philippot2022-05-151-6/+20
|
* chore: add the Blog index pageArmand Philippot2022-05-131-38/+62
|
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-0912-132/+450
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* chore: add a CV pageArmand Philippot2022-05-033-9/+9
|
* chore: add a LegalNotice pageArmand Philippot2022-05-033-8/+11
|
* chore: add homepageArmand Philippot2022-05-035-4/+36
|
* chore: add a Columns componentArmand Philippot2022-04-294-0/+235
|
* chore: add a PageLayout componentArmand Philippot2022-04-254-7/+59
|
* chore: add a Header componentArmand Philippot2022-04-221-2/+2
|
* chore: add a Pagination componentArmand Philippot2022-04-214-0/+472
|
* chore: add a PageHeader componentArmand Philippot2022-04-214-0/+233
|
* chore: add a PageFooter componentArmand Philippot2022-04-213-0/+87
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-2029-197/+760
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add a Code componentArmand Philippot2022-04-194-0/+542
|
* refactor: support React 18Armand Philippot2022-04-1623-101/+109
| | | | | | | | 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.
* chore: add an Overview componentArmand Philippot2022-04-151-0/+4
|