| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(components): rewrite List component | Armand Philippot | 2023-11-11 | 6 | -51/+31 |
| | | | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress | ||||
| * | refactor(components): make Logo component ESlint compliant | Armand Philippot | 2023-10-24 | 1 | -8/+15 |
| | | | | | | I also renamed the title prop to heading because title already exists as HTML attribute. | ||||
| * | feat(components): replace icons with a generic Icon component | Armand Philippot | 2023-10-24 | 8 | -29/+34 |
| | | | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS. | ||||
| * | feat(components): add Article, Aside, Footer, Header, Main & Nav | Armand Philippot | 2023-10-24 | 7 | -51/+41 |
| | | | | | | Some components have been renamed to be able to create Footer, Header and Nav. | ||||
| * | refactor(components): rewrite Heading component | Armand Philippot | 2023-10-24 | 5 | -45/+41 |
| | | | | | | | | | | * remove `alignment` and `withMargin` props (consumer should handle that) * move styles to Sass placeholders to avoid repeats with headings coming from WordPress * refactor some other components that depend on Heading to avoid ESlint errors | ||||
| * | refactor(components): rewrite Button and ButtonLink components | Armand Philippot | 2023-10-24 | 7 | -56/+69 |
| | | | | | | | | | | | | | | | Both: * move styles to Sass placeholders Button: * add `isPressed` prop to Button * add `isLoading` prop to Button (to differentiate state from disabled) ButtonLink: * replace `external` prop with `isExternal` prop * replace `href` prop with `to` prop | ||||
| * | build: convert project to esm | Armand Philippot | 2023-10-24 | 21 | -1/+22 |
| | | |||||
| * | refactor(components): rewrite form components | Armand Philippot | 2023-10-24 | 74 | -3428/+1092 |
| | | |||||
| * | refactor: use named export for everything except pages | Armand Philippot | 2023-09-20 | 91 | -325/+288 |
| | | | | | | | 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 paths | Armand Philippot | 2023-09-19 | 78 | -127/+126 |
| | | | | | | | 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: make Links and Images compliant with Next.js 13 | Armand Philippot | 2023-01-23 | 7 | -35/+23 |
| | | |||||
| * | fix(settings): avoid cropped tooltip on small devices | Armand Philippot | 2022-06-09 | 12 | -19/+69 |
| | | | | | | | I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement. | ||||
| * | fix(settings): close tooltip when modal is closing | Armand Philippot | 2022-06-08 | 2 | -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 blocks | Armand Philippot | 2022-06-07 | 2 | -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 label | Armand Philippot | 2022-06-07 | 4 | -48/+69 |
| | | |||||
| * | chore: use image title as figure label if no caption is provided | Armand Philippot | 2022-06-07 | 1 | -2/+6 |
| | | |||||
| * | chore: add aria hidden attribute to SVG icons | Armand Philippot | 2022-06-07 | 3 | -3/+3 |
| | | |||||
| * | test: install and configure cypress | Armand Philippot | 2022-06-02 | 28 | -28/+28 |
| | | | | | I also configure Jest to avoid conflicts between Cypress and Jest. | ||||
| * | fix: improve help button accessibility with aria-pressed | Armand Philippot | 2022-06-02 | 2 | -1/+5 |
| | | |||||
| * | fix: ensure radio buttons are accessible | Armand Philippot | 2022-06-02 | 2 | -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 component | Armand Philippot | 2022-06-01 | 28 | -586/+780 |
| | | |||||
| * | chore: replace the toggle component | Armand Philippot | 2022-06-01 | 20 | -472/+431 |
| | | |||||
| * | chore: add a RadioGroup component | Armand Philippot | 2022-05-31 | 6 | -2/+348 |
| | | |||||
| * | chore: replace Checkbox component with a BooleanField component | Armand Philippot | 2022-05-31 | 6 | -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 devices | Armand Philippot | 2022-05-25 | 12 | -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 form | Armand Philippot | 2022-05-24 | 1 | -11/+10 |
| | | |||||
| * | test: fix theme toggle and comment tests | Armand Philippot | 2022-05-24 | 2 | -4/+4 |
| | | |||||
| * | chore(toolbar): change icons to close button when activated | Armand Philippot | 2022-05-24 | 4 | -0/+213 |
| | | |||||
| * | chore: adjust cards list spacing | Armand Philippot | 2022-05-23 | 1 | -1/+1 |
| | | |||||
| * | refactor: reduce the number of data transformation | Armand Philippot | 2022-05-23 | 1 | -20/+2 |
| | | |||||
| * | chore: adjust dark mode styles | Armand Philippot | 2022-05-22 | 2 | -1/+3 |
| | | |||||
| * | fix: render all images unoptimized in Storybook | Armand Philippot | 2022-05-22 | 4 | -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 stories | Armand Philippot | 2022-05-21 | 16 | -143/+85 |
| | | |||||
| * | fix: close Ackee tooltip on button click | Armand Philippot | 2022-05-21 | 2 | -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 styles | Armand Philippot | 2022-05-20 | 3 | -9/+68 |
| | | |||||
| * | chore: udpate code blocks style | Armand Philippot | 2022-05-20 | 1 | -139/+135 |
| | | |||||
| * | chore: handle blog pagination when JS is disabled | Armand Philippot | 2022-05-20 | 2 | -6/+6 |
| | | |||||
| * | refactor: rewrite Prism hooks and providers | Armand Philippot | 2022-05-19 | 2 | -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 refactoring | Armand Philippot | 2022-05-18 | 2 | -2/+7 |
| | | |||||
| * | chore: handle settings change | Armand Philippot | 2022-05-18 | 12 | -89/+113 |
| | | |||||
| * | chore: close toolbar modals on click/focus outside | Armand Philippot | 2022-05-18 | 2 | -10/+16 |
| | | |||||
| * | chore: add branding animation | Armand Philippot | 2022-05-18 | 3 | -45/+126 |
| | | |||||
| * | chore: make some widgets scrollable (like ToC) | Armand Philippot | 2022-05-17 | 2 | -1/+27 |
| | | |||||
| * | chore: adjust articles styles | Armand Philippot | 2022-05-17 | 2 | -58/+30 |
| | | | | | | * change animation on article card hover * change comments section alignment | ||||
| * | chore: listen scroll to hide/show back to top button | Armand Philippot | 2022-05-17 | 1 | -2/+2 |
| | | |||||
| * | chore: adjust and complete missing styles | Armand Philippot | 2022-05-16 | 4 | -21/+59 |
| | | | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements | ||||
| * | chore: improve accessibility | Armand Philippot | 2022-05-15 | 1 | -6/+20 |
| | | |||||
| * | chore: add the Blog index page | Armand Philippot | 2022-05-13 | 1 | -38/+62 |
| | | |||||
| * | refactor: rewrite DescriptionList and Meta components | Armand Philippot | 2022-05-09 | 12 | -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 page | Armand Philippot | 2022-05-03 | 3 | -9/+9 |
| | | |||||
