@ui5/webcomponents-base 2.5.0 → 2.6.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/cypress/specs/Boot.cy.ts +1 -5
- package/dist/.tsbuildinfobuild +1 -1
- package/dist/ManagedStyles.d.ts +4 -6
- package/dist/ManagedStyles.js +6 -16
- package/dist/ManagedStyles.js.map +1 -1
- package/dist/UI5Element.d.ts +27 -13
- package/dist/UI5Element.js +16 -2
- package/dist/UI5Element.js.map +1 -1
- package/dist/asset-registries/Themes.d.ts +3 -6
- package/dist/asset-registries/Themes.js +1 -2
- package/dist/asset-registries/Themes.js.map +1 -1
- package/dist/custom-elements-internal.json +69 -165
- package/dist/custom-elements.json +69 -66
- package/dist/decorators/bound.d.ts +1 -0
- package/dist/decorators/bound.js +34 -0
- package/dist/decorators/bound.js.map +1 -0
- package/dist/decorators.d.ts +3 -1
- package/dist/decorators.js +3 -1
- package/dist/decorators.js.map +1 -1
- package/dist/features/OpenUI5Enablement.d.ts +1 -1
- package/dist/generated/VersionInfo.js +4 -4
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/generated/css/BusyIndicator.css.d.ts +2 -3
- package/dist/generated/css/BusyIndicator.css.js +1 -6
- package/dist/generated/css/BusyIndicator.css.js.map +1 -1
- package/dist/generated/css/FontFace.css.d.ts +2 -3
- package/dist/generated/css/FontFace.css.js +1 -6
- package/dist/generated/css/FontFace.css.js.map +1 -1
- package/dist/generated/css/OverrideFontFace.css.d.ts +2 -3
- package/dist/generated/css/OverrideFontFace.css.js +1 -6
- package/dist/generated/css/OverrideFontFace.css.js.map +1 -1
- package/dist/generated/css/SystemCSSVars.css.d.ts +2 -3
- package/dist/generated/css/SystemCSSVars.css.js +1 -6
- package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/jsx-dev-runtime.d.ts +4 -0
- package/dist/jsx-dev-runtime.js +43 -0
- package/dist/jsx-dev-runtime.js.map +1 -0
- package/dist/jsx-runtime.d.ts +50 -0
- package/dist/jsx-runtime.js +27 -0
- package/dist/jsx-runtime.js.map +1 -0
- package/dist/jsx-utils.d.ts +3 -0
- package/dist/jsx-utils.js +40 -0
- package/dist/jsx-utils.js.map +1 -0
- package/dist/prod/ManagedStyles.js +1 -1
- package/dist/prod/ManagedStyles.js.map +3 -3
- package/dist/prod/UI5Element.js +1 -1
- package/dist/prod/UI5Element.js.map +3 -3
- package/dist/prod/asset-registries/Themes.js +1 -1
- package/dist/prod/asset-registries/Themes.js.map +2 -2
- package/dist/prod/decorators/bound.js +2 -0
- package/dist/prod/decorators/bound.js.map +7 -0
- package/dist/prod/decorators.js +1 -1
- package/dist/prod/decorators.js.map +3 -3
- package/dist/prod/generated/VersionInfo.js +1 -1
- package/dist/prod/generated/VersionInfo.js.map +2 -2
- package/dist/prod/generated/css/BusyIndicator.css.js +1 -1
- package/dist/prod/generated/css/BusyIndicator.css.js.map +3 -3
- package/dist/prod/generated/css/FontFace.css.js +1 -1
- package/dist/prod/generated/css/FontFace.css.js.map +3 -3
- package/dist/prod/generated/css/OverrideFontFace.css.js +1 -1
- package/dist/prod/generated/css/OverrideFontFace.css.js.map +3 -3
- package/dist/prod/generated/css/SystemCSSVars.css.js +1 -1
- package/dist/prod/generated/css/SystemCSSVars.css.js.map +3 -3
- package/dist/prod/index.d.js +2 -0
- package/dist/prod/index.d.js.map +7 -0
- package/dist/prod/jsx-dev-runtime.js +2 -0
- package/dist/prod/jsx-dev-runtime.js.map +7 -0
- package/dist/prod/jsx-runtime.js +2 -0
- package/dist/prod/jsx-runtime.js.map +7 -0
- package/dist/prod/jsx-utils.js +2 -0
- package/dist/prod/jsx-utils.js.map +7 -0
- package/dist/prod/renderer/JsxRenderer.js +2 -0
- package/dist/prod/renderer/JsxRenderer.js.map +7 -0
- package/dist/prod/renderer/LitRenderer.js +1 -1
- package/dist/prod/renderer/LitRenderer.js.map +3 -3
- package/dist/prod/renderer/executeTemplate.js +1 -1
- package/dist/prod/renderer/executeTemplate.js.map +3 -3
- package/dist/prod/theming/getStylesString.js +1 -1
- package/dist/prod/theming/getStylesString.js.map +2 -2
- package/dist/prod/thirdparty/preact/jsx.d.js +2 -0
- package/dist/prod/thirdparty/preact/jsx.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js +2 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.js +2 -0
- package/dist/prod/thirdparty/preact/preact.module.d.js +2 -0
- package/dist/prod/thirdparty/preact/preact.module.d.js.map +7 -0
- package/dist/prod/thirdparty/preact/preact.module.js +2 -0
- package/dist/prod/updateShadowRoot.js +1 -1
- package/dist/prod/updateShadowRoot.js.map +3 -3
- package/dist/prod/util/StringHelper.js +1 -1
- package/dist/prod/util/StringHelper.js.map +3 -3
- package/dist/prod/util/dragAndDrop/DragRegistry.js +1 -1
- package/dist/prod/util/dragAndDrop/DragRegistry.js.map +2 -2
- package/dist/prod/util/dragAndDrop/handleDragOver.js +2 -0
- package/dist/prod/util/dragAndDrop/handleDragOver.js.map +7 -0
- package/dist/prod/util/dragAndDrop/handleDrop.js +2 -0
- package/dist/prod/util/dragAndDrop/handleDrop.js.map +7 -0
- package/dist/prod/util/hash2str.js +2 -0
- package/dist/prod/util/hash2str.js.map +7 -0
- package/dist/prod/util/toLowercaseEnumValue.js +2 -0
- package/dist/prod/util/toLowercaseEnumValue.js.map +7 -0
- package/dist/renderer/JsxRenderer.d.ts +3 -0
- package/dist/renderer/JsxRenderer.js +16 -0
- package/dist/renderer/JsxRenderer.js.map +1 -0
- package/dist/renderer/LitRenderer.js +4 -3
- package/dist/renderer/LitRenderer.js.map +1 -1
- package/dist/renderer/executeTemplate.d.ts +3 -12
- package/dist/renderer/executeTemplate.js +1 -20
- package/dist/renderer/executeTemplate.js.map +1 -1
- package/dist/theming/getStylesString.js +2 -4
- package/dist/theming/getStylesString.js.map +1 -1
- package/dist/thirdparty/preact/jsx.d.ts +2616 -0
- package/dist/thirdparty/preact/jsxRuntime.module.d.ts +62 -0
- package/dist/thirdparty/preact/jsxRuntime.module.js +2 -0
- package/dist/thirdparty/preact/preact.module.d.ts +398 -0
- package/dist/thirdparty/preact/preact.module.js +2 -0
- package/dist/types.d.ts +23 -25
- package/dist/types.js.map +1 -1
- package/dist/updateShadowRoot.js +1 -2
- package/dist/updateShadowRoot.js.map +1 -1
- package/dist/util/StringHelper.d.ts +2 -1
- package/dist/util/StringHelper.js +4 -1
- package/dist/util/StringHelper.js.map +1 -1
- package/dist/util/dragAndDrop/DragRegistry.d.ts +22 -1
- package/dist/util/dragAndDrop/DragRegistry.js.map +1 -1
- package/dist/util/dragAndDrop/handleDragOver.d.ts +16 -0
- package/dist/util/dragAndDrop/handleDragOver.js +42 -0
- package/dist/util/dragAndDrop/handleDragOver.js.map +1 -0
- package/dist/util/dragAndDrop/handleDrop.d.ts +5 -0
- package/dist/util/dragAndDrop/handleDrop.js +22 -0
- package/dist/util/dragAndDrop/handleDrop.js.map +1 -0
- package/dist/util/getClassCopy.d.ts +6 -0
- package/dist/util/hash2str.d.ts +1 -0
- package/dist/util/hash2str.js +14 -0
- package/dist/util/hash2str.js.map +1 -0
- package/dist/util/toLowercaseEnumValue.d.ts +3 -0
- package/dist/util/toLowercaseEnumValue.js +4 -0
- package/dist/util/toLowercaseEnumValue.js.map +1 -0
- package/index.js +0 -6
- package/package-scripts.cjs +1 -1
- package/package.json +10 -5
- package/src/thirdparty/preact/jsxRuntime.module.js +2 -0
- package/src/thirdparty/preact/preact.module.js +2 -0
- package/src/thirdparty/preact/version.txt +1 -0
- package/dist/prod/types/AriaHasPopup.js +0 -2
- package/dist/prod/types/AriaHasPopup.js.map +0 -7
- package/dist/prod/types/AriaLandmarkRole.js +0 -2
- package/dist/prod/types/AriaLandmarkRole.js.map +0 -7
- package/dist/prod/types/AriaRole.js +0 -2
- package/dist/prod/types/AriaRole.js.map +0 -7
- package/dist/prod/util/getParentElement.js +0 -2
- package/dist/prod/util/getParentElement.js.map +0 -7
- package/dist/prod/util/isElementContainingBlock.js +0 -2
- package/dist/prod/util/isElementContainingBlock.js.map +0 -7
- package/dist/types/AriaHasPopup.d.ts +0 -32
- package/dist/types/AriaHasPopup.js +0 -34
- package/dist/types/AriaHasPopup.js.map +0 -1
- package/dist/types/AriaLandmarkRole.d.ts +0 -79
- package/dist/types/AriaLandmarkRole.js +0 -81
- package/dist/types/AriaLandmarkRole.js.map +0 -1
- package/dist/types/AriaRole.d.ts +0 -27
- package/dist/types/AriaRole.js +0 -29
- package/dist/types/AriaRole.js.map +0 -1
- package/dist/util/getParentElement.d.ts +0 -2
- package/dist/util/getParentElement.js +0 -5
- package/dist/util/getParentElement.js.map +0 -1
- package/dist/util/isElementContainingBlock.d.ts +0 -2
- package/dist/util/isElementContainingBlock.js +0 -11
- package/dist/util/isElementContainingBlock.js.map +0 -1
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the ARIA accessible landmark roles.
|
|
3
|
-
*/
|
|
4
|
-
var AriaLandmarkRole;
|
|
5
|
-
(function (AriaLandmarkRole) {
|
|
6
|
-
/**
|
|
7
|
-
* No explicit role is applicable.
|
|
8
|
-
*
|
|
9
|
-
* The interpretation of this value depends on the element which defines a property with this type.
|
|
10
|
-
* Normally this value means that no accessible landmark should be written.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
AriaLandmarkRole["None"] = "None";
|
|
15
|
-
/**
|
|
16
|
-
* The ARIA role <code>banner</code>.
|
|
17
|
-
*
|
|
18
|
-
* A banner usually appears at the top of the page and typically spans the full width.
|
|
19
|
-
*
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
AriaLandmarkRole["Banner"] = "Banner";
|
|
23
|
-
/**
|
|
24
|
-
* The ARIA role <code>main</code>.
|
|
25
|
-
*
|
|
26
|
-
* The main content of a page.
|
|
27
|
-
*
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
AriaLandmarkRole["Main"] = "Main";
|
|
31
|
-
/**
|
|
32
|
-
* The ARIA role <code>region</code>.
|
|
33
|
-
*
|
|
34
|
-
* A section of a page, that is important enough to be included in a page summary or table of contents.
|
|
35
|
-
*
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
AriaLandmarkRole["Region"] = "Region";
|
|
39
|
-
/**
|
|
40
|
-
* The ARIA role <code>navigation</code>.
|
|
41
|
-
*
|
|
42
|
-
* A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.
|
|
43
|
-
*
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
AriaLandmarkRole["Navigation"] = "Navigation";
|
|
47
|
-
/**
|
|
48
|
-
* The ARIA role <code>search</code>.
|
|
49
|
-
*
|
|
50
|
-
* A region that contains a collection of items and objects that, as a whole, combine to create a search facility.
|
|
51
|
-
*
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
AriaLandmarkRole["Search"] = "Search";
|
|
55
|
-
/**
|
|
56
|
-
* The ARIA role <code>complementary</code>.
|
|
57
|
-
*
|
|
58
|
-
* A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.
|
|
59
|
-
*
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
AriaLandmarkRole["Complementary"] = "Complementary";
|
|
63
|
-
/**
|
|
64
|
-
* The ARIA role <code>form</code>.
|
|
65
|
-
*
|
|
66
|
-
* A region that contains a collection of items and objects that, as a whole, combine to create a form.
|
|
67
|
-
*
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
AriaLandmarkRole["Form"] = "Form";
|
|
71
|
-
/**
|
|
72
|
-
* The ARIA role <code>contentinfo</code>.
|
|
73
|
-
*
|
|
74
|
-
* A region that contains information about the content on the page.
|
|
75
|
-
*
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
AriaLandmarkRole["ContentInfo"] = "ContentInfo";
|
|
79
|
-
})(AriaLandmarkRole || (AriaLandmarkRole = {}));
|
|
80
|
-
export default AriaLandmarkRole;
|
|
81
|
-
//# sourceMappingURL=AriaLandmarkRole.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AriaLandmarkRole.js","sourceRoot":"","sources":["../../src/types/AriaLandmarkRole.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,IAAK,gBAmFJ;AAnFD,WAAK,gBAAgB;IACpB;;;;;;;OAOG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,6CAAyB,CAAA;IAEzB;;;;;;OAMG;IACH,qCAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,mDAA+B,CAAA;IAE/B;;;;;;OAMG;IACH,iCAAa,CAAA;IAEb;;;;;;OAMG;IACH,+CAA2B,CAAA;AAE5B,CAAC,EAnFI,gBAAgB,KAAhB,gBAAgB,QAmFpB;AAED,eAAe,gBAAgB,CAAC","sourcesContent":["/**\n * Defines the ARIA accessible landmark roles.\n */\nenum AriaLandmarkRole {\n\t/**\n\t * No explicit role is applicable.\n\t *\n\t * The interpretation of this value depends on the element which defines a property with this type.\n\t * Normally this value means that no accessible landmark should be written.\n\t *\n\t * @public\n\t */\n\tNone = \"None\",\n\n\t/**\n\t * The ARIA role <code>banner</code>.\n\t *\n\t * A banner usually appears at the top of the page and typically spans the full width.\n\t *\n\t * @public\n\t */\n\tBanner = \"Banner\",\n\n\t/**\n\t * The ARIA role <code>main</code>.\n\t *\n\t * The main content of a page.\n\t *\n\t * @public\n\t */\n\tMain = \"Main\",\n\n\t/**\n\t * The ARIA role <code>region</code>.\n\t *\n\t * A section of a page, that is important enough to be included in a page summary or table of contents.\n\t *\n\t * @public\n\t */\n\tRegion = \"Region\",\n\n\t/**\n\t * The ARIA role <code>navigation</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a navigation facility.\n\t *\n\t * @public\n\t */\n\tNavigation = \"Navigation\",\n\n\t/**\n\t * The ARIA role <code>search</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a search facility.\n\t *\n\t * @public\n\t */\n\tSearch = \"Search\",\n\n\t/**\n\t * The ARIA role <code>complementary</code>.\n\t *\n\t * A section of the page, designed to be complementary to the main content at a similar level in the DOM hierarchy.\n\t *\n\t * @public\n\t */\n\tComplementary = \"Complementary\",\n\n\t/**\n\t * The ARIA role <code>form</code>.\n\t *\n\t * A region that contains a collection of items and objects that, as a whole, combine to create a form.\n\t *\n\t * @public\n\t */\n\tForm = \"Form\",\n\n\t/**\n\t * The ARIA role <code>contentinfo</code>.\n\t *\n\t * A region that contains information about the content on the page.\n\t *\n\t * @public\n\t */\n\tContentInfo = \"ContentInfo\"\n\n}\n\nexport default AriaLandmarkRole;\n"]}
|
package/dist/types/AriaRole.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types of ARIA roles.
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
declare enum AriaRole {
|
|
6
|
-
/**
|
|
7
|
-
* The ARIA role "alertdialog".
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
AlertDialog = "AlertDialog",
|
|
11
|
-
/**
|
|
12
|
-
* The ARIA role "button".
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
Button = "Button",
|
|
16
|
-
/**
|
|
17
|
-
* The ARIA role "dialog".
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
Dialog = "Dialog",
|
|
21
|
-
/**
|
|
22
|
-
* The ARIA role "link".
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
Link = "Link"
|
|
26
|
-
}
|
|
27
|
-
export default AriaRole;
|
package/dist/types/AriaRole.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types of ARIA roles.
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
var AriaRole;
|
|
6
|
-
(function (AriaRole) {
|
|
7
|
-
/**
|
|
8
|
-
* The ARIA role "alertdialog".
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
AriaRole["AlertDialog"] = "AlertDialog";
|
|
12
|
-
/**
|
|
13
|
-
* The ARIA role "button".
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
AriaRole["Button"] = "Button";
|
|
17
|
-
/**
|
|
18
|
-
* The ARIA role "dialog".
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
AriaRole["Dialog"] = "Dialog";
|
|
22
|
-
/**
|
|
23
|
-
* The ARIA role "link".
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
AriaRole["Link"] = "Link";
|
|
27
|
-
})(AriaRole || (AriaRole = {}));
|
|
28
|
-
export default AriaRole;
|
|
29
|
-
//# sourceMappingURL=AriaRole.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AriaRole.js","sourceRoot":"","sources":["../../src/types/AriaRole.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,IAAK,QAwBJ;AAxBD,WAAK,QAAQ;IACZ;;;MAGE;IACF,uCAA2B,CAAA;IAE3B;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,6BAAiB,CAAA;IAEjB;;;OAGG;IACH,yBAAa,CAAA;AACd,CAAC,EAxBI,QAAQ,KAAR,QAAQ,QAwBZ;AAED,eAAe,QAAQ,CAAC","sourcesContent":["/**\n * Types of ARIA roles.\n * @public\n */\nenum AriaRole {\n\t/**\n\t* The ARIA role \"alertdialog\".\n\t* @public\n\t*/\n\tAlertDialog = \"AlertDialog\",\n\n\t/**\n\t * The ARIA role \"button\".\n\t * @public\n\t */\n\tButton = \"Button\",\n\n\t/**\n\t * The ARIA role \"dialog\".\n\t * @public\n\t */\n\tDialog = \"Dialog\",\n\n\t/**\n\t * The ARIA role \"link\".\n\t * @public\n\t */\n\tLink = \"Link\",\n}\n\nexport default AriaRole;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentElement.js","sourceRoot":"","sources":["../../src/util/getParentElement.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,CAAC,EAAe,EAAE,EAAE;IAC5C,OAAO,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAE,EAAE,CAAC,UAAyB,CAAC,IAAI,CAAgB,CAAC;AAC/F,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["const getParentElement = (el: HTMLElement) => {\n\treturn (el.parentElement ? el.parentNode : (el.parentNode as ShadowRoot).host) as HTMLElement;\n};\n\nexport default getParentElement;\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const isElementContainingBlock = (el) => {
|
|
2
|
-
const computedStyle = getComputedStyle(el);
|
|
3
|
-
return ["size", "inline-size"].indexOf(computedStyle.containerType) > -1
|
|
4
|
-
|| ["transform", "perspective"].indexOf(computedStyle.willChange) > -1
|
|
5
|
-
|| ["layout", "paint", "strict", "content"].indexOf(computedStyle.contain) > -1
|
|
6
|
-
|| (computedStyle.transform && computedStyle.transform !== "none")
|
|
7
|
-
|| (computedStyle.perspective && computedStyle.perspective !== "none")
|
|
8
|
-
|| (computedStyle.backdropFilter && computedStyle.backdropFilter !== "none");
|
|
9
|
-
};
|
|
10
|
-
export default isElementContainingBlock;
|
|
11
|
-
//# sourceMappingURL=isElementContainingBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isElementContainingBlock.js","sourceRoot":"","sources":["../../src/util/isElementContainingBlock.ts"],"names":[],"mappings":"AAAA,MAAM,wBAAwB,GAAG,CAAC,EAAe,EAAE,EAAE;IACpD,MAAM,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAE3C,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;WACrE,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;WACnE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;WAC5E,CAAC,aAAa,CAAC,SAAS,IAAI,aAAa,CAAC,SAAS,KAAK,MAAM,CAAC;WAC/D,CAAC,aAAa,CAAC,WAAW,IAAI,aAAa,CAAC,WAAW,KAAK,MAAM,CAAC;WACnE,CAAC,aAAa,CAAC,cAAc,IAAI,aAAa,CAAC,cAAc,KAAK,MAAM,CAAC,CAAC;AAC9E,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC","sourcesContent":["const isElementContainingBlock = (el: HTMLElement) => {\n\tconst computedStyle = getComputedStyle(el);\n\n\treturn [\"size\", \"inline-size\"].indexOf(computedStyle.containerType) > -1\n\t|| [\"transform\", \"perspective\"].indexOf(computedStyle.willChange) > -1\n\t|| [\"layout\", \"paint\", \"strict\", \"content\"].indexOf(computedStyle.contain) > -1\n\t|| (computedStyle.transform && computedStyle.transform !== \"none\")\n\t|| (computedStyle.perspective && computedStyle.perspective !== \"none\")\n\t|| (computedStyle.backdropFilter && computedStyle.backdropFilter !== \"none\");\n};\n\nexport default isElementContainingBlock;\n"]}
|