UNPKG

@fluentui/dom-utilities

Version:

DOM utilities for use within Fluent web components

389 lines (218 loc) 17.4 kB
# Change Log - @fluentui/dom-utilities This log was last generated on Fri, 21 Feb 2025 07:20:19 GMT and should not be manually modified. <!-- Start content --> ## [2.3.10](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.10) Fri, 21 Feb 2025 07:20:19 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.9..@fluentui/dom-utilities_v2.3.10) ### Patches - Bump @fluentui/set-version to v8.2.24 ([PR #33879](https://github.com/microsoft/fluentui/pull/33879) by beachball) ## [2.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.9) Fri, 11 Oct 2024 16:51:53 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.8..@fluentui/dom-utilities_v2.3.9) ### Patches - Fix regression caused by #32996 ([PR #33024](https://github.com/microsoft/fluentui/pull/33024) by miclo@microsoft.com) ## [2.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.8) Tue, 08 Oct 2024 07:23:46 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.7..@fluentui/dom-utilities_v2.3.8) ### Patches - Fix TypeError in portalContainsElement when element is Document or similar ([PR #32996](https://github.com/microsoft/fluentui/pull/32996) by miclo@microsoft.com) ## [2.3.7](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.7) Mon, 24 Jun 2024 07:33:22 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.6..@fluentui/dom-utilities_v2.3.7) ### Patches - Bump @fluentui/set-version to v8.2.23 ([commit](https://github.com/microsoft/fluentui/commit/444d2ef497b5be5b4252f4af86ded3d2db7a0850) by beachball) ## [2.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.6) Thu, 06 Jun 2024 07:26:46 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.5..@fluentui/dom-utilities_v2.3.6) ### Patches - Bump @fluentui/set-version to v8.2.22 ([commit](https://github.com/microsoft/fluentui/commit/e5e806f46bd00bc7baffbfe7514a617600ba2d47) by beachball) ## [2.3.5](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.5) Tue, 28 May 2024 07:28:20 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.4..@fluentui/dom-utilities_v2.3.5) ### Patches - Bump @fluentui/set-version to v8.2.21 ([PR #31324](https://github.com/microsoft/fluentui/pull/31324) by beachball) ## [2.3.4](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.4) Fri, 24 May 2024 07:28:17 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.3..@fluentui/dom-utilities_v2.3.4) ### Patches - Bump @fluentui/set-version to v8.2.20 ([commit](https://github.com/microsoft/fluentui/commit/e5b614623b9aa1ae3f1f86f3e753b934943a4601) by beachball) ## [2.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.3) Thu, 23 May 2024 07:28:51 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.2..@fluentui/dom-utilities_v2.3.3) ### Patches - Bump @fluentui/set-version to v8.2.19 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball) ## [2.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.2) Mon, 20 May 2024 07:29:20 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.1..@fluentui/dom-utilities_v2.3.2) ### Patches - Bump @fluentui/set-version to v8.2.18 ([commit](https://github.com/microsoft/fluentui/commit/eadc00f974b3199e6c34d2e9d16015add154ec3b) by beachball) ## [2.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.1) Wed, 24 Apr 2024 07:27:48 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.0..@fluentui/dom-utilities_v2.3.1) ### Patches - Bump @fluentui/set-version to v8.2.17 ([PR #31130](https://github.com/microsoft/fluentui/pull/31130) by beachball) ## [2.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.0) Mon, 22 Apr 2024 07:28:25 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.16..@fluentui/dom-utilities_v2.3.0) ### Minor changes - feat: add shadow DOM support for DOM APIs ([PR #30689](https://github.com/microsoft/fluentui/pull/30689) by seanmonahan@microsoft.com) ## [2.2.16](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.16) Fri, 12 Apr 2024 07:29:11 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.15..@fluentui/dom-utilities_v2.2.16) ### Patches - Bump @fluentui/set-version to v8.2.16 ([PR #31022](https://github.com/microsoft/fluentui/pull/31022) by beachball) ## [2.2.15](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.15) Wed, 03 Apr 2024 07:29:31 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.14..@fluentui/dom-utilities_v2.2.15) ### Patches - Bump @fluentui/set-version to v8.2.15 ([PR #30943](https://github.com/microsoft/fluentui/pull/30943) by beachball) ## [2.2.14](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.14) Wed, 10 Jan 2024 07:28:48 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.13..@fluentui/dom-utilities_v2.2.14) ### Patches - chore: disallow document and window access ([PR #30063](https://github.com/microsoft/fluentui/pull/30063) by seanmonahan@microsoft.com) - Bump @fluentui/set-version to v8.2.14 ([PR #30063](https://github.com/microsoft/fluentui/pull/30063) by beachball) ## [2.2.13](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.13) Thu, 14 Dec 2023 07:30:10 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.12..@fluentui/dom-utilities_v2.2.13) ### Patches - Bump @fluentui/set-version to v8.2.13 ([PR #30061](https://github.com/microsoft/fluentui/pull/30061) by beachball) ## [2.2.12](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.12) Sat, 28 Oct 2023 00:29:16 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.11..@fluentui/dom-utilities_v2.2.12) ### Patches - Bump @fluentui/set-version to v8.2.12 ([commit](https://github.com/microsoft/fluentui/commit/70d0762fd12eb211f7c1dbe31a23b2fbb73a67c4) by beachball) ## [2.2.11](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.11) Wed, 31 May 2023 07:38:40 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.10..@fluentui/dom-utilities_v2.2.11) ### Patches - Bump @fluentui/set-version to v8.2.11 ([commit](https://github.com/microsoft/fluentui/commit/dd8c30d9b97f68eb332366fc0e69775a88775319) by beachball) ## [2.2.10](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.10) Tue, 30 May 2023 07:36:09 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.9..@fluentui/dom-utilities_v2.2.10) ### Patches - Bump @fluentui/set-version to v8.2.10 ([PR #27685](https://github.com/microsoft/fluentui/pull/27685) by beachball) ## [2.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.9) Fri, 05 May 2023 18:14:03 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.8..@fluentui/dom-utilities_v2.2.9) ### Patches - fix: explicitly ship dist/ folder. ([PR #27769](https://github.com/microsoft/fluentui/pull/27769) by tristan.watanabe@gmail.com) - Bump @fluentui/set-version to v8.2.9 ([PR #27769](https://github.com/microsoft/fluentui/pull/27769) by beachball) ## [2.2.8](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.8) Tue, 02 May 2023 00:58:14 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.7..@fluentui/dom-utilities_v2.2.8) ### Patches - fix: esm, cjs, and amd folders should all be published correctly. ([PR #27736](https://github.com/microsoft/fluentui/pull/27736) by tristan.watanabe@gmail.com) - Bump @fluentui/set-version to v8.2.8 ([PR #27736](https://github.com/microsoft/fluentui/pull/27736) by beachball) ## [2.2.7](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.7) Mon, 01 May 2023 07:39:54 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.6..@fluentui/dom-utilities_v2.2.7) ### Patches - Bump @fluentui/set-version to v8.2.7 ([PR #27724](https://github.com/microsoft/fluentui/pull/27724) by beachball) ## [2.2.6](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.6) Fri, 17 Mar 2023 08:15:56 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.5..@fluentui/dom-utilities_v2.2.6) ### Patches - Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball) ## [2.2.5](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.5) Fri, 03 Feb 2023 07:50:06 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.4..@fluentui/dom-utilities_v2.2.5) ### Patches - Bump @fluentui/set-version to v8.2.5 ([PR #26569](https://github.com/microsoft/fluentui/pull/26569) by beachball) ## [2.2.4](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.4) Tue, 10 Jan 2023 07:50:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.3..@fluentui/dom-utilities_v2.2.4) ### Patches - Bump @fluentui/set-version to v8.2.4 ([PR #26260](https://github.com/microsoft/fluentui/pull/26260) by beachball) ## [2.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.3) Wed, 09 Nov 2022 07:48:12 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.2..@fluentui/dom-utilities_v2.2.3) ### Patches - Bump @fluentui/set-version to v8.2.3 ([PR #25564](https://github.com/microsoft/fluentui/pull/25564) by beachball) ## [2.2.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.2) Mon, 08 Aug 2022 07:39:33 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.1..@fluentui/dom-utilities_v2.2.2) ### Patches - Bump @fluentui/set-version to v8.2.2 ([PR #24212](https://github.com/microsoft/fluentui/pull/24212) by beachball) ## [2.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.1) Fri, 13 May 2022 07:45:35 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.0..@fluentui/dom-utilities_v2.2.1) ### Patches - Bump @fluentui/set-version to v8.2.1 ([PR #22966](https://github.com/microsoft/fluentui/pull/22966) by beachball) ## [2.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.0) Thu, 03 Mar 2022 07:24:26 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.5..@fluentui/dom-utilities_v2.2.0) ### Minor changes - Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com) - Bump @fluentui/set-version to v8.2.0 ([PR #21919](https://github.com/microsoft/fluentui/pull/21919) by beachball) ## [2.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.5) Thu, 25 Nov 2021 14:54:16 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.4..@fluentui/dom-utilities_v2.1.5) ### Patches - Bump @fluentui/set-version to v8.1.5 ([PR #20784](https://github.com/microsoft/fluentui/pull/20784) by beachball) ## [2.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.4) Tue, 03 Aug 2021 07:39:30 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.3..@fluentui/dom-utilities_v2.1.4) ### Patches - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com) ## [2.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.3) Fri, 09 Jul 2021 07:39:31 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.2..@fluentui/dom-utilities_v2.1.3) ### Patches - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) ## [2.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.2) Mon, 07 Jun 2021 07:38:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.1..@fluentui/dom-utilities_v2.1.2) ### Patches - Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com) ## [2.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.1) Thu, 20 May 2021 07:41:54 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.0..@fluentui/dom-utilities_v2.1.1) ### Patches - Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com) ## [2.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.0) Fri, 30 Apr 2021 07:42:23 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.3..@fluentui/dom-utilities_v2.1.0) ### Minor changes - Upgrade to typescript 4.1.5 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com) ### Patches - Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com) - Bump @fluentui/set-version to v8.1.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com) - Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com) ## [2.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.3) Fri, 23 Apr 2021 07:37:10 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.2..@fluentui/dom-utilities_v2.0.3) ### Patches - Bump @fluentui/eslint-plugin to v1.1.1 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com) ## [2.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.2) Wed, 31 Mar 2021 00:53:43 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.1..@fluentui/dom-utilities_v2.0.2) ### Patches - Bump @fluentui/eslint-plugin to v1.1.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com) ## [2.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.1) Fri, 26 Feb 2021 01:16:27 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.0-beta.2..@fluentui/dom-utilities_v2.0.1) ### Patches - Release major version ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com) ## [2.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.0-beta.2) Thu, 18 Feb 2021 12:27:34 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.0-beta.1..@fluentui/dom-utilities_v2.0.0-beta.2) ### Changes - Bump @fluentui/eslint-plugin to v1.0.0-beta.2 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com) ## [2.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.0-beta.0) Fri, 23 Oct 2020 03:26:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v1.1.1..@fluentui/dom-utilities_v2.0.0-beta.0) ### Changes - Add missing version.ts; Remove unneeded package dependencies. ([PR #15456](https://github.com/microsoft/fluentui/pull/15456) by xgao@microsoft.com) - Rename @uifabric/set-version to @fluentui/set-version ([PR #15616](https://github.com/microsoft/fluentui/pull/15616) by ololubek@microsoft.com) ## [1.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v1.1.1) Thu, 17 Sep 2020 15:52:49 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v1.1.0..@fluentui/dom-utilities_v1.1.1) ### Patches - fix: elementContains should behave like .contains() ([PR #15089](https://github.com/microsoft/fluentui/pull/15089) by olfedias@microsoft.com) ## [1.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v1.1.0) Wed, 16 Sep 2020 12:27:22 GMT ### Minor changes - Port over virtual DOM utilities and tests ([PR #15039](https://github.com/microsoft/fluentui/pull/15039) by tmichon@microsoft.com) ### Patches - Add API report file ([PR #15058](https://github.com/microsoft/fluentui/pull/15058) by elcraig@microsoft.com)