diff --git a/packages/material-components-web/index.ts b/packages/material-components-web/index.ts index e9f88e34d3b..e60b4687c48 100644 --- a/packages/material-components-web/index.ts +++ b/packages/material-components-web/index.ts @@ -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'; @@ -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); @@ -106,6 +108,7 @@ export { notchedOutline, radio, ripple, + segmentedButton, select, slider, snackbar, diff --git a/packages/material-components-web/material-components-web.scss b/packages/material-components-web/material-components-web.scss index 8a41689ff3a..c6f7cce36ca 100644 --- a/packages/material-components-web/material-components-web.scss +++ b/packages/material-components-web/material-components-web.scss @@ -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'; diff --git a/packages/material-components-web/package.json b/packages/material-components-web/package.json index 92ee07e661d..fd21ddb572c 100644 --- a/packages/material-components-web/package.json +++ b/packages/material-components-web/package.json @@ -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",