-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add component convenience bundles
PiperOrigin-RevId: 549723539
- Loading branch information
1 parent
ec02fe4
commit ae407b0
Showing
12 changed files
with
208 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/** | ||
* @license | ||
* Copyright 2023 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview A convenience bundle import that includes all components. | ||
* | ||
* WARNING: This import is intended for prototyping and development builds only. | ||
* Import only the individual components used for production. | ||
*/ | ||
|
||
// LINT.IfChange(imports) | ||
// go/keep-sorted start | ||
import './button/elevated-button.js'; | ||
import './button/filled-button.js'; | ||
import './button/outlined-button.js'; | ||
import './button/text-button.js'; | ||
import './button/tonal-button.js'; | ||
import './checkbox/checkbox.js'; | ||
import './chips/assist-chip.js'; | ||
import './chips/filter-chip.js'; | ||
import './chips/input-chip.js'; | ||
import './chips/suggestion-chip.js'; | ||
import './dialog/dialog.js'; | ||
import './divider/divider.js'; | ||
import './elevation/elevation.js'; | ||
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 './icon/icon.js'; | ||
import './iconbutton/filled-icon-button.js'; | ||
import './iconbutton/filled-tonal-icon-button.js'; | ||
import './iconbutton/outlined-icon-button.js'; | ||
import './iconbutton/standard-icon-button.js'; | ||
import './list/list.js'; | ||
import './list/list-item.js'; | ||
import './list/list-item-link.js'; | ||
import './menu/menu.js'; | ||
import './menu/menu-item.js'; | ||
import './menu/menu-item-link.js'; | ||
import './menu/sub-menu-item.js'; | ||
import './progress/circular-progress.js'; | ||
import './progress/linear-progress.js'; | ||
import './radio/radio.js'; | ||
import './ripple/ripple.js'; | ||
import './select/filled-select.js'; | ||
import './select/outlined-select.js'; | ||
import './select/select-option.js'; | ||
import './slider/slider.js'; | ||
import './switch/switch.js'; | ||
import './tabs/tab.js'; | ||
import './tabs/tabs.js'; | ||
import './textfield/filled-text-field.js'; | ||
import './textfield/outlined-text-field.js'; | ||
// go/keep-sorted end | ||
// LINT.ThenChange(:exports) | ||
|
||
// LINT.IfChange(exports) | ||
// go/keep-sorted start | ||
export * from './button/elevated-button.js'; | ||
export * from './button/filled-button.js'; | ||
export * from './button/outlined-button.js'; | ||
export * from './button/text-button.js'; | ||
export * from './button/tonal-button.js'; | ||
export * from './checkbox/checkbox.js'; | ||
export * from './chips/assist-chip.js'; | ||
export * from './chips/filter-chip.js'; | ||
export * from './chips/input-chip.js'; | ||
export * from './chips/suggestion-chip.js'; | ||
export * from './dialog/dialog.js'; | ||
export * from './divider/divider.js'; | ||
export * from './elevation/elevation.js'; | ||
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 './icon/icon.js'; | ||
export * from './iconbutton/filled-icon-button.js'; | ||
export * from './iconbutton/filled-tonal-icon-button.js'; | ||
export * from './iconbutton/outlined-icon-button.js'; | ||
export * from './iconbutton/standard-icon-button.js'; | ||
export * from './list/list.js'; | ||
export * from './list/list-item.js'; | ||
export * from './list/list-item-link.js'; | ||
export * from './menu/menu.js'; | ||
export * from './menu/menu-item.js'; | ||
export * from './menu/menu-item-link.js'; | ||
export * from './menu/sub-menu-item.js'; | ||
export * from './progress/circular-progress.js'; | ||
export * from './progress/linear-progress.js'; | ||
export * from './radio/radio.js'; | ||
export * from './ripple/ripple.js'; | ||
export * from './select/filled-select.js'; | ||
export * from './select/outlined-select.js'; | ||
export * from './select/select-option.js'; | ||
export * from './slider/slider.js'; | ||
export * from './switch/switch.js'; | ||
export * from './tabs/tab.js'; | ||
export * from './tabs/tabs.js'; | ||
export * from './textfield/filled-text-field.js'; | ||
export * from './textfield/outlined-text-field.js'; | ||
// go/keep-sorted end | ||
// LINT.ThenChange(:imports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/** | ||
* @license | ||
* Copyright 2023 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview A convenience bundle import that includes common components. | ||
* | ||
* WARNING: This import is intended for prototyping and development builds only. | ||
* It is smaller than `@material/web/all.js` and includes the most common | ||
* components for starting a project. Import only the individual components used | ||
* for production. | ||
*/ | ||
|
||
// LINT.IfChange(imports) | ||
// go/keep-sorted start | ||
import './button/filled-button.js'; | ||
import './button/outlined-button.js'; | ||
import './button/text-button.js'; | ||
import './checkbox/checkbox.js'; | ||
import './chips/assist-chip.js'; | ||
import './chips/filter-chip.js'; | ||
import './dialog/dialog.js'; | ||
import './icon/icon.js'; | ||
import './iconbutton/standard-icon-button.js'; | ||
import './list/list.js'; | ||
import './list/list-item.js'; | ||
import './list/list-item-link.js'; | ||
import './menu/menu.js'; | ||
import './menu/menu-item.js'; | ||
import './menu/menu-item-link.js'; | ||
import './menu/sub-menu-item.js'; | ||
import './progress/circular-progress.js'; | ||
import './progress/linear-progress.js'; | ||
import './radio/radio.js'; | ||
import './select/outlined-select.js'; | ||
import './select/select-option.js'; | ||
import './tabs/tab.js'; | ||
import './tabs/tabs.js'; | ||
import './textfield/outlined-text-field.js'; | ||
// go/keep-sorted end | ||
// LINT.ThenChange(:exports) | ||
|
||
// LINT.IfChange(exports) | ||
// go/keep-sorted start | ||
export * from './button/filled-button.js'; | ||
export * from './button/outlined-button.js'; | ||
export * from './button/text-button.js'; | ||
export * from './checkbox/checkbox.js'; | ||
export * from './chips/assist-chip.js'; | ||
export * from './chips/filter-chip.js'; | ||
export * from './dialog/dialog.js'; | ||
export * from './icon/icon.js'; | ||
export * from './iconbutton/standard-icon-button.js'; | ||
export * from './list/list.js'; | ||
export * from './list/list-item.js'; | ||
export * from './list/list-item-link.js'; | ||
export * from './menu/menu.js'; | ||
export * from './menu/menu-item.js'; | ||
export * from './menu/menu-item-link.js'; | ||
export * from './menu/sub-menu-item.js'; | ||
export * from './progress/circular-progress.js'; | ||
export * from './progress/linear-progress.js'; | ||
export * from './radio/radio.js'; | ||
export * from './select/outlined-select.js'; | ||
export * from './select/select-option.js'; | ||
export * from './tabs/tab.js'; | ||
export * from './tabs/tabs.js'; | ||
export * from './textfield/outlined-text-field.js'; | ||
// go/keep-sorted end | ||
// LINT.ThenChange(:imports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.