├── .github ├── .kodiak.toml ├── ranger.yml └── workflows │ ├── cypress.yml.disabled │ ├── test-and-lint.yml │ └── webpack.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierrc ├── .restyled.yaml ├── .stylelintrc.json ├── CLAUDE.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── cypress.config.ts ├── cypress ├── component │ └── ComponentName.cy.ts ├── e2e │ └── 3-float-menu │ │ └── interactions.cy.ts ├── fixtures │ └── example.json ├── support │ ├── commands.ts │ ├── component-index.html │ ├── component.ts │ └── e2e.ts ├── tsconfig.json └── videos │ └── interactions.cy.ts.mp4 ├── eslint.config.js ├── globals.d.ts ├── index.html ├── jest-setup.d.ts ├── jest-setup.js ├── jest-setup.ts ├── logo.jpg ├── logo.png ├── logo.svg ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── src ├── App.tsx ├── components │ ├── context.ts │ ├── main │ │ ├── __tests__ │ │ │ └── main.test.tsx │ │ ├── index.tsx │ │ └── main.module.scss │ ├── menu-container │ │ ├── menu-container.model.ts │ │ ├── menu-container.module.scss │ │ └── menu-container.tsx │ ├── menu-list-item │ │ ├── __tests__ │ │ │ └── menu-list-item.test.tsx │ │ ├── menu-list-item.model.ts │ │ ├── menu-list-item.module.scss │ │ └── menu-list-item.tsx │ └── menu │ │ ├── __tests__ │ │ └── menu.test.tsx │ │ ├── index.tsx │ │ ├── menu-model.ts │ │ └── menu.module.scss ├── effects │ ├── useCloseOnClick.ts │ ├── useCloseOnEscape.ts │ ├── useKeyboardNav.ts │ ├── useMenuHidden.ts │ ├── useMenuToFront.ts │ └── usePosition.ts ├── icons │ ├── chevron-right.tsx │ ├── close.tsx │ ├── copy.tsx │ ├── edit.tsx │ ├── file.tsx │ ├── index.tsx │ ├── logout.tsx │ ├── plus.tsx │ └── save.tsx ├── main.tsx ├── models │ ├── menu-head.model.ts │ └── position.ts ├── react-float-menu.ts ├── utils │ ├── helpers.ts │ └── theme-default.ts └── vite-env.d.ts ├── tsconfig.json ├── vite.config.ts └── vitest.config.ts /.github/.kodiak.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.github/.kodiak.toml -------------------------------------------------------------------------------- /.github/ranger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.github/ranger.yml -------------------------------------------------------------------------------- /.github/workflows/cypress.yml.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.github/workflows/cypress.yml.disabled -------------------------------------------------------------------------------- /.github/workflows/test-and-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.github/workflows/test-and-lint.yml -------------------------------------------------------------------------------- /.github/workflows/webpack.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.github/workflows/webpack.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.prettierrc -------------------------------------------------------------------------------- /.restyled.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.restyled.yaml -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/README.md -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress/component/ComponentName.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/component/ComponentName.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/3-float-menu/interactions.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/e2e/3-float-menu/interactions.cy.ts -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/support/commands.ts -------------------------------------------------------------------------------- /cypress/support/component-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/support/component-index.html -------------------------------------------------------------------------------- /cypress/support/component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/support/component.ts -------------------------------------------------------------------------------- /cypress/support/e2e.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/support/e2e.ts -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /cypress/videos/interactions.cy.ts.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/cypress/videos/interactions.cy.ts.mp4 -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/eslint.config.js -------------------------------------------------------------------------------- /globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/globals.d.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/index.html -------------------------------------------------------------------------------- /jest-setup.d.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /jest-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/jest-setup.js -------------------------------------------------------------------------------- /jest-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/jest-setup.ts -------------------------------------------------------------------------------- /logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/logo.jpg -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/logo.png -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/logo.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/components/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/context.ts -------------------------------------------------------------------------------- /src/components/main/__tests__/main.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/main/__tests__/main.test.tsx -------------------------------------------------------------------------------- /src/components/main/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/main/index.tsx -------------------------------------------------------------------------------- /src/components/main/main.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/main/main.module.scss -------------------------------------------------------------------------------- /src/components/menu-container/menu-container.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-container/menu-container.model.ts -------------------------------------------------------------------------------- /src/components/menu-container/menu-container.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-container/menu-container.module.scss -------------------------------------------------------------------------------- /src/components/menu-container/menu-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-container/menu-container.tsx -------------------------------------------------------------------------------- /src/components/menu-list-item/__tests__/menu-list-item.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-list-item/__tests__/menu-list-item.test.tsx -------------------------------------------------------------------------------- /src/components/menu-list-item/menu-list-item.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-list-item/menu-list-item.model.ts -------------------------------------------------------------------------------- /src/components/menu-list-item/menu-list-item.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-list-item/menu-list-item.module.scss -------------------------------------------------------------------------------- /src/components/menu-list-item/menu-list-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu-list-item/menu-list-item.tsx -------------------------------------------------------------------------------- /src/components/menu/__tests__/menu.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu/__tests__/menu.test.tsx -------------------------------------------------------------------------------- /src/components/menu/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu/index.tsx -------------------------------------------------------------------------------- /src/components/menu/menu-model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu/menu-model.ts -------------------------------------------------------------------------------- /src/components/menu/menu.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/components/menu/menu.module.scss -------------------------------------------------------------------------------- /src/effects/useCloseOnClick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/useCloseOnClick.ts -------------------------------------------------------------------------------- /src/effects/useCloseOnEscape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/useCloseOnEscape.ts -------------------------------------------------------------------------------- /src/effects/useKeyboardNav.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/useKeyboardNav.ts -------------------------------------------------------------------------------- /src/effects/useMenuHidden.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/useMenuHidden.ts -------------------------------------------------------------------------------- /src/effects/useMenuToFront.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/useMenuToFront.ts -------------------------------------------------------------------------------- /src/effects/usePosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/effects/usePosition.ts -------------------------------------------------------------------------------- /src/icons/chevron-right.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/chevron-right.tsx -------------------------------------------------------------------------------- /src/icons/close.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/close.tsx -------------------------------------------------------------------------------- /src/icons/copy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/copy.tsx -------------------------------------------------------------------------------- /src/icons/edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/edit.tsx -------------------------------------------------------------------------------- /src/icons/file.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/file.tsx -------------------------------------------------------------------------------- /src/icons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/index.tsx -------------------------------------------------------------------------------- /src/icons/logout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/logout.tsx -------------------------------------------------------------------------------- /src/icons/plus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/plus.tsx -------------------------------------------------------------------------------- /src/icons/save.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/icons/save.tsx -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/models/menu-head.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/models/menu-head.model.ts -------------------------------------------------------------------------------- /src/models/position.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/models/position.ts -------------------------------------------------------------------------------- /src/react-float-menu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/react-float-menu.ts -------------------------------------------------------------------------------- /src/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/utils/helpers.ts -------------------------------------------------------------------------------- /src/utils/theme-default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/src/utils/theme-default.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabhuignoto/react-float-menu/HEAD/vitest.config.ts --------------------------------------------------------------------------------