├── .changeset ├── README.md └── config.json ├── .github ├── FUNDING.yml ├── label.yml └── workflows │ ├── integration.yml │ ├── lint.yml │ ├── main.yml │ ├── release.yml │ └── size.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── cypress.json ├── cypress ├── fixtures │ └── example.json ├── integration │ └── basic.spec.ts ├── plugins │ └── index.ts ├── support │ ├── commands.ts │ └── index.ts └── tsconfig.json ├── example ├── .gitignore ├── next-env.d.ts ├── package.json ├── pages │ ├── accordion.tsx │ ├── index.tsx │ └── reach.tsx └── tsconfig.json ├── lerna.json ├── package.json ├── packages ├── core │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── sort-nodes.ts │ ├── test │ │ └── utils.test.tsx │ └── tsconfig.build.json └── react │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ └── index.tsx │ ├── test │ └── react.test.tsx │ └── tsconfig.build.json ├── tsconfig.build.json ├── tsconfig.json ├── types └── global.d.ts └── yarn.lock /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/label.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/label.yml -------------------------------------------------------------------------------- /.github/workflows/integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/workflows/integration.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.github/workflows/size.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/README.md -------------------------------------------------------------------------------- /cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress.json -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/integration/basic.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/integration/basic.spec.ts -------------------------------------------------------------------------------- /cypress/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/plugins/index.ts -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/support/commands.ts -------------------------------------------------------------------------------- /cypress/support/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/support/index.ts -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .cache 3 | dist -------------------------------------------------------------------------------- /example/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/next-env.d.ts -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/package.json -------------------------------------------------------------------------------- /example/pages/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/pages/accordion.tsx -------------------------------------------------------------------------------- /example/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/pages/index.tsx -------------------------------------------------------------------------------- /example/pages/reach.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/pages/reach.tsx -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/package.json -------------------------------------------------------------------------------- /packages/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/sort-nodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/src/sort-nodes.ts -------------------------------------------------------------------------------- /packages/core/test/utils.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/test/utils.test.tsx -------------------------------------------------------------------------------- /packages/core/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/core/tsconfig.build.json -------------------------------------------------------------------------------- /packages/react/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/CHANGELOG.md -------------------------------------------------------------------------------- /packages/react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/README.md -------------------------------------------------------------------------------- /packages/react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/package.json -------------------------------------------------------------------------------- /packages/react/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/src/index.tsx -------------------------------------------------------------------------------- /packages/react/test/react.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/test/react.test.tsx -------------------------------------------------------------------------------- /packages/react/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/packages/react/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segunadebayo/descendants-observer/HEAD/yarn.lock --------------------------------------------------------------------------------