Skip to content

Conversation

@adolgachev
Copy link
Contributor

No description provided.

@adolgachev adolgachev marked this pull request as ready for review October 30, 2025 19:10
@adolgachev adolgachev requested a review from a team as a code owner October 30, 2025 19:10
@adolgachev adolgachev requested review from ok7sai and wagnermaciel and removed request for a team October 30, 2025 19:10
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 30, 2025
@adolgachev adolgachev changed the title feat(aria/multi): Add accessors for pattern properties refactor(aria/multi): Add accessors for pattern properties Oct 31, 2025
@adolgachev adolgachev force-pushed the aria-props branch 4 times, most recently from 181fcb8 to fd799bd Compare November 3, 2025 21:24
@adolgachev adolgachev added target: rc This PR is targeted for the next release-candidate merge: preserve commits When the PR is merged, a rebase and merge should be performed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 4, 2025
@adolgachev adolgachev force-pushed the aria-props branch 6 times, most recently from 1591234 to 450a94d Compare November 4, 2025 21:59
@adolgachev adolgachev removed the detected: feature PR contains a feature commit label Nov 4, 2025
readonly colWrap = input<'continuous' | 'loop' | 'nowrap'>('loop');

/** The currently active cell. */
readonly activeCell = computed(() => this._pattern.activeCell());
Copy link
Member

Choose a reason for hiding this comment

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

activeCell is the ui pattern type, so we might want to hide it.

readonly isFocused = computed(() => this._pattern.isFocused());

/** Whether to pause grid navigation. */
readonly pauseNavigation = computed(() => this._pattern.pauseNavigation());
Copy link
Member

Choose a reason for hiding this comment

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

This is implementation detail so let's not expose this.

/** Whether the widget is currently active (focused). */
readonly active = computed(() => this._pattern.active());
/** Whether the widget is currently the active one (focused). */
readonly active = computed(() => this._pattern.active);
Copy link
Member

Choose a reason for hiding this comment

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

This seems to return a signal function which I am not sure if it's intended.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops! That got messed up in the merge. Thanks for the catch.

readonly isFocused = computed(() => this._pattern.isFocused());

/** Whether the menu has received focus. */
readonly hasBeenFocused = computed(() => this._pattern.hasBeenFocused());
Copy link
Member

Choose a reason for hiding this comment

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

This is implementation detail for setting default state that I don't think developers should rely on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking that too. Should we also then remove hasBeenFocused pre-existing that from before? I added them mostly because that was there to see if we wanted it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually those are referenced at this level so can't be private or removed. I'll add a note to fix or add to the spreadsheet to track clean-up.

@adolgachev adolgachev requested a review from a team as a code owner November 6, 2025 00:03
@adolgachev adolgachev requested review from devversion and removed request for a team November 6, 2025 00:03
@angular-robot angular-robot bot added the area: docs Related to the documentation label Nov 6, 2025
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Nov 6, 2025
@adolgachev adolgachev removed the request for review from devversion November 6, 2025 20:44
@adolgachev adolgachev added area: cdk/a11y and removed area: build & ci Related the build and CI infrastructure of the project area: docs Related to the documentation labels Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: cdk/a11y merge: preserve commits When the PR is merged, a rebase and merge should be performed target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants