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/Card/Card.js
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
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 _Paper = require('../Paper');
|
|
24
|
+
|
|
25
|
+
var _Paper2 = _interopRequireDefault(_Paper);
|
|
26
|
+
|
|
27
|
+
var _CardExpandable = require('./CardExpandable');
|
|
28
|
+
|
|
29
|
+
var _CardExpandable2 = _interopRequireDefault(_CardExpandable);
|
|
30
|
+
|
|
31
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
32
|
+
|
|
33
|
+
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; }
|
|
34
|
+
|
|
35
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
36
|
+
|
|
37
|
+
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; }
|
|
38
|
+
|
|
39
|
+
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; }
|
|
40
|
+
|
|
41
|
+
var Card = function (_Component) {
|
|
42
|
+
_inherits(Card, _Component);
|
|
43
|
+
|
|
44
|
+
function Card() {
|
|
45
|
+
var _ref;
|
|
46
|
+
|
|
47
|
+
var _temp, _this, _ret;
|
|
48
|
+
|
|
49
|
+
_classCallCheck(this, Card);
|
|
50
|
+
|
|
51
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
52
|
+
args[_key] = arguments[_key];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Card.__proto__ || Object.getPrototypeOf(Card)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
|
56
|
+
expanded: null
|
|
57
|
+
}, _this.handleExpanding = function (event) {
|
|
58
|
+
event.preventDefault();
|
|
59
|
+
var newExpandedState = !_this.state.expanded;
|
|
60
|
+
// no automatic state update when the component is controlled
|
|
61
|
+
if (_this.props.expanded === null) {
|
|
62
|
+
_this.setState({ expanded: newExpandedState });
|
|
63
|
+
}
|
|
64
|
+
if (_this.props.onExpandChange) {
|
|
65
|
+
_this.props.onExpandChange(newExpandedState);
|
|
66
|
+
}
|
|
67
|
+
}, _temp), _possibleConstructorReturn(_this, _ret);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
_createClass(Card, [{
|
|
71
|
+
key: 'componentWillMount',
|
|
72
|
+
value: function componentWillMount() {
|
|
73
|
+
this.setState({
|
|
74
|
+
expanded: this.props.expanded === null ? this.props.initiallyExpanded === true : this.props.expanded
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}, {
|
|
78
|
+
key: 'componentWillReceiveProps',
|
|
79
|
+
value: function componentWillReceiveProps(nextProps) {
|
|
80
|
+
// update the state when the component is controlled.
|
|
81
|
+
if (nextProps.expanded !== null) this.setState({ expanded: nextProps.expanded });
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
key: 'render',
|
|
85
|
+
value: function render() {
|
|
86
|
+
var _this2 = this;
|
|
87
|
+
|
|
88
|
+
var _props = this.props,
|
|
89
|
+
style = _props.style,
|
|
90
|
+
containerStyle = _props.containerStyle,
|
|
91
|
+
children = _props.children,
|
|
92
|
+
expandable = _props.expandable,
|
|
93
|
+
expandedProp = _props.expanded,
|
|
94
|
+
initiallyExpanded = _props.initiallyExpanded,
|
|
95
|
+
onExpandChange = _props.onExpandChange,
|
|
96
|
+
other = _objectWithoutProperties(_props, ['style', 'containerStyle', 'children', 'expandable', 'expanded', 'initiallyExpanded', 'onExpandChange']);
|
|
97
|
+
|
|
98
|
+
var lastElement = void 0;
|
|
99
|
+
var expanded = this.state.expanded;
|
|
100
|
+
var newChildren = _react2.default.Children.map(children, function (currentChild) {
|
|
101
|
+
var doClone = false;
|
|
102
|
+
var newChild = undefined;
|
|
103
|
+
var newProps = {};
|
|
104
|
+
var element = currentChild;
|
|
105
|
+
if (!currentChild || !currentChild.props) {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
if (expanded === false && currentChild.props.expandable === true) return;
|
|
109
|
+
if (currentChild.props.actAsExpander === true) {
|
|
110
|
+
doClone = true;
|
|
111
|
+
newProps.onClick = _this2.handleExpanding;
|
|
112
|
+
newProps.style = (0, _simpleAssign2.default)({ cursor: 'pointer' }, currentChild.props.style);
|
|
113
|
+
}
|
|
114
|
+
if (currentChild.props.showExpandableButton === true) {
|
|
115
|
+
doClone = true;
|
|
116
|
+
newChild = _react2.default.createElement(_CardExpandable2.default, {
|
|
117
|
+
closeIcon: currentChild.props.closeIcon,
|
|
118
|
+
expanded: expanded,
|
|
119
|
+
onExpanding: _this2.handleExpanding,
|
|
120
|
+
openIcon: currentChild.props.openIcon,
|
|
121
|
+
iconStyle: currentChild.props.iconStyle
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
if (doClone) {
|
|
125
|
+
element = _react2.default.cloneElement(currentChild, newProps, currentChild.props.children, newChild);
|
|
126
|
+
}
|
|
127
|
+
lastElement = element;
|
|
128
|
+
return element;
|
|
129
|
+
}, this);
|
|
130
|
+
|
|
131
|
+
// If the last element is text or a title we should add
|
|
132
|
+
// 8px padding to the bottom of the card
|
|
133
|
+
var addBottomPadding = lastElement && (lastElement.type.muiName === 'CardText' || lastElement.type.muiName === 'CardTitle');
|
|
134
|
+
|
|
135
|
+
var mergedStyles = (0, _simpleAssign2.default)({
|
|
136
|
+
zIndex: 1
|
|
137
|
+
}, style);
|
|
138
|
+
var containerMergedStyles = (0, _simpleAssign2.default)({
|
|
139
|
+
paddingBottom: addBottomPadding ? 8 : 0
|
|
140
|
+
}, containerStyle);
|
|
141
|
+
|
|
142
|
+
return _react2.default.createElement(
|
|
143
|
+
_Paper2.default,
|
|
144
|
+
_extends({}, other, { style: mergedStyles }),
|
|
145
|
+
_react2.default.createElement(
|
|
146
|
+
'div',
|
|
147
|
+
{ style: containerMergedStyles },
|
|
148
|
+
newChildren
|
|
149
|
+
)
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
}]);
|
|
153
|
+
|
|
154
|
+
return Card;
|
|
155
|
+
}(_react.Component);
|
|
156
|
+
|
|
157
|
+
Card.propTypes = {
|
|
158
|
+
/**
|
|
159
|
+
* Can be used to render elements inside the Card.
|
|
160
|
+
*/
|
|
161
|
+
children: _propTypes2.default.node,
|
|
162
|
+
/**
|
|
163
|
+
* Override the inline-styles of the container element.
|
|
164
|
+
*/
|
|
165
|
+
containerStyle: _propTypes2.default.object,
|
|
166
|
+
/**
|
|
167
|
+
* If true, this card component is expandable. Can be set on any child of the `Card` component.
|
|
168
|
+
*/
|
|
169
|
+
expandable: _propTypes2.default.bool,
|
|
170
|
+
/**
|
|
171
|
+
* Whether this card is expanded.
|
|
172
|
+
* If `true` or `false` the component is controlled.
|
|
173
|
+
* if `null` the component is uncontrolled.
|
|
174
|
+
*/
|
|
175
|
+
expanded: _propTypes2.default.bool,
|
|
176
|
+
/**
|
|
177
|
+
* Whether this card is initially expanded.
|
|
178
|
+
*/
|
|
179
|
+
initiallyExpanded: _propTypes2.default.bool,
|
|
180
|
+
/**
|
|
181
|
+
* Callback function fired when the `expandable` state of the card has changed.
|
|
182
|
+
*
|
|
183
|
+
* @param {boolean} newExpandedState Represents the new `expanded` state of the card.
|
|
184
|
+
*/
|
|
185
|
+
onExpandChange: _propTypes2.default.func,
|
|
186
|
+
/**
|
|
187
|
+
* If true, this card component will include a button to expand the card. `CardTitle`,
|
|
188
|
+
* `CardHeader` and `CardActions` implement `showExpandableButton`. Any child component
|
|
189
|
+
* of `Card` can implements `showExpandableButton` or forwards the property to a child
|
|
190
|
+
* component supporting it.
|
|
191
|
+
*/
|
|
192
|
+
showExpandableButton: _propTypes2.default.bool,
|
|
193
|
+
/**
|
|
194
|
+
* Override the inline-styles of the root element.
|
|
195
|
+
*/
|
|
196
|
+
style: _propTypes2.default.object
|
|
197
|
+
};
|
|
198
|
+
Card.defaultProps = {
|
|
199
|
+
expandable: false,
|
|
200
|
+
expanded: null,
|
|
201
|
+
initiallyExpanded: false
|
|
202
|
+
};
|
|
203
|
+
exports.default = Card;
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
function getStyles() {
|
|
34
|
+
return {
|
|
35
|
+
root: {
|
|
36
|
+
padding: 8,
|
|
37
|
+
position: 'relative'
|
|
38
|
+
},
|
|
39
|
+
action: {
|
|
40
|
+
marginRight: 8
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
var CardActions = function (_Component) {
|
|
46
|
+
_inherits(CardActions, _Component);
|
|
47
|
+
|
|
48
|
+
function CardActions() {
|
|
49
|
+
_classCallCheck(this, CardActions);
|
|
50
|
+
|
|
51
|
+
return _possibleConstructorReturn(this, (CardActions.__proto__ || Object.getPrototypeOf(CardActions)).apply(this, arguments));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
_createClass(CardActions, [{
|
|
55
|
+
key: 'render',
|
|
56
|
+
value: function render() {
|
|
57
|
+
var _props = this.props,
|
|
58
|
+
actAsExpander = _props.actAsExpander,
|
|
59
|
+
children = _props.children,
|
|
60
|
+
expandable = _props.expandable,
|
|
61
|
+
showExpandableButton = _props.showExpandableButton,
|
|
62
|
+
style = _props.style,
|
|
63
|
+
other = _objectWithoutProperties(_props, ['actAsExpander', 'children', 'expandable', 'showExpandableButton', 'style']);
|
|
64
|
+
|
|
65
|
+
var prepareStyles = this.context.muiTheme.prepareStyles;
|
|
66
|
+
|
|
67
|
+
var styles = getStyles(this.props, this.context);
|
|
68
|
+
|
|
69
|
+
var styledChildren = _react2.default.Children.map(children, function (child) {
|
|
70
|
+
if (_react2.default.isValidElement(child)) {
|
|
71
|
+
return _react2.default.cloneElement(child, {
|
|
72
|
+
style: (0, _simpleAssign2.default)({}, styles.action, child.props.style)
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return _react2.default.createElement(
|
|
78
|
+
'div',
|
|
79
|
+
_extends({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),
|
|
80
|
+
styledChildren
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
}]);
|
|
84
|
+
|
|
85
|
+
return CardActions;
|
|
86
|
+
}(_react.Component);
|
|
87
|
+
|
|
88
|
+
CardActions.propTypes = {
|
|
89
|
+
/**
|
|
90
|
+
* If true, a click on this card component expands the card.
|
|
91
|
+
*/
|
|
92
|
+
actAsExpander: _propTypes2.default.bool,
|
|
93
|
+
/**
|
|
94
|
+
* Can be used to render elements inside the Card Action.
|
|
95
|
+
*/
|
|
96
|
+
children: _propTypes2.default.node,
|
|
97
|
+
/**
|
|
98
|
+
* If true, this card component is expandable.
|
|
99
|
+
*/
|
|
100
|
+
expandable: _propTypes2.default.bool,
|
|
101
|
+
/**
|
|
102
|
+
* If true, this card component will include a button to expand the card.
|
|
103
|
+
*/
|
|
104
|
+
showExpandableButton: _propTypes2.default.bool,
|
|
105
|
+
/**
|
|
106
|
+
* Override the inline-styles of the root element.
|
|
107
|
+
*/
|
|
108
|
+
style: _propTypes2.default.object
|
|
109
|
+
};
|
|
110
|
+
CardActions.contextTypes = {
|
|
111
|
+
muiTheme: _propTypes2.default.object.isRequired
|
|
112
|
+
};
|
|
113
|
+
exports.default = CardActions;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
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; }; }();
|
|
8
|
+
|
|
9
|
+
var _simpleAssign = require('simple-assign');
|
|
10
|
+
|
|
11
|
+
var _simpleAssign2 = _interopRequireDefault(_simpleAssign);
|
|
12
|
+
|
|
13
|
+
var _react = require('react');
|
|
14
|
+
|
|
15
|
+
var _react2 = _interopRequireDefault(_react);
|
|
16
|
+
|
|
17
|
+
var _propTypes = require('prop-types');
|
|
18
|
+
|
|
19
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
20
|
+
|
|
21
|
+
var _keyboardArrowUp = require('../svg-icons/hardware/keyboard-arrow-up');
|
|
22
|
+
|
|
23
|
+
var _keyboardArrowUp2 = _interopRequireDefault(_keyboardArrowUp);
|
|
24
|
+
|
|
25
|
+
var _keyboardArrowDown = require('../svg-icons/hardware/keyboard-arrow-down');
|
|
26
|
+
|
|
27
|
+
var _keyboardArrowDown2 = _interopRequireDefault(_keyboardArrowDown);
|
|
28
|
+
|
|
29
|
+
var _IconButton = require('../IconButton');
|
|
30
|
+
|
|
31
|
+
var _IconButton2 = _interopRequireDefault(_IconButton);
|
|
32
|
+
|
|
33
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
34
|
+
|
|
35
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
36
|
+
|
|
37
|
+
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; }
|
|
38
|
+
|
|
39
|
+
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; }
|
|
40
|
+
|
|
41
|
+
function getStyles() {
|
|
42
|
+
return {
|
|
43
|
+
root: {
|
|
44
|
+
top: 0,
|
|
45
|
+
bottom: 0,
|
|
46
|
+
right: 4,
|
|
47
|
+
margin: 'auto',
|
|
48
|
+
position: 'absolute'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
var CardExpandable = function (_Component) {
|
|
54
|
+
_inherits(CardExpandable, _Component);
|
|
55
|
+
|
|
56
|
+
function CardExpandable() {
|
|
57
|
+
_classCallCheck(this, CardExpandable);
|
|
58
|
+
|
|
59
|
+
return _possibleConstructorReturn(this, (CardExpandable.__proto__ || Object.getPrototypeOf(CardExpandable)).apply(this, arguments));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
_createClass(CardExpandable, [{
|
|
63
|
+
key: 'render',
|
|
64
|
+
value: function render() {
|
|
65
|
+
var styles = getStyles(this.props, this.context);
|
|
66
|
+
|
|
67
|
+
return _react2.default.createElement(
|
|
68
|
+
_IconButton2.default,
|
|
69
|
+
{
|
|
70
|
+
style: (0, _simpleAssign2.default)(styles.root, this.props.style),
|
|
71
|
+
onClick: this.props.onExpanding,
|
|
72
|
+
iconStyle: this.props.iconStyle
|
|
73
|
+
},
|
|
74
|
+
this.props.expanded ? this.props.openIcon : this.props.closeIcon
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
}]);
|
|
78
|
+
|
|
79
|
+
return CardExpandable;
|
|
80
|
+
}(_react.Component);
|
|
81
|
+
|
|
82
|
+
CardExpandable.propTypes = {
|
|
83
|
+
closeIcon: _propTypes2.default.node,
|
|
84
|
+
expanded: _propTypes2.default.bool,
|
|
85
|
+
iconStyle: _propTypes2.default.object,
|
|
86
|
+
onExpanding: _propTypes2.default.func.isRequired,
|
|
87
|
+
openIcon: _propTypes2.default.node,
|
|
88
|
+
style: _propTypes2.default.object
|
|
89
|
+
};
|
|
90
|
+
CardExpandable.contextTypes = {
|
|
91
|
+
muiTheme: _propTypes2.default.object.isRequired
|
|
92
|
+
};
|
|
93
|
+
CardExpandable.defaultProps = {
|
|
94
|
+
closeIcon: _react2.default.createElement(_keyboardArrowDown2.default, null),
|
|
95
|
+
openIcon: _react2.default.createElement(_keyboardArrowUp2.default, null)
|
|
96
|
+
};
|
|
97
|
+
exports.default = CardExpandable;
|
|
@@ -0,0 +1,217 @@
|
|
|
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 _Avatar = require('../Avatar');
|
|
24
|
+
|
|
25
|
+
var _Avatar2 = _interopRequireDefault(_Avatar);
|
|
26
|
+
|
|
27
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
|
+
|
|
29
|
+
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; }
|
|
30
|
+
|
|
31
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
32
|
+
|
|
33
|
+
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; }
|
|
34
|
+
|
|
35
|
+
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; }
|
|
36
|
+
|
|
37
|
+
function getStyles(props, context) {
|
|
38
|
+
var card = context.muiTheme.card;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
return {
|
|
42
|
+
root: {
|
|
43
|
+
padding: 16,
|
|
44
|
+
fontWeight: card.fontWeight,
|
|
45
|
+
boxSizing: 'border-box',
|
|
46
|
+
position: 'relative',
|
|
47
|
+
whiteSpace: 'nowrap'
|
|
48
|
+
},
|
|
49
|
+
text: {
|
|
50
|
+
display: 'inline-block',
|
|
51
|
+
verticalAlign: 'top',
|
|
52
|
+
whiteSpace: 'normal',
|
|
53
|
+
paddingRight: '90px'
|
|
54
|
+
},
|
|
55
|
+
avatar: {
|
|
56
|
+
marginRight: 16
|
|
57
|
+
},
|
|
58
|
+
title: {
|
|
59
|
+
color: props.titleColor || card.titleColor,
|
|
60
|
+
display: 'block',
|
|
61
|
+
fontSize: 15
|
|
62
|
+
},
|
|
63
|
+
subtitle: {
|
|
64
|
+
color: props.subtitleColor || card.subtitleColor,
|
|
65
|
+
display: 'block',
|
|
66
|
+
fontSize: 14
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
var CardHeader = function (_Component) {
|
|
72
|
+
_inherits(CardHeader, _Component);
|
|
73
|
+
|
|
74
|
+
function CardHeader() {
|
|
75
|
+
_classCallCheck(this, CardHeader);
|
|
76
|
+
|
|
77
|
+
return _possibleConstructorReturn(this, (CardHeader.__proto__ || Object.getPrototypeOf(CardHeader)).apply(this, arguments));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
_createClass(CardHeader, [{
|
|
81
|
+
key: 'render',
|
|
82
|
+
value: function render() {
|
|
83
|
+
var _props = this.props,
|
|
84
|
+
actAsExpander = _props.actAsExpander,
|
|
85
|
+
avatarProp = _props.avatar,
|
|
86
|
+
children = _props.children,
|
|
87
|
+
closeIcon = _props.closeIcon,
|
|
88
|
+
expandable = _props.expandable,
|
|
89
|
+
openIcon = _props.openIcon,
|
|
90
|
+
showExpandableButton = _props.showExpandableButton,
|
|
91
|
+
style = _props.style,
|
|
92
|
+
subtitle = _props.subtitle,
|
|
93
|
+
subtitleColor = _props.subtitleColor,
|
|
94
|
+
subtitleStyle = _props.subtitleStyle,
|
|
95
|
+
textStyle = _props.textStyle,
|
|
96
|
+
title = _props.title,
|
|
97
|
+
titleColor = _props.titleColor,
|
|
98
|
+
titleStyle = _props.titleStyle,
|
|
99
|
+
iconStyle = _props.iconStyle,
|
|
100
|
+
other = _objectWithoutProperties(_props, ['actAsExpander', 'avatar', 'children', 'closeIcon', 'expandable', 'openIcon', 'showExpandableButton', 'style', 'subtitle', 'subtitleColor', 'subtitleStyle', 'textStyle', 'title', 'titleColor', 'titleStyle', 'iconStyle']);
|
|
101
|
+
|
|
102
|
+
var prepareStyles = this.context.muiTheme.prepareStyles;
|
|
103
|
+
|
|
104
|
+
var styles = getStyles(this.props, this.context);
|
|
105
|
+
|
|
106
|
+
var avatar = avatarProp;
|
|
107
|
+
|
|
108
|
+
if ((0, _react.isValidElement)(avatarProp)) {
|
|
109
|
+
avatar = _react2.default.cloneElement(avatar, {
|
|
110
|
+
style: (0, _simpleAssign2.default)(styles.avatar, avatar.props.style)
|
|
111
|
+
});
|
|
112
|
+
} else if (avatar !== null) {
|
|
113
|
+
avatar = _react2.default.createElement(_Avatar2.default, { src: avatarProp, style: styles.avatar });
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return _react2.default.createElement(
|
|
117
|
+
'div',
|
|
118
|
+
_extends({}, other, { style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) }),
|
|
119
|
+
avatar,
|
|
120
|
+
_react2.default.createElement(
|
|
121
|
+
'div',
|
|
122
|
+
{ style: prepareStyles((0, _simpleAssign2.default)(styles.text, textStyle)) },
|
|
123
|
+
_react2.default.createElement(
|
|
124
|
+
'span',
|
|
125
|
+
{ style: prepareStyles((0, _simpleAssign2.default)(styles.title, titleStyle)) },
|
|
126
|
+
title
|
|
127
|
+
),
|
|
128
|
+
_react2.default.createElement(
|
|
129
|
+
'span',
|
|
130
|
+
{ style: prepareStyles((0, _simpleAssign2.default)(styles.subtitle, subtitleStyle)) },
|
|
131
|
+
subtitle
|
|
132
|
+
)
|
|
133
|
+
),
|
|
134
|
+
children
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
}]);
|
|
138
|
+
|
|
139
|
+
return CardHeader;
|
|
140
|
+
}(_react.Component);
|
|
141
|
+
|
|
142
|
+
CardHeader.muiName = 'CardHeader';
|
|
143
|
+
CardHeader.propTypes = {
|
|
144
|
+
/**
|
|
145
|
+
* If true, a click on this card component expands the card.
|
|
146
|
+
*/
|
|
147
|
+
actAsExpander: _propTypes2.default.bool,
|
|
148
|
+
/**
|
|
149
|
+
* This is the [Avatar](/#/components/avatar) element to be displayed on the Card Header.
|
|
150
|
+
* If `avatar` is an `Avatar` or other element, it will be rendered.
|
|
151
|
+
* If `avatar` is a string, it will be used as the image `src` for an `Avatar`.
|
|
152
|
+
*/
|
|
153
|
+
avatar: _propTypes2.default.node,
|
|
154
|
+
/**
|
|
155
|
+
* Can be used to render elements inside the Card Header.
|
|
156
|
+
*/
|
|
157
|
+
children: _propTypes2.default.node,
|
|
158
|
+
/**
|
|
159
|
+
* Can be used to pass a closeIcon if you don't like the default expandable close Icon.
|
|
160
|
+
*/
|
|
161
|
+
closeIcon: _propTypes2.default.node,
|
|
162
|
+
/**
|
|
163
|
+
* If true, this card component is expandable.
|
|
164
|
+
*/
|
|
165
|
+
expandable: _propTypes2.default.bool,
|
|
166
|
+
/**
|
|
167
|
+
* Override the iconStyle of the Icon Button.
|
|
168
|
+
*/
|
|
169
|
+
iconStyle: _propTypes2.default.object,
|
|
170
|
+
/**
|
|
171
|
+
* Can be used to pass a openIcon if you don't like the default expandable open Icon.
|
|
172
|
+
*/
|
|
173
|
+
openIcon: _propTypes2.default.node,
|
|
174
|
+
/**
|
|
175
|
+
* If true, this card component will include a button to expand the card.
|
|
176
|
+
*/
|
|
177
|
+
showExpandableButton: _propTypes2.default.bool,
|
|
178
|
+
/**
|
|
179
|
+
* Override the inline-styles of the root element.
|
|
180
|
+
*/
|
|
181
|
+
style: _propTypes2.default.object,
|
|
182
|
+
/**
|
|
183
|
+
* Can be used to render a subtitle in Card Header.
|
|
184
|
+
*/
|
|
185
|
+
subtitle: _propTypes2.default.node,
|
|
186
|
+
/**
|
|
187
|
+
* Override the subtitle color.
|
|
188
|
+
*/
|
|
189
|
+
subtitleColor: _propTypes2.default.string,
|
|
190
|
+
/**
|
|
191
|
+
* Override the inline-styles of the subtitle.
|
|
192
|
+
*/
|
|
193
|
+
subtitleStyle: _propTypes2.default.object,
|
|
194
|
+
/**
|
|
195
|
+
* Override the inline-styles of the text.
|
|
196
|
+
*/
|
|
197
|
+
textStyle: _propTypes2.default.object,
|
|
198
|
+
/**
|
|
199
|
+
* Can be used to render a title in Card Header.
|
|
200
|
+
*/
|
|
201
|
+
title: _propTypes2.default.node,
|
|
202
|
+
/**
|
|
203
|
+
* Override the title color.
|
|
204
|
+
*/
|
|
205
|
+
titleColor: _propTypes2.default.string,
|
|
206
|
+
/**
|
|
207
|
+
* Override the inline-styles of the title.
|
|
208
|
+
*/
|
|
209
|
+
titleStyle: _propTypes2.default.object
|
|
210
|
+
};
|
|
211
|
+
CardHeader.defaultProps = {
|
|
212
|
+
avatar: null
|
|
213
|
+
};
|
|
214
|
+
CardHeader.contextTypes = {
|
|
215
|
+
muiTheme: _propTypes2.default.object.isRequired
|
|
216
|
+
};
|
|
217
|
+
exports.default = CardHeader;
|