@vaadin/overlay 24.5.0-alpha4 → 24.5.0-alpha6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/overlay",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-alpha6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.5.0-
|
|
40
|
-
"@vaadin/component-base": "24.5.0-
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
42
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.5.0-alpha6",
|
|
40
|
+
"@vaadin/component-base": "24.5.0-alpha6",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha6",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "24.5.0-alpha6",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha6",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@vaadin/testing-helpers": "^0.6.0",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "c5f541dbe961a994730d4c60472ae957bf6b4c12"
|
|
52
52
|
}
|
|
@@ -320,7 +320,7 @@ export const PositionMixin = (superClass) =>
|
|
|
320
320
|
);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
// eslint-disable-next-line max-params
|
|
323
|
+
// eslint-disable-next-line @typescript-eslint/max-params
|
|
324
324
|
__shouldAlignStart(targetRect, contentSize, viewportSize, margins, defaultAlignStart, noOverlap, propNames) {
|
|
325
325
|
const spaceForStartAlignment =
|
|
326
326
|
viewportSize - targetRect[noOverlap ? propNames.end : propNames.start] - margins[propNames.end];
|
|
@@ -377,7 +377,7 @@ export const PositionMixin = (superClass) =>
|
|
|
377
377
|
* Returns an object with CSS position properties to set,
|
|
378
378
|
* e.g. { top: "100px" }
|
|
379
379
|
*/
|
|
380
|
-
// eslint-disable-next-line max-params
|
|
380
|
+
// eslint-disable-next-line @typescript-eslint/max-params
|
|
381
381
|
__calculatePositionInOneDimension(targetRect, overlayRect, noOverlap, propNames, overlay, shouldAlignStart) {
|
|
382
382
|
const cssPropNameToSet = shouldAlignStart ? propNames.start : propNames.end;
|
|
383
383
|
const cssPropNameToClear = shouldAlignStart ? propNames.end : propNames.start;
|