Commit graph

355 commits

Author SHA1 Message Date
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
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
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
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
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
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
Marcos Moura
b3ae343aca Finish md-menu spec 2016-10-25 05:09:44 -02:00
Marcos Moura
a929aafda9 Add keyboard shortcuts to menu 2016-10-24 22:04:00 -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
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
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
ad0d2c13e2 Recalculate position on resize 2016-10-24 00:33:11 -02:00
Jan Van Bruggen
b474af9fd8 Emit change & input events from mdTextarea 2016-10-20 11:50:03 -07: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
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
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
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
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
bb82cf3efd Fix empty value on select 2016-10-17 05:01:48 -02:00
Marcos Moura
7a9a0cfe27 Add initial firefox support and finish first documentation release 2016-10-17 04:33:00 -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
f967fe912f Change all webpack tasks 2016-10-13 03:27:58 -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
1f2d01cf5e Create template for single pages 2016-09-26 11:14:26 -03:00
Marcos Moura
d93aa2e834 Enable dynamic themes 2016-09-26 01:13:27 -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
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
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
987a6e2b02 Move class object to new function to be called on each loop 2016-09-20 02:23:58 -03:00
Marcos Moura
31029a147d Fix dynamic themes not removing last class 2016-09-20 02:22:17 -03:00
Marcos Moura
046bf2055a Fix avatar colors 2016-09-19 21:15:11 -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
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
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
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
36d4c26dd1 Create tabs 2016-09-12 02:34:07 -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
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
be07ac0f9b General improvements 2016-09-08 02:39:13 -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
d5287baea9 Create a better cleanup 2016-09-08 01:38:25 -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
28047f6eef Upgrade radio to vue 2 2016-09-06 01:30:40 -03:00
Marcos Moura
a59381a62a Forward click event 2016-09-06 01:30:05 -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
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
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
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
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
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
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
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
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
6c9f718145 Fix avatar size on dense lists 2016-07-22 14:16:31 -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
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
9a169d03f0 Ditch gulp in favor of vue-cli 2016-07-13 02:00:31 -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
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