From 6ec3f06429b2cd54382780ee74bb4bcf0ed0b5b6 Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Mon, 24 Jul 2023 12:02:25 -0700 Subject: [PATCH] fix!: rename "lib" directory to "internal" BREAKING CHANGE: Rename `@material/web//lib` to `@material/web//internal`. Prefer not using internal files. PiperOrigin-RevId: 550633216 --- docs/components/icon.md | 2 +- labs/badge/_badge.scss | 2 +- labs/badge/badge.ts | 4 ++-- labs/badge/{lib => internal}/_badge.scss | 0 labs/badge/{lib => internal}/badge-styles.scss | 0 labs/badge/{lib => internal}/badge.ts | 0 labs/navigationbar/_navigation-bar.scss | 2 +- labs/navigationbar/harness.ts | 2 +- .../{lib => internal}/_navigation-bar.scss | 0 labs/navigationbar/{lib => internal}/constants.ts | 2 +- .../{lib => internal}/navigation-bar-styles.scss | 0 labs/navigationbar/{lib => internal}/navigation-bar.ts | 2 +- labs/navigationbar/{lib => internal}/state.ts | 2 +- labs/navigationbar/navigation-bar.ts | 4 ++-- labs/navigationdrawer/_navigation-drawer-modal.scss | 2 +- labs/navigationdrawer/_navigation-drawer.scss | 2 +- .../{lib => internal}/_navigation-drawer-modal.scss | 0 .../{lib => internal}/_navigation-drawer.scss | 0 labs/navigationdrawer/{lib => internal}/_shared.scss | 0 .../navigation-drawer-modal-styles.scss | 0 .../{lib => internal}/navigation-drawer-modal.ts | 0 .../{lib => internal}/navigation-drawer-styles.scss | 0 .../{lib => internal}/navigation-drawer.ts | 0 .../{lib => internal}/shared-styles.scss | 0 labs/navigationdrawer/navigation-drawer-modal.ts | 6 +++--- labs/navigationdrawer/navigation-drawer.ts | 6 +++--- labs/navigationtab/_navigation-tab.scss | 2 +- labs/navigationtab/harness.ts | 2 +- .../{lib => internal}/_navigation-tab.scss | 0 .../{lib => internal}/navigation-tab-styles.scss | 0 labs/navigationtab/{lib => internal}/navigation-tab.ts | 0 labs/navigationtab/{lib => internal}/state.ts | 0 labs/navigationtab/navigation-tab.ts | 4 ++-- .../{lib => internal}/_outlined-segmented-button.scss | 0 labs/segmentedbutton/{lib => internal}/_shared.scss | 0 .../{lib => internal}/outlined-segmented-button.ts | 0 .../{lib => internal}/outlined-styles.scss | 0 .../{lib => internal}/segmented-button.ts | 0 .../{lib => internal}/shared-styles.scss | 0 labs/segmentedbutton/outlined-segmented-button.ts | 6 +++--- .../_outlined-segmented-button-set.scss | 0 labs/segmentedbuttonset/{lib => internal}/_shared.scss | 0 .../{lib => internal}/outlined-segmented-button-set.ts | 0 .../{lib => internal}/outlined-styles.scss | 0 .../{lib => internal}/segmented-button-set.ts | 2 +- .../{lib => internal}/shared-styles.scss | 0 .../outlined-segmented-button-set.ts | 6 +++--- progress/_circular-progress.scss | 2 +- progress/_linear-progress.scss | 2 +- progress/circular-progress.ts | 4 ++-- progress/harness.ts | 4 ++-- progress/{lib => internal}/_circular-progress.scss | 0 progress/{lib => internal}/_linear-progress.scss | 0 .../{lib => internal}/circular-progress-styles.scss | 0 progress/{lib => internal}/circular-progress.ts | 0 progress/{lib => internal}/linear-progress-styles.scss | 0 progress/{lib => internal}/linear-progress.ts | 0 progress/{lib => internal}/progress.ts | 0 progress/linear-progress.ts | 4 ++-- radio/_radio.scss | 2 +- radio/harness.ts | 2 +- radio/{lib => internal}/_radio.scss | 0 radio/{lib => internal}/forced-colors-styles.scss | 0 radio/{lib => internal}/radio-styles.scss | 0 radio/{lib => internal}/radio.ts | 0 radio/{lib => internal}/single-selection-controller.ts | 0 radio/radio.ts | 6 +++--- ripple/_ripple.scss | 2 +- ripple/{lib => internal}/_ripple.scss | 0 ripple/{lib => internal}/ripple-styles.scss | 0 ripple/{lib => internal}/ripple.ts | 0 ripple/{lib => internal}/ripple_test.ts | 0 ripple/ripple.ts | 4 ++-- select/_filled-select.scss | 2 +- select/_outlined-select.scss | 2 +- select/filled-select.ts | 8 ++++---- select/harness.ts | 4 ++-- select/{lib => internal}/_filled-select.scss | 0 select/{lib => internal}/_outlined-select.scss | 0 select/{lib => internal}/_shared.scss | 0 .../{lib => internal}/filled-forced-colors-styles.scss | 0 select/{lib => internal}/filled-select-styles.scss | 0 select/{lib => internal}/filled-select.ts | 0 .../outlined-forced-colors-styles.scss | 0 select/{lib => internal}/outlined-select-styles.scss | 0 select/{lib => internal}/outlined-select.ts | 0 select/{lib => internal}/select.ts | 0 select/{lib => internal}/selectoption/harness.ts | 0 select/{lib => internal}/selectoption/select-option.ts | 0 select/{lib => internal}/shared-styles.scss | 0 select/{lib => internal}/shared.ts | 0 select/outlined-select.ts | 8 ++++---- select/select-option.ts | 2 +- slider/_slider.scss | 2 +- slider/harness.ts | 2 +- slider/{lib => internal}/_slider.scss | 0 slider/{lib => internal}/forced-colors-styles.scss | 0 slider/{lib => internal}/slider-styles.scss | 0 slider/{lib => internal}/slider.ts | 0 slider/slider.ts | 6 +++--- switch/_switch.scss | 2 +- switch/harness.ts | 2 +- switch/{lib => internal}/README.md | 0 switch/{lib => internal}/_handle.scss | 0 switch/{lib => internal}/_icon.scss | 0 switch/{lib => internal}/_switch.scss | 0 switch/{lib => internal}/_track.scss | 0 switch/{lib => internal}/forced-colors-styles.scss | 0 switch/{lib => internal}/switch-styles.scss | 0 switch/{lib => internal}/switch.ts | 0 switch/{lib => internal}/switch_test.ts | 0 switch/switch.ts | 6 +++--- tabs/_tab.scss | 2 +- tabs/harness.ts | 4 ++-- tabs/{lib => internal}/_tab.scss | 0 tabs/{lib => internal}/_tabs.scss | 0 tabs/{lib => internal}/tab-styles.scss | 0 tabs/{lib => internal}/tab.ts | 0 tabs/{lib => internal}/tabs-styles.scss | 0 tabs/{lib => internal}/tabs.ts | 0 tabs/tab.ts | 6 +++--- tabs/tabs.ts | 4 ++-- testing/table/_test-table.scss | 2 +- testing/table/{lib => internal}/_test-table.scss | 0 testing/table/{lib => internal}/test-table-styles.scss | 0 testing/table/{lib => internal}/test-table.ts | 0 testing/table/{lib => internal}/test-table_test.ts | 0 testing/table/test-table.ts | 6 +++--- textfield/_filled-text-field.scss | 2 +- textfield/_outlined-text-field.scss | 2 +- textfield/filled-text-field.ts | 10 +++++----- textfield/harness.ts | 2 +- textfield/{lib => internal}/_filled-text-field.scss | 0 textfield/{lib => internal}/_icon.scss | 0 textfield/{lib => internal}/_input.scss | 0 textfield/{lib => internal}/_outlined-text-field.scss | 0 textfield/{lib => internal}/_shared.scss | 0 .../{lib => internal}/filled-forced-colors-styles.scss | 0 textfield/{lib => internal}/filled-styles.scss | 0 textfield/{lib => internal}/filled-text-field.ts | 0 .../outlined-forced-colors-styles.scss | 0 textfield/{lib => internal}/outlined-styles.scss | 0 textfield/{lib => internal}/outlined-text-field.ts | 0 textfield/{lib => internal}/shared-styles.scss | 0 textfield/{lib => internal}/text-field.ts | 0 textfield/{lib => internal}/text-field_test.ts | 0 textfield/outlined-text-field.ts | 10 +++++----- 147 files changed, 94 insertions(+), 94 deletions(-) rename labs/badge/{lib => internal}/_badge.scss (100%) rename labs/badge/{lib => internal}/badge-styles.scss (100%) rename labs/badge/{lib => internal}/badge.ts (100%) rename labs/navigationbar/{lib => internal}/_navigation-bar.scss (100%) rename labs/navigationbar/{lib => internal}/constants.ts (86%) rename labs/navigationbar/{lib => internal}/navigation-bar-styles.scss (100%) rename labs/navigationbar/{lib => internal}/navigation-bar.ts (98%) rename labs/navigationbar/{lib => internal}/state.ts (85%) rename labs/navigationdrawer/{lib => internal}/_navigation-drawer-modal.scss (100%) rename labs/navigationdrawer/{lib => internal}/_navigation-drawer.scss (100%) rename labs/navigationdrawer/{lib => internal}/_shared.scss (100%) rename labs/navigationdrawer/{lib => internal}/navigation-drawer-modal-styles.scss (100%) rename labs/navigationdrawer/{lib => internal}/navigation-drawer-modal.ts (100%) rename labs/navigationdrawer/{lib => internal}/navigation-drawer-styles.scss (100%) rename labs/navigationdrawer/{lib => internal}/navigation-drawer.ts (100%) rename labs/navigationdrawer/{lib => internal}/shared-styles.scss (100%) rename labs/navigationtab/{lib => internal}/_navigation-tab.scss (100%) rename labs/navigationtab/{lib => internal}/navigation-tab-styles.scss (100%) rename labs/navigationtab/{lib => internal}/navigation-tab.ts (100%) rename labs/navigationtab/{lib => internal}/state.ts (100%) rename labs/segmentedbutton/{lib => internal}/_outlined-segmented-button.scss (100%) rename labs/segmentedbutton/{lib => internal}/_shared.scss (100%) rename labs/segmentedbutton/{lib => internal}/outlined-segmented-button.ts (100%) rename labs/segmentedbutton/{lib => internal}/outlined-styles.scss (100%) rename labs/segmentedbutton/{lib => internal}/segmented-button.ts (100%) rename labs/segmentedbutton/{lib => internal}/shared-styles.scss (100%) rename labs/segmentedbuttonset/{lib => internal}/_outlined-segmented-button-set.scss (100%) rename labs/segmentedbuttonset/{lib => internal}/_shared.scss (100%) rename labs/segmentedbuttonset/{lib => internal}/outlined-segmented-button-set.ts (100%) rename labs/segmentedbuttonset/{lib => internal}/outlined-styles.scss (100%) rename labs/segmentedbuttonset/{lib => internal}/segmented-button-set.ts (97%) rename labs/segmentedbuttonset/{lib => internal}/shared-styles.scss (100%) rename progress/{lib => internal}/_circular-progress.scss (100%) rename progress/{lib => internal}/_linear-progress.scss (100%) rename progress/{lib => internal}/circular-progress-styles.scss (100%) rename progress/{lib => internal}/circular-progress.ts (100%) rename progress/{lib => internal}/linear-progress-styles.scss (100%) rename progress/{lib => internal}/linear-progress.ts (100%) rename progress/{lib => internal}/progress.ts (100%) rename radio/{lib => internal}/_radio.scss (100%) rename radio/{lib => internal}/forced-colors-styles.scss (100%) rename radio/{lib => internal}/radio-styles.scss (100%) rename radio/{lib => internal}/radio.ts (100%) rename radio/{lib => internal}/single-selection-controller.ts (100%) rename ripple/{lib => internal}/_ripple.scss (100%) rename ripple/{lib => internal}/ripple-styles.scss (100%) rename ripple/{lib => internal}/ripple.ts (100%) rename ripple/{lib => internal}/ripple_test.ts (100%) rename select/{lib => internal}/_filled-select.scss (100%) rename select/{lib => internal}/_outlined-select.scss (100%) rename select/{lib => internal}/_shared.scss (100%) rename select/{lib => internal}/filled-forced-colors-styles.scss (100%) rename select/{lib => internal}/filled-select-styles.scss (100%) rename select/{lib => internal}/filled-select.ts (100%) rename select/{lib => internal}/outlined-forced-colors-styles.scss (100%) rename select/{lib => internal}/outlined-select-styles.scss (100%) rename select/{lib => internal}/outlined-select.ts (100%) rename select/{lib => internal}/select.ts (100%) rename select/{lib => internal}/selectoption/harness.ts (100%) rename select/{lib => internal}/selectoption/select-option.ts (100%) rename select/{lib => internal}/shared-styles.scss (100%) rename select/{lib => internal}/shared.ts (100%) rename slider/{lib => internal}/_slider.scss (100%) rename slider/{lib => internal}/forced-colors-styles.scss (100%) rename slider/{lib => internal}/slider-styles.scss (100%) rename slider/{lib => internal}/slider.ts (100%) rename switch/{lib => internal}/README.md (100%) rename switch/{lib => internal}/_handle.scss (100%) rename switch/{lib => internal}/_icon.scss (100%) rename switch/{lib => internal}/_switch.scss (100%) rename switch/{lib => internal}/_track.scss (100%) rename switch/{lib => internal}/forced-colors-styles.scss (100%) rename switch/{lib => internal}/switch-styles.scss (100%) rename switch/{lib => internal}/switch.ts (100%) rename switch/{lib => internal}/switch_test.ts (100%) rename tabs/{lib => internal}/_tab.scss (100%) rename tabs/{lib => internal}/_tabs.scss (100%) rename tabs/{lib => internal}/tab-styles.scss (100%) rename tabs/{lib => internal}/tab.ts (100%) rename tabs/{lib => internal}/tabs-styles.scss (100%) rename tabs/{lib => internal}/tabs.ts (100%) rename testing/table/{lib => internal}/_test-table.scss (100%) rename testing/table/{lib => internal}/test-table-styles.scss (100%) rename testing/table/{lib => internal}/test-table.ts (100%) rename testing/table/{lib => internal}/test-table_test.ts (100%) rename textfield/{lib => internal}/_filled-text-field.scss (100%) rename textfield/{lib => internal}/_icon.scss (100%) rename textfield/{lib => internal}/_input.scss (100%) rename textfield/{lib => internal}/_outlined-text-field.scss (100%) rename textfield/{lib => internal}/_shared.scss (100%) rename textfield/{lib => internal}/filled-forced-colors-styles.scss (100%) rename textfield/{lib => internal}/filled-styles.scss (100%) rename textfield/{lib => internal}/filled-text-field.ts (100%) rename textfield/{lib => internal}/outlined-forced-colors-styles.scss (100%) rename textfield/{lib => internal}/outlined-styles.scss (100%) rename textfield/{lib => internal}/outlined-text-field.ts (100%) rename textfield/{lib => internal}/shared-styles.scss (100%) rename textfield/{lib => internal}/text-field.ts (100%) rename textfield/{lib => internal}/text-field_test.ts (100%) diff --git a/docs/components/icon.md b/docs/components/icon.md index 399f76c4a7..ce792f4d71 100644 --- a/docs/components/icon.md +++ b/docs/components/icon.md @@ -146,7 +146,7 @@ Token | Default value `--md-icon-size` | `24px` `--md-icon-weight` | `400` -* [All tokens](https://github.com/material-components/material-web/blob/main/icon/lib/_md-comp-icon.scss) +* [All tokens](https://github.com/material-components/material-web/blob/main/icon/internal/_md-comp-icon.scss) ### Example diff --git a/labs/badge/_badge.scss b/labs/badge/_badge.scss index 68279888f7..e778213b50 100644 --- a/labs/badge/_badge.scss +++ b/labs/badge/_badge.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/badge' show theme; +@forward './internal/badge' show theme; diff --git a/labs/badge/badge.ts b/labs/badge/badge.ts index 67772c2caa..4486991c85 100644 --- a/labs/badge/badge.ts +++ b/labs/badge/badge.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {Badge} from './lib/badge.js'; -import {styles} from './lib/badge-styles.css.js'; +import {Badge} from './internal/badge.js'; +import {styles} from './internal/badge-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/badge/lib/_badge.scss b/labs/badge/internal/_badge.scss similarity index 100% rename from labs/badge/lib/_badge.scss rename to labs/badge/internal/_badge.scss diff --git a/labs/badge/lib/badge-styles.scss b/labs/badge/internal/badge-styles.scss similarity index 100% rename from labs/badge/lib/badge-styles.scss rename to labs/badge/internal/badge-styles.scss diff --git a/labs/badge/lib/badge.ts b/labs/badge/internal/badge.ts similarity index 100% rename from labs/badge/lib/badge.ts rename to labs/badge/internal/badge.ts diff --git a/labs/navigationbar/_navigation-bar.scss b/labs/navigationbar/_navigation-bar.scss index 18d401f1bf..4cd62fc9e8 100644 --- a/labs/navigationbar/_navigation-bar.scss +++ b/labs/navigationbar/_navigation-bar.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/navigation-bar' show theme; +@forward './internal/navigation-bar' show theme; diff --git a/labs/navigationbar/harness.ts b/labs/navigationbar/harness.ts index be95da2211..d4312ef16d 100644 --- a/labs/navigationbar/harness.ts +++ b/labs/navigationbar/harness.ts @@ -7,7 +7,7 @@ import {Harness} from '../../testing/harness.js'; import {NavigationTabHarness} from '../navigationtab/harness.js'; -import {NavigationBar} from './lib/navigation-bar.js'; +import {NavigationBar} from './internal/navigation-bar.js'; /** * Test harness for navigation bars. diff --git a/labs/navigationbar/lib/_navigation-bar.scss b/labs/navigationbar/internal/_navigation-bar.scss similarity index 100% rename from labs/navigationbar/lib/_navigation-bar.scss rename to labs/navigationbar/internal/_navigation-bar.scss diff --git a/labs/navigationbar/lib/constants.ts b/labs/navigationbar/internal/constants.ts similarity index 86% rename from labs/navigationbar/lib/constants.ts rename to labs/navigationbar/internal/constants.ts index 5c26c51001..3e5c2aad86 100644 --- a/labs/navigationbar/lib/constants.ts +++ b/labs/navigationbar/internal/constants.ts @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import {NavigationTabState} from '../../navigationtab/lib/state.js'; +import {NavigationTabState} from '../../navigationtab/internal/state.js'; /** * MDCNavigationTabInteractionEventDetail provides details for the interaction diff --git a/labs/navigationbar/lib/navigation-bar-styles.scss b/labs/navigationbar/internal/navigation-bar-styles.scss similarity index 100% rename from labs/navigationbar/lib/navigation-bar-styles.scss rename to labs/navigationbar/internal/navigation-bar-styles.scss diff --git a/labs/navigationbar/lib/navigation-bar.ts b/labs/navigationbar/internal/navigation-bar.ts similarity index 98% rename from labs/navigationbar/lib/navigation-bar.ts rename to labs/navigationbar/internal/navigation-bar.ts index c0131f4a34..c73b01bdb2 100644 --- a/labs/navigationbar/lib/navigation-bar.ts +++ b/labs/navigationbar/internal/navigation-bar.ts @@ -12,7 +12,7 @@ import {property, queryAssignedElements} from 'lit/decorators.js'; import {ARIAMixinStrict} from '../../../internal/aria/aria.js'; import {requestUpdateOnAriaChange} from '../../../internal/aria/delegate.js'; import {isRtl} from '../../../internal/controller/is-rtl.js'; -import {NavigationTab} from '../../navigationtab/lib/navigation-tab.js'; +import {NavigationTab} from '../../navigationtab/internal/navigation-tab.js'; import {NavigationTabInteractionEvent} from './constants.js'; import {NavigationBarState} from './state.js'; diff --git a/labs/navigationbar/lib/state.ts b/labs/navigationbar/internal/state.ts similarity index 85% rename from labs/navigationbar/lib/state.ts rename to labs/navigationbar/internal/state.ts index 20033a3259..955ee832ed 100644 --- a/labs/navigationbar/lib/state.ts +++ b/labs/navigationbar/internal/state.ts @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import {NavigationTabState} from '../../navigationtab/lib/state.js'; +import {NavigationTabState} from '../../navigationtab/internal/state.js'; /** * The state of a navigation Bar. diff --git a/labs/navigationbar/navigation-bar.ts b/labs/navigationbar/navigation-bar.ts index 3c628993a8..34eb346ed9 100644 --- a/labs/navigationbar/navigation-bar.ts +++ b/labs/navigationbar/navigation-bar.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {NavigationBar} from './lib/navigation-bar.js'; -import {styles} from './lib/navigation-bar-styles.css.js'; +import {NavigationBar} from './internal/navigation-bar.js'; +import {styles} from './internal/navigation-bar-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/navigationdrawer/_navigation-drawer-modal.scss b/labs/navigationdrawer/_navigation-drawer-modal.scss index 6d52e0c978..fe46ad2056 100644 --- a/labs/navigationdrawer/_navigation-drawer-modal.scss +++ b/labs/navigationdrawer/_navigation-drawer-modal.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/navigation-drawer-modal' show theme; +@forward './internal/navigation-drawer-modal' show theme; diff --git a/labs/navigationdrawer/_navigation-drawer.scss b/labs/navigationdrawer/_navigation-drawer.scss index 99e222d28b..72d0463745 100644 --- a/labs/navigationdrawer/_navigation-drawer.scss +++ b/labs/navigationdrawer/_navigation-drawer.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/navigation-drawer' show theme; +@forward './internal/navigation-drawer' show theme; diff --git a/labs/navigationdrawer/lib/_navigation-drawer-modal.scss b/labs/navigationdrawer/internal/_navigation-drawer-modal.scss similarity index 100% rename from labs/navigationdrawer/lib/_navigation-drawer-modal.scss rename to labs/navigationdrawer/internal/_navigation-drawer-modal.scss diff --git a/labs/navigationdrawer/lib/_navigation-drawer.scss b/labs/navigationdrawer/internal/_navigation-drawer.scss similarity index 100% rename from labs/navigationdrawer/lib/_navigation-drawer.scss rename to labs/navigationdrawer/internal/_navigation-drawer.scss diff --git a/labs/navigationdrawer/lib/_shared.scss b/labs/navigationdrawer/internal/_shared.scss similarity index 100% rename from labs/navigationdrawer/lib/_shared.scss rename to labs/navigationdrawer/internal/_shared.scss diff --git a/labs/navigationdrawer/lib/navigation-drawer-modal-styles.scss b/labs/navigationdrawer/internal/navigation-drawer-modal-styles.scss similarity index 100% rename from labs/navigationdrawer/lib/navigation-drawer-modal-styles.scss rename to labs/navigationdrawer/internal/navigation-drawer-modal-styles.scss diff --git a/labs/navigationdrawer/lib/navigation-drawer-modal.ts b/labs/navigationdrawer/internal/navigation-drawer-modal.ts similarity index 100% rename from labs/navigationdrawer/lib/navigation-drawer-modal.ts rename to labs/navigationdrawer/internal/navigation-drawer-modal.ts diff --git a/labs/navigationdrawer/lib/navigation-drawer-styles.scss b/labs/navigationdrawer/internal/navigation-drawer-styles.scss similarity index 100% rename from labs/navigationdrawer/lib/navigation-drawer-styles.scss rename to labs/navigationdrawer/internal/navigation-drawer-styles.scss diff --git a/labs/navigationdrawer/lib/navigation-drawer.ts b/labs/navigationdrawer/internal/navigation-drawer.ts similarity index 100% rename from labs/navigationdrawer/lib/navigation-drawer.ts rename to labs/navigationdrawer/internal/navigation-drawer.ts diff --git a/labs/navigationdrawer/lib/shared-styles.scss b/labs/navigationdrawer/internal/shared-styles.scss similarity index 100% rename from labs/navigationdrawer/lib/shared-styles.scss rename to labs/navigationdrawer/internal/shared-styles.scss diff --git a/labs/navigationdrawer/navigation-drawer-modal.ts b/labs/navigationdrawer/navigation-drawer-modal.ts index 9740b044b1..59d579077b 100644 --- a/labs/navigationdrawer/navigation-drawer-modal.ts +++ b/labs/navigationdrawer/navigation-drawer-modal.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {NavigationDrawerModal} from './lib/navigation-drawer-modal.js'; -import {styles} from './lib/navigation-drawer-modal-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {NavigationDrawerModal} from './internal/navigation-drawer-modal.js'; +import {styles} from './internal/navigation-drawer-modal-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/navigationdrawer/navigation-drawer.ts b/labs/navigationdrawer/navigation-drawer.ts index 3584c66195..57bd5e822f 100644 --- a/labs/navigationdrawer/navigation-drawer.ts +++ b/labs/navigationdrawer/navigation-drawer.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {NavigationDrawer} from './lib/navigation-drawer.js'; -import {styles} from './lib/navigation-drawer-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {NavigationDrawer} from './internal/navigation-drawer.js'; +import {styles} from './internal/navigation-drawer-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/navigationtab/_navigation-tab.scss b/labs/navigationtab/_navigation-tab.scss index 5bc6ad8002..44aa860ec6 100644 --- a/labs/navigationtab/_navigation-tab.scss +++ b/labs/navigationtab/_navigation-tab.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/navigation-tab' show theme; +@forward './internal/navigation-tab' show theme; diff --git a/labs/navigationtab/harness.ts b/labs/navigationtab/harness.ts index 7345d13576..dad5e8a319 100644 --- a/labs/navigationtab/harness.ts +++ b/labs/navigationtab/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../../testing/harness.js'; -import {NavigationTab} from './lib/navigation-tab.js'; +import {NavigationTab} from './internal/navigation-tab.js'; /** * Test harness for navigation tab elements. diff --git a/labs/navigationtab/lib/_navigation-tab.scss b/labs/navigationtab/internal/_navigation-tab.scss similarity index 100% rename from labs/navigationtab/lib/_navigation-tab.scss rename to labs/navigationtab/internal/_navigation-tab.scss diff --git a/labs/navigationtab/lib/navigation-tab-styles.scss b/labs/navigationtab/internal/navigation-tab-styles.scss similarity index 100% rename from labs/navigationtab/lib/navigation-tab-styles.scss rename to labs/navigationtab/internal/navigation-tab-styles.scss diff --git a/labs/navigationtab/lib/navigation-tab.ts b/labs/navigationtab/internal/navigation-tab.ts similarity index 100% rename from labs/navigationtab/lib/navigation-tab.ts rename to labs/navigationtab/internal/navigation-tab.ts diff --git a/labs/navigationtab/lib/state.ts b/labs/navigationtab/internal/state.ts similarity index 100% rename from labs/navigationtab/lib/state.ts rename to labs/navigationtab/internal/state.ts diff --git a/labs/navigationtab/navigation-tab.ts b/labs/navigationtab/navigation-tab.ts index 943eb03d03..d72ed68db3 100644 --- a/labs/navigationtab/navigation-tab.ts +++ b/labs/navigationtab/navigation-tab.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {NavigationTab} from './lib/navigation-tab.js'; -import {styles} from './lib/navigation-tab-styles.css.js'; +import {NavigationTab} from './internal/navigation-tab.js'; +import {styles} from './internal/navigation-tab-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/segmentedbutton/lib/_outlined-segmented-button.scss b/labs/segmentedbutton/internal/_outlined-segmented-button.scss similarity index 100% rename from labs/segmentedbutton/lib/_outlined-segmented-button.scss rename to labs/segmentedbutton/internal/_outlined-segmented-button.scss diff --git a/labs/segmentedbutton/lib/_shared.scss b/labs/segmentedbutton/internal/_shared.scss similarity index 100% rename from labs/segmentedbutton/lib/_shared.scss rename to labs/segmentedbutton/internal/_shared.scss diff --git a/labs/segmentedbutton/lib/outlined-segmented-button.ts b/labs/segmentedbutton/internal/outlined-segmented-button.ts similarity index 100% rename from labs/segmentedbutton/lib/outlined-segmented-button.ts rename to labs/segmentedbutton/internal/outlined-segmented-button.ts diff --git a/labs/segmentedbutton/lib/outlined-styles.scss b/labs/segmentedbutton/internal/outlined-styles.scss similarity index 100% rename from labs/segmentedbutton/lib/outlined-styles.scss rename to labs/segmentedbutton/internal/outlined-styles.scss diff --git a/labs/segmentedbutton/lib/segmented-button.ts b/labs/segmentedbutton/internal/segmented-button.ts similarity index 100% rename from labs/segmentedbutton/lib/segmented-button.ts rename to labs/segmentedbutton/internal/segmented-button.ts diff --git a/labs/segmentedbutton/lib/shared-styles.scss b/labs/segmentedbutton/internal/shared-styles.scss similarity index 100% rename from labs/segmentedbutton/lib/shared-styles.scss rename to labs/segmentedbutton/internal/shared-styles.scss diff --git a/labs/segmentedbutton/outlined-segmented-button.ts b/labs/segmentedbutton/outlined-segmented-button.ts index 3862d9d1fe..e04a70b0b5 100644 --- a/labs/segmentedbutton/outlined-segmented-button.ts +++ b/labs/segmentedbutton/outlined-segmented-button.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {OutlinedSegmentedButton} from './lib/outlined-segmented-button.js'; -import {styles as outlinedStyles} from './lib/outlined-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {OutlinedSegmentedButton} from './internal/outlined-segmented-button.js'; +import {styles as outlinedStyles} from './internal/outlined-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/labs/segmentedbuttonset/lib/_outlined-segmented-button-set.scss b/labs/segmentedbuttonset/internal/_outlined-segmented-button-set.scss similarity index 100% rename from labs/segmentedbuttonset/lib/_outlined-segmented-button-set.scss rename to labs/segmentedbuttonset/internal/_outlined-segmented-button-set.scss diff --git a/labs/segmentedbuttonset/lib/_shared.scss b/labs/segmentedbuttonset/internal/_shared.scss similarity index 100% rename from labs/segmentedbuttonset/lib/_shared.scss rename to labs/segmentedbuttonset/internal/_shared.scss diff --git a/labs/segmentedbuttonset/lib/outlined-segmented-button-set.ts b/labs/segmentedbuttonset/internal/outlined-segmented-button-set.ts similarity index 100% rename from labs/segmentedbuttonset/lib/outlined-segmented-button-set.ts rename to labs/segmentedbuttonset/internal/outlined-segmented-button-set.ts diff --git a/labs/segmentedbuttonset/lib/outlined-styles.scss b/labs/segmentedbuttonset/internal/outlined-styles.scss similarity index 100% rename from labs/segmentedbuttonset/lib/outlined-styles.scss rename to labs/segmentedbuttonset/internal/outlined-styles.scss diff --git a/labs/segmentedbuttonset/lib/segmented-button-set.ts b/labs/segmentedbuttonset/internal/segmented-button-set.ts similarity index 97% rename from labs/segmentedbuttonset/lib/segmented-button-set.ts rename to labs/segmentedbuttonset/internal/segmented-button-set.ts index 2fa303f315..e83c51cbf4 100644 --- a/labs/segmentedbuttonset/lib/segmented-button-set.ts +++ b/labs/segmentedbuttonset/internal/segmented-button-set.ts @@ -9,7 +9,7 @@ import {property, queryAssignedElements} from 'lit/decorators.js'; import {ARIAMixinStrict} from '../../../internal/aria/aria.js'; import {requestUpdateOnAriaChange} from '../../../internal/aria/delegate.js'; -import {SegmentedButton} from '../../segmentedbutton/lib/segmented-button.js'; +import {SegmentedButton} from '../../segmentedbutton/internal/segmented-button.js'; /** * SegmentedButtonSet is the parent component for two or more diff --git a/labs/segmentedbuttonset/lib/shared-styles.scss b/labs/segmentedbuttonset/internal/shared-styles.scss similarity index 100% rename from labs/segmentedbuttonset/lib/shared-styles.scss rename to labs/segmentedbuttonset/internal/shared-styles.scss diff --git a/labs/segmentedbuttonset/outlined-segmented-button-set.ts b/labs/segmentedbuttonset/outlined-segmented-button-set.ts index 85a2263f8d..e7e5efaa3c 100644 --- a/labs/segmentedbuttonset/outlined-segmented-button-set.ts +++ b/labs/segmentedbuttonset/outlined-segmented-button-set.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {OutlinedSegmentedButtonSet} from './lib/outlined-segmented-button-set.js'; -import {styles as outlinedStyles} from './lib/outlined-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {OutlinedSegmentedButtonSet} from './internal/outlined-segmented-button-set.js'; +import {styles as outlinedStyles} from './internal/outlined-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/progress/_circular-progress.scss b/progress/_circular-progress.scss index 5d9f12b1b9..3f09022f1b 100644 --- a/progress/_circular-progress.scss +++ b/progress/_circular-progress.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/circular-progress' show theme; +@forward './internal/circular-progress' show theme; diff --git a/progress/_linear-progress.scss b/progress/_linear-progress.scss index b1e87f05ea..a6c8d1c961 100644 --- a/progress/_linear-progress.scss +++ b/progress/_linear-progress.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/linear-progress' show theme; +@forward './internal/linear-progress' show theme; diff --git a/progress/circular-progress.ts b/progress/circular-progress.ts index d31bd6067f..b943dc9134 100644 --- a/progress/circular-progress.ts +++ b/progress/circular-progress.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {CircularProgress} from './lib/circular-progress.js'; -import {styles} from './lib/circular-progress-styles.css.js'; +import {CircularProgress} from './internal/circular-progress.js'; +import {styles} from './internal/circular-progress-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/progress/harness.ts b/progress/harness.ts index 6fbd381c20..317bdf9fce 100644 --- a/progress/harness.ts +++ b/progress/harness.ts @@ -6,8 +6,8 @@ import {Harness} from '../testing/harness.js'; -import {CircularProgress} from './lib/circular-progress.js'; -import {LinearProgress} from './lib/linear-progress.js'; +import {CircularProgress} from './internal/circular-progress.js'; +import {LinearProgress} from './internal/linear-progress.js'; /** * Test harness for linear-progress. diff --git a/progress/lib/_circular-progress.scss b/progress/internal/_circular-progress.scss similarity index 100% rename from progress/lib/_circular-progress.scss rename to progress/internal/_circular-progress.scss diff --git a/progress/lib/_linear-progress.scss b/progress/internal/_linear-progress.scss similarity index 100% rename from progress/lib/_linear-progress.scss rename to progress/internal/_linear-progress.scss diff --git a/progress/lib/circular-progress-styles.scss b/progress/internal/circular-progress-styles.scss similarity index 100% rename from progress/lib/circular-progress-styles.scss rename to progress/internal/circular-progress-styles.scss diff --git a/progress/lib/circular-progress.ts b/progress/internal/circular-progress.ts similarity index 100% rename from progress/lib/circular-progress.ts rename to progress/internal/circular-progress.ts diff --git a/progress/lib/linear-progress-styles.scss b/progress/internal/linear-progress-styles.scss similarity index 100% rename from progress/lib/linear-progress-styles.scss rename to progress/internal/linear-progress-styles.scss diff --git a/progress/lib/linear-progress.ts b/progress/internal/linear-progress.ts similarity index 100% rename from progress/lib/linear-progress.ts rename to progress/internal/linear-progress.ts diff --git a/progress/lib/progress.ts b/progress/internal/progress.ts similarity index 100% rename from progress/lib/progress.ts rename to progress/internal/progress.ts diff --git a/progress/linear-progress.ts b/progress/linear-progress.ts index 9b408af8de..a5953ca8e0 100644 --- a/progress/linear-progress.ts +++ b/progress/linear-progress.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {LinearProgress} from './lib/linear-progress.js'; -import {styles} from './lib/linear-progress-styles.css.js'; +import {LinearProgress} from './internal/linear-progress.js'; +import {styles} from './internal/linear-progress-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/radio/_radio.scss b/radio/_radio.scss index 108a83440d..5b7c78bfb4 100644 --- a/radio/_radio.scss +++ b/radio/_radio.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/radio' show theme; +@forward './internal/radio' show theme; diff --git a/radio/harness.ts b/radio/harness.ts index 679bd78512..3e6f1b429b 100644 --- a/radio/harness.ts +++ b/radio/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {Radio} from './lib/radio.js'; +import {Radio} from './internal/radio.js'; /** * Test harness for radio. diff --git a/radio/lib/_radio.scss b/radio/internal/_radio.scss similarity index 100% rename from radio/lib/_radio.scss rename to radio/internal/_radio.scss diff --git a/radio/lib/forced-colors-styles.scss b/radio/internal/forced-colors-styles.scss similarity index 100% rename from radio/lib/forced-colors-styles.scss rename to radio/internal/forced-colors-styles.scss diff --git a/radio/lib/radio-styles.scss b/radio/internal/radio-styles.scss similarity index 100% rename from radio/lib/radio-styles.scss rename to radio/internal/radio-styles.scss diff --git a/radio/lib/radio.ts b/radio/internal/radio.ts similarity index 100% rename from radio/lib/radio.ts rename to radio/internal/radio.ts diff --git a/radio/lib/single-selection-controller.ts b/radio/internal/single-selection-controller.ts similarity index 100% rename from radio/lib/single-selection-controller.ts rename to radio/internal/single-selection-controller.ts diff --git a/radio/radio.ts b/radio/radio.ts index 2aee7077cb..1eabfd3c65 100644 --- a/radio/radio.ts +++ b/radio/radio.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {styles as forcedColorsStyles} from './lib/forced-colors-styles.css.js'; -import {Radio} from './lib/radio.js'; -import {styles} from './lib/radio-styles.css.js'; +import {styles as forcedColorsStyles} from './internal/forced-colors-styles.css.js'; +import {Radio} from './internal/radio.js'; +import {styles} from './internal/radio-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/ripple/_ripple.scss b/ripple/_ripple.scss index b352f0cde5..29623c48ea 100644 --- a/ripple/_ripple.scss +++ b/ripple/_ripple.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/ripple' show theme; +@forward './internal/ripple' show theme; diff --git a/ripple/lib/_ripple.scss b/ripple/internal/_ripple.scss similarity index 100% rename from ripple/lib/_ripple.scss rename to ripple/internal/_ripple.scss diff --git a/ripple/lib/ripple-styles.scss b/ripple/internal/ripple-styles.scss similarity index 100% rename from ripple/lib/ripple-styles.scss rename to ripple/internal/ripple-styles.scss diff --git a/ripple/lib/ripple.ts b/ripple/internal/ripple.ts similarity index 100% rename from ripple/lib/ripple.ts rename to ripple/internal/ripple.ts diff --git a/ripple/lib/ripple_test.ts b/ripple/internal/ripple_test.ts similarity index 100% rename from ripple/lib/ripple_test.ts rename to ripple/internal/ripple_test.ts diff --git a/ripple/ripple.ts b/ripple/ripple.ts index cb7f587b1b..7a446de51d 100644 --- a/ripple/ripple.ts +++ b/ripple/ripple.ts @@ -6,8 +6,8 @@ import {customElement} from 'lit/decorators.js'; -import {Ripple} from './lib/ripple.js'; -import {styles} from './lib/ripple-styles.css.js'; +import {Ripple} from './internal/ripple.js'; +import {styles} from './internal/ripple-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/select/_filled-select.scss b/select/_filled-select.scss index 42dd6d7797..d5f6cd1a58 100644 --- a/select/_filled-select.scss +++ b/select/_filled-select.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/filled-select' show theme; +@forward './internal/filled-select' show theme; diff --git a/select/_outlined-select.scss b/select/_outlined-select.scss index a05d39250e..5af14e1464 100644 --- a/select/_outlined-select.scss +++ b/select/_outlined-select.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/outlined-select' show theme; +@forward './internal/outlined-select' show theme; diff --git a/select/filled-select.ts b/select/filled-select.ts index 157021a6d4..6bcd1baa10 100644 --- a/select/filled-select.ts +++ b/select/filled-select.ts @@ -6,10 +6,10 @@ import {customElement} from 'lit/decorators.js'; -import {styles as filledForcedColorsStyles} from './lib/filled-forced-colors-styles.css.js'; -import {FilledSelect} from './lib/filled-select.js'; -import {styles} from './lib/filled-select-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {styles as filledForcedColorsStyles} from './internal/filled-forced-colors-styles.css.js'; +import {FilledSelect} from './internal/filled-select.js'; +import {styles} from './internal/filled-select-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/select/harness.ts b/select/harness.ts index 8f2bce1ef1..e2e364d0cd 100644 --- a/select/harness.ts +++ b/select/harness.ts @@ -10,8 +10,8 @@ import {FieldHarness} from '../field/harness.js'; import {Field} from '../field/internal/field.js'; import {Harness} from '../testing/harness.js'; -import {Select} from './lib/select.js'; -import {SelectOptionHarness} from './lib/selectoption/harness.js'; +import {Select} from './internal/select.js'; +import {SelectOptionHarness} from './internal/selectoption/harness.js'; /** * Test harness for menu. diff --git a/select/lib/_filled-select.scss b/select/internal/_filled-select.scss similarity index 100% rename from select/lib/_filled-select.scss rename to select/internal/_filled-select.scss diff --git a/select/lib/_outlined-select.scss b/select/internal/_outlined-select.scss similarity index 100% rename from select/lib/_outlined-select.scss rename to select/internal/_outlined-select.scss diff --git a/select/lib/_shared.scss b/select/internal/_shared.scss similarity index 100% rename from select/lib/_shared.scss rename to select/internal/_shared.scss diff --git a/select/lib/filled-forced-colors-styles.scss b/select/internal/filled-forced-colors-styles.scss similarity index 100% rename from select/lib/filled-forced-colors-styles.scss rename to select/internal/filled-forced-colors-styles.scss diff --git a/select/lib/filled-select-styles.scss b/select/internal/filled-select-styles.scss similarity index 100% rename from select/lib/filled-select-styles.scss rename to select/internal/filled-select-styles.scss diff --git a/select/lib/filled-select.ts b/select/internal/filled-select.ts similarity index 100% rename from select/lib/filled-select.ts rename to select/internal/filled-select.ts diff --git a/select/lib/outlined-forced-colors-styles.scss b/select/internal/outlined-forced-colors-styles.scss similarity index 100% rename from select/lib/outlined-forced-colors-styles.scss rename to select/internal/outlined-forced-colors-styles.scss diff --git a/select/lib/outlined-select-styles.scss b/select/internal/outlined-select-styles.scss similarity index 100% rename from select/lib/outlined-select-styles.scss rename to select/internal/outlined-select-styles.scss diff --git a/select/lib/outlined-select.ts b/select/internal/outlined-select.ts similarity index 100% rename from select/lib/outlined-select.ts rename to select/internal/outlined-select.ts diff --git a/select/lib/select.ts b/select/internal/select.ts similarity index 100% rename from select/lib/select.ts rename to select/internal/select.ts diff --git a/select/lib/selectoption/harness.ts b/select/internal/selectoption/harness.ts similarity index 100% rename from select/lib/selectoption/harness.ts rename to select/internal/selectoption/harness.ts diff --git a/select/lib/selectoption/select-option.ts b/select/internal/selectoption/select-option.ts similarity index 100% rename from select/lib/selectoption/select-option.ts rename to select/internal/selectoption/select-option.ts diff --git a/select/lib/shared-styles.scss b/select/internal/shared-styles.scss similarity index 100% rename from select/lib/shared-styles.scss rename to select/internal/shared-styles.scss diff --git a/select/lib/shared.ts b/select/internal/shared.ts similarity index 100% rename from select/lib/shared.ts rename to select/internal/shared.ts diff --git a/select/outlined-select.ts b/select/outlined-select.ts index 2ddae2b431..05b25e8f80 100644 --- a/select/outlined-select.ts +++ b/select/outlined-select.ts @@ -6,10 +6,10 @@ import {customElement} from 'lit/decorators.js'; -import {styles as outlinedForcedColorsStyles} from './lib/outlined-forced-colors-styles.css.js'; -import {OutlinedSelect} from './lib/outlined-select.js'; -import {styles} from './lib/outlined-select-styles.css.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {styles as outlinedForcedColorsStyles} from './internal/outlined-forced-colors-styles.css.js'; +import {OutlinedSelect} from './internal/outlined-select.js'; +import {styles} from './internal/outlined-select-styles.css.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/select/select-option.ts b/select/select-option.ts index f6196cb268..7b3c252f31 100644 --- a/select/select-option.ts +++ b/select/select-option.ts @@ -12,7 +12,7 @@ import {styles as forcedColorsStyles} from '../menu/internal/menuitem/forced-col import {styles} from '../menu/internal/menuitem/menu-item-styles.css.js'; // TODO(b/236285090): update with HCM best practices -import {SelectOptionEl} from './lib/selectoption/select-option.js'; +import {SelectOptionEl} from './internal/selectoption/select-option.js'; declare global { interface HTMLElementTagNameMap { diff --git a/slider/_slider.scss b/slider/_slider.scss index a43959d424..052eb44d87 100644 --- a/slider/_slider.scss +++ b/slider/_slider.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/slider' show theme; +@forward './internal/slider' show theme; diff --git a/slider/harness.ts b/slider/harness.ts index 24134d92db..59215c3399 100644 --- a/slider/harness.ts +++ b/slider/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {Slider} from './lib/slider.js'; +import {Slider} from './internal/slider.js'; /** * Test harness for slider. diff --git a/slider/lib/_slider.scss b/slider/internal/_slider.scss similarity index 100% rename from slider/lib/_slider.scss rename to slider/internal/_slider.scss diff --git a/slider/lib/forced-colors-styles.scss b/slider/internal/forced-colors-styles.scss similarity index 100% rename from slider/lib/forced-colors-styles.scss rename to slider/internal/forced-colors-styles.scss diff --git a/slider/lib/slider-styles.scss b/slider/internal/slider-styles.scss similarity index 100% rename from slider/lib/slider-styles.scss rename to slider/internal/slider-styles.scss diff --git a/slider/lib/slider.ts b/slider/internal/slider.ts similarity index 100% rename from slider/lib/slider.ts rename to slider/internal/slider.ts diff --git a/slider/slider.ts b/slider/slider.ts index 1ebc475933..dd20bf09b4 100644 --- a/slider/slider.ts +++ b/slider/slider.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {styles as forcedColorsStyles} from './lib/forced-colors-styles.css.js'; -import {Slider} from './lib/slider.js'; -import {styles} from './lib/slider-styles.css.js'; +import {styles as forcedColorsStyles} from './internal/forced-colors-styles.css.js'; +import {Slider} from './internal/slider.js'; +import {styles} from './internal/slider-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/switch/_switch.scss b/switch/_switch.scss index f3cc7b6ec2..bc50d9781d 100644 --- a/switch/_switch.scss +++ b/switch/_switch.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/switch' show theme; +@forward './internal/switch' show theme; diff --git a/switch/harness.ts b/switch/harness.ts index 94a3bd4790..8b424ce65d 100644 --- a/switch/harness.ts +++ b/switch/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {Switch} from './lib/switch.js'; +import {Switch} from './internal/switch.js'; /** * Test harness for switch elements. diff --git a/switch/lib/README.md b/switch/internal/README.md similarity index 100% rename from switch/lib/README.md rename to switch/internal/README.md diff --git a/switch/lib/_handle.scss b/switch/internal/_handle.scss similarity index 100% rename from switch/lib/_handle.scss rename to switch/internal/_handle.scss diff --git a/switch/lib/_icon.scss b/switch/internal/_icon.scss similarity index 100% rename from switch/lib/_icon.scss rename to switch/internal/_icon.scss diff --git a/switch/lib/_switch.scss b/switch/internal/_switch.scss similarity index 100% rename from switch/lib/_switch.scss rename to switch/internal/_switch.scss diff --git a/switch/lib/_track.scss b/switch/internal/_track.scss similarity index 100% rename from switch/lib/_track.scss rename to switch/internal/_track.scss diff --git a/switch/lib/forced-colors-styles.scss b/switch/internal/forced-colors-styles.scss similarity index 100% rename from switch/lib/forced-colors-styles.scss rename to switch/internal/forced-colors-styles.scss diff --git a/switch/lib/switch-styles.scss b/switch/internal/switch-styles.scss similarity index 100% rename from switch/lib/switch-styles.scss rename to switch/internal/switch-styles.scss diff --git a/switch/lib/switch.ts b/switch/internal/switch.ts similarity index 100% rename from switch/lib/switch.ts rename to switch/internal/switch.ts diff --git a/switch/lib/switch_test.ts b/switch/internal/switch_test.ts similarity index 100% rename from switch/lib/switch_test.ts rename to switch/internal/switch_test.ts diff --git a/switch/switch.ts b/switch/switch.ts index 90e1782994..3e3bda8979 100644 --- a/switch/switch.ts +++ b/switch/switch.ts @@ -6,9 +6,9 @@ import {customElement} from 'lit/decorators.js'; -import {styles as forcedColorsStyles} from './lib/forced-colors-styles.css.js'; -import {Switch} from './lib/switch.js'; -import {styles} from './lib/switch-styles.css.js'; +import {styles as forcedColorsStyles} from './internal/forced-colors-styles.css.js'; +import {Switch} from './internal/switch.js'; +import {styles} from './internal/switch-styles.css.js'; declare global { interface HTMLElementTagNameMap { diff --git a/tabs/_tab.scss b/tabs/_tab.scss index 8709ac7412..952b5054ab 100644 --- a/tabs/_tab.scss +++ b/tabs/_tab.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/tab' show theme; +@forward './internal/tab' show theme; diff --git a/tabs/harness.ts b/tabs/harness.ts index b85f7d69c2..bf97d7c3ae 100644 --- a/tabs/harness.ts +++ b/tabs/harness.ts @@ -6,8 +6,8 @@ import {ElementWithHarness, Harness} from '../testing/harness.js'; -import {Tab} from './lib/tab.js'; -import {Tabs} from './lib/tabs.js'; +import {Tab} from './internal/tab.js'; +import {Tabs} from './internal/tabs.js'; /** * Test harness for Tab. diff --git a/tabs/lib/_tab.scss b/tabs/internal/_tab.scss similarity index 100% rename from tabs/lib/_tab.scss rename to tabs/internal/_tab.scss diff --git a/tabs/lib/_tabs.scss b/tabs/internal/_tabs.scss similarity index 100% rename from tabs/lib/_tabs.scss rename to tabs/internal/_tabs.scss diff --git a/tabs/lib/tab-styles.scss b/tabs/internal/tab-styles.scss similarity index 100% rename from tabs/lib/tab-styles.scss rename to tabs/internal/tab-styles.scss diff --git a/tabs/lib/tab.ts b/tabs/internal/tab.ts similarity index 100% rename from tabs/lib/tab.ts rename to tabs/internal/tab.ts diff --git a/tabs/lib/tabs-styles.scss b/tabs/internal/tabs-styles.scss similarity index 100% rename from tabs/lib/tabs-styles.scss rename to tabs/internal/tabs-styles.scss diff --git a/tabs/lib/tabs.ts b/tabs/internal/tabs.ts similarity index 100% rename from tabs/lib/tabs.ts rename to tabs/internal/tabs.ts diff --git a/tabs/tab.ts b/tabs/tab.ts index a8222b2f95..c53b632357 100644 --- a/tabs/tab.ts +++ b/tabs/tab.ts @@ -6,10 +6,10 @@ import {customElement} from 'lit/decorators.js'; -import {Tab} from './lib/tab.js'; -import {styles} from './lib/tab-styles.css.js'; +import {Tab} from './internal/tab.js'; +import {styles} from './internal/tab-styles.css.js'; -export {TabVariant} from './lib/tab.js'; +export {TabVariant} from './internal/tab.js'; declare global { interface HTMLElementTagNameMap { diff --git a/tabs/tabs.ts b/tabs/tabs.ts index eb81aaaac5..0db9a84f50 100644 --- a/tabs/tabs.ts +++ b/tabs/tabs.ts @@ -8,8 +8,8 @@ import './tab.js'; import {customElement} from 'lit/decorators.js'; -import {Tabs} from './lib/tabs.js'; -import {styles} from './lib/tabs-styles.css.js'; +import {Tabs} from './internal/tabs.js'; +import {styles} from './internal/tabs-styles.css.js'; export {MdTab, TabVariant} from './tab.js'; diff --git a/testing/table/_test-table.scss b/testing/table/_test-table.scss index b73f478dc2..9e6289c337 100644 --- a/testing/table/_test-table.scss +++ b/testing/table/_test-table.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/test-table' show theme; +@forward './internal/test-table' show theme; diff --git a/testing/table/lib/_test-table.scss b/testing/table/internal/_test-table.scss similarity index 100% rename from testing/table/lib/_test-table.scss rename to testing/table/internal/_test-table.scss diff --git a/testing/table/lib/test-table-styles.scss b/testing/table/internal/test-table-styles.scss similarity index 100% rename from testing/table/lib/test-table-styles.scss rename to testing/table/internal/test-table-styles.scss diff --git a/testing/table/lib/test-table.ts b/testing/table/internal/test-table.ts similarity index 100% rename from testing/table/lib/test-table.ts rename to testing/table/internal/test-table.ts diff --git a/testing/table/lib/test-table_test.ts b/testing/table/internal/test-table_test.ts similarity index 100% rename from testing/table/lib/test-table_test.ts rename to testing/table/internal/test-table_test.ts diff --git a/testing/table/test-table.ts b/testing/table/test-table.ts index e2a0d95e89..74c4103fda 100644 --- a/testing/table/test-table.ts +++ b/testing/table/test-table.ts @@ -6,10 +6,10 @@ import {customElement} from 'lit/decorators.js'; -import {TestTable} from './lib/test-table.js'; -import {styles as testTableStyles} from './lib/test-table-styles.css.js'; +import {TestTable} from './internal/test-table.js'; +import {styles as testTableStyles} from './internal/test-table-styles.css.js'; -export {TestTableTemplate} from './lib/test-table.js'; +export {TestTableTemplate} from './internal/test-table.js'; declare global { interface HTMLElementTagNameMap { diff --git a/textfield/_filled-text-field.scss b/textfield/_filled-text-field.scss index 4719e26095..50a5259c0f 100644 --- a/textfield/_filled-text-field.scss +++ b/textfield/_filled-text-field.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/filled-text-field' show theme; +@forward './internal/filled-text-field' show theme; diff --git a/textfield/_outlined-text-field.scss b/textfield/_outlined-text-field.scss index 708489621d..141fdb5819 100644 --- a/textfield/_outlined-text-field.scss +++ b/textfield/_outlined-text-field.scss @@ -3,4 +3,4 @@ // SPDX-License-Identifier: Apache-2.0 // -@forward './lib/outlined-text-field' show theme; +@forward './internal/outlined-text-field' show theme; diff --git a/textfield/filled-text-field.ts b/textfield/filled-text-field.ts index 42fdfe2ab8..4b1a3a84f8 100644 --- a/textfield/filled-text-field.ts +++ b/textfield/filled-text-field.ts @@ -9,12 +9,12 @@ import '../field/filled-field.js'; import {customElement} from 'lit/decorators.js'; import {literal} from 'lit/static-html.js'; -import {styles as filledForcedColorsStyles} from './lib/filled-forced-colors-styles.css.js'; -import {styles as filledStyles} from './lib/filled-styles.css.js'; -import {FilledTextField} from './lib/filled-text-field.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {styles as filledForcedColorsStyles} from './internal/filled-forced-colors-styles.css.js'; +import {styles as filledStyles} from './internal/filled-styles.css.js'; +import {FilledTextField} from './internal/filled-text-field.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; -export {TextFieldType} from './lib/text-field.js'; +export {TextFieldType} from './internal/text-field.js'; declare global { interface HTMLElementTagNameMap { diff --git a/textfield/harness.ts b/textfield/harness.ts index e1dfe99e90..080475eba5 100644 --- a/textfield/harness.ts +++ b/textfield/harness.ts @@ -6,7 +6,7 @@ import {Harness} from '../testing/harness.js'; -import {TextField} from './lib/text-field.js'; +import {TextField} from './internal/text-field.js'; /** * Test harness for text field elements. diff --git a/textfield/lib/_filled-text-field.scss b/textfield/internal/_filled-text-field.scss similarity index 100% rename from textfield/lib/_filled-text-field.scss rename to textfield/internal/_filled-text-field.scss diff --git a/textfield/lib/_icon.scss b/textfield/internal/_icon.scss similarity index 100% rename from textfield/lib/_icon.scss rename to textfield/internal/_icon.scss diff --git a/textfield/lib/_input.scss b/textfield/internal/_input.scss similarity index 100% rename from textfield/lib/_input.scss rename to textfield/internal/_input.scss diff --git a/textfield/lib/_outlined-text-field.scss b/textfield/internal/_outlined-text-field.scss similarity index 100% rename from textfield/lib/_outlined-text-field.scss rename to textfield/internal/_outlined-text-field.scss diff --git a/textfield/lib/_shared.scss b/textfield/internal/_shared.scss similarity index 100% rename from textfield/lib/_shared.scss rename to textfield/internal/_shared.scss diff --git a/textfield/lib/filled-forced-colors-styles.scss b/textfield/internal/filled-forced-colors-styles.scss similarity index 100% rename from textfield/lib/filled-forced-colors-styles.scss rename to textfield/internal/filled-forced-colors-styles.scss diff --git a/textfield/lib/filled-styles.scss b/textfield/internal/filled-styles.scss similarity index 100% rename from textfield/lib/filled-styles.scss rename to textfield/internal/filled-styles.scss diff --git a/textfield/lib/filled-text-field.ts b/textfield/internal/filled-text-field.ts similarity index 100% rename from textfield/lib/filled-text-field.ts rename to textfield/internal/filled-text-field.ts diff --git a/textfield/lib/outlined-forced-colors-styles.scss b/textfield/internal/outlined-forced-colors-styles.scss similarity index 100% rename from textfield/lib/outlined-forced-colors-styles.scss rename to textfield/internal/outlined-forced-colors-styles.scss diff --git a/textfield/lib/outlined-styles.scss b/textfield/internal/outlined-styles.scss similarity index 100% rename from textfield/lib/outlined-styles.scss rename to textfield/internal/outlined-styles.scss diff --git a/textfield/lib/outlined-text-field.ts b/textfield/internal/outlined-text-field.ts similarity index 100% rename from textfield/lib/outlined-text-field.ts rename to textfield/internal/outlined-text-field.ts diff --git a/textfield/lib/shared-styles.scss b/textfield/internal/shared-styles.scss similarity index 100% rename from textfield/lib/shared-styles.scss rename to textfield/internal/shared-styles.scss diff --git a/textfield/lib/text-field.ts b/textfield/internal/text-field.ts similarity index 100% rename from textfield/lib/text-field.ts rename to textfield/internal/text-field.ts diff --git a/textfield/lib/text-field_test.ts b/textfield/internal/text-field_test.ts similarity index 100% rename from textfield/lib/text-field_test.ts rename to textfield/internal/text-field_test.ts diff --git a/textfield/outlined-text-field.ts b/textfield/outlined-text-field.ts index fab6f5db0e..3f48c28706 100644 --- a/textfield/outlined-text-field.ts +++ b/textfield/outlined-text-field.ts @@ -9,12 +9,12 @@ import '../field/outlined-field.js'; import {customElement} from 'lit/decorators.js'; import {literal} from 'lit/static-html.js'; -import {styles as outlinedForcedColorsStyles} from './lib/outlined-forced-colors-styles.css.js'; -import {styles as outlinedStyles} from './lib/outlined-styles.css.js'; -import {OutlinedTextField} from './lib/outlined-text-field.js'; -import {styles as sharedStyles} from './lib/shared-styles.css.js'; +import {styles as outlinedForcedColorsStyles} from './internal/outlined-forced-colors-styles.css.js'; +import {styles as outlinedStyles} from './internal/outlined-styles.css.js'; +import {OutlinedTextField} from './internal/outlined-text-field.js'; +import {styles as sharedStyles} from './internal/shared-styles.css.js'; -export {TextFieldType} from './lib/text-field.js'; +export {TextFieldType} from './internal/text-field.js'; declare global { interface HTMLElementTagNameMap {