Repository navigation
fix(deps): update dependency @frontify/guideline-blocks-settings to v4 - #236
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/frontify-guideline-blocks-settings-4.x
branch
from
December 2, 2026 04:14
4c0dc3a to
631ce89
Compare
renovate
Bot
force-pushed
the
renovate/frontify-guideline-blocks-settings-4.x
branch
from
December 2, 2026 17:02
631ce89 to
81ad1ad
Compare
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.
This PR contains the following updates:
^3.0.6→^4.0.0Release Notes
Frontify/brand-sdk (@frontify/guideline-blocks-settings)
v4.0.0Major Changes
#1819
e3daa30Thanks @ragi96! - chore(deps): bump@frontify/fondueto14.0.0-beta.2The rich text editor props and plugins (
RichTextEditor,LinkPlugin,ButtonPlugin,AllTextStylePlugins, …) are now typed against fondue 14. If your block builds aPluginComposerfrom its own@frontify/fondue/rte, upgrade it to@frontify/[email protected]as well; on fondue 13 the plugins no longer type-check against these props.#1819
e3daa30Thanks @ragi96! - chore(deps): make@frontify/fonduea peer dependencyThe package no longer installs its own copy of fondue; it uses the one your block depends on. Add fondue to your block if it isn't there yet:
The rich text editor props and plugins (
RichTextEditor,LinkPlugin,ButtonPlugin,AllTextStylePlugins, …) use fondue's editor classes. With a single fondue copy, aPluginComposeryou build from@frontify/fondue/rtetype-checks against them; with two copies it didn't. If your block is on another fondue version, npm stops with anERESOLVEerror and pnpm reports an unmet peer instead of silently installing a second copy.#1819
e3daa30Thanks @ragi96! - refactor: remove the unusedisDarkandgetReadableColorcolor utilities and stop exportingtoShortRgbaNone of these were used by Frontify's own blocks. If your block still uses them, call
@ctrl/tinycolordirectly with a color string fromtoRgbaString:toShortRgbamapped{ red, green, blue, alpha }to{ r, g, b, a }. The other color utilities still accept the long format.#1819
e3daa30Thanks @ragi96! - feat(RichTextEditor)!: open the in-sourced link chooser from the app bridgeThe rich text editor's "Internal link" button now dispatches the app bridge
openLinkChoosercommand instead of rendering its own document browser, so link selection reuses the in-sourced chooser provided by the host. The hosting app must handle theopenLinkChooser/closeLinkChoosercommands and emit thelinkChosenevent. Applies to both the Link and Button plugins; the URL field and "Open in new tab" toggle are unchanged.BREAKING CHANGE: the
@frontify/app-bridgepeer dependency is now^4.0.0-alpha.0(previously^3.0.0 || ^4.0.0-alpha.0), sinceuseLinkChooseris only available in app-bridge v4.BREAKING CHANGE: the
LinkSelectorcomponent and theInitiallyExpandedItemsandDocumentSectionWithTitletypes are no longer exported. They powered the old in-package internal-link browser that the app bridge link chooser replaces. Consumers renderingLinkSelectordirectly should switch to the app bridge link chooser (openLinkChooser); theLinkInputcomponent is unaffected.#1819
e3daa30Thanks @ragi96! - refactor(RichTextEditor): remove deprecatedidpropThe
idprop onRichTextEditorPropshas been removed. It was deprecated and unused — the identifier is now handled automatically.#1819
e3daa30Thanks @ragi96! - build: publish ES modules onlyThe package no longer ships its UMD and CommonJS builds.
require()now resolves to the ES module build, the same fileimportuses, so bundlers resolve the same code as before.Neither old build worked with
require()in Node: both used a.jsextension in a"type": "module"package, so Node loaded them as ES modules.If Jest loads the package as CommonJS, let it transform the package, the same way it already has to for
@frontify/app-bridge:#1819
e3daa30Thanks @ragi96! - chore: stop shipping fondue's deprecated CSS variables in@frontify/guideline-blocks-settings/stylesThe stylesheet no longer defines fondue's deprecated
:rootvariables, such as--text-color,--line-colorand--box-neutral-color. The components in this package don't use them. If your own block CSS still reads them, switch to the current fondue tokens:--text-color--color-primary-default--text-color-weak--color-secondary-default--text-color-negative--color-error-default--base-color--color-surface-default--box-neutral-color--color-container-secondary-default--box-selected-color--color-container-highlight-default--line-color--color-line-mid--line-color-strong--color-line-strongfondue's
deprecatedBaseTokens.csslists the mapping for every variable. Until you've migrated, you can import that file yourself:Minor Changes
#1819
e3daa30Thanks @ragi96! - feat: adduseBlockPrivacySettingsandgetSecurityAssetViewerSettingso blocks can override the global privacy settings without resolving them by handuseBlockPrivacySettingsreturns the global privacy settings, or the block's own overrides when its security is set to custom. A privacy setting the block offers no override switch for stays global.#1819
e3daa30Thanks @ragi96! - feat: addColorChoosercomponent that renders the host color chooser in place, e.g. inside a block's flyoutRequires
@frontify/app-bridge4.0.0-alpha.76or newer, which adds theopenColorChooser/closeColorChoosercommands.Patch Changes
#1819
e3daa30Thanks @ragi96! - chore(deps): require@frontify/fondue^14.0.0-rc.3as peer dependencyBlocks on an earlier fondue 14 prerelease need to update:
#1819
e3daa30Thanks @ragi96! - chore(deps): require@frontify/app-bridge^4.0.0-alpha.83as peer dependency#1819
e3daa30Thanks @ragi96! - chore(deps): bump@frontify/fondueto14.0.0-rc.0#1819
e3daa30Thanks @ragi96! - fix(Attachments): upload attachments through the hostAttachmentspasses its app bridge touseAssetUpload, which now uploads through the host.#1819
e3daa30Thanks @ragi96! - fix(RichTextEditor): open the insert link modal next to the selection instead of the top left corner of the page#1819
e3daa30Thanks @ragi96! - fix: stop toolbar and rich text editor buttons from submitting a surrounding formThe block item toolbar buttons and the edit, remove and style buttons in the rich text editor's link and button popovers had no
type, so inside a<form>they acted as submit buttons. They are nowtype="button".#1819
e3daa30Thanks @ragi96! - chore(deps): bump@frontify/fondueto^13.7.8#1819
e3daa30Thanks @ragi96! - chore(deps): bump@frontify/fondueto^13.7.10#1819
e3daa30Thanks @ragi96! - fix(RichTextEditor): keep the link and button popovers in default colorsThe link and button popovers render on a fixed white surface, but inherited the guideline's body and link colors, so a light theme made the URL and icons invisible. Text and icons now use the default dark color and the URL a fixed blue, while the theme typography is kept.
#1819
e3daa30Thanks @ragi96! - perf: let bundlers drop the parts of the package a block doesn't useImporting any export, such as
defineBlockor a settings helper, no longer pulls the whole package into your block bundle. Blocks that don't use theRichTextEditorno longer ship it, along with its emoji data.#1819
e3daa30Thanks @ragi96! - fix(Attachments): announce the attachment name on the download buttonThe download button carried an
aria-labelthat overrode its visible label, so screen readers announced "Download attachment" without saying which attachment. The action is now conveyed by screen-reader-only text in front of the attachment title, making both the action and its target audible. (Originally fixed in 3.0.6.)#1819
e3daa30Thanks @ragi96! - fix(RichTextEditor): assertzIndex: 'auto'on the floating link and button portalsThese modals are portaled to
document.bodyand rely on DOM order so that a dialogopened from them -- notably the guideline LinkChooser -- renders on top. Guideline
portals can carry custom CSS that sets a
z-indexon body children, which lifted themodal above that dialog and left the chooser unreachable behind it. Asserting the value
inline wins over those rules.
#1819
e3daa30Thanks @ragi96! - fix(BlockItemWrapper): replace deprecatedFOCUS_VISIBLE_STYLEwith thetw-ring-focustoken utility in toolbar buttons#1819
e3daa30Thanks @ragi96! - fix(RichTextEditor): show the section's color scheme in the button and link modalsThe insert/edit modals of the button and link plugins are portaled to
document.body, so their style previews resolved the default color scheme's theme variables instead of those scoped to the editor's section. The modals now copy the theme variables that the scope around the editor declares onto their portaled wrapper.#1819
e3daa30Thanks @ragi96! - chore: remove unused internal testing dummy#1819
e3daa30Thanks @ragi96! - fix(Link): keep root-relative urls untouchedRoot-relative urls entered in the link and button flyouts — such as
/hub/167— were treated as invalid and turned into a broken absolute url likehttps:///hub/167. Any path starting with/is now accepted and stored as-is, so links keep working across multiple domains and sites. Previously only/document/…and/r/…were preserved. (Originally fixed in 3.0.5.)#1819
e3daa30Thanks @ragi96! - fix: keep@frontify/guideline-blocks-settings/stylesin webpack production buildsThe package marked all of its files as free of side effects, including the stylesheet. In production mode, webpack therefore dropped
import '@frontify/guideline-blocks-settings/styles'and the block shipped without the package's styles. CSS files are now marked as having side effects; tree-shaking of the JavaScript exports is unchanged.#1819
e3daa30Thanks @ragi96! - fix: show missing borders, hover backgrounds and error colorsSeveral components used old palette classes that the package's stylesheet doesn't generate, so those styles didn't render. They now use the current fondue tokens:
BlockInjectButton: the red border and text when an invalid file is droppedAttachments: the divider below the attachment listThe block item toolbar now uses fondue's radius and shadow tokens as well: its corners are slightly tighter (4px instead of 6px) and its shadow matches fondue's flyouts.
Configuration
📅 Schedule: (in timezone Europe/Zurich)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.