├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── stale.yml └── workflows │ └── release.yml ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc.json ├── .prettierignore ├── .prettierrc ├── .storybook ├── main.js ├── preview-head.html └── preview.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── babel.config.js ├── jest.config.js ├── package.json ├── rollup.config.js ├── setupTests.ts ├── src ├── components │ ├── LegacySidebarContext.tsx │ ├── Menu.tsx │ ├── MenuButton.tsx │ ├── MenuItem.tsx │ ├── ProSidebarProvider.tsx │ ├── Sidebar.tsx │ ├── SubMenu.tsx │ └── SubMenuContent.tsx ├── hooks │ ├── useLegacySidebar.tsx │ ├── useMediaQuery.tsx │ ├── useMenu.tsx │ ├── usePopper.tsx │ └── useProSidebar.tsx ├── index.ts ├── styles │ ├── StyledBackdrop.tsx │ ├── StyledExpandIcon.tsx │ ├── StyledMenuIcon.tsx │ ├── StyledMenuLabel.tsx │ ├── StyledMenuPrefix.tsx │ ├── StyledMenuSuffix.tsx │ └── StyledUl.tsx └── utils │ └── utilityClasses.ts ├── storybook ├── Playground.tsx ├── components │ ├── Badge.tsx │ ├── PackageBadges.tsx │ ├── SidebarFooter.tsx │ ├── SidebarHeader.tsx │ ├── Switch.tsx │ └── Typography.tsx ├── icons │ ├── BarChart.tsx │ ├── Book.tsx │ ├── Calendar.tsx │ ├── Diamond.tsx │ ├── Github.tsx │ ├── Global.tsx │ ├── Icon.tsx │ ├── InkBottle.tsx │ ├── Service.tsx │ ├── ShoppingCart.tsx │ └── types.ts └── stories │ ├── Menu.stories.tsx │ ├── MenuItem.stories.tsx │ ├── Sidebar.stories.tsx │ ├── SubMenu.stories.tsx │ └── playground.stories.tsx ├── tests ├── Menu.test.tsx ├── Sidebar.test.tsx └── testUtils.tsx ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "*.{ts,tsx}": ["eslint --fix"] 3 | } 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | storybook-static -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.prettierrc -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /.storybook/preview-head.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.storybook/preview-head.html -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/.storybook/preview.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/babel.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/rollup.config.js -------------------------------------------------------------------------------- /setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/setupTests.ts -------------------------------------------------------------------------------- /src/components/LegacySidebarContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/LegacySidebarContext.tsx -------------------------------------------------------------------------------- /src/components/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/Menu.tsx -------------------------------------------------------------------------------- /src/components/MenuButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/MenuButton.tsx -------------------------------------------------------------------------------- /src/components/MenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/MenuItem.tsx -------------------------------------------------------------------------------- /src/components/ProSidebarProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/ProSidebarProvider.tsx -------------------------------------------------------------------------------- /src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /src/components/SubMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/SubMenu.tsx -------------------------------------------------------------------------------- /src/components/SubMenuContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/components/SubMenuContent.tsx -------------------------------------------------------------------------------- /src/hooks/useLegacySidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/hooks/useLegacySidebar.tsx -------------------------------------------------------------------------------- /src/hooks/useMediaQuery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/hooks/useMediaQuery.tsx -------------------------------------------------------------------------------- /src/hooks/useMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/hooks/useMenu.tsx -------------------------------------------------------------------------------- /src/hooks/usePopper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/hooks/usePopper.tsx -------------------------------------------------------------------------------- /src/hooks/useProSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/hooks/useProSidebar.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/styles/StyledBackdrop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledBackdrop.tsx -------------------------------------------------------------------------------- /src/styles/StyledExpandIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledExpandIcon.tsx -------------------------------------------------------------------------------- /src/styles/StyledMenuIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledMenuIcon.tsx -------------------------------------------------------------------------------- /src/styles/StyledMenuLabel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledMenuLabel.tsx -------------------------------------------------------------------------------- /src/styles/StyledMenuPrefix.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledMenuPrefix.tsx -------------------------------------------------------------------------------- /src/styles/StyledMenuSuffix.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledMenuSuffix.tsx -------------------------------------------------------------------------------- /src/styles/StyledUl.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/styles/StyledUl.tsx -------------------------------------------------------------------------------- /src/utils/utilityClasses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/src/utils/utilityClasses.ts -------------------------------------------------------------------------------- /storybook/Playground.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/Playground.tsx -------------------------------------------------------------------------------- /storybook/components/Badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/Badge.tsx -------------------------------------------------------------------------------- /storybook/components/PackageBadges.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/PackageBadges.tsx -------------------------------------------------------------------------------- /storybook/components/SidebarFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/SidebarFooter.tsx -------------------------------------------------------------------------------- /storybook/components/SidebarHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/SidebarHeader.tsx -------------------------------------------------------------------------------- /storybook/components/Switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/Switch.tsx -------------------------------------------------------------------------------- /storybook/components/Typography.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/components/Typography.tsx -------------------------------------------------------------------------------- /storybook/icons/BarChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/BarChart.tsx -------------------------------------------------------------------------------- /storybook/icons/Book.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Book.tsx -------------------------------------------------------------------------------- /storybook/icons/Calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Calendar.tsx -------------------------------------------------------------------------------- /storybook/icons/Diamond.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Diamond.tsx -------------------------------------------------------------------------------- /storybook/icons/Github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Github.tsx -------------------------------------------------------------------------------- /storybook/icons/Global.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Global.tsx -------------------------------------------------------------------------------- /storybook/icons/Icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Icon.tsx -------------------------------------------------------------------------------- /storybook/icons/InkBottle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/InkBottle.tsx -------------------------------------------------------------------------------- /storybook/icons/Service.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/Service.tsx -------------------------------------------------------------------------------- /storybook/icons/ShoppingCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/icons/ShoppingCart.tsx -------------------------------------------------------------------------------- /storybook/icons/types.ts: -------------------------------------------------------------------------------- 1 | export interface IconProps extends React.SVGAttributes { 2 | size?: number; 3 | } 4 | -------------------------------------------------------------------------------- /storybook/stories/Menu.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/stories/Menu.stories.tsx -------------------------------------------------------------------------------- /storybook/stories/MenuItem.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/stories/MenuItem.stories.tsx -------------------------------------------------------------------------------- /storybook/stories/Sidebar.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/stories/Sidebar.stories.tsx -------------------------------------------------------------------------------- /storybook/stories/SubMenu.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/stories/SubMenu.stories.tsx -------------------------------------------------------------------------------- /storybook/stories/playground.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/storybook/stories/playground.stories.tsx -------------------------------------------------------------------------------- /tests/Menu.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/tests/Menu.test.tsx -------------------------------------------------------------------------------- /tests/Sidebar.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/tests/Sidebar.test.tsx -------------------------------------------------------------------------------- /tests/testUtils.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/tests/testUtils.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azouaoui-med/react-pro-sidebar/HEAD/yarn.lock --------------------------------------------------------------------------------