Skip to content

Commit

Permalink
feat(rework navigation): Rework top and bottom navigation (#263)
Browse files Browse the repository at this point in the history
* feat(top navigation): Rework top navigation (#261)

* feat(top navigation): Rework top navigation

Add new components:
- DropdownMenu
- MenuItem
- MenuItems

Mutualize logic from UserMenu
Start Cleaning Menu components and story

* feat(top navigation): Cleaning

* feat(top navigation): Fix dark mode

* feat(top navigation): Wire active state and clean config

* feat(top navigation): Clean story and fix test

* feat(top navigation): Add hover variant for MenuItem

* feat(top navigation): Add sub menu navigations

* feat(top navigation): Responsive spacing adjustments

* feat(top navigation): Handle isActive text color

* feat(top navigation): Handle status indicator

* feat(top navigation): Update snapshot

* feat(top navigation): Review

* feat(top navigation): Update snapshot

* feat(bottom nav): Add bottom navigation on mobile (#264)

* feat(bottom navigation): Add BottomNav component

* feat(bottom navigation): Add animated icon

* feat(bottom navigation): Add basic icon component

* feat(footer navigation): Add Footer component (#268)

* feat(top navigation): Cleaning

* feat(top navigation): Fix dark mode

* feat(top navigation): Wire active state and clean config

* feat(top navigation): Clean story and fix test

* feat(top navigation): Add hover variant for MenuItem

* feat(top navigation): Add sub menu navigations

* feat(top navigation): Responsive spacing adjustments

* feat(top navigation): Handle isActive text color

* feat(top navigation): Handle status indicator

* feat(top navigation): Update snapshot

* feat(top navigation): Review

* feat(top navigation): Update snapshot

* feat(footer navigation): Add Footer component

* feat(bottom navigation): Fix lint

* feat(footer): Add new toggle theme and tweak layout

* feat(footer): Integrate footer

* feat(footer): Fix lint

* feat(footer): Refactor with IconComponent

* feat(footer): Fix svg import in Jest

* feat(footer): Clean Menu widget

* feat(footer): Fix import

* feat(footer): Prepare integration

* feat(footer): Fix test

* feat(menu rework): QA part 1

* feat(footer): QA feedbacks

* feat(footer): Fix svgs

* feat(footer): Replace long tap interaction

* feat(footer): Fix event catching

* feat(footer): Fix event catching on iOS

* feat(footer): Hide language on topnav
  • Loading branch information
0xCorgi authored Sep 13, 2021
1 parent f68eac3 commit 67b4e53
Show file tree
Hide file tree
Showing 111 changed files with 5,255 additions and 3,243 deletions.
1 change: 1 addition & 0 deletions packages/pancake-uikit/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const globalDecorator = (StoryFn) => (

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
layout: "fullscreen",
};

const themes = [
Expand Down
3 changes: 2 additions & 1 deletion packages/pancake-uikit/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
testPathIgnorePatterns: ["/node_modules/", "/dist/", "/.storybook/"],
setupFilesAfterEnv: ["<rootDir>/src/setupTests.js"],
transform: {
'\\.(js|jsx)?$': 'babel-jest',
"\\.(js|jsx)?$": "babel-jest",
"^.+\\.svg$": "<rootDir>/svgTransform.js",
},
};
Loading

0 comments on commit 67b4e53

Please sign in to comment.