|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`n-space render custom style space 1`] = `
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
<div role=\\"none\\" style=\\"background-color: red; color: yellow; max-width: 100%; padding-top: 4px; padding-bottom: 4px;\\">div</div>
|
|
|
|
|
</div>"
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render empty children 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -4px; margin-bottom: -4px;\\"></div>"`;
|
|
|
|
|
exports[`n-space render empty children 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -4px; margin-bottom: -4px;\\"></div>"`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render justify space 1`] = `
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; margin-right: 12px; padding-top: 4px; padding-bottom: 4px;\\">
|
|
|
|
|
<div>1</div>
|
|
|
|
|
</div>
|
|
|
|
@ -20,7 +20,7 @@ exports[`n-space render justify space 1`] = `
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render justify space 2`] = `
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-end; flex-wrap: wrap; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; margin-right: 12px; padding-top: 4px; padding-bottom: 4px;\\">
|
|
|
|
|
<div>1</div>
|
|
|
|
|
</div>
|
|
|
|
@ -30,12 +30,12 @@ exports[`n-space render justify space 2`] = `
|
|
|
|
|
</div>"
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render space number size 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -10px; margin-bottom: -10px;\\"></div>"`;
|
|
|
|
|
exports[`n-space render space number size 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -10px; margin-bottom: -10px;\\"></div>"`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render space string size 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -6px; margin-bottom: -6px;\\"></div>"`;
|
|
|
|
|
exports[`n-space render space string size 1`] = `"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -6px; margin-bottom: -6px;\\"></div>"`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space render vertical space 1`] = `
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start;\\">
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: column; justify-content: flex-start; flex-wrap: nowrap;\\">
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; margin-bottom: 8px;\\">
|
|
|
|
|
<div>1</div>
|
|
|
|
|
</div>
|
|
|
|
@ -46,7 +46,7 @@ exports[`n-space render vertical space 1`] = `
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`n-space should render with invalidElement 1`] = `
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
"<div role=\\"none\\" class=\\"n-space\\" style=\\"display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-top: -4px; margin-bottom: -4px;\\">
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; margin-right: 12px; padding-top: 4px; padding-bottom: 4px;\\">text1</div>
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; margin-right: 12px; padding-top: 4px; padding-bottom: 4px;\\"><span>text1</span></div>
|
|
|
|
|
<div role=\\"none\\" style=\\"max-width: 100%; padding-top: 4px; padding-bottom: 4px;\\">text1</div>
|
|
|
|
|