Skip to content

Commit

Permalink
fix(chips)!: rename "lib" directory to "internal"
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Rename `@material/web/chips/lib` to `@material/web/chips/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550044106
  • Loading branch information
AndrewJakubowicz authored and copybara-github committed Jul 21, 2023
1 parent 0432e6d commit a8880f7
Show file tree
Hide file tree
Showing 46 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion chips/_assist-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/assist-chip' show theme;
@forward './internal/assist-chip' show theme;
2 changes: 1 addition & 1 deletion chips/_filter-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/filter-chip' show theme;
@forward './internal/filter-chip' show theme;
2 changes: 1 addition & 1 deletion chips/_input-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/input-chip' show theme;
@forward './internal/input-chip' show theme;
2 changes: 1 addition & 1 deletion chips/_suggestion-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// SPDX-License-Identifier: Apache-2.0
//

@forward './lib/suggestion-chip' show theme;
@forward './internal/suggestion-chip' show theme;
10 changes: 5 additions & 5 deletions chips/assist-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import {customElement} from 'lit/decorators.js';

import {AssistChip} from './lib/assist-chip.js';
import {styles as forcedColorsStyles} from './lib/assist-forced-colors-styles.css.js';
import {styles} from './lib/assist-styles.css.js';
import {styles as elevatedStyles} from './lib/elevated-styles.css.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {AssistChip} from './internal/assist-chip.js';
import {styles as forcedColorsStyles} from './internal/assist-forced-colors-styles.css.js';
import {styles} from './internal/assist-styles.css.js';
import {styles as elevatedStyles} from './internal/elevated-styles.css.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
4 changes: 2 additions & 2 deletions chips/chip-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import {customElement} from 'lit/decorators.js';

import {ChipSet} from './lib/chip-set.js';
import {styles} from './lib/chip-set-styles.css.js';
import {ChipSet} from './internal/chip-set.js';
import {styles} from './internal/chip-set-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
14 changes: 7 additions & 7 deletions chips/filter-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

import {customElement} from 'lit/decorators.js';

import {styles as elevatedStyles} from './lib/elevated-styles.css.js';
import {FilterChip} from './lib/filter-chip.js';
import {styles as forcedColorsStyles} from './lib/filter-forced-colors-styles.css.js';
import {styles} from './lib/filter-styles.css.js';
import {styles as selectableStyles} from './lib/selectable-styles.css.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {styles as trailingIconStyles} from './lib/trailing-icon-styles.css.js';
import {styles as elevatedStyles} from './internal/elevated-styles.css.js';
import {FilterChip} from './internal/filter-chip.js';
import {styles as forcedColorsStyles} from './internal/filter-forced-colors-styles.css.js';
import {styles} from './internal/filter-styles.css.js';
import {styles as selectableStyles} from './internal/selectable-styles.css.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';
import {styles as trailingIconStyles} from './internal/trailing-icon-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
2 changes: 1 addition & 1 deletion chips/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import {Harness} from '../testing/harness.js';

import {Chip} from './lib/chip.js';
import {Chip} from './internal/chip.js';

/**
* Test harness for chips.
Expand Down
12 changes: 6 additions & 6 deletions chips/input-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

import {customElement} from 'lit/decorators.js';

import {InputChip} from './lib/input-chip.js';
import {styles as forcedColorsStyles} from './lib/input-forced-colors-styles.css.js';
import {styles} from './lib/input-styles.css.js';
import {styles as selectableStyles} from './lib/selectable-styles.css.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {styles as trailingIconStyles} from './lib/trailing-icon-styles.css.js';
import {InputChip} from './internal/input-chip.js';
import {styles as forcedColorsStyles} from './internal/input-forced-colors-styles.css.js';
import {styles} from './internal/input-styles.css.js';
import {styles as selectableStyles} from './internal/selectable-styles.css.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';
import {styles as trailingIconStyles} from './internal/trailing-icon-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions chips/suggestion-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import {customElement} from 'lit/decorators.js';

import {styles as elevatedStyles} from './lib/elevated-styles.css.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {SuggestionChip} from './lib/suggestion-chip.js';
import {styles as forcedColorsStyles} from './lib/suggestion-forced-colors-styles.css.js';
import {styles} from './lib/suggestion-styles.css.js';
import {styles as elevatedStyles} from './internal/elevated-styles.css.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';
import {SuggestionChip} from './internal/suggestion-chip.js';
import {styles as forcedColorsStyles} from './internal/suggestion-forced-colors-styles.css.js';
import {styles} from './internal/suggestion-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down

0 comments on commit a8880f7

Please sign in to comment.