mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
fix(field)!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/field/lib` to `@material/web/field/internal`. Prefer not using internal files. PiperOrigin-RevId: 550049784
This commit is contained in:
parent
7fc17c99c9
commit
dac3639721
@ -3,4 +3,4 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
@forward './lib/filled-field' show theme;
|
||||
@forward './internal/filled-field' show theme;
|
||||
|
@ -3,4 +3,4 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
@forward './lib/outlined-field' show theme;
|
||||
@forward './internal/outlined-field' show theme;
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
import {customElement} from 'lit/decorators.js';
|
||||
|
||||
import {FilledField} from './lib/filled-field.js';
|
||||
import {styles as filledStyles} from './lib/filled-styles.css.js';
|
||||
import {styles as sharedStyles} from './lib/shared-styles.css.js';
|
||||
import {FilledField} from './internal/filled-field.js';
|
||||
import {styles as filledStyles} from './internal/filled-styles.css.js';
|
||||
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
import {Harness} from '../testing/harness.js';
|
||||
|
||||
import {Field} from './lib/field.js';
|
||||
import {Field} from './internal/field.js';
|
||||
|
||||
/**
|
||||
* Test harness for field elements.
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
import {customElement} from 'lit/decorators.js';
|
||||
|
||||
import {OutlinedField} from './lib/outlined-field.js';
|
||||
import {styles as outlinedStyles} from './lib/outlined-styles.css.js';
|
||||
import {styles as sharedStyles} from './lib/shared-styles.css.js';
|
||||
import {OutlinedField} from './internal/outlined-field.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 {
|
||||
|
@ -7,7 +7,7 @@
|
||||
import {LitElement} from 'lit';
|
||||
|
||||
import {FieldHarness} from '../field/harness.js';
|
||||
import {Field} from '../field/lib/field.js';
|
||||
import {Field} from '../field/internal/field.js';
|
||||
import {Harness} from '../testing/harness.js';
|
||||
|
||||
import {Select} from './lib/select.js';
|
||||
|
@ -11,7 +11,7 @@ import {property, query, queryAssignedElements, state} from 'lit/decorators.js';
|
||||
import {classMap} from 'lit/directives/class-map.js';
|
||||
import {html as staticHtml, StaticValue} from 'lit/static-html.js';
|
||||
|
||||
import {Field} from '../../field/lib/field.js';
|
||||
import {Field} from '../../field/internal/field.js';
|
||||
import {List} from '../../list/lib/list.js';
|
||||
import {DEFAULT_TYPEAHEAD_BUFFER_TIME, Menu} from '../../menu/lib/menu.js';
|
||||
import {DefaultCloseMenuEvent, isElementInSubtree, isSelectableKey} from '../../menu/lib/shared.js';
|
||||
|
@ -11,7 +11,7 @@ import {live} from 'lit/directives/live.js';
|
||||
import {styleMap} from 'lit/directives/style-map.js';
|
||||
import {html as staticHtml, StaticValue} from 'lit/static-html.js';
|
||||
|
||||
import {Field} from '../../field/lib/field.js';
|
||||
import {Field} from '../../field/internal/field.js';
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {redispatchEvent} from '../../internal/controller/events.js';
|
||||
|
Loading…
Reference in New Issue
Block a user