@descope/web-components-ui 3.16.1 → 3.16.2
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/dist/cjs/index.cjs.js +8 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-month-day-field.js +1 -1
- package/dist/umd/descope-month-day-field.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +40 -40
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5213,7 +5213,6 @@ const comboBox = {
|
|
|
5213
5213
|
[vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
|
|
5214
5214
|
|
|
5215
5215
|
// Overlay direct theme:
|
|
5216
|
-
[vars$16.overlay.minHeight]: '400px',
|
|
5217
5216
|
[vars$16.overlay.margin]: '0',
|
|
5218
5217
|
|
|
5219
5218
|
[vars$16.overlay.contentHeight]: '100%',
|
|
@@ -14525,9 +14524,14 @@ class RawMonthDayFieldClass extends BaseInputClass$5 {
|
|
|
14525
14524
|
const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
|
|
14526
14525
|
if (!popover || !this.picker) return;
|
|
14527
14526
|
|
|
14528
|
-
// Reset any previous
|
|
14527
|
+
// Reset any previous offset so getBoundingClientRect measures the natural position.
|
|
14528
|
+
// NOTE: we offset with margin, not `transform`. A `transform` on this element
|
|
14529
|
+
// makes it the containing block for `position: fixed` descendants, which traps
|
|
14530
|
+
// the nested combo-box dropdowns inside the popover box (they then can't size
|
|
14531
|
+
// to the viewport and get clipped). `margin` shifts it identically without
|
|
14532
|
+
// creating a containing block, so the combo overlays stay viewport-positioned.
|
|
14529
14533
|
this.#popoverPosStylesheet?.replaceSync(
|
|
14530
|
-
`vaadin-popover-overlay::part(overlay) {
|
|
14534
|
+
`vaadin-popover-overlay::part(overlay) { margin-left: 0; }`,
|
|
14531
14535
|
);
|
|
14532
14536
|
|
|
14533
14537
|
const windowRect = document.body.getBoundingClientRect();
|
|
@@ -14548,7 +14552,7 @@ class RawMonthDayFieldClass extends BaseInputClass$5 {
|
|
|
14548
14552
|
|
|
14549
14553
|
const css = `
|
|
14550
14554
|
vaadin-popover-overlay::part(overlay) {
|
|
14551
|
-
|
|
14555
|
+
margin-left: ${newOffset}px;
|
|
14552
14556
|
}
|
|
14553
14557
|
`;
|
|
14554
14558
|
|