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.82.1
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.82.2
Choose a head ref
  • 19 commits
  • 99 files changed
  • 5 contributors

Commits on Jul 22, 2018

  1. Copy the full SHA
    e749678 View commit details

Commits on Jul 23, 2018

  1. Copy the full SHA
    58dfe72 View commit details

Commits on Jul 24, 2018

  1. chore(package): update dev deps (#3035)

    chore(package): update dev deps
    layershifter authored Jul 24, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f64e1fb View commit details
  2. docs(build): use react-static for prerender (#2925)

    * feat(render): use DocsLayout
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use react-static
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use local import of logo
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use react-static
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use react-static
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use react-static
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use react-static
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): drop useless deps
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): drop react-document-title
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): add title
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): move routes to separate files
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): remove express and webpack-hot-middleware
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore ComponentDocSee
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore ComponentProps
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore ComponentSidebar
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use CDN and move styles
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): move assets
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore contribution prompt, make examples loadable
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): add react-universal-component to deps
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore hash nav functionality
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): fix assets paths
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): improve sidebar perf
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(render): remove connect-history-api-fallback
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): reconfigure babelrc
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): fix perf issues
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): grab sources
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): configure babel
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore ComponentExample
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): update assets paths
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): update configs
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): use semantic-ui-react alias
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): testing chunking
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * docs(static): use direct imports
    
    * docs(static): fix SSR
    
    * docs(static): drop HtmlWebpack plugin
    
    * docs(static): restore routes
    
    * docs(static): update preset
    
    * docs(static): WIP under render
    
    * feat(render): make buildable proto
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): refactor componentInfo
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): refactor componentInfo
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * feat(render): restore tests
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): update TS releted stuff
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * style(docs): fix lint issue
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): regenerate yarn.lock
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * wip under final config
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * finalize webpack config
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * omit usage of package.json
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * omit usage of package.json
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * style fixes
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * style fixes
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * switch to CDNJS
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * set dist directory
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * adjust priority
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * restore layouts
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): update webpack
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(package): cleanup gulp build
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * restore examples rendering
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * restore maximized examples and 404 page
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * restore contribution prompt for missing examples
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * restore completions
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * fix merge issue
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * cleanups in babel preset
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * fix layouts layout
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * fix link to introduction
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * chore(.gitignore): remove dupe, add tmp/
    
    * refactor(babel-preset): use is* prefixed booleans
    
    * add env to build in package.json
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * fix NavLink usage
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    
    * fix styles
    
    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    layershifter authored and levithomason committed Jul 24, 2018
    Copy the full SHA
    a2cc3a7 View commit details

Commits on Jul 25, 2018

  1. docs(ComponentExample): fix and improve edit experience (#3038)

    * fix editor completions, use dark theme
    
    * merge master
    
    * fix merge issues with new editor ux
    
    * show only error if present, disable prettier
    levithomason authored Jul 25, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e786724 View commit details
  2. Copy the full SHA
    8c532b3 View commit details
  3. test(Rating): clean up tests (#3041)

    test(Rating): clean up tests
    layershifter authored Jul 25, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    085439c View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    305a66e View commit details

Commits on Jul 26, 2018

  1. Copy the full SHA
    d844dea View commit details
  2. Copy the full SHA
    07c7143 View commit details

Commits on Aug 5, 2018

  1. Copy the full SHA
    4295b56 View commit details

Commits on Aug 6, 2018

  1. chore(package): update Babel dependencies (#3067)

    * chore(package): update Babel dependencies
    * chore(babel): remove polyfill option
    layershifter authored Aug 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1292121 View commit details
  2. chore(package): use react 16.4 in docs and tests (#3068)

    chore(package): use react 16.4 in docs and tests
    layershifter authored Aug 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cd29a3a View commit details
  3. docs(Examples): use react-source-render (#3065)

    * docs(Examples): use react-source-render
    layershifter authored Aug 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a12205a View commit details

Commits on Aug 7, 2018

  1. fix(Dropdown): fix additionLabel definition (#3055)

    Change the type definition for the additionLabel prop on the
    Dropdown component allow components.
    
    see issue #3054
    DavidHall authored and levithomason committed Aug 7, 2018
    Copy the full SHA
    be0f836 View commit details
  2. fix(Sidebar): clear timer when unmounting (#3052)

    * fix(Sidebar): clear the animation timer when unmounting the Sidebar component (#3045)
    
    The animation timer was not cleared when unmounting the Sidebar
    component resulting in a React warning if the Sidebar was unmounted
    while closing or opening.
    
    fixes #3045
    
    * add test
    hissalht authored and levithomason committed Aug 7, 2018
    Copy the full SHA
    0651bd1 View commit details
  3. fix(Modal): prevent resize loop for full screen height (#3024)

    * fix(Modal): prevent resize loop for full screen height
    
    * test(Modal): add case for height being equal to window.innerHeight
    marcdavi-es authored and levithomason committed Aug 7, 2018
    Copy the full SHA
    afad3c2 View commit details
  4. docs(perf): refactor ComponentControls (#3069)

    Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
    layershifter authored and levithomason committed Aug 7, 2018
    Copy the full SHA
    45fbf29 View commit details
  5. 0.82.2

    levithomason committed Aug 7, 2018
    Copy the full SHA
    43a5830 View commit details
Showing with 6,630 additions and 2,513 deletions.
  1. +77 −0 .babel-preset.js
  2. +1 −31 .babelrc
  3. +1 −0 .eslintignore
  4. +1 −0 .gitignore
  5. +1 −1 .prettierignore
  6. +17 −0 CHANGELOG.md
  7. +0 −35 build/preset-env.js
  8. +2 −2 config.js
  9. +109 −0 docs/public/style.css
  10. +0 −9 docs/src/404.html
  11. +16 −0 docs/src/App.js
  12. +3 −4 docs/src/Style.js
  13. +5 −1 docs/src/components/CarbonAd/CarbonAd.js
  14. +170 −0 docs/src/components/CarbonAd/CarbonAdNative.js
  15. +9 −27 docs/src/components/ComponentDoc/ComponentControls/ComponentControls.js
  16. +4 −7 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsCopyLink.js
  17. +5 −9 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsEditCode.js
  18. +5 −9 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsMaximize.js
  19. +5 −9 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsShowHtml.js
  20. +0 −28 docs/src/components/ComponentDoc/ComponentControls/ComponentControlsToolTip.js
  21. +35 −27 docs/src/components/ComponentDoc/ComponentDoc.js
  22. +14 −24 docs/src/components/ComponentDoc/ComponentDocSee.js
  23. +100 −310 docs/src/components/ComponentDoc/ComponentExample/ComponentExample.js
  24. +148 −0 docs/src/components/ComponentDoc/ComponentExample/ComponentExampleRenderEditor.js
  25. +38 −0 docs/src/components/ComponentDoc/ComponentExample/ComponentExampleRenderHtml.js
  26. +69 −0 docs/src/components/ComponentDoc/ComponentExample/ComponentExampleRenderSource.js
  27. +7 −9 docs/src/components/ComponentDoc/ComponentExamples.js
  28. +14 −17 docs/src/components/ComponentDoc/ComponentProps/ComponentProps.js
  29. +25 −46 docs/src/components/ComponentDoc/ComponentSidebar/ComponentSidebar.js
  30. +6 −6 docs/src/components/ComponentDoc/ExampleSection.js
  31. +18 −22 docs/src/components/DocsLayout.js
  32. +0 −33 docs/src/components/DocsRoot.js
  33. +70 −0 docs/src/components/Document.js
  34. +25 −40 docs/src/components/Editor/Editor.js
  35. +99 −0 docs/src/components/Editor/EditorAce.js
  36. +1 −0 docs/src/components/Editor/index.js
  37. +6 −25 docs/src/components/ExternalExampleLayout.js
  38. +0 −3 docs/src/components/IconSearch/IconSearch.js
  39. +20 −24 docs/src/components/LayoutsLayout.js
  40. +0 −23 docs/src/components/LayoutsRoot.js
  41. +123 −85 docs/src/components/Sidebar/Sidebar.js
  42. +1 −1 docs/src/examples/addons/TransitionablePortal/Usage/index.js
  43. +1 −1 docs/src/examples/collections/Menu/Types/index.js
  44. +3 −3 docs/src/examples/elements/Icon/Variations/IconExampleFitted.js
  45. +5 −7 docs/src/examples/elements/Icon/index.js
  46. +0 −195 docs/src/index.ejs
  47. +6 −42 docs/src/index.js
  48. +1 −1 docs/src/layouts/AnotherGridLayout.js
  49. +0 −10 docs/src/layouts/index.js
  50. +0 −36 docs/src/routes.js
  51. +18 −0 docs/src/staticUtils/getComponentGroupInfo.js
  52. +5 −0 docs/src/staticUtils/getComponentMenu.js
  53. +3 −0 docs/src/staticUtils/getExampleSources.js
  54. +26 −0 docs/src/staticUtils/getInfoForSeeTags.js
  55. +19 −0 docs/src/staticUtils/getLayoutPaths.js
  56. +9 −0 docs/src/staticUtils/getSidebarSections.js
  57. +6 −0 docs/src/staticUtils/index.js
  58. +3 −0 docs/src/staticUtils/requireInfo.js
  59. +8 −0 docs/src/utils/btoa.js
  60. +23 −16 docs/src/utils/componentInfoContext.js
  61. +1 −0 docs/src/utils/{ → docTypes}/componentInfoShape.js
  62. +10 −0 docs/src/utils/docTypes/componentMenu.js
  63. +5 −0 docs/src/utils/docTypes/index.js
  64. +10 −0 docs/src/utils/docTypes/seeTags.js
  65. +15 −0 docs/src/utils/docTypes/sidebarSections.js
  66. +14 −0 docs/src/utils/docTypes/siteData.js
  67. +15 −0 docs/src/utils/docTypes/versions.js
  68. +0 −6 docs/src/utils/exampleContext.js
  69. +21 −0 docs/src/utils/formatCode.js
  70. +0 −27 docs/src/utils/getComponentGroup.js
  71. +1 −1 docs/src/utils/getComponentPathname.js
  72. +14 −4 docs/src/utils/getFormattedHash.js
  73. +0 −17 docs/src/utils/getInfoForSeeTags.js
  74. +4 −4 docs/src/utils/index.js
  75. +19 −12 docs/src/views/Introduction.js
  76. +17 −15 docs/src/views/Layouts.js
  77. +5 −3 docs/src/views/PageNotFound.js
  78. +6 −4 docs/src/views/Theming.js
  79. +28 −16 docs/src/views/Usage.js
  80. +10 −0 gulp/plugins/util/getComponentInfo.js
  81. +19 −91 gulp/tasks/docs.js
  82. +1 −1 karma.conf.babel.js
  83. +44 −45 package.json
  84. +1 −1 src/modules/Dropdown/Dropdown.d.ts
  85. +1 −1 src/modules/Modal/Modal.js
  86. +12 −19 src/modules/Rating/RatingIcon.js
  87. +1 −0 src/modules/Sidebar/Sidebar.js
  88. +39 −0 static.config.js
  89. +80 −0 static.routes.js
  90. +66 −0 static.webpack.js
  91. +1 −1 test/specs/commonTests/hasValidTypings.js
  92. +2 −1 test/specs/docs/examples-test.js
  93. +3 −5 test/specs/modules/Dropdown/Dropdown-test.js
  94. +9 −0 test/specs/modules/Modal/Modal-test.js
  95. +24 −23 test/specs/modules/Rating/RatingIcon-test.js
  96. +10 −0 test/specs/modules/Sidebar/Sidebar-test.js
  97. +4 −1 test/typings.tsx
  98. +1 −21 webpack.config.babel.js
  99. +4,731 −1,016 yarn.lock
77 changes: 77 additions & 0 deletions .babel-preset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
const { NODE_ENV } = process.env

const isESBuild = NODE_ENV === 'build-es'
const isLibBuild = NODE_ENV === 'build' || isESBuild
const isDocsBuild = NODE_ENV === 'development' || NODE_ENV === 'production'

const browsers = [
'last 8 versions',
'safari > 8',
'firefox > 23',
'chrome > 24',
'opera > 15',
'not ie < 11',
'not ie_mob <= 11',
]

const plugins = [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-syntax-dynamic-import',
[
'@babel/plugin-transform-runtime',
{
regenerator: isDocsBuild,
},
],
// Plugins that allow to reduce the target bundle size
'lodash',
'transform-react-handled-props',
[
'transform-react-remove-prop-types',
{
mode: 'wrap',
},
],
// A plugin for react-static
isDocsBuild && [
'universal-import',
{
disableWarnings: true,
},
],
// A plugin for removal of debug in production builds
isLibBuild && [
'filter-imports',
{
imports: {
debug: ['default'],
'../../lib': ['makeDebugger'],
},
},
],
].filter(Boolean)

module.exports = () => ({
compact: false,
presets: [
[
'@babel/env',
{
modules: isESBuild ? false : 'commonjs',
targets: { browsers },
},
],
'@babel/react',
],
plugins,
env: {
development: {
plugins: ['react-hot-loader/babel'],
},
test: {
plugins: [['istanbul', { include: ['src'] }]],
},
},
})
32 changes: 1 addition & 31 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
{
"presets": [
"./build/preset-env",
"@babel/react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-syntax-dynamic-import",
"lodash",
"transform-react-handled-props",
["transform-react-remove-prop-types", {
"mode": "wrap"
}],
["@babel/transform-runtime", {
"polyfill": false,
"regenerator": false
}]
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
},
"test": {
"plugins": [
["istanbul", { "include": ["src"] }]
]
}
}
"presets": ["./.babel-preset.js"]
}
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@ dist/*
docs/dist/*
examples/webpack3/scripts/*
dll/*
tmp/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -14,3 +14,4 @@ docs/src/exampleMenus
docs/dist/
dll/
node_modules/
tmp/
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
.idea/
.vscode/


coverage/

dist/
@@ -16,3 +15,4 @@ docs/src/exampleMenus
docs/dist/

package.json
tmp/
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## [v0.82.1](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.82.1) (2018-07-22)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.82.0...v0.82.1)

**Merged pull requests:**

- fix\(Popup\): removing dead line of code [\#3025](https://github.com/Semantic-Org/Semantic-UI-React/pull/3025) ([fracmak](https://github.com/fracmak))
- docs\(Layouts\): add new layout with Grid [\#3023](https://github.com/Semantic-Org/Semantic-UI-React/pull/3023) ([layershifter](https://github.com/layershifter))
- fix\(Portal\): use portalNode to check focus [\#3015](https://github.com/Semantic-Org/Semantic-UI-React/pull/3015) ([layershifter](https://github.com/layershifter))
- docs\(Layouts\): fix size variables in HomepageLayout [\#3014](https://github.com/Semantic-Org/Semantic-UI-React/pull/3014) ([layershifter](https://github.com/layershifter))
- docs\(Button\): update ButtonExampleAnimated to match SemanticICONS type [\#3008](https://github.com/Semantic-Org/Semantic-UI-React/pull/3008) ([tuol](https://github.com/tuol))
- fix\(Icon\): add 'file text outline' type [\#2993](https://github.com/Semantic-Org/Semantic-UI-React/pull/2993) ([paulkoegel-wessels](https://github.com/paulkoegel-wessels))
- fix\(EventStack\): fix erroneous removal of non-empty EventPool [\#2992](https://github.com/Semantic-Org/Semantic-UI-React/pull/2992) ([mic4ael](https://github.com/mic4ael))
- fix\(Modal\): use eventStack to handle clicks on dimmers [\#2989](https://github.com/Semantic-Org/Semantic-UI-React/pull/2989) ([layershifter](https://github.com/layershifter))
- docs\(plugins\): add a plugin for collect sources of examples [\#2986](https://github.com/Semantic-Org/Semantic-UI-React/pull/2986) ([layershifter](https://github.com/layershifter))
- docs\(views\): wrap each view with divs [\#2985](https://github.com/Semantic-Org/Semantic-UI-React/pull/2985) ([layershifter](https://github.com/layershifter))
- fix\(Input\): add lang prop for input fields [\#2982](https://github.com/Semantic-Org/Semantic-UI-React/pull/2982) ([foysalit](https://github.com/foysalit))

## [v0.82.0](https://github.com/Semantic-Org/Semantic-UI-React/tree/v0.82.0) (2018-07-06)
[Full Changelog](https://github.com/Semantic-Org/Semantic-UI-React/compare/v0.81.3...v0.82.0)

35 changes: 0 additions & 35 deletions build/preset-env.js

This file was deleted.

4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -86,13 +86,13 @@ const config = {
compiler_vendor: [
'@babel/standalone',
'brace',
'brace/ext/language_tools',
'brace/mode/jsx',
'brace/mode/html',
'brace/theme/tomorrow',
'brace/theme/tomorrow_night',
'classnames',
'copy-to-clipboard',
'faker',
'prettier/standalone',
'react',
'react-ace',
'react-dom',
109 changes: 109 additions & 0 deletions docs/public/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
html, body {
background: #f7f7f7 !important;
}

.anchorjs-link {
position: absolute;
transition: margin-left .25s, color .25s, opacity 0.25s;
margin-left: -0.2em;
color: #777;
opacity: 0;
}

h1:hover > .anchorjs-link:not(:hover),
h2:hover > .anchorjs-link:not(:hover),
h3:hover > .anchorjs-link:not(:hover),
h4:hover > .anchorjs-link:not(:hover),
h5:hover > .anchorjs-link:not(:hover),
h6:hover > .anchorjs-link:not(:hover) {
margin-left: 0;
opacity: 0.5;
}

.anchorjs-link:hover {
margin-left: 0;
color: cornflowerblue;
opacity: 1;
}

#introduction-page p {
font-size: 1.125em;
margin: 1.5em 0;
}

pre {
margin: 0;
}

code:not(.hljs) {
font-size: 87.5%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
white-space: pre;
display: inline-block;
}

code:not(.hljs)::before {
letter-spacing: -0.2em;
content: "\00a0";
}

code:not(.hljs)::after {
letter-spacing: -0.2em;
content: "\00a0";
}

.docs-icon-set-column {
cursor: pointer;
}

.docs-icon-set-column .icon {
font-size: 2em;
color: #555;
transform: scale(1);
transition: opacity 0.2s, color 0.2s, transform 0.2s;
}

.docs-icon-set-column .name {
display: block;
margin: 1em 0;
color: #777;
}

.docs-icon-set-column:hover > .icon,
.docs-icon-set-column:hover > .name {
color: #000;
}

.docs-icon-set-column:hover > .icon {
transform: scale(1.5);
}

#carbonads {
display: block;
}

#carbonads span {
display: block;
}

.carbon-img {
display: block;
}

.carbon-img img {
display: block;
}

.carbon-text {
display: block;
margin-top: 1em;
}

.carbon-poweredby {
display: block;
margin-top: 0.5em;
font-size: 0.8em;
color: #ffffff;
opacity: 0.5;
}
9 changes: 0 additions & 9 deletions docs/src/404.html

This file was deleted.

16 changes: 16 additions & 0 deletions docs/src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import { hot } from 'react-hot-loader'
import { Router, Switch } from 'react-static'
import Routes from 'react-static-routes'

const App = () => (
<Router>
<Switch>
<Switch>
<Routes />
</Switch>
</Switch>
</Router>
)

export default hot(module)(App)
7 changes: 3 additions & 4 deletions docs/src/Style.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
const style = {}
const sidebarWidth = 250

style.container = {}

style.menu = {
position: 'fixed',
display: 'flex',
flexDirection: 'column',
top: 0,
bottom: 0,
left: 0,
width: sidebarWidth,
paddingBottom: '1em',
// match menu background
// prevents a white background when items are filtered out by search
background: '#1B1C1D',
overflowY: 'scroll',
overflowX: 'hidden',
}

style.sidebarMain = {
6 changes: 5 additions & 1 deletion docs/src/components/CarbonAd/CarbonAd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import _ from 'lodash'
import React, { Component } from 'react'

const style = { minHeight: 173 }
const style = {
padding: '1rem',
background: '#222',
boxShadow: '0 0 2rem black',
}

class CarbonAd extends Component {
componentDidMount() {
Loading