joyent-portal/consoles/my-joy-instances/src/components/instances/__tests__/__snapshots__/toolbar.spec.js.snap

2097 lines
40 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders <Toolbar /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="k"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="k"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Create
</button>
</div>
</div>
`;
exports[`renders <Toolbar actionLabel /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="w"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="w"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Action label
</button>
</div>
</div>
`;
exports[`renders <Toolbar actionable /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
cursor: not-allowed;
pointer-events: none;
color: rgb(216,216,216);
background-color: rgb(250,250,250);
border-color: rgb(216,216,216);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c7:focus {
background-color: rgb(250,250,250);
border-color: rgb(216,216,216);
}
.c7:hover {
background-color: rgb(250,250,250);
border-color: rgb(250,250,250);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-color: rgb(250,250,250);
border-color: rgb(250,250,250);
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="z"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="z"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={true}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Create
</button>
</div>
</div>
`;
exports[`renders <Toolbar onActionClick /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="C"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="C"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={[Function]}
to={undefined}
type="button"
>
Create
</button>
</div>
</div>
`;
exports[`renders <Toolbar searchLabel /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="n"
>
Search label
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="n"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Create
</button>
</div>
</div>
`;
exports[`renders <Toolbar searchPlaceholder /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(73,73,73);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="q"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={false}
id="q"
onBlur={undefined}
placeholder="Search placeholder"
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Create
</button>
</div>
</div>
`;
exports[`renders <Toolbar searchable /> without throwing 1`] = `
.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: flex-end;
-webkit-box-align: flex-end;
-ms-flex-align: flex-end;
align-items: flex-end;
}
.c4 {
margin-top: 0.1875rem;
}
.c10 {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.c10::-moz-focus-inner,
.c10[type='button']::-moz-focus-inner,
.c10[type='reset']::-moz-focus-inner,
.c10[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
.c10:-moz-focusring,
.c10[type='button']:-moz-focusring,
.c10[type='reset']:-moz-focusring,
.c10[type='submit']:-moz-focusring {
outline: 0.0625rem dotted ButtonText;
}
.c9 {
min-width: 7.5rem;
}
.c8 {
display: inline-block;
}
.c7 {
box-sizing: border-box;
display: inline-block;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 3rem;
height: 3rem;
min-width: 7.5rem;
padding: 0.9375rem 1.125rem;
position: relative;
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
font-size: 0.9375rem;
text-align: center;
font-style: normal;
font-stretch: normal;
-webkit-letter-spacing: normal;
-moz-letter-spacing: normal;
-ms-letter-spacing: normal;
letter-spacing: normal;
-webkit-text-decoration: none;
text-decoration: none;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
color: rgb(255,255,255);
-webkit-text-fill-color: currentcolor;
background-image: none;
background-color: rgb(59,70,204);
border-radius: 0.25rem;
border: solid 0.0625rem rgb(45,56,132);
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
max-width: 100%;
}
.c7:focus {
outline: 0;
-webkit-text-decoration: none;
text-decoration: none;
background-color: rgb(59,70,204);
border-color: rgb(45,56,132);
}
.c7:hover {
background-color: rgb(72,83,217);
border-color: rgb(45,56,132);
}
.c7:active,
.c7:active:hover,
.c7:active:focus {
background-image: none;
outline: 0;
background-color: rgb(45,56,132);
border-color: rgb(45,56,132);
}
.c7[disabled] {
cursor: not-allowed;
pointer-events: none;
}
.c3 {
font-size: 0.9375rem;
line-height: 1.125rem;
font-style: normal;
font-stretch: normal;
display: block;
color: rgb(70,70,70);
text-align: left;
}
.c1 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
}
.c6 {
display: inline-block;
padding: 0;
border: none;
overflow: hidden;
height: auto;
-webkit-padding-before: 0;
-webkit-padding-start: 0;
-webkit-padding-end: 0;
-webkit-padding-after: 0;
float: right;
}
.c5 {
box-sizing: border-box;
width: 18.75rem;
height: 3rem;
min-height: 3rem;
padding: 0.8125rem 0.75rem;
border-radius: 0.25rem;
background-color: rgb(255,255,255);
border: 0.0625rem solid rgb(216,216,216);
color: rgb(250,250,250);
font-size: 0.9375rem;
line-height: normal !important;
font-style: normal;
font-stretch: normal;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
max-width: 22.1875rem;
text-overflow: ellipsis;
}
.c5:focus {
border-color: rgb(59,70,204);
outline: 0;
}
.c5::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:invalid {
box-shadow: none;
}
.c5::-webkit-input-placeholder {
color: rgb(216,216,216);
}
.c5::-moz-placeholder {
color: rgb(216,216,216);
}
.c5:-ms-input-placeholder {
color: rgb(216,216,216);
}
.c5:disabled {
background-color: rgb(250,250,250);
color: rgb(216,216,216);
cursor: not-allowed;
}
.c5:disabled::-webkit-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled::-moz-placeholder {
color: rgba(73,73,73,0.5);
}
.c5:disabled:-ms-input-placeholder {
color: rgba(73,73,73,0.5);
}
.c2 {
font-weight: 600;
white-space: pre;
font-size: 0.8125rem;
}
<div
className="c0"
>
<div
className="c1"
name="filter"
role="group"
style={undefined}
>
<label
className="c2 c3"
htmlFor="t"
>
Filter
</label>
<div
className="c4"
>
<input
className="c5"
disabled={true}
id="t"
onBlur={undefined}
placeholder=""
/>
</div>
</div>
<div
className="c6"
role="group"
style={undefined}
>
<button
className="c7 c8 c9 c10"
data-ui-button="true"
disabled={false}
href=""
icon={true}
onClick={undefined}
to={undefined}
type="submit"
>
Create
</button>
</div>
</div>
`;