@ni/spright-components 4.1.8 → 4.1.10

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.
@@ -21949,7 +21949,7 @@ so this becomes the fallback color for the slot */ ''}
21949
21949
  throw new Error('Dialog is already open');
21950
21950
  }
21951
21951
  this.dialogElement.showModal();
21952
- return new Promise((resolve, _reject) => {
21952
+ return await new Promise((resolve, _reject) => {
21953
21953
  this.resolveShow = resolve;
21954
21954
  });
21955
21955
  }
@@ -22220,7 +22220,7 @@ so this becomes the fallback color for the slot */ ''}
22220
22220
  throw new Error('Drawer is already open');
22221
22221
  }
22222
22222
  this.openDialog();
22223
- return new Promise((resolve, _reject) => {
22223
+ return await new Promise((resolve, _reject) => {
22224
22224
  this.resolveShow = resolve;
22225
22225
  });
22226
22226
  }
@@ -55236,9 +55236,11 @@ img.ProseMirror-separator {
55236
55236
  }
55237
55237
 
55238
55238
  async function waitUntilCustomElementsDefinedAsync(elements) {
55239
- const definedElements = elements.map(async (item) => (item.matches(':not(:defined)')
55240
- ? customElements.whenDefined(item.localName)
55241
- : Promise.resolve()));
55239
+ const definedElements = elements.map(async (item) => {
55240
+ if (item.matches(':not(:defined)')) {
55241
+ await customElements.whenDefined(item.localName);
55242
+ }
55243
+ });
55242
55244
  await Promise.all(definedElements);
55243
55245
  }
55244
55246
 
@@ -74278,8 +74280,9 @@ focus outline in that case.
74278
74280
  align-items: center;
74279
74281
  justify-content: center;
74280
74282
  border: 0px solid rgba(${borderRgbPartialColor}, 0.3);
74281
- gap: ${mediumPadding};
74283
+ gap: ${smallPadding};
74282
74284
  padding: ${borderWidth};
74285
+ padding-left: calc(${borderWidth} + ${smallPadding});
74283
74286
  }
74284
74287
 
74285
74288
  :host([readonly]) .root {
@@ -74334,6 +74337,7 @@ focus outline in that case.
74334
74337
  slot[name='start']::slotted(*) {
74335
74338
  flex: none;
74336
74339
  opacity: 0.6;
74340
+ margin-right: ${smallPadding};
74337
74341
  }
74338
74342
 
74339
74343
  :host([disabled]) slot[name='start']::slotted(*) {
@@ -74384,6 +74388,7 @@ focus outline in that case.
74384
74388
  [part='end']::after {
74385
74389
  content: '';
74386
74390
  position: absolute;
74391
+ margin-left: calc(-1 * (${borderWidth} + ${smallPadding}));
74387
74392
  bottom: calc(-1 * ${borderWidth});
74388
74393
  width: 0px;
74389
74394
  height: 0px;
@@ -74455,6 +74460,7 @@ focus outline in that case.
74455
74460
  .root {
74456
74461
  border-width: ${borderWidth};
74457
74462
  padding: 0;
74463
+ padding-left: ${smallPadding};
74458
74464
  }
74459
74465
  `), appearanceBehavior(TextFieldAppearance.frameless, css `
74460
74466
  .control {