Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Semantic-Org/Semantic-UI-React
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.84.0
Choose a base ref
...
head repository: Semantic-Org/Semantic-UI-React
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.85.0
Choose a head ref

Commits on Dec 10, 2018

  1. Copy the full SHA
    a8348b6 View commit details
  2. Copy the full SHA
    b99500c View commit details
  3. Copy the full SHA
    26c660e View commit details

Commits on Dec 17, 2018

  1. BREAKING (Sidebar): remove duration prop (#3336)

    * fix(Sidebar): Drop duration prop off of the component (#3328).
    
    * fix(Sidebar): Access static variable correctly (#3328).
    Fabianopb authored and layershifter committed Dec 17, 2018
    Copy the full SHA
    6d7feef View commit details

Commits on Dec 19, 2018

  1. Copy the full SHA
    c93ad88 View commit details

Commits on Dec 24, 2018

  1. fix(Textarea): fix broken ctrl-z on firefox (#3343)

    * Fix broken ctrl-z in on firefox
    
    In TextArea ctrl-z is currently broken on firefox if autoHeight is enabled.
    
    I feel like it might be a firefox bug but this workaround will make it work.
    
    * Update TextArea.js
    ericls authored and layershifter committed Dec 24, 2018
    Copy the full SHA
    23ff649 View commit details

Commits on Jan 2, 2019

  1. docs(Responsive): update ResponsiveExampleMaxWidth.js (added two word…

    …s to clarify) (#3354)
    
    Added "and lower" to the 2569px width example, because that's what it does and the wording was confusing on first sight.
    janderudder authored and layershifter committed Jan 2, 2019
    Copy the full SHA
    4c383d8 View commit details
  2. feat(Icon): disabled prop disables onClick (#3358)

    feat(Icon): `disabled` prop disables `onClick`
    danielsyang authored and layershifter committed Jan 2, 2019
    Copy the full SHA
    2598403 View commit details

Commits on Jan 9, 2019

  1. chore(build): drop DLL stage (#3324)

    * chore(build): drop DLL stage
    
    * final cleanup
    layershifter authored Jan 9, 2019
    Copy the full SHA
    a5a1e6e View commit details
  2. Copy the full SHA
    ff5b62e View commit details

Commits on Jan 10, 2019

  1. Copy the full SHA
    bbb3cb2 View commit details
  2. Copy the full SHA
    01e2395 View commit details
  3. Copy the full SHA
    d53b354 View commit details

Commits on Jan 15, 2019

  1. fix(Input): add select to type definitions (#3380)

    fix(Input): add `select` to type definitions
    skeate authored and layershifter committed Jan 15, 2019
    Copy the full SHA
    cda2a2f View commit details

Commits on Jan 16, 2019

  1. fix(Checkbox): prevent onClick from being called twice (#3351)

    * fix(Checkbox): Let click handler call onClick to avoid duplicate calls (#3348)
    
    * fix(Checkbox): Fix test to call onClick from a click event (#3348)
    
    * fix(Checkbox): Move onClick call completely to handleChange (#3348).
    
    * fix(Checkbox): Create tests for DOM Comparisons (#3348).
    
    * revert change
    
    * Update Checkbox-test.js
    
    * Update Checkbox-test.js
    
    * Update isConformant.js
    
    * fix(Checkbox): Fix typo in handleClick comment (#3348).
    
    * fix(Checkbox): Add tests for controlled component with setState as function (#3348).
    
    * fix(Checkbox): ensure onClick is called
    
    * fix(Checkbox): Fire DOM event on controlled component tests to emulate the real behavior (#3348).
    
    * fix(Checkbox): Completely remove click handler (#3348).
    
    * small cleanup
    Fabianopb authored and layershifter committed Jan 16, 2019
    Copy the full SHA
    9ca7bc3 View commit details
  2. Copy the full SHA
    a03d7dc View commit details

Commits on Jan 18, 2019

  1. Copy the full SHA
    28f81b2 View commit details
  2. chore(package): update karma and webpack (#3383)

    * chore(package): update karma and webpack
    
    * cleanup config more
    
    * cleanup config more
    layershifter authored Jan 18, 2019
    Copy the full SHA
    d363d34 View commit details

Commits on Jan 22, 2019

  1. fix(Icon): update typings for corner prop (#3393)

    * Corner prop can be a string, not just boolean
    
    See docs: https://react.semantic-ui.com/elements/icon/
    
    * Update Icon.d.ts
    areading314 authored and layershifter committed Jan 22, 2019
    Copy the full SHA
    f2c39cb View commit details

Commits on Jan 23, 2019

  1. feat(Popup): add disabled prop (#3377)

    * feat(Popup): `disabled` prop disables Popup
    
    * Rename Popup `disabled` prop
    
    * Add Popup `disabled` prop example
    
    * sort props
    
    * Update Popup.d.ts
    
    * Update Popup.js
    husseyexplores authored and layershifter committed Jan 23, 2019
    Copy the full SHA
    211c3d6 View commit details
  2. fix(docs): fix a polyfill loading for IE11 (#3395)

    * docs: fix a polyfill loading
    
    * Update Document.js
    
    * make local docs working in IE11
    
    * Update static.webpack.js
    
    * Update static.webpack.js
    oolleegg55 authored and layershifter committed Jan 23, 2019
    Copy the full SHA
    088586f View commit details
  3. Copy the full SHA
    c1be2d4 View commit details

Commits on Jan 28, 2019

  1. Copy the full SHA
    4f8b001 View commit details
  2. fix(Popup): default open position (#3029)

    * fix(popup): Fixed popup open prop issue #2991
    
    * Fix(popup): Fixed popup test cases failure issue
    
    * feat(PortalInner): add debug statements
    
    * fix(Portal): debug correct method names
    
    * docs(Popup): add default open example
    
    * refactor(Popup): bind methods, cleanup debug and logic
    
    * test(Popup): cleanup position tests
    
    * chore(package): update deps
    
    * docs(ComponentExample): allow to disable HTML preview
    
    * docs(Popup): reenable default open
    
    * regenerate lockfile
    
    * remove useless Switch
    
    * update yarn.lock
    
    * revert only
    levithomason authored and layershifter committed Jan 28, 2019
    Copy the full SHA
    a263d64 View commit details

Commits on Jan 29, 2019

  1. feat(Ref): add support for forwardRef API (#3405)

    * feat(Ref): add support for forwardRef API
    
    * uncomment test
    
    * fix broken test
    
    * fix export
    layershifter authored Jan 29, 2019
    Copy the full SHA
    7949159 View commit details

Commits on Jan 31, 2019

  1. Copy the full SHA
    d56ce71 View commit details

Commits on Feb 4, 2019

  1. fix(Dropdown): prevent calling onChange unless value changed (#3391)

    For the Dropdown component, ensures that onChange is called only if the user selectes a value that is different from the current value of the Dropdown. This is so we can have parity with the regular HTML select.
    zarend authored and levithomason committed Feb 4, 2019
    Copy the full SHA
    f735a58 View commit details
  2. 0.85.0

    levithomason committed Feb 4, 2019
    Copy the full SHA
    2e07f3b View commit details
Showing with 2,125 additions and 644 deletions.
  1. +1 −1 .babel-preset.js
  2. +0 −1 .eslintignore
  3. +0 −1 .gitignore
  4. +0 −1 .prettierignore
  5. +41 −51 CHANGELOG.md
  6. +1 −16 config.js
  7. BIN docs/public/images/prototypes/pure-react-carousel.png
  8. +1 −3 docs/src/App.js
  9. +27 −4 docs/src/components/ComponentDoc/ComponentControls/ComponentControls.js
  10. +127 −0 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsCodeSandbox.js
  11. +8 −2 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsShowHtml.js
  12. +17 −1 docs/src/components/ComponentDoc/ComponentExample/ComponentExample.js
  13. +10 −24 docs/src/components/ComponentDoc/ComponentExample/ComponentExampleRenderSource.js
  14. +26 −0 docs/src/components/ComponentDoc/ComponentExample/renderConfig.js
  15. +1 −1 docs/src/components/ComponentDoc/ComponentProps/ComponentProps.js
  16. +4 −1 docs/src/components/Document.js
  17. +57 −0 docs/src/examples/addons/Ref/Types/RefForwardingExample.js
  18. +11 −2 docs/src/examples/addons/Ref/Types/index.js
  19. +1 −1 docs/src/examples/addons/Responsive/Types/ResponsiveExampleMaxWidth.js
  20. +18 −0 docs/src/examples/addons/Responsive/Usage/index.js
  21. +8 −10 docs/src/examples/elements/Placeholder/Variations/PlaceholderExampleLineLengthWithHeader.js
  22. +12 −0 docs/src/examples/modules/Popup/States/PopupExampleDisabled.js
  23. +15 −0 docs/src/examples/modules/Popup/States/index.js
  24. +8 −0 docs/src/examples/modules/Popup/Usage/PopupExampleDefaultOpen.js
  25. +6 −0 docs/src/examples/modules/Popup/Usage/index.js
  26. +2 −0 docs/src/examples/modules/Popup/index.js
  27. +0 −2 docs/src/index.js
  28. +15 −2 docs/src/layouts/HomepageLayout.js
  29. +4 −12 docs/src/pages/Layouts.mdx
  30. +27 −9 docs/src/pages/Prototypes.mdx
  31. +0 −55 gulp/tasks/dll.js
  32. +2 −3 gulpfile.js
  33. +10 −0 index.d.ts
  34. +14 −8 karma.conf.babel.js
  35. +16 −13 package.json
  36. +6 −3 src/addons/Portal/Portal.js
  37. +9 −2 src/addons/Portal/PortalInner.js
  38. +7 −1 src/addons/Ref/Ref.d.ts
  39. +30 −32 src/addons/Ref/Ref.js
  40. +21 −0 src/addons/Ref/RefFindNode.d.ts
  41. +34 −0 src/addons/Ref/RefFindNode.js
  42. +21 −0 src/addons/Ref/RefForward.d.ts
  43. +33 −0 src/addons/Ref/RefForward.js
  44. +2 −1 src/addons/TextArea/TextArea.js
  45. +2 −1 src/elements/Icon/Icon.d.ts
  46. +12 −1 src/elements/Icon/Icon.js
  47. +1 −0 src/elements/Input/Input.d.ts
  48. +1 −0 src/generic.d.ts
  49. +2 −0 src/index.js
  50. +1 −0 src/lib/SUI.js
  51. +7 −12 src/modules/Checkbox/Checkbox.js
  52. +18 −13 src/modules/Dropdown/Dropdown.js
  53. +3 −0 src/modules/Popup/Popup.d.ts
  54. +17 −9 src/modules/Popup/Popup.js
  55. +0 −3 src/modules/Sidebar/Sidebar.d.ts
  56. +3 −6 src/modules/Sidebar/Sidebar.js
  57. +8 −1 static.config.js
  58. +12 −2 static.webpack.js
  59. +19 −43 test/specs/addons/Ref/Ref-test.js
  60. +53 −0 test/specs/addons/Ref/RefFindNode-test.js
  61. +21 −0 test/specs/addons/Ref/RefForward-test.js
  62. +6 −0 test/specs/addons/Ref/fixtures.js
  63. +14 −7 test/specs/addons/Responsive/Responsive-test.js
  64. +3 −1 test/specs/commonTests/isConformant.js
  65. +1 −3 test/specs/docs/examples-test.js
  66. +20 −0 test/specs/elements/Icon/Icon-test.js
  67. +74 −3 test/specs/modules/Checkbox/Checkbox-test.js
  68. +21 −4 test/specs/modules/Dropdown/Dropdown-test.js
  69. +34 −10 test/specs/modules/Popup/Popup-test.js
  70. +6 −4 test/specs/modules/Sidebar/Sidebar-test.js
  71. +0 −129 webpack.config.babel.js
  72. +0 −33 webpack.dll.js
  73. +40 −0 webpack.karma.config.js
  74. +17 −11 webpack.umd.config.js
  75. +1,056 −85 yarn.lock
2 changes: 1 addition & 1 deletion .babel-preset.js
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ module.exports = () => ({
[
'@babel/env',
{
modules: isESBuild ? false : 'commonjs',
modules: isESBuild || isUMDBuild ? false : 'commonjs',
targets: { browsers },
},
],
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,4 @@ coverage/*
dist/*
docs/dist/*
examples/webpack3/scripts/*
dll/*
tmp/*
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -12,6 +12,5 @@ docs/src/componentMenu.json
docs/src/exampleSources.json
docs/src/exampleMenus
docs/dist/
dll/
node_modules/
tmp/
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@
coverage/

dist/
dll/
docs/src/componentInfo
docs/src/componentMenu.json
docs/src/exampleSources.json
92 changes: 41 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Change Log

## [v0.84.0](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.84.0) (2018-12-10)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.83.0...v0.84.0)

**Merged pull requests:**

- feat\(Button\) : Add aria-pressed attribute for toggle button [\#3330](https://github.com/Semantic-Org/Semantic-UI-React/pull/3330) ([a-b-h-i-97](https://github.com/a-b-h-i-97))
- docs\(fix\): reorganized usage guide for new users [\#3325](https://github.com/Semantic-Org/Semantic-UI-React/pull/3325) ([ebectar](https://github.com/ebectar))
- chore\(Dimmer\): use createRef\(\) API and componentDidUpdate\(\) [\#3320](https://github.com/Semantic-Org/Semantic-UI-React/pull/3320) ([layershifter](https://github.com/layershifter))
- docs\(Layouts\): fix HomepageLayout [\#3319](https://github.com/Semantic-Org/Semantic-UI-React/pull/3319) ([layershifter](https://github.com/layershifter))
- fix\(Dropdown\): clear searchQuery on item selection by mouse click [\#3317](https://github.com/Semantic-Org/Semantic-UI-React/pull/3317) ([kohakukun](https://github.com/kohakukun))
- docs\(Layouts\): update FixedMenuLayout [\#3316](https://github.com/Semantic-Org/Semantic-UI-React/pull/3316) ([xiaohanyu](https://github.com/xiaohanyu))
- feat\(Icon\): support positions in `corner` prop [\#3315](https://github.com/Semantic-Org/Semantic-UI-React/pull/3315) ([layershifter](https://github.com/layershifter))
- fix\(ComponentExample\): fix crash on show HTML [\#3314](https://github.com/Semantic-Org/Semantic-UI-React/pull/3314) ([layershifter](https://github.com/layershifter))
- fix\(Rating\): conditionally set tabIndex when element is disabled [\#3308](https://github.com/Semantic-Org/Semantic-UI-React/pull/3308) ([Fabianopb](https://github.com/Fabianopb))
- fix\(AutoControlledComponent\): fix behaviour when undefined it passed [\#3303](https://github.com/Semantic-Org/Semantic-UI-React/pull/3303) ([layershifter](https://github.com/layershifter))
- fix\(Responsive|Transition\): remove logic with setSafeState\(\) [\#3302](https://github.com/Semantic-Org/Semantic-UI-React/pull/3302) ([layershifter](https://github.com/layershifter))
- fix\(Popup\): remove logic with setSafeState\(\) [\#3301](https://github.com/Semantic-Org/Semantic-UI-React/pull/3301) ([layershifter](https://github.com/layershifter))
- chore\(MountNode\): use componentDidMount\(\) [\#3300](https://github.com/Semantic-Org/Semantic-UI-React/pull/3300) ([layershifter](https://github.com/layershifter))
- feat\(Pagination\): add `disabled` prop [\#3295](https://github.com/Semantic-Org/Semantic-UI-React/pull/3295) ([layershifter](https://github.com/layershifter))
- chore\(package\): update event-stack [\#3288](https://github.com/Semantic-Org/Semantic-UI-React/pull/3288) ([layershifter](https://github.com/layershifter))
- feat\(Ref\): add support of `createRef` API [\#3286](https://github.com/Semantic-Org/Semantic-UI-React/pull/3286) ([layershifter](https://github.com/layershifter))
- chore\(package\): use `shallowequal` directly [\#3285](https://github.com/Semantic-Org/Semantic-UI-React/pull/3285) ([layershifter](https://github.com/layershifter))
- feat\(Responsive\): re render only on visibility or props change [\#3274](https://github.com/Semantic-Org/Semantic-UI-React/pull/3274) ([danielr18](https://github.com/danielr18))
- fix\(Button\): remove redundant role attribute [\#3272](https://github.com/Semantic-Org/Semantic-UI-React/pull/3272) ([floppyvlaDISK](https://github.com/floppyvlaDISK))
- fix\(Pagination\): fix hidden ellipsis in items generation [\#3271](https://github.com/Semantic-Org/Semantic-UI-React/pull/3271) ([layershifter](https://github.com/layershifter))
- docs\(Divider\): rework component docs [\#3270](https://github.com/Semantic-Org/Semantic-UI-React/pull/3270) ([layershifter](https://github.com/layershifter))
- docs\(Textarea\): add notice about form [\#3269](https://github.com/Semantic-Org/Semantic-UI-React/pull/3269) ([layershifter](https://github.com/layershifter))
- fix\(Layouts\): fix propTypes error in StickyLayout [\#3261](https://github.com/Semantic-Org/Semantic-UI-React/pull/3261) ([kalzoo](https://github.com/kalzoo))
- fix\(Comment\): spread image props on CommentAvatar [\#3260](https://github.com/Semantic-Org/Semantic-UI-React/pull/3260) ([layershifter](https://github.com/layershifter))
- fix\(Portal\): hover behavior fixed in Portal's event handlers [\#3257](https://github.com/Semantic-Org/Semantic-UI-React/pull/3257) ([Fabianopb](https://github.com/Fabianopb))
- docs\(Modal|Confirm\): sort `size` prop in sizes order [\#3237](https://github.com/Semantic-Org/Semantic-UI-React/pull/3237) ([fcwheat](https://github.com/fcwheat))
- docs\(Usage\): fix link to Semantic UI CSS [\#3236](https://github.com/Semantic-Org/Semantic-UI-React/pull/3236) ([layershifter](https://github.com/layershifter))
- fix\(Layouts\): fix typo in StickyLayout [\#3235](https://github.com/Semantic-Org/Semantic-UI-React/pull/3235) ([xiaohanyu](https://github.com/xiaohanyu))
- fix\(Layouts\): fix typo in FixedMenuLayout [\#3234](https://github.com/Semantic-Org/Semantic-UI-React/pull/3234) ([xiaohanyu](https://github.com/xiaohanyu))
- feat\(Sticky\): add `styleElement` prop [\#3202](https://github.com/Semantic-Org/Semantic-UI-React/pull/3202) ([Wattenberger](https://github.com/Wattenberger))
- fix\(Accordion\): log error if incorrect activeIndex type [\#3199](https://github.com/Semantic-Org/Semantic-UI-React/pull/3199) ([skindstrom](https://github.com/skindstrom))
- feat\(Dropdown\): noResultsMessage prop can be a node [\#3177](https://github.com/Semantic-Org/Semantic-UI-React/pull/3177) ([lazazivkovic](https://github.com/lazazivkovic))
- BREAKING\(package\): require React 16.3 [\#3032](https://github.com/Semantic-Org/Semantic-UI-React/pull/3032) ([layershifter](https://github.com/layershifter))
- fix\(Checkbox\): match DOM checkbox behavior [\#2748](https://github.com/Semantic-Org/Semantic-UI-React/pull/2748) ([levithomason](https://github.com/levithomason))

## [v0.83.0](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.83.0) (2018-10-20)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.82.5...v0.83.0)

@@ -249,7 +289,7 @@

- docs\(carbonads\): setup carbon ads [\#2664](https://github.com/Semantic-Org/Semantic-UI-React/pull/2664) ([levithomason](https://github.com/levithomason))
- chore\(package\): restore babel option `modules: false` for ESM builds [\#2663](https://github.com/Semantic-Org/Semantic-UI-React/pull/2663) ([thetric](https://github.com/thetric))
- fix\(Checkbox\): only add "fitted" class if label is nil [\#2660](https://github.com/Semantic-Org/Semantic-UI-React/pull/2660) ([SimonKinds](https://github.com/SimonKinds))
- fix\(Checkbox\): only add "fitted" class if label is nil [\#2660](https://github.com/Semantic-Org/Semantic-UI-React/pull/2660) ([skindstrom](https://github.com/skindstrom))
- docs\(changelog\): capture all PRs [\#2659](https://github.com/Semantic-Org/Semantic-UI-React/pull/2659) ([levithomason](https://github.com/levithomason))
- docs\(readme\): add Distense to the built with list [\#2655](https://github.com/Semantic-Org/Semantic-UI-React/pull/2655) ([JohnAllen](https://github.com/JohnAllen))
- docs\(Responsive\): fix spelling [\#2653](https://github.com/Semantic-Org/Semantic-UI-React/pull/2653) ([dyyyl](https://github.com/dyyyl))
@@ -327,56 +367,6 @@
- fix\(Responsive\): use setState\(\) safely [\#2421](https://github.com/Semantic-Org/Semantic-UI-React/pull/2421) ([layershifter](https://github.com/layershifter))
- docs\(layouts\): make HomepageLayout responsive [\#2396](https://github.com/Semantic-Org/Semantic-UI-React/pull/2396) ([layershifter](https://github.com/layershifter))

## [v0.77.2](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.77.2) (2018-01-10)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.77.1...v0.77.2)

**Merged pull requests:**

- feat\(customPropTypes\): allow to pass Symbol to `as` [\#2416](https://github.com/Semantic-Org/Semantic-UI-React/pull/2416) ([layershifter](https://github.com/layershifter))
- docs\(README\): add Cryptact to the built with list [\#2413](https://github.com/Semantic-Org/Semantic-UI-React/pull/2413) ([kuy](https://github.com/kuy))
- feat\(Confirm\): allow custom sizes [\#2409](https://github.com/Semantic-Org/Semantic-UI-React/pull/2409) ([ashurbeyli](https://github.com/ashurbeyli))
- docs\(Form\): update docs to show Form.Group with widths='equal' to have certain children have the required fluid prop [\#2395](https://github.com/Semantic-Org/Semantic-UI-React/pull/2395) ([brianespinosa](https://github.com/brianespinosa))
- fix\(Checkbox\): fix event handling with `id` prop [\#2392](https://github.com/Semantic-Org/Semantic-UI-React/pull/2392) ([Attrash-Islam](https://github.com/Attrash-Islam))
- fix\(TransionablePortal\): fix state handling [\#2390](https://github.com/Semantic-Org/Semantic-UI-React/pull/2390) ([layershifter](https://github.com/layershifter))
- docs\(README\): Add moneytracker.cc to built with list [\#2385](https://github.com/Semantic-Org/Semantic-UI-React/pull/2385) ([ayastreb](https://github.com/ayastreb))
- fix\(Portal\): click inside detection [\#2384](https://github.com/Semantic-Org/Semantic-UI-React/pull/2384) ([levithomason](https://github.com/levithomason))
- feat\(Progress\): Add value option, to just show the value in the bar [\#2383](https://github.com/Semantic-Org/Semantic-UI-React/pull/2383) ([UnbrandedTech](https://github.com/UnbrandedTech))
- feat\(Pagination\): add new component [\#2352](https://github.com/Semantic-Org/Semantic-UI-React/pull/2352) ([layershifter](https://github.com/layershifter))

## [v0.77.1](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.77.1) (2017-12-10)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.77.0...v0.77.1)

**Merged pull requests:**

- docs\(Step\): fix display of an icon in StepExampleEvenlyDivided [\#2365](https://github.com/Semantic-Org/Semantic-UI-React/pull/2365) ([jeroenvervaeke](https://github.com/jeroenvervaeke))
- feat\(Button\): add `buttons` shorthand to ButtonGroup [\#2361](https://github.com/Semantic-Org/Semantic-UI-React/pull/2361) ([layershifter](https://github.com/layershifter))
- docs\(README.md\): add bailfacile.fr to list of websites using Semantic UI React [\#2357](https://github.com/Semantic-Org/Semantic-UI-React/pull/2357) ([valentinfily](https://github.com/valentinfily))
- docs\(README.md\): add re.yomeshgupta.com to the build with list [\#2351](https://github.com/Semantic-Org/Semantic-UI-React/pull/2351) ([yomeshgupta](https://github.com/yomeshgupta))
- fix\(Transition\): fix of the choice of duration [\#2350](https://github.com/Semantic-Org/Semantic-UI-React/pull/2350) ([layershifter](https://github.com/layershifter))
- chore\(docgen|menugen\): fix problems with paths on Windows [\#2349](https://github.com/Semantic-Org/Semantic-UI-React/pull/2349) ([layershifter](https://github.com/layershifter))
- chore\(docgen\): add a friendly exception [\#2348](https://github.com/Semantic-Org/Semantic-UI-React/pull/2348) ([layershifter](https://github.com/layershifter))
- feat\(Image\): improve handling of HTML props [\#2316](https://github.com/Semantic-Org/Semantic-UI-React/pull/2316) ([layershifter](https://github.com/layershifter))

## [v0.77.0](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.77.0) (2017-11-25)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.76.0...v0.77.0)

**Merged pull requests:**

- docs\(Header\): fix typo in component example description [\#2340](https://github.com/Semantic-Org/Semantic-UI-React/pull/2340) ([gitname](https://github.com/gitname))
- fix\(Dropdown\): add event handlers when opened via defaultOpen [\#2334](https://github.com/Semantic-Org/Semantic-UI-React/pull/2334) ([seanMcKennaPuppet](https://github.com/seanMcKennaPuppet))
- fix\(Image\): correct the type of the width prop [\#2333](https://github.com/Semantic-Org/Semantic-UI-React/pull/2333) ([lafritay](https://github.com/lafritay))
- fix\(Portal\): fix usage of eventPool [\#2329](https://github.com/Semantic-Org/Semantic-UI-React/pull/2329) ([layershifter](https://github.com/layershifter))
- feat\(Embed\): disable "related videos" when `brandedUI` is set to `true` [\#2320](https://github.com/Semantic-Org/Semantic-UI-React/pull/2320) ([bennettrogers](https://github.com/bennettrogers))
- fix\(customPropTypes\): improve perf of `suggest` [\#2314](https://github.com/Semantic-Org/Semantic-UI-React/pull/2314) ([davezuko](https://github.com/davezuko))
- fix\(Input\): icon should be always after \<input\> [\#2302](https://github.com/Semantic-Org/Semantic-UI-React/pull/2302) ([layershifter](https://github.com/layershifter))
- test\(Card\): remove cruft tests [\#2294](https://github.com/Semantic-Org/Semantic-UI-React/pull/2294) ([layershifter](https://github.com/layershifter))
- feat\(Checkbox\): add support of htmlFor [\#2293](https://github.com/Semantic-Org/Semantic-UI-React/pull/2293) ([layershifter](https://github.com/layershifter))
- chore\(package\): add fbjs to dependencies [\#2292](https://github.com/Semantic-Org/Semantic-UI-React/pull/2292) ([layershifter](https://github.com/layershifter))
- fix\(docs\): add missing period to script URL [\#2290](https://github.com/Semantic-Org/Semantic-UI-React/pull/2290) ([gitname](https://github.com/gitname))
- BREAKING\(Tab\): allow right/left without `tabular` [\#2265](https://github.com/Semantic-Org/Semantic-UI-React/pull/2265) ([ryanmcgarvey](https://github.com/ryanmcgarvey))
- docs\(ComponentSidebar\): add sidebar navigation [\#2070](https://github.com/Semantic-Org/Semantic-UI-React/pull/2070) ([layershifter](https://github.com/layershifter))
- docs\(DropdownExamplePointing\): Fix nested Dropdown [\#1644](https://github.com/Semantic-Org/Semantic-UI-React/pull/1644) ([Jimeno0](https://github.com/Jimeno0))



\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
17 changes: 1 addition & 16 deletions config.js
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@ const envConfig = {
path_base: __dirname,
dir_src: 'src',
dir_dist: 'dist',
dir_dll: 'dll',
dir_docs_dist: 'docs/dist',
dir_docs_public: 'docs/public',
dir_docs_src: 'docs/src',
@@ -32,7 +31,6 @@ const paths = {
base,
src: base.bind(null, envConfig.dir_src),
dist: base.bind(null, envConfig.dir_dist),
dll: base.bind(null, envConfig.dir_dll),
docsDist: base.bind(null, envConfig.dir_docs_dist),
docsPublic: base.bind(null, envConfig.dir_docs_public),
docsSrc: base.bind(null, envConfig.dir_docs_src),
@@ -55,7 +53,7 @@ const config = {
__TEST__,
__PROD__,
},
compiler_hash_type: __PROD__ ? 'chunkhash' : 'hash',
compiler_hash_type: 'hash',
compiler_fail_on_warning: __TEST__ || __PROD__,
compiler_output_path: paths.base(envConfig.dir_docs_dist),
compiler_public_path: '/',
@@ -77,19 +75,6 @@ const config = {
chunksSort: '', // (string) sort the chunks by that field
assetsSort: '', // (string) sort the assets by that field
},
compiler_vendor: [
'@babel/standalone',
'brace',
'brace/mode/jsx',
'brace/mode/html',
'brace/theme/tomorrow_night',
'classnames',
'copy-to-clipboard',
'faker',
'react',
'react-ace',
'react-dom',
],
}

module.exports = config
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions docs/src/App.js
Original file line number Diff line number Diff line change
@@ -6,9 +6,7 @@ import Routes from 'react-static-routes'
const App = () => (
<Router>
<Switch>
<Switch>
<Routes />
</Switch>
<Routes />
</Switch>
</Router>
)
Original file line number Diff line number Diff line change
@@ -1,34 +1,57 @@
import PropTypes from 'prop-types'
import React from 'react'
import universal from 'react-universal-component'
import { Menu } from 'semantic-ui-react'

import { updateForKeys } from 'docs/src/hoc'
import { isBrowser } from 'src/lib'
import ComponentControlsCopyLink from './ComponentControlsCopyLink'
import ComponentControlsEditCode from './ComponentControlsEditCode'
import ComponentControlsMaximize from './ComponentControlsMaximize'
import ComponentControlsShowHtml from './ComponentControlsShowHtml'

const ComponentControlsCodeSandbox = isBrowser()
? universal(import('./ComponentControlsCodeSandbox'), {
loading: () => (
<Menu.Item disabled icon={{ loading: true, name: 'spinner', title: 'Loading...' }} />
),
})
: () => null

const ComponentControls = (props) => {
const { anchorName, examplePath, showHTML, showCode, onCopyLink, onShowHTML, onShowCode } = props
const {
anchorName,
disableHtml,
exampleCode,
examplePath,
showHTML,
showCode,
onCopyLink,
onShowHTML,
onShowCode,
} = props

return (
<Menu color='green' compact icon='labeled' size='tiny' text>
<ComponentControlsEditCode active={showCode} onClick={onShowCode} />
<ComponentControlsShowHtml active={showHTML} onClick={onShowHTML} />
<ComponentControlsShowHtml active={showHTML} disabled={disableHtml} onClick={onShowHTML} />
<ComponentControlsCodeSandbox exampleCode={exampleCode} />
<ComponentControlsMaximize examplePath={examplePath} />
<ComponentControlsCopyLink anchorName={anchorName} onClick={onCopyLink} />
</Menu>
)
}

ComponentControls.propTypes = {
examplePath: PropTypes.string,
anchorName: PropTypes.string,
disableHtml: PropTypes.bool,
exampleCode: PropTypes.string,
examplePath: PropTypes.string,
onCopyLink: PropTypes.func,
onShowCode: PropTypes.func,
onShowHTML: PropTypes.func,
showCode: PropTypes.bool,
showHTML: PropTypes.bool,
}

export default updateForKeys(['showCode', 'showHTML'])(ComponentControls)
export default updateForKeys(['exampleCode', 'showCode', 'showHTML'])(ComponentControls)
Loading