Skip to content

Commit

Permalink
feat: accept overflow size in overflow property (#58)
Browse files Browse the repository at this point in the history
* feat: accept overflow size

* docs: specify overflow size in docs

* feat: accept object

* chore: remove unnecessary eslint rule

* chore: improve type declarations

* fix: hit test not working correctly

* refactor: use object as the internal representation for overflow

* feat: consider overflow values in hit test

* test: add tests

* ci: add CI script for test

* refactor: make isRectInViewport testable

* fix: add missing overflow size

* fix: all elements are being rendered in the initial state
  • Loading branch information
fand authored Jun 11, 2024
1 parent 75297cd commit b7d4aa6
Show file tree
Hide file tree
Showing 15 changed files with 1,083 additions and 477 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
cache-dependency-path: "**/package-lock.json"

- name: Install dependencies
run: npm ci

- name: Test
run: npm test
Loading

0 comments on commit b7d4aa6

Please sign in to comment.