├── .gitignore ├── src ├── main │ ├── resources │ │ └── gwt │ │ │ └── material │ │ │ └── design │ │ │ ├── incubator │ │ │ ├── client │ │ │ │ ├── tag │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── tag-dark.min.css │ │ │ │ │ │ └── tag-dark.css │ │ │ │ ├── hero │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── hero-video.min.css │ │ │ │ │ │ └── hero-video.css │ │ │ │ ├── search │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── inline-search-dark.min.css │ │ │ │ │ │ └── inline-search-dark.css │ │ │ │ ├── timer │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── timer-dark.min.css │ │ │ │ │ │ ├── timer-dark.css │ │ │ │ │ │ ├── timer.min.css │ │ │ │ │ │ └── timer.css │ │ │ │ ├── animation │ │ │ │ │ └── checkmark │ │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── checkmark-dark.min.css │ │ │ │ │ │ └── checkmark-dark.css │ │ │ │ ├── progress │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── progress-line-bar-dark.min.css │ │ │ │ │ │ ├── progress-line-bar.min.css │ │ │ │ │ │ ├── progress-line-bar-dark.css │ │ │ │ │ │ └── progress-line-bar.css │ │ │ │ ├── kanban │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── jkanban-dark.css │ │ │ │ │ │ └── jkanban-dark.min.css │ │ │ │ ├── dob │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── dob.min.css │ │ │ │ │ │ └── dob.css │ │ │ │ ├── keyboard │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── screen-keyboard-custom.min.css │ │ │ │ │ │ └── screen-keyboard-dark.min.css │ │ │ │ ├── google │ │ │ │ │ ├── addresslookup │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ └── css │ │ │ │ │ │ │ ├── address-lookup-dark.min.css │ │ │ │ │ │ │ └── address-lookup-dark.css │ │ │ │ │ └── recaptcha │ │ │ │ │ │ └── resources │ │ │ │ │ │ └── js │ │ │ │ │ │ └── recaptcha.min.js │ │ │ │ ├── password │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── pwd-strength-meter.min.css │ │ │ │ │ │ └── pwd-strength-meter.css │ │ │ │ ├── toggle │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── group-toggle-button-dark.min.css │ │ │ │ │ │ ├── group-toggle-button-dark.css │ │ │ │ │ │ └── group-toggle-button.min.css │ │ │ │ ├── loadingstate │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── loading-state.min.css │ │ │ │ │ │ └── loading-state.css │ │ │ │ ├── alert │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── alert.min.css │ │ │ │ │ │ └── alert.css │ │ │ │ ├── placeholder │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── content-placeholder-dark.min.css │ │ │ │ │ │ ├── content-placeholder.min.css │ │ │ │ │ │ └── content-placeholder-dark.css │ │ │ │ ├── infinitescroll │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── infinite-scroll.css │ │ │ │ │ │ └── infinite-scroll.min.css │ │ │ │ └── language │ │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ └── language-selector.min.css │ │ │ ├── public │ │ │ │ └── fontawesome-icons │ │ │ │ │ ├── fa-solid-900.eot │ │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ │ ├── fa-brands-400.eot │ │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ │ ├── fa-brands-400.woff │ │ │ │ │ ├── fa-regular-400.eot │ │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ │ ├── fa-solid-900.woff │ │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ │ ├── fa-regular-400.woff │ │ │ │ │ └── fa-regular-400.woff2 │ │ │ └── AddinsIncubator.gwt.xml │ │ │ └── addins │ │ │ ├── client │ │ │ ├── countup │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── countUp.min.css │ │ │ │ │ └── countUp.css │ │ │ ├── rating │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── rating-dark.min.css │ │ │ │ │ └── rating-dark.css │ │ │ ├── swipeable │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── swipeable.min.css │ │ │ │ │ └── swipeable.css │ │ │ ├── overlay │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── overlay-dark.min.css │ │ │ │ │ ├── overlay-dark.css │ │ │ │ │ └── overlay.min.css │ │ │ ├── tree │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── tree-dark.css │ │ │ │ │ ├── tree-dark.min.css │ │ │ │ │ ├── tree.min.css │ │ │ │ │ └── tree.css │ │ │ ├── subheader │ │ │ │ └── resources │ │ │ │ │ ├── css │ │ │ │ │ ├── subheader-dark.min.css │ │ │ │ │ ├── subheader-dark.css │ │ │ │ │ ├── subheader.min.css │ │ │ │ │ └── subheader.css │ │ │ │ │ └── js │ │ │ │ │ └── subheader.min.js │ │ │ ├── splitpanel │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── touchsplitter-dark.min.css │ │ │ │ │ ├── touchsplitter-dark.css │ │ │ │ │ └── touchsplitter.min.css │ │ │ ├── window │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── window-dark.min.css │ │ │ │ │ └── window-dark.css │ │ │ ├── waterfall │ │ │ │ └── resources │ │ │ │ │ ├── css │ │ │ │ │ ├── waterfall.min.css │ │ │ │ │ └── waterfall.css │ │ │ │ │ └── js │ │ │ │ │ ├── waterfall.min.js │ │ │ │ │ └── waterfall.js │ │ │ ├── banner │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── banner-dark.min.css │ │ │ │ │ ├── banner-dark.css │ │ │ │ │ ├── banner.min.css │ │ │ │ │ └── banner.css │ │ │ ├── note │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── note.min.css │ │ │ │ │ └── note.css │ │ │ ├── bubble │ │ │ │ └── resources │ │ │ │ │ ├── css │ │ │ │ │ ├── bubble-dark.min.css │ │ │ │ │ ├── bubble-dark.css │ │ │ │ │ ├── bubble.min.css │ │ │ │ │ └── bubble.css │ │ │ │ │ └── js │ │ │ │ │ ├── bubble.min.js │ │ │ │ │ └── bubble.js │ │ │ ├── autocomplete │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── autocomplete-dark.min.css │ │ │ │ │ └── autocomplete-dark.css │ │ │ ├── stepper │ │ │ │ ├── highlighter │ │ │ │ │ └── resources │ │ │ │ │ │ └── css │ │ │ │ │ │ ├── step-highlighter.min.css │ │ │ │ │ │ └── step-highlighter.css │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── stepper-dark.min.css │ │ │ │ │ └── stepper-dark.css │ │ │ ├── carousel │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── slick-dark.min.css │ │ │ │ │ └── slick-dark.css │ │ │ ├── timeline │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── timeline.css │ │ │ │ │ └── timeline.min.css │ │ │ ├── emptystate │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── empty-state.min.css │ │ │ │ │ └── empty-state.css │ │ │ ├── popupmenu │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── popup-menu.min.css │ │ │ │ │ └── popup-menu.css │ │ │ ├── scrollfire │ │ │ │ └── resources │ │ │ │ │ └── js │ │ │ │ │ ├── scrollfire.min.js │ │ │ │ │ └── scrollfire.js │ │ │ ├── sideprofile │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── sideprofile.min.css │ │ │ │ │ └── sideprofile.css │ │ │ ├── timepicker │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── timepicker-dark.min.css │ │ │ │ │ └── timepicker-dark.css │ │ │ ├── fileuploader │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── dropzone-dark.min.css │ │ │ │ │ └── dropzone-dark.css │ │ │ ├── circularprogress │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ ├── circleprogress.css │ │ │ │ │ └── circleprogress.min.css │ │ │ ├── menubar │ │ │ │ └── resources │ │ │ │ │ └── css │ │ │ │ │ └── menubar.min.css │ │ │ └── iconmorph │ │ │ │ └── resources │ │ │ │ └── css │ │ │ │ └── morph.min.css │ │ │ ├── GwtMaterialAddins.gwt.xml │ │ │ └── GwtMaterialAddinsBasic.gwt.xml │ └── java │ │ └── gwt │ │ └── material │ │ └── design │ │ ├── addins │ │ └── client │ │ │ ├── stepper │ │ │ ├── constants │ │ │ │ └── State.java │ │ │ └── MaterialStepperDarkTheme.java │ │ │ ├── dnd │ │ │ ├── constants │ │ │ │ ├── ResizeEvents.java │ │ │ │ ├── DropEvents.java │ │ │ │ └── DragEvents.java │ │ │ ├── event │ │ │ │ ├── listener │ │ │ │ │ └── DragEventListener.java │ │ │ │ └── InteractDragEvent.java │ │ │ ├── js │ │ │ │ └── Edge.java │ │ │ └── MaterialDndClientBundle.java │ │ │ ├── camera │ │ │ └── base │ │ │ │ ├── AllowedCameraCallback.java │ │ │ │ ├── CameraSupportCallback.java │ │ │ │ └── RegisteredCameraCallback.java │ │ │ ├── masonry │ │ │ └── events │ │ │ │ ├── MasonryEvents.java │ │ │ │ └── HasMasonryHandler.java │ │ │ ├── fileuploader │ │ │ ├── base │ │ │ │ └── FileProvider.java │ │ │ ├── js │ │ │ │ ├── File.java │ │ │ │ └── XHR.java │ │ │ └── MaterialFileUploaderDarkTheme.java │ │ │ ├── StartupState.java │ │ │ ├── inputmask │ │ │ ├── MaterialInputMask.java │ │ │ └── js │ │ │ │ └── InputMaskError.java │ │ │ ├── cropper │ │ │ ├── events │ │ │ │ └── HasCropEvents.java │ │ │ └── constants │ │ │ │ ├── Size.java │ │ │ │ ├── Format.java │ │ │ │ └── Type.java │ │ │ ├── moment │ │ │ └── option │ │ │ │ ├── SuffixLocaleFormatter.java │ │ │ │ ├── FullLocaleFormatter.java │ │ │ │ └── LocaleOptions.java │ │ │ ├── banner │ │ │ ├── MaterialBannerActions.java │ │ │ ├── event │ │ │ │ └── HasBannerHandlers.java │ │ │ └── MaterialBannerDarkTheme.java │ │ │ ├── circularprogress │ │ │ └── events │ │ │ │ └── CircularProgressEvents.java │ │ │ ├── combobox │ │ │ ├── js │ │ │ │ └── options │ │ │ │ │ └── Params.java │ │ │ ├── base │ │ │ │ └── HasUnselectItemHandler.java │ │ │ └── MaterialComboBoxDarkTheme.java │ │ │ ├── carousel │ │ │ ├── constants │ │ │ │ └── RespondTo.java │ │ │ ├── MaterialCarouselFixedItem.java │ │ │ ├── events │ │ │ │ └── CarouselEvents.java │ │ │ └── js │ │ │ │ └── JsResponsiveOptions.java │ │ │ ├── pinch │ │ │ ├── events │ │ │ │ └── HasPinchZoomHandlers.java │ │ │ ├── PinchClientBundle.java │ │ │ └── PinchDebugClientBundle.java │ │ │ ├── gesture │ │ │ └── hammer │ │ │ │ └── js │ │ │ │ ├── JsHammerOptions.java │ │ │ │ └── events │ │ │ │ └── EventObject.java │ │ │ ├── dragula │ │ │ └── MaterialDragulaClientBundle.java │ │ │ ├── rating │ │ │ ├── MaterialRatingClientBundle.java │ │ │ ├── MaterialRatingDarkTheme.java │ │ │ └── MaterialRatingDebugClientBundle.java │ │ │ ├── tree │ │ │ └── MaterialTreeDarkTheme.java │ │ │ ├── window │ │ │ └── MaterialWindowDarkTheme.java │ │ │ ├── bubble │ │ │ ├── MaterialBubbleDarkTheme.java │ │ │ └── js │ │ │ │ └── JsBubbleOptions.java │ │ │ ├── overlay │ │ │ └── MaterialOverlayDarkTheme.java │ │ │ ├── subheader │ │ │ └── MaterialSubheaderDarkTheme.java │ │ │ ├── richeditor │ │ │ └── MaterialRichEditorDarkTheme.java │ │ │ ├── splitpanel │ │ │ └── MaterialSplitPanelDarkTheme.java │ │ │ ├── md5 │ │ │ ├── Md5ClientBundle.java │ │ │ └── Md5DebugClientBundle.java │ │ │ ├── autocomplete │ │ │ └── MaterialAutoCompleteDarkTheme.java │ │ │ ├── timepicker │ │ │ └── MaterialTimePickerDarkTheme.java │ │ │ └── note │ │ │ └── MaterialNoteClientBundle.java │ │ └── incubator │ │ └── client │ │ ├── loadingstate │ │ ├── constants │ │ │ └── State.java │ │ ├── LoadingStatePanelClientBundle.java │ │ ├── LoadingStatePanelDebugClientBundle.java │ │ └── events │ │ │ └── HasLoadingStateHandler.java │ │ ├── infinitescroll │ │ ├── Renderer.java │ │ ├── recycle │ │ │ └── RecyclePosition.java │ │ └── InfiniteScrollLoadConfig.java │ │ ├── google │ │ ├── addresslookup │ │ │ ├── events │ │ │ │ └── AddressLookupEvents.java │ │ │ ├── js │ │ │ │ └── options │ │ │ │ │ ├── Circle.java │ │ │ │ │ └── result │ │ │ │ │ └── PlaceReview.java │ │ │ └── AddressLookupDarkTheme.java │ │ ├── recaptcha3 │ │ │ ├── constants │ │ │ │ └── ReCaptcha3Actions.java │ │ │ └── api │ │ │ │ └── RecaptchaApi3.java │ │ ├── recaptcha │ │ │ ├── api │ │ │ │ └── RecaptchaApi.java │ │ │ └── constants │ │ │ │ └── RecaptchaType.java │ │ └── geocoder │ │ │ └── js │ │ │ ├── GeocoderOption.java │ │ │ └── Geocoder.java │ │ ├── placeholder │ │ └── PlaceholderRenderer.java │ │ ├── storage │ │ ├── Driver.java │ │ ├── LocalStorageClientBundle.java │ │ └── LocalStorageClientDebugBundle.java │ │ ├── daterange │ │ ├── js │ │ │ ├── Today.java │ │ │ └── LocaleString.java │ │ └── constants │ │ │ └── DateRangeElementSelector.java │ │ ├── keyboard │ │ ├── ScreenKeyboardDarkTheme.java │ │ └── js │ │ │ ├── KeyInput.java │ │ │ ├── SimpleKeyboard.java │ │ │ ├── KeyboardButtonTheme.java │ │ │ └── ButtonAttribute.java │ │ ├── dob │ │ └── DobLocaleDateProvider.java │ │ ├── question │ │ ├── base │ │ │ └── QuestionCategoryItem.java │ │ ├── RatingQuestionClientBundle.java │ │ └── RatingQuestionDebugClientBundle.java │ │ ├── kanban │ │ ├── KanbanDarkTheme.java │ │ └── js │ │ │ └── DataSet.java │ │ ├── loadingdot │ │ ├── LoadingDotClientBundle.java │ │ └── LoadingDotDebugClientBundle.java │ │ ├── timer │ │ └── TimerProgressDarkTheme.java │ │ ├── base │ │ └── IncubatorWidget.java │ │ ├── tag │ │ ├── TagClientBundle.java │ │ └── TagDebugClientBundle.java │ │ ├── progress │ │ └── ProgressLineBarDarkTheme.java │ │ ├── AddinsIncubator.java │ │ └── alert │ │ └── AlertClientBundle.java └── test │ └── java │ └── gwt │ └── material │ └── design │ ├── addins │ └── client │ │ └── ui │ │ └── base │ │ ├── AddinsBaseCase.java │ │ ├── MaterialValueBoxTest.java │ │ ├── AbstractValueWidgetTest.java │ │ ├── dto │ │ └── User.java │ │ └── AddinsWidgetTestCase.java │ └── incubator │ └── client │ └── ui │ └── base │ └── MaterialWidgetTest.java ├── .utility └── deploy.sh └── .travis.yml /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | gwt-material-addins.iml 3 | .idea 4 | /war 5 | /gwt-unitCache -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/tag/resources/css/tag-dark.min.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/countup/resources/css/countUp.min.css: -------------------------------------------------------------------------------- 1 | .count-up{color:#212121} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/countup/resources/css/countUp.css: -------------------------------------------------------------------------------- 1 | .count-up { 2 | color: #212121; 3 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/rating/resources/css/rating-dark.min.css: -------------------------------------------------------------------------------- 1 | .material-rating{color:#bb86fc} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/swipeable/resources/css/swipeable.min.css: -------------------------------------------------------------------------------- 1 | .swipeable {overflow: hidden; } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/overlay/resources/css/overlay-dark.min.css: -------------------------------------------------------------------------------- 1 | .overlay-panel{background:#383838} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/rating/resources/css/rating-dark.css: -------------------------------------------------------------------------------- 1 | .material-rating { 2 | color: #bb86fc; 3 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/swipeable/resources/css/swipeable.css: -------------------------------------------------------------------------------- 1 | .swipeable { 2 | overflow: hidden; 3 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/overlay/resources/css/overlay-dark.css: -------------------------------------------------------------------------------- 1 | .overlay-panel{ 2 | background: #383838; 3 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/tree/resources/css/tree-dark.css: -------------------------------------------------------------------------------- 1 | /** Tree **/ 2 | .tree-item i { 3 | color: #BB86FC; 4 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/subheader/resources/css/subheader-dark.min.css: -------------------------------------------------------------------------------- 1 | .subheader,.subheader-static{background-color:#2f2f2f} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/tree/resources/css/tree-dark.min.css: -------------------------------------------------------------------------------- 1 | /** Tree **/ 2 | .tree-item i { 3 | color: #BB86FC; 4 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/splitpanel/resources/css/touchsplitter-dark.min.css: -------------------------------------------------------------------------------- 1 | .TouchSplitter,.TouchSplitter>div{background:#353535} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/subheader/resources/css/subheader-dark.css: -------------------------------------------------------------------------------- 1 | .subheader, 2 | .subheader-static{ 3 | background-color: #2f2f2f; 4 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/splitpanel/resources/css/touchsplitter-dark.css: -------------------------------------------------------------------------------- 1 | .TouchSplitter, 2 | .TouchSplitter > div { 3 | background: #353535; 4 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/hero/resources/css/hero-video.min.css: -------------------------------------------------------------------------------- 1 | .hero-video{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;max-width:100%} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/window/resources/css/window-dark.min.css: -------------------------------------------------------------------------------- 1 | div.window .window-toolbar{background-color:#1e1e1e}.window .content{background-color:#383838} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/search/resources/css/inline-search-dark.min.css: -------------------------------------------------------------------------------- 1 | nav .nav-wrapper ul li:hover .inline-search i{background-color:transparent!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/timer/resources/css/timer-dark.min.css: -------------------------------------------------------------------------------- 1 | .timer-progress{background-color:#4c3f5b}.timer-progress.bouncing .fill{background:#bb86fc} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/waterfall/resources/css/waterfall.min.css: -------------------------------------------------------------------------------- 1 | .waterfall h4{font-weight: 400; margin-top: 60px; font-size: 3em; } .waterfall{height: 200px; } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/banner/resources/css/banner-dark.min.css: -------------------------------------------------------------------------------- 1 | .banner{background:#363636;border:none}.banner button{color:#bb86fc}.banner i.banner-icon{background:#bb86fc} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/search/resources/css/inline-search-dark.css: -------------------------------------------------------------------------------- 1 | nav .nav-wrapper ul li:hover .inline-search i { 2 | background-color: transparent !important; 3 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/window/resources/css/window-dark.css: -------------------------------------------------------------------------------- 1 | div.window .window-toolbar { 2 | background-color: #1e1e1e; 3 | } 4 | 5 | .window .content { 6 | background-color: #383838; 7 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/timer/resources/css/timer-dark.css: -------------------------------------------------------------------------------- 1 | .timer-progress { 2 | background-color: #4c3f5b; 3 | } 4 | 5 | .timer-progress.bouncing .fill { 6 | background: #bb86fc; 7 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/waterfall/resources/css/waterfall.css: -------------------------------------------------------------------------------- 1 | .waterfall h4{ 2 | font-weight: 400; 3 | margin-top: 60px; 4 | font-size: 3em; 5 | } 6 | .waterfall{ 7 | height: 200px; 8 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/animation/checkmark/resources/css/checkmark-dark.min.css: -------------------------------------------------------------------------------- 1 | .sa-icon.sa-success::after,.sa-icon.sa-success::before{background-color:#292929}.sa-icon.sa-success .sa-fix{background-color:#292929} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.eot -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/note/resources/css/note.min.css: -------------------------------------------------------------------------------- 1 | .material-note{background:#e3f2fd;color:#2196f3;padding:12px;width:100%}.material-note i{float:left;margin-right:15px}.material-note span{text-align:left;padding-left:32px} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.eot -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.woff -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.eot -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.woff -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/hero/resources/css/hero-video.css: -------------------------------------------------------------------------------- 1 | .hero-video { 2 | position: absolute; 3 | top: 0px; 4 | left: 0px; 5 | right: 0px; 6 | bottom: 0px; 7 | width: 100%; 8 | max-width: 100%; 9 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.woff -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material-addins/HEAD/src/main/resources/gwt/material/design/incubator/public/fontawesome-icons/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/progress/resources/css/progress-line-bar-dark.min.css: -------------------------------------------------------------------------------- 1 | .progress-line-bar .progress-item.active{background:#bb86fc!important}.progress-item{border-right:1px solid #292929!important;background:#3e3e3e!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/progress/resources/css/progress-line-bar.min.css: -------------------------------------------------------------------------------- 1 | .progress-line-bar{background:#e9e9e9;width:100%;height:12px}.progress-item.active{background:#42a5f5}.progress-item{border-right:1px solid #fff;float:left;height:100%} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/kanban/resources/css/jkanban-dark.css: -------------------------------------------------------------------------------- 1 | .kanban-board { 2 | background: #2f2f2f; 3 | box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); 4 | } 5 | .kanban-item { 6 | background: #1e1e1e; 7 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/kanban/resources/css/jkanban-dark.min.css: -------------------------------------------------------------------------------- 1 | .kanban-board { 2 | background: #2f2f2f; 3 | box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); 4 | } 5 | .kanban-item { 6 | background: #1e1e1e; 7 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/dob/resources/css/dob.min.css: -------------------------------------------------------------------------------- 1 | .dob-container{padding:0!important}.dob-container input{text-align:center}.dob-container.no-labels .dob-day,.dob-container.no-labels .dob-month,.dob-container.no-labels .dob-year{margin-top:0!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/banner/resources/css/banner-dark.css: -------------------------------------------------------------------------------- 1 | .banner { 2 | background: #363636; 3 | border: none; 4 | } 5 | 6 | .banner button { 7 | color: #bb86fc; 8 | } 9 | 10 | .banner i.banner-icon { 11 | background: #bb86fc; 12 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/animation/checkmark/resources/css/checkmark-dark.css: -------------------------------------------------------------------------------- 1 | .sa-icon.sa-success::before, 2 | .sa-icon.sa-success::after { 3 | background-color: #292929; 4 | } 5 | 6 | .sa-icon.sa-success .sa-fix { 7 | background-color: #292929; 8 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/keyboard/resources/css/screen-keyboard-custom.min.css: -------------------------------------------------------------------------------- 1 | .numeric-theme{max-width:320px;margin:0 auto}.numeric-theme+.simple-keyboard-preview{max-width:320px}.simple-keyboard.hg-theme-default.numeric-theme .hg-button.hg-standardBtn.hg-button-at{max-width:none} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/progress/resources/css/progress-line-bar-dark.css: -------------------------------------------------------------------------------- 1 | .progress-line-bar .progress-item.active { 2 | background: #bb86fc !important; 3 | } 4 | 5 | .progress-item { 6 | border-right: 1px solid #292929 !important; 7 | background: #3e3e3e !important; 8 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/google/addresslookup/resources/css/address-lookup-dark.min.css: -------------------------------------------------------------------------------- 1 | .pac-container{background-color:#2f2f2f;color:#fff!important;border-top:1px solid #222}.pac-item{border-top:1px solid #393939;color:#8f8f8f}.pac-item:hover{background-color:#353535}.pac-item-query{color:#fff} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/css/bubble-dark.min.css: -------------------------------------------------------------------------------- 1 | .bubble{background:#424242;color:#fff}.bubble .triangle.left{border-right-color:#424242}.bubble .triangle.right{border-left-color:#424242}.bubble .triangle.top{border-bottom-color:#424242}.bubble .triangle.bottom{border-top-color:#424242} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/autocomplete/resources/css/autocomplete-dark.min.css: -------------------------------------------------------------------------------- 1 | .gwt-SuggestBoxPopup{background:#2f2f2f}.gwt-SuggestBoxPopup .suggestPopupContent table tr td:hover{background-color:#353535!important}ul.multiValueSuggestBox-list input[type=text]:focus:not([readonly]){border:none!important;box-shadow:none!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/dob/resources/css/dob.css: -------------------------------------------------------------------------------- 1 | .dob-container { 2 | padding: 0px !important; 3 | } 4 | 5 | .dob-container input { 6 | text-align: center; 7 | } 8 | 9 | .dob-container.no-labels .dob-month, 10 | .dob-container.no-labels .dob-day, 11 | .dob-container.no-labels .dob-year { 12 | margin-top: 0px !important; 13 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/tree/resources/css/tree.min.css: -------------------------------------------------------------------------------- 1 | .tree-item i,.tree-item img{float:left;margin-right:8px}.tree{overflow:auto;width:100%}.tree-item .tree-header{white-space:nowrap}.tree-item{clear:both;margin-top:10px;margin-left:20px}.tree-item i{margin-top:-2px}.tree-item img{width:2em;height:2em}.tree-item.selected>.tree-header span{font-weight:700} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/note/resources/css/note.css: -------------------------------------------------------------------------------- 1 | .material-note { 2 | background: #e3f2fd; 3 | color: #2196f3; 4 | padding: 12px; 5 | width: 100%; 6 | } 7 | 8 | .material-note i { 9 | float: left; 10 | margin-right: 15px; 11 | } 12 | 13 | .material-note span { 14 | text-align: left; 15 | padding-left: 32px; 16 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/tag/resources/css/tag-dark.css: -------------------------------------------------------------------------------- 1 | .tag-label { 2 | background: #2f2f2f; 3 | color: #ffffff; 4 | } 5 | 6 | .tag-label.arrow-left:before { 7 | border-color: transparent #2f2f2f transparent 8 | } 9 | 10 | .tag-label.arrow-right:after { 11 | border-color: transparent transparent transparent #2f2f2f !important; 12 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/progress/resources/css/progress-line-bar.css: -------------------------------------------------------------------------------- 1 | .progress-line-bar { 2 | background: #e9e9e9; 3 | width: 100%; 4 | height: 12px; 5 | } 6 | 7 | .progress-item.active { 8 | background: #42a5f5; 9 | } 10 | 11 | .progress-item { 12 | border-right: 1px solid white; 13 | float: left; 14 | height: 100%; 15 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/stepper/highlighter/resources/css/step-highlighter.min.css: -------------------------------------------------------------------------------- 1 | .highlight [type=checkbox]+label:after,.highlight [type=radio]+label:before,.highlight:not(.gwt-RadioButton):not(.checkbox){animation:shadow-pulse-toggle .8s infinite!important}@keyframes shadow-pulse-toggle{0%{box-shadow:0 0 0 0 rgba(66,165,245,.5)}100%{box-shadow:0 0 0 32px rgba(66,165,245,0)}} -------------------------------------------------------------------------------- /.utility/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -ev 3 | if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.8.0" ]; then 4 | echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml 5 | mvn deploy -DskipTests --settings ~/settings.xml 6 | fi -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/carousel/resources/css/slick-dark.min.css: -------------------------------------------------------------------------------- 1 | .material-carousel .carousel-next-arrow,.material-carousel .carousel-prev-arrow,ul.slick-dots li.slick-active{background-color:#bb86fc}.material-carousel:not(.carousel-image) .carousel-next-arrow i,.material-carousel:not(.carousel-image) .carousel-prev-arrow i{color:#000}ul.slick-dots li{background-color:rgba(187,134,252,.23)} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/autocomplete/resources/css/autocomplete-dark.css: -------------------------------------------------------------------------------- 1 | .gwt-SuggestBoxPopup { 2 | background: #2f2f2f; 3 | } 4 | 5 | .gwt-SuggestBoxPopup .suggestPopupContent table tr td:hover { 6 | background-color: #353535 !important; 7 | } 8 | 9 | ul.multiValueSuggestBox-list input[type=text]:focus:not([readonly]) { 10 | border: none !important; 11 | box-shadow: none !important; 12 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/password/resources/css/pwd-strength-meter.min.css: -------------------------------------------------------------------------------- 1 | .pwd-strength-meter .label-container.row{margin-bottom:0;margin-top:12px}.pwd-strength-meter .strength-label{margin-right:12px}.pwd-strength-meter .progress-label{float:right}.pwd-strength-meter .pwd-error-label{color:red}.pwd-strength-meter ul.pwd-suggestions li{list-style-type:disc!important;margin-bottom:8px;color:grey;margin-left:16px;font-size:15px} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/css/bubble-dark.css: -------------------------------------------------------------------------------- 1 | .bubble { 2 | background: #424242; 3 | color: #ffffff; 4 | } 5 | 6 | .bubble .triangle.left { 7 | border-right-color: #424242; 8 | } 9 | .bubble .triangle.right { 10 | border-left-color: #424242; 11 | } 12 | .bubble .triangle.top { 13 | border-bottom-color: #424242; 14 | } 15 | 16 | .bubble .triangle.bottom { 17 | border-top-color: #424242; 18 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/google/addresslookup/resources/css/address-lookup-dark.css: -------------------------------------------------------------------------------- 1 | .pac-container { 2 | background-color: #2f2f2f; 3 | color: white !important; 4 | border-top: 1px solid #222222; 5 | } 6 | 7 | .pac-item { 8 | border-top: 1px solid #393939; 9 | color: #8f8f8f; 10 | } 11 | 12 | .pac-item:hover { 13 | background-color: #353535; 14 | } 15 | 16 | .pac-item-query { 17 | color: #fff; 18 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/subheader/resources/css/subheader.min.css: -------------------------------------------------------------------------------- 1 | .subheader{background:#fff;position:relative;z-index:995;padding:12px}.subheader.fixed{position:fixed;top:0;width:200px;z-index:0}.subheader.fixed.absolute{position:absolute}.subheader-container{overflow:auto;position:relative;padding:0!important}.subheader-container .collection{margin:0!important}.top_holder{position:absolute;left:0;top:0;min-height:5px;width:100%;z-index:996} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/keyboard/resources/css/screen-keyboard-dark.min.css: -------------------------------------------------------------------------------- 1 | .simple-keyboard { 2 | background-color: #515151; 3 | } 4 | 5 | .simple-keyboard .hg-button { 6 | background: rgba(0, 0, 0, 0.5); 7 | color: white; 8 | } 9 | 10 | .simple-keyboard .hg-button:active { 11 | background: #1c4995; 12 | color: white; 13 | } 14 | 15 | .simple-keyboard + .simple-keyboard-preview { 16 | background: #1c4995; 17 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/toggle/resources/css/group-toggle-button-dark.min.css: -------------------------------------------------------------------------------- 1 | .group-toggle-button .wrapper{background:#424242}.group-toggle-button .wrapper button.btn.active,.group-toggle-button .wrapper button.btn:not(.active):hover{background:#bb86fc;color:#1e1e1e}.group-toggle-button .wrapper button:not(.active):hover{background-color:#525252}.group-toggle-button .wrapper button{color:#8e8e8e;background-color:#424242;border-right:1px solid #292929} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/js/bubble.min.js: -------------------------------------------------------------------------------- 1 | $.fn.bubble = function (options){var position = options.position, color = options.color; triangle = $(this).find('.triangle'); if(position === 'left'){triangle.css('borderRightColor', color); }else if(position === 'right'){triangle.css('borderLeftColor', color); }else if(position === 'top'){triangle.css('borderBottomColor', color); }else if(position === 'bottom'){triangle.css('borderTopColor', color); } }; -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/timeline/resources/css/timeline.css: -------------------------------------------------------------------------------- 1 | .timeline .timeline-header img { 2 | width: 64px; 3 | height: 64px; 4 | border-radius: 100%; 5 | padding: 4px; 6 | background: white; 7 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 8 | -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 9 | } 10 | 11 | .timeline { 12 | text-align: initial; 13 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/waterfall/resources/js/waterfall.min.js: -------------------------------------------------------------------------------- 1 | function initWaterfall(a,d,e,n){function s(a){window.pageYOffset>n?t!==!0&&($("nav").removeClass("z-depth-0"),$("nav").addClass("z-depth-1"),t=!0):t===!0&&($("nav").removeClass("z-depth-1"),$("nav").addClass("z-depth-0"),t=!1),window.pageYOffset>1?(i.add(e),i.fire()):(i.add(d),i.fire())}$("nav").pushpin({top:a}),$("nav").addClass("z-depth-0");var t,i=$.Callbacks();window.addEventListener("scroll",s,!1)} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/loadingstate/resources/css/loading-state.min.css: -------------------------------------------------------------------------------- 1 | .loading-state{text-align:center}.loading-state i{padding:20px;background:#fff;border-radius:50%;margin-bottom:20px;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);width:64px;height:64px}.loading-state .title{font-size:1.2em;font-weight:700}.loading-state .loader-wrapper{background:0 0}.loading-state .preloader-wrapper{display:inline-block;position:relative;width:64px;height:64px} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/carousel/resources/css/slick-dark.css: -------------------------------------------------------------------------------- 1 | .material-carousel .carousel-next-arrow, 2 | .material-carousel .carousel-prev-arrow, 3 | ul.slick-dots li.slick-active{ 4 | background-color: #bb86fc; 5 | } 6 | 7 | .material-carousel:not(.carousel-image) .carousel-next-arrow i, 8 | .material-carousel:not(.carousel-image) .carousel-prev-arrow i { 9 | color: black; 10 | } 11 | 12 | ul.slick-dots li { 13 | background-color: rgba(187, 134, 252, 0.23); 14 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/alert/resources/css/alert.min.css: -------------------------------------------------------------------------------- 1 | .material-note{font-size:1em;width:100%;bottom:-200px;position:absolute;left:0;z-index:999}.material-note.warning{background-color:#ffecb3;color:#ff8f00}.material-note.error{background:#ffcdd2;color:#c62828}.material-note.information{background:#e3f2fd;color:#2196f3}.material-note.open{bottom:0!important}.modal .material-note i{margin-left:16px}.material-note i.disabled{color:#c62828!important;background:initial!important}.alert-container{position:relative;overflow:hidden} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/stepper/highlighter/resources/css/step-highlighter.css: -------------------------------------------------------------------------------- 1 | /** Step Highlight **/ 2 | .highlight:not(.gwt-RadioButton):not(.checkbox), 3 | .highlight [type=radio] + label:before, 4 | .highlight [type=checkbox] + label:after { 5 | animation: shadow-pulse-toggle 800ms infinite !important; 6 | } 7 | 8 | @keyframes shadow-pulse-toggle { 9 | 0% { 10 | box-shadow: 0 0 0 0px rgba(66, 165, 245, 0.5); 11 | } 12 | 100% { 13 | box-shadow: 0 0 0 32px rgba(66, 165, 245, 0); 14 | } 15 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/emptystate/resources/css/empty-state.min.css: -------------------------------------------------------------------------------- 1 | .empty-state i.large{border-radius:100%;padding:20px;background:#fff;color:#4caf50;font-size:4rem;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)}.empty-state .preloader-wrapper{width:100px;height:100px}.empty-state .loader-wrapper{background:0 0!important;z-index:1}.empty-state h4{overflow-wrap:break-word}.empty-state .actions a{display:inline-block;cursor:pointer;font-size:1.2em;position:relative;top:20px;font-weight:600}.empty-state .actions a i{margin-top:4px;color:#1a73e8} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/popupmenu/resources/css/popup-menu.min.css: -------------------------------------------------------------------------------- 1 | .popup-menu{position:absolute;background-color:#fff;width:280px;z-index:999;max-height:70vh!important}.popup-menu li{padding:0;position:relative}.popup-menu li a,.popup-menu ul.dropdown-content li a{font-size:1em;padding:12px}.popup-menu li:hover{background:#e9e9e9}.popup-menu ul.dropdown-content{position:absolute!important;overflow:visible!important;left:280px!important;top:0!important}.popup-menu ul.dropdown-content.edge-left{left:-280px!important}.popup-menu ul.dropdown-content.edge-bottom{bottom:0;top:initial!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/stepper/resources/css/stepper-dark.min.css: -------------------------------------------------------------------------------- 1 | .stepper.horizontal .step .step-header{background:#292929}.stepper .line{border-left:2px solid #414141}.stepper.horizontal .step .line{border-top:2px solid #414141}.stepper .step:hover,.stepper.horizontal .step:hover .step-header{background:#303030}.stepper .step>div:first-child .circle{background:#bb86fc!important}.stepper .step.success .description,.stepper .step.success .title,.stepper .step.success>div:first-child i{color:#bb86fc!important}.feedback{background:0 0}.feedback .loader-wrapper{background-color:#3b3b3b!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/toggle/resources/css/group-toggle-button-dark.css: -------------------------------------------------------------------------------- 1 | .group-toggle-button .wrapper { 2 | background: #424242; 3 | } 4 | 5 | .group-toggle-button .wrapper button.btn.active, 6 | .group-toggle-button .wrapper button.btn:not(.active):hover{ 7 | background: #bb86fc; 8 | color: #1e1e1e; 9 | } 10 | 11 | .group-toggle-button .wrapper button:not(.active):hover { 12 | background-color: #525252; 13 | } 14 | 15 | .group-toggle-button .wrapper button { 16 | color: #8e8e8e; 17 | background-color: #424242; 18 | border-right: 1px solid #292929; 19 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/js/bubble.js: -------------------------------------------------------------------------------- 1 | $.fn.bubble = function (options){ 2 | 3 | var position = options.position, 4 | color = options.color; 5 | triangle = $(this).find('.triangle'); 6 | 7 | if(position === 'left'){ 8 | triangle.css('borderRightColor', color); 9 | }else if(position === 'right'){ 10 | triangle.css('borderLeftColor', color); 11 | }else if(position === 'top'){ 12 | triangle.css('borderBottomColor', color); 13 | }else if(position === 'bottom'){ 14 | triangle.css('borderTopColor', color); 15 | } 16 | }; -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/tree/resources/css/tree.css: -------------------------------------------------------------------------------- 1 | /** Tree **/ 2 | .tree{ 3 | overflow: auto; 4 | width: 100%; 5 | } 6 | .tree-item .tree-header{ 7 | white-space: nowrap; 8 | } 9 | .tree-item{ 10 | clear: both; 11 | margin-top: 10px; 12 | margin-left: 20px; 13 | } 14 | 15 | .tree-item i{ 16 | margin-top: -2px; 17 | float: left; 18 | margin-right: 8px; 19 | } 20 | 21 | .tree-item img{ 22 | width: 2em; 23 | height: 2em; 24 | float: left; 25 | margin-right: 8px; 26 | } 27 | 28 | .tree-item.selected > .tree-header span{ 29 | font-weight: bold; 30 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/password/resources/css/pwd-strength-meter.css: -------------------------------------------------------------------------------- 1 | .pwd-strength-meter .label-container.row { 2 | margin-bottom: 0px; 3 | margin-top: 12px; 4 | } 5 | 6 | .pwd-strength-meter .strength-label { 7 | margin-right: 12px; 8 | } 9 | 10 | .pwd-strength-meter .progress-label { 11 | float: right; 12 | } 13 | 14 | .pwd-strength-meter .pwd-error-label { 15 | color: red; 16 | } 17 | 18 | .pwd-strength-meter ul.pwd-suggestions li { 19 | list-style-type: disc !important; 20 | margin-bottom: 8px; 21 | color: grey; 22 | margin-left: 16px; 23 | font-size: 15px; 24 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/timer/resources/css/timer.min.css: -------------------------------------------------------------------------------- 1 | .timer-progress{position:relative;width:100%;display:inline-block;height:5px;background:#eee}.timer-progress .fill{content:'';position:absolute;left:0;height:100%;background:#2196f3;width:0;-webkit-animation:6s fullw infinite;animation:6s fullw infinite}.timer-progress.bouncing .fill{background:#2196f3;width:50%;-webkit-animation:1.5s cubic-bezier(.08,-.18,.91,1.14) barbounce alternate infinite;animation:1.5s cubic-bezier(.08,-.18,.91,1.14) barbounce alternate infinite}@-webkit-keyframes barbounce{0%{left:0}100%{left:50%}}@keyframes barbounce{0%{left:0}100%{left:50%}} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/banner/resources/css/banner.min.css: -------------------------------------------------------------------------------- 1 | .banner{padding:12px;border:1px solid #e9e9e9;background:#fff;clear:both;overflow:hidden;box-sizing:border-box;position:fixed;z-index:999;width:100%;top:0;left:0;right:0}.banner i.banner-icon{padding:8px;border-radius:100%;background:#42a5f5;color:#fff;display:inline-block;vertical-align:middle}.banner span.material-label{max-width:70%;margin-left:12px;display:inline-block;vertical-align:middle}.banner .actions{float:right;font-weight:700}.banner button,.banner button:focus,.banner button:hover{cursor:pointer;background:0 0;color:#42a5f5;box-shadow:none;padding-left:8px;padding-right:8px;margin-left:12px} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/scrollfire/resources/js/scrollfire.min.js: -------------------------------------------------------------------------------- 1 | function apply(selector, offset, callback) {var didScroll = false; var done = false; var callbacks = $.Callbacks(); window.addEventListener("scroll", function() {didScroll = true; }); setInterval(function() {if(didScroll) {didScroll = false; var windowScroll = window.pageYOffset + window.innerHeight; var currentElement = document.querySelector(selector); if ( currentElement !== null) {var elementOffset = currentElement.getBoundingClientRect().top + window.pageYOffset; if (windowScroll > (elementOffset + offset)) {if (done !== true) {callbacks.add(callback); callbacks.fire(); done = true; } } } } }, 100); } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/css/bubble.min.css: -------------------------------------------------------------------------------- 1 | .bubble{margin-left:60px;float:left;background:#f3f3f3;color:#263238;position:relative;margin:8px 0 15px 0;height:auto;padding:8px 10px;display:block;word-wrap:break-word;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;z-index:1;font-size:.9rem}.triangle{position:absolute;z-index:998;border:6px solid transparent;opacity:.8}.triangle.right{top:15px;right:-12px;border-left-color:#d0d0d0}.triangle.left{top:15px;left:-12px;border-right-color:#d0d0d0}.triangle.bottom,.triangle.top{left:calc(50% - 4px)}.triangle.top{top:-12px;border-bottom-color:#d0d0d0}.triangle.bottom{bottom:-12px;border-top-color:#d0d0d0} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/sideprofile/resources/css/sideprofile.min.css: -------------------------------------------------------------------------------- 1 | ul.side-nav .side-profile span{line-height:1!important}ul.side-nav .side-profile a{display:block;padding-left:0;height:initial}ul.side-nav .side-profile i{line-height:1.5}.side-nav .side-profile .dropProfile i{position:absolute;right:20px}ul.side-nav .side-profile{padding:16px}ul.side-nav .side-profile a.dropdown-button{cursor:pointer!important;padding:0!important;line-height:3;height:32px!important;font-size:.8em}ul.side-nav .side-profile .dropdown-content a{padding:0 15px;height:inherit;line-height:64px}ul.side-nav .side-profile img{width:60px;height:60px;margin-bottom:0;border-radius:100%;-webkit-border-radius:100%;-moz-border-radius:100%} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/timepicker/resources/css/timepicker-dark.min.css: -------------------------------------------------------------------------------- 1 | .lolliclock-header{background-color:#1e1f22!important}.lolliclock-popover{background-color:#2e3033}.lolliclock-plate{background-color:#282828}.lolliclock-active-button-background{background:#bb86fc!important}.lolliclock-btn-text{color:#d2d2d2}.lolliclock-active-button-text{color:#000}.lolliclock-button{color:#bb86fc!important}.lolliclock-canvas-bg{fill:#d6b5ff!important}.lolliclock-canvas-fg{fill:#bb86fc!important}.lolliclock-canvas line{stroke:#fff!important}.lolliclock-tick.active,.lolliclock-tick:hover{background-color:#bb86fc!important}.input-field.timepicker input.valid{border-bottom:1px solid #bb86fc;box-shadow:0 1px 0 0 #bb86fc} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/subheader/resources/css/subheader.css: -------------------------------------------------------------------------------- 1 | .subheader { 2 | background: #fff; 3 | position: relative; 4 | z-index: 995; 5 | padding: 12px; 6 | } 7 | .subheader.fixed { 8 | position: fixed; 9 | top: 0; 10 | width: 200px; 11 | z-index: 0; 12 | } 13 | .subheader.fixed.absolute { 14 | position: absolute; 15 | } 16 | .subheader-container { 17 | overflow: auto; 18 | position: relative; 19 | padding: 0px !important; 20 | } 21 | .subheader-container .collection{ 22 | margin: 0 !important; 23 | } 24 | .top_holder { 25 | position: absolute; 26 | left: 0; 27 | top: 0; 28 | min-height: 5px; 29 | width: 100%; 30 | z-index: 996; 31 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/loadingstate/resources/css/loading-state.css: -------------------------------------------------------------------------------- 1 | .loading-state { 2 | text-align: center; 3 | } 4 | 5 | .loading-state i { 6 | padding: 20px; 7 | background: white; 8 | border-radius: 50%; 9 | margin-bottom: 20px; 10 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 11 | width: 64px; 12 | height: 64px; 13 | } 14 | 15 | .loading-state .title { 16 | font-size: 1.2em; 17 | font-weight: bold; 18 | } 19 | 20 | .loading-state .loader-wrapper { 21 | background: none; 22 | } 23 | 24 | .loading-state .preloader-wrapper { 25 | display: inline-block; 26 | position: relative; 27 | width: 64px; 28 | height: 64px; 29 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/fileuploader/resources/css/dropzone-dark.min.css: -------------------------------------------------------------------------------- 1 | .fileuploader{background:#1e1e1e}.fileuploader .upload-label{background-color:#292929!important}.fileuploader .upload-label i{background:#fff!important;color:#1e1e1e!important}.fileuploader.active{background:#1e1e1e!important}.fileuploader.active .upload-label{color:#fff!important}.preview-container{background-color:#1e1e1e}.preview-container .previews .zdrop-info .preview-icon{color:#1e1e1e!important}.preview-container .header{background-color:#1e1e1e!important}.preview-container .previews .zdrop-info .preview-icon{background:#393939}.preview-container .previews .collection-item{border-bottom:1px solid #393939}.preview-container .previews .zdrop-info .preview-icon{color:#fff!important} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/circularprogress/resources/css/circleprogress.css: -------------------------------------------------------------------------------- 1 | .circular-progress { 2 | position: relative; 3 | } 4 | 5 | .circular-progress .circular-label { 6 | position: absolute; 7 | top: 0; 8 | text-align: center; 9 | left: 0px; 10 | width: 100%; 11 | } 12 | 13 | .col.circular-progress .circular-label { 14 | left: 12px; 15 | } 16 | 17 | /** Responsive **/ 18 | .circular-progress.responsive canvas { 19 | max-width: 100%; 20 | min-width: 100%; 21 | max-height: 100%; 22 | min-height: 100%; 23 | height: auto !important; 24 | } 25 | 26 | .circular-progress.responsive .circular-label { 27 | width: 100%; 28 | margin: auto; 29 | top: 0; 30 | left: 0; 31 | bottom: 0; 32 | right: 0; 33 | display: table; 34 | font-size: 30px; 35 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/placeholder/resources/css/content-placeholder-dark.min.css: -------------------------------------------------------------------------------- 1 | .content-placeholder{display:inline-block;width:100%;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:placeHolderShimmer;animation-name:placeHolderShimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear;background:-webkit-gradient(linear,left top,right top,color-stop(8%,#454545),color-stop(18%,#555),color-stop(33%,#444));background:-webkit-linear-gradient(left,#454545 8%,#555 18%,#444 33%);background:linear-gradient(to right,#454545 8%,#555 18%,#444 33%);-webkit-background-size:800px 104px;background-size:800px 104px;height:inherit;position:relative} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/circularprogress/resources/css/circleprogress.min.css: -------------------------------------------------------------------------------- 1 | .circular-progress { 2 | position: relative; 3 | } 4 | 5 | .circular-progress .circular-label { 6 | position: absolute; 7 | top: 0; 8 | text-align: center; 9 | left: 0px; 10 | width: 100%; 11 | } 12 | 13 | .col.circular-progress .circular-label { 14 | left: 12px; 15 | } 16 | 17 | /** Responsive **/ 18 | .circular-progress.responsive canvas { 19 | max-width: 100%; 20 | min-width: 100%; 21 | max-height: 100%; 22 | min-height: 100%; 23 | height: auto !important; 24 | } 25 | 26 | .circular-progress.responsive .circular-label { 27 | width: 100%; 28 | margin: auto; 29 | top: 0; 30 | left: 0; 31 | bottom: 0; 32 | right: 0; 33 | display: table; 34 | font-size: 30px; 35 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/alert/resources/css/alert.css: -------------------------------------------------------------------------------- 1 | .material-note { 2 | font-size: 1em; 3 | width: 100%; 4 | bottom: -200px; 5 | position: absolute; 6 | left: 0px; 7 | z-index: 999; 8 | } 9 | .material-note.warning { 10 | background-color: #ffecb3; 11 | color: #ff8f00; 12 | } 13 | .material-note.error { 14 | background: #ffcdd2; 15 | color: #c62828; 16 | } 17 | .material-note.information { 18 | background: #e3f2fd; 19 | color: #2196f3; 20 | } 21 | .material-note.open { 22 | bottom: 0px !important; 23 | } 24 | .modal .material-note i { 25 | margin-left: 16px; 26 | } 27 | 28 | .material-note i.disabled { 29 | color: #c62828 !important; 30 | background: initial !important; 31 | } 32 | 33 | .alert-container { 34 | position: relative; 35 | overflow: hidden; 36 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/stepper/resources/css/stepper-dark.css: -------------------------------------------------------------------------------- 1 | .stepper.horizontal .step .step-header { 2 | background: #292929; 3 | } 4 | 5 | .stepper .line { 6 | border-left: 2px solid #414141; 7 | } 8 | 9 | .stepper.horizontal .step .line { 10 | border-top: 2px solid #414141; 11 | } 12 | 13 | .stepper .step:hover, .stepper.horizontal .step:hover .step-header { 14 | background: #303030; 15 | } 16 | 17 | .stepper .step > div:first-child .circle { 18 | background: #bb86fc !important; 19 | } 20 | 21 | .stepper .step.success > div:first-child i, 22 | .stepper .step.success .title, .stepper .step.success .description { 23 | color: #bb86fc !important; 24 | } 25 | 26 | .feedback { 27 | background: transparent; 28 | } 29 | 30 | .feedback .loader-wrapper { 31 | background-color: rgb(59, 59, 59) !important; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/emptystate/resources/css/empty-state.css: -------------------------------------------------------------------------------- 1 | .empty-state i.large { 2 | border-radius: 100%; 3 | padding: 20px; 4 | background: #fff; 5 | color: #4caf50; 6 | font-size: 4rem; 7 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 8 | } 9 | 10 | .empty-state .preloader-wrapper { 11 | width: 100px; 12 | height: 100px 13 | } 14 | 15 | .empty-state .loader-wrapper { 16 | background: transparent !important; 17 | z-index: 1; 18 | } 19 | 20 | .empty-state h4 { 21 | overflow-wrap: break-word; 22 | } 23 | 24 | .empty-state .actions a { 25 | display: inline-block; 26 | cursor: pointer; 27 | font-size: 1.2em; 28 | position: relative; 29 | top: 20px; 30 | font-weight: 600; 31 | } 32 | 33 | .empty-state .actions a i { 34 | margin-top: 4px; 35 | color: #1a73e8; 36 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/timeline/resources/css/timeline.min.css: -------------------------------------------------------------------------------- 1 | .timeline .timeline-header img, .timeline .timeline-header canvas[data-jdenticon-hash] { 2 | width: 64px; 3 | height: 64px; 4 | border-radius: 100%; 5 | padding: 4px; 6 | background: white; 7 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 8 | -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 9 | } 10 | 11 | .timeline { 12 | text-align: initial; 13 | } 14 | 15 | .timeline .timeline-item { 16 | position: relative; 17 | } 18 | 19 | .timeline .timeline-item:not(:last-child) .line { 20 | width: 4px; 21 | background: #E0E0E0; 22 | position: absolute; 23 | top: 0; 24 | bottom: 0; 25 | z-index: -1; 26 | left: 52px; 27 | } 28 | 29 | .timeline .timeline-content { 30 | min-height: 80px; 31 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/stepper/constants/State.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.stepper.constants; 21 | 22 | public enum State { 23 | 24 | ERROR, SUCCESS, ACTIVE 25 | } 26 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/google/recaptcha/resources/js/recaptcha.min.js: -------------------------------------------------------------------------------- 1 | var _element,_siteKey,_callback,_expiredCallback,_errorCallback,_theme,_validation_type,_callbacks=$.Callbacks(),_errorCallbacks=$.Callbacks(),_expiredCallbacks=$.Callbacks();function initReCaptcha(a,e,c,l,r,t,i){_element=a,_siteKey=e,_theme=t,_validation_type=i,_callback=c,_callbacks.add(c),_expiredCallback=l,_expiredCallbacks.add(l),_errorCallback=r,_errorCallbacks.add(r)}var recaptchaCallback=function(){grecaptcha.render(_element,{sitekey:_siteKey,callback:recaptchaVerifyCallback,"expired-callback":recaptchaExpiredCallback,"error-callback":recaptchaErrorCallback,theme:_theme,type:_validation_type})};function getResponse(){return grecaptcha.getResponse()}function reset(){grecaptcha.reset()}var recaptchaVerifyCallback=function(a){_callbacks.fire(a)},recaptchaExpiredCallback=function(){_expiredCallbacks.fire()},recaptchaErrorCallback=function(){_errorCallbacks.fire()}; -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/subheader/resources/js/subheader.min.js: -------------------------------------------------------------------------------- 1 | function initSubheader(e,t){jQuery(document).ready(function(){var o=new stickyTitles(e,t);o.load(),$(t).on("scroll",function(){o.scroll()})})}function stickyTitles(e,t){var o=jQuery(e),s=jQuery(t);s.addClass("subheader-container");var r=document.createElement("div");$(r).addClass("top_holder"),s.prepend(r),this.load=function(){o.each(function(){var e=jQuery(this).wrap('
');e.parent().height(e.outerHeight()),jQuery.data(e[0],"pos",e.position().top)})},this.scroll=function(){$(r).css("top",s.scrollTop()),$(r).addClass("z-depth-1"),o.each(function(e){var t=jQuery(this),a=(o.eq(e+1),o.eq(e-1)),l=jQuery.data(t[0],"pos");0==s.scrollTop()?$(r).hide():$(r).show(),l<=s.scrollTop()?($(r).html(""),t.clone().appendTo($(r))):(t.removeAttr("style").show(),a.length>0&&s.offset().top<=jQuery.data(t[0],"pos")-a.outerHeight()&&a.removeClass("absolute").removeAttr("style"))})}} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/constants/ResizeEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.constants; 21 | 22 | public interface ResizeEvents { 23 | 24 | String RESIZE_MOVE = "resizemove"; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/popupmenu/resources/css/popup-menu.css: -------------------------------------------------------------------------------- 1 | .popup-menu { 2 | position: absolute; 3 | background-color: white; 4 | width: 280px; 5 | z-index: 999; 6 | max-height: 70vh !important; 7 | } 8 | 9 | .popup-menu li { 10 | padding: 0px; 11 | } 12 | 13 | .popup-menu li a, .popup-menu ul.dropdown-content li a { 14 | font-size: 1em; 15 | padding: 12px; 16 | } 17 | 18 | .popup-menu li:hover { 19 | background: #e9e9e9; 20 | } 21 | 22 | .popup-menu li { 23 | position: relative; 24 | } 25 | 26 | .popup-menu ul.dropdown-content { 27 | position: absolute !important; 28 | overflow: visible !important; 29 | left: 280px !important; 30 | top: 0px !important; 31 | } 32 | 33 | .popup-menu ul.dropdown-content.edge-left { 34 | left: -280px !important; 35 | } 36 | 37 | .popup-menu ul.dropdown-content.edge-bottom { 38 | bottom: 0; 39 | top: initial !important; 40 | } 41 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/infinitescroll/resources/css/infinite-scroll.css: -------------------------------------------------------------------------------- 1 | .infinite-scroll-loader { 2 | clear: both; 3 | text-align: center; 4 | padding-top: 80px; 5 | position: absolute !important; 6 | top: 0; 7 | bottom: 0; 8 | height: 100%; 9 | width: 100%; 10 | } 11 | 12 | .infinite-scroll-loader.active { 13 | opacity: 1 !important; 14 | } 15 | 16 | .infinite-scroll-loader .loader-wrapper { 17 | opacity: 0.9 !important; 18 | height: 100%; 19 | background: white !important; 20 | } 21 | 22 | .infinite-scroll-loader .preloader-wrapper { 23 | width: 32px; 24 | height: 32px; 25 | } 26 | 27 | .infinite-scroll-loader span { 28 | padding-bottom: 32px; 29 | font-size: 1.2em; 30 | bottom: 170px !important; 31 | left: 0px !important; 32 | position: absolute; 33 | text-align: center; 34 | width: 100%; 35 | z-index: 9999; 36 | font-weight: bold; 37 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/camera/base/AllowedCameraCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.camera.base; 21 | 22 | public interface AllowedCameraCallback { 23 | 24 | void call(boolean allowed); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/infinitescroll/resources/css/infinite-scroll.min.css: -------------------------------------------------------------------------------- 1 | .infinite-scroll-loader { 2 | clear: both; 3 | text-align: center; 4 | padding-top: 80px; 5 | position: absolute !important; 6 | top: 0; 7 | bottom: 0; 8 | height: 100%; 9 | width: 100%; 10 | } 11 | 12 | .infinite-scroll-loader.active { 13 | opacity: 1 !important; 14 | } 15 | 16 | .infinite-scroll-loader .loader-wrapper { 17 | opacity: 0.9 !important; 18 | height: 100%; 19 | background: white !important; 20 | } 21 | 22 | .infinite-scroll-loader .preloader-wrapper { 23 | width: 32px; 24 | height: 32px; 25 | } 26 | 27 | .infinite-scroll-loader span { 28 | padding-bottom: 32px; 29 | font-size: 1.2em; 30 | bottom: 170px !important; 31 | left: 0px !important; 32 | position: absolute; 33 | text-align: center; 34 | width: 100%; 35 | z-index: 9999; 36 | font-weight: bold; 37 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/camera/base/CameraSupportCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.camera.base; 21 | 22 | public interface CameraSupportCallback { 23 | 24 | void call(boolean supported); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingstate/constants/State.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingstate.constants; 21 | 22 | public enum State { 23 | 24 | LOADING, 25 | SUCCESS, 26 | ERROR 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/infinitescroll/Renderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.infinitescroll; 21 | 22 | import com.google.gwt.user.client.ui.Widget; 23 | 24 | public interface Renderer { 25 | 26 | Widget render(T model); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/addresslookup/events/AddressLookupEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.addresslookup.events; 21 | 22 | public interface AddressLookupEvents { 23 | 24 | String PLACE_CHANGED = "place_changed"; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/placeholder/PlaceholderRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.placeholder; 21 | 22 | import com.google.gwt.user.client.ui.Widget; 23 | 24 | public interface PlaceholderRenderer { 25 | 26 | Widget render(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/overlay/resources/css/overlay.min.css: -------------------------------------------------------------------------------- 1 | .overlay-panel{width:100%;height:100%;top:0;left:0;right:0;bottom:0;position:fixed;z-index:999;visibility:hidden;opacity:0;background:#fff}.overlay-tab .lean-overlay{background:rgba(0,0,0,.7)}.overlay-panel.tab{will-change:transform,opacity,box-shadow;-webkit-transition:all .8s cubic-bezier(.23,1,.32,1);transition:all .8s cubic-bezier(.23,1,.32,1);box-shadow:rgba(0,0,0,.4) 0 30px 60px;cursor:pointer}.overlay-panel .minimize-icon{position:absolute;right:20px;top:20px;z-index:1010}.overlay-panel .number{font-size:12em;text-align:center;padding:10%;width:100%}.overlay-panel.maximize{transform:translate3d(0,0,0) scale(1)!important}.overlay-panel.hidden{transform:translate3d(0,100%,0) scale(1)!important}.overlay-tab .close{position:fixed;bottom:32px;right:22px;z-index:1020}.overlay-tab-activator{position:relative}.overlay-tab-activator .badge{width:16px!important;height:16px!important;padding-top:8px!important;right:0;top:-8px;background:#E91E63} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/masonry/events/MasonryEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.masonry.events; 21 | 22 | public interface MasonryEvents { 23 | 24 | String LAYOUT_COMPLETE = "layoutComplete"; 25 | String REMOVE_COMPLETE = "removeComplete"; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/fileuploader/base/FileProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.fileuploader.base; 21 | 22 | import gwt.material.design.addins.client.fileuploader.js.File; 23 | 24 | public interface FileProvider { 25 | 26 | File provide(Object object); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/menubar/resources/css/menubar.min.css: -------------------------------------------------------------------------------- 1 | .menu-bar ul.dropdown-content{overflow:visible!important;width:280px!important;padding:16px 0}.menu-bar ul.dropdown-content .dropdown-content{position:relative!important;margin-top:0;left:280px!important;top:-48px!important}.menu-bar .dropdown-content li{display:inline-block;min-height:0;line-height:0;max-height:32px}.menu-bar li{height:40px}.menu-bar .dropdown-content li>a,.menu-bar .dropdown-content li>span{font-size:1em!important;min-height:0;line-height:16px;color:#000;padding:8px 24px;display:inline-block}ul.dropdown-content li>div.checkbox{padding:6px 0 0 1rem}.menu-bar ul.dropdown-content li>span.gwt-CheckBox{line-height:0;padding:4px 4px 4px 12px}.menu-bar ul.dropdown-content [type=checkbox]+label{height:initial;color:#000;width:100%}.menu-bar ul li img{width:20px!important;height:20px!important}@media only screen and (max-width:992px){.menu-bar ul.dropdown-content,.menu-bar ul.dropdown-content ul.dropdown-content{left:0!important;width:100%!important}} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/constants/DropEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.constants; 21 | 22 | public interface DropEvents { 23 | 24 | String DROP = "drop"; 25 | String DROP_ACTIVATE = "dropactivate"; 26 | String DROP_DEACTIVATE = "dropdeactivate"; 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/placeholder/resources/css/content-placeholder.min.css: -------------------------------------------------------------------------------- 1 | @-webkit-keyframes placeHolderShimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}@keyframes placeHolderShimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}.content-placeholder{display:inline-block;width:100%;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:placeHolderShimmer;animation-name:placeHolderShimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear;background:#f6f7f8;background:-webkit-gradient(linear,left top,right top,color-stop(8%,#eee),color-stop(18%,#ddd),color-stop(33%,#eee));background:-webkit-linear-gradient(left,#eee 8%,#ddd 18%,#eee 33%);background:linear-gradient(to right,#eee 8%,#ddd 18%,#eee 33%);-webkit-background-size:800px 104px;background-size:800px 104px;height:inherit;position:relative} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/toggle/resources/css/group-toggle-button.min.css: -------------------------------------------------------------------------------- 1 | .group-toggle-button label:first-child{top:0;font-size:.8em}.group-toggle-button{margin-bottom:16px}.group-toggle-button .wrapper{margin-top:20px;background:#fff;display:inline-block;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)!important;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)!important;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)!important}.group-toggle-button .wrapper button{cursor:pointer;border-right:1px solid #e9e9e9;font-size:.7em}.group-toggle-button .wrapper button:hover{color:#fff}.group-toggle-button button{background:#fff;color:#4a4a4a}.group-toggle-button button.active{background:#2196F3;color:#fff}.group-toggle-button.field-error,.group-toggle-button.field-success{border:none}.group-toggle-button .field-error-label,.group-toggle-button .field-success-label,.group-toggle-button span.field-error-label,.group-toggle-button span.field-success-label{margin-top:16px} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/StartupState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client; 21 | 22 | public class StartupState { 23 | public StartupState() { 24 | } 25 | 26 | public static class DebugState extends StartupState { 27 | public DebugState() { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/inputmask/MaterialInputMask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.inputmask; 21 | 22 | public class MaterialInputMask extends AbstractInputMask { 23 | 24 | @Override 25 | public String getValue() { 26 | return getCleanValue(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/timer/resources/css/timer.css: -------------------------------------------------------------------------------- 1 | .timer-progress { 2 | position: relative; 3 | width: 100%; 4 | display: inline-block; 5 | height: 5px; 6 | background: #eee 7 | } 8 | 9 | .timer-progress .fill { 10 | content: ''; 11 | position: absolute; 12 | left: 0; 13 | height: 100%; 14 | background: #2196f3; 15 | width: 0; 16 | -webkit-animation: 6s fullw infinite; 17 | animation: 6s fullw infinite 18 | } 19 | 20 | .timer-progress.bouncing .fill { 21 | background: #2196f3; 22 | width: 50%; 23 | -webkit-animation: 1.5s cubic-bezier(.08, -.18, .91, 1.14) barbounce alternate infinite; 24 | animation: 1.5s cubic-bezier(.08, -.18, .91, 1.14) barbounce alternate infinite 25 | } 26 | 27 | @-webkit-keyframes barbounce { 28 | 0% { 29 | left: 0; 30 | } 31 | 100% { 32 | left: 50%; 33 | } 34 | } 35 | 36 | @keyframes barbounce { 37 | 0% { 38 | left: 0; 39 | } 40 | 100% { 41 | left: 50% 42 | } 43 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/cropper/events/HasCropEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.cropper.events; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | 24 | public interface HasCropEvents { 25 | 26 | HandlerRegistration addCropHandler(CropEvent.CropHandler handler); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/event/listener/DragEventListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.event.listener; 21 | 22 | import gwt.material.design.addins.client.dnd.event.InteractDragEvent; 23 | 24 | public interface DragEventListener { 25 | 26 | void register(InteractDragEvent event); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/moment/option/SuffixLocaleFormatter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2023 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.moment.option; 21 | 22 | import jsinterop.annotations.JsFunction; 23 | 24 | @FunctionalInterface 25 | @JsFunction 26 | public interface SuffixLocaleFormatter { 27 | 28 | String call(String number); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/storage/Driver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.storage; 21 | 22 | 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class Driver { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | dist: trusty 3 | language: java 4 | jdk: 5 | - oraclejdk8 6 | cache: 7 | directories: 8 | - $HOME/.m2 9 | before_install: 10 | # install the gwt-material-jquery library before we build the demo 11 | - git clone -b release_2.8.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git 12 | - cd gwt-material-jquery 13 | - mvn install -DskipTests=true -DdryRun=true 14 | - cd .. 15 | # install the gwt-material library before we build the demo 16 | - git clone -b release_2.8.0 https://github.com/GwtMaterialDesign/gwt-material.git 17 | - cd gwt-material 18 | - mvn install -DskipTests=true -DdryRun=true 19 | - cd .. 20 | # install the gwt-material-table library before we build the demo 21 | - git clone -b release_2.8.0 https://github.com/GwtMaterialDesign/gwt-material-table.git 22 | - cd gwt-material-table 23 | - mvn install -DskipTests=true -DdryRun=true 24 | - cd .. 25 | install: true 26 | before_script: 27 | - chmod +x .utility/* 28 | script: 29 | - mvn clean install -DdryRun=true -DskipTests=true 30 | after_success: 31 | - .utility/deploy.sh 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/banner/MaterialBannerActions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.banner; 21 | 22 | import gwt.material.design.client.ui.MaterialPanel; 23 | 24 | public class MaterialBannerActions extends MaterialPanel { 25 | 26 | public MaterialBannerActions() { 27 | super(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/timepicker/resources/css/timepicker-dark.css: -------------------------------------------------------------------------------- 1 | .lolliclock-header { 2 | background-color: #1e1f22 !important 3 | } 4 | 5 | .lolliclock-popover { 6 | background-color: #2e3033 7 | } 8 | 9 | .lolliclock-plate { 10 | background-color: #282828 11 | } 12 | 13 | .lolliclock-active-button-background { 14 | background: #bb86fc !important 15 | } 16 | 17 | .lolliclock-btn-text { 18 | color: #d2d2d2 19 | } 20 | 21 | .lolliclock-active-button-text { 22 | color: #000 23 | } 24 | 25 | .lolliclock-button { 26 | color: #bb86fc !important 27 | } 28 | 29 | .lolliclock-canvas-bg { 30 | fill: #d6b5ff !important 31 | } 32 | 33 | .lolliclock-canvas-fg { 34 | fill: #bb86fc !important 35 | } 36 | 37 | .lolliclock-canvas line { 38 | stroke: #fff !important 39 | } 40 | 41 | .lolliclock-tick.active, .lolliclock-tick:hover { 42 | background-color: #bb86fc !important 43 | } 44 | 45 | .input-field.timepicker input.valid { 46 | border-bottom: 1px solid #bb86fc; 47 | box-shadow: 0 1px 0 0 #bb86fc; 48 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/placeholder/resources/css/content-placeholder-dark.css: -------------------------------------------------------------------------------- 1 | .content-placeholder { 2 | display: inline-block; 3 | width: 100%; 4 | -webkit-animation-duration: 1s; 5 | animation-duration: 1s; 6 | -webkit-animation-fill-mode: forwards; 7 | animation-fill-mode: forwards; 8 | -webkit-animation-iteration-count: infinite; 9 | animation-iteration-count: infinite; 10 | -webkit-animation-name: placeHolderShimmer; 11 | animation-name: placeHolderShimmer; 12 | -webkit-animation-timing-function: linear; 13 | animation-timing-function: linear; 14 | background: -webkit-gradient(linear, left top, right top, color-stop(8%, #454545), color-stop(18%, #555555), color-stop(33%, #444444)); 15 | background: -webkit-linear-gradient(left, #454545 8%, #555555 18%, #444444 33%); 16 | background: linear-gradient(to right, #454545 8%, #555555 18%, #444444 33%); 17 | -webkit-background-size: 800px 104px; 18 | background-size: 800px 104px; 19 | height: inherit; 20 | position: relative; 21 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/sideprofile/resources/css/sideprofile.css: -------------------------------------------------------------------------------- 1 | ul.side-nav .side-profile span{ 2 | line-height: 1 !important; 3 | } 4 | ul.side-nav .side-profile a { 5 | display: block; 6 | padding-left: 0px; 7 | height: initial; 8 | } 9 | ul.side-nav .side-profile i{ 10 | line-height: 1.5; 11 | } 12 | .side-nav .side-profile .dropProfile i { 13 | position: absolute; 14 | right: 20px; 15 | } 16 | ul.side-nav .side-profile{ 17 | padding: 16px; 18 | } 19 | 20 | ul.side-nav .side-profile a.dropdown-button{ 21 | cursor: pointer !important; 22 | padding: 0px !important;; 23 | line-height: 3; 24 | height: 32px !important; 25 | font-size: 0.8em; 26 | } 27 | 28 | ul.side-nav .side-profile .dropdown-content a { 29 | padding: 0px 15px; 30 | height: inherit; 31 | line-height: 64px; 32 | } 33 | 34 | ul.side-nav .side-profile img{ 35 | width: 60px; 36 | height: 60px; 37 | margin-bottom: 0px; 38 | border-radius: 100%; 39 | -webkit-border-radius: 100%; 40 | -moz-border-radius: 100%; 41 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/camera/base/RegisteredCameraCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.camera.base; 21 | 22 | import gwt.material.design.jscore.client.api.media.MediaDeviceInfo; 23 | 24 | import java.util.List; 25 | 26 | public interface RegisteredCameraCallback { 27 | 28 | void call(List devices); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/bubble/resources/css/bubble.css: -------------------------------------------------------------------------------- 1 | .bubble{ 2 | margin-left: 60px; 3 | float: left; 4 | background: #f3f3f3; 5 | color: #263238; 6 | position: relative; 7 | margin: 8px 0 15px 0; 8 | height: auto; 9 | padding: 8px 10px; 10 | display: block; 11 | word-wrap: break-word; 12 | border-radius: 3px; 13 | -moz-border-radius: 3px; 14 | -webkit-border-radius: 3px; 15 | z-index: 1; 16 | font-size: 0.9rem; 17 | } 18 | .triangle{ 19 | position: absolute; 20 | z-index: 998; 21 | border: 6px solid transparent; 22 | opacity: 0.8; 23 | } 24 | .triangle.right{ 25 | top: 15px; 26 | right: -12px; 27 | border-left-color: #f3f3f3; 28 | } 29 | .triangle.left{ 30 | top: 15px; 31 | left: -12px; 32 | border-right-color: #f3f3f3; 33 | } 34 | .triangle.top, .triangle.bottom{ 35 | left: calc(50% - 4px); 36 | } 37 | .triangle.top{ 38 | top: -12px; 39 | border-bottom-color: #f3f3f3; 40 | } 41 | .triangle.bottom{ 42 | bottom: -12px; 43 | border-top-color: #f3f3f3; 44 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/banner/event/HasBannerHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.banner.event; 21 | 22 | import com.google.gwt.event.logical.shared.HasCloseHandlers; 23 | import com.google.gwt.event.logical.shared.HasOpenHandlers; 24 | 25 | public interface HasBannerHandlers extends HasOpenHandlers, HasCloseHandlers { 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/recaptcha3/constants/ReCaptcha3Actions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.recaptcha3.constants; 21 | 22 | public interface ReCaptcha3Actions { 23 | 24 | String HOMEPAGE = "homepage"; 25 | String LOGIN = "login"; 26 | String SOCIAL = "social"; 27 | String E_COMMERCE = "e-commerce"; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/circularprogress/events/CircularProgressEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2016 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.circularprogress.events; 21 | 22 | public interface CircularProgressEvents { 23 | 24 | String START = "circle-animation-start"; 25 | String PROGRESS = "circle-animation-progress"; 26 | String COMPLETED = "circle-animation-end"; 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/moment/option/FullLocaleFormatter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2023 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.moment.option; 21 | 22 | import jsinterop.annotations.JsFunction; 23 | 24 | @FunctionalInterface 25 | @JsFunction 26 | public interface FullLocaleFormatter { 27 | 28 | String call(Object number, boolean withoutSuffix, String key, boolean isFuture); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/fileuploader/resources/css/dropzone-dark.css: -------------------------------------------------------------------------------- 1 | .fileuploader { 2 | background: #1e1e1e; 3 | } 4 | 5 | .fileuploader .upload-label { 6 | background-color: #292929 !important; 7 | } 8 | 9 | .fileuploader .upload-label i { 10 | background: #ffffff !important; 11 | color: #1e1e1e !important; 12 | } 13 | 14 | .fileuploader.active { 15 | background: #1e1e1e !important; 16 | } 17 | 18 | .fileuploader.active .upload-label { 19 | color: #fff !important; 20 | } 21 | 22 | .preview-container { 23 | background-color: #1e1e1e; 24 | } 25 | 26 | .preview-container .previews .zdrop-info .preview-icon { 27 | color: #1e1e1e !important; 28 | } 29 | 30 | .preview-container .header { 31 | background-color: #1e1e1e !important; 32 | } 33 | 34 | .preview-container .previews .zdrop-info .preview-icon { 35 | background: #393939; 36 | } 37 | 38 | .preview-container .previews .collection-item { 39 | border-bottom: 1px solid #393939; 40 | } 41 | 42 | .preview-container .previews .zdrop-info .preview-icon { 43 | color: #ffffff !important; 44 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/iconmorph/resources/css/morph.min.css: -------------------------------------------------------------------------------- 1 | .anim-container{height:4rem;width:4rem;transition:.3s;-webkit-transition:.3s;-moz-transition:.3s;position:relative;cursor:pointer}.anim-container .icons.material-icons{transition:.3s;-moz-transition:.3s;-webkit-transition:.3s;position:absolute;font-size:4em;height:1em;width:1em;position:absolute;left:0;line-height:normal}.anim-container .source{transform:rotate(-135deg);-moz-transform:rotate(-135deg);-webkit-transform:rotate(-135deg);opacity:0}.anim-container.morphed{transform:rotate(135deg);-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg)}.anim-container.morphed .source{opacity:1;visibility:visible}.anim-container.morphed .target{opacity:0;visibility:hidden}.anim-container.tiny{height:1rem;width:1rem;font-size:.5rem}.anim-container.small{height:2rem;width:2rem;font-size:.5rem}.anim-container.medium{height:4rem;width:4rem;font-size:.5rem}.anim-container.large{height:6rem;width:6rem;font-size:.5rem}.anim-container.tiny .icons{font-size:2em}.anim-container.medium .icons{font-size:8em}.anim-container.large .icons{font-size:12em} -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/banner/resources/css/banner.css: -------------------------------------------------------------------------------- 1 | .banner { 2 | padding: 12px; 3 | border: 1px solid #e9e9e9; 4 | background: white; 5 | clear: both; 6 | overflow: hidden; 7 | box-sizing: border-box; 8 | position: fixed; 9 | z-index: 999; 10 | width: 100%; 11 | top: 0; 12 | left: 0; 13 | right: 0; 14 | } 15 | 16 | .banner i.banner-icon { 17 | padding: 8px; 18 | border-radius: 100%; 19 | background: #42a5f5; 20 | color: white; 21 | display: inline-block; 22 | vertical-align: middle; 23 | } 24 | 25 | .banner span.material-label { 26 | max-width: 70%; 27 | margin-left: 12px; 28 | display: inline-block; 29 | vertical-align: middle; 30 | } 31 | 32 | .banner .actions { 33 | float: right; 34 | font-weight: bold; 35 | } 36 | 37 | .banner button, 38 | .banner button:hover, 39 | .banner button:focus { 40 | cursor: pointer; 41 | background: transparent; 42 | color: #42a5f5; 43 | box-shadow: none; 44 | padding-left: 8px; 45 | padding-right: 8px; 46 | margin-left: 12px; 47 | } -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/waterfall/resources/js/waterfall.js: -------------------------------------------------------------------------------- 1 | function initWaterfall(height, showCallback, hideCallback, offset) { 2 | $('nav').pushpin({ top: height }); 3 | $('nav').addClass('z-depth-0'); 4 | 5 | var callbacks = $.Callbacks(); 6 | var show; 7 | function stickyScroll(e) { 8 | 9 | if( window.pageYOffset > offset) { 10 | if (show !== true) { 11 | $('nav').removeClass('z-depth-0'); 12 | $('nav').addClass('z-depth-1'); 13 | show = true; 14 | } 15 | }else{ 16 | if (show === true) { 17 | $('nav').removeClass('z-depth-1'); 18 | $('nav').addClass('z-depth-0'); 19 | show = false; 20 | } 21 | } 22 | 23 | if( window.pageYOffset > 1) { 24 | callbacks.add(hideCallback); 25 | callbacks.fire(); 26 | 27 | }else{ 28 | callbacks.add(showCallback); 29 | callbacks.fire(); 30 | } 31 | } 32 | 33 | window.addEventListener('scroll', stickyScroll, false); 34 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/constants/DragEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.constants; 21 | 22 | public interface DragEvents { 23 | 24 | String DRAG_START = "dragstart"; 25 | String DRAG_END = "dragend"; 26 | String DRAG_MOVE = "dragmove"; 27 | String DRAG_ENTER = "dragenter"; 28 | String DRAG_OVER = "dragover"; 29 | String DRAG_LEAVE = "dragleave"; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/daterange/js/Today.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.daterange.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class Today { 28 | 29 | @JsProperty 30 | public Object[] value; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/combobox/js/options/Params.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.combobox.js.options; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class Params { 28 | 29 | @JsProperty 30 | public String term; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/keyboard/ScreenKeyboardDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.keyboard; 21 | 22 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 23 | 24 | public class ScreenKeyboardDarkTheme extends AddinsWidgetDarkTheme { 25 | 26 | public ScreenKeyboardDarkTheme() { 27 | super(ScreenKeyboardClientBundle.INSTANCE.screenKeyboardDarkCss()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/addins/client/ui/base/AddinsBaseCase.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.ui.base; 21 | 22 | import gwt.material.design.client.ui.base.BaseTestCase; 23 | import org.junit.Ignore; 24 | 25 | @Ignore 26 | public class AddinsBaseCase extends BaseTestCase { 27 | 28 | @Override 29 | public String getModuleName() { 30 | return "gwt.material.design.addins.GwtMaterialAddins"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/carousel/constants/RespondTo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.carousel.constants; 21 | 22 | public enum RespondTo { 23 | 24 | WINDOW("window"), 25 | SLIDER("slider"), 26 | MIN("min"); 27 | 28 | private String name; 29 | 30 | RespondTo(String name) { 31 | this.name = name; 32 | } 33 | 34 | public String getName() { 35 | return name; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/carousel/MaterialCarouselFixedItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.carousel; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class MaterialCarouselFixedItem extends MaterialWidget { 26 | 27 | public MaterialCarouselFixedItem() { 28 | super(Document.get().createDivElement(), "fixed-item"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/pinch/events/HasPinchZoomHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.pinch.events; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | 24 | public interface HasPinchZoomHandlers { 25 | 26 | HandlerRegistration addOnZoomStartHandler(OnZoomStartEvent.OnZoomStartHandler handler); 27 | 28 | HandlerRegistration addOnZoomEndHandler(OnZoomEndEvent.OnZoomEndHandler handler); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/moment/option/LocaleOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2023 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.moment.option; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class LocaleOptions { 28 | 29 | @JsProperty 30 | public RelativeTime relativeTime; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/keyboard/js/KeyInput.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.keyboard.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class KeyInput { 28 | 29 | @JsProperty(name = "default") 30 | public String _default; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/splitpanel/resources/css/touchsplitter.min.css: -------------------------------------------------------------------------------- 1 | .TouchSplitter,.TouchSplitter>div{overflow:hidden;background:#e9e9e9}.TouchSplitter.h-ts>div{height:100%;width:42%;width:calc(50% - .5em)}.TouchSplitter.v-ts>div{width:100%;height:42%;height:calc(50% - .5em)}.TouchSplitter>div{display:block;margin:0;padding:0;float:left}.TouchSplitter.h-ts>div.splitter-bar{width:1em;cursor:col-resize}.TouchSplitter.v-ts>div.splitter-bar{height:1em;cursor:row-resize}.TouchSplitter>div.splitter-bar.dock>div{width:1em;height:1em;background-repeat:no-repeat;background-position:center}.TouchSplitter,.TouchSplitter>div,.TouchSplitter>div.splitter-bar>div{position:relative;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.TouchSplitter>div.test-calc{width:10px;width:calc(10px + 10px)}.TouchSplitter>div.test-em{width:1em}.TouchSplitter>div.splitter-bar>div{width:.2rem;height:1em;position:relative;background:#fff}.TouchSplitter.h-ts>div.splitter-bar>div{margin-top:0;top:50%;margin-left:25%;height:20px;width:50%}.TouchSplitter.v-ts>div.splitter-bar>div{width:20px;line-height:20px;height:4px;position:absolute;top:0;left:0;bottom:0;right:0;margin:auto} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/gesture/hammer/js/JsHammerOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.gesture.hammer.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class JsHammerOptions { 28 | 29 | @JsProperty 30 | public boolean preventDefault; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/addresslookup/js/options/Circle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.addresslookup.js.options; 21 | 22 | import jsinterop.annotations.*; 23 | 24 | @JsType(isNative = true, namespace = "google.maps", name = "Circle") 25 | public class Circle { 26 | 27 | public Circle(GeoLatLng center, double radius) { 28 | } 29 | 30 | @JsMethod 31 | public native LatLngBounds getBounds(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/keyboard/js/SimpleKeyboard.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.keyboard.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class SimpleKeyboard { 28 | 29 | @JsProperty(name = "default") 30 | public Object _default; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/client/scrollfire/resources/js/scrollfire.js: -------------------------------------------------------------------------------- 1 | function apply(selector, offset, callback) { 2 | var didScroll = false; 3 | var done = false; 4 | var callbacks = $.Callbacks(); 5 | 6 | /*callbacks.fire();*/ 7 | 8 | window.addEventListener("scroll", function() { 9 | didScroll = true; 10 | }); 11 | 12 | 13 | 14 | // Rate limit to 100ms 15 | // Rate limit to 100ms 16 | setInterval(function() { 17 | if(didScroll) { 18 | didScroll = false; 19 | 20 | var windowScroll = window.pageYOffset + window.innerHeight; 21 | 22 | var currentElement = document.querySelector(selector); 23 | if ( currentElement !== null) { 24 | var elementOffset = currentElement.getBoundingClientRect().top + window.pageYOffset; 25 | 26 | if (windowScroll > (elementOffset + offset)) { 27 | if (done !== true) { 28 | callbacks.add(callback); 29 | callbacks.fire(); 30 | done = true; 31 | } 32 | } 33 | } 34 | } 35 | }, 100); 36 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/cropper/constants/Size.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.cropper.constants; 21 | 22 | /** 23 | * The size of the cropped image defaults to {@link #VIEWPORT} 24 | */ 25 | public enum Size { 26 | VIEWPORT("viewport"), 27 | ORIGINAL("original"); 28 | 29 | private String name; 30 | 31 | Size(String name) { 32 | this.name = name; 33 | } 34 | 35 | public String getName() { 36 | return name; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/daterange/constants/DateRangeElementSelector.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.daterange.constants; 21 | 22 | public interface DateRangeElementSelector { 23 | 24 | String MONTH_SELECT = ".monthselect"; 25 | String YEAR_SELECT = ".yearselect"; 26 | String HOUR_SELECT = ".hourselect"; 27 | String MINUTE_SELECT = ".minuteselect"; 28 | String AM_PM_SELECT = ".ampmselect"; 29 | String SECONDS_SELECT = ".secondselect"; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/dob/DobLocaleDateProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.dob; 21 | 22 | import java.util.Map; 23 | 24 | public interface DobLocaleDateProvider { 25 | 26 | Map get(); 27 | 28 | String getMonthLabel(); 29 | 30 | String getDayLabel(); 31 | 32 | String getYearLabel(); 33 | 34 | String getInvalidMonthMessage(); 35 | 36 | String getInvalidDayMessage(); 37 | 38 | String getInvalidYearLabel(); 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/GwtMaterialAddins.gwt.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/gesture/hammer/js/events/EventObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.gesture.hammer.js.events; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class EventObject { 28 | 29 | @JsProperty 30 | public String type; 31 | 32 | @JsProperty 33 | public Gesture gesture; 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/pinch/PinchClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.pinch; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface PinchClientBundle extends ClientBundle { 27 | 28 | PinchClientBundle INSTANCE = GWT.create(PinchClientBundle.class); 29 | 30 | @Source("resources/js/pinch.min.js") 31 | TextResource pinchJs(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/infinitescroll/recycle/RecyclePosition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.infinitescroll.recycle; 21 | 22 | //@formatter:off 23 | 24 | /** 25 | * Recycling position of {@link RecycleManager} 26 | * 27 | * @author kevzlou7979 28 | */ 29 | public enum RecyclePosition { 30 | 31 | /** 32 | * Recycle all previous set of widgets 33 | */ 34 | TOP, 35 | /** 36 | * Recycle all the next set of widgets 37 | */ 38 | BOTTOM 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/addins/GwtMaterialAddinsBasic.gwt.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/addins/client/ui/base/MaterialValueBoxTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.ui.base; 21 | 22 | import gwt.material.design.client.ui.MaterialValueBox; 23 | import org.junit.Ignore; 24 | 25 | @Ignore 26 | public abstract class MaterialValueBoxTest extends gwt.material.design.client.ui.MaterialValueBoxTest { 27 | 28 | @Override 29 | public String getModuleName() { 30 | return "gwt.material.design.addins.GwtMaterialAddins"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/fileuploader/js/File.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.fileuploader.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsType; 24 | 25 | @JsType(isNative = true, name = "File", namespace = JsPackage.GLOBAL) 26 | public class File extends Blob { 27 | 28 | public File() { 29 | } 30 | 31 | public File(Object[] arr) { 32 | super(arr); 33 | } 34 | 35 | public File(Object[] blob, String name) { 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/pinch/PinchDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.pinch; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface PinchDebugClientBundle extends ClientBundle { 27 | 28 | PinchDebugClientBundle INSTANCE = GWT.create(PinchDebugClientBundle.class); 29 | 30 | @Source("resources/js/pinch.js") 31 | TextResource pinchJs(); 32 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/addresslookup/js/options/result/PlaceReview.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.addresslookup.js.options.result; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsType; 24 | 25 | /** 26 | * Defines photo-requesting options. 27 | * 28 | * @author kevzlou7979 29 | */ 30 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 31 | public class PlaceReview { 32 | 33 | //TODO Complete JSINterop 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/question/base/QuestionCategoryItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.question.base; 21 | 22 | import gwt.material.design.client.ui.MaterialLabel; 23 | import gwt.material.design.incubator.client.base.constants.IncubatorCssName; 24 | 25 | public class QuestionCategoryItem extends MaterialLabel { 26 | 27 | @Override 28 | protected void onLoad() { 29 | super.onLoad(); 30 | 31 | addStyleName(IncubatorCssName.CATEGORY_QUESTION); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/cropper/constants/Format.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.cropper.constants; 21 | 22 | /** 23 | * Indicating the image format defaults to {@link #PNG} 24 | * 25 | * @author kevzlou7979 26 | */ 27 | public enum Format { 28 | PNG("png"), 29 | JPEG("jpeg"), 30 | WEBP("webp"); 31 | 32 | private String name; 33 | 34 | Format(String name) { 35 | this.name = name; 36 | } 37 | 38 | public String getName() { 39 | return name; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/keyboard/js/KeyboardButtonTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.keyboard.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class KeyboardButtonTheme { 28 | 29 | @JsProperty(name = "class") 30 | public String className; 31 | 32 | @JsProperty 33 | public String buttons; 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/kanban/KanbanDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.kanban; 21 | 22 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 23 | import gwt.material.design.incubator.client.AddinsIncubator; 24 | 25 | public class KanbanDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public KanbanDarkTheme() { 28 | super(AddinsIncubator.isDebug() ? KanbanClientDebugBundle.INSTANCE.jkanbanDarkCss() : KanbanClientBundle.INSTANCE.jkanbanDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/client/language/resources/css/language-selector.min.css: -------------------------------------------------------------------------------- 1 | .language-selector{padding:0 24px;display:flex;align-items:center;height:64px;position:relative}.language-selector.single-language ul.dropdown-content{visibility:hidden}.language-selector.single-language .language-activator{cursor:default!important;margin-top:-12px}.language-selector .language-activator span:before{content:"";width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;position:absolute;top:28px;right:24px}.language-selector.single-language .language-activator span:before{display:none}.language-selector img{width:2rem;height:2rem}nav .language-selector .language-activator{padding-right:36px;padding-left:16px}nav .language-selector .language-activator span{line-height:64px}nav .language-selector .dropdown-content{margin-top:16px}.language-selector img.language-activator{border:2px solid #fff;border-radius:100%;cursor:pointer}.language-selector .dropdown-content{min-width:160px}.language-selector .dropdown-content li{min-height:40px}.language-selector .dropdown-content li img{height:auto}.language-selector .language-selector-item{margin:0;padding:8px 8px 4px}.language-selector .language-selector-item a:hover{background:0 0} -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/recaptcha/api/RecaptchaApi.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.recaptcha.api; 21 | 22 | import gwt.material.design.client.api.google.maps.GoogleApi; 23 | 24 | public class RecaptchaApi extends GoogleApi { 25 | 26 | public RecaptchaApi(String apiKey) { 27 | super(apiKey); 28 | } 29 | 30 | @Override 31 | public String getApiUrl() { 32 | return "https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit"; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/addins/client/ui/base/AbstractValueWidgetTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.ui.base; 21 | 22 | import gwt.material.design.client.base.AbstractValueWidget; 23 | import org.junit.Ignore; 24 | 25 | @Ignore 26 | public abstract class AbstractValueWidgetTest extends gwt.material.design.client.ui.base.AbstractValueWidgetTest { 27 | 28 | @Override 29 | public String getModuleName() { 30 | return "gwt.material.design.addins.GwtMaterialAddins"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/geocoder/js/GeocoderOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.geocoder.js; 21 | 22 | import gwt.material.design.incubator.client.google.addresslookup.js.options.LatLng; 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsProperty; 25 | import jsinterop.annotations.JsType; 26 | 27 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 28 | public class GeocoderOption { 29 | 30 | @JsProperty 31 | public LatLng location; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/fileuploader/js/XHR.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.fileuploader.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "XMLHttpRequest", namespace = JsPackage.GLOBAL) 27 | public class XHR { 28 | 29 | @JsProperty 30 | public int status; 31 | 32 | @JsProperty 33 | public String statusText; 34 | 35 | @JsProperty 36 | public String responseText; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingdot/LoadingDotClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingdot; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LoadingDotClientBundle extends ClientBundle { 27 | LoadingDotClientBundle INSTANCE = GWT.create(LoadingDotClientBundle.class); 28 | 29 | @Source("resources/css/three-dots.min.css") 30 | TextResource threeDots(); 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/addins/client/ui/base/dto/User.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.addins.client.ui.base.dto; 2 | 3 | /* 4 | * #%L 5 | * GwtMaterial 6 | * %% 7 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | 24 | import java.io.Serializable; 25 | 26 | public class User implements Serializable { 27 | 28 | private String value; 29 | 30 | public User() { 31 | } 32 | 33 | public User(String value) { 34 | this.value = value; 35 | } 36 | 37 | public String getValue() { 38 | return value; 39 | } 40 | 41 | public void setValue(String value) { 42 | this.value = value; 43 | } 44 | } -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/combobox/base/HasUnselectItemHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.combobox.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import com.google.gwt.event.shared.HasHandlers; 24 | import gwt.material.design.addins.client.combobox.events.UnselectItemEvent; 25 | 26 | /** 27 | * @author kevzlou7979 28 | */ 29 | public interface HasUnselectItemHandler extends HasHandlers { 30 | HandlerRegistration addRemoveItemHandler(UnselectItemEvent.UnselectComboHandler handler); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dragula/MaterialDragulaClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2016 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dragula; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface MaterialDragulaClientBundle extends ClientBundle { 27 | 28 | MaterialDragulaClientBundle INSTANCE = GWT.create(MaterialDragulaClientBundle.class); 29 | 30 | @Source("resources/js/dragula.js") 31 | TextResource dragulaJs(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/rating/MaterialRatingClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.rating; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | interface MaterialRatingClientBundle extends ClientBundle { 27 | 28 | MaterialRatingClientBundle INSTANCE = GWT.create(MaterialRatingClientBundle.class); 29 | 30 | @Source("resources/css/rating-dark.min.css") 31 | TextResource ratingDarkCss(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/banner/MaterialBannerDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.banner; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialBannerDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialBannerDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialBannerDebugClientBundle.INSTANCE.bannerDarkCss() : MaterialBannerClientBundle.INSTANCE.bannerDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/rating/MaterialRatingDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.rating; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialRatingDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialRatingDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialRatingDebugClientBundle.INSTANCE.ratingDarkCss() : MaterialRatingClientBundle.INSTANCE.ratingDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/tree/MaterialTreeDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.tree; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialTreeDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialTreeDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialTreeDebugClientBundle.INSTANCE.treeDarkCss() : 29 | MaterialTreeClientBundle.INSTANCE.treeDarkCss()); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/window/MaterialWindowDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.window; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialWindowDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialWindowDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialWindowDebugClientBundle.INSTANCE.windowDarkCss() : MaterialWindowClientBundle.INSTANCE.windowDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/daterange/js/LocaleString.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.daterange.js; 21 | 22 | import jsinterop.annotations.JsConstructor; 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsProperty; 25 | import jsinterop.annotations.JsType; 26 | 27 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 28 | public class LocaleString { 29 | 30 | @JsConstructor 31 | public LocaleString(String value) {} 32 | 33 | @JsProperty 34 | public String value; 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/keyboard/js/ButtonAttribute.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.keyboard.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class ButtonAttribute { 28 | 29 | @JsProperty 30 | public String attribute; 31 | 32 | @JsProperty 33 | public String value; 34 | 35 | @JsProperty 36 | public String buttons; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/storage/LocalStorageClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.storage; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LocalStorageClientBundle extends ClientBundle { 27 | 28 | LocalStorageClientBundle INSTANCE = GWT.create(LocalStorageClientBundle.class); 29 | 30 | @Source("resources/js/localforage.min.js") 31 | TextResource localForage(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/timer/TimerProgressDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.timer; 21 | 22 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 23 | import gwt.material.design.incubator.client.AddinsIncubator; 24 | 25 | public class TimerProgressDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public TimerProgressDarkTheme() { 28 | super(AddinsIncubator.isDebug() ? TimerProgressDebugClientBundle.INSTANCE.timerDarkCss() : TimerProgressClientBundle.INSTANCE.timerDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/addins/client/ui/base/AddinsWidgetTestCase.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.ui.base; 21 | 22 | import gwt.material.design.client.base.MaterialWidget; 23 | import gwt.material.design.client.ui.base.MaterialWidgetTestCase; 24 | import org.junit.Ignore; 25 | 26 | @Ignore 27 | public abstract class AddinsWidgetTestCase extends MaterialWidgetTestCase { 28 | 29 | @Override 30 | public String getModuleName() { 31 | return "gwt.material.design.addins.GwtMaterialAddins"; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/test/java/gwt/material/design/incubator/client/ui/base/MaterialWidgetTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.ui.base; 21 | 22 | import gwt.material.design.client.base.MaterialWidget; 23 | import gwt.material.design.client.ui.base.MaterialWidgetTestCase; 24 | import org.junit.Ignore; 25 | 26 | @Ignore 27 | public abstract class MaterialWidgetTest extends MaterialWidgetTestCase { 28 | 29 | @Override 30 | public String getModuleName() { 31 | return "gwt.material.design.incubator.AddinsIncubator"; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/bubble/MaterialBubbleDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.bubble; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialBubbleDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialBubbleDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialBubbleDebugClientBundle.INSTANCE.bubbleDarkDebugCss() : MaterialBubbleClientBundle.INSTANCE.bubbleDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/cropper/constants/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.cropper.constants; 21 | 22 | /** 23 | * The type of result to return defaults to 'canvas' 24 | * 25 | * @author kevzlou7979 26 | */ 27 | public enum Type { 28 | 29 | BASE64("base64"), 30 | HTML("html"), 31 | BLOB("blob"), 32 | ROW_CANVAS("rowcanvas"); 33 | 34 | private String name; 35 | 36 | Type(String name) { 37 | this.name = name; 38 | } 39 | 40 | public String getName() { 41 | return name; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/kanban/js/DataSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.kanban.js; 21 | 22 | import jsinterop.annotations.JsOverlay; 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsProperty; 25 | import jsinterop.annotations.JsType; 26 | 27 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 28 | public class DataSet { 29 | 30 | @JsProperty 31 | private String eid; 32 | 33 | @JsOverlay 34 | public final String getId() { 35 | return eid; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingdot/LoadingDotDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingdot; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LoadingDotDebugClientBundle extends ClientBundle { 27 | LoadingDotDebugClientBundle INSTANCE = GWT.create(LoadingDotDebugClientBundle.class); 28 | 29 | @Source("resources/css/three-dots.css") 30 | TextResource threeDots(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/masonry/events/HasMasonryHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.masonry.events; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | 24 | /** 25 | * Adds required events for Masonry Component 26 | * 27 | * @author kevzlou7979 28 | */ 29 | public interface HasMasonryHandler { 30 | 31 | HandlerRegistration addLayoutCompleteHandler(LayoutCompleteEvent.LayoutCompleteHandler handler); 32 | 33 | HandlerRegistration addRemoveCompleteHandler(RemoveCompleteEvent.RemoveCompleteHandler handler); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/overlay/MaterialOverlayDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.overlay; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialOverlayDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialOverlayDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialOverlayDebugClientBundle.INSTANCE.overlayDarkCss() : MaterialOverlayClientBundle.INSTANCE.overlayDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/rating/MaterialRatingDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.rating; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | interface MaterialRatingDebugClientBundle extends ClientBundle { 27 | 28 | MaterialRatingDebugClientBundle INSTANCE = GWT.create(MaterialRatingDebugClientBundle.class); 29 | 30 | @Source("resources/css/rating-dark.css") 31 | TextResource ratingDarkCss(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/base/IncubatorWidget.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.base; 21 | 22 | import com.google.gwt.user.client.ui.Widget; 23 | 24 | import java.util.logging.Logger; 25 | 26 | public class IncubatorWidget { 27 | 28 | public static void showWarning(Class object) { 29 | Logger logger = Logger.getLogger(IncubatorWidget.class.getSimpleName()); 30 | logger.warning("This [" + object.getSimpleName() + "] component is under the incubation process and subject to change."); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/question/RatingQuestionClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.question; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface RatingQuestionClientBundle extends ClientBundle { 27 | RatingQuestionClientBundle INSTANCE = GWT.create(RatingQuestionClientBundle.class); 28 | 29 | @Source("resources/css/question-item.min.css") 30 | TextResource questionItemCss(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/infinitescroll/InfiniteScrollLoadConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.infinitescroll; 21 | 22 | public class InfiniteScrollLoadConfig { 23 | 24 | private final int offset; 25 | private final int limit; 26 | 27 | public InfiniteScrollLoadConfig(int offset, int limit) { 28 | this.offset = offset; 29 | this.limit = limit; 30 | } 31 | 32 | public int getOffset() { 33 | return offset; 34 | } 35 | 36 | public int getLimit() { 37 | return limit; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/bubble/js/JsBubbleOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.bubble.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | /** 27 | * Options for bubble component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 32 | public class JsBubbleOptions { 33 | 34 | @JsProperty 35 | public String position; 36 | 37 | @JsProperty 38 | public String color; 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/carousel/events/CarouselEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2016 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.carousel.events; 21 | 22 | public interface CarouselEvents { 23 | 24 | String AFTER_CHANGE = "afterChange"; 25 | String BEFORE_CHANGE = "beforeChange"; 26 | String DESTROY = "destroy"; 27 | String EDGE = "edge"; 28 | String INIT = "init"; 29 | String RE_INIT = "reInit"; 30 | String SET_POSITION = "setPosition"; 31 | String SWIPE = "swipe"; 32 | String LAZY_LOADED = "lazyLoaded"; 33 | String LAZY_LOAD_ERROR = "lazyLoadError"; 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/combobox/MaterialComboBoxDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.combobox; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialComboBoxDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialComboBoxDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialComboBoxDebugClientBundle.INSTANCE.select2DarkDebugCss() : MaterialComboBoxClientBundle.INSTANCE.select2DarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/storage/LocalStorageClientDebugBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.storage; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LocalStorageClientDebugBundle extends ClientBundle { 27 | 28 | LocalStorageClientDebugBundle INSTANCE = GWT.create(LocalStorageClientDebugBundle.class); 29 | 30 | @Source("resources/js/localforage.js") 31 | TextResource localForageDebugJs(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/subheader/MaterialSubheaderDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.subheader; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialSubheaderDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialSubheaderDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialSubHeaderDebugClientBundle.INSTANCE.subheaderDarkCss() : MaterialSubHeaderClientBundle.INSTANCE.subheaderDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/inputmask/js/InputMaskError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.inputmask.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class InputMaskError { 28 | 29 | @JsProperty(name = "e") 30 | public String error; 31 | 32 | @JsProperty(name = "p") 33 | public String position; 34 | 35 | @JsProperty(name = "v") 36 | public String value; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingstate/LoadingStatePanelClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingstate; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LoadingStatePanelClientBundle extends ClientBundle { 27 | LoadingStatePanelClientBundle INSTANCE = GWT.create(LoadingStatePanelClientBundle.class); 28 | 29 | @Source("resources/css/loading-state.min.css") 30 | TextResource loadingStateCss(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/question/RatingQuestionDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.question; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface RatingQuestionDebugClientBundle extends ClientBundle { 27 | RatingQuestionDebugClientBundle INSTANCE = GWT.create(RatingQuestionDebugClientBundle.class); 28 | 29 | @Source("resources/css/question-item.css") 30 | TextResource questionItemDebugCss(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/tag/TagClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.tag; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface TagClientBundle extends ClientBundle { 27 | TagClientBundle INSTANCE = GWT.create(TagClientBundle.class); 28 | 29 | @Source("resources/css/tag.min.css") 30 | TextResource tagCss(); 31 | 32 | @Source("resources/css/tag-dark.min.css") 33 | TextResource tagDarkCss(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/richeditor/MaterialRichEditorDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.richeditor; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialRichEditorDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialRichEditorDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialRichEditorDebugClientBundle.INSTANCE.richEditorDarkCss() : MaterialRichEditorClientBundle.INSTANCE.richEditorDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/splitpanel/MaterialSplitPanelDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.splitpanel; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialSplitPanelDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialSplitPanelDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialSplitPanelDebugClientBundle.INSTANCE.splitPanelDarkCss() : MaterialSplitPanelClientBundle.INSTANCE.splitPanelDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/md5/Md5ClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.md5; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | /** 27 | * Client Bundle for Avatar component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | public interface Md5ClientBundle extends ClientBundle { 32 | 33 | Md5ClientBundle INSTANCE = GWT.create(Md5ClientBundle.class); 34 | 35 | @Source("resources/js/md5.min.js") 36 | TextResource md5Js(); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/progress/ProgressLineBarDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.progress; 21 | 22 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 23 | import gwt.material.design.incubator.client.AddinsIncubator; 24 | 25 | public class ProgressLineBarDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public ProgressLineBarDarkTheme() { 28 | super(AddinsIncubator.isDebug() ? ProgressLineBarDebugClientBundle.INSTANCE.progressLineBarDarkCss() : ProgressLineBarClientBundle.INSTANCE.progressLineBarDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/fileuploader/MaterialFileUploaderDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.fileuploader; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialFileUploaderDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialFileUploaderDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialFileUploaderDebugClientBundle.INSTANCE.dropzoneDarkCss() : MaterialFileUploaderClientBundle.INSTANCE.dropzoneDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/addresslookup/AddressLookupDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.addresslookup; 21 | 22 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 23 | import gwt.material.design.incubator.client.AddinsIncubator; 24 | 25 | public class AddressLookupDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public AddressLookupDarkTheme() { 28 | super(AddinsIncubator.isDebug() ? AddressLookupDebugClientBundle.INSTANCE.addressLookupDarkCss() : AddressLookupClientBundle.INSTANCE.addressLookupDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingstate/LoadingStatePanelDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingstate; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface LoadingStatePanelDebugClientBundle extends ClientBundle { 27 | LoadingStatePanelDebugClientBundle INSTANCE = GWT.create(LoadingStatePanelDebugClientBundle.class); 28 | 29 | @Source("resources/css/loading-state.css") 30 | TextResource loadingStateDebugCss(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/loadingstate/events/HasLoadingStateHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.loadingstate.events; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import com.google.gwt.event.shared.HasHandlers; 24 | 25 | public interface HasLoadingStateHandler extends HasHandlers { 26 | 27 | HandlerRegistration addLoadingHandler(LoadingEvent.LoadingHandler handler); 28 | 29 | HandlerRegistration addSuccessHandler(SuccessEvent.SuccessHandler handler); 30 | 31 | HandlerRegistration addErrorHandler(ErrorEvent.ErrorHandler handler); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/tag/TagDebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.tag; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface TagDebugClientBundle extends ClientBundle { 27 | TagDebugClientBundle INSTANCE = GWT.create(TagDebugClientBundle.class); 28 | 29 | @Source("resources/css/tag.css") 30 | TextResource tagDebugCss(); 31 | 32 | @Source("resources/css/tag-dark.css") 33 | TextResource tagDarkCss(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/autocomplete/MaterialAutoCompleteDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.autocomplete; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialAutoCompleteDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialAutoCompleteDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialAutocompleteDebugClientBundle.INSTANCE.autocompleteDarkCss() : MaterialAutocompleteClientBundle.INSTANCE.autocompleteDarkCss()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/js/Edge.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | /** 27 | * @author Mark Kevin 28 | */ 29 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 30 | public class Edge { 31 | 32 | @JsProperty 33 | public Object top; 34 | 35 | @JsProperty 36 | public Object left; 37 | 38 | @JsProperty 39 | public Object bottom; 40 | 41 | @JsProperty 42 | public Object right; 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/md5/Md5DebugClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.md5; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | /** 27 | * Client Bundle for Avatar component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | public interface Md5DebugClientBundle extends ClientBundle { 32 | 33 | Md5DebugClientBundle INSTANCE = GWT.create(Md5DebugClientBundle.class); 34 | 35 | @Source("resources/js/md5.js") 36 | TextResource md5DebugJs(); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/recaptcha3/api/RecaptchaApi3.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.recaptcha3.api; 21 | 22 | import gwt.material.design.client.api.google.maps.GoogleApi; 23 | 24 | public class RecaptchaApi3 extends GoogleApi { 25 | 26 | public RecaptchaApi3(String apiKey) { 27 | super(apiKey); 28 | } 29 | 30 | public String constructApiUrl() { 31 | return getApiUrl() + getApiKey(); 32 | } 33 | 34 | @Override 35 | public String getApiUrl() { 36 | return "https://www.google.com/recaptcha/api.js?render="; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/event/InteractDragEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd.event; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class InteractDragEvent extends InteractCommonEvent { 28 | 29 | public InteractDragEvent(String type) { 30 | super(type); 31 | } 32 | 33 | @JsProperty 34 | public Object dragEnter; 35 | 36 | @JsProperty 37 | public Object dragLeave; 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/timepicker/MaterialTimePickerDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.timepicker; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 24 | 25 | public class MaterialTimePickerDarkTheme extends AddinsWidgetDarkTheme { 26 | 27 | public MaterialTimePickerDarkTheme() { 28 | super(MaterialAddins.isDebug() ? MaterialTimePickerDebugClientBundle.INSTANCE.timepickerDarkCssDebug() : 29 | MaterialTimePickerClientBundle.INSTANCE.timepickerDarkCss()); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/geocoder/js/Geocoder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.geocoder.js; 21 | 22 | import gwt.material.design.incubator.client.google.addresslookup.js.options.PlaceResult; 23 | import gwt.material.design.jquery.client.api.Functions; 24 | import jsinterop.annotations.JsMethod; 25 | import jsinterop.annotations.JsType; 26 | 27 | @JsType(isNative = true, namespace = "google.maps", name = "Geocoder") 28 | public class Geocoder { 29 | 30 | @JsMethod 31 | public native void geocode(GeocoderOption option, Functions.Func2 result); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/carousel/js/JsResponsiveOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2016 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.carousel.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | /** 27 | * Responsive Options for Carousel component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 32 | public class JsResponsiveOptions { 33 | 34 | 35 | @JsProperty 36 | public int breakpoint; 37 | 38 | @JsProperty 39 | public JsCarouselOptions settings; 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/dnd/MaterialDndClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.dnd; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | /** 27 | * Client Bundle for Dnd component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | public interface MaterialDndClientBundle extends ClientBundle { 32 | 33 | MaterialDndClientBundle INSTANCE = GWT.create(MaterialDndClientBundle.class); 34 | 35 | @Source("resources/js/interact.min.js") 36 | TextResource dndJs(); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/note/MaterialNoteClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2016 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.note; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | /** 27 | * Client Bundle for Note component 28 | * 29 | * @author kevzlou7979 30 | */ 31 | interface MaterialNoteClientBundle extends ClientBundle { 32 | 33 | MaterialNoteClientBundle INSTANCE = GWT.create(MaterialNoteClientBundle.class); 34 | 35 | @Source("resources/css/note.min.css") 36 | TextResource noteCss(); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/addins/client/stepper/MaterialStepperDarkTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.addins.client.stepper; 21 | 22 | import com.google.gwt.resources.client.TextResource; 23 | import gwt.material.design.addins.client.MaterialAddins; 24 | import gwt.material.design.addins.client.dark.AddinsWidgetDarkTheme; 25 | 26 | public class MaterialStepperDarkTheme extends AddinsWidgetDarkTheme { 27 | 28 | public MaterialStepperDarkTheme() { 29 | super(MaterialAddins.isDebug() ? MaterialStepperDebugClientBundle.INSTANCE.stepperDarkCss() : MaterialStepperClientBundle.INSTANCE.stepperDarkCss()); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/AddinsIncubator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client; 21 | 22 | import gwt.material.design.addins.client.MaterialAddins; 23 | 24 | import java.util.logging.Logger; 25 | 26 | public class AddinsIncubator extends MaterialAddins { 27 | 28 | private static Logger logger = Logger.getLogger(AddinsIncubator.class.getSimpleName()); 29 | 30 | @Override 31 | public void onModuleLoad() { 32 | super.onModuleLoad(); 33 | 34 | logger.warning("Incubator Addin widgets are in beta development but currently available for production purposes."); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/alert/AlertClientBundle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.alert; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | /** 27 | * Client Bundle resources for Alert component
28 | * 29 | * @author kevzlou7979 30 | */ 31 | public interface AlertClientBundle extends ClientBundle { 32 | AlertClientBundle INSTANCE = GWT.create(AlertClientBundle.class); 33 | 34 | @Source("resources/css/alert.min.css") 35 | TextResource alertCss(); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/resources/gwt/material/design/incubator/AddinsIncubator.gwt.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/main/java/gwt/material/design/incubator/client/google/recaptcha/constants/RecaptchaType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.incubator.client.google.recaptcha.constants; 21 | 22 | /** 23 | * Types for ReCaptcha component 24 | * 25 | * @author kevzlou7979 26 | */ 27 | public enum RecaptchaType { 28 | 29 | IMAGE("image"), 30 | AUDIO("audio"); 31 | 32 | private String type; 33 | 34 | RecaptchaType(String type) { 35 | this.type = type; 36 | } 37 | 38 | public String getType() { 39 | return type; 40 | } 41 | 42 | public void setType(String type) { 43 | this.type = type; 44 | } 45 | } 46 | --------------------------------------------------------------------------------