Compare commits

..

1148 commits

Author SHA1 Message Date
Pablo Henrique Penha Silva
a00cdd1146 [release] 0.7.4 2017-06-23 09:35:15 -03:00
Pablo Henrique Penha Silva
c288ce96d0 [build] 0.7.4 2017-06-23 09:35:14 -03:00
Pablo Henrique
f7a58ababb Merge pull request #858 from vuematerial/develop
Develop
2017-06-23 09:32:14 -03:00
Pablo Henrique Penha Silva
e845b16a96 versions 2017-06-23 09:31:12 -03:00
Pablo Henrique
0d3401c122 Merge pull request #856 from vuematerial/menu-fix
Menu fix
2017-06-23 09:26:49 -03:00
Pablo Henrique Penha Silva
6a885a8c88 small fixes 2017-06-23 09:26:25 -03:00
Pablo Henrique Penha Silva
133259ccb0 fix versions 2017-06-23 09:02:36 -03:00
Pablo Henrique Penha Silva
ed5c91e64b possible menu fix 2017-06-23 08:54:18 -03:00
Pablo Henrique
ae0c34a59d Merge pull request #853 from valdaph/issue-851
Fix #851
2017-06-23 08:45:44 -03:00
Pablo Henrique
3a9f793633 Merge pull request #854 from lucasfernog/develop
Small fixes on mdChips, mdTablePagination (issue #830) and mdInputContainer buttons
2017-06-23 08:45:25 -03:00
Lucas Fernandes
567440a584 avoiding mutating prop mdPageOptions (fix #830) 2017-06-22 17:23:36 -03:00
Lucas Fernandes
50e4bbf5dc debounce = 0 on mdchip input 2017-06-22 17:01:19 -03:00
Lucas Fernandes
efd3758af6 tabindex = -1 on input container buttons 2017-06-22 17:01:04 -03:00
John Ryan Camatog
b8f1f2ec07 Fix #851 2017-06-23 00:48:14 +08:00
Pablo Henrique Penha Silva
5cadb29935 [release] 0.7.3 2017-06-22 08:00:37 -03:00
Pablo Henrique Penha Silva
4497bbd0dd [build] 0.7.3 2017-06-22 08:00:36 -03:00
Pablo Henrique Penha Silva
3f738bc4e1 [build] 0.7.2.1 2017-06-22 07:58:45 -03:00
Pablo Henrique
32233d2476 Merge pull request #850 from vuematerial/develop
Develop
2017-06-22 07:56:35 -03:00
Pablo Henrique
909c879738 Merge pull request #847 from valdaph/develop-enhancements
Small enhancements
2017-06-22 07:50:10 -03:00
John Ryan Camatog
8a031036fe Small enhancements
- Fix lingering white border on `md-input-container` buttons (`md-has-password`/`md-clearable`)
- Fix `md-table` sort type not defaulting to 'asc' when `md-sort` prop is set
- Add `md-iconset` support to md-tab (fixes #704)
2017-06-22 03:13:20 +08:00
Pablo Henrique
5968ae4130 Merge pull request #837 from guijavax/stepperfix
fixed stepper icon
2017-06-21 13:44:11 -03:00
guijavax
13d9d41c53 Update mdStepper.scss 2017-06-21 13:43:11 -03:00
Pablo Henrique
b5c210705c Merge pull request #781 from Morgul/morgul-event-audit
Remove the need for `.native`
2017-06-21 13:42:39 -03:00
Pablo Henrique
d0ac7f3faa Merge pull request #839 from Bolandish/name-attribute
Name attribute
2017-06-21 13:39:26 -03:00
Pablo Henrique
874e5d2c1d Merge pull request #846 from valdaph/develop-fixes
Small fixes
2017-06-21 13:38:19 -03:00
Pablo Henrique
0b746e5b06 Merge pull request #844 from guijavax/change-cardexpand
Fixed issue #803
2017-06-21 13:37:58 -03:00
John Ryan Camatog
578c4aa7a0 Small fixes
- Fix md-icon-button not white on md-card-media-cover
- Allow custom md-ratio
- Fix cursor being a pointer when md-checkbox/md-radio is disabled
- Allow md-radio to be toggled even if id/name is not set
- Fix select all checkbox not updating when all md-table-row's are selected
2017-06-22 00:10:25 +08:00
Márcio Jamal Resende
2d6b96a917 fixing issue #803 2017-06-21 12:11:49 -03:00
Christopher S. Case
f2c5873cd9 updated documentation. 2017-06-20 16:54:42 -05:00
Christopher S. Case
7daa66daa7 re-added passthrough bindings for 'click' events. 2017-06-20 16:38:29 -05:00
Márcio Jamal Resende
4fd436c3b3 fixed stepper icon 2017-06-20 13:51:37 -03:00
Pablo Henrique
aec7f58a55 Merge pull request #835 from guijavax/onboarding
update layout functionality onBoard
2017-06-20 13:26:52 -03:00
Márcio Jamal Resende
912593b851 funcionalidade excluir equipamento 2017-06-20 13:19:17 -03:00
Pablo Henrique Penha Silva
7e863d3a8e fix sidenav 2017-06-20 09:00:30 -03:00
Thomas Bolander
d170fcd780 Update 2017-06-20 10:58:32 +02:00
Thomas Bolander
c2584e02f8 Revert "Name added to input"
This reverts commit 4a95641e46.
2017-06-20 10:57:29 +02:00
Thomas Bolander
ee8ec4b229 Revert "Added name attribute"
This reverts commit 6fb97768c1.
2017-06-20 10:53:59 +02:00
Thomas Bolander
6fb97768c1 Added name attribute 2017-06-20 10:46:21 +02:00
Thomas Bolander
4a95641e46 Name added to input 2017-06-20 10:35:18 +02:00
Pablo Henrique Penha Silva
2a594d3f94 [release] 0.7.2 2017-06-19 15:18:37 -03:00
Pablo Henrique Penha Silva
e8ccb44a13 [build] 0.7.2 2017-06-19 15:18:35 -03:00
Pablo Henrique Penha Silva
1a0e09e520 [release] 0.7.2 2017-06-19 15:05:06 -03:00
Pablo Henrique Penha Silva
e7a27c306b [build] 0.7.2 2017-06-19 15:05:05 -03:00
Pablo Henrique Penha Silva
c7a4f6e459 [release] 0.7.2 2017-06-19 13:27:47 -03:00
Pablo Henrique Penha Silva
65c362aad7 [build] 0.7.2 2017-06-19 13:27:45 -03:00
Pablo Henrique Penha Silva
3e19cdb53c reset 2017-06-19 13:25:45 -03:00
Pablo Henrique Penha Silva
9d46fc82c7 reset 2017-06-19 13:20:10 -03:00
Pablo Henrique Penha Silva
491b879a27 revert 2017-06-19 13:09:57 -03:00
Pablo Henrique Penha Silva
55387a7dbd revert 2017-06-19 13:09:01 -03:00
Pablo Henrique Penha Silva
1e0178ceb3 Revert "fix mdsidenav"
This reverts commit 9abe1f242f.
2017-06-19 13:08:18 -03:00
Pablo Henrique Penha Silva
558f3a4dd0 removed build css 2017-06-19 13:00:19 -03:00
Pablo Henrique Penha Silva
31a557da2d removing random files 2017-06-19 12:58:18 -03:00
Pablo Henrique Penha Silva
b992c27a3b restoring 2017-06-19 12:57:10 -03:00
Pablo Henrique Penha Silva
4b7a91bf8e [build] 0.7.2 2017-06-19 12:34:41 -03:00
pablohpsilva
9abe1f242f fix mdsidenav 2017-06-15 16:44:23 -03:00
pablohpsilva
5cf872ce05 removing testing code 2017-06-11 10:51:31 -03:00
pablohpsilva
b94cce9792 promise error on ie11 2017-06-11 10:10:11 -03:00
Pablo Henrique
5a53603855 Merge pull request #791 from vuematerial/ie11-polyfill
Added babel-polyfill into project
2017-06-11 10:02:49 -03:00
pablohpsilva
9778d00192 file documentation 2017-06-11 09:32:03 -03:00
pablohpsilva
4cfd46b6b9 enhanced mdFile 2017-06-11 09:27:57 -03:00
pablohpsilva
5e7454df6a mdRating 2017-06-11 08:29:05 -03:00
Pablo Henrique
7183b253d5 Merge pull request #797 from pedro-meza/bugfix/dynamic-mdTabs
Bugfix/dynamic md tabs
2017-06-03 09:48:29 -03:00
Pedro Meza
1fbca6d702 removed duplicate function 2017-06-01 10:52:16 -06:00
Pedro Meza
fe7c856eef fixed bug causing error when mdTabs are registered from dynamic data #580 2017-06-01 10:03:00 -06:00
Pablo Henrique
51289ab13e Merge pull request #787 from vuematerial/table-fix
mdTable - General bug fixes
2017-05-31 20:01:36 -03:00
pablohpsilva
c64122d16f upgrading to vue 2.3 and fixing some issues 2017-05-31 20:01:10 -03:00
Pablo Henrique Penha Silva
768a5594c8 Added babel-polyfill into project 2017-05-30 12:55:09 -03:00
Pablo Henrique Penha Silva
d5d7083b9a merging master on develop branch 2017-05-29 13:41:06 -03:00
Pablo Henrique Penha Silva
9ac8e219b1 Merge branch 'master' of github.com:vuematerial/vue-material 2017-05-29 13:39:40 -03:00
Pablo Henrique
434d8397d9 Merge pull request #650 from sombriks/patch-1
Update Icon.vue documentation page
2017-05-29 13:39:14 -03:00
Pablo Henrique Penha Silva
49228162dd fixing conflict with master 2017-05-29 13:38:21 -03:00
Pablo Henrique Penha Silva
c480fc948a Merge branch 'master' of github.com:vuematerial/vue-material 2017-05-29 13:36:45 -03:00
Pablo Henrique
b8cc4ac368 Merge pull request #746 from pml984/select-icon
Add ability to use icon for select component.
2017-05-29 13:36:32 -03:00
Pablo Henrique Penha Silva
c9dc9be5ba Merge branch 'master' into develop 2017-05-29 13:33:12 -03:00
Pablo Henrique Penha Silva
b1fdc6f5d7 mdautocomplete 2017-05-29 13:32:53 -03:00
Pablo Henrique Penha Silva
6c69bfdad0 docs mdtable 2017-05-29 13:31:03 -03:00
Pablo Henrique
b8b54ccfc2 Merge pull request #783 from d3radicated/develop-mdTabs
md-tabs fixes
2017-05-29 13:30:41 -03:00
Pablo Henrique
96142cd0f7 Merge pull request #614 from LaercioSantana/md-rating-bar
Components > md-rating-bar
2017-05-29 13:26:07 -03:00
Pablo Henrique Penha Silva
2dc303ae56 aligning icons in table and content in general 2017-05-29 10:46:35 -03:00
pablohpsilva
d49b4530d2 centering icons 2017-05-28 21:49:55 -03:00
pablohpsilva
4e22b4b4d0 fixing selected issues and counter 2017-05-28 21:09:14 -03:00
Laercio Santana
bbda58ba64 [rating-bar] adds hover event 2017-05-28 15:54:28 -03:00
Laercio Santana
3a0b90ae22 [rating-bar] improves explanation about the md-size-icon 2017-05-28 15:45:31 -03:00
Laercio Santana
60148ddbcb [rating-bar] change v-model range to [0, md-max-rating] 2017-05-28 15:32:04 -03:00
John Ryan Camatog
06119c93e6 md-tabs fixes
- Fix tab headers not properly flexed in md-fixed
- Fix tab headers not centered in md-centered
2017-05-27 00:24:28 +08:00
Pablo Henrique
f09b7eab13 Merge pull request #703 from Morgul/performance-improvements
WIP: Performance Improvements
2017-05-25 13:02:20 -03:00
Pablo Henrique
f7726b6f37 Merge pull request #775 from d3radicated/develop-mdDialog
Fix #774
2017-05-25 08:50:17 -03:00
Pablo Henrique
6102f00737 Merge pull request #778 from d3radicated/develop-fixes
Bunch of fixes
2017-05-25 08:45:53 -03:00
Pablo Henrique
fc7ddc397d Merge pull request #773 from d3radicated/develop-mdTheme
Fix default theme not applying
2017-05-25 08:42:59 -03:00
Pablo Henrique
16494c24be Merge pull request #776 from JeffBorges/tab_index_switch
Add tabindex -1 to the input inside the switch
2017-05-25 08:41:54 -03:00
John Ryan Camatog
fcc0b120bb Bunch of fixes
- Allow md-checkbox to be toggled by clicking the label
- Add capability to edit chips in md-chips
- Fix error in md-select when not used with md-multiple
2017-05-25 17:06:28 +08:00
John Ryan Camatog
e504b7bce1 Fix #774 2017-05-25 04:22:11 +08:00
John Ryan Camatog
da0e90a77e Fix default theme not applying 2017-05-25 04:00:39 +08:00
Jefferson Borges
a507c175e4 Add tabindex -1 to the input inside the switch 2017-05-24 14:55:18 -03:00
Patrick
75b0079fd5 Add ability to use icon for select. Also provide a new md-menu-options prop to pass options to menu within select. 2017-05-23 18:33:48 +00:00
Pablo Henrique
9970988656 Merge pull request #717 from vin-e/develop
Stepper component implementation
2017-05-22 00:42:08 -03:00
Vincent Chavez
71afc016fb Merge branch 'develop' into develop 2017-05-21 20:36:08 -07:00
pablohpsilva
fe8161d96e removed comma 2017-05-21 20:24:37 -03:00
pablohpsilva
6297347a0c Merge branch 'master' into develop 2017-05-21 20:24:07 -03:00
Pablo Henrique
c36b1834b2 Merge pull request #644 from pablohpsilva/autocomplete
md-autocomplete component
2017-05-21 20:09:50 -03:00
Pablo Henrique
a9e2fc5826 Merge pull request #733 from praneetloke/develop
Fix for #529. Updated docs with an example of disabled items in the Select component.
2017-05-21 20:03:46 -03:00
Pablo Henrique
cb92ac6ad8 Merge pull request #549 from fergardi/components/mdOnboarding
Added Onboarding component
2017-05-21 19:25:20 -03:00
pablohpsilva
8b35fb3eab merge with master 2017-05-21 18:39:18 -03:00
pablohpsilva
8cd18b8906 removed unused code 2017-05-21 18:32:18 -03:00
Pablo Henrique
1450ea7f86 Merge pull request #747 from vuematerial/issue-744
Issue 744 - Added readonly attr on mdInput and mdTextarea
2017-05-21 18:31:11 -03:00
Pablo Henrique
0aa9df0215 Merge pull request #749 from vuematerial/issue#742
fix on issue #742 - v-model reflects changes on mdSelect
2017-05-21 18:30:54 -03:00
Pablo Henrique
0734305b3d Merge pull request #750 from vuematerial/issue#486
List.vue enhanced with examples
2017-05-21 18:30:29 -03:00
Pablo Henrique
13d3ca65fb Merge pull request #754 from vuematerial/issue#624
fix on issue #624 - Checkbox shrink if text is too long
2017-05-21 18:30:17 -03:00
pablohpsilva
db2b986d7f fixing develop branch 2017-05-21 18:22:08 -03:00
Pablo Henrique
588f5f06f0 Merge pull request #578 from romangit/develop
md-error possibility and remove required chip-template within md-chips
2017-05-21 17:58:55 -03:00
Pablo Henrique
7823c377ee Merge pull request #450 from igor-ribeiro/tabs-navigation-arrows
Tabs navigation arrows
2017-05-21 17:49:06 -03:00
Vincent Chavez
4c89a683ee Merge branch 'develop' into develop 2017-05-19 09:43:14 -07:00
Vincent Chavez
a62ca9c132 Other merge conflicts 2017-05-19 09:41:59 -07:00
Vincent Chavez
0ebc93768f update merge conflict 2017-05-19 09:39:32 -07:00
Vincent Chavez
5d61c76051 Merge branch 'master' of git://github.com/vuematerial/vue-material into develop 2017-05-18 14:53:34 -07:00
Laercio Santana
676537a24f [rating-bar] changes in variables names to improvement api interface 2017-05-15 17:29:14 -03:00
pablohpsilva
9ce99d2215 fix on issue #624 2017-05-14 18:38:24 -03:00
pablohpsilva
c6b687d642 better docs 2017-05-14 18:21:11 -03:00
pablohpsilva
034f845c11 enhancing the documentation and adding mdOption value prop to accept object 2017-05-14 18:11:34 -03:00
pablohpsilva
b14b368cf7 List.vue enhanced with examples 2017-05-14 13:22:54 -03:00
pablohpsilva
488769c943 fix on issue #742. 2017-05-14 11:47:00 -03:00
pablohpsilva
25f2e2810b adding new readonly on docs 2017-05-14 10:58:53 -03:00
pablohpsilva
f7a99b9c29 fixing Input docs 2017-05-14 10:56:37 -03:00
pablohpsilva
9d70ec8cea added readonly to mdtextarea 2017-05-14 10:47:59 -03:00
pablohpsilva
c8a6445768 quick fix. Added readonly property to common on mdInput 2017-05-14 10:47:26 -03:00
Praneet Loke
ceeb1c37c2 Change subTotal to a computed property. 2017-05-07 17:40:25 -07:00
Praneet Loke
6148343d9c Fix bug #529. Don't allow disabled options to be selectable. 2017-05-07 17:39:45 -07:00
Kevin Pilard
571635c21d mdSwitch can be used without v-model (#607) (#622) 2017-05-07 19:50:18 -03:00
Kevin Pilard
fba6cf5039 md-slect: key navigation ignores mdSubheader onEnter (#592) (#623) 2017-05-07 19:50:00 -03:00
d3radicated
e084bdc9ee Fix subtotal not updating (#625) 2017-05-07 19:49:43 -03:00
d3radicated
f8868e6492 Fix undefined variable in md-radio SCSS (#635) 2017-05-07 19:47:09 -03:00
Matthew Pietz
a6678ab620 Refactor Theme Engine (#646)
- Optimize parseStyle method to run a single RegExp replace
- Abstract DOM manipulation to check for VUE_ENV first
- Add theme name to <md-theme> element when it would render its own tag
- Recompute styles when a new set of selectors is added (via styles.push)
- Use computed property to find closest themed ancestor for mixin
- Only grab md-name attribute from an md-theme component (<md-table-edit>
  uses the md-name attribute for <input> tags)
2017-05-07 19:46:49 -03:00
supersun
369f3f0e39 fixed when npm install extract-text-webpack-plugin@beta not found error ( #665 ) (#666)
* Update package.json

* Update mdSpinner.vue
2017-05-07 19:45:43 -03:00
Rafael Wizzzet Kamashev
68142d732a some required scss imports added (#670)
* some required scss imports added

* mdRadio scss imports added
2017-05-07 19:42:04 -03:00
Pablo Henrique
4bcb6870ce Issue#544 (#674)
* chips autocomplete

* criando autocomplete

* base solida

* fixing issue #544

* removing old files

* reduced debounce time
2017-05-07 19:41:21 -03:00
Andrew LeTourneau
ebf55c18ab Fixes #629 Unable to set disabled property of md-bottom-bar-item (#689) 2017-05-07 19:40:08 -03:00
Paul Schmidt
ed4c9c5cba Dont overwrite currentSize of mdTablePagination (#692)
* Dont overwrite currentSize of mdTablePagination with
the first value from mdPageOptions.

Check the value currentSize if it is in the array of options and set it, otherwise just take the (default) first option.

* map props default value to local data property

* allow passing the prop as a string value

by parsing it as an int
2017-05-07 19:39:38 -03:00
Samuell
8042caef99 Fix radio button null value (#693)
* Fix if value for radio button is null

* Update mdRadio.vue
2017-05-07 19:39:21 -03:00
takikoo
cf938ab635 DOCS: Added missing argument in code example (#702)
Tried one of the code examples and noticed that Vue gave the following warning:

[Vue warn]: Missing required prop: "value" 
(found in <MdDialogPrompt>)

Added missing argument in code example.
2017-05-07 19:38:03 -03:00
Samuell
208a423226 Allow object for option in select (#708) 2017-05-07 19:37:03 -03:00
Thomas de Saint-Exupéry
bb11f5c64e Fix floating action button incoherent move #713 (#714) 2017-05-07 19:36:25 -03:00
Monisan Fu
1371d6c690 Add CDNJS version badge in README.md (#718)
This badge will show the version on CDNJS!
2017-05-07 19:35:07 -03:00
Captain Pangyo
3754e5e4a2 Added the code samples for Demo in List Components (Multiple options, Multiple Expand) (#725) 2017-05-07 19:34:20 -03:00
Michael Sitter
4254e7962e adding click handler (#726) 2017-05-07 19:33:52 -03:00
Vincent Chavez
9e1dbd8a07 Stepper component implimentation 2017-04-28 12:19:09 -07:00
Pablo Henrique Penha Silva
ac0a08d882 enhancements on autocomplete 2017-04-25 08:33:42 -03:00
Christopher S. Case
da75d1a616 remove redundant width property. 2017-04-24 20:24:15 -05:00
Pablo Henrique Penha Silva
4633432091 adding parentContainer in data 2017-04-17 11:57:22 -03:00
Pablo Henrique Penha Silva
aae237522f Merge branch 'autocomplete' of https://github.com/pablohpsilva/vue-material into autocomplete 2017-04-13 16:55:44 -03:00
Pablo Henrique Penha Silva
1837863398 focus enhancement 2017-04-13 16:55:35 -03:00
pablohpsilva
9ff0e2f517 Merge branch 'master' of github.com:marcosmoura/vue-material into autocomplete 2017-04-09 10:50:42 -03:00
Pablo Henrique Penha Silva
3b32926c24 fixing offset menu autocomplete 2017-04-05 11:18:13 -03:00
pablohpsilva
b293f61080 renamed file 2017-04-03 23:10:19 -03:00
pablohpsilva
a7f4c9d5e9 fix on autocomplete 2017-04-03 23:03:15 -03:00
pablohpsilva
c82fd9c41a modularizing code 2017-04-03 23:00:42 -03:00
Pablo Henrique Penha Silva
287c0c9db5 added name prop 2017-04-03 15:18:56 -03:00
Pablo Henrique Penha Silva
9df33453e2 fix on selected event 2017-04-03 13:11:09 -03:00
Pablo Henrique Penha Silva
b15f0a03a3 fix on line 191 mdAutocomplete 2017-04-03 11:29:23 -03:00
Sombriks
457dd6bda5 Update Icon.vue 2017-03-29 16:27:03 -03:00
Pablo Henrique Penha Silva
00123e5d42 documentation 2017-03-27 23:49:43 -03:00
Pablo Henrique Penha Silva
e51dfaf548 correcoes 2017-03-27 20:16:39 -03:00
Pablo Henrique Penha Silva
bdf9e5b66f removing dep on http 2017-03-27 16:20:34 -03:00
Pablo Henrique Penha Silva
a0795af2ea autocomplete 2017-03-27 16:16:09 -03:00
Pablo Henrique Penha Silva
6393481d54 removed debugger 2017-03-27 14:36:58 -03:00
Pablo Henrique Penha Silva
e9f5e83b3b remove chips autocomplete 2017-03-27 14:32:45 -03:00
Pablo Henrique Penha Silva
13616b9133 autocomplete 2017-03-26 22:41:19 -03:00
Pablo Henrique Penha Silva
2c1b8ecbec fixes md-autocomplete 2017-03-26 22:19:13 -03:00
d3radicated
e6e2264962 fix md-tabs not properly flexed when applied with md-fixed (#636) 2017-03-24 12:16:33 -03:00
CaptainAchilles
295f74f91d fix language more gender neutral #633 (#637)
* fix grammar and spelling on themes page docs (#602)

* fix table arrow sort (#347)

* fix badges alignment

* Made language more gender neutral
2017-03-24 12:15:57 -03:00
Laercio Santana
4323ef84d1 [rating-bar] fix on indentation 2017-03-23 22:09:55 -03:00
Laercio Santana
47236f150a [rating-bar] fix offset on custom font icon set examples 2017-03-23 21:55:08 -03:00
Laercio Santana
bc1ea86112 [rating-bar] doc updated with explanations about custom font icon set 2017-03-23 16:55:38 -03:00
Laercio Santana
2d73e3b1a7 [rating-bar] doc updated with explanations about support to svg and png 2017-03-23 13:25:35 -03:00
Laercio Santana
5114878b78 [rating-bar] update doc adding custom size 2017-03-23 12:42:48 -03:00
Laercio Santana
ff99720b56 [rating-bar] add support to custom size by md-icon 2017-03-23 12:32:52 -03:00
Laercio Santana
35f5a4863b [rating-bar] add support for custom icon set 2017-03-23 12:09:15 -03:00
Laercio Santana
7af48dcee9 [rating-bar] add support to svg and png 2017-03-23 11:46:08 -03:00
Laercio Santana
fd8ec51ace [rating-bar] changes on background 2017-03-21 22:33:41 -03:00
Laercio Santana
820a0394f7 [rating-bar] changes on comments 2017-03-21 21:53:59 -03:00
Laercio Santana
9b2f9c5683 [rating-bar] 'Merge the rating logic inside the mounted function in the data property' 2017-03-21 21:47:41 -03:00
Laercio Santana
8c146af9c8 [rating-bar] changes on theme 2017-03-21 21:14:31 -03:00
Laercio Santana
c2d7c037ae [rating-bar] fix on indentation 2017-03-21 21:10:46 -03:00
Laercio Santana
218dae5d5f [rating-bar] fix typo on doc 2017-03-21 21:07:17 -03:00
Laercio Santana
ffd8bd0421 [rating-bar] add 'md' prefix 2017-03-21 21:02:48 -03:00
Laercio Santana
660bf87613 [rating-bar] remove unnecessary codes 2017-03-21 20:36:01 -03:00
Igor Ribeiro
500e5b5bea Merge branch 'develop' into tabs-navigation-arrows 2017-03-21 17:21:37 -03:00
Marcos Moura
b86cb6dae0 fix badges alignment 2017-03-20 22:24:46 -03:00
Jonatas Walker
a5327f0a6c fix table arrow sort (#347) 2017-03-20 21:40:55 -03:00
Igor Ribeiro
f80f1b5aa6 add swipe on Tabs header (#430)
* implement scroll on Tabs header

* update let to const on calculateIndicatorPos method

* rename prop to md-scrollable-navigation

* update docs

* fix style

* update style

* make navigation scrollable by default

* remove unused prop
2017-03-20 21:40:18 -03:00
renanhangai
f268648174 Added registerPalette method on mdTheme (#522) 2017-03-20 21:38:10 -03:00
jdrydn
928c291fad automatically adjust the textarea height when rendering the model (#525)
* fix pagination not enabling next button when total changes #482. (#517)

* refactor property names to make more sense #517 (#521)

* Added watchers on mdTotal and mdPage. Changed the binding for the disabled attribute of the next page arrow to use a computed property. Fix issue #482.

* Improve code readability for the fix done for #482.

* After a teeny tiny delay, update the autosize
2017-03-20 21:36:57 -03:00
vizo
8bc28b59b9 fix when to use default colorVariant (#535)
* fix pagination not enabling next button when total changes #482. (#517)

* refactor property names to make more sense #517 (#521)

* Added watchers on mdTotal and mdPage. Changed the binding for the disabled attribute of the next page arrow to use a computed property. Fix issue #482.

* Improve code readability for the fix done for #482.

* Fix - when to use default colorVariant 

Solves issue https://github.com/marcosmoura/vue-material/issues/533.
2017-03-20 21:35:58 -03:00
Alex Kozack
93bcf58502 add textColor property to theme options (#531)
* fix pagination not enabling next button when total changes #482. (#517)

* refactor property names to make more sense #517 (#521)

* Added watchers on mdTotal and mdPage. Changed the binding for the disabled attribute of the next page arrow to use a computed property. Fix issue #482.

* Improve code readability for the fix done for #482.

* Add textColor property

The property "textColor" allows you to force set color of the text for the theme.

* Added description of the textColor property in the documentation
2017-03-20 21:34:37 -03:00
Sébastien Viallemonteil
4c509f7fd1 fix #534 centering icon with md-button in md-table (#538)
This fixes #534, the icon is now centered inside the md-button when used with md-table
Removing the margin gives back the `margin:auto` set to the `md-icon` class
2017-03-20 21:27:47 -03:00
Jérémy Touzy
2f0e6a4b5f [md-checkbox/md-radio] Add pointer cursor (#540) 2017-03-20 21:27:20 -03:00
Igor Ribeiro
8dc43d3c2d fix register/unregister tabs to use $set/$delete (#545) 2017-03-20 21:23:45 -03:00
Samuell
605ddbceed add vertical align for layout (#562) 2017-03-20 21:21:28 -03:00
vanhoavn
02f58855f2 allow customize tab item using slot (#596)
Allow customize tab item using slot
2017-03-20 21:10:23 -03:00
Aaron M
c1257c2bfc fix grammar and spelling on themes page docs (#602) 2017-03-20 21:08:10 -03:00
zcyzcy88
e2fe0f0743 Enlarge mdRadio touchable area (#609)
#608
2017-03-20 21:06:44 -03:00
Laercio Santana
004bfea9e0 [rating-bar] clean test code on about 2017-03-18 19:57:41 -03:00
Laercio Santana
90f2e97edb [rating-bar] fix warning 2017-03-18 19:12:38 -03:00
Laercio Santana
776c78af94 [rating-bar] changes on doc text 2017-03-18 19:08:29 -03:00
Laercio Santana
70afd79bc9 [rating-bar] add examples on the doc 2017-03-18 19:04:12 -03:00
Laercio Santana
e0da31eafb [rating-bar] add change event on the doc 2017-03-18 18:16:05 -03:00
Laercio Santana
6a33d47351 [rating-bar] add on change event 2017-03-18 18:12:26 -03:00
Laercio Santana
b62eb825af [rating-bar] add properties to the doc 2017-03-18 18:08:41 -03:00
Laercio Santana
52f376069d [rating-bar] add entry to documentation 2017-03-18 17:54:40 -03:00
Laercio Santana
b4543922d5 [rating-bar] changes on theme 2017-03-18 17:36:07 -03:00
Laercio Santana
a5285b2b87 [rating-bar] add support to custom font icon 2017-03-18 17:31:17 -03:00
Laercio Santana
e72757fa3a [rating-bar] add basic colors support 2017-03-18 17:16:47 -03:00
Laercio Santana
edb724463e [rating-bar] fix bug when mouse out 2017-03-18 11:56:23 -03:00
Laercio Santana
f4a60c6863 [rating-bar] fix background 2017-03-18 11:53:10 -03:00
Laercio Santana
763ca4d328 [rating-bar] changes on cursor 2017-03-18 11:51:16 -03:00
Laercio Santana
b76463634b [rating-bar] implement user input 2017-03-18 11:33:24 -03:00
Laercio Santana
4b07c3c5ef [rating-bar] initial commit
*add rating bar component
2017-03-18 03:02:42 +00:00
Pablo Henrique Penha Silva
cfd60ed709 chips autocomplete 2017-03-14 12:41:54 -03:00
Roman Ovsyannikov Home
f2baf69a0f md-error possibility and remove required chip-template within md-chips 2017-02-28 23:00:01 +02:00
TECNOSYLVA\fgarcia
8f19e8b049 Added 100% height to accomodate full screen sliders. 2017-02-24 13:39:26 +01:00
TECNOSYLVA\fgarcia
6f933d21ea Added swipeable functionality. 2017-02-23 15:26:53 +01:00
TECNOSYLVA\fgarcia
fe7333ec85 Added force restart timer to control buttons as well. 2017-02-22 17:37:33 +01:00
TECNOSYLVA\fgarcia
1699134475 Added docs css. Added clearInterval when user clicks on dot to restart timer duration. 2017-02-22 17:31:03 +01:00
TECNOSYLVA\fgarcia
f13ccff14b Fixed some css. 2017-02-22 16:10:14 +01:00
TECNOSYLVA\fgarcia
2928200ba1 Added custom classes for theming. Added auto timeout behaviour. Finished custom mdOnboarding component based on mdTabs. 2017-02-22 12:09:17 +01:00
Marcos Moura
bec42aa4d0 include docs on lint process 2017-02-22 01:44:12 -03:00
Marcos Moura
152f78769f simplify build process and add support for tree shaking 2017-02-21 18:46:58 -03:00
Marcos Moura
ee17f32a74 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  refactor property names to make more sense #517 (#521)
  fix pagination not enabling next button when total changes #482. (#517)
2017-02-21 18:15:29 -03:00
TECNOSYLVA\fgarcia
95272db85f Added new component, mdOnboarding 2017-02-21 17:15:07 +01:00
Igor Ribeiro
2cb818db4a add prop md-navigation to toggle navigation arrows 2017-02-20 16:21:50 -03:00
Praneet Loke
b380dcfca6 refactor property names to make more sense #517 (#521)
* Added watchers on mdTotal and mdPage. Changed the binding for the disabled attribute of the next page arrow to use a computed property. Fix issue #482.

* Improve code readability for the fix done for #482.
2017-02-16 16:53:09 -02:00
Praneet Loke
cde4710cf0 fix pagination not enabling next button when total changes #482. (#517) 2017-02-16 11:47:34 -02:00
Bruno Romero
d66bc0aed9 fix mdInput not able to press space key inside mdMenuContent #478 (#518) 2017-02-16 11:46:18 -02:00
Alban Mouton
a90db2b106 add mdChip editable (#512) 2017-02-15 18:48:26 -02:00
Bruno Romero
1f93806652 fix mdSpeedDial not closing after few mouse interactions #484 (#508) 2017-02-15 18:15:47 -02:00
Fergardi
0a8b6735d4 add themed chips (#498)
* Added theming to mdChips

* Added more examples. Improved API.

* Removed classes from docs.
2017-02-15 18:14:24 -02:00
Marcos Moura
a241ddc00f Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  send switch state to change event #503 (#504)
2017-02-14 16:47:26 -02:00
Alban Mouton
9a29f92e29 add watchable sort parameters in md-table (#505) 2017-02-14 11:36:45 -02:00
Mathieu Civel
36cd794ce9 send switch state to change event #503 (#504) 2017-02-14 11:35:51 -02:00
Matthias Rupp
5d3091a036 fix keycode recognition with german keyboards on mdChips (#495) 2017-02-13 19:26:47 -02:00
Marcos Moura
64fe165297 add support to router-link with md-button as tag #470 2017-02-13 19:16:45 -02:00
Igor Ribeiro
58d4105b2a Merge remote-tracking branch 'origin/develop' into tabs-navigation-arrows 2017-02-13 07:56:43 -02:00
Igor Ribeiro
f600312194 Merge remote-tracking branch 'upstream/develop' into develop 2017-02-13 07:55:45 -02:00
Marcos Moura
c693014bf9 remove search field on toolbar example 2017-02-13 01:59:31 -02:00
Marcos Moura
6a0ce2f784 remove search field on toolbar example 2017-02-13 01:59:04 -02:00
Marcos Moura
2fa3637b0d add scrollbar in phone viewport 2017-02-13 01:52:27 -02:00
Marcos Moura
a8cc1602d9 clear input container state if model is falsy 2017-02-13 01:50:14 -02:00
Marcos Moura
aa3f95e036 fix icon src of bottombar item 2017-02-13 01:36:55 -02:00
Marcos Moura
e9261b8732 prevent ripple from being created multiple times in parent 2017-02-13 01:35:42 -02:00
d3radicated
ec1f050d80 add md-clearable to md-input-container (#473)
* Add md-clearable to md-input-container

* Add docs for md-clearable

* Fix deprecated click event for clear button
2017-02-13 01:07:25 -02:00
Marcos Moura
77a3ecb455 scroll selected option into view 2017-02-13 01:03:37 -02:00
Marcos Moura
783fa1b46a fix spacing 2017-02-13 00:42:57 -02:00
Marcos Moura
ddeb48d0e9 add name to all components 2017-02-13 00:40:43 -02:00
Marcos Moura
911099bce3 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  fix ripple effect on touchscreen desktops (#479)
2017-02-13 00:17:17 -02:00
Marcos Moura
d1a98156a9 scroll selected option into view 2017-02-13 00:17:11 -02:00
Vivere Discere
225e1f6934 fix ripple effect on touchscreen desktops (#479) 2017-02-13 00:04:41 -02:00
Marcos Moura
56aeaffd62 [release] 0.7.1 2017-02-08 22:05:15 -02:00
Marcos Moura
39692285a0 [build] 0.7.1 2017-02-08 22:05:12 -02:00
Marcos Moura
53475afda2 [build] 0.7.1 2017-02-08 22:05:12 -02:00
Marcos Moura
281e7d1c7f remove old releases on build 2017-02-08 22:01:45 -02:00
Marcos Moura
7ad5034aae remove old releases 2017-02-08 22:00:17 -02:00
Marcos Moura
84acaa7bae remove old releases 2017-02-08 22:00:17 -02:00
Marcos Moura
a3a8c8085c fix and optimize layout media queries after upgrade to webpack 2 #456 2017-02-08 21:27:50 -02:00
Marcos Moura
bcaf1430c1 add gutter to example layout 2017-02-08 21:20:37 -02:00
Marcos Moura
516102ebd3 add better examples to list page #457 2017-02-08 20:05:27 -02:00
Marcos Moura
52d77ffd38 add fallback loading to cross-domain images #424 2017-02-08 19:55:08 -02:00
Marcos Moura
47b17b8f35 fix ripple not reseting after second click #461 2017-02-08 19:33:35 -02:00
Marcos Moura
49e1e824ae add href support to mdMenuItem #463 2017-02-08 19:23:39 -02:00
Marcos Moura
e054bb855a add IE 10 to the list 2017-02-08 19:10:28 -02:00
Marcos Moura
1f9475e612 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material: (47 commits)
  fix regression of @click handler #454
  [build] 0.7.0
  add speed dial code examples
  [release] 0.7.0
  [build] 0.7.0
  fix min-width media queries
  remove chunk name
  update supported browsers
  update supported browsers
  upgrade to webpack 2
  start integration with webpack 2
  add styles for input inside toolbar #395
  rename method
  remove custom click bindings
  apply theme-color based on primary theme color
  remove unnecessary Vue.extend on component definition
  deprecated click bubble
  normalize mobile and desktop events on ripple
  prevent ripple from getting undefined when ripple elements doesnt exists
  allow preventDefault in md-switch (#435)
  ...
2017-02-08 19:07:47 -02:00
Marcos Moura
fe1d3ce977 fix regression of @click handler #454 2017-02-08 04:38:43 -02:00
Marcos Moura
96871e6943 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  [build] 0.7.0
  add speed dial code examples
  [release] 0.7.0
  [build] 0.7.0
  update supported browsers
  [release] 0.6.3
  [build] 0.6.3
  fix standalone build #312
2017-02-08 02:36:26 -02:00
Marcos Moura
7a7a984188 [build] 0.7.0 2017-02-08 01:50:55 -02:00
Marcos Moura
96fa231d29 [build] 0.7.0 2017-02-08 01:50:55 -02:00
Marcos Moura
8a82f26395 add speed dial code examples 2017-02-08 01:43:23 -02:00
Marcos Moura
a88e8db67c [build] 0.7.0 2017-02-08 01:16:24 -02:00
Marcos Moura
c53867d23b fix min-width media queries 2017-02-08 00:51:41 -02:00
Marcos Moura
772edeaa58 remove chunk name 2017-02-07 21:18:41 -02:00
Marcos Moura
5b372feb3b update supported browsers 2017-02-07 21:18:19 -02:00
Marcos Moura
911125bc1a upgrade to webpack 2 2017-02-07 20:49:51 -02:00
Marcos Moura
52e971b335 start integration with webpack 2 2017-02-07 19:24:52 -02:00
Igor Ribeiro
af96b7b7e7 implement arrow for scroll navigation on tabs 2017-02-07 17:30:46 -02:00
Marcos Moura
1bb5f92359 Merge remote-tracking branch 'origin/improvement/mdList' into develop
* origin/improvement/mdList:
  enable multiple expansions in mdList #442
2017-02-07 16:36:34 -02:00
Marcos Moura
784685d8d5 add styles for input inside toolbar #395 2017-02-07 12:11:32 -02:00
Igor Ribeiro
ac70fb79e0 remove unused prop 2017-02-07 08:51:18 -02:00
Marcos Moura
949b58914d rename method 2017-02-07 03:02:54 -02:00
Marcos Moura
78e1c9e159 remove custom click bindings 2017-02-07 03:01:12 -02:00
Marcos Moura
3056390935 apply theme-color based on primary theme color 2017-02-07 02:53:31 -02:00
Marcos Moura
0c7be464af remove unnecessary Vue.extend on component definition 2017-02-07 02:23:42 -02:00
Marcos Moura
af3f0851fa deprecated click bubble 2017-02-07 02:14:13 -02:00
Marcos Moura
d74b2ac0f1 normalize mobile and desktop events on ripple 2017-02-07 02:13:55 -02:00
Marcos Moura
ef533bf049 prevent ripple from getting undefined when ripple elements doesnt exists 2017-02-07 01:28:52 -02:00
Ivan Borshchov
eaa9389151 allow preventDefault in md-switch (#435)
* Allow preventDefault in md-switch

* typeof undefined check, remove comments
2017-02-07 00:41:04 -02:00
Igor Ribeiro
29af6fa7d4 enable swipe to open or close sidenav (#429)
* implement swipe on Sidenav

* update the docs

* prefix props with md- and update from destroyed to beforeDestroy

* refactor to clarify logic
2017-02-07 00:37:47 -02:00
Marcos Moura
1c5b6b9297 Merge pull request #447 from marcosmoura/improvement/mdList
Improvement/md list
2017-02-07 00:34:28 -02:00
Marcos Moura
122193ef8a Merge remote-tracking branch 'origin/develop' into improvt branch --set-upstream-to=<remote>/<branch> improvement/mdListement/mdList
* origin/develop:
  pause snackbar timeout on hover (#434)
2017-02-07 00:27:32 -02:00
Marcos Moura
fefa2db7d6 enable multiple expansions in mdList #442 2017-02-06 18:37:41 -02:00
Igor Ribeiro
53b2ff1306 make navigation scrollable by default 2017-02-06 08:59:36 -02:00
Igor Ribeiro
0c0ec011ed pause snackbar timeout on hover (#434)
#321
2017-02-04 19:21:18 -02:00
Marcos Moura
37949e6bca fix position of md-list-action as first child #408 2017-02-04 19:06:12 -02:00
Marcos Moura
0d19c837fb force list item to have buttons with type="button" 2017-02-04 18:58:03 -02:00
Marcos Moura
f0b9d1909f recreate list item 2017-02-04 18:56:49 -02:00
Marcos Moura
a4697bc9f6 fix overflow button color theme in cards 2017-02-03 15:28:36 -02:00
Marcos Moura
72a604a624 fix md-input colors inside cards 2017-02-02 19:54:56 -02:00
Marcos Moura
44eaa9e3c7 make select work without v-model #389 2017-02-02 19:43:11 -02:00
Igor Ribeiro
697883eb8f update style 2017-02-02 17:37:15 -02:00
Igor Ribeiro
908d520355 fix style 2017-02-02 16:40:18 -02:00
Igor Ribeiro
9a02cb10ac Merge branch 'tabs-header-swipe' of github.com:igor-ribeiro/vue-material into tabs-header-swipe 2017-02-02 16:32:19 -02:00
Igor Ribeiro
0582a3251b update docs 2017-02-02 16:31:39 -02:00
Igor Ribeiro
031b72227c rename prop to md-scrollable-navigation 2017-02-02 16:31:31 -02:00
Igor Ribeiro
499a6e8dfc update let to const on calculateIndicatorPos method 2017-02-02 16:21:24 -02:00
Igor Ribeiro
54b3b60a06 Merge branch 'develop' into tabs-header-swipe 2017-02-02 16:17:15 -02:00
Igor Ribeiro
d29a5eab15 implement scroll on Tabs header 2017-02-02 16:12:47 -02:00
Kory Prince
3d5f688286 remove pointer-events from hidden buttons on mdSpeedDial (#420) 2017-02-01 11:36:43 -02:00
Christopher S. Case
635c272623 fix typo inside readme (#413)
This fixes #412.
2017-01-30 17:52:52 -02:00
Marcos Moura
e36d28e6ad fix radio parsing md-value wrongly #378 2017-01-23 23:47:11 -02:00
Marcos Moura
e058aa6400 increase menu backdrop z-index 2017-01-23 20:54:15 -02:00
Marcos Moura
21d390b230 increase menu backdrop z-index 2017-01-23 20:51:03 -02:00
Marcos Moura
57a3659fef add select events when open and close #357 2017-01-23 20:14:08 -02:00
Marcos Moura
830117bb37 add checked attribute to checkbox #366 2017-01-23 20:09:06 -02:00
Marcos Moura
a6f2870f82 fix error message not moving down on textarea #362 2017-01-23 19:54:26 -02:00
Marcos Moura
ced5c90153 prevent body from scroll on dialogs and menus #373 2017-01-23 19:50:13 -02:00
Marcos Moura
4bbe83b6ad prevent parent forms from submitting when adding chips #383 2017-01-23 19:39:51 -02:00
Marcos Moura
d718749396 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  add to the bottom-bar the new icon options (#377)
2017-01-23 19:10:57 -02:00
Marcos Moura
6e8c41a89b fix char counter not updating after model change #384 2017-01-23 19:10:29 -02:00
Sombriks
19a5ecd904 add to the bottom-bar the new icon options (#377)
* adding to the bottombar the new icon options

* making the requested changes

* missing term
2017-01-23 18:43:05 -02:00
Marcos Moura
c789afb8cc Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  fix import names (#345)
  add gitter channel URL
  add gitter badge
  fix comment
  add Gitter Channel
  update the number of rows if the data set changes on mdTable (#320)
2017-01-23 18:37:58 -02:00
Kory Prince
264e2d4299 fix textarea autosize on initial value (#341) 2017-01-16 16:15:50 -02:00
Kory Prince
324a08b7e1 allow null value to be passed to parent of md-select (#338)
#333
2017-01-12 13:34:39 -02:00
Sombriks
b673a871cd add support for icons without ligatures (#330)
* ignoring a thing

* md-iconset had to become a boolean prop because :class=[themeClass, iconset] have aonther behavior, as can be seen in https://vuejs.org/v2/guide/class-and-style.html#ad

* icon font support proposal

* support for icon fonts without ligatures

* change iconset example
2017-01-12 10:55:39 -02:00
Kory Prince
7e7bd5bdc9 disable pointer events on snackbar container. fix #327 (#328) 2017-01-11 17:08:10 -02:00
Kory Prince
d66609f8b3 check for null parent elements in mdInkRipple #313 (#317)
* fix standalone build #312

* [build] 0.6.3

* [release] 0.6.3

* fixes #313 check for null
2017-01-11 00:04:50 -02:00
Marcos Moura
95b32ff937 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  [release] 0.6.3
  [build] 0.6.3
  fix standalone build #312
2017-01-11 00:02:08 -02:00
Marcos Moura
ec4b5a57b2 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  Components/md speed dial (#318)
2017-01-11 00:02:03 -02:00
Marcos Moura
e8d34fcaea Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material: (671 commits)
  [release] 0.6.2
  [build] 0.6.2
  fix alias for webpack
  [release] 0.6.1
  [build] 0.6.1
  remove ignore on bundle
  add mobile first breakpoints to mdLayout (#305)
  fix md-icon-button with pallete colors inside cards #307
  [release] 0.6.0
  [build] 0.6.0
  fix one line dialogs in certain browsers #219
  add documentation on how to disable ripple
  rename module
  add 'changed' event to mdBottomBar. (#296)
  delay creation of ripple actions
  remove unused dependency
  remove ripple directive and use the new component
  recreate ripple component and add a global toggle to it
  cache svg icons
  simplify bottom bar examples
  ...
2017-01-10 23:59:05 -02:00
Marcos Moura
e74dfa4d77 [build] 0.6.3 2017-01-10 18:15:29 -02:00
Marcos Moura
6163a956b3 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  [release] 0.6.2
  [build] 0.6.2
  fix alias for webpack
2017-01-10 16:10:01 -02:00
Marcos Moura
ea3dce91c4 [release] 0.6.2 2017-01-10 15:50:28 -02:00
Marcos Moura
302f68d6a8 [build] 0.6.2 2017-01-10 15:50:24 -02:00
Marcos Moura
655e9913d7 [build] 0.6.2 2017-01-10 15:50:24 -02:00
Marcos Moura
0716fa2dce fix alias for webpack 2017-01-10 15:40:47 -02:00
Marcos Moura
0db9658868 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  [release] 0.6.1
  [build] 0.6.1
  remove ignore on bundle
  fix md-icon-button with pallete colors inside cards #307
  [release] 0.6.0
  [build] 0.6.0
2017-01-10 13:49:24 -02:00
Marcos Moura
be49617a51 [release] 0.6.1 2017-01-10 13:37:45 -02:00
Marcos Moura
62c96d18d9 [build] 0.6.1 2017-01-10 13:37:41 -02:00
Marcos Moura
4754b6efc2 [build] 0.6.1 2017-01-10 13:37:41 -02:00
Marcos Moura
08860e0756 remove ignore on bundle 2017-01-10 13:30:02 -02:00
Pablo Henrique
9355c2a4a2 add mobile first breakpoints to mdLayout (#305)
* feature added. Added the responsive classes md-hide-{type}-and-up. These classes will do the opposite from md-hide-{type}

* gitignore added to skip dist folder

* gitignore fixed. removed dist folder entry
2017-01-10 12:12:02 -02:00
Marcos Moura
d554e64d66 fix md-icon-button with pallete colors inside cards #307 2017-01-10 02:12:54 -02:00
Marcos Moura
a81fa90123 [release] 0.6.0 2017-01-10 02:04:13 -02:00
Marcos Moura
eccafaf44c [build] 0.6.0 2017-01-10 02:04:09 -02:00
Marcos Moura
9e8ed56e29 [build] 0.6.0 2017-01-10 02:04:09 -02:00
Marcos Moura
033fefa05e fix one line dialogs in certain browsers #219 2017-01-10 01:38:25 -02:00
Marcos Moura
7f2ecfecd5 add documentation on how to disable ripple 2017-01-10 01:35:51 -02:00
Marcos Moura
8a2a680187 rename module 2017-01-10 01:28:09 -02:00
Christopher S. Case
0b0f5d04b6 add 'changed' event to mdBottomBar. (#296)
Now we fire off an event when the active item changes, just like mdTabs. Additionally, this moves activation logic to mdBottomBar, instead of each mdBottomBarItem. It made the change easier to implement, and seems a bit cleaner, though that's subjective.
2017-01-10 01:20:23 -02:00
Marcos Moura
77b2cd6dde Merge pull request #306 from marcosmoura/improvement/mdInkRipple
Improvement/md ink ripple
2017-01-10 01:05:36 -02:00
Marcos Moura
18153f62fd delay creation of ripple actions 2017-01-10 01:04:14 -02:00
Marcos Moura
b154e57297 remove unused dependency 2017-01-10 00:57:56 -02:00
Marcos Moura
6b762b9fc5 remove ripple directive and use the new component 2017-01-10 00:40:59 -02:00
Marcos Moura
ebf6396290 recreate ripple component and add a global toggle to it 2017-01-09 23:02:55 -02:00
Marcos Moura
cebf2482ab cache svg icons 2017-01-09 00:56:45 -02:00
Marcos Moura
50fe4bbfa8 simplify bottom bar examples 2017-01-09 00:30:21 -02:00
Marcos Moura
6cb9bdcfd6 fix stacked page title in mobile sizes 2017-01-09 00:27:24 -02:00
Marcos Moura
743038d6bc add github icon as a md-icon 2017-01-08 17:17:05 -02:00
Marcos Moura
63a84b2406 recalculate indicator tab when parent changes 2017-01-08 17:12:05 -02:00
Marcos Moura
cf7204d081 fix scoped styles broken inside docs 2017-01-08 15:50:26 -02:00
Marcos Moura
05f4cf3485 Merge pull request #302 from marcosmoura/improvement/mdList
fix expansion lists size on resize #278
2017-01-08 14:46:47 +00:00
Marcos Moura
ffab977569 fix expansion lists size on resize #278 2017-01-08 12:45:26 -02:00
Marcos Moura
0711488fd1 Merge pull request #297 from marcosmoura/improvement/mdIcon
add support for svg icons #99
2017-01-05 21:00:48 +00:00
Marcos Moura
8eb08af0cc add support for svg icons #99 2017-01-05 20:58:26 +00:00
Marcos Moura
52d5b5a8c6 Merge pull request #295 from marcosmoura/components/mdProgress
Components/md progress
2017-01-05 19:06:52 +00:00
Kory Prince
764300d20f set empty file when click on cancel button in md-file (#291)
#290
2017-01-05 19:29:44 +01:00
Marcos Moura
f0e19b44e9 create progress bars 2017-01-03 00:10:11 -02:00
Kory Prince
c8421e1838 fix md-input-container not reseting when model is null (#281)
fix #277
2017-01-02 11:30:59 -02:00
Marcos Moura
68adae61a3 Merge remote-tracking branch 'origin/develop' into components/mdProgress
* origin/develop:
  fix indentation
2016-12-29 02:53:36 -02:00
Marcos Moura
ab166881b9 fix indentation 2016-12-29 02:53:22 -02:00
Marcos Moura
3b7275c6c5 Merge remote-tracking branch 'origin/develop' into components/mdProgress
* origin/develop:
  check if .md-ripple exists before removing it class (#270)
2016-12-29 02:51:02 -02:00
Kory Prince
7b66a28bd2 check if .md-ripple exists before removing it class (#270)
* check if .md-ripple exists (it doesn't if not using md-button)

* fix indentation and active class
2016-12-29 02:50:51 -02:00
Marcos Moura
f896bbfbca Merge remote-tracking branch 'origin/develop' into components/mdProgress
* origin/develop:
  fix regression on icons inside chips being styled wrongly
2016-12-29 02:45:13 -02:00
Marcos Moura
b62ada5a1e fix regression on icons inside chips being styled wrongly 2016-12-29 02:45:01 -02:00
Marcos Moura
f85a343b66 create base mdProgress component files 2016-12-29 02:42:00 -02:00
Marcos Moura
d3255a6b37 add file input code example 2016-12-29 02:07:18 -02:00
Marcos Moura
c6287eb347 add icons example 2016-12-29 02:06:05 -02:00
Marcos Moura
1ac720ee54 Merge pull request #269 from marcosmoura/components/mdFile
Components/md file
2016-12-29 01:56:28 -02:00
Marcos Moura
524bd9fe5b create file input #259 2016-12-29 01:55:32 -02:00
Marcos Moura
a07242675c enable md-file inside input container 2016-12-28 04:03:09 -02:00
Marcos Moura
16f589a570 create base mdFile component files 2016-12-28 03:51:36 -02:00
Marcos Moura
a548da0d4c Merge pull request #266 from marcosmoura/components/mdImage
Components/md image
2016-12-28 03:41:36 -02:00
Marcos Moura
04f27f6fce create image loader component 2016-12-28 03:41:00 -02:00
Marcos Moura
f47d8a49a0 create base mdImage component files 2016-12-28 02:30:46 -02:00
Marcos Moura
ad8b9a8a0d create chip documentation 2016-12-27 17:11:31 -02:00
Marcos Moura
4f0d5e3216 add md-chips docs 2016-12-27 15:46:39 -02:00
Marcos Moura
7e7cf7ce8c improve chips theme 2016-12-27 15:20:18 -02:00
Marcos Moura
0cc71c3d83 Merge remote-tracking branch 'origin/develop' into components/mdChips
* origin/develop:
  add better spacing between fab and snackbar
  improve snackbar spacing
  add snackbar link and fix snackbar with fab
2016-12-27 14:23:06 -02:00
Marcos Moura
ceb8a75696 fix max prop check 2016-12-27 03:07:57 -02:00
Marcos Moura
c16a918f00 add code example 2016-12-27 03:02:57 -02:00
Marcos Moura
5dd47d72b6 create chips 2016-12-27 02:54:08 -02:00
Marcos Moura
9f6a4bcbd2 create static chip layout 2016-12-27 01:08:32 -02:00
Marcos Moura
06dae48a9b create base chips files 2016-12-27 00:27:36 -02:00
Marcos Moura
1d2a5d907f add better spacing between fab and snackbar 2016-12-27 00:09:04 -02:00
Marcos Moura
0491f9d3f8 improve snackbar spacing 2016-12-26 23:56:21 -02:00
Marcos Moura
3af5b6dd87 add snackbar link and fix snackbar with fab 2016-12-26 23:47:52 -02:00
Marcos Moura
ab7789f0ab Merge pull request #257 from marcosmoura/components/mdSnackbar
Components/md snackbar
2016-12-26 18:20:03 -02:00
Marcos Moura
dac3abcf49 cleanup element before destroy 2016-12-26 18:19:19 -02:00
Marcos Moura
2756dec820 create snackbar 2016-12-26 18:10:18 -02:00
Marcos Moura
b54211140a remove unused codepen markup 2016-12-26 17:12:57 -02:00
Marcos Moura
6959b995d9 add open/close methods 2016-12-26 17:01:22 -02:00
Marcos Moura
e4b1fee707 Merge pull request #256 from marcosmoura/improvement/mdLayout
Improvement/md layout
2016-12-26 15:52:27 -02:00
Marcos Moura
e67ca9cd0d add alignment props to mdLayout #224 2016-12-26 14:32:57 -02:00
Marcos Moura
8e6182b065 add docs for responsive offset #234 2016-12-26 13:25:34 -02:00
Marcos Moura
aef7021375 optimize bundle removing vue from output 2016-12-26 13:18:29 -02:00
Marcos Moura
c3da1623ad [build] 0.5.2 2016-12-26 00:58:18 -02:00
Marcos Moura
822a1cdaf1 [build] 0.5.2 2016-12-26 00:58:18 -02:00
Marcos Moura
f5825e63ce fix versions 2016-12-26 00:49:11 -02:00
Marcos Moura
c473735d1f [release] 0.5.2 2016-12-26 00:42:27 -02:00
Marcos Moura
e66d885984 [build] 0.5.2 2016-12-26 00:42:21 -02:00
Marcos Moura
55dccf76f9 [build] 0.5.2 2016-12-26 00:42:21 -02:00
Marcos Moura
c699d924d1 Merge branch 'master' of https://github.com/marcosmoura/vue-material
* 'master' of https://github.com/marcosmoura/vue-material:
  Fix mdTheme.vue filename case
2016-12-26 00:30:39 -02:00
Marcos Moura
bd16eebfc1 upgrade to vue 2.1.7 2016-12-26 00:27:31 -02:00
Marcos Moura
2905fdb741 Merge pull request #252 from korylprince/master
Fix mdTheme.vue filename case
2016-12-26 00:20:40 -02:00
Marcos Moura
bdae7ad7c6 remove menu theming #253 2016-12-26 00:00:08 -02:00
Marcos Moura
28c7e522a9 watch for dom changes on tab parent #248 2016-12-25 23:56:15 -02:00
Marcos Moura
39cd6f38f5 check initial value for multiple selects #245 2016-12-25 23:37:46 -02:00
Kory Prince
b5ca774048 Fix mdTheme.vue filename case 2016-12-24 22:09:12 -06:00
Marcos Moura
29f84e1131 split pages into multiple bundles 2016-12-23 19:13:57 -02:00
Marcos Moura
c467acc4d1 remove old and broken docs #240 2016-12-23 18:37:30 -02:00
Marcos Moura
2b71534bcd remove old and broken docs #240 2016-12-23 18:37:30 -02:00
Marcos Moura
97ef2a8353 fix version selector #240 2016-12-23 18:36:53 -02:00
Marcos Moura
c9d247fd66 fix version selector #240 2016-12-23 18:36:53 -02:00
Marcos Moura
40cafc1073 fix page route and version selector 2016-12-23 17:12:27 -02:00
Marcos Moura
b1fdb34a4c Merge branch 'master' of https://github.com/marcosmoura/vue-material
* 'master' of https://github.com/marcosmoura/vue-material:
  Improved the icon component documentation
2016-12-23 16:39:36 -02:00
Marcos Moura
6a95f146ea fix grey/white theme colors #233 2016-12-23 16:35:08 -02:00
Marcos Moura
75a1ac3dc8 Merge pull request #226 from Nicolapps/icon-docs-improvement
Improve the icon component documentation
2016-12-23 16:24:25 -02:00
Nicolapps
428aea6bbd Merge branch 'master' of git://github.com/marcosmoura/vue-material into icon-docs-improvement 2016-12-23 18:45:19 +01:00
Marcos Moura
9183c06c78 fire "selected" event when select changes #230 2016-12-23 14:14:56 -02:00
Marcos Moura
890d08d799 fix card expand negative margin 2016-12-23 14:11:16 -02:00
Marcos Moura
b8bc4b7bba Merge remote-tracking branch 'origin/components/mdSnackbar'
* origin/components/mdSnackbar:
  disable unfinished snackbar code
  rewrite snackbar
  add ES2017 polyfill
  fix md-tabs with v-if and fix whiteframe
  start creation of snackbars
2016-12-23 14:02:47 -02:00
Marcos Moura
58564e4918 Merge remote-tracking branch 'origin/components/mdSnackbar'
* origin/components/mdSnackbar:
  disable unfinished snackbar code
  rewrite snackbar
  add ES2017 polyfill
  fix md-tabs with v-if and fix whiteframe
  start creation of snackbars
2016-12-23 14:02:47 -02:00
Marcos Moura
b9ecbf8576 disable unfinished snackbar code 2016-12-23 14:02:21 -02:00
Marcos Moura
716edf5654 Merge remote-tracking branch 'origin/develop' into components/mdSnackbar
* origin/develop: (42 commits)
  [release] 0.5.0
  [build] 0.5.0
  fix tab tooltip
  create docs for layout
  [release] 0.4.3
  [build] 0.4.3
  fix releases tree, load versions and changelog externaly
  fix build structure
  [release] 0.4.2
  [build] 0.4.2
  fix value in select with option with v-if #198
  fix tooltip errors in console #188
  fix dialog with input closing after typing #183
  fix switch not updating state after value change #200
  improve documentation performance
  generate responsive offsets
  create offset classes
  create responsive grid
  fix display of total items on md-table-pagination (#190) #181
  refactor columns
  ...
2016-12-23 13:51:18 -02:00
Marcos Moura
ddd9c8658e Merge remote-tracking branch 'origin/develop' into components/mdSnackbar
* origin/develop: (42 commits)
  [release] 0.5.0
  [build] 0.5.0
  fix tab tooltip
  create docs for layout
  [release] 0.4.3
  [build] 0.4.3
  fix releases tree, load versions and changelog externaly
  fix build structure
  [release] 0.4.2
  [build] 0.4.2
  fix value in select with option with v-if #198
  fix tooltip errors in console #188
  fix dialog with input closing after typing #183
  fix switch not updating state after value change #200
  improve documentation performance
  generate responsive offsets
  create offset classes
  create responsive grid
  fix display of total items on md-table-pagination (#190) #181
  refactor columns
  ...
2016-12-23 13:51:18 -02:00
Marcos Moura
049416457d rename sidenav show method to open #238 2016-12-23 12:28:43 -02:00
Marcos Moura
17d0561121 remove menu scroll #242 2016-12-23 12:25:20 -02:00
Marcos Moura
7ccac8a2ea fix opening template tag 2016-12-19 13:44:19 -02:00
Nicolas Ettlin
c38f0e8e30 Improved the icon component documentation
- Added a notice for icons with spaces in their name
- Removed an unfinished sentence.
2016-12-17 17:54:55 +01:00
Marcos Moura
5ca8560ff0 [build] 0.5.1 2016-12-16 18:31:24 -02:00
Marcos Moura
eb031dfc44 [build] 0.5.1 2016-12-16 18:31:24 -02:00
Marcos Moura
fd37184dae fix old docs url 2016-12-16 18:24:50 -02:00
Marcos Moura
855b29345e [build] 0.5.1 2016-12-16 18:12:46 -02:00
Marcos Moura
2cf4771842 [build] 0.5.1 2016-12-16 18:12:46 -02:00
Marcos Moura
3b00f40ed1 fix hover link inside logo 2016-12-16 18:05:32 -02:00
Marcos Moura
92e8969d9a add cdn references 2016-12-16 16:40:36 -02:00
Marcos Moura
fb59c90f4d [release] 0.5.1 2016-12-16 15:54:02 -02:00
Marcos Moura
ebccc9ed58 [build] 0.5.1 2016-12-16 15:53:52 -02:00
Marcos Moura
65fd614072 [build] 0.5.1 2016-12-16 15:53:52 -02:00
Marcos Moura
387e525e7e fix vue material instance on non commonjs env #220 2016-12-16 15:49:11 -02:00
Marcos Moura
7cc9339739 fix docs not scrolling on firefox #218 2016-12-16 14:04:11 -02:00
Marcos Moura
8e35b3e32f revert demo code for layout #216 2016-12-16 13:53:54 -02:00
Marcos Moura
88e6fabdaa recalculate the expansion element if a child is added 2016-12-16 13:47:14 -02:00
Marcos Moura
5bcd0f2a1a remove invalid toggle option for expansion list #215 2016-12-16 13:34:51 -02:00
Marcos Moura
8ab7983927 fix spacing between sections 2016-12-16 13:17:20 -02:00
Marcos Moura
0f695aebcd [release] 0.5.0 2016-12-16 04:01:23 -02:00
Marcos Moura
46570a3020 [build] 0.5.0 2016-12-16 04:01:17 -02:00
Marcos Moura
f9be33584d [build] 0.5.0 2016-12-16 04:01:17 -02:00
Marcos Moura
c5add87379 fix tab tooltip 2016-12-16 03:04:32 -02:00
Marcos Moura
0bbd6287bd Merge pull request #213 from marcosmoura/develop
Develop
2016-12-16 02:47:32 -02:00
Marcos Moura
4904bf6b18 Merge pull request #212 from marcosmoura/components/mdLayout
Components/md layout
2016-12-16 02:45:08 -02:00
Marcos Moura
3f8caf7990 create docs for layout 2016-12-16 02:41:15 -02:00
Marcos Moura
e9d0ba83aa Merge remote-tracking branch 'origin/master' into components/mdLayout
* origin/master:
  [release] 0.4.3
  [build] 0.4.3
  fix releases tree, load versions and changelog externaly
  fix build structure
  [release] 0.4.2
  [build] 0.4.2
  fix value in select with option with v-if #198
  fix tooltip errors in console #188
  fix dialog with input closing after typing #183
  fix switch not updating state after value change #200
2016-12-15 15:04:11 -02:00
Marcos Moura
3dd9dddd59 [release] 0.4.3 2016-12-14 19:31:34 -02:00
Marcos Moura
25ac3cc76d [build] 0.4.3 2016-12-14 19:31:33 -02:00
Marcos Moura
92df172aef [build] 0.4.3 2016-12-14 19:31:33 -02:00
Marcos Moura
434c71c7aa fix releases tree, load versions and changelog externaly 2016-12-14 19:22:04 -02:00
Marcos Moura
986e18e65e fix releases tree, load versions and changelog externaly 2016-12-14 19:22:04 -02:00
Marcos Moura
dd1607680d fix build structure 2016-12-14 18:11:42 -02:00
Marcos Moura
795576b042 fix build structure 2016-12-14 18:11:42 -02:00
Marcos Moura
559b1fd991 [release] 0.4.2 2016-12-14 18:06:38 -02:00
Marcos Moura
072f098f87 [build] 0.4.2 2016-12-14 18:06:34 -02:00
Marcos Moura
0705c34f69 [build] 0.4.2 2016-12-14 18:06:34 -02:00
Marcos Moura
70448f8d0e fix value in select with option with v-if #198 2016-12-14 17:52:57 -02:00
Marcos Moura
b3a1f2b1ce fix tooltip errors in console #188 2016-12-14 17:32:29 -02:00
Marcos Moura
2ac683acb5 fix dialog with input closing after typing #183 2016-12-14 17:17:52 -02:00
Marcos Moura
f614031e21 fix switch not updating state after value change #200 2016-12-14 16:45:49 -02:00
Marcos Moura
38c2c2c231 improve documentation performance 2016-12-14 16:34:46 -02:00
Marcos Moura
18d27fb885 generate responsive offsets 2016-12-14 10:56:25 -02:00
Marcos Moura
ece16fbf10 create offset classes 2016-12-14 04:37:37 -02:00
Marcos Moura
8dce9f960a create responsive grid 2016-12-14 02:35:10 -02:00
Marcos Moura
9199d55538 Merge remote-tracking branch 'origin/develop' into components/mdLayout
* origin/develop:
  fix display of total items on md-table-pagination (#190) #181
2016-12-14 02:26:50 -02:00
盛洁
1f6d13df55 fix display of total items on md-table-pagination (#190) #181
* fix : tablePagination md-total bug

to display the right number , not always Numer.MAX_SAFE_INTEGER or
“false”

* fix : table pagination template part
2016-12-14 02:26:19 -02:00
Marcos Moura
0c4013d0b1 refactor columns 2016-12-13 21:30:07 -02:00
Marcos Moura
7eab6a3741 generate initial flex classes 2016-12-13 21:20:12 -02:00
Marcos Moura
d4dfcd2305 create initial responsive grid layout 2016-12-13 21:07:13 -02:00
Marcos Moura
27720c9ea7 add spinner stroke width prop 2016-12-13 19:28:38 -02:00
Marcos Moura
3635ff5e23 improve layout documentation 2016-12-13 19:17:49 -02:00
Marcos Moura
249f24dc59 fix spinner transition glitches 2016-12-13 19:17:27 -02:00
Marcos Moura
5760bcbdc1 fix spinner transition glitches 2016-12-13 19:16:25 -02:00
Marcos Moura
d32f4a27a5 Merge remote-tracking branch 'origin/develop' into components/mdLayout
* origin/develop:
  fix default theme color
2016-12-13 15:25:52 -02:00
Marcos Moura
f9c3d0036d fix default theme color 2016-12-13 15:23:28 -02:00
Marcos Moura
2199766cf7 add responsive classes 2016-12-13 02:39:29 -02:00
Marcos Moura
34de3b2fb3 Merge remote-tracking branch 'origin/develop' into components/mdLayout
* origin/develop:
  fix spacing
2016-12-13 02:20:07 -02:00
Marcos Moura
2018683cf4 fix spacing 2016-12-13 02:19:45 -02:00
Marcos Moura
6f5589826d Merge remote-tracking branch 'origin/develop' into components/mdLayout
* origin/develop:
  add dynamic theme docs and some examples
  validate theme name and apply default theme
  remove themes reference
  apply initial theme
  create initial theme
  remove old directive
  upgrade themes
  start reactive themes
  [release] 0.4.1
  [build] 0.4.1
2016-12-13 02:18:04 -02:00
Marcos Moura
a2ede48979 Merge pull request #189 from marcosmoura/components/mdTheme
Components/md theme
2016-12-13 02:16:43 -02:00
Marcos Moura
62fd255ecf add dynamic theme docs and some examples 2016-12-13 02:08:10 -02:00
Marcos Moura
e520e34383 validate theme name and apply default theme 2016-12-13 00:41:30 -02:00
Marcos Moura
a03a2cc88f remove themes reference 2016-12-13 00:40:48 -02:00
Marcos Moura
82aabb778c apply initial theme 2016-12-13 00:10:00 -02:00
Marcos Moura
7112fcfa17 create initial theme 2016-12-12 23:36:41 -02:00
Marcos Moura
cccfc5e820 remove old directive 2016-12-12 23:10:32 -02:00
Marcos Moura
4f9080402b upgrade themes 2016-12-12 23:07:56 -02:00
Marcos Moura
6a66731418 Merge remote-tracking branch 'origin/master' into components/mdTheme
* origin/master:
  [release] 0.4.1
  [build] 0.4.1
2016-12-12 21:41:33 -02:00
Marcos Moura
895b247cf0 start reactive themes 2016-12-12 21:38:05 -02:00
Marcos Moura
8dda3a70bc create layout base 2016-12-12 05:26:21 -02:00
Marcos Moura
e2333e14e0 remove mixin 2016-12-12 03:10:54 -02:00
Marcos Moura
53d3a58019 create empty layout module 2016-12-12 03:10:09 -02:00
Marcos Moura
bf06ffce6b create spinner #20 (#186) 2016-12-12 02:56:44 -02:00
Marcos Moura
382ba08142 rewrite snackbar 2016-12-12 00:15:27 -02:00
Jérémy TOUZY
88660316cb pass $event to on click inside md-list-item (#180) 2016-12-11 23:55:37 -02:00
Marcos Moura
534b8ca250 Merge remote-tracking branch 'origin/develop' into components/mdSnackbar
* origin/develop:
  adjust menu offset position when scroll is present (#175)
  add md-tooltip for tabheader (#171)
2016-12-09 17:52:15 -02:00
Marcos Moura
005ed81bf2 Merge branch 'components/mdSnackbar' of https://github.com/marcosmoura/vue-material into components/mdSnackbar
* 'components/mdSnackbar' of https://github.com/marcosmoura/vue-material:
  fix md-tabs with v-if and fix whiteframe
  add support for theming on Cards (#173)
  [release] 0.4.1
  [build] 0.4.1
  fix tooltip not being removed. fix #156
  fix disabled selects being selectable. fix #159
  resize textarea when a value change fix #160
  revert dialog example
  add scrollbar behaviour in dialog content fix #161
  start improvement over huge dialog content
  create custom tags in whiteframe component (#170)
  fix undefined object.values method and emit @change event (#167)
  add reference of currentPage in mdTablePagination (#166)
  add code sample to switch (#158)
  update prompt code example to be a prompt (#151)
2016-12-09 17:51:58 -02:00
Marcos Moura
07193c86f3 add ES2017 polyfill 2016-12-09 17:51:53 -02:00
Alexis Agahi
26de415c75 adjust menu offset position when scroll is present (#175)
* [build] 0.4.1

* [release] 0.4.1

* Adjust menu offset position when page scrolling occurs. fix #172
2016-12-09 13:59:35 -02:00
Alexis Agahi
ae06e82bc9 adjust menu offset position when scroll is present (#175)
* [build] 0.4.1

* [release] 0.4.1

* Adjust menu offset position when page scrolling occurs. fix #172
2016-12-09 13:59:35 -02:00
Jérémy TOUZY
e3f3fda63e add md-tooltip for tabheader (#171)
* [new] md-tabs improvements : md-tooltip

* [fix] Set the bottom default value on the prop definition
2016-12-09 13:55:04 -02:00
Marcos Moura
369aed4ea3 fix md-tabs with v-if and fix whiteframe 2016-12-09 00:47:32 -02:00
Marcos Moura
87fea69779 Merge remote-tracking branch 'origin/develop' into components/mdSnackbar
* origin/develop:
  add support for theming on Cards (#173)
2016-12-08 14:06:12 -02:00
Mateus Cerqueira Gonçalves
3e5f930fa7 add support for theming on Cards (#173)
* #148 - Support for theming on Card Component

* #148 - Updating the docs

* #148 - Removing theming for card's internal components

* #148 - Updating the docs
2016-12-08 14:04:59 -02:00
Marcos Moura
22fbfd8312 Merge remote-tracking branch 'origin/master' into components/mdSnackbar
* origin/master:
  [release] 0.4.1
  [build] 0.4.1
2016-12-08 10:57:39 -02:00
Marcos Moura
9e482dd8f7 Merge remote-tracking branch 'origin/develop' into components/mdSnackbar
* origin/develop:
  fix tooltip not being removed. fix #156
  fix disabled selects being selectable. fix #159
  resize textarea when a value change fix #160
  revert dialog example
  add scrollbar behaviour in dialog content fix #161
  start improvement over huge dialog content
  create custom tags in whiteframe component (#170)
  fix undefined object.values method and emit @change event (#167)
  add reference of currentPage in mdTablePagination (#166)
  add code sample to switch (#158)
  update prompt code example to be a prompt (#151)
2016-12-08 10:57:32 -02:00
Marcos Moura
a2160b44dd [release] 0.4.1 2016-12-08 10:48:40 -02:00
Marcos Moura
e71597a96a [build] 0.4.1 2016-12-08 10:48:37 -02:00
Marcos Moura
51c17e6e18 [build] 0.4.1 2016-12-08 10:48:37 -02:00
Marcos Moura
33af65eb45 fix tooltip not being removed. fix #156 2016-12-08 10:12:59 -02:00
Marcos Moura
6dabd7960e fix disabled selects being selectable. fix #159 2016-12-08 10:10:09 -02:00
Marcos Moura
4c01fc489b resize textarea when a value change fix #160 2016-12-08 09:57:24 -02:00
Marcos Moura
f0fdb3eab7 revert dialog example 2016-12-08 09:47:16 -02:00
Marcos Moura
657e5d0c37 add scrollbar behaviour in dialog content fix #161 2016-12-08 09:44:18 -02:00
Marcos Moura
9cff66ae9b start improvement over huge dialog content 2016-12-07 20:07:19 -02:00
Marcos Moura
6a55297883 create custom tags in whiteframe component (#170)
* create custom tags in whiteframe

* add custom tag in api. fix #169

* add custom tag in examples. fix #169
2016-12-07 19:18:49 -02:00
Jérémy TOUZY
e8c83d0491 fix undefined object.values method and emit @change event (#167)
* [fix] Object.values() not supported in IE/Safari #165  

* [fix] mdTabs emit change event #168 

* change var to let
2016-12-07 18:48:33 -02:00
Jonatas Walker
de4efeac7e add reference of currentPage in mdTablePagination (#166)
* Fix table pagination

* use totalItems instead of mdTotal in the template
2016-12-07 18:44:27 -02:00
Sebastian
cdeb245fae add code sample to switch (#158)
* Adding code sample to switch, fixing #157

* Added basic chips stuff

* "revert chips stuff from merged commit"

This reverts commit 367eea839a5eec7b982c82c2a10d199136999953.
2016-12-06 17:49:31 -02:00
Sebastian
883a30e567 update prompt code example to be a prompt (#151) 2016-12-05 22:49:47 -02:00
Marcos Moura
3e46203081 start creation of snackbars 2016-12-05 05:19:01 -02:00
Marcos Moura
e3d61a8d99 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  add vue as dependency
  fix image path
  [build] 0.4.0
  [build] 0.4.0
  fix release script
  add 0.4.0 changelog
2016-12-05 03:00:15 -02:00
Marcos Moura
6fef76ea5b add vue as dependency 2016-12-05 02:45:24 -02:00
Marcos Moura
b1fbb5f992 fix image path 2016-12-05 02:44:15 -02:00
Marcos Moura
2ef4b00035 [build] 0.4.0 2016-12-05 02:30:04 -02:00
Marcos Moura
86df9bcbb0 [build] 0.4.0 2016-12-05 02:30:04 -02:00
Marcos Moura
bd0a4b8425 [build] 0.4.0 2016-12-05 02:21:02 -02:00
Marcos Moura
d902ee6707 [build] 0.4.0 2016-12-05 02:21:02 -02:00
Marcos Moura
742504f794 fix release script 2016-12-05 02:07:45 -02:00
Marcos Moura
e1c0379d8a add 0.4.0 changelog 2016-12-05 02:05:31 -02:00
Marcos Moura
1b4e9f05e1 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  0.4.0
2016-12-05 02:00:16 -02:00
Marcos Moura
e2c3927164 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
Marcos Moura
0296db0178 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
Marcos Moura
b1acdec767 [release] 2016-12-05 01:55:44 -02:00
Marcos Moura
9c6598b32b fix release script 2016-12-05 01:55:39 -02:00
Marcos Moura
8c16639d71 fix release script 2016-12-05 01:55:27 -02:00
Marcos Moura
c395934de6 [build] 0.4.0 2016-12-05 01:53:41 -02:00
Marcos Moura
dd0855faa3 fix vue version reference 2016-12-05 01:49:32 -02:00
Marcos Moura
9eac28df3e update libs 2016-12-05 01:48:41 -02:00
Marcos Moura
2f6a9fab81 update website url 2016-12-05 01:40:09 -02:00
Marcos Moura
339cc74162 remove example 2016-12-05 01:35:37 -02:00
Marcos Moura
e857ad1739 Improvement/md tooltip (#144)
* fix stucked tooltips #103
2016-12-05 01:34:13 -02:00
Marcos Moura
9a80a37609 fix table row not watching item #116 #113 (#143) 2016-12-05 00:57:54 -02:00
Marcos Moura
7a8d15b3b4 add href support for mdBottomBar (#142 #121) 2016-12-05 00:27:52 -02:00
Marcos Moura
6ba87b65f9 fix shadow transition inside menus (#141 #129) 2016-12-04 23:59:26 -02:00
Marcos Moura
b7ffe0b779 Merge pull request #138 from marcosmoura/improvement/mdTabs
Improvement/md tabs
2016-12-03 17:48:21 -02:00
Marcos Moura
8eb59ab163 recreate tabs 2016-12-03 17:45:59 -02:00
Marcos Moura
f27d56fc09 start creation of tabs 2016-12-02 03:01:43 -02:00
Marcos Moura
1aa10cd9a7 Merge pull request #131 from marcosmoura/improvement/documentation
Improvement/documentation
2016-12-01 15:04:07 -02:00
Marcos Moura
3b13d3390f group theme text and fix height of codepen example 2016-12-01 15:02:25 -02:00
Marcos Moura
f61ac5841e start the creation of button "edit on codepen" 2016-12-01 04:56:51 -02:00
Marcos Moura
ed0aa0b69a create themes documentation 2016-12-01 03:30:39 -02:00
Marcos Moura
334c5c8147 general fixes and code cleanup 2016-12-01 02:18:27 -02:00
Marcos Moura
eaa87eacbd fix code example of typograph items 2016-12-01 01:45:09 -02:00
Marcos Moura
77dcbf5c1d remove directive example of ripple 2016-12-01 01:43:38 -02:00
Marcos Moura
45b8d68a5a add code example for tabs 2016-12-01 01:42:30 -02:00
Marcos Moura
c6c09d2b11 create table documentation with the new template 2016-12-01 01:39:06 -02:00
Marcos Moura
9edf3b6f6e improve docs 2016-11-30 23:55:36 -02:00
Marcos Moura
dbfd2aab99 add a better explanation of list classes 2016-11-30 23:40:19 -02:00
Marcos Moura
c697404470 create table documentation with the new template 2016-11-30 23:38:28 -02:00
Marcos Moura
eaa12ab6b9 add correct branch to release script 2016-11-29 05:42:21 -02:00
Marcos Moura
bc3d2325ce restore old docs 2016-11-29 05:35:38 -02:00
Marcos Moura
3231b68b5f [build] 0.4.0 2016-11-29 05:07:52 -02:00
Marcos Moura
10683bc317 get current version from url 2016-11-29 05:05:41 -02:00
Marcos Moura
d41b904b18 restore dist 2016-11-29 05:02:11 -02:00
Marcos Moura
14997c041b [build] 0.4.0 2016-11-29 04:56:00 -02:00
Marcos Moura
afc10c3a48 [build] 0.4.0 2016-11-29 04:50:18 -02:00
Marcos Moura
3c9ec8d86e redirect to old documentation versions 2016-11-29 04:06:38 -02:00
Marcos Moura
38e6176c1e generate old versions 2016-11-29 04:06:18 -02:00
Marcos Moura
e838454561 remove unused code and rename components 2016-11-29 02:35:11 -02:00
Marcos Moura
fc8f962117 optimize build time 2016-11-29 02:32:43 -02:00
Marcos Moura
b742be9cad add old releases in a folder 2016-11-29 02:32:22 -02:00
Marcos Moura
d00992e3fc improve docs 2016-11-29 02:21:03 -02:00
Marcos Moura
d8abb2665c create list documentation with the new template 2016-11-29 01:41:06 -02:00
Marcos Moura
58d0fc8796 add codepen examples 2016-11-29 01:14:48 -02:00
Marcos Moura
cc12269a8e create getting started page with the new template 2016-11-29 00:58:21 -02:00
Marcos Moura
5cb9a343e5 create getting started page with the new template 2016-11-28 19:34:27 -02:00
Marcos Moura
41d702bcab create introduction page with the new template 2016-11-28 16:31:29 -02:00
Marcos Moura
751530fc9e create error page with the new template 2016-11-28 16:27:17 -02:00
Marcos Moura
96cbb4c7e7 create about page with the new template 2016-11-28 16:21:00 -02:00
Marcos Moura
001051e761 create changelog page with the new template 2016-11-28 16:19:24 -02:00
Marcos Moura
938b70e9e6 create typography documentation with the new template 2016-11-28 16:17:06 -02:00
Marcos Moura
4d41949de1 create select documentation with the new template 2016-11-28 15:33:28 -02:00
Marcos Moura
c7b22b9e15 improve visibility of some code-blocks 2016-11-28 15:06:53 -02:00
Marcos Moura
20675ec905 create toolbar documentation with the new template 2016-11-28 15:01:09 -02:00
Marcos Moura
f5bbf6c234 Merge remote-tracking branch 'origin/develop' into improvement/documentation
* origin/develop:
  Fix unregisterMouseEvent not accepting the element as parameter (#118)
2016-11-28 01:17:58 -02:00
Marcos Moura
316419cd84 create sidenav documentation with the new template 2016-11-28 01:15:00 -02:00
Marcos Moura
29709926a7 create menu documentation with the new template 2016-11-28 01:04:21 -02:00
Marcos Moura
4d2f9aa8ff improvements over menu 2016-11-28 00:32:40 -02:00
Marcos Moura
78f086a6c4 fix text 2016-11-28 00:12:45 -02:00
Marcos Moura
af2507a099 create subheader documentation with the new template 2016-11-28 00:10:27 -02:00
Marcos Moura
92b44a2481 create switch documentation with the new template 2016-11-27 23:58:25 -02:00
Marcos Moura
b5ad249f9e create ripple documentation with the new template 2016-11-27 23:51:13 -02:00
Marcos Moura
9e5261b589 create radio documentation with the new template 2016-11-27 23:31:46 -02:00
Cabbaggio
7da5ce54e6 Fix unregisterMouseEvent not accepting the element as parameter (#118) 2016-11-27 22:21:31 -02:00
Marcos Moura
55c2e5202f create whiteframe documentation with the new template 2016-11-25 19:44:34 -02:00
Marcos Moura
487eb83bf7 create tooltip documentation with the new template 2016-11-25 19:13:12 -02:00
Marcos Moura
8da2745943 create input documentation with the new template 2016-11-25 18:57:34 -02:00
Marcos Moura
8de33154c6 fix typo 2016-11-25 17:22:10 -02:00
Marcos Moura
aea2836704 create icon documentation with the new template 2016-11-25 17:21:26 -02:00
Marcos Moura
19db664663 create dialog documentation with the new template 2016-11-25 17:10:40 -02:00
Marcos Moura
495c3b77bf fix bottom-right position 2016-11-25 01:52:27 -02:00
Marcos Moura
3897394153 Merge remote-tracking branch 'origin/develop' into improvement/documentation
* origin/develop:
  Add more alignment options (#109)
2016-11-25 01:37:49 -02:00
damienix
f1500752f7 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
2016-11-25 01:32:19 -02:00
Marcos Moura
ad416b2d69 create checkboxes documentation with the new template 2016-11-24 21:44:49 -02:00
Marcos Moura
2cb6e4ef58 Merge remote-tracking branch 'origin/develop' into improvement/documentation
* origin/develop:
  Update debug-lib.js (#106)
2016-11-24 21:43:46 -02:00
Paulo dos Santos
cfd8f16cd6 Update debug-lib.js (#106)
Fixes webpack missing module error when loading scss
2016-11-24 21:43:10 -02:00
Marcos Moura
c85883a853 create card documentation with the new template 2016-11-24 20:24:15 -02:00
Marcos Moura
277c035652 Fix image color names 2016-11-23 18:06:35 -02:00
Marcos Moura
c4fafe6911 Fix backdrop styles 2016-11-23 18:05:09 -02:00
Marcos Moura
2c76120d02 create button toggle documentation with the new template 2016-11-23 17:12:08 -02:00
Marcos Moura
8746e3523e create button documentation with the new template 2016-11-23 16:52:24 -02:00
Marcos Moura
8d297c54e0 improve bottom bar docs 2016-11-23 15:44:10 -02:00
Marcos Moura
b44764f20a create bottom-bar documentation with the new template 2016-11-23 15:31:52 -02:00
Marcos Moura
edd51ded4c add classes tab 2016-11-23 13:14:01 -02:00
Marcos Moura
c5e0b3053d fix copied toast position 2016-11-23 13:13:39 -02:00
Marcos Moura
96c97683cf Remove hover 2016-11-23 04:41:41 -02:00
Marcos Moura
86022b8259 Improve themes and codes 2016-11-23 04:41:06 -02:00
Marcos Moura
f12c611211 create avatar documentation with the new template 2016-11-23 04:21:40 -02:00
Marcos Moura
cbd034cc69 Add function to toggle sidenav and add page title 2016-11-23 02:54:28 -02:00
Marcos Moura
2ecf57dfa7 Show toast after copy 2016-11-23 02:53:42 -02:00
Marcos Moura
12a949911e Move clipboard to devDependencies 2016-11-23 02:24:48 -02:00
Marcos Moura
dce4b3660b Format code-block and apply clipboard.js 2016-11-23 02:24:06 -02:00
Marcos Moura
61ad868868 Improve toolbar behaviour 2016-11-23 01:48:40 -02:00
Marcos Moura
b02b8832da Improve template for mobile 2016-11-23 01:45:28 -02:00
Marcos Moura
6d8e89da41 Create new documentation template for components 2016-11-23 01:37:50 -02:00
Marcos Moura
32e0b84d90 Merge remote-tracking branch 'origin/master' into improvement/documentation
* origin/master:
  Make introduction easy to read
2016-11-22 01:54:51 -02:00
Marcos Moura
0eaeb5c25e Make introduction easy to read 2016-11-22 01:54:37 -02:00
Marcos Moura
cd77533296 Merge pull request #108 from marcosmoura/components/mdDialog
Components/md dialog
2016-11-22 01:47:22 -02:00
Marcos Moura
6525c52fcf Improve close transition 2016-11-22 01:45:15 -02:00
Marcos Moura
c6b30af353 Add example with HTML 2016-11-22 01:34:29 -02:00
Marcos Moura
f9083829ae Create prompt dialog preset 2016-11-22 01:23:40 -02:00
Marcos Moura
87e63c944a Create alert dialog preset 2016-11-22 00:37:59 -02:00
Marcos Moura
57aa40f6f8 Create confirm dialog preset 2016-11-22 00:26:10 -02:00
Marcos Moura
177860c5bd Create styles for actions and content 2016-11-21 22:30:32 -02:00
Marcos Moura
157c04a2ef Merge remote-tracking branch 'origin/master' into components/mdDialog
* origin/master:
  Remove extra space
  Create .github files and improve readme
  Remove outdated readme
2016-11-21 21:40:33 -02:00
Marcos Moura
550c569748 Remove extra space 2016-11-21 21:23:36 -02:00
Marcos Moura
faa42bc5c5 Create .github files and improve readme 2016-11-21 21:22:54 -02:00
Marcos Moura
5ff90ce0fb Remove outdated readme 2016-11-21 21:20:43 -02:00
Marcos Moura
aed8d97803 Improve docs transitions 2016-11-21 04:09:42 -02:00
Marcos Moura
2ba3a31f5d Add improvements related to performance 2016-11-21 04:05:21 -02:00
Marcos Moura
f406cd0dce Merge remote-tracking branch 'origin/master' into components/mdDialog
* origin/master:
  Improve tooltip styling
  Improve tooltip styling
  Force remove of all tooltips
  Fix inputs not being themable
  Fix typo
  [release] 0.3.3
  [build] 0.3.3
  Fix regression on inputs getting wrong value after manual update #101 #100 #96
2016-11-21 04:03:12 -02:00
Marcos Moura
110a9ba1cf Improve tooltip styling 2016-11-21 04:03:02 -02:00
Marcos Moura
d5e9d2f4d8 Improve tooltip styling 2016-11-21 04:01:49 -02:00
Marcos Moura
9bf4e2f53d Force remove of all tooltips 2016-11-21 03:52:42 -02:00
Marcos Moura
1692f999c8 Fix inputs not being themable 2016-11-21 03:42:26 -02:00
Marcos Moura
efe742fb83 Fix typo 2016-11-21 03:38:42 -02:00
Marcos Moura
c129474140 [release] 0.3.3 2016-11-21 03:32:30 -02:00
Marcos Moura
a2c7df68dc [build] 0.3.3 2016-11-21 03:32:28 -02:00
Marcos Moura
958e52ab5c [build] 0.3.3 2016-11-21 03:32:28 -02:00
Marcos Moura
2e66126de3 Fix regression on inputs getting wrong value after manual update #101 #100 #96 2016-11-21 03:29:21 -02:00
Marcos Moura
2a6f1240ab Fix dialog position on open 2016-11-21 02:51:01 -02:00
Marcos Moura
7539469356 Fix rules 2016-11-21 02:46:24 -02:00
Marcos Moura
68714bc7eb Improve transitions 2016-11-21 02:45:35 -02:00
Marcos Moura
afd0f7270f Fix dialog position 2016-11-21 02:34:28 -02:00
Marcos Moura
5dbd7db9ac Merge remote-tracking branch 'origin/master' into components/mdDialog
* origin/master:
  [release] 0.3.2
  [build] 0.3.2
  fix babel export default module.exports #92
  Fix tooltips jumping when screen resize #85
  Fix table not getting instance #91 #88
  Fix input getting wrong value after manual update
  Fix regression on password review #95
  Fix input getting wrong value after manual update #100 #96
  Update getClosestVueParent.js
  use the internal value of md_input to set the value of the container
  Fix for issue #88 and added material.debug.js
2016-11-21 01:44:44 -02:00
Marcos Moura
41a10d47d1 [release] 0.3.2 2016-11-21 01:39:31 -02:00
Marcos Moura
4ed04fb9d8 [build] 0.3.2 2016-11-21 01:39:30 -02:00
Marcos Moura
69a7fa96d4 [build] 0.3.2 2016-11-21 01:39:30 -02:00
Marcos Moura
88bd1eb6b1 Merge pull request #97 from Cabbaggio/#96_set_md_input_container_value_if_value_is_undefined
use the internal value of md_input to set the value of the container
2016-11-21 01:31:43 -02:00
Marcos Moura
8088820b0e Merge pull request #90 from pauloramires/dev
Add material.debug.js to dist folder
2016-11-21 01:30:29 -02:00
Marcos Moura
e7dea3e70c fix babel export default module.exports #92 2016-11-21 01:19:42 -02:00
Marcos Moura
732ca6f925 Fix tooltips jumping when screen resize #85 2016-11-21 00:49:44 -02:00
Marcos Moura
ca6c701318 Fix table not getting instance #91 #88 2016-11-21 00:21:14 -02:00
Marcos Moura
a8071a2415 Fix input getting wrong value after manual update 2016-11-21 00:18:46 -02:00
Marcos Moura
c2d8e505f3 Fix regression on password review #95 2016-11-21 00:09:49 -02:00
Marcos Moura
5efddcca95 Fix input getting wrong value after manual update #100 #96 2016-11-21 00:05:44 -02:00
Marcos Moura
339590cb2b Create alias for root element 2016-11-20 23:36:59 -02:00
Paulo dos Santos
19db71d6ff Update getClosestVueParent.js
Removed change as requested
2016-11-19 06:50:50 -02:00
kpilard
b54fc90d16 use the internal value of md_input to set the value of the container 2016-11-19 03:42:58 +01:00
Paulo dos Santos
9049ccfb02 Fix for issue #88 and added material.debug.js 2016-11-17 08:25:48 -02:00
Paulo dos Santos
32112ef6d8 Merge pull request #2 from marcosmoura/master
Sync with main repo
2016-11-17 06:10:35 -02:00
Marcos Moura
dc933ec911 Add todo 2016-11-17 03:10:00 -02:00
Marcos Moura
aee922f057 Add example os basic and opening from and to 2016-11-17 03:08:40 -02:00
Marcos Moura
dd94c25779 Create dialog opening from and closing to 2016-11-17 03:05:25 -02:00
Marcos Moura
e065ad65ac Add backdrop to md-menu 2016-11-17 00:15:55 -02:00
Marcos Moura
7ce7f35cbd Add initial transition 2016-11-16 23:54:56 -02:00
Marcos Moura
1b3525ff03 Init dialog 2016-11-16 17:56:26 -02:00
Marcos Moura
202fad1409 [build] 0.3.1 2016-11-16 03:05:35 -02:00
Marcos Moura
d2f22114aa [build] 0.3.1 2016-11-16 03:05:35 -02:00
Marcos Moura
50e665b9b4 [build] 0.3.1 2016-11-16 02:58:08 -02:00
Marcos Moura
6a9c488f2c [build] 0.3.1 2016-11-16 02:58:08 -02:00
Marcos Moura
f2b90b3965 Update changelog 2016-11-16 02:55:32 -02:00
Marcos Moura
1c6c48e542 [release] 0.3.1 2016-11-16 02:47:11 -02:00
Marcos Moura
89cad3051c [build] 0.3.1 2016-11-16 02:47:08 -02:00
Marcos Moura
0d803fabca [build] 0.3.1 2016-11-16 02:47:08 -02:00
Marcos Moura
cb0544d3da Fix nodePath and ignore node_modules files on watch 2016-11-16 02:15:17 -02:00
Marcos Moura
f489bb6ef5 Fix select not updating value 2016-11-16 02:14:46 -02:00
Marcos Moura
6d2cceb85f Merge pull request #71 from marcosmoura/bugfix/#67-input-number-not-accepting-numbers
Bugfix/#67 input number not accepting numbers
2016-11-15 23:29:32 -02:00
Marcos Moura
6ff240cac6 Merge pull request #72 from marcosmoura/bugfix/#64-md-container-crashing-when-value-is-null
Bugfix/#64 md container crashing when value is null
2016-11-15 23:29:24 -02:00
Marcos Moura
910aa13a2f Merge pull request #73 from marcosmoura/bugfix/#69#70-remove-misused-v-once
Fix components not being updated inside v-once #69 #70
2016-11-15 23:28:42 -02:00
Marcos Moura
b132e934ad Fix components not being updated inside v-once #69 #70 2016-11-15 23:27:04 -02:00
Marcos Moura
e1c11555d6 Fix md-input-container crashing when the select value is null #64 2016-11-15 23:01:18 -02:00
Marcos Moura
640df24ffb Fix input number not accepting numbers #67 2016-11-15 22:50:16 -02:00
Marcos Moura
ca34bd6d27 Fix base URL 2016-11-15 00:42:41 -02:00
Marcos Moura
e374ffeb72 Fix base URL 2016-11-15 00:42:41 -02:00
Marcos Moura
409307318b Fix base URL 2016-11-15 00:37:26 -02:00
Marcos Moura
faef6cbd4e Fix base URL 2016-11-15 00:37:26 -02:00
Marcos Moura
0a645e46f2 Fix base URL 2016-11-14 23:49:12 -02:00
Marcos Moura
e11a1dcafe Fix base URL 2016-11-14 23:49:12 -02:00
Marcos Moura
6ff5310506 Fix base URL 2016-11-14 23:44:53 -02:00
Marcos Moura
67c63f06c7 Update menu examples 2016-11-14 23:42:54 -02:00
Marcos Moura
9dde7ec863 Update menu examples 2016-11-14 23:42:54 -02:00
Marcos Moura
773e403fac Update menu examples 2016-11-14 23:38:25 -02:00
Marcos Moura
2a690e4be9 Update menu examples 2016-11-14 23:34:47 -02:00
Marcos Moura
86f763aeb6 Update menu examples 2016-11-14 23:34:47 -02:00
Marcos Moura
2befdb2d63 Update menu examples 2016-11-14 23:28:58 -02:00
Marcos Moura
6511ed41f2 [build] 0.3.0 2016-11-14 23:23:16 -02:00
Marcos Moura
29e94d72d6 [build] 0.3.0 2016-11-14 23:23:16 -02:00
Marcos Moura
b45962d38c [build] 0.3.0 2016-11-14 20:24:56 -02:00
Marcos Moura
eb863a0c84 [build] 0.3.0 2016-11-14 20:24:56 -02:00
Marcos Moura
ce14b8ae0a [build] 0.3.0 2016-11-14 20:00:59 -02:00
Marcos Moura
9760f5c939 [build] 0.3.0 2016-11-14 20:00:59 -02:00
Marcos Moura
f4f657549f Merge branch 'master' of https://github.com/marcosmoura/vue-material
* 'master' of https://github.com/marcosmoura/vue-material:
  Update index.html
  Rename vendor.c9202232.js to external.c9202232.js
2016-11-14 19:57:53 -02:00
Marcos Moura
d3bad86235 Merge branch 'master' of https://github.com/marcosmoura/vue-material
* 'master' of https://github.com/marcosmoura/vue-material:
  Update index.html
  Rename vendor.c9202232.js to external.c9202232.js
2016-11-14 19:57:53 -02:00
Marcos Moura
634f7b90f5 [build] 0.3.0 2016-11-14 19:54:09 -02:00
Marcos Moura
e4a307f401 [build] 0.3.0 2016-11-14 19:54:09 -02:00
Marcos Moura
3b9540f416 Update index.html 2016-11-14 19:48:07 -02:00
Marcos Moura
25ecf101e3 Update index.html 2016-11-14 19:48:07 -02:00
Marcos Moura
67779e7aaf Rename vendor.c9202232.js to external.c9202232.js 2016-11-14 19:47:11 -02:00
Marcos Moura
b78d5c184a Rename vendor.c9202232.js to external.c9202232.js 2016-11-14 19:47:11 -02:00
Marcos Moura
16abb25aa4 Rename file 2016-11-14 19:44:13 -02:00
Marcos Moura
430981723c Rename file 2016-11-14 19:44:13 -02:00
Marcos Moura
995799bdb2 Merge pull request #60 from marcosmoura/develop
v0.3.0
2016-11-14 19:24:59 -02:00
Marcos Moura
df377a9019 [release] 0.3.0 2016-11-14 19:23:17 -02:00
Marcos Moura
ba62fcbd7b [build] 0.3.0 2016-11-14 19:23:14 -02:00
Marcos Moura
12e0479329 [build] 0.3.0 2016-11-14 19:23:14 -02:00
Marcos Moura
02127eb6b0 Add release.sh 2016-11-14 19:20:11 -02:00
Marcos Moura
d382514373 Remove event 2016-11-14 19:01:28 -02:00
Marcos Moura
a37630184d Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  Add extra line between rules
  remove dotted outline around button
  pass on  DOM event for checkbox and radio
2016-11-14 19:00:54 -02:00
Marcos Moura
216edefb07 Merge pull request #59 from marcosmoura/components/mdTable
Components/md table
2016-11-14 18:58:03 -02:00
Marcos Moura
449bf37673 Add table examples 2016-11-14 18:56:33 -02:00
Marcos Moura
50d9bf0426 Finish table specs 2016-11-14 18:53:06 -02:00
Marcos Moura
eb8110a0c8 Merge remote-tracking branch 'origin/develop' into components/mdTable
* origin/develop:
  Watch for input value and set parent class
  Fix pointer on checkbox label
  Make inputs and textareas more reactive
  Make scrollbars optional
2016-11-14 10:15:55 -02:00
Marcos Moura
2c38515830 Improve sidenav performance and expansion list performance 2016-11-14 10:12:08 -02:00
Marcos Moura
c296bcf78a Merge pull request #57 from marcosmoura/improvement/mdScrollbar
Make scrollbars optional
2016-11-14 03:42:30 -02:00
Marcos Moura
536a2fb1d2 Merge pull request #56 from marcosmoura/improvements/mdInputContainer
Improvements/md input container
2016-11-14 03:42:20 -02:00
Marcos Moura
90efa2196e Watch for input value and set parent class 2016-11-14 03:39:16 -02:00
Marcos Moura
e96c21d45a Fix pointer on checkbox label 2016-11-14 03:36:13 -02:00
Marcos Moura
9d9062c8fe Make inputs and textareas more reactive 2016-11-14 03:33:04 -02:00
Marcos Moura
de2e9de0e4 Make scrollbars optional 2016-11-14 02:56:16 -02:00
Marcos Moura
a79b7feb74 Merge remote-tracking branch 'origin/develop' into components/mdTable
* origin/develop:
  Remove users array
  Add highlight color and add code example
2016-11-13 16:57:01 -02:00
Marcos Moura
760a824137 Merge pull request #55 from marcosmoura/components/mdSelect
Components/md select
2016-11-13 01:41:50 -02:00
Marcos Moura
ed4c12f73e Remove users array 2016-11-13 01:41:03 -02:00
Marcos Moura
891be4115f Add highlight color and add code example 2016-11-13 01:40:31 -02:00
Marcos Moura
6f96f84b18 Fix scrollbar on table card 2016-11-13 01:29:17 -02:00
Marcos Moura
f5011bc8b7 Merge remote-tracking branch 'origin/develop' into components/mdTable
* origin/develop:
  Create select with multiple
  Make md-select with md-menu
  Fix for issue #41 (md-button ignoring type prop)
  Finish md-menu spec
  Add keyboard shortcuts to menu
  Add close event on tab
  Close content on esc
  Drop transitionend dependency
  Keep menu content inside viewport
  Recalculate position on resize
  Add menu code in card example
  Add menu in a button text
  Add menu to card example
  Refactor huge method
  Make menu open in a correct position
  Add initial styles and detach and attach menu on click
  Force size of demo example
  Add page title
  Add menu tag
  Add empty md-menu files
2016-11-13 01:24:52 -02:00
Marcos Moura
599ffc4e4e Merge pull request #54 from marcosmoura/components/mdSelect
Components/md select
2016-11-13 01:18:57 -02:00
Marcos Moura
5bdca60593 Create select with multiple 2016-11-13 01:17:39 -02:00
Marcos Moura
18da74e939 Make md-select with md-menu 2016-11-12 14:00:15 -02:00
Marcos Moura
dd8773f5ac Merge pull request #50 from kristianmandrup/master
pass on  DOM event for checkbox and radio
2016-11-11 17:35:30 -02:00
Marcos Moura
80eca0c070 Merge pull request #52 from yeknava/patch-1
remove dotted outline around button in firefox
2016-11-11 17:33:12 -02:00
Marcos Moura
b55fbb54c1 Add extra line between rules 2016-11-11 17:32:23 -02:00
yeknava
de9b8d8765 remove dotted outline around button 2016-11-10 19:54:39 +03:30
Kristian Mandrup
390a8863b0 pass on DOM event for checkbox and radio 2016-11-09 20:26:54 +01:00
Marcos Moura
c7c0d0e231 Merge remote-tracking branch 'origin/develop' into components/mdSelect
* origin/develop:
  Finish md-menu spec
  Add keyboard shortcuts to menu
  Add close event on tab
  Close content on esc
  Drop transitionend dependency
  Keep menu content inside viewport
  Recalculate position on resize
  Add menu code in card example
  Add menu in a button text
  Add menu to card example
  Refactor huge method
  Make menu open in a correct position
  Add initial styles and detach and attach menu on click
  Force size of demo example
  Add page title
  Add menu tag
  Add empty md-menu files
2016-11-03 01:42:55 -02:00
Marcos Moura
45136239b2 Merge pull request #30 from marcosmoura/components/mdMenu
Components > md-menu
2016-11-03 01:42:36 -02:00
Marcos Moura
f217a2b7c0 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  Fix for issue #41 (md-button ignoring type prop)
2016-11-03 01:39:01 -02:00
Marcos Moura
7e72fa5060 Create pagination HTML 2016-11-03 01:36:30 -02:00
Marcos Moura
4b06e10d71 Merge pull request #45 from pauloramires/master
Fix for issue #41 (md-button ignores type prop)
2016-11-03 00:57:59 -02:00
Paulo dos Santos
ca088116f5 Merge pull request #1 from pauloramires/pauloramires-patch-1
Fix for issue #41 (md-button ignoring type prop)
2016-11-02 21:30:44 -02:00
Paulo dos Santos
3babdb8da4 Fix for issue #41 (md-button ignoring type prop) 2016-11-02 21:30:15 -02:00
Marcos Moura
e69c001e50 Finish alternate header 2016-11-01 02:44:30 -02:00
Marcos Moura
4ade9739a3 Move chokidar to devDependencies 2016-11-01 02:43:56 -02:00
Marcos Moura
773c527eb3 Remove focus states (temporarily) 2016-11-01 02:43:27 -02:00
Marcos Moura
1b2cefebb1 Create empty alternative header 2016-10-31 02:17:13 -02:00
Marcos Moura
f10e60772b Cleanup 2016-10-31 02:17:02 -02:00
Marcos Moura
74e64072b0 Create empty pagination component 2016-10-31 01:41:56 -02:00
Marcos Moura
c220d92aa7 Add edit button and inline select 2016-10-31 01:38:29 -02:00
Marcos Moura
cc5a9a80ea Enable md-select outside a container 2016-10-31 01:38:15 -02:00
Marcos Moura
39aac62b59 Make checkboxes be controlled by keyboard 2016-10-31 01:37:24 -02:00
Marcos Moura
6110895a2e Improve event listeners 2016-10-27 21:46:13 -02:00
Marcos Moura
890a26009f Fix max-length count of initial values 2016-10-27 21:46:01 -02:00
Marcos Moura
5c361ec012 Add a better content to table docs 2016-10-27 13:17:46 -02:00
Marcos Moura
67ac1b15ee Merge remote-tracking branch 'origin/develop' into components/mdTable
* origin/develop:
  default 'type' value is now 'button'
  updated docs
  add 'type' props to switch button
2016-10-27 13:10:11 -02:00
Marcos Moura
740d15d37b Start creation of edit dialogs 2016-10-27 11:46:40 -02:00
Marcos Moura
b7ffe219e0 Enable auto select when clicking on the row 2016-10-27 04:48:13 -02:00
Marcos Moura
26d4a835e1 Fix misalignment on head with span text 2016-10-27 04:36:54 -02:00
Marcos Moura
5be30b3e9a Add numeric style to table head and add tooltip 2016-10-27 04:35:25 -02:00
Marcos Moura
3e493a2b8b Fix sorted head color 2016-10-27 03:54:20 -02:00
Marcos Moura
a7399776e2 Add sort buttons with ripple effect 2016-10-27 03:52:58 -02:00
Marcos Moura
b9ac127499 Increase checkbox clickable area from 20px to 40px 2016-10-27 03:51:27 -02:00
Marcos Moura
19caac672c Increase docs width 2016-10-27 03:48:45 -02:00
Marcos Moura
dafd88e2c3 Make components run only once to increase performance 2016-10-27 03:48:26 -02:00
Marcos Moura
aa4135fc71 Improve logic of selection inside table 2016-10-26 21:59:51 -02:00
Marcos Moura
0bcca87f08 Create selectable table 2016-10-26 01:58:35 -02:00
Marcos Moura
d755014fff Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  default 'type' value is now 'button'
  updated docs
  add 'type' props to switch button
2016-10-25 22:26:25 -02:00
Marcos Moura
5163359b5e Start table component 2016-10-25 21:10:04 -02:00
Marcos Moura
5c56e02e04 Create empty component 2016-10-25 10:59:36 -02:00
Marcos Moura
4fc55cfe36 Merge pull request #27 from guillaumerxl/master
Added 'type' props to switch button
2016-10-25 10:11:26 -02:00
Guillaume Rouxel
2c171450af default 'type' value is now 'button' 2016-10-25 11:48:22 +02:00
Guillaume Rouxel
25d7d6aea3 updated docs 2016-10-25 11:47:21 +02:00
Marcos Moura
1e2e31fe45 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  Add babel-cli as dev dependecy
2016-10-25 05:17:55 -02:00
Marcos Moura
b3ae343aca Finish md-menu spec 2016-10-25 05:09:44 -02:00
Marcos Moura
6cf28725d1 Merge remote-tracking branch 'origin/develop' into components/mdMenu
* origin/develop:
  Add babel-cli as dev dependecy
  Update README.md
2016-10-24 23:37:37 -02:00
Marcos Moura
104fd65e88 Merge pull request #28 from lucassouza1/master
Add babel-cli as dev dependecy
2016-10-24 23:36:59 -02:00
Marcos Moura
700a1da549 Merge branch 'components/mdMenu' of https://github.com/marcosmoura/vue-material into components/mdMenu
* 'components/mdMenu' of https://github.com/marcosmoura/vue-material:
  Add keyboard shortcuts to menu
  Add close event on tab
  Close content on esc
  Drop transitionend dependency
  Keep menu content inside viewport
2016-10-24 23:24:59 -02:00
Marcos Moura
1927a135f3 Merge remote-tracking branch 'origin/develop' into components/mdMenu
* origin/develop:
  Generate v0.2.0 documentation
  Fix docs
  Improve detection of card lightness
  Fix height of buttons inside card actions
2016-10-24 23:24:15 -02:00
Marcos Moura
502c348dd5 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  Update README.md
2016-10-24 23:23:46 -02:00
Marcos Moura
a929aafda9 Add keyboard shortcuts to menu 2016-10-24 22:04:00 -02:00
Lucas Souza
5721d8e8b5 Add babel-cli as dev dependecy 2016-10-24 21:46:49 -02:00
Marcos Moura
10d329a220 Add close event on tab 2016-10-24 21:37:28 -02:00
Marcos Moura
955b1ed40a Close content on esc 2016-10-24 21:26:26 -02:00
Marcos Moura
7fed76214d Drop transitionend dependency 2016-10-24 21:26:07 -02:00
Marcos Moura
3174ffc1ee Merge remote-tracking branch 'origin/develop' into components/mdMenu
* origin/develop:
  Generate v0.2.0 documentation
  Fix docs
  Improve detection of card lightness
  Fix height of buttons inside card actions
2016-10-24 19:44:20 -02:00
Marcos Moura
b564e48c0a Keep menu content inside viewport 2016-10-24 19:43:55 -02:00
Guillaume Rouxel
68c02ae766 add 'type' props to switch button 2016-10-24 22:36:00 +02:00
Marcos Moura
b5bdea0165 Update README.md 2016-10-24 18:25:47 -02:00
Marcos Moura
e08484e505 Generate v0.2.0 documentation 2016-10-24 03:02:01 -02:00
Marcos Moura
935ea6514e Generate v0.2.0 documentation 2016-10-24 03:02:01 -02:00
Marcos Moura
1d1e3e9e13 Fix docs 2016-10-24 02:59:17 -02:00
Marcos Moura
5b2fb96708 Improve detection of card lightness 2016-10-24 02:03:49 -02:00
Marcos Moura
f24ab28ad7 Fix height of buttons inside card actions 2016-10-24 02:03:25 -02:00
Marcos Moura
75a55ef398 Merge branch 'develop' into components/mdMenu
* develop:
  Fix code example
  Generate v0.2.0 documentation
2016-10-24 01:51:42 -02:00
Marcos Moura
473c2392ad Merge remote-tracking branch 'origin/develop' into components/mdMenu
* origin/develop:
  0.2.0
  Add Roboto font and google icons to the docs #15
  Add Roboto font and google icons to the docs
  Explains better how to install and configure vue-material #11
  Emit change & input events from mdTextarea
2016-10-24 01:51:23 -02:00
Marcos Moura
279180dcbd Fix code example 2016-10-24 01:13:27 -02:00
Marcos Moura
a4260f1cd9 Generate v0.2.0 documentation 2016-10-24 01:07:44 -02:00
Marcos Moura
3968eda8a9 Generate v0.2.0 documentation 2016-10-24 01:07:44 -02:00
Marcos Moura
d4c2245166 0.2.0 2016-10-24 00:51:53 -02:00
Marcos Moura
ad0d2c13e2 Recalculate position on resize 2016-10-24 00:33:11 -02:00
Marcos Moura
421ce7bb21 Add Roboto font and google icons to the docs #15 2016-10-21 18:26:51 -02:00
Marcos Moura
182fafe745 Add Roboto font and google icons to the docs #15 2016-10-21 18:25:53 -02:00
Marcos Moura
d9bcbf4b71 Add Roboto font and google icons to the docs 2016-10-21 18:25:29 -02:00
Marcos Moura
a7e27ae071 Merge branch 'develop' of https://github.com/marcosmoura/vue-material into develop
* 'develop' of https://github.com/marcosmoura/vue-material:
  Emit change & input events from mdTextarea
2016-10-21 18:22:25 -02:00
Marcos Moura
cc43985fc1 Explains better how to install and configure vue-material #11 2016-10-21 18:22:14 -02:00
Marcos Moura
32a59e3cd6 Merge pull request #16 from JauntyTech/add-textarea-events
Emit change & input events from mdTextarea
2016-10-20 16:55:49 -02:00
Jan Van Bruggen
b474af9fd8 Emit change & input events from mdTextarea 2016-10-20 11:50:03 -07:00
Marcos Moura
6e1f65d43f Add menu code in card example 2016-10-20 02:55:41 -02:00
Marcos Moura
0383b45c52 Add menu in a button text 2016-10-20 02:54:28 -02:00
Marcos Moura
d146f344c8 Add menu to card example 2016-10-20 02:54:12 -02:00
Marcos Moura
77f34685ad Refactor huge method 2016-10-20 02:49:31 -02:00
Marcos Moura
f138482fc3 Make menu open in a correct position 2016-10-20 02:40:20 -02:00
Marcos Moura
d2c7d2603e Add initial styles and detach and attach menu on click 2016-10-19 21:33:31 -02:00
Marcos Moura
18b3aac2ac Force size of demo example 2016-10-19 21:33:05 -02:00
Marcos Moura
a126de7507 Add page title 2016-10-19 19:32:51 -02:00
Marcos Moura
d703d67689 Add menu tag 2016-10-19 02:25:54 -02:00
Marcos Moura
0b4a7d8818 Merge remote-tracking branch 'origin/develop' into components/mdMenu
* origin/develop:
  Add cards to changelog
  Add card examples
  Add more card examples and fix text scrim
  Add expansion card and media examples
  Add ripple effect to some cards
  Add card image aspect ratio control
  Create first spec of cards
2016-10-19 02:25:06 -02:00
Marcos Moura
524629d7e6 Add empty md-menu files 2016-10-19 02:25:00 -02:00
Marcos Moura
88b5157199 Merge pull request #12 from marcosmoura/components/mdCard
Components > md-card
2016-10-19 02:05:48 -02:00
Marcos Moura
2b6d4236a8 Add cards to changelog 2016-10-19 02:03:19 -02:00
Marcos Moura
f12a777c1a Add card examples 2016-10-19 01:58:21 -02:00
Marcos Moura
196f77ec11 Add more card examples and fix text scrim 2016-10-19 00:58:10 -02:00
Marcos Moura
d7bd0789cc Add expansion card and media examples 2016-10-19 00:43:37 -02:00
Marcos Moura
5563ebcc73 Add ripple effect to some cards 2016-10-18 13:48:41 -02:00
Marcos Moura
9d2a0ebe78 Add card image aspect ratio control 2016-10-18 03:56:40 -02:00
Marcos Moura
09ecb4bd15 Create first spec of cards 2016-10-18 03:23:30 -02:00
Marcos Moura
655f90e9e6 0.1.2 2016-10-17 21:19:00 -02:00
Marcos Moura
8b48bdfacc 0.1.2 2016-10-17 21:19:00 -02:00
Marcos Moura
150857bca1 Add 0.1.2 changelog 2016-10-17 21:16:46 -02:00
Marcos Moura
b14c4bd807 Fix wrong example order #7 2016-10-17 21:11:30 -02:00
Marcos Moura
5c2374b1b8 Fix wrong example order #7 2016-10-17 21:10:49 -02:00
Marcos Moura
4a602f7fb9 Fix wrong example order 2016-10-17 21:08:56 -02:00
Marcos Moura
29303889c7 Fix not well aligned icons inside fab 2016-10-17 21:03:17 -02:00
Marcos Moura
b393f47382 Fix tooltip not working on firefox #6 2016-10-17 21:01:36 -02:00
Marcos Moura
5c86c619f1 Add Analytics code 2016-10-17 18:02:01 -02:00
Marcos Moura
17846fe13b Add Analytics code 2016-10-17 18:02:01 -02:00
Marcos Moura
2d7a0f70a8 Add Analytics code 2016-10-17 17:56:22 -02:00
Marcos Moura
9d1cc0063a Generate new build 2016-10-17 16:21:14 -02:00
Marcos Moura
a07227c178 Generate new build 2016-10-17 16:21:14 -02:00
Marcos Moura
255495df22 Fix 404 on link buttons 2016-10-17 16:14:26 -02:00
Marcos Moura
0a59ff410e Finish error page 2016-10-17 16:14:13 -02:00
Marcos Moura
2bae863e37 Fix changelog and demo texts 2016-10-17 05:06:35 -02:00
Marcos Moura
24068e2d09 New docs build 2016-10-17 05:03:34 -02:00
Marcos Moura
f3fb4ab62f New docs build 2016-10-17 05:03:34 -02:00
Marcos Moura
bb82cf3efd Fix empty value on select 2016-10-17 05:01:48 -02:00
Marcos Moura
3f594e95ff New docs build 2016-10-17 04:58:29 -02:00
Marcos Moura
48c4ffd274 New docs build 2016-10-17 04:58:29 -02:00
Marcos Moura
c023ed0613 Add height to demo container 2016-10-17 04:57:23 -02:00
Marcos Moura
500175f4b8 Add theme installation 2016-10-17 04:37:09 -02:00
Marcos Moura
06e43f844e Add initial firefox support and finish first documentation release 2016-10-17 04:33:00 -02:00
Marcos Moura
7a9a0cfe27 Add initial firefox support and finish first documentation release 2016-10-17 04:33:00 -02:00
Marcos Moura
aa277c60a0 Add about page 2016-10-17 02:57:50 -02:00
Marcos Moura
a4db02c227 Fix spacing 2016-10-17 00:36:19 -02:00
Marcos Moura
07ddab37d7 Add initial changelog 2016-10-17 00:34:55 -02:00
Marcos Moura
d45d1d9527 Add installation notes 2016-10-17 00:19:23 -02:00
Marcos Moura
dcdad43762 Remove old rules 2016-10-17 00:19:12 -02:00
Marcos Moura
1c53dde754 Add code example 2016-10-17 00:19:01 -02:00
Marcos Moura
8e29c2d13e Force min-height to be applied when tab is created #5 2016-10-16 23:02:58 -02:00
Marcos Moura
18e06041e4 Fixes register single theme #3 2016-10-16 23:00:55 -02:00
Marcos Moura
f62d5f36b2 New docs release 2016-10-14 20:35:25 -03:00
Marcos Moura
0ef6cd312f New docs release 2016-10-14 20:35:25 -03:00
Marcos Moura
86e1504ba3 Add components code example 2016-10-14 20:28:12 -03:00
Marcos Moura
2f7c4bd68c Finish installation docs 2016-10-14 19:12:48 -03:00
Marcos Moura
0526bc9544 Fix deploy docs after first push 2016-10-14 19:12:29 -03:00
Marcos Moura
f46f7ffb34 Improve build tasks 2016-10-14 15:03:54 -03:00
Marcos Moura
217ed7cdd9 Generate a new docs build 2016-10-14 14:58:08 -03:00
Marcos Moura
7438f4bae8 Generate a new docs build 2016-10-14 14:58:08 -03:00
Marcos Moura
4e0f9bd8b8 Add deploy tasks and generate a new docs build 2016-10-14 14:53:39 -03:00
Marcos Moura
03513754dc Add code example to bottom bar and buttons 2016-10-14 14:08:19 -03:00
Marcos Moura
10e3f25dd8 Add theme configuration 2016-10-14 13:10:58 -03:00
Marcos Moura
68627a3e2a Improve code block alignment and adjust mobile title 2016-10-14 13:02:08 -03:00
Marcos Moura
8acda87caf Fix typo 2016-10-14 11:43:54 -03:00
Marcos Moura
b543f666f5 Add LICENSE 2016-10-14 11:42:59 -03:00
Marcos Moura
a7d5360644 Bump version 2016-10-14 11:38:35 -03:00
Marcos Moura
1e4f03d87d Add credit 2016-10-14 11:33:08 -03:00
Marcos Moura
adf21910c4 Add better links 2016-10-14 11:30:38 -03:00
Marcos Moura
80e9230f68 Break line 2016-10-14 11:27:35 -03:00
Marcos Moura
bfaca81785 Change order of texts 2016-10-14 11:26:58 -03:00
Marcos Moura
bc532d0342 Add a small readme 2016-10-14 11:25:29 -03:00
Marcos Moura
24e5ba6c72 Release new build 2016-10-13 19:14:15 -03:00
Marcos Moura
a684b7a827 Fix install section 2016-10-13 19:14:05 -03:00
Marcos Moura
2db7f5f9f3 Expose VueMaterial to window 2016-10-13 04:46:36 -03:00
Marcos Moura
59b4ba7660 Update libs and improve package.json 2016-10-13 04:41:31 -03:00
Marcos Moura
956bf5cb9e First release 2016-10-13 04:33:01 -03:00
Marcos Moura
2107cf2a28 Improve components 2016-10-13 04:29:09 -03:00
Marcos Moura
35ab671a9b Fix images path 2016-10-13 03:52:54 -03:00
Marcos Moura
51e8384ae3 Add support to yarn 2016-10-13 03:34:09 -03:00
Marcos Moura
f967fe912f Change all webpack tasks 2016-10-13 03:27:58 -03:00
Marcos Moura
42e8471db8 Add code doc to avatar 2016-10-05 06:00:54 -03:00
Marcos Moura
3724f8e611 Force white background on example widgets 2016-10-05 05:55:21 -03:00
Marcos Moura
29fd5ac2c0 Add getting started page and add example image to introduction 2016-10-05 05:53:01 -03:00
Marcos Moura
f017921d62 Upgrade libs 2016-10-05 05:52:30 -03:00
Marcos Moura
15d54baecd Keep the old class name if the theme fails 2016-10-05 05:52:15 -03:00
Marcos Moura
ecb5c3724d Fix error color when input is focused 2016-10-05 05:51:47 -03:00
Marcos Moura
d46aeabe5b Align icon vertically 2016-10-05 05:51:23 -03:00
Marcos Moura
689f39842b Create introduction page without images 2016-09-27 00:53:25 -03:00
Marcos Moura
e67a7bb7e2 Start documentation of introduction 2016-09-26 12:57:41 -03:00
Marcos Moura
c5d4056237 Fix partial match of active class on router-link 2016-09-26 12:12:29 -03:00
Marcos Moura
3410e4fb18 Add page transition 2016-09-26 12:09:14 -03:00
Marcos Moura
ad950f331d Remove comma 2016-09-26 11:42:22 -03:00
Marcos Moura
01d23f7d24 Refactor doc templates 2016-09-26 11:41:51 -03:00
Marcos Moura
1f2d01cf5e Create template for single pages 2016-09-26 11:14:26 -03:00
Marcos Moura
42da5df7fc Add empty page for changelogs 2016-09-26 01:29:28 -03:00
Marcos Moura
d93aa2e834 Enable dynamic themes 2016-09-26 01:13:27 -03:00
Marcos Moura
8d085da66b Bump version and fix dependencies 2016-09-26 00:33:03 -03:00
Marcos Moura
91556a7363 Remove underscore rule 2016-09-26 00:31:31 -03:00
Marcos Moura
c69bc158f3 Remove primary color of opened expand lists 2016-09-26 00:31:17 -03:00
Marcos Moura
5f966430b3 Change subheader tag to li inside lists 2016-09-26 00:30:43 -03:00
Marcos Moura
6d235460a4 Improve expand transitions and fix dense lists 2016-09-26 00:30:11 -03:00
Marcos Moura
9f31be1066 Fix invalid button after refactor 2016-09-26 00:29:00 -03:00
Marcos Moura
9c7b41982a Fix invalid maxlength type 2016-09-26 00:28:34 -03:00
Marcos Moura
de3d5aa21f Create navigation items 2016-09-26 00:27:16 -03:00
Marcos Moura
59a31d0dab Improve expansion list 2016-09-25 22:10:29 -03:00
Marcos Moura
7bcaeabf1d Create expansible lists 2016-09-25 00:15:53 -03:00
Marcos Moura
3221af9e37 Add dynamic theme example to bottom bar 2016-09-20 02:26:25 -03:00
Marcos Moura
a7a17f30ba Call setActive when the mdActive change 2016-09-20 02:26:08 -03:00
Marcos Moura
2dfd8edba6 Fix transition of shifted bars 2016-09-20 02:25:21 -03:00
Marcos Moura
b284ec58fe Improve logo size 2016-09-20 02:24:19 -03:00
Marcos Moura
987a6e2b02 Move class object to new function to be called on each loop 2016-09-20 02:23:58 -03:00
Marcos Moura
3e68a276ee Add themes to playground 2016-09-20 02:22:48 -03:00
Marcos Moura
31029a147d Fix dynamic themes not removing last class 2016-09-20 02:22:17 -03:00
Marcos Moura
9138fe2bc3 Autofix for eslint errors 2016-09-19 21:51:39 -03:00
Marcos Moura
f51124d27e Increase height of list container 2016-09-19 21:24:22 -03:00
Marcos Moura
2812cc8047 Rename buttons to match with theme color 2016-09-19 21:18:10 -03:00
Marcos Moura
046bf2055a Fix avatar colors 2016-09-19 21:15:11 -03:00
Marcos Moura
5e4e21fbb0 Update whiteframe examples 2016-09-19 21:14:47 -03:00
Marcos Moura
77e330f96b Add app logo 2016-09-19 21:14:18 -03:00
Marcos Moura
5a2cb5b095 Fix weird hover colors and add docs for clean fab 2016-09-19 20:35:54 -03:00
Marcos Moura
bb5a7be84e Update tooltip examples and fix tooltip z-index 2016-09-19 20:35:30 -03:00
Marcos Moura
97d61de4e7 Update Switch Examples and add primary and warn colors 2016-09-19 20:34:53 -03:00
Marcos Moura
a48283ebad Update Toolbar Examples and add large and medium variants 2016-09-19 20:34:09 -03:00
Marcos Moura
d7a3979271 Update subheader examples 2016-09-19 19:29:17 -03:00
Marcos Moura
1b472c74d1 Update sidenav examples 2016-09-19 19:29:09 -03:00
Marcos Moura
051eb7ee2c Improve logo 2016-09-19 01:23:54 -03:00
Marcos Moura
c0981a8775 Update TODO 2016-09-19 01:02:12 -03:00
Marcos Moura
8c8e99edba Rename home page 2016-09-19 00:46:56 -03:00
Marcos Moura
19f25ba4b7 Add example for several components 2016-09-19 00:45:48 -03:00
Marcos Moura
d4aece7d43 Refactor tab themes 2016-09-18 14:04:02 -03:00
Marcos Moura
8ffbc5c3a9 Create components to show demos 2016-09-18 14:03:52 -03:00
Marcos Moura
57add6c6bc Fix default contrast colors always getting white hue 2016-09-18 14:03:16 -03:00
Marcos Moura
9160e3fb60 Improve performance and fix huge bugs on tabs components 2016-09-18 11:46:50 -03:00
Marcos Moura
7ae2dc5cf6 Improve docs 2016-09-12 23:04:06 -03:00
Marcos Moura
d4708ddbcc Update libs 2016-09-12 15:17:01 -03:00
Marcos Moura
b0a9b2fd62 Create demo component 2016-09-12 15:02:26 -03:00
Marcos Moura
1b3e2509ab Improve tabs docs 2016-09-12 03:26:08 -03:00
Marcos Moura
1a452ebe44 Improve docs of buttons 2016-09-12 03:21:58 -03:00
Marcos Moura
40fda7ed2b Add possibility to have whiteframes inside tabs 2016-09-12 03:16:10 -03:00
Marcos Moura
4beb7f6426 Improve calculation of tab positions on resize 2016-09-12 03:07:23 -03:00
Marcos Moura
d3ad870dce Improve look and feel of docs 2016-09-12 02:37:20 -03:00
Marcos Moura
36d4c26dd1 Create tabs 2016-09-12 02:34:07 -03:00
Marcos Moura
f92aaa0487 Start documentation template 2016-09-09 16:59:55 -03:00
Marcos Moura
e8db79a933 Add elevation 1 as default 2016-09-09 16:59:23 -03:00
Marcos Moura
f9a1fdddcd Improve disabled toggles 2016-09-09 14:02:47 -03:00
Marcos Moura
7e69d1b0a9 Improve complete example on list page 2016-09-09 13:47:03 -03:00
Marcos Moura
e413c6b9f7 Improve click function 2016-09-09 13:46:29 -03:00
Marcos Moura
bea0da29f5 Fix parent detection on tooltips 2016-09-09 13:36:48 -03:00
Marcos Moura
a41291ddaf Improve toolbar documentation 2016-09-09 13:36:05 -03:00
Marcos Moura
caeb7f5241 Add keyboard shortcuts to select 2016-09-09 02:26:52 -03:00
Marcos Moura
dca1629304 Start keyboard enhancements on mdSelect 2016-09-08 18:42:19 -03:00
Marcos Moura
5681a3b604 Improve app template ui 2016-09-08 02:43:35 -03:00
Marcos Moura
be07ac0f9b General improvements 2016-09-08 02:39:13 -03:00
Marcos Moura
7b74e5ceff Add link for all sections 2016-09-08 02:38:59 -03:00
Marcos Moura
c1b7e1e6fc Highlight current route link 2016-09-08 02:38:31 -03:00
Marcos Moura
1bba32693e Improve readability 2016-09-08 02:15:03 -03:00
Marcos Moura
b18c5657ce Add support to router-link 2016-09-08 02:14:39 -03:00
Marcos Moura
c971b04613 Improve home link 2016-09-08 01:40:30 -03:00
Marcos Moura
5c54554260 Change home URL 2016-09-08 01:39:06 -03:00
Marcos Moura
d5287baea9 Create a better cleanup 2016-09-08 01:38:25 -03:00
Marcos Moura
4a57d92ad6 Rename page title 2016-09-08 01:33:45 -03:00
Marcos Moura
348265b964 Wrap left sidenav to parent 2016-09-08 01:33:36 -03:00
Marcos Moura
2e8284319c Fix prop name 2016-09-08 01:33:00 -03:00
Marcos Moura
e7ce5a92c9 Upgrade switch to vue 2.0 without drag events 2016-09-08 01:32:30 -03:00
Marcos Moura
18be69c8be Upgrade tooltip to vue 2.0 2016-09-08 01:31:56 -03:00
Marcos Moura
aa1c5b71f7 Init upgrade of select 2016-09-07 17:08:38 -03:00
Marcos Moura
497218ff28 Add v-model to select 2016-09-06 19:17:44 -03:00
Marcos Moura
daa56f7261 Upgrade clickway to vue 2 2016-09-06 01:41:25 -03:00
Marcos Moura
28047f6eef Upgrade radio to vue 2 2016-09-06 01:30:40 -03:00
Marcos Moura
4cc838766a Update documentation 2016-09-06 01:30:21 -03:00
Marcos Moura
a59381a62a Forward click event 2016-09-06 01:30:05 -03:00
Marcos Moura
616b161c55 Remove legacy documentation 2016-09-06 01:29:07 -03:00
Marcos Moura
181762807f Improve documentation 2016-09-06 00:24:38 -03:00
Marcos Moura
dff915d350 Fix undefined classlist 2016-09-05 22:22:56 -03:00
Marcos Moura
37df21645a Improve checkbox rendering performance 2016-09-05 22:16:51 -03:00
Marcos Moura
7f53a13f6d Rename change method and simplify the slot check 2016-09-05 22:10:58 -03:00
Marcos Moura
5044f35d26 Rename checked variable 2016-09-05 22:07:50 -03:00
Marcos Moura
2dadaad0b6 Update checkbox to use v-model 2016-09-05 22:03:25 -03:00
Marcos Moura
bad6a5b448 Improve look and feel of checkboxes and rename sidenav events 2016-09-05 02:53:55 -03:00
Marcos Moura
f9064128a5 Convert checkbox to vue 2 2016-09-05 02:47:08 -03:00
Marcos Moura
6ab3bfc95d Improve docs using new components 2016-09-05 02:17:20 -03:00
Marcos Moura
72d86d25f8 Upgrade to Vue 2 2016-09-05 02:16:39 -03:00
Marcos Moura
1c02e5ae72 Upgrade to Vue 2 2016-09-05 02:15:57 -03:00
Marcos Moura
ca0c3c3c86 Convert component template to render function 2016-09-05 02:15:28 -03:00
Marcos Moura
e2fdd0aa34 Add old pages 2016-08-31 20:22:36 -03:00
Marcos Moura
d60c0f2157 Improve look and feel of toolbar 2016-08-31 19:20:49 -03:00
Marcos Moura
96d5fdc0f1 Change the ready method to mounted 2016-08-31 19:20:23 -03:00
Marcos Moura
13865a7076 Start migration to Vue 2.0 2016-08-30 12:41:16 -03:00
Marcos Moura
000b9da639 Add initial docs for Bottom Bar 2016-08-17 09:03:13 -03:00
Marcos Moura
ce9be7ca56 Create initial documentation for avatars 2016-08-17 08:51:43 -03:00
Marcos Moura
1e8ff9574a Start the creation of page template 2016-08-17 00:59:06 -03:00
Marcos Moura
abd1eb2dbf Merge branch 'master' of https://github.com/marcosmoura/vue-material 2016-08-16 23:37:03 -03:00
Marcos Moura
a15692494a Add default hues 2016-08-16 22:46:18 -03:00
Marcos Moura
21528c2767 Revert hue-1 styles 2016-08-16 22:39:26 -03:00
Marcos Moura
307ef6d023 Add themes with rgba colors 2016-08-16 22:38:18 -03:00
Marcos Moura
9989670150 Add example code for md-avatar 2016-08-15 23:34:05 -03:00
Marcos Moura
07dbc1272d Create optgroups 2016-08-15 21:02:16 -03:00
Marcos Moura
2f92d3d578 Some HTML fixes 2016-08-12 02:01:00 -03:00
Marcos Moura
8737c54e8d Start validation of selects 2016-08-11 19:55:14 -03:00
Marcos Moura
cd77016eaf Create select menu and add core directive to handle outside clicks 2016-08-10 20:54:58 -03:00
Marcos Moura
5e00d77482 Start creation of selects 2016-08-10 01:36:20 -03:00
Marcos Moura
7c62837614 Update TODO 2016-08-09 22:13:35 -03:00
Marcos Moura
fb2bd988f1 Improve lists with subheaders and account header 2016-08-09 22:01:58 -03:00
Marcos Moura
0c18cc3153 Create subheaders 2016-08-09 16:46:33 -03:00
Marcos Moura
bf9d734738 Add documentation roadmap 2016-08-09 04:12:32 -03:00
Marcos Moura
dd6fa3b2e8 Fix titles 2016-08-09 04:09:15 -03:00
Marcos Moura
39766fad1b Add initial todo list - Should become issues with milestones 2016-08-09 04:08:26 -03:00
Marcos Moura
17e923d93c Add radio and switch to navigation 2016-08-09 03:42:17 -03:00
Marcos Moura
802879585e Create switches and remove label with empty slot 2016-08-09 03:41:29 -03:00
Marcos Moura
7b91eb8bab Create md-radio 2016-08-09 00:29:20 -03:00
Marcos Moura
479bd983ff Finish checkbox 2016-08-08 23:52:58 -03:00
Marcos Moura
7dd8015fb0 Ditch md-icon in favor of bordered element 2016-08-08 20:21:19 -03:00
Marcos Moura
1f8d2b1a98 Create initial state of checkbox 2016-08-04 20:59:42 -03:00
Marcos Moura
a45c2904a4 Create first draft of checkboxes 2016-08-04 00:11:23 -03:00
Marcos Moura
9940a9cf6a Add base to create checkboxes 2016-08-03 03:32:30 -03:00
Marcos Moura
535563a2ad Fix font-family on bottom bar 2016-08-03 02:27:44 -03:00
Marcos Moura
69b32130cf Listen to focus and blur events for tooltips 2016-08-03 02:13:01 -03:00
Marcos Moura
c71b42738d Create tooltips with custom direction and duration 2016-08-03 02:03:53 -03:00
Marcos Moura
ff9c89c2c7 Add example of themable fields 2016-08-02 03:05:00 -03:00
Marcos Moura
963c2867f9 Fix toolbar spacing to match with guidelines 2016-08-02 02:52:58 -03:00
Marcos Moura
29a69794ec Fix font-family on input fields with inherit 2016-08-02 02:42:25 -03:00
Marcos Moura
e6c895b873 Fix font-family on input fields 2016-08-02 02:41:54 -03:00
Marcos Moura
f91c35daa9 Remove spacing between md-count and md-error 2016-08-02 02:39:32 -03:00
Marcos Moura
aa41cbd081 Add better label to field with placeholder 2016-08-02 02:38:16 -03:00
Marcos Moura
c2bf015575 Add support to placeholder 2016-08-02 02:35:33 -03:00
Marcos Moura
fcdd6191e6 Fix regression on field counter 2016-08-02 02:06:24 -03:00
Marcos Moura
27a5454fb4 Add an indicator for required fields 2016-08-02 02:05:32 -03:00
Marcos Moura
85372b9875 Validate md-input-container and add field counter 2016-08-02 01:20:35 -03:00
Marcos Moura
aebcf32dc3 Create inputs and add selection colors 2016-08-01 02:45:40 -03:00
Marcos Moura
b087780fc8 Create textarea flow 2016-07-28 00:10:33 -03:00
Marcos Moura
7d9c48d5c6 Create button to toggle passwords 2016-07-27 19:17:22 -03:00
Marcos Moura
fe819aba8a Fix ripple overflow on rounded parents 2016-07-27 11:48:18 -03:00
Marcos Moura
699103ab45 Refactor ripple component to prevent memory leaks 2016-07-27 02:57:02 -03:00
Marcos Moura
9c1ad269f5 Create inline fields and disabled 2016-07-27 01:55:32 -03:00
Marcos Moura
a3702e0a72 Init the input component 2016-07-26 19:55:29 -03:00
Marcos Moura
bedd443726 Fix ripple with position:absolute|fixed elements 2016-07-26 14:29:19 -03:00
Marcos Moura
fc79898cf7 Add example of fab buttons 2016-07-26 03:02:55 -03:00
Marcos Moura
987d66dd55 Add scrollbar to docs sidenav 2016-07-26 02:55:54 -03:00
Marcos Moura
b76b20232c Reset scroll position across doc pages 2016-07-26 02:53:46 -03:00
Marcos Moura
1d2275aa72 Fix background colors 2016-07-26 02:49:03 -03:00
Marcos Moura
265e701b96 Create dividers on lists 2016-07-26 02:48:31 -03:00
Marcos Moura
a1981563e4 Rename proxy class to md-inset 2016-07-26 02:22:01 -03:00
Marcos Moura
a6a2542b0a Add example of variety of icons 2016-07-26 01:48:48 -03:00
Marcos Moura
04996489d2 Fix wrong grey theme color on body element 2016-07-26 01:48:31 -03:00
Marcos Moura
4f8230942d Improve docs 2016-07-26 01:23:19 -03:00
Marcos Moura
3a37a9a9f9 Create lists from double and triple lines 2016-07-26 00:24:20 -03:00
Marcos Moura
0120d87e59 Fix ripple to work with scrollbars 2016-07-26 00:23:46 -03:00
Marcos Moura
dd39ed74fb MOve repetitive string to a variable 2016-07-22 19:40:17 -03:00
Marcos Moura
2d08caf2d0 Add enable all function to register components 2016-07-22 18:47:19 -03:00
Marcos Moura
6c9f718145 Fix avatar size on dense lists 2016-07-22 14:16:31 -03:00
Marcos Moura
198adfd4bc Improve webpack configs 2016-07-22 02:37:52 -03:00
Marcos Moura
bb14e04218 Fix transition end of the sidenav content 2016-07-22 02:37:23 -03:00
Marcos Moura
fff91378a9 Improve lists and create whiteframes 2016-07-22 01:45:15 -03:00
Marcos Moura
f59acebbe8 Add a component instead of inherit default config 2016-07-21 19:00:12 -03:00
Marcos Moura
9ba09d7e39 Rename classes 2016-07-21 18:57:24 -03:00
Marcos Moura
aade91a07c Create better docs organization 2016-07-21 18:56:06 -03:00
Marcos Moura
0829ec8a5f Add v-link support to list-items 2016-07-20 01:53:52 -03:00
Marcos Moura
d99931e987 Start the creation of documentation 2016-07-20 01:42:04 -03:00
Marcos Moura
2ea3209077 Create single line lists 2016-07-19 00:19:33 -03:00
Marcos Moura
b4c9b5d378 Remove debug variable 2016-07-19 00:19:23 -03:00
Marcos Moura
9f65a7c163 Improve mdRipple detection 2016-07-18 23:58:38 -03:00
Marcos Moura
9aef4b315f Create sidenav 2016-07-18 22:27:25 -03:00
Marcos Moura
7c99506723 Create toolbars 2016-07-18 17:46:03 -03:00
Marcos Moura
1075827afa Improve md button toogle 2016-07-18 17:05:08 -03:00
Marcos Moura
72898eed46 Create button toggles 2016-07-18 13:00:51 -03:00
Marcos Moura
06bc8aecac Generate themes for different hues 2016-07-18 11:47:14 -03:00
Marcos Moura
b5e77c36bd Create fab buttons 2016-07-18 01:14:47 -03:00
Marcos Moura
9da8a6d924 Add icon button section 2016-07-18 00:44:40 -03:00
Marcos Moura
0931ae004f Finish theme spec 2016-07-18 00:31:37 -03:00
Marcos Moura
12b5d9af29 Fix disabled buttons 2016-07-15 01:40:14 -03:00
Marcos Moura
3c9e5e3056 Start the implementation of themes 2016-07-15 01:37:19 -03:00
Marcos Moura
f15a382188 Add javascript code inside .vue file 2016-07-14 21:06:29 -03:00
Marcos Moura
2d7269f2eb Trigger parent ripples correctly 2016-07-14 20:57:40 -03:00
Marcos Moura
8f6f392765 Improve ripple css to match with color theme 2016-07-14 18:16:02 -03:00
Marcos Moura
edaf88b152 Fix initial state of bottom bar 2016-07-14 15:08:47 -03:00
Marcos Moura
076b829775 Improve transition on bottom bar 2016-07-14 14:48:45 -03:00
Marcos Moura
415f2c89b2 Start the md-theme component 2016-07-13 20:34:36 -03:00
Marcos Moura
bb430fd60a Order 2016-07-13 02:39:15 -03:00
Marcos Moura
a7b0b1bf2f Merge eslintrc 2016-07-13 02:35:02 -03:00
Marcos Moura
757735f8a8 Improve build flow 2016-07-13 02:28:38 -03:00
Marcos Moura
c60f0b7672 Remove comment 2016-07-13 02:28:24 -03:00
Marcos Moura
8606e9acb5 Remove static folder 2016-07-13 02:27:51 -03:00
Marcos Moura
9a169d03f0 Ditch gulp in favor of vue-cli 2016-07-13 02:00:31 -03:00
Marcos Moura
539a047557 Add transform 2016-07-12 23:59:24 -03:00
Marcos Moura
fa11f6df0f Improve ripple creation and add lighter color to bottom bar 2016-07-12 03:48:52 -03:00
Marcos Moura
311e4d8ceb Create initial version of md-bottom-bar 2016-07-12 03:25:33 -03:00
Marcos Moura
5787a06532 Improve gulp tasks 2016-07-11 11:47:09 -03:00
Marcos Moura
9485d3422b Improve gulp tasks 2016-07-11 11:33:54 -03:00
Marcos Moura
0354d6fbe3 Start bottom bar component 2016-07-07 11:54:58 -03:00
Marcos Moura
c4f6c3fa78 Remove line 2016-07-07 11:54:37 -03:00
Marcos Moura
54d321172d Add everflow 2016-07-07 11:54:07 -03:00
Marcos Moura
eddac2c546 Improve eslint and gulp tasks 2016-07-07 11:53:41 -03:00
Marcos Moura
c0633ec4e1 Update libs 2016-07-07 11:53:19 -03:00
Marcos Moura
a0c59d7bd3 Create icons and finish buttons 2016-06-22 01:58:04 -03:00
Marcos Moura
4e435f3341 Fix ripple for buttons 2016-06-21 22:47:45 -03:00
Marcos Moura
c36ee6005f Start the creation of ink ripple 2016-06-21 22:45:49 -03:00
Marcos Moura
3fed7ddf33 Create initial component 2016-06-21 03:54:17 -03:00
Marcos Moura
eab2e7d776 Initial setup 2016-06-17 20:32:39 -03:00
5304 changed files with 55960 additions and 24968 deletions

View file

@ -7,7 +7,7 @@
"env",
{
"targets": {
"browsers": ["last 3 versions", "not IE < 11"]
"browsers": ["last 3 versions", "not IE < 10"]
}
}
]
@ -16,4 +16,4 @@
"transform-runtime",
"add-module-exports"
]
}
}

View file

@ -1,13 +0,0 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

22
LICENSE
View file

@ -1,22 +0,0 @@
The MIT License (MIT)
Copyright (c) 2016 Marcos Moura
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View file

@ -7,13 +7,29 @@
<p align="center">Material Design for Vue.js</p>
<p align="center">
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/dt/vue-material.svg" alt="Downloads"></a>
<a href="https://www.npmjs.com/package/vue-material">
<img src="https://img.shields.io/npm/dt/vue-material.svg" alt="Downloads">
</a>
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/v/vue-material.svg" alt="Version"></a>
<a href="https://www.npmjs.com/package/vue-material">
<img src="https://img.shields.io/npm/v/vue-material.svg" alt="Version">
</a>
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/l/vue-material.svg" alt="License"></a>
<a href="https://cdnjs.com/libraries/vue-material">
<img src="https://img.shields.io/cdnjs/v/vue-material.svg" alt="Version">
</a>
<a href="https://gitter.im/vuematerial"><img src="https://img.shields.io/gitter/room/vuematerial/home.svg" alt="Gitter Chat"></a> <br>
<a href="https://cdnjs.com/libraries/vue-material">
<img src="https://img.shields.io/cdnjs/v/vue-material.svg" alt="Version">
</a>
<a href="https://www.npmjs.com/package/vue-material">
<img src="https://img.shields.io/npm/l/vue-material.svg" alt="License">
</a>
<a href="https://gitter.im/vuematerial">
<img src="https://img.shields.io/gitter/room/vuematerial/home.svg" alt="Gitter Chat">
</a>
</p>
Vue Material is lightweight framework built exactly according to the <a href="http://material.google.com" target="_blank">Material Design</a> specs.

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

Before

Width:  |  Height:  |  Size: 1,017 B

After

Width:  |  Height:  |  Size: 1,017 B

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

View file

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View file

Before

Width:  |  Height:  |  Size: 835 B

After

Width:  |  Height:  |  Size: 835 B

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 920 B

After

Width:  |  Height:  |  Size: 920 B

View file

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

BIN
assets/icon-home-back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B

BIN
assets/icon-home-front.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

View file

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 199 B

View file

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

View file

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 110 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 8 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 239 KiB

View file

@ -31,6 +31,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
PACKAGE_VERSION=$(get_package_version)
cp -Rf dist/docs/releases tmp-releases
cp -Rf dist/docs tmp-releases/v$PACKAGE_VERSION
rm -Rf tmp-releases/v$PACKAGE_VERSION/releases
# append version
sed -i '' -e "s|\"]|\", \"$VERSION\"]|g" docs/versions.json
@ -54,7 +55,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
git remote remove site
fi
git remote add site https://github.com/vuematerial/vuematerial.github.io.git
# git remote add site https://github.com/vuematerial/vuematerial.github.io.git
git remote add site git@github.com:vuematerial/vuematerial.github.io.git
git push site `git subtree split --prefix dist/docs master`:master --force --progress
npm publish

View file

@ -1,5 +1,27 @@
import ora from 'ora';
import chalk from 'chalk';
import webpack from 'webpack';
import build from './build';
import webpackConfig from '../webpack/prod-docs';
webpack(webpackConfig, build);
const spinner = ora(chalk.cyan('Building website'));
process.stdout.write('\n');
spinner.start();
webpack(webpackConfig, (error, stats) => {
if (error) {
spinner.fail(chalk.red('Something wrong happened:\n'));
throw error;
}
process.stdout.write('\n\n' + stats.toString({
colors: true,
modules: false,
children: false,
chunks: false,
chunkModules: false
}) + '\n\n');
spinner.succeed(chalk.green('Documentation builded with success!\n'));
});

View file

@ -1,6 +1,28 @@
import ora from 'ora';
import chalk from 'chalk';
import webpack from 'webpack';
import build from './build';
import webpackConfig from '../webpack/prod-lib';
import webpackDebugConfig from '../webpack/debug-lib';
webpack([webpackConfig, webpackDebugConfig], build);
const spinner = ora(chalk.cyan('Building library'));
process.stdout.write('\n');
spinner.start();
webpack([webpackConfig, webpackDebugConfig], (error, stats) => {
if (error) {
spinner.fail(chalk.red('Something wrong happened:\n'));
throw error;
}
process.stdout.write('\n\n' + stats.toString({
colors: true,
modules: false,
children: false,
chunks: false,
chunkModules: false
}) + '\n\n');
spinner.succeed(chalk.green('Build finished with success!\n'));
});

View file

@ -1,25 +0,0 @@
import ora from 'ora';
const spinner = ora({
text: 'Building...',
spinner: 'circleQuarters',
color: 'green'
});
spinner.start();
export default function done(error, stats) {
if (error) {
throw error;
}
process.stdout.write('\n\n' + stats.toString({
colors: true,
modules: false,
children: false,
chunks: false,
chunkModules: false
}) + '\n');
spinner.stop();
}

View file

@ -8,7 +8,6 @@ import historyApiFallback from 'connect-history-api-fallback';
import config from '../config';
import webpackConfig from '../webpack/dev';
const app = express();
const compiler = webpack(webpackConfig);
const rootPath = path.join(__dirname, '..', '..');

View file

@ -10,7 +10,7 @@ Object.keys(baseWebpackConfig.entry).forEach((name) => {
});
export default merge(baseWebpackConfig, {
devtool: 'cheap-module-eval-source-map',
devtool: '#cheap-module-eval-source-map',
module: {
rules: [
{

View file

@ -6,6 +6,8 @@ import ExtractTextPlugin from 'extract-text-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import OptimizeJsPlugin from 'optimize-js-plugin';
import OptimizeCssAssetsPlugin from 'optimize-css-assets-webpack-plugin';
import mediaPacker from 'css-mqpacker';
import config from '../config';
import baseConfig from './base';
@ -36,8 +38,9 @@ const conf = merge(baseConfig, {
},
postcss: [
autoprefixer({
browsers: ['last 3 versions', 'not IE < 11']
})
browsers: ['last 3 versions', 'not IE < 10']
}),
mediaPacker()
]
}
},
@ -64,7 +67,16 @@ const conf = merge(baseConfig, {
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
warnings: false,
screw_ie8: true,
conditionals: true,
unused: true,
comparisons: true,
sequences: true,
dead_code: true,
evaluate: true,
join_vars: true,
if_return: true
},
output: {
comments: false
@ -130,6 +142,9 @@ const conf = merge(baseConfig, {
new webpack.optimize.CommonsChunkPlugin({
name: 'manifest',
chunks: ['vendor']
}),
new OptimizeCssAssetsPlugin({
canPrint: false
})
]
});

View file

@ -5,6 +5,8 @@ import merge from 'webpack-merge';
import autoprefixer from 'autoprefixer';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import OptimizeJsPlugin from 'optimize-js-plugin';
import OptimizeCssAssetsPlugin from 'optimize-css-assets-webpack-plugin';
import mediaPacker from 'css-mqpacker';
import config from '../config';
import baseConfig from './base';
@ -53,8 +55,9 @@ export default merge(baseConfig, {
},
postcss: [
autoprefixer({
browsers: ['last 3 versions', 'not IE < 11']
})
browsers: ['last 3 versions', 'not IE < 10']
}),
mediaPacker()
]
}
},
@ -90,7 +93,16 @@ export default merge(baseConfig, {
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
warnings: false,
screw_ie8: true,
conditionals: true,
unused: true,
comparisons: true,
sequences: true,
dead_code: true,
evaluate: true,
join_vars: true,
if_return: true
},
output: {
comments: false
@ -109,6 +121,9 @@ export default merge(baseConfig, {
raw: true,
entryOnly: true
}),
new ExtractTextPlugin('[name].css')
new ExtractTextPlugin('[name].css'),
new OptimizeCssAssetsPlugin({
canPrint: false
})
]
});

484
changelog.html Normal file
View file

@ -0,0 +1,484 @@
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/">v0.7.1 - Standalone fixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix regression of @click handler <a href="https://github.com/marcosmoura/vue-material/issues/454" target="_blank" rel="noopener">#454</a></li>
<li>add href support to mdMenuItem <a href="https://github.com/marcosmoura/vue-material/issues/463" target="_blank" rel="noopener">#463</a></li>
<li>fix IE11 support <a href="https://github.com/marcosmoura/vue-material/issues/459" target="_blank" rel="noopener">#459</a></li>
<li>fix ripple not reseting after second click <a href="https://github.com/marcosmoura/vue-material/issues/461" target="_blank" rel="noopener">#461</a></li>
<li>add fallback loading to cross-domain images <a href="https://github.com/marcosmoura/vue-material/issues/424" target="_blank" rel="noopener">#424</a></li>
<li>add better examples to list page <a href="https://github.com/marcosmoura/vue-material/issues/457" target="_blank" rel="noopener">#457</a></li>
<li>fix and optimize layout media queries after upgrade to webpack 2 <a href="https://github.com/marcosmoura/vue-material/issues/456" target="_blank" rel="noopener">#456</a></li>
<li>fix gutter example on documentation website</li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.7.0">v0.7.0 - A lot of fixes and improvements!</a>
</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Speed Dial</li>
</ul>
<h3 class="md-title">New Features:</h3>
<ul>
<li>
<h4 class="md-body-2">Support to icons without ligatures</h4>
<p>Now you can use icon font like Font Awesome! (Thanks to <a href="https://github.com/sombriks" target="_blank" rel="noopener">@sombriks</a>)</p>
</li>
<li>
<h4 class="md-body-2">Support to SVG icon on bottom bar</h4>
<p>(Thanks to <a href="https://github.com/sombriks" target="_blank" rel="noopener">@sombriks</a>)</p>
</li>
<li>
<h4 class="md-body-2">Select working without v-model</h4>
<p>For those who use Laravel with Vue.js...</p>
</li>
<li>
<h4 class="md-body-2">List item component recriated from scratch</h4>
<p>Now more performant and more stable.</p>
</li>
<li>
<h4 class="md-body-2">Swipe gestures on left Sidenav</h4>
<p>More responsive and fluid experience on mobile devices. (Thanks to <a href="https://github.com/igor-ribeiro" target="_blank" rel="noopener">@igor-ribeiro</a>)</p>
</li>
<li>
<h4 class="md-body-2">Support to Theme Color on Android</h4>
<p>Change the browser window color inside Chrome for Android based on the current theme.</p>
</li>
</ul>
<h3 class="md-title">Breaking changes:</h3>
<ul>
<li>
<p>To avoid issues and conflicts between multiple events on buttons and other "clickable" components the internal <code>@click</code> event don't work anymore. Use <code>@click.native</code> instead.</p>
</li>
<li>
<p><strong>Only for contributors:</strong> To build Vue Material is now needed to upgrade all dependencies. Vue Material uses Webpack 2 under the hood and all dependencies were bumped to the latest.</p>
</li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>check for null parent elements in mdInkRipple <a href="https://github.com/marcosmoura/vue-material/issues/313" target="_blank" rel="noopener">#313</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>update the number of rows if the data set changes on mdTable <a href="https://github.com/marcosmoura/vue-material/issues/320" target="_blank" rel="noopener">#320</a> (Thanks to <a href="https://github.com/pablohpsilva" target="_blank" rel="noopener">@pablohpsilva</a>)</li>
<li>disable pointer events on snackbar container <a href="https://github.com/marcosmoura/vue-material/issues/327" target="_blank" rel="noopener">#327</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>allow null value to be passed to parent of md-select <a href="https://github.com/marcosmoura/vue-material/issues/338" target="_blank" rel="noopener">#338</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>fix textarea autosize on initial value <a href="https://github.com/marcosmoura/vue-material/issues/341" target="_blank" rel="noopener">#341</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>fix char counter not updating after model change <a href="https://github.com/marcosmoura/vue-material/issues/384" target="_blank" rel="noopener">#384</a></li>
<li>prevent parent forms from submitting when adding chips <a href="https://github.com/marcosmoura/vue-material/issues/383" target="_blank" rel="noopener">#383</a></li>
<li>prevent body from scroll on dialogs and menus <a href="https://github.com/marcosmoura/vue-material/issues/373" target="_blank" rel="noopener">#373</a></li>
<li>fix error message not moving down on textarea <a href="https://github.com/marcosmoura/vue-material/issues/362" target="_blank" rel="noopener">#362</a></li>
<li>add checked attribute to checkbox <a href="https://github.com/marcosmoura/vue-material/issues/366" target="_blank" rel="noopener">#366</a></li>
<li>add select events when open and close mdSelect <a href="https://github.com/marcosmoura/vue-material/issues/357" target="_blank" rel="noopener">#357</a></li>
<li>fix radio parsing md-value wrongly when null <a href="https://github.com/marcosmoura/vue-material/issues/378" target="_blank" rel="noopener">#378</a></li>
<li>fix md-input colors inside cards <a href="https://github.com/marcosmoura/vue-material/issues/421" target="_blank" rel="noopener">#421</a></li>
<li>fix overflow button color theme in cards <a href="https://github.com/marcosmoura/vue-material/issues/421" target="_blank" rel="noopener">#421</a></li>
<li>pause snackbar timeout on hover <a href="https://github.com/marcosmoura/vue-material/issues/434" target="_blank" rel="noopener">#434</a> (Thanks to <a href="https://github.com/igor-ribeiro" target="_blank" rel="noopener">@igor-ribeiro</a>)</li>
<li>enable multiple expansions in mdList <a href="https://github.com/marcosmoura/vue-material/issues/442" target="_blank" rel="noopener">#442</a> (Thanks to <a href="https://github.com/ivictbor" target="_blank" rel="noopener">@ivictbor</a>)</li>
<li>allow preventDefault in md-switch <a href="https://github.com/marcosmoura/vue-material/issues/435" target="_blank" rel="noopener">#435</a> (Thanks to <a href="https://github.com/ivictbor" target="_blank" rel="noopener">@ivictbor</a>)</li>
<li>add styles for input inside toolbar <a href="https://github.com/marcosmoura/vue-material/issues/395" target="_blank" rel="noopener">#395</a></li>
<li>prevent ripple from getting undefined when parent elements doesnt exists</li>
<li>normalize mobile and desktop events on ripple</li>
<li>normalize mobile and desktop events on ripple</li>
<li>remove unnecessary Vue.extend on component definition</li>
<li>upgrade to webpack 2 with tree shaking support</li>
<li>update supported browsers</li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.6.3">v0.6.3 - Standalone fixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix broken standalone build <a href="https://github.com/marcosmoura/vue-material/issues/312" target="_blank" rel="noopener">#312</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
</ul>
<p>Sorry about so many updates!</p>
</section>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.6.2">v0.6.2 - Webpack fixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix alias for webpack <a href="https://github.com/marcosmoura/vue-material/issues/311" target="_blank" rel="noopener">#311</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.6.1">v0.6.1 - Hotfixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix bundle removing internal components at build time <a href="https://github.com/marcosmoura/vue-material/issues/273" target="_blank" rel="noopener">#273</a> <a href="https://github.com/marcosmoura/vue-material/issues/309" target="_blank" rel="noopener">#309</a></li>
<li>fix md-icon-button with pallete colors inside cards <a href="https://github.com/marcosmoura/vue-material/issues/307" target="_blank" rel="noopener">#307</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.6.0">v0.6.0 - New components and Improved performance</a>
</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Chips</li>
<li>File</li>
<li>Image Loader</li>
<li>Progress</li>
<li>Snackbar</li>
</ul>
<h3 class="md-title">New Features:</h3>
<ul>
<li>
<h4 class="md-body-2">SVG and PNG ICONS!!!</h4>
<p>Another long time requested feature. Use external SVG icons inside the md-icon component with a lazy load and cache features.</p>
</li>
<li>
<h4 class="md-body-2">New icon sizes</h4>
<p>1x, 2x, 3x, 4x or 5x. Choose your icon size!</p>
</li>
<li>
<h4 class="md-body-2">New ripple component</h4>
<p>A more performant ripple component with great support for touch devices.</p>
</li>
<li>
<h4 class="md-body-2">Disable ripple globally</h4>
<p>If you don't want that extra effect you can disable the ripple globally calling the API. Just follow the <a href="/#/components/ink-ripple">guide</a>.</p>
</li>
<li>
<h4 class="md-body-2">Reduced file size</h4>
<p>Now Vue Material is ~20% lighter</p>
</li>
<li>
<h4 class="md-body-2">Responsive md-offset on md-layout</h4>
<p>md-flex-offset-{type}</p>
</li>
<li>
<h4 class="md-body-2">New md-layout alignment options with md-align</h4>
<p>Apply an alignment to the container. Accepts <code>start</code>|<code>center</code>|<code>end</code> Example: <code>md-align="end"</code></p>
</li>
</ul>
<h3 class="md-title">Breaking changes:</h3>
<ul>
<li>
<p>The old v-md-ink-ripple is now removed</p>
</li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>recalculate indicator tab when parent changes <a href="https://github.com/marcosmoura/vue-material/issues/258" target="_blank" rel="noopener">#258</a></li>
<li>fix md-input-container not reseting when model is null <a href="https://github.com/marcosmoura/vue-material/issues/277" target="_blank" rel="noopener">#277</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>fix expansion lists size on resize <a href="https://github.com/marcosmoura/vue-material/issues/278" target="_blank" rel="noopener">#278</a></li>
<li>set empty file when click on cancel button in md-file <a href="https://github.com/marcosmoura/vue-material/issues/290" target="_blank" rel="noopener">#290</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.5.1">v0.5.2 - Bugfixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>add cdn references to docs</li>
<li>fix card expand negative margin</li>
<li>split documentation pages into multiple bundles</li>
<li>remove menu scroll <a href="https://github.com/marcosmoura/vue-material/issues/242" target="_blank" rel="noopener">#242</a></li>
<li>rename sidenav show method to open <a href="https://github.com/marcosmoura/vue-material/issues/238" target="_blank" rel="noopener">#238</a></li>
<li>fire "selected" event when select changes <a href="https://github.com/marcosmoura/vue-material/issues/230" target="_blank" rel="noopener">#230</a></li>
<li>fix grey/white theme colors <a href="https://github.com/marcosmoura/vue-material/issues/233" target="_blank" rel="noopener">#233</a></li>
<li>improve the icon component documentation <a href="https://github.com/marcosmoura/vue-material/issues/226" target="_blank" rel="noopener">#226</a> (Thanks to <a href="https://github.com/Nicolapps" target="_blank" rel="noopener">@Nicolapps</a>)</li>
<li>fix mdTheme.vue filename case <a href="https://github.com/marcosmoura/vue-material/issues/252" target="_blank" rel="noopener">#252</a> (Thanks to <a href="https://github.com/korylprince" target="_blank" rel="noopener">@korylprince</a>)</li>
<li>fix version selector <a href="https://github.com/marcosmoura/vue-material/issues/240" target="_blank" rel="noopener">#240</a></li>
<li>check initial value for multiple selects <a href="https://github.com/marcosmoura/vue-material/issues/245" target="_blank" rel="noopener">#245</a></li>
<li>watch for dom changes on tab parent <a href="https://github.com/marcosmoura/vue-material/issues/248" target="_blank" rel="noopener">#248</a></li>
<li>remove menu theming <a href="https://github.com/marcosmoura/vue-material/issues/253" target="_blank" rel="noopener">#253</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">
<a href="https://vuematerial.github.io/releases/v0.5.1">v0.5.1 - Bugfixes</a>
</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>remove invalid toggle option for expansion list <a href="https://github.com/marcosmoura/vue-material/issues/215" target="_blank" rel="noopener">#215</a></li>
<li>revert demo code for layout page <a href="https://github.com/marcosmoura/vue-material/issues/216" target="_blank" rel="noopener">#216</a></li>
<li>fix docs not scrolling on firefox <a href="https://github.com/marcosmoura/vue-material/issues/218" target="_blank" rel="noopener">#218</a></li>
<li>fix vue material instance on non commonjs env <a href="https://github.com/marcosmoura/vue-material/issues/220" target="_blank" rel="noopener">#220</a></li>
<li>recalculate the expansion element if a child is added</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.5.0 - New Grid System Engine!</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Theme</li>
<li>Layout</li>
<li>Spinner</li>
</ul>
<p>The long time requested feature is here! Vue Material has a new and easy-to-use Grid System. Enjoy!</p>
<h3 class="md-title">Breaking changes:</h3>
<p>The first breaking change we never forget. The themes engine has changed and it's more simple now. This change make the themes reactive to make the themes dynamic using the theme component or the API. The performance of the engine is waaay better and the theme styles are now fixed and have a better scope.</p>
<p>Check all theme changes in the new <a href="#/themes/configuration">themes section</a> inside the documentation website. There are some changes in the theme API:</p>
<h5 class="md-body-2">v-md-theme directive removed</h5>
<p>The <code>v-md-theme</code> do not exists anymore and should be replaced by the brand new <code>&lt;md-theme&gt;</code> component.</p>
<h5 class="md-body-2">Register method renamed</h5>
<p><code>Vue.material.theme.register</code> changed to <code>Vue.material.registerTheme</code>. This will make the API smore simple and easy to write.</p>
<h5 class="md-body-2">Register All removed</h5>
<p><code>Vue.material.theme.registerAll</code> was removed. The <code>Vue.material.registerTheme</code> function now accepts a object:</p>
<pre>
Vue.material.registerTheme('about', {
primary: {
color: 'indigo',
hue: 'A200'
},
accent: {
color: 'grey',
hue: 300
}
})
</pre>
<h5 class="md-body-2">No need to use a default theme</h5>
<p>Vue Material now comes with a default theme, according with the specifications.</p>
<h5 class="md-body-2">Applying other themes as the default (A.K.A. dynamic themes)</h5>
<p>There is a new function to set the theme of you application dynamically:</p>
<pre>
Vue.material.setCurrentTheme('about')
</pre>
<h3 class="md-title">New:</h3>
<ul>
<li>pass $event to on click inside md-list-item <a href="https://github.com/marcosmoura/vue-material/issues/175" target="_blank" rel="noopener">#175</a></li>
<li>add support for theming on Cards <a href="https://github.com/marcosmoura/vue-material/issues/173" target="_blank" rel="noopener">#173</a></li>
<li>add md-tooltip for tabheader <a href="https://github.com/marcosmoura/vue-material/issues/171" target="_blank" rel="noopener">#171</a></li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>adjust menu offset position when scroll is present <a href="https://github.com/marcosmoura/vue-material/issues/180" target="_blank" rel="noopener">#180</a></li>
</ul>
<small>* Also it's not possible to see the code from previous version due to a change in the build system.</small>
</section>
<section>
<h2 class="md-headline">v0.4.3 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix releases tree, load versions and changelog externaly</li>
<li>fix build structure</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.4.2 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix switch not updating state after value change <a href="https://github.com/marcosmoura/vue-material/issues/200" target="_blank" rel="noopener">#200</a></li>
<li>fix dialog with input closing after typing <a href="https://github.com/marcosmoura/vue-material/issues/183" target="_blank" rel="noopener">#183</a></li>
<li>fix tooltip errors in console <a href="https://github.com/marcosmoura/vue-material/issues/188" target="_blank" rel="noopener">#188</a></li>
<li>fix value in select with option with v-if <a href="https://github.com/marcosmoura/vue-material/issues/198" target="_blank" rel="noopener">#198</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.4.1 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>create custom tags in whiteframe component <a href="https://github.com/marcosmoura/vue-material/issues/169" target="_blank" rel="noopener">#169</a></li>
<li>fix undefined object.values method and emit @change event <a href="https://github.com/marcosmoura/vue-material/issues/167" target="_blank" rel="noopener">#167</a> <a href="https://github.com/marcosmoura/vue-material/issues/165" target="_blank" rel="noopener">#165</a> (Thanks to <a href="https://github.com/jtouzy" target="_blank" rel="noopener">@jtouzy</a>)</li>
<li>add reference of currentPage in mdTablePagination <a href="https://github.com/marcosmoura/vue-material/issues/163" target="_blank" rel="noopener">#163</a> (Thanks to <a href="https://github.com/jonataswalker" target="_blank" rel="noopener">@jonataswalker</a>)</li>
<li>add scrollbar behaviour in dialog content <a href="https://github.com/marcosmoura/vue-material/issues/161" target="_blank" rel="noopener">#161</a></li>
<li>resize textarea when a value change <a href="https://github.com/marcosmoura/vue-material/issues/160" target="_blank" rel="noopener">#160</a></li>
<li>fix disabled selects being selectable <a href="https://github.com/marcosmoura/vue-material/issues/159" target="_blank" rel="noopener">#159</a></li>
<li>add code sample to switch <a href="https://github.com/marcosmoura/vue-material/issues/157" target="_blank" rel="noopener">#157</a> (Thanks to <a href="https://github.com/vuchl" target="_blank" rel="noopener">@vuchl</a>)</li>
<li>fix tooltip not being removed <a href="https://github.com/marcosmoura/vue-material/issues/156" target="_blank" rel="noopener">#156</a></li>
<li>update prompt code example to be a prompt <a href="https://github.com/marcosmoura/vue-material/issues/150" target="_blank" rel="noopener">#150</a> (Thanks to <a href="https://github.com/vuchl" target="_blank" rel="noopener">@vuchl</a>)</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.4.0 - New Documentation Website</h2>
<h3 class="md-title">New Documentation:</h3>
<ul>
<li>Better Getting started</li>
<li>Themes guide</li>
<li>Version selector</li>
<li>API Guide</li>
<li>Better Examples</li>
</ul>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Dialog</li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>fix shadow transition inside menus <a href="https://github.com/marcosmoura/vue-material/issues/141" target="_blank" rel="noopener">#141</a> <a href="https://github.com/marcosmoura/vue-material/issues/129" target="_blank" rel="noopener">#129</a></li>
<li>fix table row not watching item <a href="https://github.com/marcosmoura/vue-material/issues/116" target="_blank" rel="noopener">#116</a> <a href="https://github.com/marcosmoura/vue-material/issues/113" target="_blank" rel="noopener">#113</a></li>
<li>add href support for mdBottomBar <a href="https://github.com/marcosmoura/vue-material/issues/121" target="_blank" rel="noopener">#121</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.3.3 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>Fix regression on inputs getting wrong value after manual update <a href="https://github.com/marcosmoura/vue-material/issues/101" target="_blank" rel="noopener">#101</a> <a href="https://github.com/marcosmoura/vue-material/issues/100" target="_blank" rel="noopener">#100</a> <a href="https://github.com/marcosmoura/vue-material/issues/96" target="_blank" rel="noopener">#96</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.3.2 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>Fix babel export default module.exports <a href="https://github.com/marcosmoura/vue-material/issues/92" target="_blank" rel="noopener">#92</a></li>
<li>Fix tooltips jumping when screen resize <a href="https://github.com/marcosmoura/vue-material/issues/85" target="_blank" rel="noopener">#85</a></li>
<li>Fix table not getting instance <a href="https://github.com/marcosmoura/vue-material/issues/91" target="_blank" rel="noopener">#91</a> <a href="https://github.com/marcosmoura/vue-material/issues/88" target="_blank" rel="noopener">#88</a></li>
<li>Fix regression on password review <a href="https://github.com/marcosmoura/vue-material/issues/95" target="_blank" rel="noopener">#95</a></li>
<li>Fix input getting wrong value after manual update <a href="https://github.com/marcosmoura/vue-material/issues/100" target="_blank" rel="noopener">#100</a> <a href="https://github.com/marcosmoura/vue-material/issues/96" target="_blank" rel="noopener">#96</a></li>
<li>Use the internal value of md-input to set the value of the container <a href="https://github.com/marcosmoura/vue-material/pull/97" target="_blank" rel="noopener">#97</a> (Thanks to <a href="https://github.com/Cabbaggio" target="_blank" rel="noopener">@Cabbaggio</a>)</li>
<li>Add material.debug.js to dist folder <a href="https://github.com/marcosmoura/vue-material/pull/90" target="_blank" rel="noopener">#90</a> (Thanks to <a href="https://github.com/pauloramires" target="_blank" rel="noopener">@pauloramires</a>)</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.3.1 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>md-select not being reactive <a href="https://github.com/marcosmoura/vue-material/issues/74" target="_blank" rel="noopener">#74</a></li>
<li>Fix components not being updated inside v-once <a href="https://github.com/marcosmoura/vue-material/issues/69" target="_blank" rel="noopener">#69</a> <a href="https://github.com/marcosmoura/vue-material/issues/70" target="_blank" rel="noopener">#70</a></li>
<li>Fix input number not accepting numbers <a href="https://github.com/marcosmoura/vue-material/issues/67" target="_blank" rel="noopener">#67</a> <a href="https://github.com/marcosmoura/vue-material/issues/70" target="_blank" rel="noopener">#70</a></li>
<li>Fix md-input-container crashing when the select value is null <a href="https://github.com/marcosmoura/vue-material/issues/64" target="_blank" rel="noopener">#64</a></li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.3.0 - Huge Release</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Data Table</li>
<li>Menu</li>
<li>Select with multiple selection</li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>md-input not reactive when initial value empty <a href="https://github.com/marcosmoura/vue-material/issues/40" target="_blank" rel="noopener">#40</a></li>
<li>md-textarea with maxlength not writable <a href="https://github.com/marcosmoura/vue-material/issues/43" target="_blank" rel="noopener"></a>#43</li>
<li>Do not style scrollbars by default <a href="https://github.com/marcosmoura/vue-material/issues/46" target="_blank" rel="noopener">#46</a></li>
<li>SELECT component: display issue in IE11 <a href="https://github.com/marcosmoura/vue-material/issues/34" target="_blank" rel="noopener">#34</a></li>
<li>Select component popup shows behind other components <a href="https://github.com/marcosmoura/vue-material/issues/26" target="_blank" rel="noopener">#26</a></li>
<li>md-select text vs value <a href="https://github.com/marcosmoura/vue-material/issues/24" target="_blank" rel="noopener"></a>#24</li>
<li>md-button ignores type prop <a href="https://github.com/marcosmoura/vue-material/issues/41" target="_blank" rel="noopener">#41</a> (Thanks to <a href="https://github.com/pauloramires" target="_blank" rel="noopener">@pauloramires</a>)</li>
<li>md-select displaying selected text (rather than value) <a href="https://github.com/marcosmoura/vue-material/issues/36" target="_blank" rel="noopener">#36</a></li>
<li>Added 'type' props to switch button <a href="https://github.com/marcosmoura/vue-material/pull/27" target="_blank" rel="noopener">#27</a> (Thanks to <a href="https://github.com/guillaumerxl" target="_blank" rel="noopener">@guillaumerxl</a>)</li>
<li>Add babel-cli as dev dependency <a href="https://github.com/marcosmoura/vue-material/pull/28" target="_blank" rel="noopener">#28</a> (Thanks to <a href="https://github.com/lucassouza1" target="_blank" rel="noopener">@lucassouza1</a>)</li>
<li>Remove dotted outline around button in firefox <a href="https://github.com/marcosmoura/vue-material/pull/52" target="_blank" rel="noopener">#52</a> (Thanks to <a href="https://github.com/yeknava" target="_blank" rel="noopener">@yeknava</a>)</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.2.0 - New components</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Cards</li>
</ul>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>Add Roboto font and google icons to the docs <a href="https://github.com/marcosmoura/vue-material/commit/421ce7bb21a1489c8f98ee12d0d525eec6b0ee12" target="_blank" rel="noopener">421ce7b</a></li>
<li>Explains better how to install and configure vue-material <a href="https://github.com/marcosmoura/vue-material/commit/cc43985fc1d30403a7c95bfeb2dc38bbcc1acb9e" target="_blank" rel="noopener">cc43985</a></li>
<li>Emit change &amp; input events from mdTextarea <a href="https://github.com/marcosmoura/vue-material/commit/b474af9fd8d5f4563914e5aae47d14b7c8c62fb2" target="_blank" rel="noopener">b474af9</a> (Thanks to <a href="https://github.com/jvanbrug" target="_blank" rel="noopener">@jvanbrug</a>)</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.1.2 - Bugfixes</h2>
<h3 class="md-title">Fixes:</h3>
<ul>
<li>Fixed tooltips on Firefox</li>
<li>Misaligned icons inside buttons on Firefox</li>
<li>Documentation fixes</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.1.1 - Bugfixes</h2>
<h3 class="md-title">Changes:</h3>
<ul>
<li>Bugfixes</li>
<li>Firefox support</li>
<li>Initial documentation</li>
</ul>
</section>
<section>
<h2 class="md-headline">v0.1.0 - Initial Release</h2>
<h3 class="md-title">New Components:</h3>
<ul>
<li>Avatar</li>
<li>Bottom Bar</li>
<li>Button</li>
<li>Button Toggle</li>
<li>Checkbox</li>
<li>Divider</li>
<li>Icon</li>
<li>Input</li>
<li>List</li>
<li>Radio</li>
<li>Select</li>
<li>Sidenav</li>
<li>Subheader</li>
<li>Switch</li>
<li>Tabs</li>
<li>Toolbar</li>
<li>Tooltip</li>
<li>Whiteframe</li>
</ul>
<h3 class="md-title">UI Elements:</h3>
<ul>
<li>Themes</li>
<li>Typography</li>
<li>Fluid Media</li>
<li>Custom Scrollbar</li>
<li>Selection Styles</li>
</ul>
</section>

View file

@ -1,6 +1,72 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-avatar{width:40px;min-width:40px;height:40px;min-height:40px;margin:auto;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;border-radius:40px;vertical-align:middle}.md-avatar.md-large{width:64px;min-width:64px;height:64px;min-height:64px;border-radius:64px}.md-avatar.md-large .md-icon{width:40px;min-width:40px;height:40px;min-height:40px;font-size:40px;line-height:40px}.md-avatar.md-avatar-icon{background-color:rgba(0,0,0,.38)}.md-avatar.md-avatar-icon .md-icon{color:#fff}.md-avatar .md-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.md-avatar img{width:100%;height:100%;display:block}.md-avatar .md-ink-ripple{border-radius:50%}.md-avatar .md-ink-ripple .md-ripple.md-active{animation-duration:.9s}.md-avatar-tooltip.md-tooltip-top{margin-top:-8px}.md-avatar-tooltip.md-tooltip-right{margin-left:8px}.md-avatar-tooltip.md-tooltip-bottom{margin-top:8px}.md-avatar-tooltip.md-tooltip-left{margin-left:-8px}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-avatar {
width: 40px;
min-width: 40px;
height: 40px;
min-height: 40px;
margin: auto;
display: inline-block;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
border-radius: 40px;
vertical-align: middle;
}
.md-avatar.md-large {
width: 64px;
min-width: 64px;
height: 64px;
min-height: 64px;
border-radius: 64px;
}
.md-avatar.md-large .md-icon {
width: 40px;
min-width: 40px;
height: 40px;
min-height: 40px;
font-size: 40px;
line-height: 40px;
}
.md-avatar.md-avatar-icon {
background-color: rgba(0, 0, 0, 0.38);
}
.md-avatar.md-avatar-icon .md-icon {
color: #fff;
}
.md-avatar .md-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.md-avatar img {
width: 100%;
height: 100%;
display: block;
}
.md-avatar .md-ink-ripple {
border-radius: 50%;
}
.md-avatar .md-ink-ripple .md-ripple.md-active {
animation-duration: .9s;
}
.md-avatar-tooltip.md-tooltip-top {
margin-top: -8px;
}
.md-avatar-tooltip.md-tooltip-right {
margin-left: 8px;
}
.md-avatar-tooltip.md-tooltip-bottom {
margin-top: 8px;
}
.md-avatar-tooltip.md-tooltip-left {
margin-left: -8px;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 397);
/******/ return __webpack_require__(__webpack_require__.s = 447);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 131:
/***/ 126:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -211,6 +247,7 @@ var _mixin2 = _interopRequireDefault(_mixin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
name: 'md-avatar',
mixins: [_mixin2.default]
}; //
//
@ -225,39 +262,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 215:
/***/ 246:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 233:
/***/ 266:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-avatar.md-primary.md-avatar-icon {\n background-color: PRIMARY-COLOR; }\n .THEME_NAME.md-avatar.md-primary.md-avatar-icon .md-icon {\n color: PRIMARY-CONTRAST-0.99999; }\n\n.THEME_NAME.md-avatar.md-accent.md-avatar-icon {\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-avatar.md-accent.md-avatar-icon .md-icon {\n color: ACCENT-CONTRAST-0.99999; }\n\n.THEME_NAME.md-avatar.md-warn.md-avatar-icon {\n background-color: WARN-COLOR; }\n .THEME_NAME.md-avatar.md-warn.md-avatar-icon .md-icon {\n color: WARN-CONTRAST-0.99999; }\n"
/***/ }),
/***/ 260:
/***/ 296:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(215)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(246)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(131),
__webpack_require__(126),
/* template */
__webpack_require__(364),
__webpack_require__(412),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdAvatar/mdAvatar.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdAvatar/mdAvatar.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdAvatar.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -271,6 +311,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-4fb5ecf8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -278,7 +321,7 @@ module.exports = Component.exports
/***/ }),
/***/ 364:
/***/ 412:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -297,15 +340,15 @@ if (false) {
/***/ }),
/***/ 397:
/***/ 447:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(90);
module.exports = __webpack_require__(80);
/***/ }),
/***/ 90:
/***/ 80:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -316,11 +359,11 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdAvatar = __webpack_require__(260);
var _mdAvatar = __webpack_require__(296);
var _mdAvatar2 = _interopRequireDefault(_mdAvatar);
var _mdAvatar3 = __webpack_require__(233);
var _mdAvatar3 = __webpack_require__(266);
var _mdAvatar4 = _interopRequireDefault(_mdAvatar3);

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.0
* Vue Material v0.7.4
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=397)})({0:function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(o=e,a=e.default);var d="function"==typeof a?a.options:a;if(t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns),r&&(d._scopeId=r),n){var c=d.computed||(d.computed={});Object.keys(n).forEach((function(e){var t=n[e];c[e]=function(){return t}}))}return{esModule:o,exports:a,options:d}}},1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(e){return!(!e||!e.$el||0===e._uid)&&(e.mdTheme||e.mdName?e:this.getClosestThemedParent(e.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var e=this.closestThemedParent.mdTheme;return e||(e=this.closestThemedParent?this.closestThemedParent.mdName:this.$material.currentTheme),"md-theme-"+e}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),this.$material.currentTheme||this.$material.setCurrentTheme("default")}},e.exports=t.default},131:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),a=n(o);t.default={mixins:[a.default]},e.exports=t.default},215:function(e,t){},233:function(e,t){e.exports=".THEME_NAME.md-avatar.md-primary.md-avatar-icon{background-color:PRIMARY-COLOR}.THEME_NAME.md-avatar.md-primary.md-avatar-icon .md-icon{color:PRIMARY-CONTRAST-0.99999}.THEME_NAME.md-avatar.md-accent.md-avatar-icon{background-color:ACCENT-COLOR}.THEME_NAME.md-avatar.md-accent.md-avatar-icon .md-icon{color:ACCENT-CONTRAST-0.99999}.THEME_NAME.md-avatar.md-warn.md-avatar-icon{background-color:WARN-COLOR}.THEME_NAME.md-avatar.md-warn.md-avatar-icon .md-icon{color:WARN-CONTRAST-0.99999}\n"},260:function(e,t,r){r(215);var n=r(0)(r(131),r(364),null,null);e.exports=n.exports},364:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"md-avatar",class:[e.themeClass]},[e._t("default")],2)},staticRenderFns:[]}},397:function(e,t,r){e.exports=r(90)},90:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){e.component("md-avatar",u.default),e.material.styles.push(c.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=r(260),u=n(a),d=r(233),c=n(d);e.exports=t.default}})}));
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=446)})({0:function(e,t){e.exports=function(e,t,n,r,o){var a,i=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(a=e,i=e.default);var c="function"==typeof i?i.options:i;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),r&&(c._scopeId=r);var d;if(o?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=d):n&&(d=n),d){var s=c.functional,f=s?c.render:c.beforeCreate;s?c.render=function(e,t){return d.call(t),f(e,t)}:c.beforeCreate=f?[].concat(f,d):[d]}return{esModule:a,exports:i,options:c}}},1:function(e,t,n){"use strict";function r(e){if(!e)return null;var t=e.mdTheme;return t||"md-theme"!==e.$options._componentTag||(t=e.mdName),t||r(e.$parent)}Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},computed:{mdEffectiveTheme:function(){return r(this)||this.$material.currentTheme},themeClass:function(){return this.$material.prefix+this.mdEffectiveTheme}},watch:{mdTheme:function(e){this.$material.useTheme(e)}},beforeMount:function(){var e=this.mdTheme;this.$material.useTheme(e?e:"default")}},e.exports=t.default},126:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o);t.default={name:"md-avatar",mixins:[a.default]},e.exports=t.default},246:function(e,t){},265:function(e,t){e.exports=".THEME_NAME.md-avatar.md-primary.md-avatar-icon{background-color:PRIMARY-COLOR}.THEME_NAME.md-avatar.md-primary.md-avatar-icon .md-icon{color:PRIMARY-CONTRAST-0.99999}.THEME_NAME.md-avatar.md-accent.md-avatar-icon{background-color:ACCENT-COLOR}.THEME_NAME.md-avatar.md-accent.md-avatar-icon .md-icon{color:ACCENT-CONTRAST-0.99999}.THEME_NAME.md-avatar.md-warn.md-avatar-icon{background-color:WARN-COLOR}.THEME_NAME.md-avatar.md-warn.md-avatar-icon .md-icon{color:WARN-CONTRAST-0.99999}\n"},295:function(e,t,n){function r(e){n(246)}var o=n(0)(n(126),n(411),r,null,null);e.exports=o.exports},411:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"md-avatar",class:[e.themeClass]},[e._t("default")],2)},staticRenderFns:[]}},446:function(e,t,n){e.exports=n(80)},80:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){e.component("md-avatar",i.default),e.material.styles.push(c.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(295),i=r(a),u=n(265),c=r(u);e.exports=t.default}})}));

View file

@ -1,6 +1,26 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:99;pointer-events:none;background-color:rgba(0,0,0,.54);transform:translateZ(0);opacity:0;transition:all .5s cubic-bezier(.35,0,.25,1)}.md-backdrop.md-active{opacity:1;pointer-events:auto}.md-backdrop.md-transparent{background:rgba(0,0,0,.005)}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-backdrop {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 99;
pointer-events: none;
background-color: rgba(0, 0, 0, 0.54);
transform: translate3d(0, 0, 0);
opacity: 0;
transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1);
}
.md-backdrop.md-active {
opacity: 1;
pointer-events: auto;
}
.md-backdrop.md-transparent {
background: rgba(0, 0, 0, 0.005);
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 398);
/******/ return __webpack_require__(__webpack_require__.s = 448);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -132,7 +176,7 @@ module.exports = function normalizeComponent (
/***/ }),
/***/ 132:
/***/ 127:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -149,6 +193,7 @@ Object.defineProperty(exports, "__esModule", {
//
exports.default = {
name: 'md-backdrop',
methods: {
close: function close() {
this.$emit('close');
@ -159,32 +204,35 @@ module.exports = exports['default'];
/***/ }),
/***/ 232:
/***/ 264:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 261:
/***/ 297:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(232)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(264)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(132),
__webpack_require__(127),
/* template */
__webpack_require__(393),
__webpack_require__(443),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdBackdrop/mdBackdrop.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdBackdrop/mdBackdrop.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdBackdrop.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -198,6 +246,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-e09d01b8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -205,7 +256,7 @@ module.exports = Component.exports
/***/ }),
/***/ 393:
/***/ 443:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -214,7 +265,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
on: {
"click": _vm.close,
"keyup": function($event) {
if (_vm._k($event.keyCode, "esc", 27)) { return; }
if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27)) { return null; }
_vm.close($event)
}
}
@ -230,15 +281,15 @@ if (false) {
/***/ }),
/***/ 398:
/***/ 448:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(91);
module.exports = __webpack_require__(81);
/***/ }),
/***/ 91:
/***/ 81:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -249,7 +300,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdBackdrop = __webpack_require__(261);
var _mdBackdrop = __webpack_require__(297);
var _mdBackdrop2 = _interopRequireDefault(_mdBackdrop);

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.0
* Vue Material v0.7.4
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=398)})({0:function(e,t){e.exports=function(e,t,n,o){var r,u=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,u=e.default);var i="function"==typeof u?u.options:u;if(t&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns),n&&(i._scopeId=n),o){var f=i.computed||(i.computed={});Object.keys(o).forEach((function(e){var t=o[e];f[e]=function(){return t}}))}return{esModule:r,exports:u,options:i}}},132:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{close:function(){this.$emit("close")}}},e.exports=t.default},232:function(e,t){},261:function(e,t,n){n(232);var o=n(0)(n(132),n(393),null,null);e.exports=o.exports},393:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"md-backdrop",on:{click:e.close,keyup:function(t){e._k(t.keyCode,"esc",27)||e.close(t)}}})},staticRenderFns:[]}},398:function(e,t,n){e.exports=n(91)},91:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){e.component("md-backdrop",c.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var u=n(261),c=o(u);e.exports=t.default}})}));
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=447)})({0:function(e,t){e.exports=function(e,t,n,o,r){var u,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(u=e,i=e.default);var c="function"==typeof i?i.options:i;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),o&&(c._scopeId=o);var f;if(r?(f=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=f):n&&(f=n),f){var d=c.functional,a=d?c.render:c.beforeCreate;d?c.render=function(e,t){return f.call(t),a(e,t)}:c.beforeCreate=a?[].concat(a,f):[f]}return{esModule:u,exports:i,options:c}}},127:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"md-backdrop",methods:{close:function(){this.$emit("close")}}},e.exports=t.default},264:function(e,t){},296:function(e,t,n){function o(e){n(264)}var r=n(0)(n(127),n(442),o,null,null);e.exports=r.exports},442:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"md-backdrop",on:{click:e.close,keyup:function(t){return"button"in t||!e._k(t.keyCode,"esc",27)?void e.close(t):null}}})},staticRenderFns:[]}},447:function(e,t,n){e.exports=n(81)},81:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){e.component("md-backdrop",i.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var u=n(296),i=o(u);e.exports=t.default}})}));

View file

@ -1,6 +1,97 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-bottom-bar{width:100%;min-width:100%;height:56px;-ms-flex-pack:center;justify-content:center;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);transition:all .4s cubic-bezier(.25,.8,.25,1)}.md-bottom-bar,.md-bottom-bar-item{position:relative;display:-ms-flexbox;display:flex}.md-bottom-bar-item{max-width:168px;min-width:80px;height:100%;padding:8px 12px 10px;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex:1;flex:1;cursor:pointer;border:none;background:transparent;transform:translateZ(0);color:currentColor;font-family:inherit;font-size:14px;line-height:1em;text-decoration:none}.md-bottom-bar-item.md-active{padding-top:6px}.md-bottom-bar-item.md-active .md-text{transform:scale(1) translateZ(0)}.md-bottom-bar-item.md-active .md-icon,.md-bottom-bar-item.md-active .md-text{color:currentColor}.md-bottom-bar-item[disabled]{opacity:.38}.md-bottom-bar.md-shift .md-bottom-bar-item{min-width:56px;max-width:96px;position:static;-ms-flex:1 1 32px;flex:1 1 32px;transition:.4s cubic-bezier(.25,.8,.25,1);transition-property:flex,min-width,max-width;transition-property:flex,min-width,max-width,-ms-flex}.md-bottom-bar.md-shift .md-bottom-bar-item .md-icon{transform:translate3d(0,8px,0)}.md-bottom-bar.md-shift .md-bottom-bar-item .md-text{opacity:0;transform:scale(1) translate3d(0,6px,0)}.md-bottom-bar.md-shift .md-bottom-bar-item.md-active{min-width:96px;max-width:168px;-ms-flex:1 1 72px;flex:1 1 72px}.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-icon,.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-text{opacity:1}.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-icon{transform:scale(1) translateZ(0)}.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-text{transform:scale(1) translate3d(0,2px,0)}.md-bottom-bar-item .md-text{transform:scale(.8571) translateY(2px);transition:all .4s cubic-bezier(.25,.8,.25,1),color .15s linear,opacity .15s linear}.md-bottom-bar-item .md-icon{transition:all .4s cubic-bezier(.25,.8,.25,1),color .15s linear}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-bottom-bar {
width: 100%;
min-width: 100%;
height: 56px;
position: relative;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.md-bottom-bar-item {
max-width: 168px;
min-width: 80px;
height: 100%;
padding: 8px 12px 10px;
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: justify;
justify-content: space-between;
-ms-flex: 1;
flex: 1;
position: relative;
cursor: pointer;
border: none;
background: transparent;
transform: translate3d(0, 0, 0);
color: currentColor;
font-family: inherit;
font-size: 14px;
line-height: 1em;
text-decoration: none;
}
.md-bottom-bar-item.md-active {
padding-top: 6px;
}
.md-bottom-bar-item.md-active .md-text {
transform: scale(1) translate3d(0, 0, 0);
}
.md-bottom-bar-item.md-active .md-text,
.md-bottom-bar-item.md-active .md-icon {
color: currentColor;
}
.md-bottom-bar-item[disabled] {
opacity: .38;
}
.md-bottom-bar.md-shift .md-bottom-bar-item {
min-width: 56px;
max-width: 96px;
position: static;
-ms-flex: 1 1 32px;
flex: 1 1 32px;
transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
transition-property: flex, min-width, max-width;
transition-property: flex, min-width, max-width, -ms-flex;
}
.md-bottom-bar.md-shift .md-bottom-bar-item .md-icon {
transform: translate3d(0, 8px, 0);
}
.md-bottom-bar.md-shift .md-bottom-bar-item .md-text {
opacity: 0;
transform: scale(1) translate3d(0, 6px, 0);
}
.md-bottom-bar.md-shift .md-bottom-bar-item.md-active {
min-width: 96px;
max-width: 168px;
-ms-flex: 1 1 72px;
flex: 1 1 72px;
}
.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-icon,
.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-text {
opacity: 1;
}
.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-icon {
transform: scale(1) translate3d(0, 0, 0);
}
.md-bottom-bar.md-shift .md-bottom-bar-item.md-active .md-text {
transform: scale(1) translate3d(0, 2px, 0);
}
.md-bottom-bar-item .md-text {
transform: scale(0.8571) translateY(2px);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.15s linear, opacity 0.15s linear;
}
.md-bottom-bar-item .md-icon {
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.15s linear;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 399);
/******/ return __webpack_require__(__webpack_require__.s = 449);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 133:
/***/ 128:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -211,6 +247,7 @@ var _mixin2 = _interopRequireDefault(_mixin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
name: 'md-bottom-bar',
props: {
mdShift: Boolean
},
@ -244,7 +281,7 @@ module.exports = exports['default'];
/***/ }),
/***/ 134:
/***/ 129:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -275,16 +312,15 @@ Object.defineProperty(exports, "__esModule", {
//
//
//
//
//
exports.default = {
name: 'md-bottom-bar-item',
props: {
mdIcon: String,
mdIconSrc: String,
mdIconset: String,
mdActive: Boolean,
disabled: String,
disabled: Boolean,
href: String
},
data: function data() {
@ -306,10 +342,14 @@ exports.default = {
}
},
methods: {
setActive: function setActive(active) {
setActive: function setActive(active, $event) {
if (active) {
this.$parent.setActive(this);
}
if ($event) {
this.$emit('click', $event);
}
}
},
mounted: function mounted() {
@ -328,39 +368,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 205:
/***/ 234:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 234:
/***/ 267:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-bottom-bar.md-fixed {\n background-color: BACKGROUND-COLOR; }\n .THEME_NAME.md-bottom-bar.md-fixed .md-bottom-bar-item {\n color: BACKGROUND-CONTRAST-0.54; }\n .THEME_NAME.md-bottom-bar.md-fixed .md-bottom-bar-item:hover:not([disabled]):not(.md-active) {\n color: BACKGROUND-CONTRAST-0.87; }\n .THEME_NAME.md-bottom-bar.md-fixed .md-bottom-bar-item.md-active {\n color: PRIMARY-COLOR; }\n .THEME_NAME.md-bottom-bar.md-fixed.md-accent .md-bottom-bar-item.md-active {\n color: ACCENT-COLOR; }\n .THEME_NAME.md-bottom-bar.md-fixed.md-warn .md-bottom-bar-item.md-active {\n color: WARN-COLOR; }\n .THEME_NAME.md-bottom-bar.md-fixed.md-transparent .md-bottom-bar-item.md-active {\n color: BACKGROUND-CONTRAST; }\n\n.THEME_NAME.md-bottom-bar.md-shift {\n background-color: PRIMARY-COLOR;\n color: PRIMARY-CONTRAST; }\n .THEME_NAME.md-bottom-bar.md-shift .md-bottom-bar-item {\n color: PRIMARY-CONTRAST-0.54; }\n .THEME_NAME.md-bottom-bar.md-shift .md-bottom-bar-item:hover:not([disabled]):not(.md-active) {\n color: PRIMARY-CONTRAST-0.87; }\n .THEME_NAME.md-bottom-bar.md-shift .md-bottom-bar-item.md-active {\n color: PRIMARY-CONTRAST; }\n .THEME_NAME.md-bottom-bar.md-shift.md-accent {\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-bottom-bar.md-shift.md-accent .md-bottom-bar-item {\n color: ACCENT-CONTRAST-0.54; }\n .THEME_NAME.md-bottom-bar.md-shift.md-accent .md-bottom-bar-item:hover:not([disabled]):not(.md-active) {\n color: ACCENT-CONTRAST-0.87; }\n .THEME_NAME.md-bottom-bar.md-shift.md-accent .md-bottom-bar-item.md-active {\n color: ACCENT-CONTRAST; }\n .THEME_NAME.md-bottom-bar.md-shift.md-warn {\n background-color: WARN-COLOR; }\n .THEME_NAME.md-bottom-bar.md-shift.md-warn .md-bottom-bar-item {\n color: WARN-CONTRAST-0.54; }\n .THEME_NAME.md-bottom-bar.md-shift.md-warn .md-bottom-bar-item:hover:not([disabled]):not(.md-active) {\n color: WARN-CONTRAST-0.87; }\n .THEME_NAME.md-bottom-bar.md-shift.md-warn .md-bottom-bar-item.md-active {\n color: WARN-CONTRAST; }\n .THEME_NAME.md-bottom-bar.md-shift.md-transparent {\n background-color: transparent; }\n .THEME_NAME.md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item {\n color: BACKGROUND-CONTRAST-0.54; }\n .THEME_NAME.md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item:hover:not([disabled]):not(.md-active) {\n color: BACKGROUND-CONTRAST-0.87; }\n .THEME_NAME.md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item.md-active {\n color: BACKGROUND-CONTRAST; }\n"
/***/ }),
/***/ 262:
/***/ 298:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(205)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(234)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(133),
__webpack_require__(128),
/* template */
__webpack_require__(343),
__webpack_require__(386),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdBottomBar/mdBottomBar.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdBottomBar/mdBottomBar.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdBottomBar.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -374,6 +417,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-197179a8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -381,21 +427,24 @@ module.exports = Component.exports
/***/ }),
/***/ 263:
/***/ 299:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(134),
__webpack_require__(129),
/* template */
__webpack_require__(345),
__webpack_require__(388),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdBottomBar/mdBottomBarItem.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdBottomBar/mdBottomBarItem.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdBottomBarItem.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -409,6 +458,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-1b798f5b", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -416,7 +468,7 @@ module.exports = Component.exports
/***/ }),
/***/ 343:
/***/ 386:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -435,7 +487,7 @@ if (false) {
/***/ }),
/***/ 345:
/***/ 388:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -447,11 +499,13 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
"disabled": _vm.disabled
},
on: {
"click": _vm.setActive
"click": function($event) {
_vm.setActive(true, $event)
}
}
}, [(_vm.mdIcon || _vm.mdIconSrc || _vm.mdIconset) ? _c('md-icon', {
attrs: {
"md-icon-src": _vm.mdIconSrc,
"md-src": _vm.mdIconSrc,
"md-iconset": _vm.mdIconset
}
}, [_vm._v(_vm._s(_vm.mdIcon))]) : _vm._e(), _vm._v(" "), _c('md-ink-ripple', {
@ -468,7 +522,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
"disabled": _vm.disabled
},
on: {
"click": _vm.setActive
"click": function($event) {
_vm.setActive(true, $event)
}
}
}, [(_vm.mdIcon || _vm.mdIconSrc || _vm.mdIconset) ? _c('md-icon', {
attrs: {
@ -493,15 +549,15 @@ if (false) {
/***/ }),
/***/ 399:
/***/ 449:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(92);
module.exports = __webpack_require__(82);
/***/ }),
/***/ 92:
/***/ 82:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -512,15 +568,15 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdBottomBar = __webpack_require__(262);
var _mdBottomBar = __webpack_require__(298);
var _mdBottomBar2 = _interopRequireDefault(_mdBottomBar);
var _mdBottomBarItem = __webpack_require__(263);
var _mdBottomBarItem = __webpack_require__(299);
var _mdBottomBarItem2 = _interopRequireDefault(_mdBottomBarItem);
var _mdBottomBar3 = __webpack_require__(234);
var _mdBottomBar3 = __webpack_require__(267);
var _mdBottomBar4 = _interopRequireDefault(_mdBottomBar3);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,203 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-button{min-width:88px;min-height:36px;margin:6px 8px;padding:0 16px;display:inline-block;position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;background:none;border:0;border-radius:2px;transition:all .4s cubic-bezier(.25,.8,.25,1);color:currentColor;font-family:inherit;font-size:14px;font-style:inherit;font-variant:inherit;font-weight:500;letter-spacing:inherit;line-height:36px;text-align:center;text-transform:uppercase;text-decoration:none;vertical-align:top;white-space:nowrap}.md-button,.md-button:focus{outline:none}.md-button::-moz-focus-inner{border:0}.md-button:hover:not([disabled]):not(.md-raised){background-color:hsla(0,0%,60%,.2);text-decoration:none}.md-button:hover:not([disabled]).md-raised{background-color:rgba(0,0,0,.12)}.md-button:active:not([disabled]){background-color:hsla(0,0%,60%,.4)}.md-button.md-raised:not([disabled]){box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.md-button.md-dense{min-height:32px;line-height:32px;font-size:13px}.md-button.md-fab .md-icon,.md-button.md-icon-button .md-icon{position:absolute;top:1px;right:0;bottom:0;left:0}.md-button.md-icon-button{width:40px;min-width:40px;height:40px;margin:0 6px;padding:8px;border-radius:50%;line-height:24px}.md-button.md-icon-button:not([disabled]):hover{background:none}.md-button.md-icon-button.md-dense{width:32px;min-width:32px;height:32px;min-height:32px;padding:4px;line-height:32px}.md-button.md-icon-button .md-ink-ripple{border-radius:50%}.md-button.md-icon-button .md-ink-ripple .md-ripple{top:0!important;right:0!important;bottom:0!important;left:0!important}.md-button.md-icon-button .md-ripple.md-active{animation-duration:.9s}.md-button.md-fab{width:56px;height:56px;padding:0;min-width:0;overflow:hidden;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);border-radius:56px;line-height:56px;background-clip:padding-box;transition:all .4s cubic-bezier(.25,.8,.25,1);transition-property:background-color,box-shadow,transform}.md-button.md-fab:focus,.md-button.md-fab:hover{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px rgba(0,0,0,.14),0 1px 14px rgba(0,0,0,.12)}.md-button.md-fab.md-mini{width:40px;height:40px;line-height:40px}.md-button.md-fab .md-ink-ripple{border-radius:56px}.md-button[disabled]{color:rgba(0,0,0,.26);cursor:default;pointer-events:none}.md-button[disabled].md-fab,.md-button[disabled].md-raised{background-color:rgba(0,0,0,.12)}.md-button[disabled].md-fab{box-shadow:none}.md-button:after{transition:all .4s cubic-bezier(.25,.8,.25,1)}.md-button .md-ink-ripple{border-radius:2px;background-clip:padding-box;overflow:hidden}.md-button.md-fab .md-icon,.md-button.md-icon-button .md-icon{display:block}.md-fab.md-fab-bottom-center,.md-fab.md-fab-bottom-left,.md-fab.md-fab-bottom-right,.md-fab.md-fab-top-center,.md-fab.md-fab-top-left,.md-fab.md-fab-top-right,.md-speed-dial.md-fab-bottom-center,.md-speed-dial.md-fab-bottom-left,.md-speed-dial.md-fab-bottom-right,.md-speed-dial.md-fab-top-center,.md-speed-dial.md-fab-top-left,.md-speed-dial.md-fab-top-right{margin:0;position:absolute;z-index:10}.md-fab.md-fab-top-left,.md-speed-dial.md-fab-top-left{top:24px;left:24px}.md-fab.md-fab-top-center,.md-speed-dial.md-fab-top-center{top:24px;left:50%;transform:translateX(-50%)}.md-fab.md-fab-top-right,.md-speed-dial.md-fab-top-right{top:24px;right:24px}.md-fab.md-fab-bottom-left,.md-speed-dial.md-fab-bottom-left{bottom:24px;left:24px}.md-fab.md-fab-bottom-center,.md-speed-dial.md-fab-bottom-center{bottom:24px;left:50%;transform:translateX(-50%)}.md-fab.md-fab-bottom-right,.md-speed-dial.md-fab-bottom-right{right:24px;bottom:24px}.md-button-tooltip.md-tooltip-top{margin-top:-8px}.md-button-tooltip.md-tooltip-right{margin-left:8px}.md-button-tooltip.md-tooltip-bottom{margin-top:8px}.md-button-tooltip.md-tooltip-left{margin-left:-8px}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-button {
min-width: 88px;
min-height: 36px;
margin: 6px 8px;
padding: 0 16px;
display: inline-block;
position: relative;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
outline: none;
background: none;
border: 0;
border-radius: 2px;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
color: currentColor;
font-family: inherit;
font-size: 14px;
font-style: inherit;
font-variant: inherit;
font-weight: 500;
letter-spacing: inherit;
line-height: 36px;
text-align: center;
text-transform: uppercase;
text-decoration: none;
vertical-align: top;
white-space: nowrap;
}
.md-button:focus {
outline: none;
}
.md-button::-moz-focus-inner {
border: 0;
}
.md-button:hover:not([disabled]):not(.md-raised) {
background-color: rgba(153, 153, 153, 0.2);
text-decoration: none;
}
.md-button:hover:not([disabled]).md-raised {
background-color: rgba(0, 0, 0, 0.12);
}
.md-button:active:not([disabled]) {
background-color: rgba(153, 153, 153, 0.4);
}
.md-button.md-raised:not([disabled]) {
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
}
.md-button.md-dense {
min-height: 32px;
line-height: 32px;
font-size: 13px;
}
.md-button.md-icon-button .md-icon, .md-button.md-fab .md-icon {
position: absolute;
top: 1px;
right: 0;
bottom: 0;
left: 0;
}
.md-button.md-icon-button {
width: 40px;
min-width: 40px;
height: 40px;
margin: 0 6px;
padding: 8px;
border-radius: 50%;
line-height: 24px;
}
.md-button.md-icon-button:not([disabled]):hover {
background: none;
}
.md-button.md-icon-button.md-dense {
width: 32px;
min-width: 32px;
height: 32px;
min-height: 32px;
padding: 4px;
line-height: 32px;
}
.md-button.md-icon-button .md-ink-ripple {
border-radius: 50%;
}
.md-button.md-icon-button .md-ink-ripple .md-ripple {
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
}
.md-button.md-icon-button .md-ripple.md-active {
animation-duration: .9s;
}
.md-button.md-fab {
width: 56px;
height: 56px;
padding: 0;
min-width: 0;
overflow: hidden;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
border-radius: 56px;
line-height: 56px;
background-clip: padding-box;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
transition-property: background-color, box-shadow, transform;
}
.md-button.md-fab:hover, .md-button.md-fab:focus {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 5px 8px rgba(0, 0, 0, 0.14), 0 1px 14px rgba(0, 0, 0, 0.12);
}
.md-button.md-fab.md-mini {
width: 40px;
height: 40px;
line-height: 40px;
}
.md-button.md-fab .md-ink-ripple {
border-radius: 56px;
}
.md-button[disabled] {
color: rgba(0, 0, 0, 0.26);
cursor: default;
pointer-events: none;
}
.md-button[disabled].md-raised, .md-button[disabled].md-fab {
background-color: rgba(0, 0, 0, 0.12);
}
.md-button[disabled].md-fab {
box-shadow: none;
}
.md-button:after {
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.md-button .md-ink-ripple {
border-radius: 2px;
background-clip: padding-box;
overflow: hidden;
}
.md-button.md-icon-button .md-icon,
.md-button.md-fab .md-icon {
display: block;
}
.md-fab.md-fab-top-left, .md-fab.md-fab-top-center, .md-fab.md-fab-top-right, .md-fab.md-fab-bottom-left, .md-fab.md-fab-bottom-center, .md-fab.md-fab-bottom-right,
.md-speed-dial.md-fab-top-left,
.md-speed-dial.md-fab-top-center,
.md-speed-dial.md-fab-top-right,
.md-speed-dial.md-fab-bottom-left,
.md-speed-dial.md-fab-bottom-center,
.md-speed-dial.md-fab-bottom-right {
margin: 0;
position: absolute;
z-index: 10;
}
.md-fab.md-fab-top-left,
.md-speed-dial.md-fab-top-left {
top: 24px;
left: 24px;
}
.md-fab.md-fab-top-center,
.md-speed-dial.md-fab-top-center {
top: 24px;
left: 50%;
transform: translateX(-50%);
}
.md-fab.md-fab-top-right,
.md-speed-dial.md-fab-top-right {
top: 24px;
right: 24px;
}
.md-fab.md-fab-bottom-left,
.md-speed-dial.md-fab-bottom-left {
bottom: 24px;
left: 24px;
}
.md-fab.md-fab-bottom-center,
.md-speed-dial.md-fab-bottom-center {
bottom: 24px;
left: 50%;
transform: translateX(-50%);
}
.md-fab.md-fab-bottom-right,
.md-speed-dial.md-fab-bottom-right {
right: 24px;
bottom: 24px;
}
.md-button-tooltip.md-tooltip-top {
margin-top: -8px;
}
.md-button-tooltip.md-tooltip-right {
margin-left: 8px;
}
.md-button-tooltip.md-tooltip-bottom {
margin-top: 8px;
}
.md-button-tooltip.md-tooltip-left {
margin-left: -8px;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 400);
/******/ return __webpack_require__(__webpack_require__.s = 450);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 135:
/***/ 130:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -211,6 +247,7 @@ var _mixin2 = _interopRequireDefault(_mixin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
name: 'md-button',
props: {
href: String,
target: String,
@ -250,39 +287,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 223:
/***/ 254:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 235:
/***/ 268:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-button:not([disabled]).md-raised:not(.md-icon-button) {\n color: BACKGROUND-CONTRAST;\n background-color: BACKGROUND-COLOR; }\n .THEME_NAME.md-button:not([disabled]).md-raised:not(.md-icon-button):hover {\n background-color: BACKGROUND-COLOR-200; }\n\n.THEME_NAME.md-button:not([disabled]).md-raised.md-icon-button:not(.md-raised) {\n color: BACKGROUND-CONTRAST; }\n\n.THEME_NAME.md-button:not([disabled]).md-fab {\n color: ACCENT-CONTRAST;\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-button:not([disabled]).md-fab:hover {\n background-color: ACCENT-COLOR-600; }\n .THEME_NAME.md-button:not([disabled]).md-fab.md-clean {\n color: BACKGROUND-CONTRAST;\n background-color: BACKGROUND-COLOR; }\n .THEME_NAME.md-button:not([disabled]).md-fab.md-clean:hover {\n background-color: BACKGROUND-COLOR-200; }\n\n.THEME_NAME.md-button:not([disabled]).md-primary:not(.md-icon-button) {\n color: PRIMARY-COLOR; }\n\n.THEME_NAME.md-button:not([disabled]).md-primary.md-raised, .THEME_NAME.md-button:not([disabled]).md-primary.md-fab {\n background-color: PRIMARY-COLOR;\n color: PRIMARY-CONTRAST; }\n .THEME_NAME.md-button:not([disabled]).md-primary.md-raised:hover, .THEME_NAME.md-button:not([disabled]).md-primary.md-fab:hover {\n background-color: PRIMARY-COLOR-600; }\n\n.THEME_NAME.md-button:not([disabled]).md-primary.md-icon-button:not(.md-raised) {\n color: PRIMARY-COLOR; }\n\n.THEME_NAME.md-button:not([disabled]).md-accent:not(.md-icon-button) {\n color: ACCENT-COLOR; }\n\n.THEME_NAME.md-button:not([disabled]).md-accent.md-raised {\n background-color: ACCENT-COLOR;\n color: ACCENT-CONTRAST; }\n .THEME_NAME.md-button:not([disabled]).md-accent.md-raised:hover {\n background-color: ACCENT-COLOR-600; }\n\n.THEME_NAME.md-button:not([disabled]).md-accent.md-icon-button:not(.md-raised) {\n color: ACCENT-COLOR; }\n\n.THEME_NAME.md-button:not([disabled]).md-warn:not(.md-icon-button) {\n color: WARN-COLOR; }\n\n.THEME_NAME.md-button:not([disabled]).md-warn.md-raised, .THEME_NAME.md-button:not([disabled]).md-warn.md-fab {\n background-color: WARN-COLOR;\n color: WARN-CONTRAST; }\n .THEME_NAME.md-button:not([disabled]).md-warn.md-raised:hover, .THEME_NAME.md-button:not([disabled]).md-warn.md-fab:hover {\n background-color: WARN-COLOR-600; }\n\n.THEME_NAME.md-button:not([disabled]).md-warn.md-icon-button:not(.md-raised) {\n color: WARN-COLOR; }\n"
/***/ }),
/***/ 264:
/***/ 300:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(223)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(254)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(135),
__webpack_require__(130),
/* template */
__webpack_require__(381),
__webpack_require__(430),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdButton/mdButton.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdButton/mdButton.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdButton.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -296,6 +336,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-6dc87da4", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -303,22 +346,11 @@ module.exports = Component.exports
/***/ }),
/***/ 381:
/***/ 430:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return (!_vm.href) ? _c('button', {
staticClass: "md-button",
class: [_vm.themeClass],
attrs: {
"type": _vm.type,
"disabled": _vm.disabled
}
}, [_c('md-ink-ripple', {
attrs: {
"md-disabled": _vm.disabled
}
}), _vm._v(" "), _vm._t("default")], 2) : _c('a', {
return (_vm.href) ? _c('a', {
staticClass: "md-button",
class: [_vm.themeClass],
attrs: {
@ -326,6 +358,27 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
"disabled": _vm.disabled,
"target": _vm.target,
"rel": _vm.newRel
},
on: {
"click": function($event) {
_vm.$emit('click', $event)
}
}
}, [_c('md-ink-ripple', {
attrs: {
"md-disabled": _vm.disabled
}
}), _vm._v(" "), _vm._t("default")], 2) : _c('button', {
staticClass: "md-button",
class: [_vm.themeClass],
attrs: {
"type": _vm.type,
"disabled": _vm.disabled
},
on: {
"click": function($event) {
_vm.$emit('click', $event)
}
}
}, [_c('md-ink-ripple', {
attrs: {
@ -343,15 +396,15 @@ if (false) {
/***/ }),
/***/ 400:
/***/ 450:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(93);
module.exports = __webpack_require__(83);
/***/ }),
/***/ 93:
/***/ 83:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -362,11 +415,11 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdButton = __webpack_require__(264);
var _mdButton = __webpack_require__(300);
var _mdButton2 = _interopRequireDefault(_mdButton);
var _mdButton3 = __webpack_require__(235);
var _mdButton3 = __webpack_require__(268);
var _mdButton4 = _interopRequireDefault(_mdButton3);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,37 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-button-toggle{width:auto;display:-ms-flexbox;display:flex}.md-button-toggle>.md-button{margin:0;overflow:hidden;border-width:1px 0 1px 1px;border-radius:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.md-button-toggle>.md-button:first-child{border-radius:2px 0 0 2px}.md-button-toggle>.md-button:last-child{border-right-width:1px;border-radius:0 2px 2px 0}.md-button-toggle>.md-button:not([disabled]){color:rgba(0,0,0,.54)}.md-button-toggle>.md-button:not([disabled]):hover:not(.md-toggle):not(.md-raised){background-color:hsla(0,0%,60%,.2);text-decoration:none}.md-button-toggle>.md-button .md-ink-ripple{border-radius:2px}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-button-toggle {
width: auto;
display: -ms-flexbox;
display: flex;
}
.md-button-toggle > .md-button {
margin: 0;
overflow: hidden;
border-width: 1px 0 1px 1px;
border-radius: 0;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
.md-button-toggle > .md-button:first-child {
border-radius: 2px 0 0 2px;
}
.md-button-toggle > .md-button:last-child {
border-right-width: 1px;
border-radius: 0 2px 2px 0;
}
.md-button-toggle > .md-button:not([disabled]) {
color: rgba(0, 0, 0, 0.54);
}
.md-button-toggle > .md-button:not([disabled]):hover:not(.md-toggle):not(.md-raised) {
background-color: rgba(153, 153, 153, 0.2);
text-decoration: none;
}
.md-button-toggle > .md-button .md-ink-ripple {
border-radius: 2px;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 401);
/******/ return __webpack_require__(__webpack_require__.s = 451);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 136:
/***/ 131:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -220,6 +256,7 @@ var onClickButton = void 0; //
//
exports.default = {
name: 'md-button-toggle',
props: {
mdSingle: Boolean
},
@ -262,39 +299,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 202:
/***/ 231:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 236:
/***/ 269:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-button-toggle .md-button:after {\n width: 1px;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n content: \" \"; }\n\n.THEME_NAME.md-button-toggle .md-toggle {\n color: BACKGROUND-CONTRAST-0.54;\n background-color: BACKGROUND-CONTRAST-0.26; }\n .THEME_NAME.md-button-toggle .md-toggle:hover:not([disabled]) {\n background-color: BACKGROUND-CONTRAST-0.38; }\n .THEME_NAME.md-button-toggle .md-toggle + .md-toggle:after {\n background-color: BACKGROUND-CONTRAST-0.12; }\n\n.THEME_NAME.md-button-toggle.md-primary .md-toggle {\n color: PRIMARY-CONTRAST;\n background-color: PRIMARY-COLOR; }\n .THEME_NAME.md-button-toggle.md-primary .md-toggle:hover:not([disabled]) {\n background-color: PRIMARY-COLOR; }\n .THEME_NAME.md-button-toggle.md-primary .md-toggle + .md-toggle:after {\n background-color: PRIMARY-COLOR-600; }\n\n.THEME_NAME.md-button-toggle.md-accent .md-toggle {\n color: ACCENT-CONTRAST;\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-button-toggle.md-accent .md-toggle:hover:not([disabled]) {\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-button-toggle.md-accent .md-toggle + .md-toggle:after {\n background-color: ACCENT-COLOR-600; }\n\n.THEME_NAME.md-button-toggle.md-warn .md-toggle {\n color: WARN-CONTRAST;\n background-color: WARN-COLOR; }\n .THEME_NAME.md-button-toggle.md-warn .md-toggle:hover:not([disabled]) {\n background-color: WARN-COLOR; }\n .THEME_NAME.md-button-toggle.md-warn .md-toggle + .md-toggle:after {\n background-color: WARN-COLOR-600; }\n\n.THEME_NAME.md-button-toggle [disabled] {\n color: rgba(0, 0, 0, 0.26); }\n .THEME_NAME.md-button-toggle [disabled].md-toggle {\n color: BACKGROUND-CONTRAST-0.2;\n background-color: rgba(0, 0, 0, 0.26); }\n"
/***/ }),
/***/ 265:
/***/ 301:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(202)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(231)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(136),
__webpack_require__(131),
/* template */
__webpack_require__(335),
__webpack_require__(378),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdButtonToggle/mdButtonToggle.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdButtonToggle/mdButtonToggle.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdButtonToggle.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -308,6 +348,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-0c5891b8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -315,7 +358,7 @@ module.exports = Component.exports
/***/ }),
/***/ 335:
/***/ 378:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -334,15 +377,15 @@ if (false) {
/***/ }),
/***/ 401:
/***/ 451:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(94);
module.exports = __webpack_require__(84);
/***/ }),
/***/ 94:
/***/ 84:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -353,11 +396,11 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdButtonToggle = __webpack_require__(265);
var _mdButtonToggle = __webpack_require__(301);
var _mdButtonToggle2 = _interopRequireDefault(_mdButtonToggle);
var _mdButtonToggle3 = __webpack_require__(236);
var _mdButtonToggle3 = __webpack_require__(269);
var _mdButtonToggle4 = _interopRequireDefault(_mdButtonToggle3);

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.0
* Vue Material v0.7.4
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueMaterial=e():t.VueMaterial=e()})(this,(function(){return (function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=401)})({0:function(t,e){t.exports=function(t,e,o,n){var r,d=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(r=t,d=t.default);var u="function"==typeof d?d.options:d;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),o&&(u._scopeId=o),n){var c=u.computed||(u.computed={});Object.keys(n).forEach((function(t){var e=n[t];c[t]=function(){return e}}))}return{esModule:r,exports:d,options:u}}},1:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(t){return!(!t||!t.$el||0===t._uid)&&(t.mdTheme||t.mdName?t:this.getClosestThemedParent(t.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var t=this.closestThemedParent.mdTheme;return t||(t=this.closestThemedParent?this.closestThemedParent.mdName:this.$material.currentTheme),"md-theme-"+t}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),this.$material.currentTheme||this.$material.setCurrentTheme("default")}},t.exports=e.default},136:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(1),d=n(r),l=void 0;e.default={props:{mdSingle:Boolean},mixins:[d.default],mounted:function(){var t=this;this.$children.forEach((function(e){var o=e.$el,n="md-toggle";l=function(){t.mdSingle?(t.$children.forEach((function(t){t.$el.classList.remove(n)})),o.classList.add(n)):o.classList.toggle(n)},o&&o.classList.contains("md-button")&&o.addEventListener("click",l)}))},beforeDestroy:function(){this.$children.forEach((function(t){var e=t.$el;e&&e.classList.contains("md-button")&&e.removeEventListener("click",l)}))}},t.exports=e.default},202:function(t,e){},236:function(t,e){t.exports='.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{color:BACKGROUND-CONTRAST-0.54;background-color:BACKGROUND-CONTRAST-0.26}.THEME_NAME.md-button-toggle .md-toggle:hover:not([disabled]){background-color:BACKGROUND-CONTRAST-0.38}.THEME_NAME.md-button-toggle .md-toggle+.md-toggle:after{background-color:BACKGROUND-CONTRAST-0.12}.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]){background-color:PRIMARY-COLOR}.THEME_NAME.md-button-toggle.md-primary .md-toggle+.md-toggle:after{background-color:PRIMARY-COLOR-600}.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]){background-color:ACCENT-COLOR}.THEME_NAME.md-button-toggle.md-accent .md-toggle+.md-toggle:after{background-color:ACCENT-COLOR-600}.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]){background-color:WARN-COLOR}.THEME_NAME.md-button-toggle.md-warn .md-toggle+.md-toggle:after{background-color:WARN-COLOR-600}.THEME_NAME.md-button-toggle [disabled]{color:rgba(0,0,0,0.26)}.THEME_NAME.md-button-toggle [disabled].md-toggle{color:BACKGROUND-CONTRAST-0.2;background-color:rgba(0,0,0,0.26)}\n'},265:function(t,e,o){o(202);var n=o(0)(o(136),o(335),null,null);t.exports=n.exports},335:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"md-button-toggle",class:[t.themeClass]},[t._t("default")],2)},staticRenderFns:[]}},401:function(t,e,o){t.exports=o(94)},94:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){t.component("md-button-toggle",l.default),t.material.styles.push(c.default)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var d=o(265),l=n(d),u=o(236),c=n(u);t.exports=e.default}})}));
!(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueMaterial=e():t.VueMaterial=e()})(this,(function(){return (function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=450)})({0:function(t,e){t.exports=function(t,e,o,n,r){var d,l=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(d=t,l=t.default);var c="function"==typeof l?l.options:l;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns),n&&(c._scopeId=n);var i;if(r?(i=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=i):o&&(i=o),i){var a=c.functional,s=a?c.render:c.beforeCreate;a?c.render=function(t,e){return i.call(e),s(t,e)}:c.beforeCreate=s?[].concat(s,i):[i]}return{esModule:d,exports:l,options:c}}},1:function(t,e,o){"use strict";function n(t){if(!t)return null;var e=t.mdTheme;return e||"md-theme"!==t.$options._componentTag||(e=t.mdName),e||n(t.$parent)}Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdTheme:String},computed:{mdEffectiveTheme:function(){return n(this)||this.$material.currentTheme},themeClass:function(){return this.$material.prefix+this.mdEffectiveTheme}},watch:{mdTheme:function(t){this.$material.useTheme(t)}},beforeMount:function(){var t=this.mdTheme;this.$material.useTheme(t?t:"default")}},t.exports=e.default},131:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(1),d=n(r),l=void 0;e.default={name:"md-button-toggle",props:{mdSingle:Boolean},mixins:[d.default],mounted:function(){var t=this;this.$children.forEach((function(e){var o=e.$el,n="md-toggle";l=function(){t.mdSingle?(t.$children.forEach((function(t){t.$el.classList.remove(n)})),o.classList.add(n)):o.classList.toggle(n)},o&&o.classList.contains("md-button")&&o.addEventListener("click",l)}))},beforeDestroy:function(){this.$children.forEach((function(t){var e=t.$el;e&&e.classList.contains("md-button")&&e.removeEventListener("click",l)}))}},t.exports=e.default},231:function(t,e){},268:function(t,e){t.exports='.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{color:BACKGROUND-CONTRAST-0.54;background-color:BACKGROUND-CONTRAST-0.26}.THEME_NAME.md-button-toggle .md-toggle:hover:not([disabled]){background-color:BACKGROUND-CONTRAST-0.38}.THEME_NAME.md-button-toggle .md-toggle+.md-toggle:after{background-color:BACKGROUND-CONTRAST-0.12}.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]){background-color:PRIMARY-COLOR}.THEME_NAME.md-button-toggle.md-primary .md-toggle+.md-toggle:after{background-color:PRIMARY-COLOR-600}.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]){background-color:ACCENT-COLOR}.THEME_NAME.md-button-toggle.md-accent .md-toggle+.md-toggle:after{background-color:ACCENT-COLOR-600}.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]){background-color:WARN-COLOR}.THEME_NAME.md-button-toggle.md-warn .md-toggle+.md-toggle:after{background-color:WARN-COLOR-600}.THEME_NAME.md-button-toggle [disabled]{color:rgba(0,0,0,0.26)}.THEME_NAME.md-button-toggle [disabled].md-toggle{color:BACKGROUND-CONTRAST-0.2;background-color:rgba(0,0,0,0.26)}\n'},300:function(t,e,o){function n(t){o(231)}var r=o(0)(o(131),o(377),n,null,null);t.exports=r.exports},377:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"md-button-toggle",class:[t.themeClass]},[t._t("default")],2)},staticRenderFns:[]}},450:function(t,e,o){t.exports=o(84)},84:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){t.component("md-button-toggle",l.default),t.material.styles.push(c.default)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var d=o(300),l=n(d),u=o(268),c=n(u);t.exports=e.default}})}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,86 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-checkbox{width:auto;margin:16px 8px 16px 0;display:-ms-inline-flexbox;display:inline-flex;position:relative}.md-checkbox .md-checkbox-container{width:20px;height:20px;position:relative;border-radius:2px;border:2px solid rgba(0,0,0,.54);transition:all .4s cubic-bezier(.25,.8,.25,1)}.md-checkbox .md-checkbox-container:focus{outline:none}.md-checkbox .md-checkbox-container:before{width:48px;height:48px;position:absolute;top:50%;left:50%;border-radius:50%;transform:translate(-50%,-50%);transition:all .3s cubic-bezier(.55,0,.55,.2);content:" "}.md-checkbox .md-checkbox-container:after{width:6px;height:13px;position:absolute;top:0;left:5px;border:2px solid #fff;border-top:0;border-left:0;opacity:0;transform:rotate(45deg) scale3D(.15,.15,1);transition:all .3s cubic-bezier(.55,0,.55,.2);content:" "}.md-checkbox .md-checkbox-container input{position:absolute;left:-999em}.md-checkbox .md-checkbox-container .md-ink-ripple{top:-16px;right:-16px;bottom:-16px;left:-16px;border-radius:50%;color:rgba(0,0,0,.54)}.md-checkbox .md-checkbox-container .md-ink-ripple .md-ripple{width:48px!important;height:48px!important;top:0!important;right:0!important;bottom:0!important;left:0!important}.md-checkbox .md-checkbox-label{height:20px;padding-left:8px;line-height:20px}.md-checkbox.md-checked .md-checkbox-container:after{opacity:1;transform:rotate(45deg) scale3D(1,1,1);transition:all .4s cubic-bezier(.25,.8,.25,1)}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-checkbox {
width: auto;
margin: 16px 8px 16px 0;
display: -ms-inline-flexbox;
display: inline-flex;
position: relative;
}
.md-checkbox:not(.md-disabled) {
cursor: pointer;
}
.md-checkbox:not(.md-disabled) .md-checkbox-label {
cursor: pointer;
}
.md-checkbox .md-checkbox-container {
width: 20px;
min-width: 20px;
height: 20px;
position: relative;
border-radius: 2px;
border: 2px solid rgba(0, 0, 0, 0.54);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.md-checkbox .md-checkbox-container:focus {
outline: none;
}
.md-checkbox .md-checkbox-container:before {
width: 48px;
height: 48px;
position: absolute;
top: 50%;
left: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
content: " ";
}
.md-checkbox .md-checkbox-container:after {
width: 6px;
height: 13px;
position: absolute;
top: 0;
left: 5px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
opacity: 0;
transform: rotate(45deg) scale3D(0.15, 0.15, 1);
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
content: " ";
}
.md-checkbox .md-checkbox-container input {
position: absolute;
left: -999em;
}
.md-checkbox .md-checkbox-container .md-ink-ripple {
top: -16px;
right: -16px;
bottom: -16px;
left: -16px;
border-radius: 50%;
color: rgba(0, 0, 0, 0.54);
}
.md-checkbox .md-checkbox-container .md-ink-ripple .md-ripple {
width: 48px !important;
height: 48px !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
}
.md-checkbox .md-checkbox-label {
height: 20px;
padding-left: 8px;
line-height: 20px;
}
.md-checkbox.md-checked .md-checkbox-container:after {
opacity: 1;
transform: rotate(45deg) scale3D(1, 1, 1);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 403);
/******/ return __webpack_require__(__webpack_require__.s = 453);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 143:
/***/ 142:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -211,6 +247,7 @@ var _mixin2 = _interopRequireDefault(_mixin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
name: 'md-checkbox',
props: {
name: String,
value: [String, Boolean],
@ -220,7 +257,7 @@ exports.default = {
mixins: [_mixin2.default],
data: function data() {
return {
checked: this.value
checked: this.value || false
};
},
@ -266,39 +303,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 225:
/***/ 257:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 238:
/***/ 271:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-checkbox.md-checked .md-checkbox-container {\n background-color: ACCENT-COLOR;\n border-color: ACCENT-COLOR; }\n .THEME_NAME.md-checkbox.md-checked .md-checkbox-container:after {\n border-color: ACCENT-CONTRAST; }\n\n.THEME_NAME.md-checkbox .md-ink-ripple {\n color: ACCENT-COLOR; }\n\n.THEME_NAME.md-checkbox .md-ripple {\n opacity: .26; }\n\n.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container {\n background-color: PRIMARY-COLOR;\n border-color: PRIMARY-COLOR; }\n .THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container:after {\n border-color: PRIMARY-CONTRAST; }\n\n.THEME_NAME.md-checkbox.md-primary .md-ink-ripple {\n color: PRIMARY-COLOR; }\n\n.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container {\n background-color: WARN-COLOR;\n border-color: WARN-COLOR; }\n .THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container:after {\n border-color: WARN-CONTRAST; }\n\n.THEME_NAME.md-checkbox.md-warn .md-ink-ripple {\n color: WARN-COLOR; }\n\n.THEME_NAME.md-checkbox.md-disabled.md-checked .md-checkbox-container {\n background-color: rgba(0, 0, 0, 0.26);\n border-color: transparent; }\n\n.THEME_NAME.md-checkbox.md-disabled:not(.md-checked) .md-checkbox-container {\n border-color: rgba(0, 0, 0, 0.26); }\n"
/***/ }),
/***/ 276:
/***/ 312:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(225)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(257)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(143),
__webpack_require__(142),
/* template */
__webpack_require__(386),
__webpack_require__(436),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdCheckbox/mdCheckbox.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdCheckbox/mdCheckbox.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdCheckbox.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -312,6 +352,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-9f41cdf8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -319,7 +362,7 @@ module.exports = Component.exports
/***/ }),
/***/ 386:
/***/ 436:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -357,6 +400,12 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
staticClass: "md-checkbox-label",
attrs: {
"for": _vm.id || _vm.name
},
on: {
"click": function($event) {
$event.preventDefault();
_vm.toggleCheck($event)
}
}
}, [_vm._t("default")], 2) : _vm._e()])
},staticRenderFns: []}
@ -370,15 +419,15 @@ if (false) {
/***/ }),
/***/ 403:
/***/ 453:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(96);
module.exports = __webpack_require__(86);
/***/ }),
/***/ 96:
/***/ 86:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -389,11 +438,11 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdCheckbox = __webpack_require__(276);
var _mdCheckbox = __webpack_require__(312);
var _mdCheckbox2 = _interopRequireDefault(_mdCheckbox);
var _mdCheckbox3 = __webpack_require__(238);
var _mdCheckbox3 = __webpack_require__(271);
var _mdCheckbox4 = _interopRequireDefault(_mdCheckbox3);

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.0
* Vue Material v0.7.4
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(c){if(o[c])return o[c].exports;var r=o[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:c})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=403)})({0:function(e,t){e.exports=function(e,t,o,c){var r,n=e=e||{},d=typeof e.default;"object"!==d&&"function"!==d||(r=e,n=e.default);var i="function"==typeof n?n.options:n;if(t&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns),o&&(i._scopeId=o),c){var a=i.computed||(i.computed={});Object.keys(c).forEach((function(e){var t=c[e];a[e]=function(){return t}}))}return{esModule:r,exports:n,options:i}}},1:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(e){return!(!e||!e.$el||0===e._uid)&&(e.mdTheme||e.mdName?e:this.getClosestThemedParent(e.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var e=this.closestThemedParent.mdTheme;return e||(e=this.closestThemedParent?this.closestThemedParent.mdName:this.$material.currentTheme),"md-theme-"+e}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),this.$material.currentTheme||this.$material.setCurrentTheme("default")}},e.exports=t.default},143:function(e,t,o){"use strict";function c(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),n=c(r);t.default={props:{name:String,value:[String,Boolean],id:String,disabled:Boolean},mixins:[n.default],data:function(){return{checked:this.value}},computed:{classes:function(){return{"md-checked":this.checked,"md-disabled":this.disabled}}},watch:{value:function(){this.checked=!!this.value}},methods:{toggleCheck:function(e){this.disabled||(this.checked=!this.checked,this.$emit("change",this.checked,e),this.$emit("input",this.checked,e))}}},e.exports=t.default},225:function(e,t){},238:function(e,t){e.exports=".THEME_NAME.md-checkbox.md-checked .md-checkbox-container{background-color:ACCENT-COLOR;border-color:ACCENT-COLOR}.THEME_NAME.md-checkbox.md-checked .md-checkbox-container:after{border-color:ACCENT-CONTRAST}.THEME_NAME.md-checkbox .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME.md-checkbox .md-ripple{opacity:.26}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container{background-color:PRIMARY-COLOR;border-color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container:after{border-color:PRIMARY-CONTRAST}.THEME_NAME.md-checkbox.md-primary .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container{background-color:WARN-COLOR;border-color:WARN-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container:after{border-color:WARN-CONTRAST}.THEME_NAME.md-checkbox.md-warn .md-ink-ripple{color:WARN-COLOR}.THEME_NAME.md-checkbox.md-disabled.md-checked .md-checkbox-container{background-color:rgba(0,0,0,0.26);border-color:transparent}.THEME_NAME.md-checkbox.md-disabled:not(.md-checked) .md-checkbox-container{border-color:rgba(0,0,0,0.26)}\n"},276:function(e,t,o){o(225);var c=o(0)(o(143),o(386),null,null);e.exports=c.exports},386:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-checkbox",class:[e.themeClass,e.classes]},[o("div",{staticClass:"md-checkbox-container",attrs:{tabindex:"0"},on:{click:function(t){t.stopPropagation(),e.toggleCheck(t)}}},[o("input",{attrs:{type:"checkbox",name:e.name,id:e.id,disabled:e.disabled,tabindex:"-1"},domProps:{value:e.value,checked:e.checked}}),e._v(" "),o("md-ink-ripple",{attrs:{"md-disabled":e.disabled}})],1),e._v(" "),e.$slots.default?o("label",{staticClass:"md-checkbox-label",attrs:{for:e.id||e.name}},[e._t("default")],2):e._e()])},staticRenderFns:[]}},403:function(e,t,o){e.exports=o(96)},96:function(e,t,o){"use strict";function c(e){return e&&e.__esModule?e:{default:e}}function r(e){e.component("md-checkbox",d.default),e.material.styles.push(a.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var n=o(276),d=c(n),i=o(238),a=c(i);e.exports=t.default}})}));
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(n){if(o[n])return o[n].exports;var c=o[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=452)})({0:function(e,t){e.exports=function(e,t,o,n,c){var r,d=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(r=e,d=e.default);var a="function"==typeof d?d.options:d;t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n);var s;if(c?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},a._ssrRegister=s):o&&(s=o),s){var u=a.functional,l=u?a.render:a.beforeCreate;u?a.render=function(e,t){return s.call(t),l(e,t)}:a.beforeCreate=l?[].concat(l,s):[s]}return{esModule:r,exports:d,options:a}}},1:function(e,t,o){"use strict";function n(e){if(!e)return null;var t=e.mdTheme;return t||"md-theme"!==e.$options._componentTag||(t=e.mdName),t||n(e.$parent)}Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{mdTheme:String},computed:{mdEffectiveTheme:function(){return n(this)||this.$material.currentTheme},themeClass:function(){return this.$material.prefix+this.mdEffectiveTheme}},watch:{mdTheme:function(e){this.$material.useTheme(e)}},beforeMount:function(){var e=this.mdTheme;this.$material.useTheme(e?e:"default")}},e.exports=t.default},142:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var c=o(1),r=n(c);t.default={name:"md-checkbox",props:{name:String,value:[String,Boolean],id:String,disabled:Boolean},mixins:[r.default],data:function(){return{checked:this.value||!1}},computed:{classes:function(){return{"md-checked":this.checked,"md-disabled":this.disabled}}},watch:{value:function(){this.checked=!!this.value}},methods:{toggleCheck:function(e){this.disabled||(this.checked=!this.checked,this.$emit("change",this.checked,e),this.$emit("input",this.checked,e))}}},e.exports=t.default},257:function(e,t){},270:function(e,t){e.exports=".THEME_NAME.md-checkbox.md-checked .md-checkbox-container{background-color:ACCENT-COLOR;border-color:ACCENT-COLOR}.THEME_NAME.md-checkbox.md-checked .md-checkbox-container:after{border-color:ACCENT-CONTRAST}.THEME_NAME.md-checkbox .md-ink-ripple{color:ACCENT-COLOR}.THEME_NAME.md-checkbox .md-ripple{opacity:.26}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container{background-color:PRIMARY-COLOR;border-color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-primary.md-checked .md-checkbox-container:after{border-color:PRIMARY-CONTRAST}.THEME_NAME.md-checkbox.md-primary .md-ink-ripple{color:PRIMARY-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container{background-color:WARN-COLOR;border-color:WARN-COLOR}.THEME_NAME.md-checkbox.md-warn.md-checked .md-checkbox-container:after{border-color:WARN-CONTRAST}.THEME_NAME.md-checkbox.md-warn .md-ink-ripple{color:WARN-COLOR}.THEME_NAME.md-checkbox.md-disabled.md-checked .md-checkbox-container{background-color:rgba(0,0,0,0.26);border-color:transparent}.THEME_NAME.md-checkbox.md-disabled:not(.md-checked) .md-checkbox-container{border-color:rgba(0,0,0,0.26)}\n"},311:function(e,t,o){function n(e){o(257)}var c=o(0)(o(142),o(435),n,null,null);e.exports=c.exports},435:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-checkbox",class:[e.themeClass,e.classes]},[o("div",{staticClass:"md-checkbox-container",attrs:{tabindex:"0"},on:{click:function(t){t.stopPropagation(),e.toggleCheck(t)}}},[o("input",{attrs:{type:"checkbox",name:e.name,id:e.id,disabled:e.disabled,tabindex:"-1"},domProps:{value:e.value,checked:e.checked}}),e._v(" "),o("md-ink-ripple",{attrs:{"md-disabled":e.disabled}})],1),e._v(" "),e.$slots.default?o("label",{staticClass:"md-checkbox-label",attrs:{for:e.id||e.name},on:{click:function(t){t.preventDefault(),e.toggleCheck(t)}}},[e._t("default")],2):e._e()])},staticRenderFns:[]}},452:function(e,t,o){e.exports=o(86)},86:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function c(e){e.component("md-checkbox",d.default),e.material.styles.push(a.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=o(311),d=n(r),i=o(270),a=n(i);e.exports=t.default}})}));

View file

@ -1,6 +1,77 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-chip{height:32px;padding:8px 12px;display:inline-block;border-radius:32px;transition:all .4s cubic-bezier(.25,.8,.25,1);font-size:13px;line-height:16px;white-space:nowrap}.md-chip.md-deletable{position:relative;padding-right:32px}.md-chip:active,.md-chip:focus{outline:none}.md-chip:active:not(.md-disabled),.md-chip:focus:not(.md-disabled){cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.md-chip.md-disabled .md-button{pointer-events:none;cursor:default}.md-chip .md-button.md-delete{width:24px;min-width:24px;height:24px;min-height:24px;margin:0;padding:0;position:absolute;top:4px;right:4px;border-radius:24px;transition:all .4s cubic-bezier(.25,.8,.25,1)}.md-chip .md-button.md-delete .md-icon{width:20px;min-width:20px;height:20px;min-height:20px;margin:0;font-size:20px}.md-chip .md-button.md-delete .md-ink-ripple{border-radius:32px}.md-chip .md-button.md-delete .md-ripple{opacity:.54}.md-chips .md-chip{margin-right:8px;margin-bottom:4px}.md-chips .md-input-container{min-height:54px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.md-chips .md-input{width:128px;-ms-flex:1;flex:1}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-chip {
height: 32px;
padding: 8px 12px;
display: inline-block;
border-radius: 32px;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
font-size: 13px;
line-height: 16px;
white-space: nowrap;
}
.md-chip.md-deletable {
position: relative;
padding-right: 32px;
}
.md-chip.md-editable .md-chip-container {
cursor: pointer;
}
.md-chip:focus, .md-chip:active {
outline: none;
}
.md-chip:focus:not(.md-disabled), .md-chip:active:not(.md-disabled) {
cursor: pointer;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
}
.md-chip.md-disabled .md-button {
pointer-events: none;
cursor: default;
}
.md-chip .md-button.md-delete {
width: 24px;
min-width: 24px;
height: 24px;
min-height: 24px;
margin: 0;
padding: 0;
position: absolute;
top: 4px;
right: 4px;
border-radius: 24px;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.md-chip .md-button.md-delete .md-icon {
width: 20px;
min-width: 20px;
height: 20px;
min-height: 20px;
margin: 0;
font-size: 20px;
}
.md-chip .md-button.md-delete .md-ink-ripple {
border-radius: 32px;
}
.md-chip .md-button.md-delete .md-ripple {
opacity: .54;
}
.md-chips {
min-height: 54px;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.md-chips .md-chip {
margin-right: 8px;
margin-bottom: 4px;
}
.md-chips .md-input {
width: 128px;
-ms-flex: 1;
flex: 1;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 404);
/******/ return __webpack_require__(__webpack_require__.s = 454);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 144:
/***/ 143:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -211,16 +247,19 @@ var _mixin2 = _interopRequireDefault(_mixin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
name: 'md-chip',
props: {
disabled: Boolean,
mdDeletable: Boolean
mdDeletable: Boolean,
mdEditable: Boolean
},
mixins: [_mixin2.default],
computed: {
classes: function classes() {
return {
'md-deletable': this.mdDeletable,
'md-disabled': this.disabled
'md-disabled': this.disabled,
'md-editable': this.mdEditable
};
}
}
@ -239,12 +278,14 @@ exports.default = {
//
//
//
//
//
module.exports = exports['default'];
/***/ }),
/***/ 145:
/***/ 144:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -258,7 +299,7 @@ var _mixin = __webpack_require__(1);
var _mixin2 = _interopRequireDefault(_mixin);
var _uniqueId = __webpack_require__(48);
var _uniqueId = __webpack_require__(36);
var _uniqueId2 = _interopRequireDefault(_uniqueId);
@ -295,11 +336,20 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
//
//
//
//
//
//
//
exports.default = {
name: 'md-chips',
props: {
value: Array,
disabled: Boolean,
debounce: {
type: Number,
default: 1E2
},
mdInputId: String,
mdInputName: String,
mdInputPlaceholder: String,
@ -331,7 +381,8 @@ exports.default = {
classes: function classes() {
return {
'md-static': this.mdStatic,
'md-disabled': this.disabled
'md-disabled': this.disabled,
'md-chips': true
};
}
},
@ -366,6 +417,17 @@ exports.default = {
this.$emit('change', this.selectedChips);
this.applyInputFocus();
},
editChip: function editChip(chip) {
var index = this.selectedChips.indexOf(chip);
if (index >= 0) {
this.selectedChips.splice(index, 1);
}
this.currentChip = chip;
this.$emit('change', this.selectedChips);
this.applyInputFocus();
},
deleteLastChip: function deleteLastChip() {
if (!this.currentChip) {
this.selectedChips.pop();
@ -379,35 +441,38 @@ module.exports = exports['default'];
/***/ }),
/***/ 219:
/***/ 250:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 239:
/***/ 272:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-chip {\n background-color: BACKGROUND-CONTRAST-0.12; }\n .THEME_NAME.md-chip.md-deletable:hover, .THEME_NAME.md-chip.md-deletable:focus {\n background-color: BACKGROUND-CONTRAST-0.54;\n color: BACKGROUND-COLOR; }\n .THEME_NAME.md-chip.md-deletable:hover .md-delete, .THEME_NAME.md-chip.md-deletable:focus .md-delete {\n color: BACKGROUND-COLOR; }\n .THEME_NAME.md-chip .md-delete {\n color: BACKGROUND-CONTRAST-0.38; }\n .THEME_NAME.md-chip .md-delete .md-ripple {\n color: BACKGROUND-COLOR; }\n"
module.exports = ".THEME_NAME.md-chip {\n background-color: BACKGROUND-CONTRAST-0.12; }\n .THEME_NAME.md-chip.md-deletable:hover, .THEME_NAME.md-chip.md-deletable:focus, .THEME_NAME.md-chip.md-editable:hover, .THEME_NAME.md-chip.md-editable:focus {\n background-color: BACKGROUND-CONTRAST-0.54;\n color: BACKGROUND-COLOR; }\n .THEME_NAME.md-chip.md-deletable:hover .md-delete, .THEME_NAME.md-chip.md-deletable:focus .md-delete, .THEME_NAME.md-chip.md-editable:hover .md-delete, .THEME_NAME.md-chip.md-editable:focus .md-delete {\n color: BACKGROUND-COLOR; }\n .THEME_NAME.md-chip .md-delete {\n color: BACKGROUND-CONTRAST-0.38; }\n .THEME_NAME.md-chip .md-delete .md-ripple {\n color: BACKGROUND-COLOR; }\n .THEME_NAME.md-chip.md-primary {\n color: PRIMARY-CONTRAST;\n background-color: PRIMARY-COLOR; }\n .THEME_NAME.md-chip.md-accent {\n color: ACCENT-CONTRAST;\n background-color: ACCENT-COLOR; }\n .THEME_NAME.md-chip.md-warn {\n color: WARN-CONTRAST;\n background-color: WARN-COLOR; }\n"
/***/ }),
/***/ 277:
/***/ 313:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(144),
__webpack_require__(143),
/* template */
__webpack_require__(352),
__webpack_require__(396),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdChips/mdChip.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdChips/mdChip.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdChip.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -421,6 +486,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-2c2a829d", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -428,25 +496,28 @@ module.exports = Component.exports
/***/ }),
/***/ 278:
/***/ 314:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(219)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(250)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(145),
__webpack_require__(144),
/* template */
__webpack_require__(369),
__webpack_require__(418),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdChips/mdChips.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdChips/mdChips.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdChips.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -460,6 +531,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-5cd17226", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -467,135 +541,7 @@ module.exports = Component.exports
/***/ }),
/***/ 352:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: "md-chip",
class: [_vm.themeClass, _vm.classes],
attrs: {
"tabindex": "0"
}
}, [_vm._t("default"), _vm._v(" "), (_vm.mdDeletable) ? _c('md-button', {
staticClass: "md-icon-button md-dense md-delete",
attrs: {
"tabindex": "-1"
},
nativeOn: {
"click": function($event) {
!_vm.disabled && _vm.$emit('delete')
},
"keyup": function($event) {
if (_vm._k($event.keyCode, "delete", [8, 46])) { return; }
!_vm.disabled && _vm.$emit('delete')
}
}
}, [_c('md-icon', {
staticClass: "md-icon-delete"
}, [_vm._v("cancel")])], 1) : _vm._e()], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
module.hot.accept()
if (module.hot.data) {
require("vue-hot-reload-api").rerender("data-v-2c2a829d", module.exports)
}
}
/***/ }),
/***/ 369:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: "md-chips",
class: [_vm.themeClass, _vm.classes]
}, [_c('md-input-container', {
nativeOn: {
"click": function($event) {
_vm.applyInputFocus($event)
}
}
}, [_vm._l((_vm.selectedChips), (function(chip) {
return _c('md-chip', {
attrs: {
"md-deletable": !_vm.mdStatic,
"disabled": _vm.disabled
},
on: {
"delete": function($event) {
_vm.deleteChip(chip)
}
}
}, [_vm._t("default", null, {
value: chip
})], 2)
})), _vm._v(" "), _c('md-input', {
directives: [{
name: "show",
rawName: "v-show",
value: (!_vm.mdStatic),
expression: "!mdStatic"
}, {
name: "model",
rawName: "v-model",
value: (_vm.currentChip),
expression: "currentChip"
}],
ref: "input",
attrs: {
"type": _vm.mdInputType,
"placeholder": _vm.mdInputPlaceholder,
"id": _vm.inputId,
"name": _vm.mdInputName,
"disabled": _vm.disabled,
"tabindex": "0"
},
domProps: {
"value": (_vm.currentChip)
},
on: {
"input": function($event) {
_vm.currentChip = $event
}
},
nativeOn: {
"keydown": [function($event) {
if (_vm._k($event.keyCode, "delete", [8, 46])) { return; }
_vm.deleteLastChip($event)
}, function($event) {
if (_vm._k($event.keyCode, "enter", 13)) { return; }
$event.preventDefault();
_vm.addChip($event)
}, function($event) {
if ($event.keyCode !== 186) { return; }
$event.preventDefault();
_vm.addChip($event)
}]
}
})], 2)], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
module.hot.accept()
if (module.hot.data) {
require("vue-hot-reload-api").rerender("data-v-5cd17226", module.exports)
}
}
/***/ }),
/***/ 404:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(97);
/***/ }),
/***/ 48:
/***/ 36:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -613,7 +559,141 @@ module.exports = exports["default"];
/***/ }),
/***/ 97:
/***/ 396:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: "md-chip",
class: [_vm.themeClass, _vm.classes],
attrs: {
"tabindex": "0"
}
}, [_c('div', {
staticClass: "md-chip-container",
on: {
"click": function($event) {
!_vm.disabled && _vm.mdEditable && _vm.$emit('edit')
}
}
}, [_vm._t("default")], 2), _vm._v(" "), (_vm.mdDeletable) ? _c('md-button', {
staticClass: "md-icon-button md-dense md-delete",
attrs: {
"tabindex": "-1"
},
on: {
"click": function($event) {
!_vm.disabled && _vm.$emit('delete')
}
},
nativeOn: {
"keyup": function($event) {
if (!('button' in $event) && _vm._k($event.keyCode, "delete", [8, 46])) { return null; }
!_vm.disabled && _vm.$emit('delete')
}
}
}, [_c('md-icon', {
staticClass: "md-icon-delete"
}, [_vm._v("cancel")])], 1) : _vm._e()], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
module.hot.accept()
if (module.hot.data) {
require("vue-hot-reload-api").rerender("data-v-2c2a829d", module.exports)
}
}
/***/ }),
/***/ 418:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('md-input-container', {
staticClass: "md-chips",
class: [_vm.themeClass, _vm.classes],
on: {
"click": _vm.applyInputFocus
}
}, [_vm._l((_vm.selectedChips), (function(chip) {
return _c('md-chip', {
key: chip,
attrs: {
"md-editable": !_vm.mdStatic,
"md-deletable": !_vm.mdStatic,
"disabled": _vm.disabled
},
on: {
"edit": function($event) {
_vm.editChip(chip)
},
"delete": function($event) {
_vm.deleteChip(chip)
}
}
}, [_vm._t("chip", [_vm._v(_vm._s(chip))], {
value: chip
})], 2)
})), _vm._v(" "), _c('md-input', {
directives: [{
name: "show",
rawName: "v-show",
value: (!_vm.mdStatic),
expression: "!mdStatic"
}],
ref: "input",
attrs: {
"type": _vm.mdInputType,
"placeholder": _vm.mdInputPlaceholder,
"id": _vm.inputId,
"name": _vm.mdInputName,
"disabled": _vm.disabled,
"tabindex": "0",
"debounce": 0
},
nativeOn: {
"keydown": [function($event) {
if (!('button' in $event) && _vm._k($event.keyCode, "delete", [8, 46])) { return null; }
_vm.deleteLastChip($event)
}, function($event) {
if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; }
$event.preventDefault();
_vm.addChip($event)
}, function($event) {
if (!('button' in $event) && $event.keyCode !== 186) { return null; }
$event.preventDefault();
_vm.addChip($event)
}]
},
model: {
value: (_vm.currentChip),
callback: function($$v) {
_vm.currentChip = $$v
},
expression: "currentChip"
}
}), _vm._v(" "), _vm._t("default")], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
module.hot.accept()
if (module.hot.data) {
require("vue-hot-reload-api").rerender("data-v-5cd17226", module.exports)
}
}
/***/ }),
/***/ 454:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(87);
/***/ }),
/***/ 87:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -624,15 +704,15 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdChips = __webpack_require__(278);
var _mdChips = __webpack_require__(314);
var _mdChips2 = _interopRequireDefault(_mdChips);
var _mdChip = __webpack_require__(277);
var _mdChip = __webpack_require__(313);
var _mdChip2 = _interopRequireDefault(_mdChip);
var _mdChips3 = __webpack_require__(239);
var _mdChips3 = __webpack_require__(272);
var _mdChips4 = _interopRequireDefault(_mdChips3);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,278 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-ink-ripple{pointer-events:none;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);transition:all .3s cubic-bezier(.55,0,.55,.2)}.md-ripple{position:absolute;background-color:currentColor;border-radius:50%;opacity:.2;transform:scale(0) translateZ(0);transition:none;will-change:background-color,opacity,transform,width,height,top,left}.md-ripple.md-active{animation:ripple 1s cubic-bezier(.25,.8,.25,1) forwards}.md-ripple.md-active.md-fadeout{opacity:0!important;transition:all .4s cubic-bezier(.25,.8,.25,1);transition-duration:.6s}@keyframes ripple{to{transform:scale(2.2) translateZ(0)}}html{height:100%;box-sizing:border-box}html *,html :after,html :before{box-sizing:inherit}body{min-height:100%;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:rgba(0,0,0,.87);font-family:Roboto,Noto Sans,Noto,sans-serif}ul:not(.md-list)>li+li{margin-top:8px}audio,canvas,embed,iframe,img,object,svg,video{max-width:100%;font-style:italic;vertical-align:middle}audio:not(.md-image),canvas:not(.md-image),embed:not(.md-image),iframe:not(.md-image),img:not(.md-image),object:not(.md-image),svg:not(.md-image),video:not(.md-image){height:auto}[tabindex="-1"]:focus{outline:none!important}.md-scrollbar::-webkit-scrollbar,.md-scrollbar ::-webkit-scrollbar{width:10px;height:10px;box-shadow:inset 1px 1px 0 rgba(0,0,0,.12);transition:all .5s cubic-bezier(.35,0,.25,1);background-color:rgba(0,0,0,.05)}.md-scrollbar::-webkit-scrollbar:hover,.md-scrollbar ::-webkit-scrollbar:hover{box-shadow:inset 1px 1px 0 rgba(0,0,0,.054),inset 0 -1px 0 rgba(0,0,0,.038);background-color:rgba(0,0,0,.087)}.md-scrollbar::-webkit-scrollbar-button,.md-scrollbar ::-webkit-scrollbar-button{display:none}.md-scrollbar::-webkit-scrollbar-corner,.md-scrollbar ::-webkit-scrollbar-corner{background-color:transparent}.md-scrollbar::-webkit-scrollbar-thumb,.md-scrollbar ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.26);box-shadow:inset 1px 1px 0 rgba(0,0,0,.054),inset 0 -1px 0 rgba(0,0,0,.087);transition:all .5s cubic-bezier(.35,0,.25,1)}.md-caption{font-size:12px;font-weight:400;letter-spacing:.02em;line-height:17px}.md-body-1,body{font-weight:400;line-height:20px}.md-body-1,.md-body-2,body{font-size:14px;letter-spacing:.01em}.md-body-2{font-weight:500;line-height:24px}.md-subheading{font-size:16px;font-weight:400;letter-spacing:.01em;line-height:24px}.md-title{font-size:20px;font-weight:500;letter-spacing:.005em;line-height:26px}.md-headline{font-size:24px;line-height:32px}.md-display-1,.md-headline{font-weight:400;letter-spacing:0}.md-display-1{font-size:34px;line-height:40px}.md-display-2{font-size:45px;font-weight:400;letter-spacing:0;line-height:48px}.md-display-3{font-size:56px;font-weight:400;letter-spacing:-.005em;line-height:58px}.md-display-4{font-size:112px;font-weight:300;letter-spacing:-.01em;line-height:112px}a:not(.md-button):not(.md-bottom-bar-item){text-decoration:none}a:not(.md-button):not(.md-bottom-bar-item):hover{text-decoration:underline}button:focus{outline:none}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-ink-ripple {
pointer-events: none;
overflow: hidden;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
-webkit-mask-image: radial-gradient(circle, white 100%, black 100%);
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
}
.md-ripple {
position: absolute;
background-color: currentColor;
border-radius: 50%;
opacity: .2;
transform: scale(0) translateZ(0);
transition: none;
will-change: background-color, opacity, transform, width, height, top, left;
}
.md-ripple.md-active {
animation: ripple 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.md-ripple.md-active.md-fadeout {
opacity: 0 !important;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
transition-duration: .6s;
}
@keyframes ripple {
to {
transform: scale(2.2) translateZ(0);
}
}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
/* Text and Titles
========================================================================== */
.md-caption {
font-size: 12px;
font-weight: 400;
letter-spacing: .02em;
line-height: 17px; }
.md-body-1, body {
font-size: 14px;
font-weight: 400;
letter-spacing: .01em;
line-height: 20px; }
.md-body-2 {
font-size: 14px;
font-weight: 500;
letter-spacing: .01em;
line-height: 24px; }
.md-subheading {
font-size: 16px;
font-weight: 400;
letter-spacing: .01em;
line-height: 24px; }
.md-title {
font-size: 20px;
font-weight: 500;
letter-spacing: .005em;
line-height: 26px; }
.md-headline {
font-size: 24px;
font-weight: 400;
letter-spacing: 0;
line-height: 32px; }
.md-display-1 {
font-size: 34px;
font-weight: 400;
letter-spacing: 0;
line-height: 40px; }
.md-display-2 {
font-size: 45px;
font-weight: 400;
letter-spacing: 0;
line-height: 48px; }
.md-display-3 {
font-size: 56px;
font-weight: 400;
letter-spacing: -.005em;
line-height: 58px; }
.md-display-4 {
font-size: 112px;
font-weight: 300;
letter-spacing: -.01em;
line-height: 112px; }
/* Links & Buttons
========================================================================== */
a:not(.md-button):not(.md-bottom-bar-item) {
text-decoration: none; }
a:not(.md-button):not(.md-bottom-bar-item):hover {
text-decoration: underline; }
button:focus {
outline: none; }
/* Structure
========================================================================== */
html {
height: 100%;
box-sizing: border-box; }
html *,
html *:before,
html *:after {
box-sizing: inherit; }
body {
min-height: 100%;
margin: 0;
position: relative;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
color: rgba(0, 0, 0, 0.87);
font-family: Roboto, "Noto Sans", Noto, sans-serif; }
/* Fluid Media
========================================================================== */
ul:not(.md-list) > li + li {
margin-top: 8px; }
/* Fluid Media
========================================================================== */
audio,
img,
svg,
object,
embed,
canvas,
video,
iframe {
max-width: 100%;
font-style: italic;
vertical-align: middle; }
audio:not(.md-image),
img:not(.md-image),
svg:not(.md-image),
object:not(.md-image),
embed:not(.md-image),
canvas:not(.md-image),
video:not(.md-image),
iframe:not(.md-image) {
height: auto; }
/* Suppress the focus outline on links that cannot be accessed via keyboard.
This prevents an unwanted focus outline from appearing around elements
that might still respond to pointer events.
========================================================================== */
[tabindex="-1"]:focus {
outline: none !important; }
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-scrollbar::-webkit-scrollbar,
.md-scrollbar ::-webkit-scrollbar {
width: 10px;
height: 10px;
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.12);
transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1);
background-color: rgba(0, 0, 0, 0.05); }
.md-scrollbar::-webkit-scrollbar:hover,
.md-scrollbar ::-webkit-scrollbar:hover {
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.054), inset 0 -1px 0 rgba(0, 0, 0, 0.038);
background-color: rgba(0, 0, 0, 0.087); }
.md-scrollbar::-webkit-scrollbar-button,
.md-scrollbar ::-webkit-scrollbar-button {
display: none; }
.md-scrollbar::-webkit-scrollbar-corner,
.md-scrollbar ::-webkit-scrollbar-corner {
background-color: transparent; }
.md-scrollbar::-webkit-scrollbar-thumb,
.md-scrollbar ::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.26);
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.054), inset 0 -1px 0 rgba(0, 0, 0, 0.087);
transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1); }
/* Text and Titles
========================================================================== */
.md-caption {
font-size: 12px;
font-weight: 400;
letter-spacing: .02em;
line-height: 17px; }
.md-body-1, body {
font-size: 14px;
font-weight: 400;
letter-spacing: .01em;
line-height: 20px; }
.md-body-2 {
font-size: 14px;
font-weight: 500;
letter-spacing: .01em;
line-height: 24px; }
.md-subheading {
font-size: 16px;
font-weight: 400;
letter-spacing: .01em;
line-height: 24px; }
.md-title {
font-size: 20px;
font-weight: 500;
letter-spacing: .005em;
line-height: 26px; }
.md-headline {
font-size: 24px;
font-weight: 400;
letter-spacing: 0;
line-height: 32px; }
.md-display-1 {
font-size: 34px;
font-weight: 400;
letter-spacing: 0;
line-height: 40px; }
.md-display-2 {
font-size: 45px;
font-weight: 400;
letter-spacing: 0;
line-height: 48px; }
.md-display-3 {
font-size: 56px;
font-weight: 400;
letter-spacing: -.005em;
line-height: 58px; }
.md-display-4 {
font-size: 112px;
font-weight: 300;
letter-spacing: -.01em;
line-height: 112px; }
/* Links & Buttons
========================================================================== */
a:not(.md-button):not(.md-bottom-bar-item) {
text-decoration: none; }
a:not(.md-button):not(.md-bottom-bar-item):hover {
text-decoration: underline; }
button:focus {
outline: none; }
/*# sourceMappingURL=index.css.map*/

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,90 +0,0 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["VueMaterial"] = factory();
else
root["VueMaterial"] = factory();
})(this, (function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 405);
/******/ })
/************************************************************************/
/******/ ({
/***/ 405:
/***/ (function(module, exports, __webpack_require__) {
(function webpackMissingModule() { throw new Error("Cannot find module \"./src/components/mdDatePicker\""); }());
/***/ })
/******/ });
}));

View file

@ -1,6 +0,0 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=405)})({405:function(e,t,n){!(function(){throw new Error('Cannot find module "./src/components/mdDatePicker"')})()}})}));

View file

@ -1,6 +1,119 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-dialog-container{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:108}.md-dialog-container.md-active{pointer-events:auto}.md-dialog-container.md-active .md-dialog{opacity:1!important;transform:scale(1)!important;transition:all .4s cubic-bezier(.25,.8,.25,1);transition-property:opacity,transform}.md-dialog-backdrop{position:fixed;z-index:109}.md-dialog{min-width:280px;max-width:80%;max-height:80%;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;overflow:hidden;position:relative;z-index:110;outline:none;border-radius:2px;opacity:0;box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12);transform:scale(.9,.85);transform-origin:center center;transition:opacity .4s cubic-bezier(.25,.8,.25,1),transform .4s cubic-bezier(.25,.8,.25,1) .05s;will-change:opacity,transform}.md-dialog.md-reference{transform-origin:top center}.md-dialog.md-transition-off{transition:none!important}.md-dialog p{margin:0}.md-dialog-title{margin-bottom:20px;padding:24px 24px 0}.md-dialog-content{padding:0 24px 24px;-ms-flex:1;flex:1;-ms-flex-preferred-size:auto;flex-basis:auto;overflow:auto;position:relative;background:linear-gradient(180deg,#fff 0,#fff 1px,transparent 0),linear-gradient(0deg,#fff 0,#fff 3px,transparent 0),linear-gradient(180deg,rgba(0,0,0,.12) 0,rgba(0,0,0,.12) 1px,transparent 0),linear-gradient(0deg,rgba(0,0,0,.2) 1px,rgba(0,0,0,.2) 2px,transparent 0);background-attachment:local,local,scroll,scroll}.md-dialog-content:first-child{padding-top:24px}.md-dialog-content p:first-child:not(:only-child){margin-top:0}.md-dialog-content p:last-child:not(:only-child){margin-bottom:0}.md-dialog-body{margin:0 -24px;padding:0 24px;overflow:auto}.md-dialog-actions{min-height:52px;padding:8px 8px 8px 24px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;position:relative}.md-dialog-actions:before{height:1px;position:absolute;top:-1px;right:0;left:0;background-color:#fff;content:" "}.md-dialog-actions .md-button{min-width:64px;margin:0;padding:0 8px}.md-dialog-actions .md-button+.md-button{margin-left:8px}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-dialog-container {
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column;
flex-flow: column;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
pointer-events: none;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 108;
}
.md-dialog-container.md-active {
pointer-events: auto;
}
.md-dialog-container.md-active .md-dialog {
opacity: 1 !important;
transform: scale(1) !important;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
transition-property: opacity, transform;
}
.md-dialog-backdrop {
position: fixed;
z-index: 109;
}
.md-dialog {
min-width: 280px;
max-width: 80%;
max-height: 80%;
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column;
flex-flow: column;
overflow: hidden;
position: relative;
z-index: 110;
outline: none;
border-radius: 2px;
opacity: 0;
box-shadow: 0 7px 9px -4px rgba(0, 0, 0, 0.2), 0 14px 21px 2px rgba(0, 0, 0, 0.14), 0 5px 26px 4px rgba(0, 0, 0, 0.12);
transform: scale(0.9, 0.85);
transform-origin: center center;
transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s 0.05s cubic-bezier(0.25, 0.8, 0.25, 1);
will-change: opacity, transform;
}
.md-dialog.md-reference {
transform-origin: top center;
}
.md-dialog.md-transition-off {
transition: none !important;
}
.md-dialog p {
margin: 0;
}
.md-dialog-title {
margin-bottom: 20px;
padding: 24px 24px 0;
}
.md-dialog-content {
padding: 0 24px 24px;
-ms-flex: 1;
flex: 1;
-ms-flex-preferred-size: auto;
flex-basis: auto;
overflow: auto;
position: relative;
}
.md-dialog-content:first-child {
padding-top: 24px;
}
.md-dialog-content p:first-child:not(:only-child) {
margin-top: 0;
}
.md-dialog-content p:last-child:not(:only-child) {
margin-bottom: 0;
}
.md-dialog-body {
margin: 0 -24px;
padding: 0 24px;
overflow: auto;
}
.md-dialog-actions {
min-height: 52px;
padding: 8px 8px 8px 24px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: end;
justify-content: flex-end;
position: relative;
}
.md-dialog-actions:before {
height: 1px;
position: absolute;
top: -1px;
right: 0;
left: 0;
content: " ";
}
.md-dialog-actions .md-button {
min-width: 64px;
margin: 0;
padding: 0 8px;
}
.md-dialog-actions .md-button + .md-button {
margin-left: 8px;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 406);
/******/ return __webpack_require__(__webpack_require__.s = 455);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,60 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 146:
/***/ 145:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -208,7 +244,7 @@ var _mixin = __webpack_require__(1);
var _mixin2 = _interopRequireDefault(_mixin);
var _transitionEndEventName = __webpack_require__(39);
var _transitionEndEventName = __webpack_require__(41);
var _transitionEndEventName2 = _interopRequireDefault(_transitionEndEventName);
@ -228,6 +264,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
//
exports.default = {
name: 'md-dialog',
props: {
mdClickOutsideToClose: {
type: Boolean,
@ -374,12 +411,81 @@ module.exports = exports['default'];
/***/ }),
/***/ 146:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
//
//
//
//
//
//
exports.default = {
name: 'md-dialog-actions'
};
module.exports = exports['default'];
/***/ }),
/***/ 147:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
//
//
//
//
//
//
exports.default = {
name: 'md-dialog-content'
};
module.exports = exports['default'];
/***/ }),
/***/ 148:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
//
//
//
//
//
//
exports.default = {
name: 'md-dialog-title'
};
module.exports = exports['default'];
/***/ }),
/***/ 149:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
@ -398,6 +504,7 @@ Object.defineProperty(exports, "__esModule", {
//
exports.default = {
name: 'md-dialog-alert',
props: {
mdTitle: String,
mdContent: String,
@ -439,7 +546,7 @@ module.exports = exports['default'];
/***/ }),
/***/ 148:
/***/ 150:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -464,6 +571,7 @@ Object.defineProperty(exports, "__esModule", {
//
exports.default = {
name: 'md-dialog-confirm',
props: {
mdTitle: String,
mdContent: String,
@ -509,7 +617,7 @@ module.exports = exports['default'];
/***/ }),
/***/ 149:
/***/ 151:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -547,6 +655,7 @@ Object.defineProperty(exports, "__esModule", {
//
exports.default = {
name: 'md-dialog-prompt',
props: {
value: {
type: [String, Number],
@ -605,39 +714,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 210:
/***/ 239:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 240:
/***/ 273:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-dialog-container .md-dialog {\n background-color: BACKGROUND-COLOR;\n color: BACKGROUND-CONTRAST; }\n"
/***/ }),
/***/ 279:
/***/ 315:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(210)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(239)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(146),
__webpack_require__(145),
/* template */
__webpack_require__(355),
__webpack_require__(399),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/mdDialog.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialog.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialog.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -651,6 +763,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-341e9664", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -658,21 +773,24 @@ module.exports = Component.exports
/***/ }),
/***/ 280:
/***/ 316:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
null,
__webpack_require__(146),
/* template */
__webpack_require__(385),
__webpack_require__(434),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/mdDialogActions.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogActions.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogActions.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -686,6 +804,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-89c748ae", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -693,21 +814,24 @@ module.exports = Component.exports
/***/ }),
/***/ 281:
/***/ 317:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
null,
__webpack_require__(147),
/* template */
__webpack_require__(359),
__webpack_require__(404),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/mdDialogContent.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogContent.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogContent.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -721,6 +845,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-44792925", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -728,21 +855,24 @@ module.exports = Component.exports
/***/ }),
/***/ 282:
/***/ 318:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
null,
__webpack_require__(148),
/* template */
__webpack_require__(353),
__webpack_require__(397),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/mdDialogTitle.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/mdDialogTitle.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogTitle.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -756,6 +886,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-2ec2b6f8", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -763,21 +896,24 @@ module.exports = Component.exports
/***/ }),
/***/ 283:
/***/ 319:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(147),
__webpack_require__(149),
/* template */
__webpack_require__(370),
__webpack_require__(419),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/presets/mdDialogAlert.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogAlert.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogAlert.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -791,6 +927,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-5d32a2a6", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -798,21 +937,24 @@ module.exports = Component.exports
/***/ }),
/***/ 284:
/***/ 320:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(148),
__webpack_require__(150),
/* template */
__webpack_require__(392),
__webpack_require__(442),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/presets/mdDialogConfirm.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogConfirm.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogConfirm.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -826,6 +968,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-c309205e", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -833,21 +978,24 @@ module.exports = Component.exports
/***/ }),
/***/ 285:
/***/ 321:
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(149),
__webpack_require__(151),
/* template */
__webpack_require__(351),
__webpack_require__(395),
/* styles */
null,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDialog/presets/mdDialogPrompt.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDialog/presets/mdDialogPrompt.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDialogPrompt.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -861,6 +1009,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-288a5063", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -868,7 +1019,7 @@ module.exports = Component.exports
/***/ }),
/***/ 351:
/***/ 395:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -895,7 +1046,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
},
nativeOn: {
"keydown": function($event) {
if (_vm._k($event.keyCode, "enter", 13)) { return; }
if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; }
_vm.confirmValue($event)
}
}
@ -923,7 +1074,7 @@ if (false) {
/***/ }),
/***/ 353:
/***/ 397:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -941,7 +1092,7 @@ if (false) {
/***/ }),
/***/ 355:
/***/ 399:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -953,7 +1104,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
},
on: {
"keyup": function($event) {
if (_vm._k($event.keyCode, "esc", 27)) { return; }
if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27)) { return null; }
$event.stopPropagation();
_vm.closeOnEsc($event)
}
@ -984,7 +1135,7 @@ if (false) {
/***/ }),
/***/ 359:
/***/ 404:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -1002,7 +1153,37 @@ if (false) {
/***/ }),
/***/ 370:
/***/ 41:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function transitionEndEventName() {
var el = document.createElement('span');
var transitions = {
transition: 'transitionend',
OTransition: 'oTransitionEnd',
MozTransition: 'transitionend',
WebkitTransition: 'webkitTransitionEnd'
};
for (var transition in transitions) {
if (el.style[transition] !== undefined) {
return transitions[transition];
}
}
}
exports.default = transitionEndEventName();
module.exports = exports['default'];
/***/ }),
/***/ 419:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -1037,7 +1218,7 @@ if (false) {
/***/ }),
/***/ 385:
/***/ 434:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -1055,37 +1236,7 @@ if (false) {
/***/ }),
/***/ 39:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function transitionEndEventName() {
var el = document.createElement('span');
var transitions = {
transition: 'transitionend',
OTransition: 'oTransitionEnd',
MozTransition: 'transitionend',
WebkitTransition: 'webkitTransitionEnd'
};
for (var transition in transitions) {
if (el.style[transition] !== undefined) {
return transitions[transition];
}
}
}
exports.default = transitionEndEventName();
module.exports = exports['default'];
/***/ }),
/***/ 392:
/***/ 442:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -1127,15 +1278,15 @@ if (false) {
/***/ }),
/***/ 406:
/***/ 455:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(98);
module.exports = __webpack_require__(88);
/***/ }),
/***/ 98:
/***/ 88:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1146,35 +1297,35 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdDialog = __webpack_require__(279);
var _mdDialog = __webpack_require__(315);
var _mdDialog2 = _interopRequireDefault(_mdDialog);
var _mdDialogTitle = __webpack_require__(282);
var _mdDialogTitle = __webpack_require__(318);
var _mdDialogTitle2 = _interopRequireDefault(_mdDialogTitle);
var _mdDialogContent = __webpack_require__(281);
var _mdDialogContent = __webpack_require__(317);
var _mdDialogContent2 = _interopRequireDefault(_mdDialogContent);
var _mdDialogActions = __webpack_require__(280);
var _mdDialogActions = __webpack_require__(316);
var _mdDialogActions2 = _interopRequireDefault(_mdDialogActions);
var _mdDialogAlert = __webpack_require__(283);
var _mdDialogAlert = __webpack_require__(319);
var _mdDialogAlert2 = _interopRequireDefault(_mdDialogAlert);
var _mdDialogConfirm = __webpack_require__(284);
var _mdDialogConfirm = __webpack_require__(320);
var _mdDialogConfirm2 = _interopRequireDefault(_mdDialogConfirm);
var _mdDialogPrompt = __webpack_require__(285);
var _mdDialogPrompt = __webpack_require__(321);
var _mdDialogPrompt2 = _interopRequireDefault(_mdDialogPrompt);
var _mdDialog3 = __webpack_require__(240);
var _mdDialog3 = __webpack_require__(273);
var _mdDialog4 = _interopRequireDefault(_mdDialog3);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,17 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-divider{height:1px;margin:0;padding:0;display:block;border:0;background-color:rgba(0,0,0,.12)}.md-divider.md-inset{margin-left:72px}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-divider {
height: 1px;
margin: 0;
padding: 0;
display: block;
border: 0;
background-color: rgba(0, 0, 0, 0.12);
}
.md-divider.md-inset {
margin-left: 72px;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 407);
/******/ return __webpack_require__(__webpack_require__.s = 456);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -132,32 +176,58 @@ module.exports = function normalizeComponent (
/***/ }),
/***/ 220:
/***/ 152:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
//
//
//
//
//
//
exports.default = {
name: 'md-divider'
};
module.exports = exports['default'];
/***/ }),
/***/ 251:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 286:
/***/ 322:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(220)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(251)
}
var Component = __webpack_require__(0)(
/* script */
null,
__webpack_require__(152),
/* template */
__webpack_require__(371),
__webpack_require__(420),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdDivider/mdDivider.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdDivider/mdDivider.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdDivider.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -171,6 +241,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-5e9f054a", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -178,7 +251,7 @@ module.exports = Component.exports
/***/ }),
/***/ 371:
/***/ 420:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -196,15 +269,15 @@ if (false) {
/***/ }),
/***/ 407:
/***/ 456:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(99);
module.exports = __webpack_require__(89);
/***/ }),
/***/ 99:
/***/ 89:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -215,7 +288,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = install;
var _mdDivider = __webpack_require__(286);
var _mdDivider = __webpack_require__(322);
var _mdDivider2 = _interopRequireDefault(_mdDivider);

View file

@ -1,6 +1,6 @@
/*!
* Vue Material v0.7.0
* Vue Material v0.7.4
* Made with love by Marcos Moura
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=407)})({0:function(e,t){e.exports=function(e,t,n,r){var o,u=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,u=e.default);var c="function"==typeof u?u.options:u;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),n&&(c._scopeId=n),r){var f=c.computed||(c.computed={});Object.keys(r).forEach((function(e){var t=r[e];f[e]=function(){return t}}))}return{esModule:o,exports:u,options:c}}},220:function(e,t){},286:function(e,t,n){n(220);var r=n(0)(null,n(371),null,null);e.exports=r.exports},371:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("hr",{staticClass:"md-divider"})},staticRenderFns:[]}},407:function(e,t,n){e.exports=n(99)},99:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){e.component("md-divider",i.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var u=n(286),i=r(u);e.exports=t.default}})}));
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()})(this,(function(){return (function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=455)})({0:function(e,t){e.exports=function(e,t,n,r,o){var u,i=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(u=e,i=e.default);var f="function"==typeof i?i.options:i;t&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns),r&&(f._scopeId=r);var c;if(o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=c):n&&(c=n),c){var d=f.functional,a=d?f.render:f.beforeCreate;d?f.render=function(e,t){return c.call(t),a(e,t)}:f.beforeCreate=a?[].concat(a,c):[c]}return{esModule:u,exports:i,options:f}}},152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"md-divider"},e.exports=t.default},251:function(e,t){},321:function(e,t,n){function r(e){n(251)}var o=n(0)(n(152),n(419),r,null,null);e.exports=o.exports},419:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("hr",{staticClass:"md-divider"})},staticRenderFns:[]}},455:function(e,t,n){e.exports=n(89)},89:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){e.component("md-divider",i.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var u=n(321),i=r(u);e.exports=t.default}})}));

View file

@ -1,6 +1,25 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-file{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.md-file input[type=file]{width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute;clip:rect(0 0 0 0);border:0}.md-file .md-icon{cursor:pointer}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-file {
display: -ms-flexbox;
display: flex;
-ms-flex: 1;
flex: 1;
}
.md-file input[type="file"] {
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
position: absolute;
clip: rect(0 0 0 0);
border: 0;
}
.md-file .md-icon {
cursor: pointer;
}
/*# sourceMappingURL=index.css.map*/

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,60 @@
/*!
* Vue Material v0.7.0
* Made with love by Marcos Moura
* Released under the MIT License.
*/
.md-icon{width:24px;min-width:24px;height:24px;min-height:24px;font-size:24px;margin:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;fill:currentColor;text-rendering:optimizeLegibility;vertical-align:middle}.md-icon.md-size-2x{width:48px;min-width:48px;height:48px;min-height:48px;font-size:48px}.md-icon.md-size-3x{width:72px;min-width:72px;height:72px;min-height:72px;font-size:72px}.md-icon.md-size-4x{width:96px;min-width:96px;height:96px;min-height:96px;font-size:96px}.md-icon.md-size-5x{width:120px;min-width:120px;height:120px;min-height:120px;font-size:120px}.md-icon svg{width:100%;height:100%}img.md-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}
/* Common */
/* Responsive Breakpoints */
/* Transitions - Based on Angular Material */
/* Elevation - Based on Angular Material */
.md-icon {
width: 24px;
min-width: 24px;
height: 24px;
min-height: 24px;
font-size: 24px;
margin: auto;
display: -ms-inline-flexbox;
display: inline-flex;
-ms-flex-align: center;
align-items: center;
fill: currentColor;
text-rendering: optimizeLegibility;
vertical-align: middle;
}
.md-icon.md-size-2x {
width: 48px;
min-width: 48px;
height: 48px;
min-height: 48px;
font-size: 48px;
}
.md-icon.md-size-3x {
width: 72px;
min-width: 72px;
height: 72px;
min-height: 72px;
font-size: 72px;
}
.md-icon.md-size-4x {
width: 96px;
min-width: 96px;
height: 96px;
min-height: 96px;
font-size: 96px;
}
.md-icon.md-size-5x {
width: 120px;
min-width: 120px;
height: 120px;
min-height: 120px;
font-size: 120px;
}
.md-icon svg {
width: 100%;
height: 100%;
}
img.md-icon {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-drag: none;
}
/*# sourceMappingURL=index.css.map*/

View file

@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 409);
/******/ return __webpack_require__(__webpack_require__.s = 458);
/******/ })
/************************************************************************/
/******/ ({
@ -81,11 +81,17 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ 0:
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// this module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
injectStyles,
scopeId,
cssModules
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
@ -113,13 +119,51 @@ module.exports = function normalizeComponent (
options._scopeId = scopeId
}
// inject cssModules
if (cssModules) {
var computed = options.computed || (options.computed = {})
Object.keys(cssModules).forEach((function (key) {
var module = cssModules[key]
computed[key] = function () { return module }
}))
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
@ -141,90 +185,52 @@ module.exports = function normalizeComponent (
Object.defineProperty(exports, "__esModule", {
value: true
});
// Theme mixin
// Grab the closest ancestor component's `md-theme` attribute OR grab the
// `md-name` attribute from an `<md-theme>` component.
function getAncestorThemeName(component) {
if (!component) {
return null;
}
var name = component.mdTheme;
if (!name && component.$options._componentTag === 'md-theme') {
name = component.mdName;
}
return name || getAncestorThemeName(component.$parent);
}
exports.default = {
props: {
mdTheme: String
},
data: function data() {
return {
closestThemedParent: false
};
},
methods: {
getClosestThemedParent: function getClosestThemedParent($parent) {
if (!$parent || !$parent.$el || $parent._uid === 0) {
return false;
}
if ($parent.mdTheme || $parent.mdName) {
return $parent;
}
return this.getClosestThemedParent($parent.$parent);
}
},
computed: {
mdEffectiveTheme: function mdEffectiveTheme() {
return getAncestorThemeName(this) || this.$material.currentTheme;
},
themeClass: function themeClass() {
if (this.mdTheme) {
return 'md-theme-' + this.mdTheme;
}
var theme = this.closestThemedParent.mdTheme;
if (!theme) {
if (this.closestThemedParent) {
theme = this.closestThemedParent.mdName;
} else {
theme = this.$material.currentTheme;
}
}
return 'md-theme-' + theme;
return this.$material.prefix + this.mdEffectiveTheme;
}
},
mounted: function mounted() {
this.closestThemedParent = this.getClosestThemedParent(this.$parent);
if (!this.$material.currentTheme) {
this.$material.setCurrentTheme('default');
watch: {
mdTheme: function mdTheme(value) {
this.$material.useTheme(value);
}
},
beforeMount: function beforeMount() {
var localTheme = this.mdTheme;
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};
module.exports = exports['default'];
/***/ }),
/***/ 101:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = install;
var _mdIcon = __webpack_require__(288);
var _mdIcon2 = _interopRequireDefault(_mdIcon);
var _mdIcon3 = __webpack_require__(242);
var _mdIcon4 = _interopRequireDefault(_mdIcon3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function install(Vue) {
Vue.component('md-icon', _mdIcon2.default);
Vue.material.styles.push(_mdIcon4.default);
}
module.exports = exports['default'];
/***/ }),
/***/ 151:
/***/ 154:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -254,6 +260,7 @@ var registeredIcons = {}; //
//
exports.default = {
name: 'md-icon',
props: {
mdSrc: String,
mdIconset: {
@ -292,32 +299,28 @@ exports.default = {
}));
},
loadSVG: function loadSVG() {
var _this2 = this;
if (!registeredIcons[this.mdSrc]) {
(function () {
var request = new XMLHttpRequest();
var self = _this2;
var request = new XMLHttpRequest();
var self = this;
request.open('GET', _this2.mdSrc, true);
request.open('GET', this.mdSrc, true);
request.onload = function () {
var mimetype = this.getResponseHeader('content-type');
request.onload = function () {
var mimetype = this.getResponseHeader('content-type');
if (this.status >= 200 && this.status < 400 && self.isImage(mimetype)) {
if (self.isSVG(mimetype)) {
registeredIcons[self.mdSrc] = this.response;
self.setSVGContent(this.response);
} else {
self.loadImage();
}
if (this.status >= 200 && this.status < 400 && self.isImage(mimetype)) {
if (self.isSVG(mimetype)) {
registeredIcons[self.mdSrc] = this.response;
self.setSVGContent(this.response);
} else {
console.warn('The file ' + self.mdSrc + ' is not a valid image.');
self.loadImage();
}
};
} else {
console.warn('The file ' + self.mdSrc + ' is not a valid image.');
}
};
request.send();
})();
request.send();
} else {
this.setSVGContent(registeredIcons[this.mdSrc]);
}
@ -343,39 +346,42 @@ module.exports = exports['default'];
/***/ }),
/***/ 207:
/***/ 236:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 242:
/***/ 275:
/***/ (function(module, exports) {
module.exports = ".THEME_NAME.md-icon.md-primary {\n color: PRIMARY-COLOR; }\n\n.THEME_NAME.md-icon.md-accent {\n color: ACCENT-COLOR; }\n\n.THEME_NAME.md-icon.md-warn {\n color: WARN-COLOR; }\n"
/***/ }),
/***/ 288:
/***/ 324:
/***/ (function(module, exports, __webpack_require__) {
/* styles */
__webpack_require__(207)
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
__webpack_require__(236)
}
var Component = __webpack_require__(0)(
/* script */
__webpack_require__(151),
__webpack_require__(154),
/* template */
__webpack_require__(348),
__webpack_require__(391),
/* styles */
injectStyle,
/* scopeId */
null,
/* cssModules */
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/marcosmoura/Projects/github/vue-material/src/components/mdIcon/mdIcon.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key !== "__esModule"}))) {console.error("named exports are not supported in *.vue files.")}
Component.options.__file = "/Users/pablohpsilva/Code/vue-material/src/components/mdIcon/mdIcon.vue"
if (Component.esModule && Object.keys(Component.esModule).some((function (key) {return key !== "default" && key.substr(0, 2) !== "__"}))) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] mdIcon.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
@ -389,6 +395,9 @@ if (false) {(function () {
} else {
hotAPI.reload("data-v-2423dfc4", Component.options)
}
module.hot.dispose((function (data) {
disposed = true
}))
})()}
module.exports = Component.exports
@ -396,7 +405,7 @@ module.exports = Component.exports
/***/ }),
/***/ 348:
/***/ 391:
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@ -430,12 +439,42 @@ if (false) {
/***/ }),
/***/ 409:
/***/ 458:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(101);
module.exports = __webpack_require__(91);
/***/ }),
/***/ 91:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = install;
var _mdIcon = __webpack_require__(324);
var _mdIcon2 = _interopRequireDefault(_mdIcon);
var _mdIcon3 = __webpack_require__(275);
var _mdIcon4 = _interopRequireDefault(_mdIcon3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function install(Vue) {
Vue.component('md-icon', _mdIcon2.default);
Vue.material.styles.push(_mdIcon4.default);
}
module.exports = exports['default'];
/***/ })
/******/ });

Some files were not shown because too many files have changed in this diff Show more