Conversation
Sync: Release v2.3.0 back to develop
* Run prettier format * Apply prettier formatting * Run ESLint lint and add fixes
* Update version declaration in global types and linting * Add linting step to CI * run npm audit fix *upgrade @rollup/plugin-terser to version 1.0.0
* security: implement input sanitization for adaptation themes, URL placeholders, and tab header HTML * Prevent placeholder binding in event handlers. * Add testcases and docs * cover check for full template values in href and src attributes * Consolidate URL sanitization logic into url-utils * Add sanitization to include namespaced and form attributes
* Move workflow to development * Fix outdated links * Add devguide, setting up
…der (#262) * Update adaptations paths to <versions> to unify structure
* Rename current "highlight" to "box" * Add highlight as textual highlight * Reorganize docs * Add resolution of path to vitest * Commonize annotation types for both box and highlight * Add annotations to text highlights * Add focused view banner for highlights
* prevent accidental modal closure
* refactor: remove manual ellipsis characters and replace with visual chevron indicators for annotation previews * Refactor annotations to shared folder * Make empty ribbon height same as non-empty ribbon * Update colors of ribbons as well as duplicate shadow on the ribbons * refactor: apply consistent code formatting and clean up syntax across highlight and overlay components * style: simplify and unify drop shadow effects and annotation transforms across components * style: update text highlight color palette and add configurable vertical offset to annotation components * style: simplify highlight styles to use solid background colors instead of text decorations * style: update annotation ribbon colors, text truncation, and polygon clipping paths * feat: add dynamic annotation repositioning on window resize events * fix: improve text resolution logic - Fix offset math bug where cross-element highlights with unnormalized HTML whitespace miscalculates `rawEnd` index. * style: update BoxOverlay drop shadow offset and spread for improved visibility * Abstract out colors and commonize annotation colors * refactor: standardize highlight color handling using DEFAULT_ANNOTATION_COLOR_KEY and shared color definitions * Update docs
* feat: add optional link label support to shareable URLs * refactor: disable svelte/prefer-svelte-reactivity rule and remove redundant inline overrides * refactor: centralize URL parameter injection and ensure link labels take precedence in share links * fix: update URL parameter filtering to correctly handle empty key-value pairs
* refactor: rename sanitizeTabHeader to sanitizeHtml to support broader component usage * feat: add support for rich HTML content and global icon stylesheets in Label component
* expand annotation color palette with dynamic text coloring and grid-based UI layouts
* feat: implement cv-insertion custom element and loader to support runtime injection of adaptation-specific content.
fix: conditionally load insertions and deduplicate stylesheet injections in shadow DOM components
* Remove annotation viewport clamping causing wrong positions * Position annotation editors above "+note" * perf: optimize UI updates by replacing ResizeObserver with requestAnimationFrame and adding unit tests
…utton (#285) * feat: wrap link label input in a styled container for better visual grouping and interaction
* update annotation ribbons to support multi-line text with dynamic sizing
* refactor: decouple HighlightColorPicker from shareStore and add support for text highlight color management
* refactor: replace label support with custom align, outline, and hide-badge attributes for insertions * refactor: add `default-style` and `default-badge` attributes to `Insertion` component and update documentation * style: remove background color from insertion container and update pill background to use themeable variable * docs: update insertion examples and clarify attribute behavior descriptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview of changes:
Release v3.0.0
SEMVER impact of the PR:
Checklist: ☑️
Merge Instructions: