Skip to content

Commit d6b6b5a

Browse files
authored
build: enable public API verification on the MDC slider (#23053)
We had disabled the public API check on the MDC slider while it was being rewritten, but now it can be re-enabled.
1 parent 8a28f15 commit d6b6b5a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/check-mdc-exports-config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const config = {
22
// The MDC sidenav hasn't been implemented yet.
3-
skippedPackages: ['mdc-sidenav', 'mdc-slider'],
3+
skippedPackages: ['mdc-sidenav'],
44
skippedExports: {
55
'mdc-chips': [
66
// These components haven't been implemented for MDC due to a different accessibility pattern.
@@ -80,6 +80,12 @@ export const config = {
8080
// Private base class that is only exported for MDC.
8181
'_MatSlideToggleHarnessBase'
8282
],
83+
'mdc-slider': [
84+
// ControlValueAccessor implementation detail.
85+
'MAT_SLIDER_VALUE_ACCESSOR',
86+
// Irrelevant for the MDC implementation, because the slider doesn't dispatch any events.
87+
'MatSliderChange'
88+
],
8389
'mdc-snack-bar': [
8490
// Private interface used to ensure consistency for MDC package.
8591
'_SnackBarContainer'

0 commit comments

Comments
 (0)