elements

Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.

APACHE-2.0 License

Downloads
284.5K
Stars
1.7K
Committers
72

Bot releases are visible (Hide)

elements - v3.2.1

Published by stoplight-bot almost 5 years ago

3.2.1 (2019-10-30)

Bug Fixes

  • add mv block to embedded request maker (7be8304)
  • useRequestMaker should handle null values (01e0795)
  • deps: bump @stoplight/request-maker v3.0.1 (09e3394)
elements - v3.2.0

Published by stoplight-bot almost 5 years ago

3.2.0 (2019-10-30)

Bug Fixes

  • deps: bump @stoplight/json-schema-viewer from 2.10.1 to 2.10.2 (24e3462)
  • deps: bump @stoplight/request-maker from 2.16.1 to 2.16.2 (dcb6f43)
  • deps: bump @stoplight/tree-list from 4.8.1 to 4.8.2 (9e3d324)

Features

elements - v3.1.1

Published by stoplight-bot about 5 years ago

3.1.1 (2019-10-15)

Bug Fixes

elements - v3.1.0

Published by stoplight-bot about 5 years ago

3.1.0 (2019-10-15)

Features

  • visual outbound dependencies graph (#70) (a0328a4)
elements - v3.0.0

Published by stoplight-bot about 5 years ago

3.0.0 (2019-10-14)

Features

BREAKING CHANGES

  • Containers and components no longer render tabs by default. Instead use the tabs prop to render the tabs you need. For example:
import { Page } from '@stoplight/elements';
import { Docs } from '@stoplight/elements/components/Docs';
import { TryIt } from '@stoplight/elements/components/TryIt';
 
<Page
  srn="gh/stoplightio/elements/README.md"
  tabs={({ node }) => {
    const tabs = [ { title: 'Docs', content: <Docs node={node} /> } ];
   
    if (node.type === 'http_operation') {
      tabs.push({ title: 'Try It', content: <TryIt value={node.value} />  })
    }
  
    return tabs;
  }}
/>
  • Only containers (Provider, Hub, Page, and TableOfContents) are exported from the root. If you need to import a component, do it directly from the component's file. For example:
import { Provider, Hub, Page, TableOfContents } from '@stoplight/elements';
import { Page as PageComponent } from '@stoplight/elements/components/Page';
import { TableOfContents as TableOfContentsComponent } from '@stoplight/elements/components/TableOfContents';
import { Docs } from '@stoplight/elements/components/Docs';
import { Changelog } from '@stoplight/elements/components/Changelog';
elements - v2.17.0

Published by stoplight-bot about 5 years ago

2.17.0 (2019-10-09)

Features

elements - v2.16.3

Published by stoplight-bot about 5 years ago

2.16.3 (2019-10-09)

Bug Fixes

  • deps: bump @stoplight/json from 3.1.1 to 3.1.2 (c3c327d)
elements - v2.16.2

Published by stoplight-bot about 5 years ago

2.16.2 (2019-10-09)

Bug Fixes

  • deps: bump @stoplight/yaml from 3.3.0 to 3.3.2 (46612eb)
elements - v2.16.1

Published by stoplight-bot about 5 years ago

2.16.1 (2019-10-09)

Bug Fixes

  • remove inner padding around parameters (#77) (d9d82f5)
elements - v2.16.0

Published by stoplight-bot about 5 years ago

2.16.0 (2019-10-02)

Features

elements - v2.15.1

Published by stoplight-bot about 5 years ago

2.15.1 (2019-09-30)

Bug Fixes

  • handle resolver errors and parse YAML (#65) (3634cbc)
  • deps: bump @stoplight/yaml from 3.2.0 to 3.3.0 (#64) (52f26fb)
elements - v2.15.0

Published by stoplight-bot about 5 years ago

2.15.0 (2019-09-26)

Features

  • display examples for model results in Docs (#61) (ce41847)
elements - v2.14.2

Published by stoplight-bot about 5 years ago

2.14.2 (2019-09-26)

Bug Fixes

  • deps: bump @stoplight/types from 11.1.0 to 11.1.1 (fe365a7)
elements - v2.14.1

Published by stoplight-bot about 5 years ago

2.14.1 (2019-09-26)

Bug Fixes

  • render TryIt before Changelog (4103bba)
elements - v2.14.0

Published by stoplight-bot about 5 years ago

2.14.0 (2019-09-26)

Features

elements - v2.13.3

Published by stoplight-bot about 5 years ago

2.13.3 (2019-09-25)

Bug Fixes

  • add back page header padding (ea9c127)
elements - v2.13.2

Published by stoplight-bot about 5 years ago

2.13.2 (2019-09-24)

Bug Fixes

  • allow long parameter names to overflow (#55) (f3ed96e)
  • remove unused buttons and versions (#59) (ba5410d)
elements - v2.13.1

Published by stoplight-bot about 5 years ago

2.13.1 (2019-09-23)

Bug Fixes

  • scroll to top when navigating between pages (#56) (57f6763)
elements - v2.13.0

Published by stoplight-bot about 5 years ago

2.13.0 (2019-09-19)

Features

  • add mobile support to TableOfContents component (#48) (ff92ef9)
  • shrink Page TOC to a popover on smaller screens (#51) (e378e87)
elements - v2.12.5

Published by stoplight-bot about 5 years ago

2.12.5 (2019-09-19)

Bug Fixes