Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 #120

Merged
merged 71 commits into from
Feb 20, 2025
Merged

V2 #120

merged 71 commits into from
Feb 20, 2025

Conversation

andreruffert
Copy link
Owner

@andreruffert andreruffert commented Feb 4, 2025

What changed (additional context)

Bug fixes

  • fix disabled state
  • fix rtl direction track value fill

Features:

  • ignore click jump thumb clicks
  • introduce HTML form support
  • introduce vertical orientation support
  • introduce multi thumb support

Breaking Changes:

  • template iteration
  • style iteration
  • event handler iteration
  • use default focus behaviour
  • use :active pseudo selector

Other:

  • browser tests with vitest & playwright
  • replace parcel-bundler with vite
  • introduce docs site

- relocate to src/
- update template
- simplify default styles
- use :active pseudo selector
- use default focus behaviour
- ignore click jump thumb clicks
- npm run check
- npm run lint
@andreruffert andreruffert added the enhancement New feature or request label Feb 4, 2025
- inherit `border-radius` from root element (easier to overwrite)
- `--track-fill-clamp` (keep things dry with `--value-percentage` fallback)
Ensure the event.target is self (range-slider) and not the thumb or any thumb children etc.

This avoids incorrect percent calculations when passing the event.offsetX/Y from a wrong target and not self. So far only seen on iOS devices on the initial touch move.

Might be a `pointer-events: none` issue on iOS.
Generates a changelog based on commits since the last semver tag instead generating all previous changelogs and overwrite them.

https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli
- Content updates
- Introduce dynamic syntax highlighting for the CSS playground using the latest syntax-highlight-element v1.0.0-rc.3
- Readme: add badges
- feature detect CSS.highlights to prevent undefined syntaxHighlightElement.update function
@andreruffert andreruffert merged commit 38c4abc into main Feb 20, 2025
4 checks passed
@andreruffert andreruffert deleted the v2 branch February 20, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant