chore(deps): Bump the react group across 1 directory with 2 updates#1
Closed
dependabot[bot] wants to merge 20 commits intomainfrom
Closed
chore(deps): Bump the react group across 1 directory with 2 updates#1dependabot[bot] wants to merge 20 commits intomainfrom
dependabot[bot] wants to merge 20 commits intomainfrom
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
bbaa1b4 to
dcb56de
Compare
…ates Bumps the testing group with 2 updates in the / directory: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@vitest/coverage-v8` from 3.2.4 to 4.1.5 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/coverage-v8) Updates `vitest` from 3.2.4 to 4.1.5 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: testing - dependency-name: vitest dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: testing ... Signed-off-by: dependabot[bot] <support@github.com>
dcb56de to
0a6f50a
Compare
…ting-021df8d6f7 chore(deps-dev): Bump the testing group across 1 directory with 2 updates
0a6f50a to
99f2a37
Compare
Strengthen export behavior by preferring DOM-based PDF rendering with a searchable text layer and preserving raster fallback when needed. Expand unit and e2e coverage for screenshot formats, pdf downloads, and long-content export scenarios to catch regressions early. Made-with: Cursor
Format e2e and unit export tests to satisfy prettier checks in CI. Made-with: Cursor
99f2a37 to
e441f29
Compare
e441f29 to
2471957
Compare
html-to-image v1.11.13 crashes in production with "can't access property 'trim', e is undefined" when traversing the cloned DOM tree to embed fonts. Setting skipFonts: true avoids the normalizeFontFamily(undefined) crash while still producing correct exports since the tool uses system fonts. Refs: html-to-image embed-webfonts.ts normalizeFontFamily()
The manual clone approach (createStyledClone + off-screen container) caused completely blank exports because elements at left: -9999px lose all layout context and collapse. html-to-image is designed to capture the live DOM directly — it handles cloning internally. Changes: - Remove createStyledClone() and replaceTextareaWithDiv() - Call toBlob() directly on the original element - Remove .export-clone-container CSS - Remove obsolete unit test for createStyledClone - Keep skipFonts: true to avoid html-to-image font embedding crash
- Reintroduce clone-based export with explicit element width to prevent layout collapse - Inline computed background color so theme (light/dark/high-contrast) is preserved - Expand textarea height to scrollHeight so full scrolled content is captured - Remove hardcoded white background default from toBlob options - Add unit test for scroll capture behavior - Bump version to 1.2.0
The clone approach caused missing content because off-screen elements lose layout context and CSS variable resolution. Now we temporarily modify the original element in-place: - Expand overflow/height so scrolled content is fully visible - Inline computed background color so themes survive SVG serialization - Expand textarea to scrollHeight so all text is captured - Restore all original styles in a finally block This fixes both missing content and wrong background color in exports.
The previous in-place modification didn't work for scrolled content because the textarea still had flex: 1 from CSS, causing it to fill the parent height instead of expanding to its scrollHeight. And the parent containers (.tool-shell-body, .tool-shell-canvas) have fixed heights that block expansion. Now we: 1. Move the original element into a fixed-position off-screen container attached to document.body — unlimited space for expansion 2. Set textarea flex: none so it uses its own content height 3. Expand textarea to scrollHeight so all scrolled text is captured 4. Restore DOM position and all styles in finally block This fixes exports for content that exceeds the viewport.
- CORS error formatting variants (cors, tainted, security) - Abort signal handling (undefined, active, aborted) - Sensitive data blocking vs allowSensitiveData flag - DOM position and style restoration on success and failure - Background color inlining for dark/light themes - Textarea scroll expansion with flex:none - Empty textarea, special characters, elements without textarea - Canvas exporter result shapes and default filenames - PDF iframe content verification Bump version to 1.2.3.
- Replace complex Settings SVG with a clean 6-spoke cog that renders legibly at 16×16 px instead of looking like a meat grinder. - Add title?: string to NotepadState so the brand name is persisted. - Wire up inline brand editing in tool-client: click the toolbar name to edit, Enter commits, Escape cancels. - Sync document.title with the edited name so the browser tab updates. - Update share title to use the custom name instead of toolConfig.name. Bump version to 1.2.4.
- Replace all html2canvas/jsPDF references with html-to-image and @media print iframe (actual implementation since v1.2.0). - Update export troubleshooting to reflect off-screen export approach. - Fix Canvas section in GUIDE to describe SVG foreignObject capture. Bump version to 1.2.5.
- GUIDE.md: Replace deprecated compound-component wiring example (ToolShell.Toolbar/Body/Sidebar/Canvas) with current prop-based API (toolbar/sidebar/canvas/statusBar props). - README.md + CLAUDE.md: Update share-format example to use current Notepad state shape (text + title) instead of old fontSize. - README.md: Add editable toolbar brand name to feature list. Bump version to 1.2.6.
- Export useKeyboardShortcuts from @itsjust/core (was documented in CLAUDE.md but never actually exported). - Remove dead ToolShellCompat compound-component fallback code from tool-client.tsx. ToolShell no longer has static Toolbar/Body/ Sidebar/Canvas/StatusBar properties. - Remove duplicate document.title useEffect that shadowed the title- synced one. Bump version to 1.2.7.
Align package.json and tool.config.ts with the tagged release.
The toolbar brand always showed config.theme.brand / config.name, ignoring actions.brandValue after the user edited the title. Now brandText prefers actions.brandValue when available so the toolbar reflects the edited title. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Removed the hand-coded icon components (UndoIcon, RedoIcon, SettingsIcon,
SunIcon, MoonIcon, and dead exports ExportIcon, CheckIcon, SpinnerIcon,
SidebarIcon) from tool-shell-icons.tsx.
Now imports icons from lucide-react with consistent size={16} and
strokeWidth={1.5} to match the existing visual style.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2471957 to
dec588d
Compare
- template root: 1.2.7 → 1.2.8 - @itsjust/core: 1.1.0 → 1.1.1 (new lucide-react dependency) - tool.config.ts: 1.2.7 → 1.2.8 - Updated CHANGELOG Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Bumps the react group with 2 updates in the / directory: [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). Updates `react` from 19.2.4 to 19.2.5 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react) Updates `react-dom` from 19.2.4 to 19.2.5 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react-dom) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: react - dependency-name: react-dom dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: react ... Signed-off-by: dependabot[bot] <support@github.com>
dec588d to
68b4530
Compare
Contributor
Author
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
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.
Bumps the react group with 2 updates in the / directory: react and react-dom.
Updates
reactfrom 19.2.4 to 19.2.5Release notes
Sourced from react's releases.
Commits
23f4f9f19.2.5Updates
react-domfrom 19.2.4 to 19.2.5Release notes
Sourced from react-dom's releases.
Commits
23f4f9f19.2.5