From 72b1ace06f7969e2b2d074a876f8df3cc3bafeae Mon Sep 17 00:00:00 2001 From: "taeyoung.hong" Date: Thu, 28 Mar 2024 16:16:49 +0900 Subject: [PATCH] add CHANGELOG.md --- packages/ui/CHANGELOG.md | 4 ++++ packages/ui/Marquee/MarqueeDecorator.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index b49cb7a1e8..f3366a065b 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -4,6 +4,10 @@ The following is a curated list of changes in the Enact ui module, newest change ## [unreleased] +### Fixed + +- `ui/Marquee.MarqueeDecorator` to not error when unit tests with `direction` module. + ### Added - `ui/Layout.Cell` prop `componentCss` to support customizing the component used in `Cell` diff --git a/packages/ui/Marquee/MarqueeDecorator.js b/packages/ui/Marquee/MarqueeDecorator.js index 722b2cb059..ed5abf0b07 100644 --- a/packages/ui/Marquee/MarqueeDecorator.js +++ b/packages/ui/Marquee/MarqueeDecorator.js @@ -22,7 +22,7 @@ import componentCss from './Marquee.module.less'; // The minimum number of milliseconds to wait before resetting the marquee position after it finishes. const MINIMUM_MARQUEE_RESET_DELAY = 40; -// This regex pattern is used by the {@link ui/Marquee.MarqueeDecorator.marqueeDirection} config. +// This regex pattern is used by the {@link ui/Marquee.MarqueeDecorator.defaultConfig.marqueeDirection} config. // eslint-disable-next-line no-misleading-character-class const rtlPattern = /^[^A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF]*[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/;