From c148bf61fe11564eb60bd34ca8d1a92bb33cb0a8 Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Wed, 2 Aug 2023 14:58:51 -0700 Subject: [PATCH] fix(segmentedbutton): add back shape token PiperOrigin-RevId: 553265721 --- .../outlined-segmented-button_test.ts | 17 ----------------- tokens/_md-comp-outlined-segmented-button.scss | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 labs/segmentedbutton/outlined-segmented-button_test.ts diff --git a/labs/segmentedbutton/outlined-segmented-button_test.ts b/labs/segmentedbutton/outlined-segmented-button_test.ts deleted file mode 100644 index 1aaf014dc5..0000000000 --- a/labs/segmentedbutton/outlined-segmented-button_test.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2023 Google LLC - * SPDX-License-Identifier: Apache-2.0 - */ - -// import 'jasmine'; (google3-only) - -import {createTokenTests} from '../../testing/tokens.js'; - -import {MdOutlinedSegmentedButton} from './outlined-segmented-button.js'; - -describe('', () => { - describe('.styles', () => { - createTokenTests(MdOutlinedSegmentedButton.styles); - }); -}); diff --git a/tokens/_md-comp-outlined-segmented-button.scss b/tokens/_md-comp-outlined-segmented-button.scss index c35ddb6b24..810bad3560 100644 --- a/tokens/_md-comp-outlined-segmented-button.scss +++ b/tokens/_md-comp-outlined-segmented-button.scss @@ -35,6 +35,7 @@ $supported-tokens: ( 'selected-pressed-icon-color', 'selected-pressed-label-text-color', 'selected-pressed-state-layer-color', + 'shape', 'unselected-focus-icon-color', 'unselected-focus-label-text-color', 'unselected-hover-icon-color', @@ -62,7 +63,6 @@ $unsupported-tokens: ( 'label-text-weight', 'outline-width', 'selected-focus-state-layer-color', - 'shape', 'unselected-focus-state-layer-color', // go/keep-sorted end );