Skip to content

Conversation

@mmalerba
Copy link
Contributor

@mmalerba mmalerba commented Aug 20, 2023

Converts the following components to use the new theme inspection API
under the hood: card, core, form-field, optgroup, option, progress-bar,
pseudo-checkbox, ripple

As a side effect, this allows us to start cleaning up all of the
theme normalization logic that previously had to be baked into every
theme mixin.

The goal once all components are converted is that apps can opt
themselves into only supporting the inspection API to access theme
values and throw errors on all attempts to access the theme via other
means. This will identify usages of the theme that need to be updated to
work with M3.

@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Aug 20, 2023
@mmalerba mmalerba force-pushed the inspection-api-conversion branch 4 times, most recently from 4519bc9 to e573974 Compare August 24, 2023 14:56
@angular-robot angular-robot bot removed the detected: feature PR contains a feature commit label Aug 24, 2023
@mmalerba mmalerba force-pushed the inspection-api-conversion branch 6 times, most recently from d1139da to 821a9ee Compare August 25, 2023 19:43
@mmalerba mmalerba changed the title WIP: convert components to theme inspection API refactor(multiple): convert components to theme inspection API Aug 25, 2023
Converts the following components to use the new theme inspection API
under the hood: card, core, form-field, optgroup, option, progress-bar,
pseudo-checkbox, ripple

As a side effect, this allows us to start cleaning up all of the
theme normalization logic that previously had to be baked into every
theme mixin.

The goal once all components are converted is that apps can opt
themselves into only supporting the inspection API to access theme
values and throw errors on all attempts to access the theme via other
means. This will identify usages of the theme that need to be updated to
work with M3.
@mmalerba mmalerba force-pushed the inspection-api-conversion branch from e055771 to 9e6c198 Compare August 25, 2023 20:16
@mmalerba mmalerba added the target: major This PR is targeted for the next major release label Aug 25, 2023
@mmalerba mmalerba marked this pull request as ready for review August 25, 2023 20:17
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Aug 25, 2023
@mmalerba mmalerba merged commit 24202a8 into angular:main Aug 26, 2023
mmalerba added a commit to mmalerba/components that referenced this pull request Aug 27, 2023
Converts: input, list, radio, slide-toggle, slider.

See related PR angular#27688 for more context.
mmalerba added a commit to mmalerba/components that referenced this pull request Aug 28, 2023
Converts: input, list, radio, slide-toggle, slider.

See related PR angular#27688 for more context.
mmalerba added a commit to mmalerba/components that referenced this pull request Aug 28, 2023
Converts: input, list, checkbox, radio, slide-toggle, slider.

See related PR angular#27688 for more context.
mmalerba added a commit that referenced this pull request Aug 29, 2023
… 2) (#27713)

* refactor(multiple): convert components to theme inspection API

Converts: input, list, checkbox, radio, slide-toggle, slider.

See related PR #27688 for more context.

* refactor(multiple): convert components to theme inspection API

Converts: button, icon-button, fab, paginator.

* build: fix lint
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants