skeletonlabs / floating-ui-svelte

A Floating UI wrapper for Svelte
https://floating-ui-svelte.vercel.app
MIT License
123 stars 4 forks source link

highlight is now mark, accepts a nested array for ranges #127

Closed Hugos68 closed 1 month ago

Hugos68 commented 1 month ago

Linked Issue

Closes #126

Description

Example: mark={[1,[3,5]} highlights the following lines: [1,3,4,5]

Changesets

We use Changesets to automatically create our changelog per each release. Any changes or additions to the Library assets in /lib must be documented with a new Changeset. This can be done as follows:

  1. Navigate to the root of the project on your feature branch.
  2. Run pnpm changeset to trigger the Changeset CLI.
  3. Follow the instructions when prompted.
    • Changesets should be either minor or patch. Never major.
    • Prefix your Changeset description using: feature:, chore: or bugfix:.
  4. Changeset .md files are added to the /.changeset directory.
  5. Commit and push the the new changeset file.

Checklist

Please read and apply all contribution requirements.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
floating-ui-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 8:05pm
changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: dc2bf2a10ffe4dfc14bf4c7216c73487d3dc1b6d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Hugos68 commented 1 month ago

@endigo9740 Tagging you since this is due a review. It's very minor so should take no more than 5 minutes and it's general QOL improvement.

endigo9740 commented 1 month ago

LGTM