feat: cascader component #6120
Annotations
13 errors, 15 warnings, and 12 notices
TypeScript
Cannot find module '@zag-js/popper' or its corresponding type declarations.
|
TypeScript
Cannot find module '@zag-js/dismissable' or its corresponding type declarations.
|
TypeScript
Cannot find module '@zag-js/popper' or its corresponding type declarations.
|
TypeScript
Property 'onFocusOutside' does not exist on type 'MachineContext<V>'.
|
TypeScript
Property 'onPointerDownOutside' does not exist on type 'MachineContext<V>'.
|
TypeScript
Parameter 'event' implicitly has an 'any' type.
|
TypeScript
Property 'onInteractOutside' does not exist on type 'MachineContext<V>'.
|
TypeScript
Parameter 'data' implicitly has an 'any' type.
|
TypeScript
Parameter 'data' implicitly has an 'any' type.
|
TypeScript
Type '"onFocusOutside"' is not assignable to type '"value" | "disabled" | "open" | "multiple" | "form" | "dir" | "id" | "name" | "required" | "getRootNode" | "invalid" | "collection" | "ids" | "positioning" | "readOnly" | "closeOnSelect" | ... 6 more ... | "highlightedValue"'.
|
popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button:
e2e/models/popover.model.ts#L87
1) popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-testid=button\\-after]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-testid=button\\-after]')
14 × locator resolved to <button data-testid="button-after">Button :after</button>
- unexpected value "not focused"
at models/popover.model.ts:87
85 |
86 | seeButtonAfterIsFocused() {
> 87 | return expect(this.buttonAfter).toBeFocused()
| ^
88 | }
89 |
90 | seeButtonBeforeIsFocused() {
at PopoverModel.seeButtonAfterIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:87:37)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:57:13
|
popover.e2e.ts:60:7 › popover › [keyboard / non-modal] on shift-tab outside: should move focus to trigger:
e2e/models/popover.model.ts#L75
2) popover.e2e.ts:60:7 › popover › [keyboard / non-modal] on shift-tab outside: should move focus to trigger
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-scope=popover][data-part=trigger]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-scope=popover][data-part=trigger]')
14 × locator resolved to <button type="button" data-state="open" data-part="trigger" data-scope="popover" aria-expanded="true" aria-haspopup="dialog" data-placement="bottom" id="popover::R6m::trigger" data-testid="popover-trigger" aria-controls="popover::R6m::content">…</button>
- unexpected value "not focused"
at models/popover.model.ts:75
73 |
74 | seeTriggerIsFocused() {
> 75 | return expect(this.trigger).toBeFocused()
| ^
76 | }
77 |
78 | seeContentIsFocused() {
at PopoverModel.seeTriggerIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:75:33)
at /home/runner/work/zag/zag/e2e/popover.e2e.ts:64:13
|
tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key:
e2e/models/tags-input.model.ts#L90
1) tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeFocused()
Locator: locator('[data-testid=svelte-input]')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 10000ms
- waiting for locator('[data-testid=svelte-input]')
14 × locator resolved to <input value="" dir="ltr" hidden="" tabindex="-1" aria-hidden="true" data-part="item-input" data-scope="tags-input" data-testid="svelte-input" id="tags-input::R6m::tag:Svelte:2:input" aria-label="Editing tag Svelte. Press enter to save or escape to cancel."/>
- unexpected value "not focused"
at models/tags-input.model.ts:90
88 |
89 | async seeTagInputIsFocused(value: string) {
> 90 | await expect(this.getTagInput(value)).toBeFocused()
| ^
91 | }
92 |
93 | async dontSeeTagInput(value: string) {
at TagsInputModel.seeTagInputIsFocused (/home/runner/work/zag/zag/e2e/models/tags-input.model.ts:90:43)
at /home/runner/work/zag/zag/e2e/tags-input.e2e.ts:124:13
|
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-end Tests (11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
1 skipped
20 passed (36.0s)
|
🎭 Playwright Run Summary
1 skipped
26 passed (38.7s)
|
🎭 Playwright Run Summary
16 passed (26.2s)
|
🎭 Playwright Run Summary
24 passed (44.4s)
|
🎭 Playwright Run Summary
2 flaky
popover.e2e.ts:53:7 › popover › [keyboard / non-modal] on tab outside: should move focus to next tabbable element after button
popover.e2e.ts:60:7 › popover › [keyboard / non-modal] on shift-tab outside: should move focus to trigger
2 skipped
25 passed (1.1m)
|
🎭 Playwright Run Summary
1 skipped
21 passed (31.7s)
|
🎭 Playwright Run Summary
1 flaky
tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ─────────────────────────────────
11 skipped
17 passed (40.6s)
|
🎭 Playwright Run Summary
38 passed (52.2s)
|
🎭 Playwright Run Summary
1 skipped
29 passed (48.0s)
|
🎭 Playwright Run Summary
27 passed (45.1s)
|
🎭 Playwright Run Summary
4 skipped
34 passed (50.7s)
|
🎭 Playwright Run Summary
3 skipped
24 passed (1.0m)
|