Skip to content

Commit

Permalink
fix(focus)!: rename import to md-focus-ring.ts
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Change `@material/web/focus/focus-ring.js` to `@material/web/focus/md-focus-ring.js`.

PiperOrigin-RevId: 550608428
  • Loading branch information
asyncLiz authored and copybara-github committed Jul 24, 2023
1 parent a8c2fa9 commit d49f9b8
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 21 deletions.
4 changes: 2 additions & 2 deletions all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import './fab/branded-fab.js';
import './fab/fab.js';
import './field/filled-field.js';
import './field/outlined-field.js';
import './focus/focus-ring.js';
import './focus/md-focus-ring.js';
import './icon/icon.js';
import './iconbutton/filled-icon-button.js';
import './iconbutton/filled-tonal-icon-button.js';
Expand Down Expand Up @@ -78,7 +78,7 @@ export * from './fab/branded-fab.js';
export * from './fab/fab.js';
export * from './field/filled-field.js';
export * from './field/outlined-field.js';
export * from './focus/focus-ring.js';
export * from './focus/md-focus-ring.js';
export * from './icon/icon.js';
export * from './iconbutton/filled-icon-button.js';
export * from './iconbutton/filled-tonal-icon-button.js';
Expand Down
2 changes: 1 addition & 1 deletion button/internal/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing, TemplateResult} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion catalog/src/components/theme-changer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import '@material/web/labs/segmentedbutton/outlined-segmented-button.js';
import '@material/web/icon/icon.js';
import './hct-slider.js';
import './copy-code-button.js';
import '@material/web/focus/focus-ring.js';
import '@material/web/focus/md-focus-ring.js';

import type {MdOutlinedSegmentedButton} from '@material/web/labs/segmentedbutton/outlined-segmented-button.js';
import {css, html, LitElement} from 'lit';
Expand Down
3 changes: 1 addition & 2 deletions catalog/src/components/top-app-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '@material/web/focus/focus-ring.js';
import '@material/web/focus/md-focus-ring.js';
import '@material/web/iconbutton/standard-icon-button.js';
import '@material/web/icon/icon.js';
import '@material/web/focus/focus-ring.js';

import type {MdStandardIconButton} from '@material/web/iconbutton/standard-icon-button.js';
import {css, html, LitElement} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion checkbox/internal/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing, PropertyValues} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion chips/internal/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, LitElement, nothing, TemplateResult} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion chips/internal/trailing-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, nothing} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion fab/internal/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import '../../elevation/elevation.js';
import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, LitElement, nothing} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion focus/demo/stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '@material/web/focus/focus-ring.js';
import '@material/web/focus/md-focus-ring.js';

import {MaterialStoryInit} from './material-collection.js';
import {css, html} from 'lit';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion focus/focus-ring_test.ts → focus/md-focus-ring_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import {createTokenTests} from '../testing/tokens.js';

import {MdFocusRing} from './focus-ring.js';
import {MdFocusRing} from './md-focus-ring.js';

describe('<md-focus-ring>', () => {
describe('.styles', () => {
Expand Down
2 changes: 1 addition & 1 deletion iconbutton/internal/icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, LitElement, nothing} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion labs/navigationtab/lib/navigation-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../../focus/focus-ring.js';
import '../../../focus/md-focus-ring.js';
import '../../../ripple/ripple.js';
import '../../badge/badge.js';

Expand Down
2 changes: 1 addition & 1 deletion labs/segmentedbutton/lib/segmented-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../../focus/focus-ring.js';
import '../../../focus/md-focus-ring.js';
import '../../../ripple/ripple.js';

import {html, LitElement, nothing, PropertyValues, TemplateResult} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion list/internal/listitem/list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import '../../../ripple/ripple.js';
import '../../../focus/focus-ring.js';
import '../../../focus/md-focus-ring.js';

import {html, LitElement, nothing, PropertyValues, TemplateResult} from 'lit';
import {property, query} from 'lit/decorators.js';
Expand Down
2 changes: 1 addition & 1 deletion menu/internal/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import '../../list/list.js';
import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../elevation/elevation.js';

import {html, isServer, LitElement, nothing} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion radio/lib/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion slider/lib/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import '../../elevation/elevation.js';
import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing, PropertyValues} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion switch/lib/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing, PropertyValues, TemplateResult} from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion tabs/lib/tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import '../../elevation/elevation.js';
import '../../focus/focus-ring.js';
import '../../focus/md-focus-ring.js';
import '../../ripple/ripple.js';

import {html, isServer, LitElement, nothing, PropertyValues} from 'lit';
Expand Down

0 comments on commit d49f9b8

Please sign in to comment.