Skip to content

Commit

Permalink
feat(segmented-button): Add MDC segmented button into material-compon…
Browse files Browse the repository at this point in the history
…ents-web

PiperOrigin-RevId: 339468686
  • Loading branch information
abhiomkar authored and copybara-github committed Oct 28, 2020
1 parent a79cdd0 commit 596e984
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/material-components-web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import * as menu from '@material/menu/index';
import * as notchedOutline from '@material/notched-outline/index';
import * as radio from '@material/radio/index';
import * as ripple from '@material/ripple/index';
import * as segmentedButton from '@material/segmented-button/index';
import * as select from '@material/select/index';
import * as slider from '@material/slider/index';
import * as snackbar from '@material/snackbar/index';
Expand Down Expand Up @@ -74,6 +75,7 @@ autoInit.register('MDCMenuSurface', menuSurface.MDCMenuSurface);
autoInit.register('MDCNotchedOutline', notchedOutline.MDCNotchedOutline);
autoInit.register('MDCRadio', radio.MDCRadio);
autoInit.register('MDCRipple', ripple.MDCRipple);
autoInit.register('MDCSegmentedButton', segmentedButton.MDCSegmentedButton);
autoInit.register('MDCSelect', select.MDCSelect);
autoInit.register('MDCSlider', slider.MDCSlider);
autoInit.register('MDCSnackbar', snackbar.MDCSnackbar);
Expand Down Expand Up @@ -106,6 +108,7 @@ export {
notchedOutline,
radio,
ripple,
segmentedButton,
select,
slider,
snackbar,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
@use '@material/radio/mdc-radio';
@use '@material/ripple/mdc-ripple';
@use '@material/select/mdc-select';
@use '@material/segmented-button/styles' as segmented-button-styles;
@use '@material/slider/styles' as slider-styles;
@use '@material/snackbar/mdc-snackbar';
@use '@material/switch/mdc-switch';
Expand Down
1 change: 1 addition & 0 deletions packages/material-components-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@material/radio": "^7.0.0",
"@material/ripple": "^7.0.0",
"@material/rtl": "^7.0.0",
"@material/segmented-button": "^0.0.0",
"@material/select": "^7.0.0",
"@material/shape": "^7.0.0",
"@material/slider": "^7.0.0",
Expand Down

0 comments on commit 596e984

Please sign in to comment.