From aaa672b8687f89b638050aef08691a01a73e23c2 Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Fri, 21 Jul 2023 13:25:23 -0700 Subject: [PATCH] fix(dialog)!: rename "lib" directory to "internal" BREAKING CHANGE: Rename `@material/web/dialog/lib` to `@material/web/dialog/internal`. Prefer not using internal files. PiperOrigin-RevId: 550034550 --- dialog/_dialog.scss | 2 +- dialog/dialog.ts | 4 ++-- dialog/harness.ts | 2 +- dialog/{lib => internal}/_dialog.scss | 0 dialog/{lib => internal}/_tokens.scss | 0 dialog/{lib => internal}/dialog-styles.scss | 0 dialog/{lib => internal}/dialog.ts | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename dialog/{lib => internal}/_dialog.scss (100%) rename dialog/{lib => internal}/_tokens.scss (100%) rename dialog/{lib => internal}/dialog-styles.scss (100%) rename dialog/{lib => internal}/dialog.ts (100%) diff --git a/dialog/_dialog.scss b/dialog/_dialog.scss index 3c8a990be0..321cf10e0d 100644 --- a/dialog/_dialog.scss +++ b/dialog/_dialog.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/dialog' show theme; +@forward './internal/dialog' show theme; diff --git a/dialog/dialog.ts b/dialog/dialog.ts index 141a0d35df..e51e5c0e5c 100644 --- a/dialog/dialog.ts +++ b/dialog/dialog.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {Dialog} from './lib/dialog.js'; -import {styles} from './lib/dialog-styles.css.js'; +import {Dialog} from './internal/dialog.js'; +import {styles} from './internal/dialog-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/dialog/harness.ts b/dialog/harness.ts index 2a554e2797..fb66c37ac1 100644 --- a/dialog/harness.ts +++ b/dialog/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {Dialog} from './lib/dialog.js'; +import {Dialog} from './internal/dialog.js'; /** diff --git a/dialog/lib/_dialog.scss b/dialog/internal/_dialog.scss similarity index 100% rename from dialog/lib/_dialog.scss rename to dialog/internal/_dialog.scss diff --git a/dialog/lib/_tokens.scss b/dialog/internal/_tokens.scss similarity index 100% rename from dialog/lib/_tokens.scss rename to dialog/internal/_tokens.scss diff --git a/dialog/lib/dialog-styles.scss b/dialog/internal/dialog-styles.scss similarity index 100% rename from dialog/lib/dialog-styles.scss rename to dialog/internal/dialog-styles.scss diff --git a/dialog/lib/dialog.ts b/dialog/internal/dialog.ts similarity index 100% rename from dialog/lib/dialog.ts rename to dialog/internal/dialog.ts