From d6b6b5ac94116724269425bbd673804b737a3bd8 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 25 Jun 2021 23:28:24 +0200 Subject: [PATCH] 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. --- scripts/check-mdc-exports-config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/check-mdc-exports-config.ts b/scripts/check-mdc-exports-config.ts index f6c6655b7904..101f0b19df3a 100644 --- a/scripts/check-mdc-exports-config.ts +++ b/scripts/check-mdc-exports-config.ts @@ -1,6 +1,6 @@ export const config = { // The MDC sidenav hasn't been implemented yet. - skippedPackages: ['mdc-sidenav', 'mdc-slider'], + skippedPackages: ['mdc-sidenav'], skippedExports: { 'mdc-chips': [ // These components haven't been implemented for MDC due to a different accessibility pattern. @@ -80,6 +80,12 @@ export const config = { // Private base class that is only exported for MDC. '_MatSlideToggleHarnessBase' ], + 'mdc-slider': [ + // ControlValueAccessor implementation detail. + 'MAT_SLIDER_VALUE_ACCESSOR', + // Irrelevant for the MDC implementation, because the slider doesn't dispatch any events. + 'MatSliderChange' + ], 'mdc-snack-bar': [ // Private interface used to ensure consistency for MDC package. '_SnackBarContainer'