From 0432e6d9ceb454b94265ddafb63db2059633acbd Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Fri, 21 Jul 2023 13:40:14 -0700 Subject: [PATCH] fix(elevation)!: rename "lib" directory to "internal" BREAKING CHANGE: Rename `@material/web/elevation/lib` to `@material/web/elevation/internal`. Prefer not using internal files. PiperOrigin-RevId: 550038448 --- elevation/_elevation.scss | 2 +- elevation/elevation.ts | 4 ++-- elevation/{lib => internal}/_elevation.scss | 0 elevation/{lib => internal}/elevation-styles.scss | 0 elevation/{lib => internal}/elevation.ts | 0 select/lib/_shared.scss | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename elevation/{lib => internal}/_elevation.scss (100%) rename elevation/{lib => internal}/elevation-styles.scss (100%) rename elevation/{lib => internal}/elevation.ts (100%) diff --git a/elevation/_elevation.scss b/elevation/_elevation.scss index c737ac21e0..a76b5affbf 100644 --- a/elevation/_elevation.scss +++ b/elevation/_elevation.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/elevation' show theme; +@forward './internal/elevation' show theme; diff --git a/elevation/elevation.ts b/elevation/elevation.ts index d54c866cb2..1d9a1568b7 100644 --- a/elevation/elevation.ts +++ b/elevation/elevation.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {Elevation} from './lib/elevation.js'; -import {styles} from './lib/elevation-styles.css.js'; +import {Elevation} from './internal/elevation.js'; +import {styles} from './internal/elevation-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/elevation/lib/_elevation.scss b/elevation/internal/_elevation.scss similarity index 100% rename from elevation/lib/_elevation.scss rename to elevation/internal/_elevation.scss diff --git a/elevation/lib/elevation-styles.scss b/elevation/internal/elevation-styles.scss similarity index 100% rename from elevation/lib/elevation-styles.scss rename to elevation/internal/elevation-styles.scss diff --git a/elevation/lib/elevation.ts b/elevation/internal/elevation.ts similarity index 100% rename from elevation/lib/elevation.ts rename to elevation/internal/elevation.ts diff --git a/select/lib/_shared.scss b/select/lib/_shared.scss index b28c589c7c..b533ab471e 100644 --- a/select/lib/_shared.scss +++ b/select/lib/_shared.scss @@ -9,7 +9,7 @@ @use 'sass:string'; // go/keep-sorted end // go/keep-sorted start -@use '../../elevation/lib/elevation'; +@use '../../elevation/internal/elevation'; @use '../../internal/sass/theme'; @use '../../tokens'; // go/keep-sorted end