diff --git a/CHANGELOG.md b/CHANGELOG.md index 76f99e9a22..4fec99b9a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### BREAKING CHANGES - Use regular components instead of `Label` in `RadioGroupItem` @layershifter ([#1070](https://github.com/stardust-ui/react/pull/1070)) - Remove `Flex.Gap` component, and convert the `gap` styles to `margins` on the child elements of the `Flex` component @mnajdova ([#1074](https://github.com/stardust-ui/react/pull/1074)) -- Dropdown: control highlightedIndex from Dropdown @silviuavram ([#966](https://github.com/stardust-ui/react/pull/966)) +- `Dropdown`: control highlightedIndex from `Dropdown` @silviuavram ([#966](https://github.com/stardust-ui/react/pull/966)) ### Fixes - Add aria posinset and setsize, hide menu indicator from narration @jurokapsiar ([#1066](https://github.com/stardust-ui/react/pull/1066)) @@ -36,6 +36,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Add `placeholderColor` variable for `Input` component in Teams theme @layershifter ([#1092](https://github.com/stardust-ui/react/pull/1092)) - Add and export files icons in Teams theme @codepretty ([#1094](https://github.com/stardust-ui/react/pull/1094)) +### Documentation +- Add layout guide @kuzhelov ([#1091](https://github.com/stardust-ui/react/pull/1091)) + ## [v0.23.1](https://github.com/stardust-ui/react/tree/v0.23.1) (2019-03-13) [Compare changes](https://github.com/stardust-ui/react/compare/v0.23.0...v0.23.1) diff --git a/docs/src/components/GuidesNavigationFooter.tsx b/docs/src/components/GuidesNavigationFooter.tsx new file mode 100644 index 0000000000..7892ef23ae --- /dev/null +++ b/docs/src/components/GuidesNavigationFooter.tsx @@ -0,0 +1,45 @@ +import * as React from 'react' +import { Link } from 'react-router-dom' +import { Button, Flex, Divider } from '@stardust-ui/react' + +type PageDescriptor = { + name: string + url: string +} + +type GuidesNavigationFooterProps = { + previous?: PageDescriptor + next?: PageDescriptor +} + +const GuidesNavigationFooter: React.FC = ({ previous, next }) => ( + <> +
+ +
+ + {previous && ( +