Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 5, 2025

Reworks the Aria listbox to avoid a circular dependency between Listbox and Option.

@crisbeto crisbeto force-pushed the listbox-circular-deps-poc branch from fd6273b to 0cf9339 Compare December 5, 2025 12:03

import {booleanAttribute, computed, Directive, ElementRef, inject, input} from '@angular/core';
import {_IdGenerator} from '@angular/cdk/a11y';
import {OptionPattern} from '../private';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use '@angular/aria/private'; or does that have no impact?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports within the same npm package need to be relative after the recent dev infra changes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change listbox.ts to use the relative path then?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah we should. Not sure why the build didn't break.

@crisbeto crisbeto force-pushed the listbox-circular-deps-poc branch from 0cf9339 to a35fe19 Compare December 5, 2025 19:46
@crisbeto crisbeto marked this pull request as ready for review December 5, 2025 19:46
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Dec 5, 2025
Reworks the Aria listbox to avoid a circular dependency between `Listbox` and `Option`.
@crisbeto crisbeto force-pushed the listbox-circular-deps-poc branch from a35fe19 to 826430b Compare December 5, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants