diff --git a/CHANGELOG.md b/CHANGELOG.md index 6353ab4f96..692c42660e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] + +## [v0.34.3](https://github.com/stardust-ui/react/tree/v0.34.3) (2019-07-23) +[Compare changes](https://github.com/stardust-ui/react/compare/v0.34.2...v0.34.3) + +### Fixes +- Fix nesting issues with `Dialog` component inside `Popup` @layershifter ([#1706](https://github.com/stardust-ui/react/pull/1706)) + + +## [v0.34.2](https://github.com/stardust-ui/react/tree/v0.34.2) (2019-07-19) +[Compare changes](https://github.com/stardust-ui/react/compare/v0.34.1...v0.34.2) + +### Fixes +- Fix a gap in `Checkbox` in RTL mode @layershifter ([#1683](https://github.com/stardust-ui/react/pull/1683)) +- Fix broken background in `Popup` with `pointing` and `FocusTrap` @layershifter ([#1689](https://github.com/stardust-ui/react/pull/1689)) + ## [v0.34.1](https://github.com/stardust-ui/react/tree/v0.34.1) (2019-07-11) [Compare changes](https://github.com/stardust-ui/react/compare/v0.34.0...v0.34.1) diff --git a/docs/src/components/Sidebar/Sidebar.tsx b/docs/src/components/Sidebar/Sidebar.tsx index 80e11c1f30..0c78e7b5b6 100644 --- a/docs/src/components/Sidebar/Sidebar.tsx +++ b/docs/src/components/Sidebar/Sidebar.tsx @@ -437,6 +437,12 @@ class Sidebar extends React.Component { to: '/prototype-popups', styles: menuItemStyles, }, + { + key: 'nested-popups-and-dialogs', + content: 'Nested Popups & Dialogs', + as: NavLink, + to: '/prototype-nested-popups-and-dialogs', + }, { key: 'iconviewer', content: 'Processed Icons', diff --git a/docs/src/examples/components/Checkbox/Rtl/CheckboxExample.rtl.tsx b/docs/src/examples/components/Checkbox/Rtl/CheckboxExample.rtl.tsx new file mode 100644 index 0000000000..9bf89339c8 --- /dev/null +++ b/docs/src/examples/components/Checkbox/Rtl/CheckboxExample.rtl.tsx @@ -0,0 +1,14 @@ +import * as React from 'react' +import { Checkbox, Divider, Flex } from '@stardust-ui/react' + +const CheckboxExampleRtl = () => ( + + + + + + + +) + +export default CheckboxExampleRtl diff --git a/docs/src/examples/components/Checkbox/Rtl/index.tsx b/docs/src/examples/components/Checkbox/Rtl/index.tsx new file mode 100644 index 0000000000..577083f1e4 --- /dev/null +++ b/docs/src/examples/components/Checkbox/Rtl/index.tsx @@ -0,0 +1,12 @@ +import * as React from 'react' + +import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample' +import NonPublicSection from 'docs/src/components/ComponentDoc/NonPublicSection' + +const Rtl = () => ( + + + +) + +export default Rtl diff --git a/docs/src/examples/components/Checkbox/index.tsx b/docs/src/examples/components/Checkbox/index.tsx index db748fb7c2..cb1902c87a 100644 --- a/docs/src/examples/components/Checkbox/index.tsx +++ b/docs/src/examples/components/Checkbox/index.tsx @@ -1,5 +1,6 @@ import * as React from 'react' +import Rtl from './Rtl' import Slots from './Slots' import States from './States' import Types from './Types' @@ -9,6 +10,7 @@ const CheckboxExamples = () => ( + ) diff --git a/docs/src/prototypes/NestedPopupsAndDialogs/index.tsx b/docs/src/prototypes/NestedPopupsAndDialogs/index.tsx new file mode 100644 index 0000000000..e7148a9866 --- /dev/null +++ b/docs/src/prototypes/NestedPopupsAndDialogs/index.tsx @@ -0,0 +1,129 @@ +import { Button, Dialog, Popup } from '@stardust-ui/react' +import * as React from 'react' + +import { ComponentPrototype, PrototypeSection } from 'docs/src/prototypes/Prototypes' + +const PopupAndDialog: React.FC = () => ( + +

+ This Popup will be kept open after Dialog will be opened. +

+ } + /> + + ), + }} + trigger={