@descope/flow-components 3.23.1 → 3.23.3

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.23.1",
8
+ "buildVersion": "3.23.3",
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.23.1",
8
+ "buildVersion": "3.23.3",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -87683,7 +87683,7 @@ function requireIndex_cjs () {
87683
87683
  this.attachShadow({ mode: 'open' }).innerHTML = `
87684
87684
  <div class="wrapper">
87685
87685
  <div class="codes-box">
87686
- <div class="list"></div>
87686
+ <div class="list"><div class="codes-list"></div></div>
87687
87687
  <descope-text class="icon-wrapper">
87688
87688
  <div class="icons">
87689
87689
  <vaadin-icon class="icon copy-icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>
@@ -87723,6 +87723,17 @@ function requireIndex_cjs () {
87723
87723
  display: flex;
87724
87724
  flex-grow: 1;
87725
87725
  flex-direction: column;
87726
+ /* text-align maps to align-items here, so it positions the codes block
87727
+ (start/center/end) inside the available space, not each row */
87728
+ }
87729
+ .codes-list {
87730
+ display: flex;
87731
+ flex-direction: column;
87732
+ /* rows always start-aligned so the bullets line up in any font.
87733
+ width:fit-content hugs the codes so .list can position the whole
87734
+ block (keep it, it also defeats the stretch fallback) */
87735
+ align-items: flex-start;
87736
+ width: fit-content;
87726
87737
  }
87727
87738
  descope-text span {
87728
87739
  display: inline-flex;
@@ -88066,7 +88077,7 @@ function requireIndex_cjs () {
88066
88077
  createDynamicDataMixin$1({
88067
88078
  itemRenderer: itemRenderer$5,
88068
88079
  rerenderAttrsList: ['variant', 'mode'],
88069
- targetSelector: '.list',
88080
+ targetSelector: '.codes-list',
88070
88081
  }),
88071
88082
  draggableMixin$1,
88072
88083
  componentNameValidationMixin$1,
@@ -97676,7 +97687,7 @@ function requireIndex_cjs () {
97676
97687
  // Vaadin toggles visibility on Enter keydown but lets the event bubble,
97677
97688
  // and the SDK submits the form on any Enter that reaches the flow root.
97678
97689
  stopRevealButtonEnterPropagation() {
97679
- this.revealButton.addEventListener('keydown', (e) => {
97690
+ this.revealButton?.addEventListener('keydown', (e) => {
97680
97691
  if (e.key === 'Enter') e.stopPropagation();
97681
97692
  });
97682
97693
  }
@@ -97738,7 +97749,7 @@ function requireIndex_cjs () {
97738
97749
  handlePasswordVisibility(externalInput) {
97739
97750
  // disable vaadin's `__boundRevealButtonMouseDown` mouse-down event lisetener
97740
97751
  const origBoundRevealButtonMouseDown = this.baseElement.__boundRevealButtonMouseDown;
97741
- this.revealButton.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
97752
+ this.revealButton?.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
97742
97753
 
97743
97754
  // disable vaadin's `_passwordVisibleChanged` observer
97744
97755
  this.baseElement._passwordVisibleChanged = () => {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.23.1",
3
+ "version": "3.23.3",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -98,7 +98,7 @@
98
98
  "webpack-subresource-integrity": "5.2.0-rc.1"
99
99
  },
100
100
  "dependencies": {
101
- "@descope/web-components-ui": "3.23.1"
101
+ "@descope/web-components-ui": "3.23.3"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "react": ">= 18"