@warp-ds/elements 2.8.0 → 2.8.1-next.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.
@@ -14,3 +14,10 @@ test('renders an aria-label if set', async () => {
14
14
  const page = render(html ` <w-breadcrumb aria-label="You are here"> </w-breadcrumb>`);
15
15
  await expect.element(page.getByLabelText('You are here', { hasText: 'w-breadcrumb' })).toBeDefined();
16
16
  });
17
+ test('sets role navigation', async () => {
18
+ const page = render(html ` <w-breadcrumb>
19
+ <a href="/foo">Foo</a>
20
+ <a href="/bar">Bar</a>
21
+ </w-breadcrumb>`);
22
+ await expect.poll(() => page.getByRole('navigation')).toBeDefined();
23
+ });
@@ -2499,7 +2499,6 @@ var te=Object.defineProperty;var ae=Object.getOwnPropertyDescriptor;var R=a=>{th
2499
2499
  ${this._label}
2500
2500
  <div
2501
2501
  class="${de({"w-textfield":!0,"w-textfield--has-prefix":this._hasPrefix,"w-textfield--has-suffix":this._hasSuffix})}">
2502
- <slot @slotchange="${this.prefixSlotChange}" name="prefix"></slot>
2503
2502
  <div class="w-textfield__input-wrapper">
2504
2503
  ${this.formatter?P`<div class="w-textfield__mask"></div>`:se}
2505
2504
  <input
@@ -2528,6 +2527,7 @@ var te=Object.defineProperty;var ae=Object.getOwnPropertyDescriptor;var R=a=>{th
2528
2527
  @input="${this.handler}"
2529
2528
  @focus="${this.handler}" />
2530
2529
  </div>
2530
+ <slot @slotchange="${this.prefixSlotChange}" name="prefix"></slot>
2531
2531
  <slot @slotchange="${this.suffixSlotChange}" name="suffix"></slot>
2532
2532
  </div>
2533
2533
  <span class="sr-only" id="aria-description">${this.ariaDescription}</span>