Skip to content

v6.5.1#3108

Merged
JuliaMV merged 29 commits into
mainfrom
develop
Jun 19, 2026
Merged

v6.5.1#3108
JuliaMV merged 29 commits into
mainfrom
develop

Conversation

@JuliaMV

@JuliaMV JuliaMV commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Description:

Issue link:

QA notes:

JuliaMV and others added 29 commits April 1, 2026 17:03
* fix: fix api loading on codesandbox examples (#3072)

* Revert "fix: fix api loading on codesandbox examples (#3072)"

This reverts commit 84cec19.

* fix: add .csb.app to CSP

* fix: fix api calls on sandbox pages (#3076)

* v6.4.4

---------

Co-authored-by: st1ch <Stanislau_Matsiyeuski@epam.com>
* feat: add support for Shadow DOM for DropdownContainer

- Updated `UuiEnhancedApp` to accept a `shadowRootHost` for Shadow DOM integration.
- Introduced a new example demonstrating UUI context usage within a Shadow DOM.
- Updated documentation and type definitions to reflect the new `shadowRootHost` property.
- fixed `autoFocus` always being `true` even when `false` is passed through params.

* refactor: remove shadowRootHost support and update DropdownContainer focus handling

- Removed `shadowRootHost` from `useUuiServices` and related components.
- Updated `DropdownContainer` to manage focus lock correctly without relying on `shadowRootHost`.
- Deleted example demonstrating Shadow DOM usage as it is no longer supported.
- Updated changelog to reflect changes in focus handling for `DropdownContainer`.

* feat: add Shadow DOM support for dropdowns

* restore default autoFocus

* restore autoFocus fix

* feat: enhance screenshot handling in integration tests

- Added `waitForImagesLoaded` method to `AbsPage` to ensure images are fully loaded before taking screenshots.
- Updated `expectScreenshot` methods in `IntegrationTestPage` and `PreviewPage` to utilize the new loading method with configurable timeout.
- Imported `slowTestExpectTimeout` from configuration for better control over slow test scenarios.
- Updated related screenshot files to reflect changes in test execution.

---------

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Stanislau Matsiyeuski <stanislau_matsiyeuski@epam.com>
* Removed `SelectionUtils` from `helpers` (shadow selection helpers no longer used for toolbar placement)
* Updated `PositionedToolbar`: positioned the floating toolbar using Plate `toDOMRange`; removed the obsolete props & funcs; added a note about Safari in Shadow DOM and `useEventEditorSelectors`
* Updated `Toolbars` and `tablePlugin`: stopped passing `editor` into `FloatingToolbar`
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Preset actions dropdown used IconButton (button) inside the tab button. Render the toggler with IconButton type=span and rely on Clickable span support so the DOM stays valid and the nesting warning goes away.

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
)

Use app.disable('x-powered-by') so the header is not set when responses
are sent. Remove redundant res.removeHeader in CSP middleware.
…536) (#3089)

Resolve output path under ROOT_DIR; reject traversal outside the repository.
…3088)

- Resolve paths under app/src/docs/_examples via path.relative check
- Reject absolute and out-of-root paths
- Fix GitHub URL when path is a string (avoid spread on string)
…al (#3090)

* fix(server): harden RTE demo path resolution and prevent path traversal

* chore: align version of express types
…3093)

- Resolve paths under app/src/docs/_examples via path.relative check
- Reject absolute and out-of-root paths
- Fix GitHub URL when path is a string (avoid spread on string)
* Switched headings and default paragraph to `PlateElement` with `as`, and bold/code/italic/superscript/underline to `PlateLeaf` with `as`
* Refactored `AttachmentBlock`, `IframeBlock`, and `PlaceholderBlock` to `PlateElement` with `PlateElementProps` / `useElement` instead of manual `attributes` / `element` typing
* Updated `quotePlugin` quote renderer, `linkPlugin` anchor override, `listPlugin` `LI` component, `paragraphPlugin` default paragraph override, `NotePluginBlock`, and `Separator` to use `PlateElement` (merged `className` / styles where needed; `Separator` no longer uses `forwardRef` and applies `contentEditable={ false }` on the element)
* Replaced nested span wrappers in `baseMarksPlugin` (bold/italic/underline) with `PlateLeaf`
* Replaced inline code span in `inlineCodePlugin` with `PlateLeaf` and `PlateLeafProps`
* Wrapped `ToDoItem` in `PlateElement` with `asChild` around `FlexRow` so Slate attributes compose with the layout row
* Added `types.ts` with `TPlaceholderElement` and used `satisfies` when inserting placeholder nodes
* Todo list plugin:
  * Moved `checked` from `data` to the element root for todo items; updated `ToDoItem` to read and toggle `checked` there
  * Added `DeprecatedTTodoListItemElement`, `isLegacyTodoListItemElement`, and `migrateCheckedPropertyIfNeeded` to lift legacy `data.checked` onto the node
  * Added `withTodoList` and `normalizeTodoListElement` and registered them on the todo list plugin
* Iframe plugin:
  * Updated `normalizeIframeElement` to set `url` from `url` or legacy `data.src` and to persist remaining `data` without `src`
  * Stopped falling back to `element.src` in `IframeBlock`; rendering uses `element.url` only
  * Extracted iframe `normalizeNode` wiring into `withIframe` and used it from the iframe plugin
…reference

* Extracted `getVirtualReferenceElement` to separate helper file (`PositionedToolbar.helpers.ts`)
* Improved virtual element positioning with `useEffect` hook and `useForceUpdate`
* Added `useRef` to manage virtual target reference and ensure proper updates
* Updated floating-ui middleware: added `inline()` for better text selection positioning
[RTE] PlateElement/PlateLeaf rendering and todo/iframe migration alignment
* feat(RangeDatePicker): create mobile view for RangeDatePicker

* fix e2e tests

* fix selected days indicator

* fixes according to code review

* add branch to qa list

* open modal on input click

* fix initial focus input

---------

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Add the required post-release branch sync step to prevent version drift and merge conflicts between main and develop.
…hadow dom hierarchy. the idea:

1) Existing data attr. is used for backwards compatibility: [data-shadow-host-id]
2) When same shadow DOM contains more than 1 portal root - the value of this attr. contain all the IDs separated by comma.
3) When portal root is nested under the hierarchy of shadow roots - the ID of this portal is added to all relevant nodes in this hierarchy.
They are properly cleaned up when the portal root is destroyed.
* Restrict access to the metrics actuator endpoint

* restrict actuator endpoints to health only
@JuliaMV JuliaMV requested a review from MSt1ch June 19, 2026 11:28
@github-actions

Copy link
Copy Markdown

Generated by: track-bundle-size
Generated at: Fri, 19 Jun 2026 11:34:39 GMT
Bundle size diff (in kBytes). Not gzipped. Both CSS & JS included.
Baseline: v6.3.1 (2025-12-03)
CI Status: ok

Module Baseline Size
(v6.3.1)
Size Diff Within
Threshold
Threshold
(min - max)
templateApp 693.09 705.55 +12.47
js:+5.29
css:+7.18
🆗 623.78 - 762.39
@epam/app 5586.96 5537.34 -49.61
js:-55.25
css:+5.64
🆗 5028.26 - 6145.65
@epam/electric 5.04 5.04 0
js:0
css:0
🆗 4.53 - 5.54
@epam/promo 55.61 55.57 -0.05
js:0
css:-0.05
🆗 50.05 - 61.17
@epam/uui-extra 0.21 0.21 0
js:0
css:0
🆗 0.19 - 0.23
@epam/loveship 92.81 96.25 +3.44
js:+3.48
css:-0.04
🆗 83.53 - 102.09
@epam/uui-components 257.49 263.04 +5.54
js:+4.03
css:+1.51
🆗 231.75 - 283.25
@epam/uui-core 324.75 330.13 +5.38
js:+5.38
css:0
🆗 292.27 - 357.23
@epam/uui-db 41.63 41.72 +0.08
js:+0.08
css:0
🆗 37.47 - 45.8
@epam/uui-docs 181.03 194.75 +13.72
js:+13.72
css:+0.01
🆗 162.92 - 199.13
@epam/uui-editor 174.1 173.26 -0.84
js:-0.83
css:-0.01
🆗 156.69 - 191.51
@epam/uui-timeline 75.5 75.49 -0.01
js:0
css:0
🆗 67.95 - 83.05
@epam/uui 527.51 561.06 +33.55
js:+10.74
css:+22.81
🆗 474.76 - 580.26
new sizes (raw)

To set the sizes as a new baseline, you can copy/paste next content to the uui-build/config/bundleSizeBaseLine.json and commit the file.

{
  "version": "6.5.0",
  "timestamp": "2026-06-19",
  "sizes": {
    "templateApp": {
      "css": 264820,
      "js": 457669
    },
    "@epam/app": {
      "css": 726287,
      "js": 4943954
    },
    "@epam/electric": {
      "css": 2275,
      "js": 2883
    },
    "@epam/promo": {
      "css": 47756,
      "js": 9145
    },
    "@epam/uui-extra": {
      "css": 0,
      "js": 213
    },
    "@epam/loveship": {
      "css": 55336,
      "js": 43224
    },
    "@epam/uui-components": {
      "css": 25145,
      "js": 244200
    },
    "@epam/uui-core": {
      "css": 0,
      "js": 338056
    },
    "@epam/uui-db": {
      "css": 0,
      "js": 42718
    },
    "@epam/uui-docs": {
      "css": 2162,
      "js": 197259
    },
    "@epam/uui-editor": {
      "css": 12944,
      "js": 164475
    },
    "@epam/uui-timeline": {
      "css": 2199,
      "js": 75104
    },
    "@epam/uui": {
      "css": 222096,
      "js": 352432
    }
  }
}

Generated by: generate-components-api
CI Status: ok

Total amount of exported types/props without JSDoc comments

Amount
Types 341 (+0) 🆗
Props 220 (+0) 🆗

@JuliaMV JuliaMV merged commit 1ef7a93 into main Jun 19, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants