se-material-ui 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppBar/AppBar.js +366 -0
- package/AppBar/index.js +14 -0
- package/AutoComplete/AutoComplete.js +690 -0
- package/AutoComplete/index.js +14 -0
- package/Avatar/Avatar.js +157 -0
- package/Avatar/index.js +14 -0
- package/Badge/Badge.js +161 -0
- package/Badge/index.js +14 -0
- package/BottomNavigation/BottomNavigation.js +94 -0
- package/BottomNavigation/BottomNavigationItem.js +111 -0
- package/BottomNavigation/index.js +20 -0
- package/CHANGELOG.md +2780 -0
- package/Card/Card.js +203 -0
- package/Card/CardActions.js +113 -0
- package/Card/CardExpandable.js +97 -0
- package/Card/CardHeader.js +217 -0
- package/Card/CardMedia.js +202 -0
- package/Card/CardText.js +108 -0
- package/Card/CardTitle.js +165 -0
- package/Card/index.js +45 -0
- package/Checkbox/Checkbox.js +279 -0
- package/Checkbox/index.js +14 -0
- package/Chip/Chip.js +336 -0
- package/Chip/index.js +14 -0
- package/CircularProgress/CircularProgress.js +258 -0
- package/CircularProgress/index.js +14 -0
- package/DatePicker/Calendar.js +469 -0
- package/DatePicker/CalendarActionButtons.js +94 -0
- package/DatePicker/CalendarMonth.js +160 -0
- package/DatePicker/CalendarToolbar.js +169 -0
- package/DatePicker/CalendarYear.js +179 -0
- package/DatePicker/DateDisplay.js +227 -0
- package/DatePicker/DatePicker.js +403 -0
- package/DatePicker/DatePickerDialog.js +246 -0
- package/DatePicker/DayButton.js +185 -0
- package/DatePicker/YearButton.js +148 -0
- package/DatePicker/dateUtils.js +204 -0
- package/DatePicker/index.js +14 -0
- package/Dialog/Dialog.js +595 -0
- package/Dialog/index.js +14 -0
- package/Divider/Divider.js +70 -0
- package/Divider/index.js +14 -0
- package/Drawer/Drawer.js +478 -0
- package/Drawer/index.js +14 -0
- package/DropDownMenu/DropDownMenu.js +578 -0
- package/DropDownMenu/index.js +20 -0
- package/FlatButton/FlatButton.js +332 -0
- package/FlatButton/FlatButtonLabel.js +80 -0
- package/FlatButton/index.js +14 -0
- package/FloatingActionButton/FloatingActionButton.js +378 -0
- package/FloatingActionButton/index.js +14 -0
- package/FontIcon/FontIcon.js +144 -0
- package/FontIcon/index.js +14 -0
- package/GridList/GridList.js +132 -0
- package/GridList/GridTile.js +292 -0
- package/GridList/index.js +20 -0
- package/IconButton/IconButton.js +368 -0
- package/IconButton/index.js +14 -0
- package/IconMenu/IconMenu.js +401 -0
- package/IconMenu/index.js +20 -0
- package/LICENSE +21 -0
- package/LinearProgress/LinearProgress.js +219 -0
- package/LinearProgress/index.js +14 -0
- package/List/List.js +95 -0
- package/List/ListItem.js +742 -0
- package/List/NestedList.js +53 -0
- package/List/index.js +25 -0
- package/List/makeSelectable.js +156 -0
- package/Menu/Menu.js +693 -0
- package/Menu/index.js +20 -0
- package/Menu/menuUtils.js +33 -0
- package/MenuItem/MenuItem.js +392 -0
- package/MenuItem/index.js +14 -0
- package/Paper/Paper.js +138 -0
- package/Paper/index.js +14 -0
- package/Popover/Popover.js +510 -0
- package/Popover/PopoverAnimationDefault.js +161 -0
- package/Popover/PopoverAnimationVertical.js +136 -0
- package/Popover/index.js +20 -0
- package/README.md +172 -0
- package/RadioButton/RadioButton.js +259 -0
- package/RadioButton/RadioButtonGroup.js +223 -0
- package/RadioButton/index.js +20 -0
- package/RaisedButton/RaisedButton.js +475 -0
- package/RaisedButton/index.js +14 -0
- package/RefreshIndicator/RefreshIndicator.js +400 -0
- package/RefreshIndicator/index.js +14 -0
- package/SelectField/SelectField.js +306 -0
- package/SelectField/index.js +14 -0
- package/Slider/Slider.js +867 -0
- package/Slider/index.js +14 -0
- package/Snackbar/Snackbar.js +303 -0
- package/Snackbar/SnackbarBody.js +167 -0
- package/Snackbar/index.js +14 -0
- package/Stepper/Step.js +148 -0
- package/Stepper/StepButton.js +201 -0
- package/Stepper/StepConnector.js +77 -0
- package/Stepper/StepContent.js +155 -0
- package/Stepper/StepLabel.js +191 -0
- package/Stepper/Stepper.js +148 -0
- package/Stepper/index.js +34 -0
- package/Subheader/Subheader.js +80 -0
- package/Subheader/index.js +14 -0
- package/SvgIcon/SvgIcon.js +151 -0
- package/SvgIcon/index.js +14 -0
- package/Table/Table.js +365 -0
- package/Table/TableBody.js +523 -0
- package/Table/TableFooter.js +139 -0
- package/Table/TableHeader.js +247 -0
- package/Table/TableHeaderColumn.js +188 -0
- package/Table/TableRow.js +269 -0
- package/Table/TableRowColumn.js +169 -0
- package/Table/index.js +45 -0
- package/Tabs/InkBar.js +90 -0
- package/Tabs/Tab.js +194 -0
- package/Tabs/TabTemplate.js +51 -0
- package/Tabs/Tabs.js +312 -0
- package/Tabs/index.js +20 -0
- package/TextField/EnhancedTextarea.js +243 -0
- package/TextField/TextField.js +577 -0
- package/TextField/TextFieldHint.js +80 -0
- package/TextField/TextFieldLabel.js +117 -0
- package/TextField/TextFieldUnderline.js +139 -0
- package/TextField/index.js +14 -0
- package/TimePicker/Clock.js +233 -0
- package/TimePicker/ClockHours.js +231 -0
- package/TimePicker/ClockMinutes.js +206 -0
- package/TimePicker/ClockNumber.js +130 -0
- package/TimePicker/ClockPointer.js +139 -0
- package/TimePicker/TimeDisplay.js +231 -0
- package/TimePicker/TimePicker.js +290 -0
- package/TimePicker/TimePickerDialog.js +194 -0
- package/TimePicker/index.js +14 -0
- package/TimePicker/timeUtils.js +95 -0
- package/Toggle/Toggle.js +319 -0
- package/Toggle/index.js +14 -0
- package/Toolbar/Toolbar.js +111 -0
- package/Toolbar/ToolbarGroup.js +199 -0
- package/Toolbar/ToolbarSeparator.js +92 -0
- package/Toolbar/ToolbarTitle.js +105 -0
- package/Toolbar/index.js +30 -0
- package/index.es.js +132 -0
- package/index.js +339 -0
- package/internal/AppCanvas.js +88 -0
- package/internal/AutoLockScrolling.js +113 -0
- package/internal/BeforeAfterWrapper.js +143 -0
- package/internal/CircleRipple.js +159 -0
- package/internal/ClearFix.js +63 -0
- package/internal/ClickAwayListener.js +118 -0
- package/internal/EnhancedButton.js +375 -0
- package/internal/EnhancedSwitch.js +450 -0
- package/internal/ExpandTransition.js +132 -0
- package/internal/ExpandTransitionChild.js +182 -0
- package/internal/FocusRipple.js +188 -0
- package/internal/Overlay.js +131 -0
- package/internal/RenderToLayer.js +168 -0
- package/internal/ScaleIn.js +115 -0
- package/internal/ScaleInChild.js +157 -0
- package/internal/SlideIn.js +124 -0
- package/internal/SlideInChild.js +139 -0
- package/internal/Tooltip.js +214 -0
- package/internal/TouchRipple.js +296 -0
- package/package.json +41 -0
- package/styles/MuiThemeProvider.js +60 -0
- package/styles/baseThemes/darkBaseTheme.js +37 -0
- package/styles/baseThemes/lightBaseTheme.js +45 -0
- package/styles/colors.js +290 -0
- package/styles/getMuiTheme.js +379 -0
- package/styles/index.js +63 -0
- package/styles/muiThemeable.js +50 -0
- package/styles/spacing.js +19 -0
- package/styles/transitions.js +34 -0
- package/styles/typography.js +31 -0
- package/styles/zIndex.js +17 -0
- package/svg-icons/action/accessibility.js +32 -0
- package/svg-icons/action/accessible.js +33 -0
- package/svg-icons/action/account-balance-wallet.js +32 -0
- package/svg-icons/action/account-balance.js +32 -0
- package/svg-icons/action/account-box.js +32 -0
- package/svg-icons/action/account-circle.js +32 -0
- package/svg-icons/action/add-shopping-cart.js +32 -0
- package/svg-icons/action/alarm-add.js +32 -0
- package/svg-icons/action/alarm-off.js +32 -0
- package/svg-icons/action/alarm-on.js +32 -0
- package/svg-icons/action/alarm.js +32 -0
- package/svg-icons/action/all-out.js +32 -0
- package/svg-icons/action/android.js +32 -0
- package/svg-icons/action/announcement.js +32 -0
- package/svg-icons/action/aspect-ratio.js +32 -0
- package/svg-icons/action/assessment.js +32 -0
- package/svg-icons/action/assignment-ind.js +32 -0
- package/svg-icons/action/assignment-late.js +32 -0
- package/svg-icons/action/assignment-return.js +32 -0
- package/svg-icons/action/assignment-returned.js +32 -0
- package/svg-icons/action/assignment-turned-in.js +32 -0
- package/svg-icons/action/assignment.js +32 -0
- package/svg-icons/action/autorenew.js +32 -0
- package/svg-icons/action/backup.js +32 -0
- package/svg-icons/action/book.js +32 -0
- package/svg-icons/action/bookmark-border.js +32 -0
- package/svg-icons/action/bookmark.js +32 -0
- package/svg-icons/action/bug-report.js +32 -0
- package/svg-icons/action/build.js +32 -0
- package/svg-icons/action/cached.js +32 -0
- package/svg-icons/action/camera-enhance.js +32 -0
- package/svg-icons/action/card-giftcard.js +32 -0
- package/svg-icons/action/card-membership.js +32 -0
- package/svg-icons/action/card-travel.js +32 -0
- package/svg-icons/action/change-history.js +32 -0
- package/svg-icons/action/check-circle.js +32 -0
- package/svg-icons/action/chrome-reader-mode.js +32 -0
- package/svg-icons/action/class.js +32 -0
- package/svg-icons/action/code.js +32 -0
- package/svg-icons/action/compare-arrows.js +32 -0
- package/svg-icons/action/copyright.js +32 -0
- package/svg-icons/action/credit-card.js +32 -0
- package/svg-icons/action/dashboard.js +32 -0
- package/svg-icons/action/date-range.js +32 -0
- package/svg-icons/action/delete-forever.js +32 -0
- package/svg-icons/action/delete.js +32 -0
- package/svg-icons/action/description.js +32 -0
- package/svg-icons/action/dns.js +32 -0
- package/svg-icons/action/done-all.js +32 -0
- package/svg-icons/action/done.js +32 -0
- package/svg-icons/action/donut-large.js +32 -0
- package/svg-icons/action/donut-small.js +32 -0
- package/svg-icons/action/eject.js +32 -0
- package/svg-icons/action/euro-symbol.js +32 -0
- package/svg-icons/action/event-seat.js +32 -0
- package/svg-icons/action/event.js +32 -0
- package/svg-icons/action/exit-to-app.js +32 -0
- package/svg-icons/action/explore.js +32 -0
- package/svg-icons/action/extension.js +32 -0
- package/svg-icons/action/face.js +32 -0
- package/svg-icons/action/favorite-border.js +32 -0
- package/svg-icons/action/favorite.js +32 -0
- package/svg-icons/action/feedback.js +32 -0
- package/svg-icons/action/find-in-page.js +32 -0
- package/svg-icons/action/find-replace.js +32 -0
- package/svg-icons/action/fingerprint.js +32 -0
- package/svg-icons/action/flight-land.js +32 -0
- package/svg-icons/action/flight-takeoff.js +32 -0
- package/svg-icons/action/flip-to-back.js +32 -0
- package/svg-icons/action/flip-to-front.js +32 -0
- package/svg-icons/action/g-translate.js +32 -0
- package/svg-icons/action/gavel.js +32 -0
- package/svg-icons/action/get-app.js +32 -0
- package/svg-icons/action/gif.js +32 -0
- package/svg-icons/action/grade.js +32 -0
- package/svg-icons/action/group-work.js +32 -0
- package/svg-icons/action/help-outline.js +32 -0
- package/svg-icons/action/help.js +32 -0
- package/svg-icons/action/highlight-off.js +32 -0
- package/svg-icons/action/history.js +32 -0
- package/svg-icons/action/home.js +32 -0
- package/svg-icons/action/hourglass-empty.js +32 -0
- package/svg-icons/action/hourglass-full.js +32 -0
- package/svg-icons/action/http.js +32 -0
- package/svg-icons/action/https.js +32 -0
- package/svg-icons/action/important-devices.js +32 -0
- package/svg-icons/action/info-outline.js +32 -0
- package/svg-icons/action/info.js +32 -0
- package/svg-icons/action/input.js +32 -0
- package/svg-icons/action/invert-colors.js +32 -0
- package/svg-icons/action/label-outline.js +32 -0
- package/svg-icons/action/label.js +32 -0
- package/svg-icons/action/language.js +32 -0
- package/svg-icons/action/launch.js +32 -0
- package/svg-icons/action/lightbulb-outline.js +32 -0
- package/svg-icons/action/line-style.js +32 -0
- package/svg-icons/action/line-weight.js +32 -0
- package/svg-icons/action/list.js +32 -0
- package/svg-icons/action/lock-open.js +32 -0
- package/svg-icons/action/lock-outline.js +32 -0
- package/svg-icons/action/lock.js +32 -0
- package/svg-icons/action/loyalty.js +32 -0
- package/svg-icons/action/markunread-mailbox.js +32 -0
- package/svg-icons/action/motorcycle.js +32 -0
- package/svg-icons/action/note-add.js +32 -0
- package/svg-icons/action/offline-pin.js +32 -0
- package/svg-icons/action/opacity.js +32 -0
- package/svg-icons/action/open-in-browser.js +32 -0
- package/svg-icons/action/open-in-new.js +32 -0
- package/svg-icons/action/open-with.js +32 -0
- package/svg-icons/action/pageview.js +32 -0
- package/svg-icons/action/pan-tool.js +32 -0
- package/svg-icons/action/payment.js +32 -0
- package/svg-icons/action/perm-camera-mic.js +32 -0
- package/svg-icons/action/perm-contact-calendar.js +32 -0
- package/svg-icons/action/perm-data-setting.js +32 -0
- package/svg-icons/action/perm-device-information.js +32 -0
- package/svg-icons/action/perm-identity.js +32 -0
- package/svg-icons/action/perm-media.js +32 -0
- package/svg-icons/action/perm-phone-msg.js +32 -0
- package/svg-icons/action/perm-scan-wifi.js +32 -0
- package/svg-icons/action/pets.js +36 -0
- package/svg-icons/action/picture-in-picture-alt.js +32 -0
- package/svg-icons/action/picture-in-picture.js +32 -0
- package/svg-icons/action/play-for-work.js +32 -0
- package/svg-icons/action/polymer.js +32 -0
- package/svg-icons/action/power-settings-new.js +32 -0
- package/svg-icons/action/pregnant-woman.js +32 -0
- package/svg-icons/action/print.js +32 -0
- package/svg-icons/action/query-builder.js +32 -0
- package/svg-icons/action/question-answer.js +32 -0
- package/svg-icons/action/receipt.js +32 -0
- package/svg-icons/action/record-voice-over.js +33 -0
- package/svg-icons/action/redeem.js +32 -0
- package/svg-icons/action/remove-shopping-cart.js +32 -0
- package/svg-icons/action/reorder.js +32 -0
- package/svg-icons/action/report-problem.js +32 -0
- package/svg-icons/action/restore-page.js +32 -0
- package/svg-icons/action/restore.js +32 -0
- package/svg-icons/action/room.js +32 -0
- package/svg-icons/action/rounded-corner.js +32 -0
- package/svg-icons/action/rowing.js +32 -0
- package/svg-icons/action/schedule.js +32 -0
- package/svg-icons/action/search.js +32 -0
- package/svg-icons/action/settings-applications.js +32 -0
- package/svg-icons/action/settings-backup-restore.js +32 -0
- package/svg-icons/action/settings-bluetooth.js +32 -0
- package/svg-icons/action/settings-brightness.js +32 -0
- package/svg-icons/action/settings-cell.js +32 -0
- package/svg-icons/action/settings-ethernet.js +32 -0
- package/svg-icons/action/settings-input-antenna.js +32 -0
- package/svg-icons/action/settings-input-component.js +32 -0
- package/svg-icons/action/settings-input-composite.js +32 -0
- package/svg-icons/action/settings-input-hdmi.js +32 -0
- package/svg-icons/action/settings-input-svideo.js +32 -0
- package/svg-icons/action/settings-overscan.js +32 -0
- package/svg-icons/action/settings-phone.js +32 -0
- package/svg-icons/action/settings-power.js +32 -0
- package/svg-icons/action/settings-remote.js +32 -0
- package/svg-icons/action/settings-voice.js +32 -0
- package/svg-icons/action/settings.js +32 -0
- package/svg-icons/action/shop-two.js +32 -0
- package/svg-icons/action/shop.js +32 -0
- package/svg-icons/action/shopping-basket.js +32 -0
- package/svg-icons/action/shopping-cart.js +32 -0
- package/svg-icons/action/speaker-notes-off.js +32 -0
- package/svg-icons/action/speaker-notes.js +32 -0
- package/svg-icons/action/spellcheck.js +32 -0
- package/svg-icons/action/stars.js +32 -0
- package/svg-icons/action/store.js +32 -0
- package/svg-icons/action/subject.js +32 -0
- package/svg-icons/action/supervisor-account.js +32 -0
- package/svg-icons/action/swap-horiz.js +32 -0
- package/svg-icons/action/swap-vert.js +32 -0
- package/svg-icons/action/swap-vertical-circle.js +32 -0
- package/svg-icons/action/system-update-alt.js +32 -0
- package/svg-icons/action/tab-unselected.js +32 -0
- package/svg-icons/action/tab.js +32 -0
- package/svg-icons/action/theaters.js +32 -0
- package/svg-icons/action/three-d-rotation.js +32 -0
- package/svg-icons/action/thumb-down.js +32 -0
- package/svg-icons/action/thumb-up.js +32 -0
- package/svg-icons/action/thumbs-up-down.js +32 -0
- package/svg-icons/action/timeline.js +32 -0
- package/svg-icons/action/toc.js +32 -0
- package/svg-icons/action/today.js +32 -0
- package/svg-icons/action/toll.js +32 -0
- package/svg-icons/action/touch-app.js +32 -0
- package/svg-icons/action/track-changes.js +32 -0
- package/svg-icons/action/translate.js +32 -0
- package/svg-icons/action/trending-down.js +32 -0
- package/svg-icons/action/trending-flat.js +32 -0
- package/svg-icons/action/trending-up.js +32 -0
- package/svg-icons/action/turned-in-not.js +32 -0
- package/svg-icons/action/turned-in.js +32 -0
- package/svg-icons/action/update.js +32 -0
- package/svg-icons/action/verified-user.js +32 -0
- package/svg-icons/action/view-agenda.js +32 -0
- package/svg-icons/action/view-array.js +32 -0
- package/svg-icons/action/view-carousel.js +32 -0
- package/svg-icons/action/view-column.js +32 -0
- package/svg-icons/action/view-day.js +32 -0
- package/svg-icons/action/view-headline.js +32 -0
- package/svg-icons/action/view-list.js +32 -0
- package/svg-icons/action/view-module.js +32 -0
- package/svg-icons/action/view-quilt.js +32 -0
- package/svg-icons/action/view-stream.js +32 -0
- package/svg-icons/action/view-week.js +32 -0
- package/svg-icons/action/visibility-off.js +32 -0
- package/svg-icons/action/visibility.js +32 -0
- package/svg-icons/action/watch-later.js +32 -0
- package/svg-icons/action/work.js +32 -0
- package/svg-icons/action/youtube-searched-for.js +32 -0
- package/svg-icons/action/zoom-in.js +32 -0
- package/svg-icons/action/zoom-out.js +32 -0
- package/svg-icons/alert/add-alert.js +32 -0
- package/svg-icons/alert/error-outline.js +32 -0
- package/svg-icons/alert/error.js +32 -0
- package/svg-icons/alert/warning.js +32 -0
- package/svg-icons/av/add-to-queue.js +32 -0
- package/svg-icons/av/airplay.js +32 -0
- package/svg-icons/av/album.js +32 -0
- package/svg-icons/av/art-track.js +32 -0
- package/svg-icons/av/av-timer.js +32 -0
- package/svg-icons/av/branding-watermark.js +32 -0
- package/svg-icons/av/call-to-action.js +32 -0
- package/svg-icons/av/closed-caption.js +32 -0
- package/svg-icons/av/equalizer.js +32 -0
- package/svg-icons/av/explicit.js +32 -0
- package/svg-icons/av/fast-forward.js +32 -0
- package/svg-icons/av/fast-rewind.js +32 -0
- package/svg-icons/av/featured-play-list.js +32 -0
- package/svg-icons/av/featured-video.js +32 -0
- package/svg-icons/av/fiber-dvr.js +32 -0
- package/svg-icons/av/fiber-manual-record.js +32 -0
- package/svg-icons/av/fiber-new.js +32 -0
- package/svg-icons/av/fiber-pin.js +32 -0
- package/svg-icons/av/fiber-smart-record.js +37 -0
- package/svg-icons/av/forward-10.js +32 -0
- package/svg-icons/av/forward-30.js +32 -0
- package/svg-icons/av/forward-5.js +32 -0
- package/svg-icons/av/games.js +32 -0
- package/svg-icons/av/hd.js +32 -0
- package/svg-icons/av/hearing.js +32 -0
- package/svg-icons/av/high-quality.js +32 -0
- package/svg-icons/av/library-add.js +32 -0
- package/svg-icons/av/library-books.js +32 -0
- package/svg-icons/av/library-music.js +32 -0
- package/svg-icons/av/loop.js +32 -0
- package/svg-icons/av/mic-none.js +32 -0
- package/svg-icons/av/mic-off.js +32 -0
- package/svg-icons/av/mic.js +32 -0
- package/svg-icons/av/movie.js +32 -0
- package/svg-icons/av/music-video.js +32 -0
- package/svg-icons/av/new-releases.js +32 -0
- package/svg-icons/av/not-interested.js +32 -0
- package/svg-icons/av/note.js +32 -0
- package/svg-icons/av/pause-circle-filled.js +32 -0
- package/svg-icons/av/pause-circle-outline.js +32 -0
- package/svg-icons/av/pause.js +32 -0
- package/svg-icons/av/play-arrow.js +32 -0
- package/svg-icons/av/play-circle-filled.js +32 -0
- package/svg-icons/av/play-circle-outline.js +32 -0
- package/svg-icons/av/playlist-add-check.js +32 -0
- package/svg-icons/av/playlist-add.js +32 -0
- package/svg-icons/av/playlist-play.js +32 -0
- package/svg-icons/av/queue-music.js +32 -0
- package/svg-icons/av/queue-play-next.js +32 -0
- package/svg-icons/av/queue.js +32 -0
- package/svg-icons/av/radio.js +32 -0
- package/svg-icons/av/recent-actors.js +32 -0
- package/svg-icons/av/remove-from-queue.js +32 -0
- package/svg-icons/av/repeat-one.js +32 -0
- package/svg-icons/av/repeat.js +32 -0
- package/svg-icons/av/replay-10.js +32 -0
- package/svg-icons/av/replay-30.js +32 -0
- package/svg-icons/av/replay-5.js +32 -0
- package/svg-icons/av/replay.js +32 -0
- package/svg-icons/av/shuffle.js +32 -0
- package/svg-icons/av/skip-next.js +32 -0
- package/svg-icons/av/skip-previous.js +32 -0
- package/svg-icons/av/slow-motion-video.js +32 -0
- package/svg-icons/av/snooze.js +32 -0
- package/svg-icons/av/sort-by-alpha.js +32 -0
- package/svg-icons/av/stop.js +32 -0
- package/svg-icons/av/subscriptions.js +32 -0
- package/svg-icons/av/subtitles.js +32 -0
- package/svg-icons/av/surround-sound.js +32 -0
- package/svg-icons/av/video-call.js +32 -0
- package/svg-icons/av/video-label.js +32 -0
- package/svg-icons/av/video-library.js +32 -0
- package/svg-icons/av/videocam-off.js +32 -0
- package/svg-icons/av/videocam.js +32 -0
- package/svg-icons/av/volume-down.js +32 -0
- package/svg-icons/av/volume-mute.js +32 -0
- package/svg-icons/av/volume-off.js +32 -0
- package/svg-icons/av/volume-up.js +32 -0
- package/svg-icons/av/web-asset.js +32 -0
- package/svg-icons/av/web.js +32 -0
- package/svg-icons/communication/business.js +32 -0
- package/svg-icons/communication/call-end.js +32 -0
- package/svg-icons/communication/call-made.js +32 -0
- package/svg-icons/communication/call-merge.js +32 -0
- package/svg-icons/communication/call-missed-outgoing.js +32 -0
- package/svg-icons/communication/call-missed.js +32 -0
- package/svg-icons/communication/call-received.js +32 -0
- package/svg-icons/communication/call-split.js +32 -0
- package/svg-icons/communication/call.js +32 -0
- package/svg-icons/communication/chat-bubble-outline.js +32 -0
- package/svg-icons/communication/chat-bubble.js +32 -0
- package/svg-icons/communication/chat.js +32 -0
- package/svg-icons/communication/clear-all.js +32 -0
- package/svg-icons/communication/comment.js +32 -0
- package/svg-icons/communication/contact-mail.js +32 -0
- package/svg-icons/communication/contact-phone.js +32 -0
- package/svg-icons/communication/contacts.js +32 -0
- package/svg-icons/communication/dialer-sip.js +32 -0
- package/svg-icons/communication/dialpad.js +32 -0
- package/svg-icons/communication/email.js +32 -0
- package/svg-icons/communication/forum.js +32 -0
- package/svg-icons/communication/import-contacts.js +32 -0
- package/svg-icons/communication/import-export.js +32 -0
- package/svg-icons/communication/invert-colors-off.js +32 -0
- package/svg-icons/communication/live-help.js +32 -0
- package/svg-icons/communication/location-off.js +32 -0
- package/svg-icons/communication/location-on.js +32 -0
- package/svg-icons/communication/mail-outline.js +32 -0
- package/svg-icons/communication/message.js +32 -0
- package/svg-icons/communication/no-sim.js +32 -0
- package/svg-icons/communication/phone.js +32 -0
- package/svg-icons/communication/phonelink-erase.js +32 -0
- package/svg-icons/communication/phonelink-lock.js +32 -0
- package/svg-icons/communication/phonelink-ring.js +32 -0
- package/svg-icons/communication/phonelink-setup.js +32 -0
- package/svg-icons/communication/portable-wifi-off.js +32 -0
- package/svg-icons/communication/present-to-all.js +32 -0
- package/svg-icons/communication/ring-volume.js +32 -0
- package/svg-icons/communication/rss-feed.js +33 -0
- package/svg-icons/communication/screen-share.js +32 -0
- package/svg-icons/communication/speaker-phone.js +32 -0
- package/svg-icons/communication/stay-current-landscape.js +32 -0
- package/svg-icons/communication/stay-current-portrait.js +32 -0
- package/svg-icons/communication/stay-primary-landscape.js +32 -0
- package/svg-icons/communication/stay-primary-portrait.js +32 -0
- package/svg-icons/communication/stop-screen-share.js +32 -0
- package/svg-icons/communication/swap-calls.js +32 -0
- package/svg-icons/communication/textsms.js +32 -0
- package/svg-icons/communication/voicemail.js +32 -0
- package/svg-icons/communication/vpn-key.js +32 -0
- package/svg-icons/content/add-box.js +32 -0
- package/svg-icons/content/add-circle-outline.js +32 -0
- package/svg-icons/content/add-circle.js +32 -0
- package/svg-icons/content/add.js +32 -0
- package/svg-icons/content/archive.js +32 -0
- package/svg-icons/content/backspace.js +32 -0
- package/svg-icons/content/block.js +32 -0
- package/svg-icons/content/clear.js +32 -0
- package/svg-icons/content/content-copy.js +32 -0
- package/svg-icons/content/content-cut.js +32 -0
- package/svg-icons/content/content-paste.js +32 -0
- package/svg-icons/content/create.js +32 -0
- package/svg-icons/content/delete-sweep.js +32 -0
- package/svg-icons/content/drafts.js +32 -0
- package/svg-icons/content/filter-list.js +32 -0
- package/svg-icons/content/flag.js +32 -0
- package/svg-icons/content/font-download.js +32 -0
- package/svg-icons/content/forward.js +32 -0
- package/svg-icons/content/gesture.js +32 -0
- package/svg-icons/content/inbox.js +32 -0
- package/svg-icons/content/link.js +32 -0
- package/svg-icons/content/low-priority.js +32 -0
- package/svg-icons/content/mail.js +32 -0
- package/svg-icons/content/markunread.js +32 -0
- package/svg-icons/content/move-to-inbox.js +32 -0
- package/svg-icons/content/next-week.js +32 -0
- package/svg-icons/content/redo.js +32 -0
- package/svg-icons/content/remove-circle-outline.js +32 -0
- package/svg-icons/content/remove-circle.js +32 -0
- package/svg-icons/content/remove.js +32 -0
- package/svg-icons/content/reply-all.js +32 -0
- package/svg-icons/content/reply.js +32 -0
- package/svg-icons/content/report.js +32 -0
- package/svg-icons/content/save.js +32 -0
- package/svg-icons/content/select-all.js +32 -0
- package/svg-icons/content/send.js +32 -0
- package/svg-icons/content/sort.js +32 -0
- package/svg-icons/content/text-format.js +32 -0
- package/svg-icons/content/unarchive.js +32 -0
- package/svg-icons/content/undo.js +32 -0
- package/svg-icons/content/weekend.js +32 -0
- package/svg-icons/device/access-alarm.js +32 -0
- package/svg-icons/device/access-alarms.js +32 -0
- package/svg-icons/device/access-time.js +32 -0
- package/svg-icons/device/add-alarm.js +32 -0
- package/svg-icons/device/airplanemode-active.js +33 -0
- package/svg-icons/device/airplanemode-inactive.js +32 -0
- package/svg-icons/device/battery-20.js +33 -0
- package/svg-icons/device/battery-30.js +33 -0
- package/svg-icons/device/battery-50.js +33 -0
- package/svg-icons/device/battery-60.js +33 -0
- package/svg-icons/device/battery-80.js +33 -0
- package/svg-icons/device/battery-90.js +33 -0
- package/svg-icons/device/battery-alert.js +32 -0
- package/svg-icons/device/battery-charging-20.js +33 -0
- package/svg-icons/device/battery-charging-30.js +33 -0
- package/svg-icons/device/battery-charging-50.js +33 -0
- package/svg-icons/device/battery-charging-60.js +33 -0
- package/svg-icons/device/battery-charging-80.js +33 -0
- package/svg-icons/device/battery-charging-90.js +33 -0
- package/svg-icons/device/battery-charging-full.js +32 -0
- package/svg-icons/device/battery-full.js +32 -0
- package/svg-icons/device/battery-std.js +32 -0
- package/svg-icons/device/battery-unknown.js +32 -0
- package/svg-icons/device/bluetooth-connected.js +32 -0
- package/svg-icons/device/bluetooth-disabled.js +32 -0
- package/svg-icons/device/bluetooth-searching.js +32 -0
- package/svg-icons/device/bluetooth.js +32 -0
- package/svg-icons/device/brightness-auto.js +32 -0
- package/svg-icons/device/brightness-high.js +32 -0
- package/svg-icons/device/brightness-low.js +32 -0
- package/svg-icons/device/brightness-medium.js +32 -0
- package/svg-icons/device/data-usage.js +32 -0
- package/svg-icons/device/developer-mode.js +32 -0
- package/svg-icons/device/devices.js +32 -0
- package/svg-icons/device/dvr.js +32 -0
- package/svg-icons/device/gps-fixed.js +32 -0
- package/svg-icons/device/gps-not-fixed.js +32 -0
- package/svg-icons/device/gps-off.js +32 -0
- package/svg-icons/device/graphic-eq.js +32 -0
- package/svg-icons/device/location-disabled.js +32 -0
- package/svg-icons/device/location-searching.js +32 -0
- package/svg-icons/device/network-cell.js +33 -0
- package/svg-icons/device/network-wifi.js +33 -0
- package/svg-icons/device/nfc.js +32 -0
- package/svg-icons/device/screen-lock-landscape.js +32 -0
- package/svg-icons/device/screen-lock-portrait.js +32 -0
- package/svg-icons/device/screen-lock-rotation.js +32 -0
- package/svg-icons/device/screen-rotation.js +32 -0
- package/svg-icons/device/sd-storage.js +32 -0
- package/svg-icons/device/settings-system-daydream.js +32 -0
- package/svg-icons/device/signal-cellular-0-bar.js +32 -0
- package/svg-icons/device/signal-cellular-1-bar.js +33 -0
- package/svg-icons/device/signal-cellular-2-bar.js +33 -0
- package/svg-icons/device/signal-cellular-3-bar.js +33 -0
- package/svg-icons/device/signal-cellular-4-bar.js +32 -0
- package/svg-icons/device/signal-cellular-connected-no-internet-0-bar.js +33 -0
- package/svg-icons/device/signal-cellular-connected-no-internet-1-bar.js +33 -0
- package/svg-icons/device/signal-cellular-connected-no-internet-2-bar.js +33 -0
- package/svg-icons/device/signal-cellular-connected-no-internet-3-bar.js +33 -0
- package/svg-icons/device/signal-cellular-connected-no-internet-4-bar.js +32 -0
- package/svg-icons/device/signal-cellular-no-sim.js +32 -0
- package/svg-icons/device/signal-cellular-null.js +32 -0
- package/svg-icons/device/signal-cellular-off.js +32 -0
- package/svg-icons/device/signal-wifi-0-bar.js +32 -0
- package/svg-icons/device/signal-wifi-1-bar-lock.js +34 -0
- package/svg-icons/device/signal-wifi-1-bar.js +33 -0
- package/svg-icons/device/signal-wifi-2-bar-lock.js +34 -0
- package/svg-icons/device/signal-wifi-2-bar.js +33 -0
- package/svg-icons/device/signal-wifi-3-bar-lock.js +33 -0
- package/svg-icons/device/signal-wifi-3-bar.js +33 -0
- package/svg-icons/device/signal-wifi-4-bar-lock.js +32 -0
- package/svg-icons/device/signal-wifi-4-bar.js +32 -0
- package/svg-icons/device/signal-wifi-off.js +32 -0
- package/svg-icons/device/storage.js +32 -0
- package/svg-icons/device/usb.js +32 -0
- package/svg-icons/device/wallpaper.js +32 -0
- package/svg-icons/device/widgets.js +32 -0
- package/svg-icons/device/wifi-lock.js +32 -0
- package/svg-icons/device/wifi-tethering.js +32 -0
- package/svg-icons/editor/attach-file.js +32 -0
- package/svg-icons/editor/attach-money.js +32 -0
- package/svg-icons/editor/border-all.js +32 -0
- package/svg-icons/editor/border-bottom.js +32 -0
- package/svg-icons/editor/border-clear.js +32 -0
- package/svg-icons/editor/border-color.js +33 -0
- package/svg-icons/editor/border-horizontal.js +32 -0
- package/svg-icons/editor/border-inner.js +32 -0
- package/svg-icons/editor/border-left.js +32 -0
- package/svg-icons/editor/border-outer.js +32 -0
- package/svg-icons/editor/border-right.js +32 -0
- package/svg-icons/editor/border-style.js +32 -0
- package/svg-icons/editor/border-top.js +32 -0
- package/svg-icons/editor/border-vertical.js +32 -0
- package/svg-icons/editor/bubble-chart.js +34 -0
- package/svg-icons/editor/drag-handle.js +32 -0
- package/svg-icons/editor/format-align-center.js +32 -0
- package/svg-icons/editor/format-align-justify.js +32 -0
- package/svg-icons/editor/format-align-left.js +32 -0
- package/svg-icons/editor/format-align-right.js +32 -0
- package/svg-icons/editor/format-bold.js +32 -0
- package/svg-icons/editor/format-clear.js +32 -0
- package/svg-icons/editor/format-color-fill.js +33 -0
- package/svg-icons/editor/format-color-reset.js +32 -0
- package/svg-icons/editor/format-color-text.js +33 -0
- package/svg-icons/editor/format-indent-decrease.js +32 -0
- package/svg-icons/editor/format-indent-increase.js +32 -0
- package/svg-icons/editor/format-italic.js +32 -0
- package/svg-icons/editor/format-line-spacing.js +32 -0
- package/svg-icons/editor/format-list-bulleted.js +32 -0
- package/svg-icons/editor/format-list-numbered.js +32 -0
- package/svg-icons/editor/format-paint.js +32 -0
- package/svg-icons/editor/format-quote.js +32 -0
- package/svg-icons/editor/format-shapes.js +32 -0
- package/svg-icons/editor/format-size.js +32 -0
- package/svg-icons/editor/format-strikethrough.js +32 -0
- package/svg-icons/editor/format-textdirection-l-to-r.js +32 -0
- package/svg-icons/editor/format-textdirection-r-to-l.js +32 -0
- package/svg-icons/editor/format-underlined.js +32 -0
- package/svg-icons/editor/functions.js +32 -0
- package/svg-icons/editor/highlight.js +32 -0
- package/svg-icons/editor/insert-chart.js +32 -0
- package/svg-icons/editor/insert-comment.js +32 -0
- package/svg-icons/editor/insert-drive-file.js +32 -0
- package/svg-icons/editor/insert-emoticon.js +32 -0
- package/svg-icons/editor/insert-invitation.js +32 -0
- package/svg-icons/editor/insert-link.js +32 -0
- package/svg-icons/editor/insert-photo.js +32 -0
- package/svg-icons/editor/linear-scale.js +32 -0
- package/svg-icons/editor/merge-type.js +32 -0
- package/svg-icons/editor/mode-comment.js +32 -0
- package/svg-icons/editor/mode-edit.js +32 -0
- package/svg-icons/editor/monetization-on.js +32 -0
- package/svg-icons/editor/money-off.js +32 -0
- package/svg-icons/editor/multiline-chart.js +32 -0
- package/svg-icons/editor/pie-chart-outlined.js +32 -0
- package/svg-icons/editor/pie-chart.js +32 -0
- package/svg-icons/editor/publish.js +32 -0
- package/svg-icons/editor/short-text.js +32 -0
- package/svg-icons/editor/show-chart.js +32 -0
- package/svg-icons/editor/space-bar.js +32 -0
- package/svg-icons/editor/strikethrough-s.js +32 -0
- package/svg-icons/editor/text-fields.js +32 -0
- package/svg-icons/editor/title.js +32 -0
- package/svg-icons/editor/vertical-align-bottom.js +32 -0
- package/svg-icons/editor/vertical-align-center.js +32 -0
- package/svg-icons/editor/vertical-align-top.js +32 -0
- package/svg-icons/editor/wrap-text.js +32 -0
- package/svg-icons/file/attachment.js +32 -0
- package/svg-icons/file/cloud-circle.js +32 -0
- package/svg-icons/file/cloud-done.js +32 -0
- package/svg-icons/file/cloud-download.js +32 -0
- package/svg-icons/file/cloud-off.js +32 -0
- package/svg-icons/file/cloud-queue.js +32 -0
- package/svg-icons/file/cloud-upload.js +32 -0
- package/svg-icons/file/cloud.js +32 -0
- package/svg-icons/file/create-new-folder.js +32 -0
- package/svg-icons/file/file-download.js +32 -0
- package/svg-icons/file/file-upload.js +32 -0
- package/svg-icons/file/folder-open.js +32 -0
- package/svg-icons/file/folder-shared.js +32 -0
- package/svg-icons/file/folder.js +32 -0
- package/svg-icons/hardware/cast-connected.js +32 -0
- package/svg-icons/hardware/cast.js +32 -0
- package/svg-icons/hardware/computer.js +32 -0
- package/svg-icons/hardware/desktop-mac.js +32 -0
- package/svg-icons/hardware/desktop-windows.js +32 -0
- package/svg-icons/hardware/developer-board.js +32 -0
- package/svg-icons/hardware/device-hub.js +32 -0
- package/svg-icons/hardware/devices-other.js +32 -0
- package/svg-icons/hardware/dock.js +32 -0
- package/svg-icons/hardware/gamepad.js +32 -0
- package/svg-icons/hardware/headset-mic.js +32 -0
- package/svg-icons/hardware/headset.js +32 -0
- package/svg-icons/hardware/keyboard-arrow-down.js +32 -0
- package/svg-icons/hardware/keyboard-arrow-left.js +32 -0
- package/svg-icons/hardware/keyboard-arrow-right.js +32 -0
- package/svg-icons/hardware/keyboard-arrow-up.js +32 -0
- package/svg-icons/hardware/keyboard-backspace.js +32 -0
- package/svg-icons/hardware/keyboard-capslock.js +32 -0
- package/svg-icons/hardware/keyboard-hide.js +32 -0
- package/svg-icons/hardware/keyboard-return.js +32 -0
- package/svg-icons/hardware/keyboard-tab.js +32 -0
- package/svg-icons/hardware/keyboard-voice.js +32 -0
- package/svg-icons/hardware/keyboard.js +32 -0
- package/svg-icons/hardware/laptop-chromebook.js +32 -0
- package/svg-icons/hardware/laptop-mac.js +32 -0
- package/svg-icons/hardware/laptop-windows.js +32 -0
- package/svg-icons/hardware/laptop.js +32 -0
- package/svg-icons/hardware/memory.js +32 -0
- package/svg-icons/hardware/mouse.js +32 -0
- package/svg-icons/hardware/phone-android.js +32 -0
- package/svg-icons/hardware/phone-iphone.js +32 -0
- package/svg-icons/hardware/phonelink-off.js +32 -0
- package/svg-icons/hardware/phonelink.js +32 -0
- package/svg-icons/hardware/power-input.js +32 -0
- package/svg-icons/hardware/router.js +32 -0
- package/svg-icons/hardware/scanner.js +32 -0
- package/svg-icons/hardware/security.js +32 -0
- package/svg-icons/hardware/sim-card.js +32 -0
- package/svg-icons/hardware/smartphone.js +32 -0
- package/svg-icons/hardware/speaker-group.js +34 -0
- package/svg-icons/hardware/speaker.js +32 -0
- package/svg-icons/hardware/tablet-android.js +32 -0
- package/svg-icons/hardware/tablet-mac.js +32 -0
- package/svg-icons/hardware/tablet.js +32 -0
- package/svg-icons/hardware/toys.js +32 -0
- package/svg-icons/hardware/tv.js +32 -0
- package/svg-icons/hardware/videogame-asset.js +32 -0
- package/svg-icons/hardware/watch.js +32 -0
- package/svg-icons/image/add-a-photo.js +32 -0
- package/svg-icons/image/add-to-photos.js +32 -0
- package/svg-icons/image/adjust.js +32 -0
- package/svg-icons/image/assistant-photo.js +32 -0
- package/svg-icons/image/assistant.js +32 -0
- package/svg-icons/image/audiotrack.js +32 -0
- package/svg-icons/image/blur-circular.js +32 -0
- package/svg-icons/image/blur-linear.js +32 -0
- package/svg-icons/image/blur-off.js +32 -0
- package/svg-icons/image/blur-on.js +32 -0
- package/svg-icons/image/brightness-1.js +32 -0
- package/svg-icons/image/brightness-2.js +32 -0
- package/svg-icons/image/brightness-3.js +32 -0
- package/svg-icons/image/brightness-4.js +32 -0
- package/svg-icons/image/brightness-5.js +32 -0
- package/svg-icons/image/brightness-6.js +32 -0
- package/svg-icons/image/brightness-7.js +32 -0
- package/svg-icons/image/broken-image.js +32 -0
- package/svg-icons/image/brush.js +32 -0
- package/svg-icons/image/burst-mode.js +32 -0
- package/svg-icons/image/camera-alt.js +33 -0
- package/svg-icons/image/camera-front.js +32 -0
- package/svg-icons/image/camera-rear.js +32 -0
- package/svg-icons/image/camera-roll.js +32 -0
- package/svg-icons/image/camera.js +32 -0
- package/svg-icons/image/center-focus-strong.js +32 -0
- package/svg-icons/image/center-focus-weak.js +32 -0
- package/svg-icons/image/collections-bookmark.js +32 -0
- package/svg-icons/image/collections.js +32 -0
- package/svg-icons/image/color-lens.js +32 -0
- package/svg-icons/image/colorize.js +32 -0
- package/svg-icons/image/compare.js +32 -0
- package/svg-icons/image/control-point-duplicate.js +32 -0
- package/svg-icons/image/control-point.js +32 -0
- package/svg-icons/image/crop-16-9.js +32 -0
- package/svg-icons/image/crop-3-2.js +32 -0
- package/svg-icons/image/crop-5-4.js +32 -0
- package/svg-icons/image/crop-7-5.js +32 -0
- package/svg-icons/image/crop-din.js +32 -0
- package/svg-icons/image/crop-free.js +32 -0
- package/svg-icons/image/crop-landscape.js +32 -0
- package/svg-icons/image/crop-original.js +32 -0
- package/svg-icons/image/crop-portrait.js +32 -0
- package/svg-icons/image/crop-rotate.js +32 -0
- package/svg-icons/image/crop-square.js +32 -0
- package/svg-icons/image/crop.js +32 -0
- package/svg-icons/image/dehaze.js +32 -0
- package/svg-icons/image/details.js +32 -0
- package/svg-icons/image/edit.js +32 -0
- package/svg-icons/image/exposure-neg-1.js +32 -0
- package/svg-icons/image/exposure-neg-2.js +32 -0
- package/svg-icons/image/exposure-plus-1.js +32 -0
- package/svg-icons/image/exposure-plus-2.js +32 -0
- package/svg-icons/image/exposure-zero.js +32 -0
- package/svg-icons/image/exposure.js +32 -0
- package/svg-icons/image/filter-1.js +32 -0
- package/svg-icons/image/filter-2.js +32 -0
- package/svg-icons/image/filter-3.js +32 -0
- package/svg-icons/image/filter-4.js +32 -0
- package/svg-icons/image/filter-5.js +32 -0
- package/svg-icons/image/filter-6.js +32 -0
- package/svg-icons/image/filter-7.js +32 -0
- package/svg-icons/image/filter-8.js +32 -0
- package/svg-icons/image/filter-9-plus.js +32 -0
- package/svg-icons/image/filter-9.js +32 -0
- package/svg-icons/image/filter-b-and-w.js +32 -0
- package/svg-icons/image/filter-center-focus.js +32 -0
- package/svg-icons/image/filter-drama.js +32 -0
- package/svg-icons/image/filter-frames.js +32 -0
- package/svg-icons/image/filter-hdr.js +32 -0
- package/svg-icons/image/filter-none.js +32 -0
- package/svg-icons/image/filter-tilt-shift.js +32 -0
- package/svg-icons/image/filter-vintage.js +32 -0
- package/svg-icons/image/filter.js +32 -0
- package/svg-icons/image/flare.js +32 -0
- package/svg-icons/image/flash-auto.js +32 -0
- package/svg-icons/image/flash-off.js +32 -0
- package/svg-icons/image/flash-on.js +32 -0
- package/svg-icons/image/flip.js +32 -0
- package/svg-icons/image/gradient.js +32 -0
- package/svg-icons/image/grain.js +32 -0
- package/svg-icons/image/grid-off.js +32 -0
- package/svg-icons/image/grid-on.js +32 -0
- package/svg-icons/image/hdr-off.js +32 -0
- package/svg-icons/image/hdr-on.js +32 -0
- package/svg-icons/image/hdr-strong.js +32 -0
- package/svg-icons/image/hdr-weak.js +32 -0
- package/svg-icons/image/healing.js +32 -0
- package/svg-icons/image/image-aspect-ratio.js +32 -0
- package/svg-icons/image/image.js +32 -0
- package/svg-icons/image/iso.js +32 -0
- package/svg-icons/image/landscape.js +32 -0
- package/svg-icons/image/leak-add.js +32 -0
- package/svg-icons/image/leak-remove.js +32 -0
- package/svg-icons/image/lens.js +32 -0
- package/svg-icons/image/linked-camera.js +34 -0
- package/svg-icons/image/looks-3.js +32 -0
- package/svg-icons/image/looks-4.js +32 -0
- package/svg-icons/image/looks-5.js +32 -0
- package/svg-icons/image/looks-6.js +32 -0
- package/svg-icons/image/looks-one.js +32 -0
- package/svg-icons/image/looks-two.js +32 -0
- package/svg-icons/image/looks.js +32 -0
- package/svg-icons/image/loupe.js +32 -0
- package/svg-icons/image/monochrome-photos.js +32 -0
- package/svg-icons/image/movie-creation.js +32 -0
- package/svg-icons/image/movie-filter.js +32 -0
- package/svg-icons/image/music-note.js +32 -0
- package/svg-icons/image/nature-people.js +32 -0
- package/svg-icons/image/nature.js +32 -0
- package/svg-icons/image/navigate-before.js +32 -0
- package/svg-icons/image/navigate-next.js +32 -0
- package/svg-icons/image/palette.js +32 -0
- package/svg-icons/image/panorama-fish-eye.js +32 -0
- package/svg-icons/image/panorama-horizontal.js +32 -0
- package/svg-icons/image/panorama-vertical.js +32 -0
- package/svg-icons/image/panorama-wide-angle.js +32 -0
- package/svg-icons/image/panorama.js +32 -0
- package/svg-icons/image/photo-album.js +32 -0
- package/svg-icons/image/photo-camera.js +33 -0
- package/svg-icons/image/photo-filter.js +32 -0
- package/svg-icons/image/photo-library.js +32 -0
- package/svg-icons/image/photo-size-select-actual.js +32 -0
- package/svg-icons/image/photo-size-select-large.js +32 -0
- package/svg-icons/image/photo-size-select-small.js +32 -0
- package/svg-icons/image/photo.js +32 -0
- package/svg-icons/image/picture-as-pdf.js +32 -0
- package/svg-icons/image/portrait.js +32 -0
- package/svg-icons/image/remove-red-eye.js +32 -0
- package/svg-icons/image/rotate-90-degrees-ccw.js +32 -0
- package/svg-icons/image/rotate-left.js +32 -0
- package/svg-icons/image/rotate-right.js +32 -0
- package/svg-icons/image/slideshow.js +32 -0
- package/svg-icons/image/straighten.js +32 -0
- package/svg-icons/image/style.js +32 -0
- package/svg-icons/image/switch-camera.js +32 -0
- package/svg-icons/image/switch-video.js +32 -0
- package/svg-icons/image/tag-faces.js +32 -0
- package/svg-icons/image/texture.js +32 -0
- package/svg-icons/image/timelapse.js +32 -0
- package/svg-icons/image/timer-10.js +32 -0
- package/svg-icons/image/timer-3.js +32 -0
- package/svg-icons/image/timer-off.js +32 -0
- package/svg-icons/image/timer.js +32 -0
- package/svg-icons/image/tonality.js +32 -0
- package/svg-icons/image/transform.js +32 -0
- package/svg-icons/image/tune.js +32 -0
- package/svg-icons/image/view-comfy.js +32 -0
- package/svg-icons/image/view-compact.js +32 -0
- package/svg-icons/image/vignette.js +32 -0
- package/svg-icons/image/wb-auto.js +32 -0
- package/svg-icons/image/wb-cloudy.js +32 -0
- package/svg-icons/image/wb-incandescent.js +32 -0
- package/svg-icons/image/wb-iridescent.js +32 -0
- package/svg-icons/image/wb-sunny.js +32 -0
- package/svg-icons/index.es.js +1922 -0
- package/svg-icons/index.js +4823 -0
- package/svg-icons/maps/add-location.js +32 -0
- package/svg-icons/maps/beenhere.js +32 -0
- package/svg-icons/maps/directions-bike.js +32 -0
- package/svg-icons/maps/directions-boat.js +32 -0
- package/svg-icons/maps/directions-bus.js +32 -0
- package/svg-icons/maps/directions-car.js +32 -0
- package/svg-icons/maps/directions-railway.js +32 -0
- package/svg-icons/maps/directions-run.js +32 -0
- package/svg-icons/maps/directions-subway.js +32 -0
- package/svg-icons/maps/directions-transit.js +32 -0
- package/svg-icons/maps/directions-walk.js +32 -0
- package/svg-icons/maps/directions.js +32 -0
- package/svg-icons/maps/edit-location.js +32 -0
- package/svg-icons/maps/ev-station.js +32 -0
- package/svg-icons/maps/flight.js +33 -0
- package/svg-icons/maps/hotel.js +32 -0
- package/svg-icons/maps/layers-clear.js +32 -0
- package/svg-icons/maps/layers.js +32 -0
- package/svg-icons/maps/local-activity.js +32 -0
- package/svg-icons/maps/local-airport.js +32 -0
- package/svg-icons/maps/local-atm.js +32 -0
- package/svg-icons/maps/local-bar.js +32 -0
- package/svg-icons/maps/local-cafe.js +32 -0
- package/svg-icons/maps/local-car-wash.js +32 -0
- package/svg-icons/maps/local-convenience-store.js +32 -0
- package/svg-icons/maps/local-dining.js +32 -0
- package/svg-icons/maps/local-drink.js +32 -0
- package/svg-icons/maps/local-florist.js +32 -0
- package/svg-icons/maps/local-gas-station.js +32 -0
- package/svg-icons/maps/local-grocery-store.js +32 -0
- package/svg-icons/maps/local-hospital.js +32 -0
- package/svg-icons/maps/local-hotel.js +32 -0
- package/svg-icons/maps/local-laundry-service.js +32 -0
- package/svg-icons/maps/local-library.js +32 -0
- package/svg-icons/maps/local-mall.js +32 -0
- package/svg-icons/maps/local-movies.js +32 -0
- package/svg-icons/maps/local-offer.js +32 -0
- package/svg-icons/maps/local-parking.js +32 -0
- package/svg-icons/maps/local-pharmacy.js +32 -0
- package/svg-icons/maps/local-phone.js +32 -0
- package/svg-icons/maps/local-pizza.js +32 -0
- package/svg-icons/maps/local-play.js +32 -0
- package/svg-icons/maps/local-post-office.js +32 -0
- package/svg-icons/maps/local-printshop.js +32 -0
- package/svg-icons/maps/local-see.js +33 -0
- package/svg-icons/maps/local-shipping.js +32 -0
- package/svg-icons/maps/local-taxi.js +32 -0
- package/svg-icons/maps/map.js +32 -0
- package/svg-icons/maps/my-location.js +32 -0
- package/svg-icons/maps/navigation.js +32 -0
- package/svg-icons/maps/near-me.js +32 -0
- package/svg-icons/maps/person-pin-circle.js +32 -0
- package/svg-icons/maps/person-pin.js +32 -0
- package/svg-icons/maps/pin-drop.js +32 -0
- package/svg-icons/maps/place.js +32 -0
- package/svg-icons/maps/rate-review.js +32 -0
- package/svg-icons/maps/restaurant-menu.js +32 -0
- package/svg-icons/maps/restaurant.js +32 -0
- package/svg-icons/maps/satellite.js +32 -0
- package/svg-icons/maps/store-mall-directory.js +32 -0
- package/svg-icons/maps/streetview.js +34 -0
- package/svg-icons/maps/subway.js +34 -0
- package/svg-icons/maps/terrain.js +32 -0
- package/svg-icons/maps/traffic.js +32 -0
- package/svg-icons/maps/train.js +32 -0
- package/svg-icons/maps/tram.js +32 -0
- package/svg-icons/maps/transfer-within-a-station.js +32 -0
- package/svg-icons/maps/zoom-out-map.js +32 -0
- package/svg-icons/navigation/apps.js +32 -0
- package/svg-icons/navigation/arrow-back.js +32 -0
- package/svg-icons/navigation/arrow-downward.js +32 -0
- package/svg-icons/navigation/arrow-drop-down-circle.js +32 -0
- package/svg-icons/navigation/arrow-drop-down.js +32 -0
- package/svg-icons/navigation/arrow-drop-up.js +32 -0
- package/svg-icons/navigation/arrow-forward.js +32 -0
- package/svg-icons/navigation/arrow-upward.js +32 -0
- package/svg-icons/navigation/cancel.js +32 -0
- package/svg-icons/navigation/check.js +32 -0
- package/svg-icons/navigation/chevron-left.js +32 -0
- package/svg-icons/navigation/chevron-right.js +32 -0
- package/svg-icons/navigation/close.js +32 -0
- package/svg-icons/navigation/expand-less.js +32 -0
- package/svg-icons/navigation/expand-more.js +32 -0
- package/svg-icons/navigation/first-page.js +32 -0
- package/svg-icons/navigation/fullscreen-exit.js +32 -0
- package/svg-icons/navigation/fullscreen.js +32 -0
- package/svg-icons/navigation/last-page.js +32 -0
- package/svg-icons/navigation/menu.js +32 -0
- package/svg-icons/navigation/more-horiz.js +32 -0
- package/svg-icons/navigation/more-vert.js +32 -0
- package/svg-icons/navigation/refresh.js +32 -0
- package/svg-icons/navigation/subdirectory-arrow-left.js +32 -0
- package/svg-icons/navigation/subdirectory-arrow-right.js +32 -0
- package/svg-icons/navigation/unfold-less.js +32 -0
- package/svg-icons/navigation/unfold-more.js +32 -0
- package/svg-icons/navigation-arrow-drop-right.js +33 -0
- package/svg-icons/notification/adb.js +32 -0
- package/svg-icons/notification/airline-seat-flat-angled.js +32 -0
- package/svg-icons/notification/airline-seat-flat.js +32 -0
- package/svg-icons/notification/airline-seat-individual-suite.js +32 -0
- package/svg-icons/notification/airline-seat-legroom-extra.js +32 -0
- package/svg-icons/notification/airline-seat-legroom-normal.js +32 -0
- package/svg-icons/notification/airline-seat-legroom-reduced.js +32 -0
- package/svg-icons/notification/airline-seat-recline-extra.js +32 -0
- package/svg-icons/notification/airline-seat-recline-normal.js +32 -0
- package/svg-icons/notification/bluetooth-audio.js +32 -0
- package/svg-icons/notification/confirmation-number.js +32 -0
- package/svg-icons/notification/disc-full.js +32 -0
- package/svg-icons/notification/do-not-disturb-alt.js +32 -0
- package/svg-icons/notification/do-not-disturb-off.js +32 -0
- package/svg-icons/notification/do-not-disturb-on.js +32 -0
- package/svg-icons/notification/do-not-disturb.js +32 -0
- package/svg-icons/notification/drive-eta.js +32 -0
- package/svg-icons/notification/enhanced-encryption.js +32 -0
- package/svg-icons/notification/event-available.js +32 -0
- package/svg-icons/notification/event-busy.js +32 -0
- package/svg-icons/notification/event-note.js +32 -0
- package/svg-icons/notification/folder-special.js +32 -0
- package/svg-icons/notification/live-tv.js +32 -0
- package/svg-icons/notification/mms.js +32 -0
- package/svg-icons/notification/more.js +32 -0
- package/svg-icons/notification/network-check.js +32 -0
- package/svg-icons/notification/network-locked.js +32 -0
- package/svg-icons/notification/no-encryption.js +32 -0
- package/svg-icons/notification/ondemand-video.js +32 -0
- package/svg-icons/notification/personal-video.js +32 -0
- package/svg-icons/notification/phone-bluetooth-speaker.js +32 -0
- package/svg-icons/notification/phone-forwarded.js +32 -0
- package/svg-icons/notification/phone-in-talk.js +32 -0
- package/svg-icons/notification/phone-locked.js +32 -0
- package/svg-icons/notification/phone-missed.js +32 -0
- package/svg-icons/notification/phone-paused.js +32 -0
- package/svg-icons/notification/power.js +32 -0
- package/svg-icons/notification/priority-high.js +33 -0
- package/svg-icons/notification/rv-hookup.js +32 -0
- package/svg-icons/notification/sd-card.js +32 -0
- package/svg-icons/notification/sim-card-alert.js +32 -0
- package/svg-icons/notification/sms-failed.js +32 -0
- package/svg-icons/notification/sms.js +32 -0
- package/svg-icons/notification/sync-disabled.js +32 -0
- package/svg-icons/notification/sync-problem.js +32 -0
- package/svg-icons/notification/sync.js +32 -0
- package/svg-icons/notification/system-update.js +32 -0
- package/svg-icons/notification/tap-and-play.js +32 -0
- package/svg-icons/notification/time-to-leave.js +32 -0
- package/svg-icons/notification/vibration.js +32 -0
- package/svg-icons/notification/voice-chat.js +32 -0
- package/svg-icons/notification/vpn-lock.js +32 -0
- package/svg-icons/notification/wc.js +32 -0
- package/svg-icons/notification/wifi.js +32 -0
- package/svg-icons/places/ac-unit.js +32 -0
- package/svg-icons/places/airport-shuttle.js +32 -0
- package/svg-icons/places/all-inclusive.js +32 -0
- package/svg-icons/places/beach-access.js +32 -0
- package/svg-icons/places/business-center.js +32 -0
- package/svg-icons/places/casino.js +32 -0
- package/svg-icons/places/child-care.js +34 -0
- package/svg-icons/places/child-friendly.js +32 -0
- package/svg-icons/places/fitness-center.js +32 -0
- package/svg-icons/places/free-breakfast.js +32 -0
- package/svg-icons/places/golf-course.js +33 -0
- package/svg-icons/places/hot-tub.js +33 -0
- package/svg-icons/places/kitchen.js +32 -0
- package/svg-icons/places/pool.js +33 -0
- package/svg-icons/places/room-service.js +32 -0
- package/svg-icons/places/rv-hookup.js +32 -0
- package/svg-icons/places/smoke-free.js +32 -0
- package/svg-icons/places/smoking-rooms.js +32 -0
- package/svg-icons/places/spa.js +33 -0
- package/svg-icons/social/cake.js +32 -0
- package/svg-icons/social/domain.js +32 -0
- package/svg-icons/social/group-add.js +32 -0
- package/svg-icons/social/group.js +32 -0
- package/svg-icons/social/location-city.js +32 -0
- package/svg-icons/social/mood-bad.js +32 -0
- package/svg-icons/social/mood.js +32 -0
- package/svg-icons/social/notifications-active.js +32 -0
- package/svg-icons/social/notifications-none.js +32 -0
- package/svg-icons/social/notifications-off.js +32 -0
- package/svg-icons/social/notifications-paused.js +32 -0
- package/svg-icons/social/notifications.js +32 -0
- package/svg-icons/social/pages.js +32 -0
- package/svg-icons/social/party-mode.js +32 -0
- package/svg-icons/social/people-outline.js +32 -0
- package/svg-icons/social/people.js +32 -0
- package/svg-icons/social/person-add.js +32 -0
- package/svg-icons/social/person-outline.js +32 -0
- package/svg-icons/social/person.js +32 -0
- package/svg-icons/social/plus-one.js +32 -0
- package/svg-icons/social/poll.js +32 -0
- package/svg-icons/social/public.js +32 -0
- package/svg-icons/social/school.js +32 -0
- package/svg-icons/social/sentiment-dissatisfied.js +34 -0
- package/svg-icons/social/sentiment-neutral.js +35 -0
- package/svg-icons/social/sentiment-satisfied.js +34 -0
- package/svg-icons/social/sentiment-very-dissatisfied.js +32 -0
- package/svg-icons/social/sentiment-very-satisfied.js +32 -0
- package/svg-icons/social/share.js +32 -0
- package/svg-icons/social/whatshot.js +32 -0
- package/svg-icons/toggle/check-box-outline-blank.js +32 -0
- package/svg-icons/toggle/check-box.js +32 -0
- package/svg-icons/toggle/indeterminate-check-box.js +32 -0
- package/svg-icons/toggle/radio-button-checked.js +32 -0
- package/svg-icons/toggle/radio-button-unchecked.js +32 -0
- package/svg-icons/toggle/star-border.js +32 -0
- package/svg-icons/toggle/star-half.js +32 -0
- package/svg-icons/toggle/star.js +32 -0
- package/utils/autoPrefix.js +10 -0
- package/utils/autoprefixer.js +79 -0
- package/utils/autoprefixerDynamic.js +40 -0
- package/utils/autoprefixerStatic.js +40 -0
- package/utils/callOnce.js +26 -0
- package/utils/childUtils.js +26 -0
- package/utils/colorManipulator.js +242 -0
- package/utils/deprecatedExport.js +22 -0
- package/utils/deprecatedPropType.js +38 -0
- package/utils/dom.js +24 -0
- package/utils/events.js +39 -0
- package/utils/propTypes.js +35 -0
- package/utils/rtl.js +89 -0
- package/utils/withWidth.js +132 -0
package/Slider/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = undefined;
|
|
7
|
+
|
|
8
|
+
var _Slider = require('./Slider');
|
|
9
|
+
|
|
10
|
+
var _Slider2 = _interopRequireDefault(_Slider);
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
exports.default = _Slider2.default;
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
8
|
+
|
|
9
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
10
|
+
|
|
11
|
+
var _simpleAssign = require('simple-assign');
|
|
12
|
+
|
|
13
|
+
var _simpleAssign2 = _interopRequireDefault(_simpleAssign);
|
|
14
|
+
|
|
15
|
+
var _react = require('react');
|
|
16
|
+
|
|
17
|
+
var _react2 = _interopRequireDefault(_react);
|
|
18
|
+
|
|
19
|
+
var _propTypes = require('prop-types');
|
|
20
|
+
|
|
21
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
22
|
+
|
|
23
|
+
var _transitions = require('../styles/transitions');
|
|
24
|
+
|
|
25
|
+
var _transitions2 = _interopRequireDefault(_transitions);
|
|
26
|
+
|
|
27
|
+
var _ClickAwayListener = require('../internal/ClickAwayListener');
|
|
28
|
+
|
|
29
|
+
var _ClickAwayListener2 = _interopRequireDefault(_ClickAwayListener);
|
|
30
|
+
|
|
31
|
+
var _SnackbarBody = require('./SnackbarBody');
|
|
32
|
+
|
|
33
|
+
var _SnackbarBody2 = _interopRequireDefault(_SnackbarBody);
|
|
34
|
+
|
|
35
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
36
|
+
|
|
37
|
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
38
|
+
|
|
39
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
40
|
+
|
|
41
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
42
|
+
|
|
43
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
44
|
+
|
|
45
|
+
function getStyles(props, context, state) {
|
|
46
|
+
var _context$muiTheme = context.muiTheme,
|
|
47
|
+
desktopSubheaderHeight = _context$muiTheme.baseTheme.spacing.desktopSubheaderHeight,
|
|
48
|
+
zIndex = _context$muiTheme.zIndex;
|
|
49
|
+
var open = state.open;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
var styles = {
|
|
53
|
+
root: {
|
|
54
|
+
position: 'fixed',
|
|
55
|
+
left: '50%',
|
|
56
|
+
display: 'flex',
|
|
57
|
+
bottom: 0,
|
|
58
|
+
zIndex: zIndex.snackbar,
|
|
59
|
+
visibility: open ? 'visible' : 'hidden',
|
|
60
|
+
transform: open ? 'translate(-50%, 0)' : 'translate(-50%, ' + desktopSubheaderHeight + 'px)',
|
|
61
|
+
transition: _transitions2.default.easeOut('400ms', 'transform') + ', ' + _transitions2.default.easeOut('400ms', 'visibility')
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return styles;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
var Snackbar = function (_Component) {
|
|
69
|
+
_inherits(Snackbar, _Component);
|
|
70
|
+
|
|
71
|
+
function Snackbar() {
|
|
72
|
+
var _ref;
|
|
73
|
+
|
|
74
|
+
var _temp, _this, _ret;
|
|
75
|
+
|
|
76
|
+
_classCallCheck(this, Snackbar);
|
|
77
|
+
|
|
78
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
79
|
+
args[_key] = arguments[_key];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Snackbar.__proto__ || Object.getPrototypeOf(Snackbar)).call.apply(_ref, [this].concat(args))), _this), _this.componentClickAway = function () {
|
|
83
|
+
if (_this.timerTransitionId) {
|
|
84
|
+
// If transitioning, don't close the snackbar.
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (_this.props.open !== null && _this.props.onRequestClose) {
|
|
89
|
+
_this.props.onRequestClose(Snackbar.reasons.CLICKAWAY);
|
|
90
|
+
} else {
|
|
91
|
+
_this.setState({ open: false });
|
|
92
|
+
}
|
|
93
|
+
}, _temp), _possibleConstructorReturn(_this, _ret);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
_createClass(Snackbar, [{
|
|
97
|
+
key: 'componentWillMount',
|
|
98
|
+
value: function componentWillMount() {
|
|
99
|
+
this.setState({
|
|
100
|
+
open: this.props.open,
|
|
101
|
+
message: this.props.message,
|
|
102
|
+
action: this.props.action
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
key: 'componentDidMount',
|
|
107
|
+
value: function componentDidMount() {
|
|
108
|
+
if (this.state.open) {
|
|
109
|
+
this.setAutoHideTimer();
|
|
110
|
+
this.setTransitionTimer();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}, {
|
|
114
|
+
key: 'componentWillReceiveProps',
|
|
115
|
+
value: function componentWillReceiveProps(nextProps) {
|
|
116
|
+
var _this2 = this;
|
|
117
|
+
|
|
118
|
+
if (this.props.open && nextProps.open && (nextProps.message !== this.props.message || nextProps.action !== this.props.action)) {
|
|
119
|
+
this.setState({
|
|
120
|
+
open: false
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
clearTimeout(this.timerOneAtTheTimeId);
|
|
124
|
+
this.timerOneAtTheTimeId = setTimeout(function () {
|
|
125
|
+
_this2.setState({
|
|
126
|
+
message: nextProps.message,
|
|
127
|
+
action: nextProps.action,
|
|
128
|
+
open: true
|
|
129
|
+
});
|
|
130
|
+
}, 400);
|
|
131
|
+
} else {
|
|
132
|
+
var open = nextProps.open;
|
|
133
|
+
|
|
134
|
+
this.setState({
|
|
135
|
+
open: open !== null ? open : this.state.open,
|
|
136
|
+
message: nextProps.message,
|
|
137
|
+
action: nextProps.action
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}, {
|
|
142
|
+
key: 'componentDidUpdate',
|
|
143
|
+
value: function componentDidUpdate(prevProps, prevState) {
|
|
144
|
+
if (prevState.open !== this.state.open) {
|
|
145
|
+
if (this.state.open) {
|
|
146
|
+
this.setAutoHideTimer();
|
|
147
|
+
this.setTransitionTimer();
|
|
148
|
+
} else {
|
|
149
|
+
clearTimeout(this.timerAutoHideId);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
key: 'componentWillUnmount',
|
|
155
|
+
value: function componentWillUnmount() {
|
|
156
|
+
clearTimeout(this.timerAutoHideId);
|
|
157
|
+
clearTimeout(this.timerTransitionId);
|
|
158
|
+
clearTimeout(this.timerOneAtTheTimeId);
|
|
159
|
+
}
|
|
160
|
+
}, {
|
|
161
|
+
key: 'setAutoHideTimer',
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
// Timer that controls delay before snackbar auto hides
|
|
165
|
+
value: function setAutoHideTimer() {
|
|
166
|
+
var _this3 = this;
|
|
167
|
+
|
|
168
|
+
var autoHideDuration = this.props.autoHideDuration;
|
|
169
|
+
|
|
170
|
+
if (autoHideDuration > 0) {
|
|
171
|
+
clearTimeout(this.timerAutoHideId);
|
|
172
|
+
this.timerAutoHideId = setTimeout(function () {
|
|
173
|
+
if (_this3.props.open !== null && _this3.props.onRequestClose) {
|
|
174
|
+
_this3.props.onRequestClose(Snackbar.reasons.TIMEOUT);
|
|
175
|
+
} else {
|
|
176
|
+
_this3.setState({ open: false });
|
|
177
|
+
}
|
|
178
|
+
}, autoHideDuration);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Timer that controls delay before click-away events are captured (based on when animation completes)
|
|
183
|
+
|
|
184
|
+
}, {
|
|
185
|
+
key: 'setTransitionTimer',
|
|
186
|
+
value: function setTransitionTimer() {
|
|
187
|
+
var _this4 = this;
|
|
188
|
+
|
|
189
|
+
this.timerTransitionId = setTimeout(function () {
|
|
190
|
+
_this4.timerTransitionId = undefined;
|
|
191
|
+
}, 400);
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: 'render',
|
|
195
|
+
value: function render() {
|
|
196
|
+
var _props = this.props,
|
|
197
|
+
autoHideDuration = _props.autoHideDuration,
|
|
198
|
+
contentStyle = _props.contentStyle,
|
|
199
|
+
bodyStyle = _props.bodyStyle,
|
|
200
|
+
messageProp = _props.message,
|
|
201
|
+
onRequestClose = _props.onRequestClose,
|
|
202
|
+
onActionClick = _props.onActionClick,
|
|
203
|
+
style = _props.style,
|
|
204
|
+
other = _objectWithoutProperties(_props, ['autoHideDuration', 'contentStyle', 'bodyStyle', 'message', 'onRequestClose', 'onActionClick', 'style']);
|
|
205
|
+
|
|
206
|
+
var _state = this.state,
|
|
207
|
+
action = _state.action,
|
|
208
|
+
message = _state.message,
|
|
209
|
+
open = _state.open;
|
|
210
|
+
var prepareStyles = this.context.muiTheme.prepareStyles;
|
|
211
|
+
|
|
212
|
+
var styles = getStyles(this.props, this.context, this.state);
|
|
213
|
+
|
|
214
|
+
return _react2.default.createElement(
|
|
215
|
+
_ClickAwayListener2.default,
|
|
216
|
+
{ onClickAway: open ? this.componentClickAway : null },
|
|
217
|
+
_react2.default.createElement(
|
|
218
|
+
'div',
|
|
219
|
+
_extends({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),
|
|
220
|
+
_react2.default.createElement(_SnackbarBody2.default, {
|
|
221
|
+
action: action,
|
|
222
|
+
contentStyle: contentStyle,
|
|
223
|
+
message: message,
|
|
224
|
+
open: open,
|
|
225
|
+
onActionClick: onActionClick,
|
|
226
|
+
style: bodyStyle
|
|
227
|
+
})
|
|
228
|
+
)
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
}]);
|
|
232
|
+
|
|
233
|
+
return Snackbar;
|
|
234
|
+
}(_react.Component);
|
|
235
|
+
|
|
236
|
+
Snackbar.propTypes = {
|
|
237
|
+
/**
|
|
238
|
+
* The label for the action on the snackbar.
|
|
239
|
+
*/
|
|
240
|
+
action: _propTypes2.default.node,
|
|
241
|
+
/**
|
|
242
|
+
* The number of milliseconds to wait before automatically dismissing.
|
|
243
|
+
* If no value is specified the snackbar will dismiss normally.
|
|
244
|
+
* If a value is provided the snackbar can still be dismissed normally.
|
|
245
|
+
* If a snackbar is dismissed before the timer expires, the timer will be cleared.
|
|
246
|
+
*/
|
|
247
|
+
autoHideDuration: _propTypes2.default.number,
|
|
248
|
+
/**
|
|
249
|
+
* Override the inline-styles of the body element.
|
|
250
|
+
*/
|
|
251
|
+
bodyStyle: _propTypes2.default.object,
|
|
252
|
+
/**
|
|
253
|
+
* The css class name of the root element.
|
|
254
|
+
*/
|
|
255
|
+
className: _propTypes2.default.string,
|
|
256
|
+
/**
|
|
257
|
+
* Override the inline-styles of the content element.
|
|
258
|
+
*/
|
|
259
|
+
contentStyle: _propTypes2.default.object,
|
|
260
|
+
/**
|
|
261
|
+
* The message to be displayed.
|
|
262
|
+
*
|
|
263
|
+
* (Note: If the message is an element or array, and the `Snackbar` may re-render while it is still open,
|
|
264
|
+
* ensure that the same object remains as the `message` property if you want to avoid the `Snackbar` hiding and
|
|
265
|
+
* showing again)
|
|
266
|
+
*/
|
|
267
|
+
message: _propTypes2.default.node.isRequired,
|
|
268
|
+
/**
|
|
269
|
+
* Fired when the action button is clicked.
|
|
270
|
+
*
|
|
271
|
+
* @param {object} event Action button event.
|
|
272
|
+
*/
|
|
273
|
+
onActionClick: _propTypes2.default.func,
|
|
274
|
+
/**
|
|
275
|
+
* Fired when the `Snackbar` is requested to be closed by a click outside the `Snackbar`, or after the
|
|
276
|
+
* `autoHideDuration` timer expires.
|
|
277
|
+
*
|
|
278
|
+
* Typically `onRequestClose` is used to set state in the parent component, which is used to control the `Snackbar`
|
|
279
|
+
* `open` prop.
|
|
280
|
+
*
|
|
281
|
+
* The `reason` parameter can optionally be used to control the response to `onRequestClose`,
|
|
282
|
+
* for example ignoring `clickaway`.
|
|
283
|
+
*
|
|
284
|
+
* @param {string} reason Can be:`"timeout"` (`autoHideDuration` expired) or: `"clickaway"`
|
|
285
|
+
*/
|
|
286
|
+
onRequestClose: _propTypes2.default.func,
|
|
287
|
+
/**
|
|
288
|
+
* Controls whether the `Snackbar` is opened or not.
|
|
289
|
+
*/
|
|
290
|
+
open: _propTypes2.default.bool.isRequired,
|
|
291
|
+
/**
|
|
292
|
+
* Override the inline-styles of the root element.
|
|
293
|
+
*/
|
|
294
|
+
style: _propTypes2.default.object
|
|
295
|
+
};
|
|
296
|
+
Snackbar.contextTypes = {
|
|
297
|
+
muiTheme: _propTypes2.default.object.isRequired
|
|
298
|
+
};
|
|
299
|
+
Snackbar.reasons = {
|
|
300
|
+
CLICKAWAY: 'clickaway',
|
|
301
|
+
TIMEOUT: 'timeout'
|
|
302
|
+
};
|
|
303
|
+
exports.default = Snackbar;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SnackbarBody = undefined;
|
|
7
|
+
|
|
8
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
9
|
+
|
|
10
|
+
var _simpleAssign = require('simple-assign');
|
|
11
|
+
|
|
12
|
+
var _simpleAssign2 = _interopRequireDefault(_simpleAssign);
|
|
13
|
+
|
|
14
|
+
var _react = require('react');
|
|
15
|
+
|
|
16
|
+
var _react2 = _interopRequireDefault(_react);
|
|
17
|
+
|
|
18
|
+
var _propTypes = require('prop-types');
|
|
19
|
+
|
|
20
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
21
|
+
|
|
22
|
+
var _transitions = require('../styles/transitions');
|
|
23
|
+
|
|
24
|
+
var _transitions2 = _interopRequireDefault(_transitions);
|
|
25
|
+
|
|
26
|
+
var _withWidth = require('../utils/withWidth');
|
|
27
|
+
|
|
28
|
+
var _withWidth2 = _interopRequireDefault(_withWidth);
|
|
29
|
+
|
|
30
|
+
var _FlatButton = require('../FlatButton');
|
|
31
|
+
|
|
32
|
+
var _FlatButton2 = _interopRequireDefault(_FlatButton);
|
|
33
|
+
|
|
34
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
|
+
|
|
36
|
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
37
|
+
|
|
38
|
+
function getStyles(props, context) {
|
|
39
|
+
var open = props.open,
|
|
40
|
+
width = props.width;
|
|
41
|
+
var _context$muiTheme = context.muiTheme,
|
|
42
|
+
_context$muiTheme$bas = _context$muiTheme.baseTheme,
|
|
43
|
+
_context$muiTheme$bas2 = _context$muiTheme$bas.spacing,
|
|
44
|
+
desktopGutter = _context$muiTheme$bas2.desktopGutter,
|
|
45
|
+
desktopSubheaderHeight = _context$muiTheme$bas2.desktopSubheaderHeight,
|
|
46
|
+
fontFamily = _context$muiTheme$bas.fontFamily,
|
|
47
|
+
_context$muiTheme$sna = _context$muiTheme.snackbar,
|
|
48
|
+
backgroundColor = _context$muiTheme$sna.backgroundColor,
|
|
49
|
+
textColor = _context$muiTheme$sna.textColor,
|
|
50
|
+
actionColor = _context$muiTheme$sna.actionColor,
|
|
51
|
+
borderRadius = _context$muiTheme.borderRadius;
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var isSmall = width === _withWidth.SMALL;
|
|
55
|
+
|
|
56
|
+
var styles = {
|
|
57
|
+
root: {
|
|
58
|
+
fontFamily: fontFamily,
|
|
59
|
+
backgroundColor: backgroundColor,
|
|
60
|
+
padding: '0 ' + desktopGutter + 'px',
|
|
61
|
+
height: desktopSubheaderHeight,
|
|
62
|
+
lineHeight: desktopSubheaderHeight + 'px',
|
|
63
|
+
borderRadius: isSmall ? 0 : borderRadius,
|
|
64
|
+
maxWidth: isSmall ? 'inherit' : 568,
|
|
65
|
+
minWidth: isSmall ? 'inherit' : 288,
|
|
66
|
+
width: isSmall ? 'calc(100vw - ' + desktopGutter * 2 + 'px)' : 'auto',
|
|
67
|
+
flexGrow: isSmall ? 1 : 0
|
|
68
|
+
},
|
|
69
|
+
content: {
|
|
70
|
+
fontSize: 14,
|
|
71
|
+
color: textColor,
|
|
72
|
+
opacity: open ? 1 : 0,
|
|
73
|
+
transition: open ? _transitions2.default.easeOut('500ms', 'opacity', '100ms') : _transitions2.default.easeOut('400ms', 'opacity')
|
|
74
|
+
},
|
|
75
|
+
action: {
|
|
76
|
+
color: actionColor,
|
|
77
|
+
float: 'right',
|
|
78
|
+
marginTop: 6,
|
|
79
|
+
marginRight: -16,
|
|
80
|
+
marginLeft: desktopGutter,
|
|
81
|
+
backgroundColor: 'transparent'
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
return styles;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var SnackbarBody = function SnackbarBody(props, context) {
|
|
89
|
+
var action = props.action,
|
|
90
|
+
contentStyle = props.contentStyle,
|
|
91
|
+
message = props.message,
|
|
92
|
+
open = props.open,
|
|
93
|
+
onActionClick = props.onActionClick,
|
|
94
|
+
style = props.style,
|
|
95
|
+
other = _objectWithoutProperties(props, ['action', 'contentStyle', 'message', 'open', 'onActionClick', 'style']);
|
|
96
|
+
|
|
97
|
+
var prepareStyles = context.muiTheme.prepareStyles;
|
|
98
|
+
|
|
99
|
+
var styles = getStyles(props, context);
|
|
100
|
+
|
|
101
|
+
var actionButton = action && _react2.default.createElement(_FlatButton2.default, {
|
|
102
|
+
style: styles.action,
|
|
103
|
+
label: action,
|
|
104
|
+
onClick: onActionClick
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
return _react2.default.createElement(
|
|
108
|
+
'div',
|
|
109
|
+
_extends({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),
|
|
110
|
+
_react2.default.createElement(
|
|
111
|
+
'div',
|
|
112
|
+
{ style: prepareStyles((0, _simpleAssign2.default)(styles.content, contentStyle)) },
|
|
113
|
+
_react2.default.createElement(
|
|
114
|
+
'span',
|
|
115
|
+
null,
|
|
116
|
+
message
|
|
117
|
+
),
|
|
118
|
+
actionButton
|
|
119
|
+
)
|
|
120
|
+
);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
exports.SnackbarBody = SnackbarBody;
|
|
124
|
+
SnackbarBody.propTypes = {
|
|
125
|
+
/**
|
|
126
|
+
* The label for the action on the snackbar.
|
|
127
|
+
*/
|
|
128
|
+
action: _propTypes2.default.node,
|
|
129
|
+
/**
|
|
130
|
+
* Override the inline-styles of the content element.
|
|
131
|
+
*/
|
|
132
|
+
contentStyle: _propTypes2.default.object,
|
|
133
|
+
/**
|
|
134
|
+
* The message to be displayed.
|
|
135
|
+
*
|
|
136
|
+
* (Note: If the message is an element or array, and the `Snackbar` may re-render while it is still open,
|
|
137
|
+
* ensure that the same object remains as the `message` property if you want to avoid the `Snackbar` hiding and
|
|
138
|
+
* showing again)
|
|
139
|
+
*/
|
|
140
|
+
message: _propTypes2.default.node.isRequired,
|
|
141
|
+
/**
|
|
142
|
+
* Fired when the action button is clicked.
|
|
143
|
+
*
|
|
144
|
+
* @param {object} event Action button event.
|
|
145
|
+
*/
|
|
146
|
+
onActionClick: _propTypes2.default.func,
|
|
147
|
+
/**
|
|
148
|
+
* @ignore
|
|
149
|
+
* Controls whether the `Snackbar` is opened or not.
|
|
150
|
+
*/
|
|
151
|
+
open: _propTypes2.default.bool.isRequired,
|
|
152
|
+
/**
|
|
153
|
+
* Override the inline-styles of the root element.
|
|
154
|
+
*/
|
|
155
|
+
style: _propTypes2.default.object,
|
|
156
|
+
/**
|
|
157
|
+
* @ignore
|
|
158
|
+
* Width of the screen.
|
|
159
|
+
*/
|
|
160
|
+
width: _propTypes2.default.number.isRequired
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
SnackbarBody.contextTypes = {
|
|
164
|
+
muiTheme: _propTypes2.default.object.isRequired
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
exports.default = (0, _withWidth2.default)()(SnackbarBody);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = undefined;
|
|
7
|
+
|
|
8
|
+
var _Snackbar = require('./Snackbar');
|
|
9
|
+
|
|
10
|
+
var _Snackbar2 = _interopRequireDefault(_Snackbar);
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
exports.default = _Snackbar2.default;
|
package/Stepper/Step.js
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
8
|
+
|
|
9
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
10
|
+
|
|
11
|
+
var _simpleAssign = require('simple-assign');
|
|
12
|
+
|
|
13
|
+
var _simpleAssign2 = _interopRequireDefault(_simpleAssign);
|
|
14
|
+
|
|
15
|
+
var _react = require('react');
|
|
16
|
+
|
|
17
|
+
var _react2 = _interopRequireDefault(_react);
|
|
18
|
+
|
|
19
|
+
var _propTypes = require('prop-types');
|
|
20
|
+
|
|
21
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
22
|
+
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
+
|
|
25
|
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
26
|
+
|
|
27
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
28
|
+
|
|
29
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
30
|
+
|
|
31
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
32
|
+
|
|
33
|
+
var getStyles = function getStyles(_ref, _ref2) {
|
|
34
|
+
var index = _ref.index;
|
|
35
|
+
var stepper = _ref2.stepper;
|
|
36
|
+
var orientation = stepper.orientation;
|
|
37
|
+
|
|
38
|
+
var styles = {
|
|
39
|
+
root: {
|
|
40
|
+
flex: '0 0 auto'
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
if (index > 0) {
|
|
45
|
+
if (orientation === 'horizontal') {
|
|
46
|
+
styles.root.marginLeft = -6;
|
|
47
|
+
} else if (orientation === 'vertical') {
|
|
48
|
+
styles.root.marginTop = -14;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return styles;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var Step = function (_Component) {
|
|
56
|
+
_inherits(Step, _Component);
|
|
57
|
+
|
|
58
|
+
function Step() {
|
|
59
|
+
var _ref3;
|
|
60
|
+
|
|
61
|
+
var _temp, _this, _ret;
|
|
62
|
+
|
|
63
|
+
_classCallCheck(this, Step);
|
|
64
|
+
|
|
65
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
66
|
+
args[_key] = arguments[_key];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref3 = Step.__proto__ || Object.getPrototypeOf(Step)).call.apply(_ref3, [this].concat(args))), _this), _this.renderChild = function (child) {
|
|
70
|
+
var _this$props = _this.props,
|
|
71
|
+
active = _this$props.active,
|
|
72
|
+
completed = _this$props.completed,
|
|
73
|
+
disabled = _this$props.disabled,
|
|
74
|
+
index = _this$props.index,
|
|
75
|
+
last = _this$props.last;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
var icon = index + 1;
|
|
79
|
+
|
|
80
|
+
return _react2.default.cloneElement(child, (0, _simpleAssign2.default)({ active: active, completed: completed, disabled: disabled, icon: icon, last: last }, child.props));
|
|
81
|
+
}, _temp), _possibleConstructorReturn(_this, _ret);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
_createClass(Step, [{
|
|
85
|
+
key: 'render',
|
|
86
|
+
value: function render() {
|
|
87
|
+
var _props = this.props,
|
|
88
|
+
active = _props.active,
|
|
89
|
+
completed = _props.completed,
|
|
90
|
+
disabled = _props.disabled,
|
|
91
|
+
index = _props.index,
|
|
92
|
+
last = _props.last,
|
|
93
|
+
children = _props.children,
|
|
94
|
+
style = _props.style,
|
|
95
|
+
other = _objectWithoutProperties(_props, ['active', 'completed', 'disabled', 'index', 'last', 'children', 'style']);
|
|
96
|
+
|
|
97
|
+
var prepareStyles = this.context.muiTheme.prepareStyles;
|
|
98
|
+
|
|
99
|
+
var styles = getStyles(this.props, this.context);
|
|
100
|
+
|
|
101
|
+
return _react2.default.createElement(
|
|
102
|
+
'div',
|
|
103
|
+
_extends({ style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }, other),
|
|
104
|
+
_react2.default.Children.map(children, this.renderChild)
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}]);
|
|
108
|
+
|
|
109
|
+
return Step;
|
|
110
|
+
}(_react.Component);
|
|
111
|
+
|
|
112
|
+
Step.propTypes = {
|
|
113
|
+
/**
|
|
114
|
+
* Sets the step as active. Is passed to child components.
|
|
115
|
+
*/
|
|
116
|
+
active: _propTypes2.default.bool,
|
|
117
|
+
/**
|
|
118
|
+
* Should be `Step` sub-components such as `StepLabel`.
|
|
119
|
+
*/
|
|
120
|
+
children: _propTypes2.default.node,
|
|
121
|
+
/**
|
|
122
|
+
* Mark the step as completed. Is passed to child components.
|
|
123
|
+
*/
|
|
124
|
+
completed: _propTypes2.default.bool,
|
|
125
|
+
/**
|
|
126
|
+
* Mark the step as disabled, will also disable the button if
|
|
127
|
+
* `StepButton` is a child of `Step`. Is passed to child components.
|
|
128
|
+
*/
|
|
129
|
+
disabled: _propTypes2.default.bool,
|
|
130
|
+
/**
|
|
131
|
+
* @ignore
|
|
132
|
+
* Used internally for numbering.
|
|
133
|
+
*/
|
|
134
|
+
index: _propTypes2.default.number,
|
|
135
|
+
/**
|
|
136
|
+
* @ignore
|
|
137
|
+
*/
|
|
138
|
+
last: _propTypes2.default.bool,
|
|
139
|
+
/**
|
|
140
|
+
* Override the inline-style of the root element.
|
|
141
|
+
*/
|
|
142
|
+
style: _propTypes2.default.object
|
|
143
|
+
};
|
|
144
|
+
Step.contextTypes = {
|
|
145
|
+
muiTheme: _propTypes2.default.object.isRequired,
|
|
146
|
+
stepper: _propTypes2.default.object
|
|
147
|
+
};
|
|
148
|
+
exports.default = Step;
|