Skip to content

Commit

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

PiperOrigin-RevId: 550579461
  • Loading branch information
AndrewJakubowicz authored and copybara-github committed Jul 24, 2023
1 parent 2147af7 commit 38b1b69
Show file tree
Hide file tree
Showing 20 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion iconbutton/_filled-icon-button.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/filled-icon-button' show theme;
@forward './internal/filled-icon-button' show theme;
2 changes: 1 addition & 1 deletion iconbutton/_filled-tonal-icon-button.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/filled-tonal-icon-button' show theme;
@forward './internal/filled-tonal-icon-button' show theme;
2 changes: 1 addition & 1 deletion iconbutton/_outlined-icon-button.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/outlined-icon-button' show theme;
@forward './internal/outlined-icon-button' show theme;
2 changes: 1 addition & 1 deletion iconbutton/_standard-icon-button.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/standard-icon-button' show theme;
@forward './internal/standard-icon-button' show theme;
6 changes: 3 additions & 3 deletions iconbutton/filled-icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

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

import {styles} from './lib/filled-styles.css.js';
import {IconButton} from './lib/icon-button.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {styles} from './internal/filled-styles.css.js';
import {IconButton} from './internal/icon-button.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
6 changes: 3 additions & 3 deletions iconbutton/filled-tonal-icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

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

import {styles} from './lib/filled-tonal-styles.css.js';
import {IconButton} from './lib/icon-button.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {styles} from './internal/filled-tonal-styles.css.js';
import {IconButton} from './internal/icon-button.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
2 changes: 1 addition & 1 deletion iconbutton/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 {IconButton} from './lib/icon-button.js';
import {IconButton} from './internal/icon-button.js';

/**
* Test harness for icon buttons.
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.
6 changes: 3 additions & 3 deletions iconbutton/outlined-icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

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

import {IconButton} from './lib/icon-button.js';
import {styles} from './lib/outlined-styles.css.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {IconButton} from './internal/icon-button.js';
import {styles} from './internal/outlined-styles.css.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down
6 changes: 3 additions & 3 deletions iconbutton/standard-icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

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

import {IconButton} from './lib/icon-button.js';
import {styles as sharedStyles} from './lib/shared-styles.css.js';
import {styles} from './lib/standard-styles.css.js';
import {IconButton} from './internal/icon-button.js';
import {styles as sharedStyles} from './internal/shared-styles.css.js';
import {styles} from './internal/standard-styles.css.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down

0 comments on commit 38b1b69

Please sign in to comment.