aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/toolbar/main-nav.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Toolbar with Navbar componentArmand Philippot2023-11-111-75/+0
| | | | | | | | * remove SearchModal and SettingsModal components * add a generic NavbarItem component (instead of the previous toolbar items to avoid unreadable styles...) * move FlippingLabel component logic into NavbarItem since it is only used here
* refactor(components): extract MainNav component from toolbarArmand Philippot2023-11-111-39/+15
|
* refactor(components): rewrite NavList componentArmand Philippot2023-11-111-10/+32
| | | | | | | * extract NavItem from NavList * remove `kind` and `listClassName` props (since the consumer has control over NavList, NavItem and NavLink components these props are obsolete)
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-7/+2
| | | | | 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 & NavArmand Philippot2023-10-241-4/+4
| | | | | Some components have been renamed to be able to create Footer, Header and Nav.
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-3/+3
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-15/+16
| | | | | | 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-191-9/+6
| | | | | | 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: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-311-7/+11
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-181-9/+7
|
* refactor: support React 18Armand Philippot2022-04-161-5/+13
| | | | | | | | 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 a MainNav componentArmand Philippot2022-04-141-0/+74