2017-08-21 15:39:02 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders <Delete /> without throwing 1`] = `
|
|
|
|
.c4 {
|
|
|
|
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;
|
|
|
|
min-width: 7.5rem;
|
|
|
|
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;
|
|
|
|
margin: 0;
|
|
|
|
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-weight: 400;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
text-align: center;
|
|
|
|
font-style: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
line-height: normal;
|
|
|
|
-webkit-letter-spacing: normal;
|
|
|
|
-moz-letter-spacing: normal;
|
|
|
|
-ms-letter-spacing: normal;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
touch-action: manipulation;
|
|
|
|
cursor: pointer;
|
|
|
|
color: ;
|
|
|
|
background-image: none;
|
|
|
|
background-color: ;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
color: ;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4::-moz-focus-inner,
|
2017-09-07 12:25:54 +03:00
|
|
|
.c4[type='button']::-moz-focus-inner,
|
|
|
|
.c4[type='reset']::-moz-focus-inner,
|
|
|
|
.c4[type='submit']::-moz-focus-inner {
|
2017-08-21 15:39:02 +03:00
|
|
|
border-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:-moz-focusring,
|
2017-09-07 12:25:54 +03:00
|
|
|
.c4[type='button']:-moz-focusring,
|
|
|
|
.c4[type='reset']:-moz-focusring,
|
|
|
|
.c4[type='submit']:-moz-focusring {
|
2017-08-21 15:39:02 +03:00
|
|
|
outline: 0.0625rem dotted ButtonText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:hover {
|
|
|
|
background-color: ;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:active,
|
|
|
|
.c4:active:hover,
|
|
|
|
.c4:active:focus {
|
|
|
|
background-image: none;
|
|
|
|
outline: 0;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4[disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:focus {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:hover {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4:active,
|
|
|
|
.c4:active:hover,
|
|
|
|
.c4:active:focus {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c4 + button {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5 {
|
|
|
|
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;
|
|
|
|
min-width: 7.5rem;
|
|
|
|
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;
|
|
|
|
margin: 0;
|
|
|
|
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-weight: 400;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
text-align: center;
|
|
|
|
font-style: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
line-height: normal;
|
|
|
|
-webkit-letter-spacing: normal;
|
|
|
|
-moz-letter-spacing: normal;
|
|
|
|
-ms-letter-spacing: normal;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
touch-action: manipulation;
|
|
|
|
cursor: pointer;
|
|
|
|
color: ;
|
|
|
|
background-image: none;
|
|
|
|
background-color: ;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5::-moz-focus-inner,
|
2017-09-07 12:25:54 +03:00
|
|
|
.c5[type='button']::-moz-focus-inner,
|
|
|
|
.c5[type='reset']::-moz-focus-inner,
|
|
|
|
.c5[type='submit']::-moz-focus-inner {
|
2017-08-21 15:39:02 +03:00
|
|
|
border-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5:-moz-focusring,
|
2017-09-07 12:25:54 +03:00
|
|
|
.c5[type='button']:-moz-focusring,
|
|
|
|
.c5[type='reset']:-moz-focusring,
|
|
|
|
.c5[type='submit']:-moz-focusring {
|
2017-08-21 15:39:02 +03:00
|
|
|
outline: 0.0625rem dotted ButtonText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5:hover {
|
|
|
|
background-color: ;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5:active,
|
|
|
|
.c5:active:hover,
|
|
|
|
.c5:active:focus {
|
|
|
|
background-image: none;
|
|
|
|
outline: 0;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5[disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c5 + button {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c1 {
|
|
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c3 {
|
|
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
line-height: 1.25;
|
|
|
|
color: ;
|
|
|
|
margin: 0 0 0.75rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c2 {
|
|
|
|
color: ;
|
|
|
|
margin: 0.75rem 0 1.875rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
<div>
|
2017-09-07 12:25:54 +03:00
|
|
|
.c1 {
|
|
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
line-height: 1.25;
|
|
|
|
color: ;
|
|
|
|
margin: 0 0 0.75rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
<h2
|
2017-08-21 15:39:02 +03:00
|
|
|
className="c0 c1"
|
|
|
|
>
|
|
|
|
Deleting a service:
|
|
|
|
<br />
|
|
|
|
|
|
|
|
Nginx
|
|
|
|
</h2>
|
2017-09-07 12:25:54 +03:00
|
|
|
.c1 {
|
|
|
|
font-family: "Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 {
|
|
|
|
color: ;
|
|
|
|
margin: 0.75rem 0 1.875rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
<p
|
|
|
|
className="c0 c1"
|
2017-08-21 15:39:02 +03:00
|
|
|
>
|
|
|
|
Deleting a service can lead to irreversible loss of data and failures in your application. Are you sure you want to continue?
|
|
|
|
</p>
|
2017-09-07 12:25:54 +03:00
|
|
|
.c0 {
|
|
|
|
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;
|
|
|
|
min-width: 7.5rem;
|
|
|
|
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;
|
|
|
|
margin: 0;
|
|
|
|
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-weight: 400;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
text-align: center;
|
|
|
|
font-style: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
line-height: normal;
|
|
|
|
-webkit-letter-spacing: normal;
|
|
|
|
-moz-letter-spacing: normal;
|
|
|
|
-ms-letter-spacing: normal;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
touch-action: manipulation;
|
|
|
|
cursor: pointer;
|
|
|
|
color: ;
|
|
|
|
background-image: none;
|
|
|
|
background-color: ;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
color: ;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0::-moz-focus-inner,
|
|
|
|
.c0[type='button']::-moz-focus-inner,
|
|
|
|
.c0[type='reset']::-moz-focus-inner,
|
|
|
|
.c0[type='submit']::-moz-focus-inner {
|
|
|
|
border-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:-moz-focusring,
|
|
|
|
.c0[type='button']:-moz-focusring,
|
|
|
|
.c0[type='reset']:-moz-focusring,
|
|
|
|
.c0[type='submit']:-moz-focusring {
|
|
|
|
outline: 0.0625rem dotted ButtonText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:hover {
|
|
|
|
background-color: ;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:active,
|
|
|
|
.c0:active:hover,
|
|
|
|
.c0:active:focus {
|
|
|
|
background-image: none;
|
|
|
|
outline: 0;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0[disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:focus {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:hover {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:active,
|
|
|
|
.c0:active:hover,
|
|
|
|
.c0:active:focus {
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 + button {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<button
|
|
|
|
className="c0"
|
2017-08-21 15:39:02 +03:00
|
|
|
onClick={[Function]}
|
|
|
|
>
|
|
|
|
Cancel
|
|
|
|
</button>
|
2017-09-07 12:25:54 +03:00
|
|
|
.c0 {
|
|
|
|
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;
|
|
|
|
min-width: 7.5rem;
|
|
|
|
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;
|
|
|
|
margin: 0;
|
|
|
|
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-weight: 400;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
text-align: center;
|
|
|
|
font-style: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
line-height: normal;
|
|
|
|
-webkit-letter-spacing: normal;
|
|
|
|
-moz-letter-spacing: normal;
|
|
|
|
-ms-letter-spacing: normal;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
touch-action: manipulation;
|
|
|
|
cursor: pointer;
|
|
|
|
color: ;
|
|
|
|
background-image: none;
|
|
|
|
background-color: ;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0::-moz-focus-inner,
|
|
|
|
.c0[type='button']::-moz-focus-inner,
|
|
|
|
.c0[type='reset']::-moz-focus-inner,
|
|
|
|
.c0[type='submit']::-moz-focus-inner {
|
|
|
|
border-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:-moz-focusring,
|
|
|
|
.c0[type='button']:-moz-focusring,
|
|
|
|
.c0[type='reset']:-moz-focusring,
|
|
|
|
.c0[type='submit']:-moz-focusring {
|
|
|
|
outline: 0.0625rem dotted ButtonText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:focus {
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:hover {
|
|
|
|
background-color: ;
|
|
|
|
border: solid 0.0625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0:active,
|
|
|
|
.c0:active:hover,
|
|
|
|
.c0:active:focus {
|
|
|
|
background-image: none;
|
|
|
|
outline: 0;
|
|
|
|
background-color: ;
|
|
|
|
border-color: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0[disabled] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c0 + button {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
<button
|
|
|
|
className="c0"
|
2017-08-21 15:39:02 +03:00
|
|
|
onClick={[Function]}
|
|
|
|
>
|
|
|
|
Delete service
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|