Skip to content

bug(theming): expose undefined function private-typography-config-level-from-mdc #28297

Closed
@nzbin

Description

@nzbin

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

// MDC Helpers
@forward './core/mdc-helpers/mdc-helpers' as private-* show private-using-mdc-theme,
private-using-mdc-typography, private-disable-mdc-fallback-declarations,
private-typography-config-level-from-mdc, private-if-touch-targets-unsupported,

The function typography-config-level-from-mdc is undefined in mdc-helpers. In fact, we can find the function here.

@function typography-config-level-from-mdc($mdc-level, $font-family: null) {
$mdc-level-config: map.get(mdc-typography.$styles, $mdc-level);

Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

Expected Behavior

Expose the function private-typography-config-level-from-mdc.

Actual Behavior

The function private-typography-config-level-from-mdc is undefined.

Environment

  • Angular: 17.0.7
  • CDK/Material: 17.0.4
  • Browser(s): Chrome latest
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: material/core

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions