mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
chore(controller): move to internal
PiperOrigin-RevId: 536574896
This commit is contained in:
parent
225aba4e27
commit
b9daa95164
@ -12,9 +12,9 @@ import {property, query, queryAssignedElements} from 'lit/decorators.js';
|
||||
import {classMap} from 'lit/directives/class-map.js';
|
||||
import {html as staticHtml, literal} from 'lit/static-html.js';
|
||||
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../controller/events.js';
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../internal/controller/events.js';
|
||||
|
||||
/**
|
||||
* A button component.
|
||||
|
@ -13,7 +13,7 @@ import {classMap} from 'lit/directives/class-map.js';
|
||||
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../controller/events.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../internal/controller/events.js';
|
||||
|
||||
/**
|
||||
* A checkbox component.
|
||||
|
@ -7,7 +7,7 @@
|
||||
import {LitElement} from 'lit';
|
||||
import {property} from 'lit/decorators.js';
|
||||
|
||||
import {Attachable, AttachableController} from '../../controller/attachable-controller.js';
|
||||
import {Attachable, AttachableController} from '../../internal/controller/attachable-controller.js';
|
||||
|
||||
/**
|
||||
* Events that the focus ring listens to.
|
||||
|
@ -10,7 +10,7 @@ import '@material/web/iconbutton/filled-tonal-icon-button.js';
|
||||
import '@material/web/iconbutton/outlined-icon-button.js';
|
||||
import '@material/web/iconbutton/standard-icon-button.js';
|
||||
|
||||
import {isRtl} from '@material/web/controller/is-rtl.js';
|
||||
import {isRtl} from '@material/web/internal/controller/is-rtl.js';
|
||||
import {MaterialStoryInit} from './material-collection.js';
|
||||
import {html, nothing} from 'lit';
|
||||
import {ref} from 'lit/directives/ref.js';
|
||||
|
@ -14,7 +14,7 @@ import {html as staticHtml, literal} from 'lit/static-html.js';
|
||||
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {isRtl} from '../../controller/is-rtl.js';
|
||||
import {isRtl} from '../../internal/controller/is-rtl.js';
|
||||
|
||||
type LinkTarget = '_blank'|'_parent'|'_self'|'_top';
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
import {html, LitElement, TemplateResult} from 'lit';
|
||||
import {customElement, property, query} from 'lit/decorators.js';
|
||||
|
||||
import {Environment} from '../testing/environment.js';
|
||||
import {Harness} from '../testing/harness.js';
|
||||
import {Environment} from '../../testing/environment.js';
|
||||
import {Harness} from '../../testing/harness.js';
|
||||
|
||||
import {dispatchActivationClick, isActivationClick} from './events.js';
|
||||
import {FormController, FormElement, getFormValue} from './form-controller.js';
|
@ -9,9 +9,9 @@ import '../../../elevation/elevation.js';
|
||||
import {html, LitElement, nothing, PropertyValues} from 'lit';
|
||||
import {property, queryAssignedElements} from 'lit/decorators.js';
|
||||
|
||||
import {isRtl} from '../../../controller/is-rtl.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 {NavigationTabInteractionEvent} from './constants.js';
|
||||
|
@ -12,7 +12,7 @@ import {property, query} from 'lit/decorators.js';
|
||||
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../controller/events.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../internal/controller/events.js';
|
||||
|
||||
import {SingleSelectionController} from './single-selection-controller.js';
|
||||
|
||||
|
@ -8,7 +8,7 @@ import {html, LitElement, PropertyValues} from 'lit';
|
||||
import {property, query, state} from 'lit/decorators.js';
|
||||
import {classMap} from 'lit/directives/class-map.js';
|
||||
|
||||
import {Attachable, AttachableController} from '../../controller/attachable-controller.js';
|
||||
import {Attachable, AttachableController} from '../../internal/controller/attachable-controller.js';
|
||||
import {EASING} from '../../internal/motion/animation.js';
|
||||
|
||||
const PRESS_GROW_MS = 450;
|
||||
|
@ -14,13 +14,14 @@ import {classMap} from 'lit/directives/class-map.js';
|
||||
import {styleMap} from 'lit/directives/style-map.js';
|
||||
import {when} from 'lit/directives/when.js';
|
||||
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../controller/events.js';
|
||||
import {FormController, getFormValue} from '../../controller/form-controller.js';
|
||||
import {stringConverter} from '../../controller/string-converter.js';
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick, redispatchEvent} from '../../internal/controller/events.js';
|
||||
import {FormController, getFormValue} from '../../internal/controller/form-controller.js';
|
||||
import {stringConverter} from '../../internal/controller/string-converter.js';
|
||||
import {MdRipple} from '../../ripple/ripple.js';
|
||||
|
||||
|
||||
// Disable warning for classMap with destructuring
|
||||
// tslint:disable:quoted-properties-on-dictionary
|
||||
|
||||
|
@ -12,7 +12,7 @@ import {property, query} from 'lit/decorators.js';
|
||||
import {ClassInfo, classMap} from 'lit/directives/class-map.js';
|
||||
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick} from '../../controller/events.js';
|
||||
import {dispatchActivationClick, isActivationClick} from '../../internal/controller/events.js';
|
||||
|
||||
/**
|
||||
* @fires input {InputEvent} Fired whenever `selected` changes due to user
|
||||
|
@ -13,7 +13,7 @@ import {property, query} from 'lit/decorators.js';
|
||||
import {classMap} from 'lit/directives/class-map.js';
|
||||
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {dispatchActivationClick, isActivationClick} from '../../controller/events.js';
|
||||
import {dispatchActivationClick, isActivationClick} from '../../internal/controller/events.js';
|
||||
|
||||
/**
|
||||
* An element that can select items.
|
||||
|
@ -13,9 +13,9 @@ import {html as staticHtml, StaticValue} from 'lit/static-html.js';
|
||||
|
||||
import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {redispatchEvent} from '../../controller/events.js';
|
||||
import {FormController, getFormValue} from '../../controller/form-controller.js';
|
||||
import {stringConverter} from '../../controller/string-converter.js';
|
||||
import {redispatchEvent} from '../../internal/controller/events.js';
|
||||
import {FormController, getFormValue} from '../../internal/controller/form-controller.js';
|
||||
import {stringConverter} from '../../internal/controller/string-converter.js';
|
||||
|
||||
/**
|
||||
* Input types that are compatible with the text field.
|
||||
|
Loading…
Reference in New Issue
Block a user