From c4ac9f73d923237457f856589b10e0413943664c Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Fri, 21 Jul 2023 13:25:11 -0700 Subject: [PATCH] fix(checkbox)!: rename "lib" directory to "internal" BREAKING CHANGE: Rename `@material/web/checkbox/lib` to `@material/web/checkbox/internal`. Prefer not using internal files. PiperOrigin-RevId: 550034503 --- checkbox/checkbox.ts | 4 ++-- checkbox/harness.ts | 2 +- checkbox/{lib => internal}/_checkbox.scss | 0 checkbox/{lib => internal}/checkbox-styles.scss | 0 checkbox/{lib => internal}/checkbox.ts | 0 checkbox/{lib => internal}/checkbox_test.ts | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename checkbox/{lib => internal}/_checkbox.scss (100%) rename checkbox/{lib => internal}/checkbox-styles.scss (100%) rename checkbox/{lib => internal}/checkbox.ts (100%) rename checkbox/{lib => internal}/checkbox_test.ts (100%) diff --git a/checkbox/checkbox.ts b/checkbox/checkbox.ts index e594e8f9ba..b257b342cc 100644 --- a/checkbox/checkbox.ts +++ b/checkbox/checkbox.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {Checkbox} from './lib/checkbox.js'; -import {styles} from './lib/checkbox-styles.css.js'; +import {Checkbox} from './internal/checkbox.js'; +import {styles} from './internal/checkbox-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/checkbox/harness.ts b/checkbox/harness.ts index f578569405..d19bc05382 100644 --- a/checkbox/harness.ts +++ b/checkbox/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {Checkbox} from './lib/checkbox.js'; +import {Checkbox} from './internal/checkbox.js'; /** * Test harness for checkbox. diff --git a/checkbox/lib/_checkbox.scss b/checkbox/internal/_checkbox.scss similarity index 100% rename from checkbox/lib/_checkbox.scss rename to checkbox/internal/_checkbox.scss diff --git a/checkbox/lib/checkbox-styles.scss b/checkbox/internal/checkbox-styles.scss similarity index 100% rename from checkbox/lib/checkbox-styles.scss rename to checkbox/internal/checkbox-styles.scss diff --git a/checkbox/lib/checkbox.ts b/checkbox/internal/checkbox.ts similarity index 100% rename from checkbox/lib/checkbox.ts rename to checkbox/internal/checkbox.ts diff --git a/checkbox/lib/checkbox_test.ts b/checkbox/internal/checkbox_test.ts similarity index 100% rename from checkbox/lib/checkbox_test.ts rename to checkbox/internal/checkbox_test.ts