├── .codesandbox └── ci.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ └── release.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── examples └── basic │ ├── package.json │ ├── public │ └── index.html │ ├── src │ ├── App.tsx │ └── index.tsx │ └── tsconfig.json ├── package.json ├── pnpm-lock.yaml ├── src ├── file-tree.test.ts ├── file-tree.ts ├── index.ts ├── node.test.tsx ├── node.tsx ├── observable-data.ts ├── path-fx.test.ts ├── path-fx.ts ├── test │ └── utils.ts ├── tree │ ├── branch.ts │ ├── leaf.ts │ ├── nodes-by-id.ts │ ├── subject.ts │ └── tree.ts ├── types.ts ├── use-deferred-value.test.ts ├── use-deferred-value.ts ├── use-dnd.test.tsx ├── use-dnd.ts ├── use-file-tree-snapshot.test.ts ├── use-file-tree-snapshot.ts ├── use-filter.test.ts ├── use-filter.ts ├── use-hotkeys.test.tsx ├── use-hotkeys.ts ├── use-node-plugins.test.ts ├── use-node-plugins.ts ├── use-observer.test.ts ├── use-observer.ts ├── use-resize-observer.test.ts ├── use-resize-observer.ts ├── use-roving-focus.test.ts ├── use-roving-focus.ts ├── use-selections.test.ts ├── use-selections.ts ├── use-traits.test.ts ├── use-traits.ts ├── use-transition.ts ├── use-virtualize.test.ts ├── use-virtualize.ts ├── use-visible-nodes.ts ├── utils.test.ts └── utils.ts ├── test ├── resolve-snapshot.js └── setup.ts ├── tsconfig.eslint.json ├── tsconfig.json └── types ├── file-tree.d.ts ├── index.d.ts ├── node.d.ts ├── observable-data.d.ts ├── path-fx.d.ts ├── tree ├── branch.d.ts ├── leaf.d.ts ├── nodes-by-id.d.ts ├── subject.d.ts └── tree.d.ts ├── tsconfig.tsbuildinfo ├── types.d.ts ├── use-deferred-value.d.ts ├── use-dnd.d.ts ├── use-file-tree-snapshot.d.ts ├── use-filter.d.ts ├── use-hotkeys.d.ts ├── use-node-plugins.d.ts ├── use-observer.d.ts ├── use-resize-observer.d.ts ├── use-roving-focus.d.ts ├── use-selections.d.ts ├── use-traits.d.ts ├── use-transition.d.ts ├── use-virtualize.d.ts ├── use-visible-nodes.d.ts └── utils.d.ts /.codesandbox/ci.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/.codesandbox/ci.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | /types 5 | *.log -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | pnpm commitlint --edit $1 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | pnpm lint-staged 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/babel.config.js -------------------------------------------------------------------------------- /examples/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/examples/basic/package.json -------------------------------------------------------------------------------- /examples/basic/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/examples/basic/public/index.html -------------------------------------------------------------------------------- /examples/basic/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/examples/basic/src/App.tsx -------------------------------------------------------------------------------- /examples/basic/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/examples/basic/src/index.tsx -------------------------------------------------------------------------------- /examples/basic/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/examples/basic/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/file-tree.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/file-tree.test.ts -------------------------------------------------------------------------------- /src/file-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/file-tree.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/node.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/node.test.tsx -------------------------------------------------------------------------------- /src/node.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/node.tsx -------------------------------------------------------------------------------- /src/observable-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/observable-data.ts -------------------------------------------------------------------------------- /src/path-fx.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/path-fx.test.ts -------------------------------------------------------------------------------- /src/path-fx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/path-fx.ts -------------------------------------------------------------------------------- /src/test/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/test/utils.ts -------------------------------------------------------------------------------- /src/tree/branch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/tree/branch.ts -------------------------------------------------------------------------------- /src/tree/leaf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/tree/leaf.ts -------------------------------------------------------------------------------- /src/tree/nodes-by-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/tree/nodes-by-id.ts -------------------------------------------------------------------------------- /src/tree/subject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/tree/subject.ts -------------------------------------------------------------------------------- /src/tree/tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/tree/tree.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/use-deferred-value.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-deferred-value.test.ts -------------------------------------------------------------------------------- /src/use-deferred-value.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-deferred-value.ts -------------------------------------------------------------------------------- /src/use-dnd.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-dnd.test.tsx -------------------------------------------------------------------------------- /src/use-dnd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-dnd.ts -------------------------------------------------------------------------------- /src/use-file-tree-snapshot.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-file-tree-snapshot.test.ts -------------------------------------------------------------------------------- /src/use-file-tree-snapshot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-file-tree-snapshot.ts -------------------------------------------------------------------------------- /src/use-filter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-filter.test.ts -------------------------------------------------------------------------------- /src/use-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-filter.ts -------------------------------------------------------------------------------- /src/use-hotkeys.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-hotkeys.test.tsx -------------------------------------------------------------------------------- /src/use-hotkeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-hotkeys.ts -------------------------------------------------------------------------------- /src/use-node-plugins.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-node-plugins.test.ts -------------------------------------------------------------------------------- /src/use-node-plugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-node-plugins.ts -------------------------------------------------------------------------------- /src/use-observer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-observer.test.ts -------------------------------------------------------------------------------- /src/use-observer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-observer.ts -------------------------------------------------------------------------------- /src/use-resize-observer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-resize-observer.test.ts -------------------------------------------------------------------------------- /src/use-resize-observer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-resize-observer.ts -------------------------------------------------------------------------------- /src/use-roving-focus.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-roving-focus.test.ts -------------------------------------------------------------------------------- /src/use-roving-focus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-roving-focus.ts -------------------------------------------------------------------------------- /src/use-selections.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-selections.test.ts -------------------------------------------------------------------------------- /src/use-selections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-selections.ts -------------------------------------------------------------------------------- /src/use-traits.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-traits.test.ts -------------------------------------------------------------------------------- /src/use-traits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-traits.ts -------------------------------------------------------------------------------- /src/use-transition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-transition.ts -------------------------------------------------------------------------------- /src/use-virtualize.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-virtualize.test.ts -------------------------------------------------------------------------------- /src/use-virtualize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-virtualize.ts -------------------------------------------------------------------------------- /src/use-visible-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/use-visible-nodes.ts -------------------------------------------------------------------------------- /src/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/utils.test.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/resolve-snapshot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/test/resolve-snapshot.js -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/test/setup.ts -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/file-tree.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/file-tree.d.ts -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/node.d.ts -------------------------------------------------------------------------------- /types/observable-data.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/observable-data.d.ts -------------------------------------------------------------------------------- /types/path-fx.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/path-fx.d.ts -------------------------------------------------------------------------------- /types/tree/branch.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tree/branch.d.ts -------------------------------------------------------------------------------- /types/tree/leaf.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tree/leaf.d.ts -------------------------------------------------------------------------------- /types/tree/nodes-by-id.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tree/nodes-by-id.d.ts -------------------------------------------------------------------------------- /types/tree/subject.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tree/subject.d.ts -------------------------------------------------------------------------------- /types/tree/tree.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tree/tree.d.ts -------------------------------------------------------------------------------- /types/tsconfig.tsbuildinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/tsconfig.tsbuildinfo -------------------------------------------------------------------------------- /types/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/types.d.ts -------------------------------------------------------------------------------- /types/use-deferred-value.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-deferred-value.d.ts -------------------------------------------------------------------------------- /types/use-dnd.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-dnd.d.ts -------------------------------------------------------------------------------- /types/use-file-tree-snapshot.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-file-tree-snapshot.d.ts -------------------------------------------------------------------------------- /types/use-filter.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-filter.d.ts -------------------------------------------------------------------------------- /types/use-hotkeys.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-hotkeys.d.ts -------------------------------------------------------------------------------- /types/use-node-plugins.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-node-plugins.d.ts -------------------------------------------------------------------------------- /types/use-observer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-observer.d.ts -------------------------------------------------------------------------------- /types/use-resize-observer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-resize-observer.d.ts -------------------------------------------------------------------------------- /types/use-roving-focus.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-roving-focus.d.ts -------------------------------------------------------------------------------- /types/use-selections.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-selections.d.ts -------------------------------------------------------------------------------- /types/use-traits.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-traits.d.ts -------------------------------------------------------------------------------- /types/use-transition.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-transition.d.ts -------------------------------------------------------------------------------- /types/use-virtualize.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-virtualize.d.ts -------------------------------------------------------------------------------- /types/use-visible-nodes.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/use-visible-nodes.d.ts -------------------------------------------------------------------------------- /types/utils.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredLunde/exploration/HEAD/types/utils.d.ts --------------------------------------------------------------------------------