From 31456ce52a7c6da7381d4ca9cc556529b8aada59 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 15:27:38 +0200 Subject: [PATCH 1/7] [docs] Remove space between / MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A slash is usually written without spacing on either side when it connects single words, letters, or symbols.[10] It is, however, common to include a space on each side of the slash when it connects items which themselves have spaces—for example, when marking line breaks in quoted verse or when connecting other items with several words such as "our New Zealand / Western Australia trip".[35] When typesetting a URL or computer path, line breaks should occur before a slash but not in the text between two slashes.[36] https://en.wikipedia.org/wiki/Slash_%28punctuation%29#In_English_text --- docs/translations/translations.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/translations/translations.json b/docs/translations/translations.json index 27454984789631..c485268540a8ff 100644 --- a/docs/translations/translations.json +++ b/docs/translations/translations.json @@ -2,8 +2,8 @@ "homeQuickWord": "A quick word from our sponsors:", "helpToTranslate": "Help to translate", "editWebsiteColors": "Edit website colors", - "toggleTheme": "Toggle light / dark theme", - "toggleRTL": "Toggle right-to-left / left-to-right", + "toggleTheme": "Toggle light/dark theme", + "toggleRTL": "Toggle right-to-left/left-to-right", "github": "GitHub repository", "strapline": "React components for faster and easier web development. Build your own design system, or start with Material Design.", "getStarted": "Get Started", From f9738b0cd82e8c568bc70c67f4762cfcec4faf1a Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 15:32:48 +0200 Subject: [PATCH 2/7] [ROADMAP] Gantt is most commonly known as Gantt chart --- docs/src/pages/discover-more/roadmap/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/discover-more/roadmap/roadmap.md b/docs/src/pages/discover-more/roadmap/roadmap.md index 6e01429647f66a..6a3aa86d0bd919 100644 --- a/docs/src/pages/discover-more/roadmap/roadmap.md +++ b/docs/src/pages/discover-more/roadmap/roadmap.md @@ -85,7 +85,7 @@ Here are the components we will work on being supported in the Material-UI ecosy | Charts | ⏳⭐️ | | Color picker | ⏳⭐️ | | Data Grid | ⏳⭐️ | -| Gantt | ⏳⭐️ | +| Gantt chart | ⏳⭐️ | | Gauge | ⏳⭐️ | | Masonery | ⏳⭐️ | | Pivot Grid | ⏳⭐️ | From d62d71a138fabe1f1232240f50debe7e7bbb8cca Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 15:34:23 +0200 Subject: [PATCH 3/7] [test] Use defaultProps for consistency --- .../material-ui/src/Tabs/TabScrollButton.test.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/material-ui/src/Tabs/TabScrollButton.test.js b/packages/material-ui/src/Tabs/TabScrollButton.test.js index 40aa620f28586e..260df70df7eed9 100644 --- a/packages/material-ui/src/Tabs/TabScrollButton.test.js +++ b/packages/material-ui/src/Tabs/TabScrollButton.test.js @@ -5,7 +5,7 @@ import TabScrollButton from './TabScrollButton'; import ButtonBase from '../ButtonBase'; describe('', () => { - const props = { + const defaultProps = { direction: 'left', visible: false, orientation: 'horizontal', @@ -16,7 +16,7 @@ describe('', () => { before(() => { shallow = createShallow({ dive: true }); - classes = getClasses(); + classes = getClasses(); mount = createMount({ strict: true }); }); @@ -26,7 +26,7 @@ describe('', () => { describe('prop: visible', () => { it('should render as a button with the root class', () => { - const wrapper = shallow(); + const wrapper = shallow(); assert.strictEqual(wrapper.type(), ButtonBase); assert.strictEqual(wrapper.hasClass(classes.root), true); @@ -35,7 +35,7 @@ describe('', () => { describe('prop: !visible', () => { it('should render as a div with root class', () => { - const wrapper = shallow(); + const wrapper = shallow(); assert.strictEqual(wrapper.name(), 'div'); assert.strictEqual(wrapper.hasClass(classes.root), true); @@ -44,7 +44,9 @@ describe('', () => { describe('prop: className', () => { it('should render with the user and root classes', () => { - const wrapper = shallow(); + const wrapper = shallow( + , + ); assert.strictEqual(wrapper.hasClass(classes.root), true); assert.strictEqual(wrapper.hasClass('woofTabScrollButton'), true); }); @@ -52,12 +54,12 @@ describe('', () => { describe('prop: direction', () => { it('should render with the left icon', () => { - const wrapper = mount(); + const wrapper = mount(); assert.strictEqual(wrapper.find('svg[data-mui-test="KeyboardArrowLeftIcon"]').length, 1); }); it('should render with the right icon', () => { - const wrapper = mount(); + const wrapper = mount(); assert.strictEqual(wrapper.find('svg[data-mui-test="KeyboardArrowRightIcon"]').length, 1); }); }); From d865097e9b26a23799416f9275e94ca57ed73e37 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 15:37:55 +0200 Subject: [PATCH 4/7] [ROADMAP] DatePicker and DateTables should be prioritized --- docs/src/pages/discover-more/roadmap/roadmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/discover-more/roadmap/roadmap.md b/docs/src/pages/discover-more/roadmap/roadmap.md index 6a3aa86d0bd919..ebfd8d7624b6c8 100644 --- a/docs/src/pages/discover-more/roadmap/roadmap.md +++ b/docs/src/pages/discover-more/roadmap/roadmap.md @@ -68,9 +68,10 @@ Here are the components we will work on being supported in the Material-UI ecosy | AutoComplete | 🛠 | | ComboBox | 🛠 | | MultiSelect | 🛠 | +| Date Picker range | 🛠 | +| Data Table | 🛠⭐️ | | Alert | ⏳ | | Carousel | ⏳ | -| Date Picker range | ⏳ | | Dropdown | ⏳ | | Dropzone | ⏳ | | File Upload | ⏳ | @@ -84,7 +85,6 @@ Here are the components we will work on being supported in the Material-UI ecosy | Big calendar | ⏳⭐️ | | Charts | ⏳⭐️ | | Color picker | ⏳⭐️ | -| Data Grid | ⏳⭐️ | | Gantt chart | ⏳⭐️ | | Gauge | ⏳⭐️ | | Masonery | ⏳⭐️ | From 68a601c3a6e067a232ce1cc64eba6f2ecffc345b Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 15:42:43 +0200 Subject: [PATCH 5/7] [docs] Mention the support of synonyms --- docs/src/pages/components/material-icons/material-icons.md | 2 ++ docs/src/pages/discover-more/roadmap/roadmap.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/components/material-icons/material-icons.md b/docs/src/pages/components/material-icons/material-icons.md index 54582a54be7d13..5f48e67bc99c99 100644 --- a/docs/src/pages/components/material-icons/material-icons.md +++ b/docs/src/pages/components/material-icons/material-icons.md @@ -12,3 +12,5 @@ The following npm package, includes the 1,000+ official [Material icons](https://material.io/tools/icons/?style=baseline) converted to [`SvgIcon`](/api/svg-icon/) components. {{"demo": "pages/components/material-icons/SearchIcons.js", "hideHeader": true}} + +Tip: the search supports synonymes, try a search with "hamburger" or "logout". diff --git a/docs/src/pages/discover-more/roadmap/roadmap.md b/docs/src/pages/discover-more/roadmap/roadmap.md index ebfd8d7624b6c8..0b85796b50a4f2 100644 --- a/docs/src/pages/discover-more/roadmap/roadmap.md +++ b/docs/src/pages/discover-more/roadmap/roadmap.md @@ -68,7 +68,7 @@ Here are the components we will work on being supported in the Material-UI ecosy | AutoComplete | 🛠 | | ComboBox | 🛠 | | MultiSelect | 🛠 | -| Date Picker range | 🛠 | +| Date Picker (& range) | 🛠 | | Data Table | 🛠⭐️ | | Alert | ⏳ | | Carousel | ⏳ | From de0bf1b85590fc2023ef7a1d139b04e7ed13936c Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 16:12:41 +0200 Subject: [PATCH 6/7] Update docs/src/pages/components/material-icons/material-icons.md Co-Authored-By: Matt --- docs/src/pages/components/material-icons/material-icons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/components/material-icons/material-icons.md b/docs/src/pages/components/material-icons/material-icons.md index 5f48e67bc99c99..99bf6fdc323b57 100644 --- a/docs/src/pages/components/material-icons/material-icons.md +++ b/docs/src/pages/components/material-icons/material-icons.md @@ -13,4 +13,4 @@ includes the 1,000+ official [Material icons](https://material.io/tools/icons/?s {{"demo": "pages/components/material-icons/SearchIcons.js", "hideHeader": true}} -Tip: the search supports synonymes, try a search with "hamburger" or "logout". +ℹ️ The search supports synonyms. Try a search with "hamburger", or "logout". From fd01db2372d202f0f7c07db0df3831d74a3fc31e Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 9 Oct 2019 23:51:38 +0200 Subject: [PATCH 7/7] Update docs/src/pages/components/material-icons/material-icons.md Co-Authored-By: Josh Wooding <12938082+joshwooding@users.noreply.github.com> --- docs/src/pages/components/material-icons/material-icons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/components/material-icons/material-icons.md b/docs/src/pages/components/material-icons/material-icons.md index 99bf6fdc323b57..54e973fbf60b2b 100644 --- a/docs/src/pages/components/material-icons/material-icons.md +++ b/docs/src/pages/components/material-icons/material-icons.md @@ -13,4 +13,4 @@ includes the 1,000+ official [Material icons](https://material.io/tools/icons/?s {{"demo": "pages/components/material-icons/SearchIcons.js", "hideHeader": true}} -ℹ️ The search supports synonyms. Try a search with "hamburger", or "logout". +ℹ️ The search supports synonyms. Try searching for "hamburger", or "logout".