2018-06-03 18:28:12 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<Widget /> open/close 1`] = `
|
2019-06-20 17:26:02 +00:00
|
|
|
<Widget
|
|
|
|
bodyText="Body"
|
|
|
|
footerText="Footer"
|
|
|
|
headerText="Header"
|
|
|
|
>
|
2018-06-03 18:28:12 +00:00
|
|
|
<div
|
|
|
|
className="docked-widget"
|
|
|
|
>
|
|
|
|
<Transition
|
|
|
|
appear={false}
|
|
|
|
enter={true}
|
|
|
|
exit={true}
|
|
|
|
in={false}
|
|
|
|
mountOnEnter={false}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onEntered={[Function]}
|
|
|
|
onEntering={[Function]}
|
|
|
|
onExit={[Function]}
|
|
|
|
onExited={[Function]}
|
|
|
|
onExiting={[Function]}
|
|
|
|
timeout={250}
|
|
|
|
unmountOnExit={false}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget widget-exited"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header-title"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
2019-06-20 16:16:59 +00:00
|
|
|
<button
|
2018-06-03 18:28:12 +00:00
|
|
|
className="widget-header-icon"
|
|
|
|
onClick={[Function]}
|
2019-06-20 16:16:59 +00:00
|
|
|
onKeyPress={[Function]}
|
|
|
|
type="button"
|
2018-06-03 18:28:12 +00:00
|
|
|
>
|
|
|
|
X
|
2019-06-20 16:16:59 +00:00
|
|
|
</button>
|
2018-06-03 18:28:12 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-body"
|
|
|
|
>
|
|
|
|
Body
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Transition>
|
2019-06-20 16:16:59 +00:00
|
|
|
<button
|
2018-06-03 18:28:12 +00:00
|
|
|
className="dock"
|
|
|
|
onClick={[Function]}
|
2019-06-20 16:16:59 +00:00
|
|
|
onKeyPress={[Function]}
|
|
|
|
type="button"
|
2018-06-03 18:28:12 +00:00
|
|
|
>
|
|
|
|
^ OPEN ^
|
2019-06-20 16:16:59 +00:00
|
|
|
</button>
|
2018-06-03 18:28:12 +00:00
|
|
|
</div>
|
|
|
|
</Widget>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<Widget /> open/close 2`] = `
|
2019-06-20 17:26:02 +00:00
|
|
|
<Widget
|
|
|
|
bodyText="Body"
|
|
|
|
footerText="Footer"
|
|
|
|
headerText="Header"
|
|
|
|
>
|
2018-06-03 18:28:12 +00:00
|
|
|
<div
|
|
|
|
className="docked-widget"
|
|
|
|
>
|
|
|
|
<Transition
|
|
|
|
appear={false}
|
|
|
|
enter={true}
|
|
|
|
exit={true}
|
|
|
|
in={true}
|
|
|
|
mountOnEnter={false}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onEntered={[Function]}
|
|
|
|
onEntering={[Function]}
|
|
|
|
onExit={[Function]}
|
|
|
|
onExited={[Function]}
|
|
|
|
onExiting={[Function]}
|
|
|
|
timeout={250}
|
|
|
|
unmountOnExit={false}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget widget-entering"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header-title"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
2019-06-20 16:16:59 +00:00
|
|
|
<button
|
2018-06-03 18:28:12 +00:00
|
|
|
className="widget-header-icon"
|
|
|
|
onClick={[Function]}
|
2019-06-20 16:16:59 +00:00
|
|
|
onKeyPress={[Function]}
|
|
|
|
type="button"
|
2018-06-03 18:28:12 +00:00
|
|
|
>
|
|
|
|
X
|
2019-06-20 16:16:59 +00:00
|
|
|
</button>
|
2018-06-03 18:28:12 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-body"
|
|
|
|
>
|
|
|
|
Body
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Transition>
|
|
|
|
</div>
|
|
|
|
</Widget>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<Widget /> open/close 3`] = `
|
2019-06-20 17:26:02 +00:00
|
|
|
<Widget
|
|
|
|
bodyText="Body"
|
|
|
|
footerText="Footer"
|
|
|
|
headerText="Header"
|
|
|
|
>
|
2018-06-03 18:28:12 +00:00
|
|
|
<div
|
|
|
|
className="docked-widget"
|
|
|
|
>
|
|
|
|
<Transition
|
|
|
|
appear={false}
|
|
|
|
enter={true}
|
|
|
|
exit={true}
|
|
|
|
in={false}
|
|
|
|
mountOnEnter={false}
|
|
|
|
onEnter={[Function]}
|
|
|
|
onEntered={[Function]}
|
|
|
|
onEntering={[Function]}
|
|
|
|
onExit={[Function]}
|
|
|
|
onExited={[Function]}
|
|
|
|
onExiting={[Function]}
|
|
|
|
timeout={250}
|
|
|
|
unmountOnExit={false}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget widget-exited"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="widget-header-title"
|
|
|
|
>
|
|
|
|
Header
|
|
|
|
</div>
|
2019-06-20 16:16:59 +00:00
|
|
|
<button
|
2018-06-03 18:28:12 +00:00
|
|
|
className="widget-header-icon"
|
|
|
|
onClick={[Function]}
|
2019-06-20 16:16:59 +00:00
|
|
|
onKeyPress={[Function]}
|
|
|
|
type="button"
|
2018-06-03 18:28:12 +00:00
|
|
|
>
|
|
|
|
X
|
2019-06-20 16:16:59 +00:00
|
|
|
</button>
|
2018-06-03 18:28:12 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-body"
|
|
|
|
>
|
|
|
|
Body
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="widget-footer"
|
|
|
|
>
|
|
|
|
Footer
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Transition>
|
2019-06-20 16:16:59 +00:00
|
|
|
<button
|
2018-06-03 18:28:12 +00:00
|
|
|
className="dock"
|
|
|
|
onClick={[Function]}
|
2019-06-20 16:16:59 +00:00
|
|
|
onKeyPress={[Function]}
|
|
|
|
type="button"
|
2018-06-03 18:28:12 +00:00
|
|
|
>
|
|
|
|
^ OPEN ^
|
2019-06-20 16:16:59 +00:00
|
|
|
</button>
|
2018-06-03 18:28:12 +00:00
|
|
|
</div>
|
|
|
|
</Widget>
|
|
|
|
`;
|