Skip to content

Releases: exadel-inc/esl

v5.0.0-beta.1

19 Dec 16:49
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

5.0.0-beta.1 (2023-12-19)

Bug Fixes

  • esl-event-listener: fix delegation recognition on non-DOM targets (4716947)
  • esl-event-listener: fix missing host in debug information of empty subscription (4abfa1e), closes #2078
  • esl-event-listener: improve compatibility of decorated event handler type (de0c37e)
  • esl-panel-group: has-opened attribute inconsistent (13003e4)
  • esl-popup: create optional autofocus property; update flow with optimized rendering flow (8e71d20)
  • esl-share: fix focus behavior to a loop inside esl-share-popup (e3393fe)
  • esl-share: fix share() method signature of print action (ca7091d)
  • esl-toggleable: rework actions pre-checks to fix flow on reopening toggleable (c023e55)
  • esl-tooltip: add constraints to fix DOM position management for esl-tooltip (9c25137)
  • esl-trigger: default target for esl-trigger is not logically correct and obvious (db4ffb8)

Code Refactoring

  • esl-toggleable: move open state updating to onShow/onHide callbacks (b184eb1)

Features

  • esl-event-listener: ESLWheelTarget proxy target created to handle long wheel user actions (#2031) (4dc4bfc), closes #2017
  • esl-open-state: create ESL Open State mixin (a8327a8)
  • esl-popup: add support of PopupActionParams.extraClass on popup level (32b6d0a)
  • esl-popup: add support of PopupActionParams.extraStyle (399685b)
  • esl-share: add ability to update config items (single one or in batch) (96eac6b)
  • esl-share: add OOTB configuration for the Skype share button (c3a76c4)
  • esl-share: add OOTB configuration for the Tumblr share button (bb73186)
  • esl-share: add OOTB configuration for the Viber share button (5dd4ea4)
  • esl-share: add OOTB configuration for the WhatsApp share button (748117f)
  • esl-utils: improve rect utility (it's almost ready to be immutable) (f82fb1e)

BREAKING CHANGES

  • esl-toggleable: this.open of Toggleables does not updating util super.onShow/super.onHidecalled. Make sure you updatethis.opensynchronously or manually notify consumers in case the super call ofonShow/onHide` should be postponed.
  • esl-trigger: esl-trigger does not have target defined to ::next by default
  • esl-toggleable: onBeforeShow and onBeforeHide have retired. The constraint now inside shouldShow/shouldHide methods,
    activator change now is the part of main togglable flow

v4.14.1

27 Nov 16:18
Compare
Choose a tag to compare

4.14.1 (2023-11-27)

Bug Fixes

  • esl-media: fix loading class condition should ignore lazy state (c532ec0)
    NOTE: loadClsAccepted / loadClsDeclined with loadClsTarget now deprecated, use loadConditionClass + loadConditionClassTarget instead
  • esl-related-target: fixed handling of bubbling events esl:show and esl:hide (6964148)

v4.14.0

24 Nov 15:41
Compare
Choose a tag to compare

4.14.0 (2023-11-24)

Bug Fixes

  • esl-scrollbar: fix esl:change:scroll event handler invoked before scrollbar updates (0c9c952)
  • esl-share: add support types for correct using in Typesript (143d3b6)
  • esl-share: fix a visual issue of displaying a huge list of buttons in a popup (a2ce0a9)
  • esl-share: fix button initialization on create (72775f6)
  • esl-share: fix ESLShareConfig deduplication behavior on selecting buttons for the list (fe0d53a)
  • esl-share: fix ready state attribute and ready state event (3c3dade)
  • esl-share: make list an observable attribute (f418820)
  • esl-tabs: fix iOS auto-scroll / arrow controls boundaries on iOS devices when touch-scroll is enabled (5845c3a), closes #2030

Features

  • esl-panel-group: add ability to enable match-height behavior for tabs height using esl-tabs-equal-height class (6e0ea33), closes #1949
  • esl-popup: internal ESLPopup implementation updated to use ESLEventListeners; usage of cached properties reduced (9c78249)
  • esl-random-text: create auxiliary esl-random-text component to generate dummy text (0af54a1)
  • esl-share: rename attribute into popup-params (f07b471)
  • esl-share: retire esl-share and rename esl-share-popup-trigger into esl-share (04baf4b)
  • esl-toggleable: introduce static option DEFAULT_PARAMS to define toggleable instance default show/hide params (14c9e78)
  • esl-utils: introducing parseCSSTime format utility to extract time values from CSS (#821) (d26c96e)
  • eslint: eslint plugin to find and replace deprecated ESL alias on the customer's projects (#1374) (3d43f92)

v4.13.1

03 Nov 12:27
Compare
Choose a tag to compare

4.13.1 (2023-11-03)

Bug Fixes

  • esl-event-listener: fix subscription to intersects event in IntersectionObserver (0d9ccca)
  • esl-event-listener: ESLSwipeGestureTarget target prevents inside element actions (8fed4bc), closes #2024

v4.13.0

25 Oct 13:39
Compare
Choose a tag to compare

4.13.0 (2023-10-25)

Bug Fixes

  • esl-media: fix brightcove provider autoplay marker flow (58793cd), closes #1979
  • esl-popup: fix default styles for esl-popup tag (uninitialized) (e25eedf)
  • esl-popup: update popup position according activator change (#1679) (65e3801)
  • esl-scrollbar: fix incorrect at-start/at-end handling when browser creates dimensions with the floating point (852ad15)
  • esl-share: add a fill color to social network icons (c0d62ac)
  • esl-share: change default twitter (x.com) icon and bg color (8c544e4)
  • esl-share: show copy notification just in case it is successful (f57fe98)
  • esl-utils: fix debounce helper random access of undefined (8cd87e8)

Features

  • esl-event-listener: add condition descriptor property to legally prevent subscription (00b719c), closes #1947
  • esl-event-listener: create ESLIntersectionTarget adapter utility for managing IntersectionObserver subscriptions trough event listeners (34bb7e8)
  • esl-share: add default-icon marker to render icon on button init (081b526)
  • esl-share: add out of the box share config default (4b97632)
  • esl-share: create esl-share-list component (90b1c1d)
  • esl-share: remove iconBackground property from share buttons config (27d793d)
  • esl-share: rework esl-share-button custom element API (96a7f84)
  • esl-share: rework share popup internal implementation (9b775a0)

v4.12.0

22 Sep 15:52
Compare
Choose a tag to compare

4.12.0 (2023-09-22)

Bug Fixes

  • esl-tabs: observe element resize instead of window using ESLResizeObserverTarget (9dd4639)

Code Refactoring

  • esl-event-listener: restructure esl-event-listener/core/targets (fbdb6c3)

Features

  • esl-event-listener: ESLEventUtils.unsubscribe implementation moved to internal ESLEventListener.unsubscribe (eaa4204)
  • esl-event-listener: add SwipeEventTarget to subscribe swipe events using ESLEventListener (e7e69a2), closes #1809
  • esl-media: support for lazy initialization by lazy attribute for ESLMedia (f83d65a)

BREAKING CHANGES

  • esl-event-listener: (if there is references to internal files) resize.adapter.ts/resize.adapter.event.ts renamed to resize.target.ts/resize.target.event.ts

v4.11.0

01 Sep 12:40
Compare
Choose a tag to compare

4.11.0 (2023-09-01)

Bug Fixes

  • esl-event-listener: ESLResizeObserverTarget.for handles no target cases silently (warning + null result) (b28d6af), closes #1885
  • esl-event-listener: fix support of separate DOM realms for ESLEventListener (905e7a8)
  • esl-media: update esl-media refresh handler to use consistent isElement check (d6f8855)
  • esl-scrollbar: update esl-scrollbar to use consistent isElement check on refresh and mutation observation (f817837)
  • esl-trigger: update esl-trigger to use consistent isElement check in isTargetIgnored check (fe41661)
  • esl-utils: fix support of separate DOM realms for getScrollParent (eb7ede6)
  • esl-utils: fix support of separate DOM realms for resolveDomTarget (c16e1dd)
  • esl-utils: fix types and Element check for isVisible predicate (support of separate DOM realms) (7c83e09)

Features

  • esl-panel-group: add readonly has-opened marker for esl-panel-group (a565a71)
  • esl-panel-group: support for esl-panel-group driven animation to closed state (0698b1c)
  • esl-utils: isPlainObject and isElement type guard utilities (86f0bfb)

v4.10.0

10 Aug 18:18
Compare
Choose a tag to compare

4.10.0 (2023-08-10)

Bug Fixes

  • esl-footnotes: shape to support TSX is missing in module (fd8cd07)
  • esl-togglable: open attribute change behavior (826b27b)
  • esl-toggleable: fix activator when close-on inner trigger click handled (#1852) (f450d8b)
  • esl-utils: fix unhandled rejection when deferred is rejected but actual promise was not requested (#1839) (5e111ba)

Features

  • esl-toggleable: change closeOnEsc and closeOnOutsideAction mappers to extended boolean ('0' and 'false' values now considered as falsy) (181a2b7)
  • esl-trigger: change ignoreEsc mapper to extended boolean ('0' and 'false' values now considered as falsy) (9ccee3d)
  • esl-utils: lockScroll / unlockScroll methods reworked with no-scroll detection (25b5b91)
  • esl-utils: create toBooleanAttribute and create extended boolean attribute flow (e039256)

v4.9.4

17 Jul 14:05
Compare
Choose a tag to compare

4.9.4 (2023-07-17)

Bug Fixes

  • esl-base-element: fix redefine tag feature (existing component receives incorrect tag name) (6c17690), closes #1804

v4.9.3

13 Jul 21:15
Compare
Choose a tag to compare

4.9.3 (2023-07-13)

Bug Fixes

  • esl-footnotes: fix esl-tooltip related to the note does not perceive dir and lang of original content (e506d0d)