@descope/web-components-ui 3.23.2 → 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.
package/dist/index.esm.js CHANGED
@@ -25099,7 +25099,7 @@ class RawRecoveryCodes extends createBaseClass$1({
25099
25099
  this.attachShadow({ mode: 'open' }).innerHTML = `
25100
25100
  <div class="wrapper">
25101
25101
  <div class="codes-box">
25102
- <div class="list"></div>
25102
+ <div class="list"><div class="codes-list"></div></div>
25103
25103
  <descope-text class="icon-wrapper">
25104
25104
  <div class="icons">
25105
25105
  <vaadin-icon class="icon copy-icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>
@@ -25139,6 +25139,17 @@ class RawRecoveryCodes extends createBaseClass$1({
25139
25139
  display: flex;
25140
25140
  flex-grow: 1;
25141
25141
  flex-direction: column;
25142
+ /* text-align maps to align-items here, so it positions the codes block
25143
+ (start/center/end) inside the available space, not each row */
25144
+ }
25145
+ .codes-list {
25146
+ display: flex;
25147
+ flex-direction: column;
25148
+ /* rows always start-aligned so the bullets line up in any font.
25149
+ width:fit-content hugs the codes so .list can position the whole
25150
+ block (keep it, it also defeats the stretch fallback) */
25151
+ align-items: flex-start;
25152
+ width: fit-content;
25142
25153
  }
25143
25154
  descope-text span {
25144
25155
  display: inline-flex;
@@ -25482,7 +25493,7 @@ const RecoveryCodesClass = compose$1(
25482
25493
  createDynamicDataMixin$1({
25483
25494
  itemRenderer: itemRenderer$4,
25484
25495
  rerenderAttrsList: ['variant', 'mode'],
25485
- targetSelector: '.list',
25496
+ targetSelector: '.codes-list',
25486
25497
  }),
25487
25498
  draggableMixin$1,
25488
25499
  componentNameValidationMixin$1,