@descope/flow-components 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.
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.16.1",
8
+ "buildVersion": "3.16.2",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.16.1",
8
+ "buildVersion": "3.16.2",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -84873,7 +84873,6 @@ function requireIndex_cjs () {
84873
84873
  [vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
84874
84874
 
84875
84875
  // Overlay direct theme:
84876
- [vars$16.overlay.minHeight]: '400px',
84877
84876
  [vars$16.overlay.margin]: '0',
84878
84877
 
84879
84878
  [vars$16.overlay.contentHeight]: '100%',
@@ -94185,9 +94184,14 @@ function requireIndex_cjs () {
94185
94184
  const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
94186
94185
  if (!popover || !this.picker) return;
94187
94186
 
94188
- // Reset any previous transform so getBoundingClientRect measures the natural position.
94187
+ // Reset any previous offset so getBoundingClientRect measures the natural position.
94188
+ // NOTE: we offset with margin, not `transform`. A `transform` on this element
94189
+ // makes it the containing block for `position: fixed` descendants, which traps
94190
+ // the nested combo-box dropdowns inside the popover box (they then can't size
94191
+ // to the viewport and get clipped). `margin` shifts it identically without
94192
+ // creating a containing block, so the combo overlays stay viewport-positioned.
94189
94193
  this.#popoverPosStylesheet?.replaceSync(
94190
- `vaadin-popover-overlay::part(overlay) { transform: none; }`,
94194
+ `vaadin-popover-overlay::part(overlay) { margin-left: 0; }`,
94191
94195
  );
94192
94196
 
94193
94197
  const windowRect = document.body.getBoundingClientRect();
@@ -94208,7 +94212,7 @@ function requireIndex_cjs () {
94208
94212
 
94209
94213
  const css = `
94210
94214
  vaadin-popover-overlay::part(overlay) {
94211
- transform: translateX(${newOffset}px);
94215
+ margin-left: ${newOffset}px;
94212
94216
  }
94213
94217
  `;
94214
94218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -97,7 +97,7 @@
97
97
  "webpack-subresource-integrity": "5.2.0-rc.1"
98
98
  },
99
99
  "dependencies": {
100
- "@descope/web-components-ui": "3.16.1"
100
+ "@descope/web-components-ui": "3.16.2"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"