mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
chore: use import and export types
PiperOrigin-RevId: 599338980
This commit is contained in:
parent
042b4aadfd
commit
4b4c373a6b
@ -14,7 +14,7 @@ import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {
|
||||
FormSubmitter,
|
||||
FormSubmitterType,
|
||||
type FormSubmitterType,
|
||||
setupFormSubmitter,
|
||||
} from '../../internal/controller/form-submitter.js';
|
||||
import {
|
||||
|
@ -11,7 +11,7 @@ import {styles} from './internal/fab-branded-styles.css.js';
|
||||
import {styles as forcedColors} from './internal/forced-colors-styles.css.js';
|
||||
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
||||
|
||||
export {FabSize} from './internal/shared.js';
|
||||
export {type FabSize} from './internal/shared.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -11,8 +11,8 @@ import {styles} from './internal/fab-styles.css.js';
|
||||
import {styles as forcedColors} from './internal/forced-colors-styles.css.js';
|
||||
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
||||
|
||||
export {FabVariant} from './internal/fab.js';
|
||||
export {FabSize} from './internal/shared.js';
|
||||
export {type FabVariant} from './internal/fab.js';
|
||||
export {type FabSize} from './internal/shared.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -16,7 +16,7 @@ import {ARIAMixinStrict} from '../../internal/aria/aria.js';
|
||||
import {requestUpdateOnAriaChange} from '../../internal/aria/delegate.js';
|
||||
import {
|
||||
FormSubmitter,
|
||||
FormSubmitterType,
|
||||
type FormSubmitterType,
|
||||
setupFormSubmitter,
|
||||
} from '../../internal/controller/form-submitter.js';
|
||||
import {isRtl} from '../../internal/controller/is-rtl.js';
|
||||
|
@ -9,7 +9,7 @@ import {customElement} from 'lit/decorators.js';
|
||||
import {ListItemEl as ListItem} from './internal/listitem/list-item.js';
|
||||
import {styles} from './internal/listitem/list-item-styles.css.js';
|
||||
|
||||
export {ListItemType} from './internal/listitem/list-item.js';
|
||||
export {type ListItemType} from './internal/listitem/list-item.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -23,7 +23,7 @@ import {requestUpdateOnAriaChange} from '../../../internal/aria/delegate.js';
|
||||
import {
|
||||
MenuItem,
|
||||
MenuItemController,
|
||||
MenuItemType,
|
||||
type MenuItemType,
|
||||
} from '../controllers/menuItemController.js';
|
||||
|
||||
/**
|
||||
|
@ -9,8 +9,8 @@ import {customElement} from 'lit/decorators.js';
|
||||
import {MenuItemEl} from './internal/menuitem/menu-item.js';
|
||||
import {styles} from './internal/menuitem/menu-item-styles.css.js';
|
||||
|
||||
export {MenuItem} from './internal/controllers/menuItemController.js';
|
||||
export {CloseMenuEvent} from './internal/controllers/shared.js';
|
||||
export {type MenuItem} from './internal/controllers/menuItemController.js';
|
||||
export {type CloseMenuEvent} from './internal/controllers/shared.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -9,9 +9,9 @@ import {customElement} from 'lit/decorators.js';
|
||||
import {Menu} from './internal/menu.js';
|
||||
import {styles} from './internal/menu-styles.css.js';
|
||||
|
||||
export {ListItem} from '../list/internal/list-navigation-helpers.js';
|
||||
export {MenuItem} from './internal/controllers/menuItemController.js';
|
||||
export {CloseMenuEvent, FocusState, Menu} from './internal/controllers/shared.js';
|
||||
export {type ListItem} from '../list/internal/list-navigation-helpers.js';
|
||||
export {type MenuItem} from './internal/controllers/menuItemController.js';
|
||||
export {type CloseMenuEvent, FocusState, type Menu} from './internal/controllers/shared.js';
|
||||
export {Corner} from './internal/menu.js';
|
||||
|
||||
declare global {
|
||||
|
@ -11,7 +11,7 @@ import {styles} from '../menu/internal/menuitem/menu-item-styles.css.js';
|
||||
// TODO(b/236285090): update with HCM best practices
|
||||
import {SelectOptionEl} from './internal/selectoption/select-option.js';
|
||||
|
||||
export {SelectOption} from './internal/selectoption/select-option.js';
|
||||
export {type SelectOption} from './internal/selectoption/select-option.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -9,7 +9,7 @@ import {customElement} from 'lit/decorators.js';
|
||||
import {TestTable} from './internal/test-table.js';
|
||||
import {styles as testTableStyles} from './internal/test-table-styles.css.js';
|
||||
|
||||
export {TestTableTemplate} from './internal/test-table.js';
|
||||
export {type TestTableTemplate} from './internal/test-table.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -13,7 +13,7 @@ import {styles as filledStyles} from './internal/filled-styles.css.js';
|
||||
import {FilledTextField} from './internal/filled-text-field.js';
|
||||
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
||||
|
||||
export {TextFieldType} from './internal/text-field.js';
|
||||
export {type TextFieldType} from './internal/text-field.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
@ -13,7 +13,7 @@ import {styles as outlinedStyles} from './internal/outlined-styles.css.js';
|
||||
import {OutlinedTextField} from './internal/outlined-text-field.js';
|
||||
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
||||
|
||||
export {TextFieldType} from './internal/text-field.js';
|
||||
export {type TextFieldType} from './internal/text-field.js';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
Loading…
Reference in New Issue
Block a user