@descope/web-components-ui 3.16.0 → 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/index.esm.js CHANGED
@@ -17851,9 +17851,10 @@ const RadioGroupClass = compose(
17851
17851
  })
17852
17852
  );
17853
17853
 
17854
- customElements.define(componentName$B, RadioGroupClass);
17855
17854
  customElements.define(componentName$C, RadioButtonClass);
17856
17855
 
17856
+ customElements.define(componentName$B, RadioGroupClass);
17857
+
17857
17858
  const defaultValidateSchema = () => true;
17858
17859
  const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
17859
17860
 
@@ -20508,7 +20509,6 @@ const comboBox = {
20508
20509
  [vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
20509
20510
 
20510
20511
  // Overlay direct theme:
20511
- [vars$16.overlay.minHeight]: '400px',
20512
20512
  [vars$16.overlay.margin]: '0',
20513
20513
 
20514
20514
  [vars$16.overlay.contentHeight]: '100%',
@@ -29373,9 +29373,14 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
29373
29373
  const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
29374
29374
  if (!popover || !this.picker) return;
29375
29375
 
29376
- // Reset any previous transform so getBoundingClientRect measures the natural position.
29376
+ // Reset any previous offset so getBoundingClientRect measures the natural position.
29377
+ // NOTE: we offset with margin, not `transform`. A `transform` on this element
29378
+ // makes it the containing block for `position: fixed` descendants, which traps
29379
+ // the nested combo-box dropdowns inside the popover box (they then can't size
29380
+ // to the viewport and get clipped). `margin` shifts it identically without
29381
+ // creating a containing block, so the combo overlays stay viewport-positioned.
29377
29382
  this.#popoverPosStylesheet?.replaceSync(
29378
- `vaadin-popover-overlay::part(overlay) { transform: none; }`,
29383
+ `vaadin-popover-overlay::part(overlay) { margin-left: 0; }`,
29379
29384
  );
29380
29385
 
29381
29386
  const windowRect = document.body.getBoundingClientRect();
@@ -29396,7 +29401,7 @@ class RawMonthDayFieldClass extends BaseInputClass$1 {
29396
29401
 
29397
29402
  const css = `
29398
29403
  vaadin-popover-overlay::part(overlay) {
29399
- transform: translateX(${newOffset}px);
29404
+ margin-left: ${newOffset}px;
29400
29405
  }
29401
29406
  `;
29402
29407