From 295f74f91d35da30d7a924beba935453b05e2297 Mon Sep 17 00:00:00 2001 From: CaptainAchilles Date: Sat, 25 Mar 2017 01:15:57 +1000 Subject: [PATCH 01/16] 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 --- README.md | 16 ++++++++++++---- docs/src/pages/components/BottomBar.vue | 2 +- docs/src/pages/components/Buttons.vue | 14 +++++++------- docs/src/pages/components/Checkbox.vue | 4 ++-- docs/src/pages/components/Chips.vue | 4 ++-- docs/src/pages/components/File.vue | 2 +- docs/src/pages/components/Input.vue | 4 ++-- docs/src/pages/components/List.vue | 2 +- docs/src/pages/components/Menu.vue | 2 +- docs/src/pages/components/Radio.vue | 4 ++-- docs/src/pages/components/Select.vue | 4 ++-- docs/src/pages/components/SpeedDial.vue | 8 ++++---- docs/src/pages/components/Switch.vue | 4 ++-- docs/src/pages/components/Tabs.vue | 2 +- docs/src/pages/themes/DynamicThemes.vue | 8 ++++---- src/components/mdTable/mdTableHead.vue | 2 +- 16 files changed, 45 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 57212d4..1707e24 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,21 @@

Material Design for Vue.js

- Downloads + + Downloads + - Version + + Version + - License + + License + - Gitter Chat
+ + Gitter Chat +

Vue Material is lightweight framework built exactly according to the Material Design specs. diff --git a/docs/src/pages/components/BottomBar.vue b/docs/src/pages/components/BottomBar.vue index f51d465..3c22b1d 100644 --- a/docs/src/pages/components/BottomBar.vue +++ b/docs/src/pages/components/BottomBar.vue @@ -94,7 +94,7 @@ disabled Boolean - Disable the item and prevent his actions. Default false + Disable the item and prevent its actions. Default false diff --git a/docs/src/pages/components/Buttons.vue b/docs/src/pages/components/Buttons.vue index 5689aa1..cf6f6ee 100644 --- a/docs/src/pages/components/Buttons.vue +++ b/docs/src/pages/components/Buttons.vue @@ -26,7 +26,7 @@ disabled Boolean - Disable the button and prevent his actions. Default false + Disable the button and prevent its actions. Default false @@ -79,32 +79,32 @@ md-fab-top-left - Position the md-fab absolutely on the top left of his parent + Position the md-fab absolutely on the top left of its parent md-fab-top-center - Position the md-fab absolutely on the top center of his parent + Position the md-fab absolutely on the top center of its parent md-fab-top-right - Position the md-fab absolutely on the top right of his parent + Position the md-fab absolutely on the top right of its parent md-fab-bottom-left - Position the md-fab absolutely on the bottom left of his parent + Position the md-fab absolutely on the bottom left of its parent md-fab-bottom-center - Position the md-fab absolutely on the bottom center of his parent + Position the md-fab absolutely on the bottom center of its parent md-fab-bottom-right - Position the md-fab absolutely on the bottom right of his parent + Position the md-fab absolutely on the bottom right of its parent diff --git a/docs/src/pages/components/Checkbox.vue b/docs/src/pages/components/Checkbox.vue index 58cf13a..9b4f233 100644 --- a/docs/src/pages/components/Checkbox.vue +++ b/docs/src/pages/components/Checkbox.vue @@ -43,7 +43,7 @@ disabled Boolean - Disable the checkbox and prevent his actions. Default false + Disable the checkbox and prevent its actions. Default false @@ -61,7 +61,7 @@ change Receive the state of the checkbox - Triggered when the checkbox changes his value. + Triggered when the checkbox changes its value. diff --git a/docs/src/pages/components/Chips.vue b/docs/src/pages/components/Chips.vue index dfe42e6..9f6ab7a 100644 --- a/docs/src/pages/components/Chips.vue +++ b/docs/src/pages/components/Chips.vue @@ -20,7 +20,7 @@ disabled Boolean - Disable the chip and prevent his actions. Default: false + Disable the chip and prevent its actions. Default: false @@ -81,7 +81,7 @@ disabled Boolean - Disable the chips and prevent his actions. Default: false + Disable the chips and prevent its actions. Default: false diff --git a/docs/src/pages/components/File.vue b/docs/src/pages/components/File.vue index 2b80f0e..5d6df9e 100644 --- a/docs/src/pages/components/File.vue +++ b/docs/src/pages/components/File.vue @@ -38,7 +38,7 @@ disabled Boolean - Disable the input and prevent his actions. Default false + Disable the input and prevent its actions. Default false diff --git a/docs/src/pages/components/Input.vue b/docs/src/pages/components/Input.vue index 5d6248e..abd3f7f 100644 --- a/docs/src/pages/components/Input.vue +++ b/docs/src/pages/components/Input.vue @@ -80,7 +80,7 @@ disabled Boolean - Disable the input and prevent his actions. Default false + Disable the input and prevent its actions. Default false @@ -124,7 +124,7 @@ disabled Boolean - Disable the textarea and prevent his actions. Default false + Disable the textarea and prevent its actions. Default false diff --git a/docs/src/pages/components/List.vue b/docs/src/pages/components/List.vue index 2cb5901..d0284a1 100644 --- a/docs/src/pages/components/List.vue +++ b/docs/src/pages/components/List.vue @@ -68,7 +68,7 @@ disabled Boolean - Disable the item and prevent his actions. Default false + Disable the item and prevent its actions. Default false diff --git a/docs/src/pages/components/Menu.vue b/docs/src/pages/components/Menu.vue index 9d3e139..3929adb 100644 --- a/docs/src/pages/components/Menu.vue +++ b/docs/src/pages/components/Menu.vue @@ -125,7 +125,7 @@ disabled Boolean - Disable the button and prevent his actions. Default false + Disable the button and prevent its actions. Default false diff --git a/docs/src/pages/components/Radio.vue b/docs/src/pages/components/Radio.vue index 9b086b7..897552c 100644 --- a/docs/src/pages/components/Radio.vue +++ b/docs/src/pages/components/Radio.vue @@ -49,7 +49,7 @@ disabled Boolean - Disable the radio and prevent his actions. Default false + Disable the radio and prevent its actions. Default false @@ -67,7 +67,7 @@ change Receive the state of the radio - Triggered when the radio changes his value. + Triggered when the radio changes its value. diff --git a/docs/src/pages/components/Select.vue b/docs/src/pages/components/Select.vue index 93958cc..72fb43f 100644 --- a/docs/src/pages/components/Select.vue +++ b/docs/src/pages/components/Select.vue @@ -38,7 +38,7 @@ disabled Boolean - Disable the input and prevent his actions. Default false + Disable the input and prevent its actions. Default false @@ -115,7 +115,7 @@ disabled Boolean - Disable the button and prevent his actions. Default false + Disable the button and prevent its actions. Default false diff --git a/docs/src/pages/components/SpeedDial.vue b/docs/src/pages/components/SpeedDial.vue index 82fcc17..fcb7d9f 100644 --- a/docs/src/pages/components/SpeedDial.vue +++ b/docs/src/pages/components/SpeedDial.vue @@ -20,22 +20,22 @@ md-fab-top-left - Position the md-fab absolutely on the top left of his parent + Position the md-fab absolutely on the top left of its parent md-fab-top-center - Position the md-fab absolutely on the top center of his parent + Position the md-fab absolutely on the top center of its parent md-fab-top-right - Position the md-fab absolutely on the top right of his parent + Position the md-fab absolutely on the top right of its parent md-fab-bottom-left - Position the md-fab absolutely on the bottom left of his parent + Position the md-fab absolutely on the bottom left of its parent diff --git a/docs/src/pages/components/Switch.vue b/docs/src/pages/components/Switch.vue index b82fd07..e1f2434 100644 --- a/docs/src/pages/components/Switch.vue +++ b/docs/src/pages/components/Switch.vue @@ -49,7 +49,7 @@ disabled Boolean - Disable the switch and prevent his actions. Default false + Disable the switch and prevent its actions. Default false @@ -67,7 +67,7 @@ change Receive the state of the switch - Triggered when the switch changes his value. + Triggered when the switch changes its value. diff --git a/docs/src/pages/components/Tabs.vue b/docs/src/pages/components/Tabs.vue index 9ff04ee..6833d27 100644 --- a/docs/src/pages/components/Tabs.vue +++ b/docs/src/pages/components/Tabs.vue @@ -135,7 +135,7 @@ md-disabled Boolean - Disable the tab and prevent his actions. Default false + Disable the tab and prevent its actions. Default false diff --git a/docs/src/pages/themes/DynamicThemes.vue b/docs/src/pages/themes/DynamicThemes.vue index 766f055..6db988a 100644 --- a/docs/src/pages/themes/DynamicThemes.vue +++ b/docs/src/pages/themes/DynamicThemes.vue @@ -2,10 +2,10 @@
-

Vue Material have a complete theme suite. You can create several themes and apply them on-demand. Like on this documentation website you can set a different theme per-page using the API. But you can have a advanced way to change themes using dynamic themes.

-

You can apply a theme only in a single area of your application using the <md-theme>. If the theme component have only one child element then the theme definition will be attached to this particular element. In other case the component will wrap all of it's children in a <div> tag (or you can customize the output tag).

-

Also every single component in Vue Material suite have a md-theme attribute to set his theme.

-

All the components will inherit all theme properties from it's parents. If the direct parent doesn't have a theme definition the theme will be resolved by its closest parent or the current theme of the entire application.

+

Vue Material have a complete theme suite. You can create several themes and apply them on-demand. Like on this documentation website you can set a different theme per-page using the API. But you can have an advanced way to change themes using dynamic themes.

+

You can apply a theme only in a single area of your application using the <md-theme>. If the theme component has only one child element then the theme definition will be attached to this particular element. In other cases the component will wrap all of its children in a <div> tag (or you can customize the output tag).

+

Also every single component in Vue Material suite has a md-theme attribute to set its theme.

+

All the components will inherit all theme properties from its parents. If the direct parent doesn't have a theme definition the theme will be resolved by its closest parent or the current theme of the entire application.

diff --git a/src/components/mdTable/mdTableHead.vue b/src/components/mdTable/mdTableHead.vue index 8dd13ce..edb084f 100644 --- a/src/components/mdTable/mdTableHead.vue +++ b/src/components/mdTable/mdTableHead.vue @@ -2,7 +2,7 @@
- arrow_downward + arrow_upward From e6e2264962e8e938015dec8cff142e61116a209a Mon Sep 17 00:00:00 2001 From: d3radicated Date: Fri, 24 Mar 2017 23:16:33 +0800 Subject: [PATCH 02/16] fix md-tabs not properly flexed when applied with md-fixed (#636) --- src/components/mdTabs/mdTabs.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/mdTabs/mdTabs.scss b/src/components/mdTabs/mdTabs.scss index 536bec8..12ee38b 100644 --- a/src/components/mdTabs/mdTabs.scss +++ b/src/components/mdTabs/mdTabs.scss @@ -38,10 +38,16 @@ $tab-max-width: 264px; } &.md-centered { - justify-content: center; + .md-tabs-navigation-container { + justify-content: center; + } } &.md-fixed { + .md-tabs-navigation-container { + flex: 1; + } + .md-tab-header { flex: 1; } From 4254e7962e0b7205df06a99e1b9458c7daa70351 Mon Sep 17 00:00:00 2001 From: Michael Sitter Date: Sun, 7 May 2017 15:33:52 -0700 Subject: [PATCH 03/16] adding click handler (#726) --- src/components/mdRadio/mdRadio.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mdRadio/mdRadio.vue b/src/components/mdRadio/mdRadio.vue index f8604f4..b37bee1 100644 --- a/src/components/mdRadio/mdRadio.vue +++ b/src/components/mdRadio/mdRadio.vue @@ -1,7 +1,7 @@