1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-19 00:40:11 -07:00
deskreen/app/components/__snapshots__/ShareAppOrScreenControlGroup.spec.tsx.snap
Pavlo Buidenkov b925803d9f better client UI code
huge work done on sharing desktop session
2020-11-22 17:07:01 +02:00

241 lines
7.6 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should match exact snapshot 1`] = `
<BrowserRouter>
<Router
history={
Object {
"action": "POP",
"block": [Function],
"createHref": [Function],
"go": [Function],
"goBack": [Function],
"goForward": [Function],
"length": 1,
"listen": [Function],
"location": Object {
"hash": "",
"pathname": "/",
"search": "",
"state": undefined,
},
"push": [Function],
"replace": [Function],
}
}
>
<ShareEntireScreenOrAppWindowControlGroup
handleNextApplicationWindow={[Function]}
handleNextEntireScreen={[Function]}
>
<Blueprint3.ControlGroup
className="makeStyles-controlGroupRoot-1"
fill={true}
id="share-screen-or-app-btn-group"
style={
Object {
"width": "380px",
}
}
vertical={false}
>
<div
className="bp3-control-group bp3-fill makeStyles-controlGroupRoot-1"
id="share-screen-or-app-btn-group"
style={
Object {
"width": "380px",
}
}
>
<Blueprint3.Button
className="makeStyles-shareEntireScreenButton-2"
intent="primary"
onClick={[Function]}
>
<button
className="bp3-button bp3-intent-primary makeStyles-shareEntireScreenButton-2"
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
type="button"
>
<Blueprint3.Icon
key="leftIcon"
/>
<span
className="bp3-button-text"
key="text"
>
<Blueprint3.Icon
className="makeStyles-shareEntireScreenButtonIcon-3"
color="white"
icon="desktop"
iconSize={100}
>
<span
className="bp3-icon bp3-icon-desktop makeStyles-shareEntireScreenButtonIcon-3"
icon="desktop"
>
<svg
data-icon="desktop"
fill="white"
height={100}
viewBox="0 0 20 20"
width={100}
>
<desc>
desktop
</desc>
<path
d="M19 0H1C.45 0 0 .45 0 1v13c0 .55.45 1 1 1h5.67l-.5 3H5c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1h-1.17l-.5-3H19c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 13H2V2h16v11z"
fillRule="evenodd"
key="0"
/>
</svg>
</span>
</Blueprint3.Icon>
<Blueprint3.Text
className="bp3-running-text"
>
<div
className="bp3-running-text"
>
Entire Screen
</div>
</Blueprint3.Text>
</span>
<Blueprint3.Icon
key="rightIcon"
/>
</button>
</Blueprint3.Button>
<Blueprint3.Button
className="makeStyles-shareAppButton-4"
intent="primary"
onClick={[Function]}
>
<button
className="bp3-button bp3-intent-primary makeStyles-shareAppButton-4"
onClick={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
type="button"
>
<Blueprint3.Icon
key="leftIcon"
/>
<span
className="bp3-button-text"
key="text"
>
<Blueprint3.Icon
className="makeStyles-shareAppButtonIcon-5"
color="white"
icon="application"
iconSize={100}
>
<span
className="bp3-icon bp3-icon-application makeStyles-shareAppButtonIcon-5"
icon="application"
>
<svg
data-icon="application"
fill="white"
height={100}
viewBox="0 0 20 20"
width={100}
>
<desc>
application
</desc>
<path
d="M3.5 9h9c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-5c-.28 0-.5.22-.5.5s.22.5.5.5zM19 1H1c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm-1 16H2V6h16v11zM3.5 13h7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-7c-.28 0-.5.22-.5.5s.22.5.5.5z"
fillRule="evenodd"
key="0"
/>
</svg>
</span>
</Blueprint3.Icon>
<Blueprint3.Text
className="bp3-running-text"
>
<div
className="bp3-running-text"
>
Application Window
</div>
</Blueprint3.Text>
</span>
<Blueprint3.Icon
key="rightIcon"
/>
</button>
</Blueprint3.Button>
<Blueprint3.Button
active={true}
className="makeStyles-orDecorationButton-6"
>
<button
className="bp3-button bp3-active makeStyles-orDecorationButton-6"
onKeyDown={[Function]}
onKeyUp={[Function]}
type="button"
>
<Blueprint3.Icon
key="leftIcon"
/>
<span
className="bp3-button-text"
key="text"
>
OR
</span>
<Blueprint3.Icon
key="rightIcon"
/>
</button>
</Blueprint3.Button>
</div>
</Blueprint3.ControlGroup>
<ChooseAppOrScreenOverlay
handleClose={[Function]}
handleNextApplicationWindow={[Function]}
handleNextEntireScreen={[Function]}
isChooseAppOrScreenOverlayOpen={false}
isEntireScreenToShareChosen={false}
>
<Blueprint3.Dialog
autoFocus={true}
canEscapeKeyClose={true}
canOutsideClickClose={true}
className="makeStyles-dialogRoot-7 choose-app-or-screen-dialog"
enforceFocus={true}
hasBackdrop={true}
isOpen={false}
onClose={[Function]}
transitionDuration={0}
usePortal={true}
>
<Blueprint3.Overlay
autoFocus={true}
backdropProps={Object {}}
canEscapeKeyClose={true}
canOutsideClickClose={true}
className="bp3-overlay-scroll-container"
enforceFocus={true}
hasBackdrop={true}
isOpen={false}
lazy={true}
onClose={[Function]}
transitionDuration={0}
transitionName="bp3-overlay"
usePortal={true}
/>
</Blueprint3.Dialog>
</ChooseAppOrScreenOverlay>
</ShareEntireScreenOrAppWindowControlGroup>
</Router>
</BrowserRouter>
`;