vue-material/dist/components/mdButtonToggle/index.js
Marcos Moura 627639b9dc 0.4.0
* Improve sidenav performance and expansion list performance

* Init dialog

* Add initial transition

* Add backdrop to md-menu

* Create dialog opening from and closing to

* Add example os basic and opening from and to

* Add todo

* Create alias for root element

* Fix dialog position

* Improve transitions

* Fix rules

* Fix dialog position on open

* Improve docs transitions

* Create styles for actions and content

* Create confirm dialog preset

* Create alert dialog preset

* Create prompt dialog preset

* Add example with HTML

* Improve close transition

* Create new documentation template for components

* Improve template for mobile

* Improve toolbar behaviour

* Format code-block and apply clipboard.js

* Move clipboard to devDependencies

* Show toast after copy

* Add function to toggle sidenav and add page title

* create avatar documentation with the new template

* Improve themes and codes

* Remove hover

* fix copied toast position

* add classes tab

* create bottom-bar documentation with the new template

* improve bottom bar docs

* create button documentation with the new template

* create button toggle documentation with the new template

* Fix backdrop styles

* Fix image color names

* create card documentation with the new template

* Update debug-lib.js (#106)

Fixes webpack missing module error when loading scss

* create checkboxes documentation with the new template

* Add more alignment options (#109)

* Create offset options
  - md-offset-y and md-offset-x

* Add option to align the menu to the trigger

* Create better examples

* fix bottom-right position

* create dialog documentation with the new template

* create icon documentation with the new template

* fix typo

* create input documentation with the new template

* create tooltip documentation with the new template

* create whiteframe documentation with the new template

* Fix unregisterMouseEvent not accepting the element as parameter (#118)

* create radio documentation with the new template

* create ripple documentation with the new template

* create switch documentation with the new template

* create subheader documentation with the new template

* fix text

* improvements over menu

* create menu documentation with the new template

* create sidenav documentation with the new template

* create toolbar documentation with the new template

* improve visibility of some code-blocks

* create select documentation with the new template

* create typography documentation with the new template

* create changelog page with the new template

* create about page with the new template

* create error page with the new template

* create introduction page with the new template

* create getting started page with the new template

* create getting started page with the new template

* add codepen examples

* create list documentation with the new template

* improve docs

* add old releases in a folder

* optimize build time

* remove unused code and rename components

* generate old versions

* redirect to old documentation versions

* [build] 0.4.0

* [build] 0.4.0

* restore dist

* get current version from url

* [build] 0.4.0

* restore old docs

* add correct branch to release script

* create table documentation with the new template

* add a better explanation of list classes

* improve docs

* create table documentation with the new template

* add code example for tabs

* remove directive example of ripple

* fix code example of typograph items

* general fixes and code cleanup

* create themes documentation

* start the creation of button "edit on codepen"

* group theme text and fix height of codepen example

* start creation of tabs

* recreate tabs

* fix shadow transition inside menus (#141 #129)

* add href support for mdBottomBar (#142 #121)

* fix table row not watching item #116 #113 (#143)

* Improvement/md tooltip (#144)

* fix stucked tooltips #103

* remove example

* update website url

* update libs

* fix vue version reference

* [build] 0.4.0
2016-12-05 01:57:58 -02:00

1 line
No EOL
4.1 KiB
JavaScript

!function(t,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.VueMaterial=o():t.VueMaterial=o()}(this,function(){return function(t){function o(d){if(e[d])return e[d].exports;var n=e[d]={exports:{},id:d,loaded:!1};return t[d].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}var e={};return o.m=t,o.c=e,o.p="/",o(0)}({0:function(t,o,e){t.exports=e(10)},10:function(t,o,e){"use strict";function d(t){return t&&t.__esModule?t:{default:t}}function n(t){t.component("md-button-toggle",t.extend(l.default)),t.material.styles.push(m.default)}Object.defineProperty(o,"__esModule",{value:!0}),o.default=n;var g=e(130),l=d(g),r=e(107),m=d(r);t.exports=o.default},40:function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=void 0;o.default={props:{mdSingle:Boolean},mounted:function(){var t=this;this.$children.forEach(function(o){var d=o.$el,n="md-toggle";e=function(){t.mdSingle?(t.$children.forEach(function(t){t.$el.classList.remove(n)}),d.classList.add(n)):d.classList.toggle(n)},d&&d.classList.contains("md-button")&&d.addEventListener("click",e)})},beforeDestroy:function(){this.$children.forEach(function(t){var o=t.$el;o&&o.classList.contains("md-button")&&o.removeEventListener("click",e)})}},t.exports=o.default},83:function(t,o){},107:function(t,o){t.exports='.THEME_NAME .md-button-toggle .md-button:after,.THEME_NAME.md-button-toggle .md-button:after{width:1px;position:absolute;top:0;bottom:0;left:0;content:" "}.THEME_NAME .md-button-toggle .md-toggle,.THEME_NAME.md-button-toggle .md-toggle{color:BACKGROUND-CONTRAST-600;background-color:BACKGROUND-COLOR-500}.THEME_NAME .md-button-toggle .md-toggle:hover:not([disabled]),.THEME_NAME.md-button-toggle .md-toggle:hover:not([disabled]){background-color:BACKGROUND-COLOR-600}.THEME_NAME .md-button-toggle .md-toggle+.md-toggle:after,.THEME_NAME.md-button-toggle .md-toggle+.md-toggle:after{background-color:BACKGROUND-COLOR-600}.THEME_NAME .md-button-toggle.md-primary .md-toggle,.THEME_NAME.md-button-toggle.md-primary .md-toggle{color:PRIMARY-CONTRAST;background-color:PRIMARY-COLOR}.THEME_NAME .md-button-toggle.md-primary .md-toggle:hover:not([disabled]),.THEME_NAME.md-button-toggle.md-primary .md-toggle:hover:not([disabled]){background-color:PRIMARY-COLOR-600}.THEME_NAME .md-button-toggle.md-primary .md-toggle+.md-toggle:after,.THEME_NAME.md-button-toggle.md-primary .md-toggle+.md-toggle:after{background-color:PRIMARY-COLOR-700}.THEME_NAME .md-button-toggle.md-accent .md-toggle,.THEME_NAME.md-button-toggle.md-accent .md-toggle{color:ACCENT-CONTRAST;background-color:ACCENT-COLOR}.THEME_NAME .md-button-toggle.md-accent .md-toggle:hover:not([disabled]),.THEME_NAME.md-button-toggle.md-accent .md-toggle:hover:not([disabled]){background-color:ACCENT-COLOR-600}.THEME_NAME .md-button-toggle.md-accent .md-toggle+.md-toggle:after,.THEME_NAME.md-button-toggle.md-accent .md-toggle+.md-toggle:after{background-color:ACCENT-COLOR-700}.THEME_NAME .md-button-toggle.md-warn .md-toggle,.THEME_NAME.md-button-toggle.md-warn .md-toggle{color:WARN-CONTRAST;background-color:WARN-COLOR}.THEME_NAME .md-button-toggle.md-warn .md-toggle:hover:not([disabled]),.THEME_NAME.md-button-toggle.md-warn .md-toggle:hover:not([disabled]){background-color:WARN-COLOR-600}.THEME_NAME .md-button-toggle.md-warn .md-toggle+.md-toggle:after,.THEME_NAME.md-button-toggle.md-warn .md-toggle+.md-toggle:after{background-color:WARN-COLOR-700}.THEME_NAME .md-button-toggle [disabled],.THEME_NAME.md-button-toggle [disabled]{color:rgba(0,0,0,0.26)}.THEME_NAME .md-button-toggle [disabled].md-toggle,.THEME_NAME.md-button-toggle [disabled].md-toggle{color:BACKGROUND-CONTRAST-0.2;background-color:rgba(0,0,0,0.26)}\n'},130:function(t,o,e){var d,n;e(83),d=e(40);var g=e(186);n=d=d||{},"object"!=typeof d.default&&"function"!=typeof d.default||(n=d=d.default),"function"==typeof n&&(n=n.options),n.render=g.render,n.staticRenderFns=g.staticRenderFns,t.exports=d},186:function(t,o){t.exports={render:function(){var t=this,o=t.$createElement;return o("div",{staticClass:"md-button-group md-button-toggle"},[t._t("default")])},staticRenderFns:[]}}})});