From f088079820f8a16e450e44708cdfaa6a8c54fa7e Mon Sep 17 00:00:00 2001 From: Alan Bustamante Date: Thu, 15 Jun 2017 11:56:05 -0700 Subject: [PATCH] Revert "Revert "sync merge (#4)"" This reverts commit df6b13e08a1ea8a89f4d7ca21da89443e0fbae35. --- CHANGELOG.md | 84 +- docs/app/Components/IconSearch/IconSearch.js | 2 +- .../TextAreaExampleTextArea.js} | 4 +- .../Examples/addons/TextArea/Types/index.js | 16 + .../Usage/TextAreaExampleAutoHeight.js | 2 +- .../TextAreaExampleAutoHeightMinHeight.js | 10 + .../Usage/TextAreaExampleAutoHeightRows.js | 10 + .../Usage/TextAreaExampleMinHeight.js | 10 + .../TextArea/Usage/TextAreaExampleRows.js | 10 + .../Examples/addons/TextArea/Usage/index.js | 26 +- docs/app/Examples/addons/TextArea/index.js | 3 + .../behaviors/Visibility/Wireframe.js | 30 +- .../Table/Variations/TableExampleSortable.js | 6 +- .../ButtonExampleGroupVertical.js | 2 +- .../Button/Usage/ButtonExampleFocus.js | 28 + .../Examples/elements/Button/Usage/index.js | 16 + docs/app/Examples/elements/Button/index.js | 9 +- .../States/InputExampleLoadingWithoutIcon.js | 8 + .../Examples/elements/Input/States/index.js | 4 + .../Types/DropdownExampleSearchDropdown.js | 17 +- .../Item/Variations/ItemExampleFloated.js | 4 +- .../Item/Variations/ItemExampleUnstackable.js | 18 + .../Examples/views/Item/Variations/index.js | 6 + docs/app/assets/images/4by3.jpg | Bin 0 -> 126782 bytes docs/app/assets/images/image-16by9.png | Bin 0 -> 7150 bytes .../images/movies/totoro-horizontal.jpg | Bin 0 -> 145913 bytes docs/app/assets/images/vimeo-example.jpg | Bin 0 -> 96989 bytes index.d.ts | 5 +- package-lock.json | 7713 +++++++++++++++++ package.json | 8 +- src/addons/TextArea/TextArea.d.ts | 7 + src/addons/TextArea/TextArea.js | 40 +- src/collections/Form/Form.d.ts | 2 +- src/collections/Form/index.d.ts | 2 +- src/elements/Button/Button.js | 12 +- src/elements/Input/Input.js | 11 +- src/lib/factories.js | 4 +- src/lib/htmlInputPropsUtils.js | 18 +- src/modules/Accordion/Accordion.d.ts | 2 +- src/modules/Checkbox/Checkbox.js | 5 +- src/modules/Dropdown/Dropdown.d.ts | 3 - src/modules/Dropdown/Dropdown.js | 62 +- src/modules/Search/Search.js | 7 +- src/views/Item/ItemGroup.d.ts | 3 + src/views/Item/ItemGroup.js | 5 + test/specs/addons/TextArea/TextArea-test.js | 117 +- test/specs/elements/Button/Button-test.js | 16 + test/specs/elements/Input/Input-test.js | 16 + test/specs/lib/factories-test.js | 124 +- test/specs/lib/htmlInputPropsUtils-test.js | 45 +- test/specs/modules/Checkbox/Checkbox-test.js | 10 + test/specs/modules/Dropdown/Dropdown-test.js | 127 +- test/specs/views/Item/ItemGroup-test.js | 1 + 53 files changed, 8418 insertions(+), 272 deletions(-) rename docs/app/Examples/addons/TextArea/{Usage/TextAreaExample.js => Types/TextAreaExampleTextArea.js} (64%) create mode 100644 docs/app/Examples/addons/TextArea/Types/index.js create mode 100644 docs/app/Examples/addons/TextArea/Usage/TextAreaExampleAutoHeightMinHeight.js create mode 100644 docs/app/Examples/addons/TextArea/Usage/TextAreaExampleAutoHeightRows.js create mode 100644 docs/app/Examples/addons/TextArea/Usage/TextAreaExampleMinHeight.js create mode 100644 docs/app/Examples/addons/TextArea/Usage/TextAreaExampleRows.js create mode 100644 docs/app/Examples/elements/Button/Usage/ButtonExampleFocus.js create mode 100644 docs/app/Examples/elements/Button/Usage/index.js create mode 100644 docs/app/Examples/elements/Input/States/InputExampleLoadingWithoutIcon.js create mode 100644 docs/app/Examples/views/Item/Variations/ItemExampleUnstackable.js create mode 100644 docs/app/assets/images/4by3.jpg create mode 100644 docs/app/assets/images/image-16by9.png create mode 100644 docs/app/assets/images/movies/totoro-horizontal.jpg create mode 100644 docs/app/assets/images/vimeo-example.jpg create mode 100644 package-lock.json diff --git a/CHANGELOG.md b/CHANGELOG.md index d88d8e77e1..d22d6ee936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,83 @@ # Change Log +## [v0.68.5](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.68.5) (2017-06-01) +[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.68.4...v0.68.5) + +**Implemented enhancements:** + +- feat\(typings\): expose FormComponent in typings [\#1680](https://github.com/Semantic-Org/Semantic-UI-React/pull/1680) ([tomitrescak](https://github.com/tomitrescak)) + +**Fixed bugs:** + +- Dropdown: option keys fallback to values incorrectly [\#1720](https://github.com/Semantic-Org/Semantic-UI-React/issues/1720) +- Browser tab not showing `Icon` when viewing Icon docs [\#1709](https://github.com/Semantic-Org/Semantic-UI-React/issues/1709) + +**Closed issues:** + +- 'npm install semantic-ui-react' has error [\#1723](https://github.com/Semantic-Org/Semantic-UI-React/issues/1723) + +**Merged pull requests:** + +- chore\(package\): update chai-enzyme to 0.7.1 [\#1731](https://github.com/Semantic-Org/Semantic-UI-React/pull/1731) ([levithomason](https://github.com/levithomason)) +- fix\(factories\): handle falsy `key` values [\#1729](https://github.com/Semantic-Org/Semantic-UI-React/pull/1729) ([layershifter](https://github.com/layershifter)) +- fix\(Dropdown\): add addition item key [\#1727](https://github.com/Semantic-Org/Semantic-UI-React/pull/1727) ([levithomason](https://github.com/levithomason)) +- chore\(package\): update require-dir@0.3.2 [\#1721](https://github.com/Semantic-Org/Semantic-UI-React/pull/1721) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) +- docs\(Item\): cleanup Item's floated example [\#1719](https://github.com/Semantic-Org/Semantic-UI-React/pull/1719) ([qoalu](https://github.com/qoalu)) +- docs\(Icon\): fix selector for input [\#1714](https://github.com/Semantic-Org/Semantic-UI-React/pull/1714) ([layershifter](https://github.com/layershifter)) +- chore\(package\): update react-ace to version 5.0.1 [\#1712](https://github.com/Semantic-Org/Semantic-UI-React/pull/1712) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) + +## [v0.68.4](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.68.4) (2017-05-27) +[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.68.3...v0.68.4) + +**Implemented enhancements:** + +- Grid: should have inverted prop [\#1673](https://github.com/Semantic-Org/Semantic-UI-React/issues/1673) +- Search: invalid PropType noResultMessage [\#1664](https://github.com/Semantic-Org/Semantic-UI-React/issues/1664) +- minCharacters and saveRemoteData for Dropdown setting missing? [\#1124](https://github.com/Semantic-Org/Semantic-UI-React/issues/1124) +- feat\(Item\): add unstackable prop to ItemGroup [\#1706](https://github.com/Semantic-Org/Semantic-UI-React/pull/1706) ([layershifter](https://github.com/layershifter)) +- feat\(typings\): export generic types [\#1698](https://github.com/Semantic-Org/Semantic-UI-React/pull/1698) ([fabien0102](https://github.com/fabien0102)) +- feat\(Visibility\): add component [\#1174](https://github.com/Semantic-Org/Semantic-UI-React/pull/1174) ([mariolamacchia](https://github.com/mariolamacchia)) + +**Fixed bugs:** + +- Button: Icon button has different width if content is 0 \(number\) [\#1691](https://github.com/Semantic-Org/Semantic-UI-React/issues/1691) +- Progress: indicating bar displaying wrong color with decimal value [\#1671](https://github.com/Semantic-Org/Semantic-UI-React/issues/1671) +- Dropdown won't open in IE if openOnFocus is false [\#1315](https://github.com/Semantic-Org/Semantic-UI-React/issues/1315) + +**Closed issues:** + +- Failed to Compile error using react-scripts@1.0.2 [\#1700](https://github.com/Semantic-Org/Semantic-UI-React/issues/1700) +- Button: redundant prop in Vertical Group example [\#1697](https://github.com/Semantic-Org/Semantic-UI-React/issues/1697) +- fix\(Modal\): your description [\#1696](https://github.com/Semantic-Org/Semantic-UI-React/issues/1696) +- Render button with content and icon take about 70ms [\#1686](https://github.com/Semantic-Org/Semantic-UI-React/issues/1686) +- Modal: Flickering when size is set to Large or small [\#1675](https://github.com/Semantic-Org/Semantic-UI-React/issues/1675) +- Suggestion: Arbitrary objects passed to Search results? [\#1670](https://github.com/Semantic-Org/Semantic-UI-React/issues/1670) +- Popup with grid + map doesn't layout properly [\#1660](https://github.com/Semantic-Org/Semantic-UI-React/issues/1660) +- Search component value [\#1655](https://github.com/Semantic-Org/Semantic-UI-React/issues/1655) +- Dropdown: Should work with keys instead of values [\#1634](https://github.com/Semantic-Org/Semantic-UI-React/issues/1634) +- Docs -\> Form -\> Props -\> Size property - Showing lodash 'without' function [\#1563](https://github.com/Semantic-Org/Semantic-UI-React/issues/1563) + +**Merged pull requests:** + +- docs\(Introduction\): fix declarative example [\#1704](https://github.com/Semantic-Org/Semantic-UI-React/pull/1704) ([aabustamante](https://github.com/aabustamante)) +- docs\(Button\): remove redundant prop in Vertical Group example [\#1699](https://github.com/Semantic-Org/Semantic-UI-React/pull/1699) ([andreipfeiffer](https://github.com/andreipfeiffer)) +- docs\(Dropdown\): fix world icon in search example [\#1695](https://github.com/Semantic-Org/Semantic-UI-React/pull/1695) ([aabustamante](https://github.com/aabustamante)) +- fix\(Checkbox\): fix value prop types [\#1694](https://github.com/Semantic-Org/Semantic-UI-React/pull/1694) ([fabien0102](https://github.com/fabien0102)) +- fix\(Button\): fix handling of icon class [\#1693](https://github.com/Semantic-Org/Semantic-UI-React/pull/1693) ([layershifter](https://github.com/layershifter)) +- chore\(package\): update chai-enzyme to version 0.7.0 [\#1692](https://github.com/Semantic-Org/Semantic-UI-React/pull/1692) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) +- feat\(Dropdown\): Add minCharacters prop [\#1690](https://github.com/Semantic-Org/Semantic-UI-React/pull/1690) ([dyesseyumba](https://github.com/dyesseyumba)) +- docs\(Form\): fix typo [\#1685](https://github.com/Semantic-Org/Semantic-UI-React/pull/1685) ([gitname](https://github.com/gitname)) +- docs\(Introduction\): fix typo [\#1684](https://github.com/Semantic-Org/Semantic-UI-React/pull/1684) ([gitname](https://github.com/gitname)) +- feat\(Search\): noResultsMessage prop can be a node [\#1683](https://github.com/Semantic-Org/Semantic-UI-React/pull/1683) ([b0gok](https://github.com/b0gok)) +- docs\(types\): fix type definitions [\#1678](https://github.com/Semantic-Org/Semantic-UI-React/pull/1678) ([layershifter](https://github.com/layershifter)) +- feat\(Grid\): add inverted prop and usage example to docs [\#1677](https://github.com/Semantic-Org/Semantic-UI-React/pull/1677) ([josie11](https://github.com/josie11)) +- fix\(Progress\): use floor for data-percent attribute [\#1672](https://github.com/Semantic-Org/Semantic-UI-React/pull/1672) ([patrickgaskill](https://github.com/patrickgaskill)) +- fix\(Dropdown\): fix compatibility with IE [\#1667](https://github.com/Semantic-Org/Semantic-UI-React/pull/1667) ([layershifter](https://github.com/layershifter)) +- Update gh-pages to version 1.0.0 🚀 [\#1662](https://github.com/Semantic-Org/Semantic-UI-React/pull/1662) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) +- fix\(docs\): fix compatibility with IE [\#1659](https://github.com/Semantic-Org/Semantic-UI-React/pull/1659) ([layershifter](https://github.com/layershifter)) +- fix\(Dropdown\): fix key handling for options [\#1639](https://github.com/Semantic-Org/Semantic-UI-React/pull/1639) ([davezuko](https://github.com/davezuko)) +- docs\(bundlers\): add webpack 2 example [\#1497](https://github.com/Semantic-Org/Semantic-UI-React/pull/1497) ([layershifter](https://github.com/layershifter)) + ## [v0.68.3](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.68.3) (2017-05-06) [Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.68.2...v0.68.3) @@ -45,7 +123,7 @@ **Merged pull requests:** - chore\(package\): update mocha@3.3.0 [\#1615](https://github.com/Semantic-Org/Semantic-UI-React/pull/1615) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) -- fix\(acc\): fix default prop dev warning [\#1613](https://github.com/Semantic-Org/Semantic-UI-React/pull/1613) ([sirJconny](https://github.com/sirJconny)) +- fix\(acc\): fix default prop dev warning [\#1613](https://github.com/Semantic-Org/Semantic-UI-React/pull/1613) ([jonmajorc](https://github.com/jonmajorc)) - test\(typings\): initial tests for typings [\#1611](https://github.com/Semantic-Org/Semantic-UI-React/pull/1611) ([layershifter](https://github.com/layershifter)) - chore\(package\): update copy-to-clipboard@3.0.6 [\#1610](https://github.com/Semantic-Org/Semantic-UI-React/pull/1610) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) @@ -1609,7 +1687,7 @@ **Merged pull requests:** -- fix\(Button\): render `labeled` as a \ [\#597](https://github.com/Semantic-Org/Semantic-UI-React/pull/597) ([yesmin](https://github.com/yesmin)) +- fix\(Button\): render `labeled` as a \ [\#597](https://github.com/Semantic-Org/Semantic-UI-React/pull/597) ([dmitriyshmatov](https://github.com/dmitriyshmatov)) ## [v0.52.4](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.52.4) (2016-10-03) [Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.52.3...v0.52.4) @@ -1650,7 +1728,7 @@ **Implemented enhancements:** - feat\(Table\): add `attached` prop [\#591](https://github.com/Semantic-Org/Semantic-UI-React/issues/591) -- feat\(Table\): add `attached` prop [\#593](https://github.com/Semantic-Org/Semantic-UI-React/pull/593) ([yesmin](https://github.com/yesmin)) +- feat\(Table\): add `attached` prop [\#593](https://github.com/Semantic-Org/Semantic-UI-React/pull/593) ([dmitriyshmatov](https://github.com/dmitriyshmatov)) ## [v0.52.1](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.52.1) (2016-10-03) [Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.52.0...v0.52.1) diff --git a/docs/app/Components/IconSearch/IconSearch.js b/docs/app/Components/IconSearch/IconSearch.js index b779eb45cc..30fd1e5182 100644 --- a/docs/app/Components/IconSearch/IconSearch.js +++ b/docs/app/Components/IconSearch/IconSearch.js @@ -57,7 +57,7 @@ export default class IconSearch extends Component { state = { search: '', includeSimilar: true } componentDidMount() { - const input = document.querySelector('#docs-icon-set-input input') + const input = document.querySelector('#docs-icon-set-input') input.focus() } diff --git a/docs/app/Examples/addons/TextArea/Usage/TextAreaExample.js b/docs/app/Examples/addons/TextArea/Types/TextAreaExampleTextArea.js similarity index 64% rename from docs/app/Examples/addons/TextArea/Usage/TextAreaExample.js rename to docs/app/Examples/addons/TextArea/Types/TextAreaExampleTextArea.js index 1a3d119ece..f0d10fe44c 100644 --- a/docs/app/Examples/addons/TextArea/Usage/TextAreaExample.js +++ b/docs/app/Examples/addons/TextArea/Types/TextAreaExampleTextArea.js @@ -1,10 +1,10 @@ import React from 'react' import { Form, TextArea } from 'semantic-ui-react' -const TextAreaExample = () => ( +const TextAreaExampleTextArea = () => (