Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update snapshots

dominik-zeglen78d2704a80f7
diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
index 83fb6d7573..da0ea674c4 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -1,1147 +1,1079 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Storyshots Categories / CategoryDeleteDialog default 1`] = `null`;
+exports[`Storyshots Categories / CategoryDeleteDialog default 1`] = `<div />`;
-exports[`Storyshots Categories / CategoryDeleteDialog with products 1`] = `null`;
+exports[`Storyshots Categories / CategoryDeleteDialog with products 1`] = `<div />`;
exports[`Storyshots Categories / CategoryProducts when loading data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
>
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
-</div>
-`;
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
+`;
exports[`Storyshots Categories / CategoryProducts with clickable rows 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="Component-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- T-Shirt
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
`;
exports[`Storyshots Categories / CategoryProducts with initial data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class=""
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class=""
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class=""
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- T-Shirt
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class=""
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- T-Shirt
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
`;
exports[`Storyshots Categories / CategoryProducts without initial data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id"
>
- No products found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="3"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
`;
-exports[`Storyshots Generics / ActionDialog default 1`] = `null`;
+exports[`Storyshots Generics / ActionDialog default 1`] = `<div />`;
exports[`Storyshots Generics / AddressEdit default 1`] = `
-<div
- class="Component-sm-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-sm-id "
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- First name
- </label>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="firstName"
- type="text"
- value="Alexander"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ First name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="firstName"
+ type="text"
+ value="Alexander"
+ />
+ </div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Last name
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="lastName"
- type="text"
- value="Simonis"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Last name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="lastName"
+ type="text"
+ value="Simonis"
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Company
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="companyName"
- type="text"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Address
- </label>
+ class="Component-spacer-id"
+ />
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="streetAddress_1"
- type="text"
- value="83772 Savanah Summit"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Company
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="companyName"
+ type="text"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Address
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="streetAddress_2"
- type="text"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- City
- </label>
+ class="Component-spacer-id"
+ />
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="city"
- type="text"
- value="Thompsontown"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Address
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="streetAddress_1"
+ type="text"
+ value="83772 Savanah Summit"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- City area
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="cityArea"
- type="text"
- value="Rhode Island"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Address
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="streetAddress_2"
+ type="text"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Postal code
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="postalCode"
- type="text"
- value="47639-5237"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ City
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="city"
+ type="text"
+ value="Thompsontown"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Country
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ City area
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- <span>
- ​
- </span>
- </div>
<input
aria-invalid="false"
aria-required="false"
- name="country"
- type="hidden"
- value="Swaziland"
+ class="MuiInput-input-id"
+ name="cityArea"
+ type="text"
+ value="Rhode Island"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Country area
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="countryArea"
- type="text"
- value="Buckinghamshire"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Postal code
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="postalCode"
+ type="text"
+ value="47639-5237"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-root-id"
- >
+ <div
+ class="Component-spacer-id"
+ />
<div
class="MuiFormControl-root-id Component-formControl-id"
>
@@ -1149,7 +1081,7 @@ exports[`Storyshots Generics / AddressEdit default 1`] = `
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
>
- Phone
+ Country
</label>
<div
class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
@@ -1171,9 +1103,9 @@ exports[`Storyshots Generics / AddressEdit default 1`] = `
<input
aria-invalid="false"
aria-required="false"
- name="phone_prefix"
+ name="country"
type="hidden"
- value="17"
+ value="Swaziland"
/>
<svg
aria-hidden="true"
@@ -1189,135 +1121,221 @@ exports[`Storyshots Generics / AddressEdit default 1`] = `
</div>
</div>
<div
- class="MuiFormControl-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
>
-  
+ Country area
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
class="MuiInput-input-id"
- name="phone_number"
+ name="countryArea"
type="text"
- value="253-928-8945"
+ value="Buckinghamshire"
/>
</div>
</div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Generics / AddressFormatter default 1`] = `
-<address>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Alexander Simonis
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 83772 Savanah Summit
- <br />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 47639-5237 Thompsontown, Rhode Island
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Buckinghamshire, Swaziland
- </span>
-</address>
-`;
-
-exports[`Storyshots Generics / AddressFormatter when loading 1`] = `
-<span
- class="Skeleton-skeleton-id"
->
- ‌
-</span>
-`;
-
-exports[`Storyshots Generics / DateFormatter default 1`] = `
-<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
->
- <time
- datetime="1523097884000"
- >
- Sat Apr 07 2018 10:44:44 GMT+0000
- </time>
-</span>
-`;
-
-exports[`Storyshots Generics / EditableTableCell default 1`] = `
-<table
- class="MuiTable-root-id"
->
- <thead
- class="MuiTableHead-root-id"
- >
- <tr>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Some header
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Some header
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Some header
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Some value
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Phone
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
>
- Some editable text
- </span>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="phone_prefix"
+ type="hidden"
+ value="17"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </div>
+ <div
+ class="MuiFormControl-root-id"
>
- Some value
- </td>
- </tr>
- </tbody>
-</table>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+  
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="phone_number"
+ type="text"
+ value="253-928-8945"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Generics / AddressFormatter default 1`] = `
+<div>
+ <address>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Alexander Simonis
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 83772 Savanah Summit
+ <br />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 47639-5237 Thompsontown, Rhode Island
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Buckinghamshire, Swaziland
+ </span>
+ </address>
+</div>
+`;
+
+exports[`Storyshots Generics / AddressFormatter when loading 1`] = `
+<div>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+</div>
+`;
+
+exports[`Storyshots Generics / DateFormatter default 1`] = `
+<div>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523097884000"
+ >
+ Sat Apr 07 2018 10:44:44 GMT+0000
+ </time>
+ </span>
+</div>
+`;
+
+exports[`Storyshots Generics / EditableTableCell default 1`] = `
+<div>
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Some header
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Some header
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Some header
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Some value
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ Some editable text
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Some value
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Generics / ErrorMessageCard default 1`] = `
@@ -1342,177 +1360,189 @@ exports[`Storyshots Generics / ErrorMessageCard default 1`] = `
`;
exports[`Storyshots Generics / Global messages default 1`] = `
-<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedPrimary-id MuiButton-raised-id MuiButton-raisedPrimary-id"
- tabindex="0"
- type="button"
->
- <span
- class="MuiButton-label-id"
+<div>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedPrimary-id MuiButton-raised-id MuiButton-raisedPrimary-id"
+ tabindex="0"
+ type="button"
>
- Push message
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
-</button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Push message
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+</div>
`;
exports[`Storyshots Generics / Global messages with undo action 1`] = `
-<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedPrimary-id MuiButton-raised-id MuiButton-raisedPrimary-id"
- tabindex="0"
- type="button"
->
- <span
- class="MuiButton-label-id"
+<div>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedPrimary-id MuiButton-raised-id MuiButton-raisedPrimary-id"
+ tabindex="0"
+ type="button"
>
- Push message
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
-</button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Push message
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+</div>
`;
-exports[`Storyshots Generics / Money formatting default 1`] = `null`;
+exports[`Storyshots Generics / Money formatting default 1`] = `
+<div>
+ €14.00
+</div>
+`;
exports[`Storyshots Generics / MultiAutocompleteSelectField with loaded data 1`] = `
-<form>
- <div
- class="Component-container-id"
- >
+<div>
+ <form>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-container-id"
>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
- tabindex="-1"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <span
- class="MuiChip-label-id"
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
>
- Afghanistan
- </span>
+ <span
+ class="MuiChip-label-id"
+ >
+ Afghanistan
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-1-input"
+ placeholder="Select country"
+ type="text"
+ />
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ class="MuiSvgIcon-root-id"
focusable="false"
viewBox="0 0 24 24"
>
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
</svg>
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-1-input"
- placeholder="Select country"
- type="text"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <p
+ class="MuiFormHelperText-root-id"
>
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ Value: afghanistan
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Value: afghanistan
- </p>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Generics / MultiAutocompleteSelectField with loading data 1`] = `
-<form>
- <div
- class="Component-container-id"
- >
+<div>
+ <form>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-container-id"
>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
- tabindex="-1"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <span
- class="MuiChip-label-id"
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
>
- Afghanistan
- </span>
+ <span
+ class="MuiChip-label-id"
+ >
+ Afghanistan
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-0-input"
+ placeholder="Select country"
+ type="text"
+ />
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ class="MuiSvgIcon-root-id"
focusable="false"
viewBox="0 0 24 24"
>
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
</svg>
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-0-input"
- placeholder="Select country"
- type="text"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <p
+ class="MuiFormHelperText-root-id"
>
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ Value: afghanistan
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Value: afghanistan
- </p>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with error hint 1`] = `
@@ -2060,73 +2090,75 @@ exports[`Storyshots Generics / Percent formatting default 1`] = `
`;
exports[`Storyshots Generics / PhoneField default 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- />
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id Component-formControl-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ />
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
+ class="MuiSelect-root-id"
>
- +41
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ +41
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="phone_prefix"
+ type="hidden"
+ value="41"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+  
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
<input
aria-invalid="false"
aria-required="false"
- name="phone_prefix"
- type="hidden"
- value="41"
+ class="MuiInput-input-id"
+ name="phone_number"
+ type="text"
+ value="123 987 456"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
</div>
</div>
</div>
- <div
- class="MuiFormControl-root-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
-  
- </label>
- <div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="phone_number"
- type="text"
- value="123 987 456"
- />
- </div>
- </div>
</div>
`;
@@ -2932,485 +2964,505 @@ exports[`Storyshots Generics / PriceRangeField with value, label, currency symbo
`;
exports[`Storyshots Generics / SaveButtonBar disabled 1`] = `
-<div
- class="Component-root-id"
->
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar error 1`] = `
-<div
- class="Component-root-id"
->
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-error-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Error
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-error-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Error
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar idle 1`] = `
-<div
- class="Component-root-id"
->
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar interactive error 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
/>
- </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar interactive success 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
/>
- </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar loading 1`] = `
-<div
- class="Component-root-id"
->
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="MuiCircularProgress-root-id MuiCircularProgress-colorSecondary-id MuiCircularProgress-indeterminate-id Component-buttonProgress-id"
- role="progressbar"
- style="width:24px;height:24px"
+ <span
+ class="MuiButton-label-id"
>
- <svg
- class="MuiCircularProgress-svg-id"
- viewBox="0 0 50 50"
- >
- <circle
- class="MuiCircularProgress-circle-id MuiCircularProgress-circleIndeterminate-id"
- cx="25"
- cy="25"
- fill="none"
- r="20"
- stroke-width="3.6"
- />
- </svg>
- </div>
- Saving
- </span>
- </button>
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ <div
+ class="MuiCircularProgress-root-id MuiCircularProgress-colorSecondary-id MuiCircularProgress-indeterminate-id Component-buttonProgress-id"
+ role="progressbar"
+ style="width:24px;height:24px"
+ >
+ <svg
+ class="MuiCircularProgress-svg-id"
+ viewBox="0 0 50 50"
+ >
+ <circle
+ class="MuiCircularProgress-circle-id MuiCircularProgress-circleIndeterminate-id"
+ cx="25"
+ cy="25"
+ fill="none"
+ r="20"
+ stroke-width="3.6"
+ />
+ </svg>
+ </div>
+ Saving
+ </span>
+ </button>
+ </div>
</div>
`;
exports[`Storyshots Generics / SaveButtonBar success 1`] = `
-<div
- class="Component-root-id"
->
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+<div>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-success-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id Component-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
- />
- </g>
- </svg>
- Saved
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
-</div>
-`;
-
-exports[`Storyshots Generics / SingleAutocompleteSelectField with custom option 1`] = `
-<form>
- <div
- class="Component-container-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-success-id"
+ tabindex="0"
+ type="button"
>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ <span
+ class="MuiButton-label-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-4-input"
- placeholder="Select country"
- type="text"
- value="Afghanistan"
- />
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id"
+ class="MuiSvgIcon-root-id Component-icon-id"
focusable="false"
viewBox="0 0 24 24"
>
- <g
- style="fill-rule:evenodd"
- >
+ <g>
<path
- d="M7 10l5 5 5-5z"
+ d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
/>
</g>
</svg>
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ Saved
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Generics / SingleAutocompleteSelectField with custom option 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-container-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Value: afghanistan
- </p>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-4-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Value: afghanistan
+ </p>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Generics / SingleAutocompleteSelectField with loaded data 1`] = `
-<form>
- <div
- class="Component-container-id"
- >
+<div>
+ <form>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-container-id"
>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-3-input"
- placeholder="Select country"
- type="text"
- value="Afghanistan"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <g
- style="fill-rule:evenodd"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-3-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Value: afghanistan
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Value: afghanistan
- </p>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Generics / SingleAutocompleteSelectField with loading data 1`] = `
-<form>
- <div
- class="Component-container-id"
- >
+<div>
+ <form>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-container-id"
>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-2-input"
- placeholder="Select country"
- type="text"
- value="Afghanistan"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <g
- style="fill-rule:evenodd"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-2-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Value: afghanistan
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Value: afghanistan
- </p>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with error hint 1`] = `
@@ -3767,35 +3819,41 @@ exports[`Storyshots Generics / Skeleton default 1`] = `
`;
exports[`Storyshots Generics / StatusLabel when error 1`] = `
-<div
- class="Component-root-id "
->
- <span
- class="Component-errorDot-id"
- />
- Example label
+<div>
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Example label
+ </div>
</div>
`;
exports[`Storyshots Generics / StatusLabel when neutral 1`] = `
-<div
- class="Component-root-id "
->
- <span
- class="Component-neutralDot-id"
- />
- Example label
-</div>
-`;
-
-exports[`Storyshots Generics / StatusLabel when success 1`] = `
-<div
- class="Component-root-id "
->
- <span
- class="Component-successDot-id"
- />
- Example label
+<div>
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-neutralDot-id"
+ />
+ Example label
+ </div>
+</div>
+`;
+
+exports[`Storyshots Generics / StatusLabel when success 1`] = `
+<div>
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Example label
+ </div>
</div>
`;
@@ -4084,352 +4142,356 @@ exports[`Storyshots Generics / TablePagination previous page available 1`] = `
`;
exports[`Storyshots Generics / Timeline default 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="Component-nodeRoot-id"
+ class="Component-root-id"
>
- <span
- class="Component-nodeDot-id"
- />
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
- >
- Expansion panel 1
- </p>
<div
- class="Component-noExpanderNodeDate-id"
+ class="Component-nodeRoot-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="Component-nodeDot-id"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
>
- <time
- datetime="1525712282000"
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Mon May 07 2018 16:58:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525712282000"
+ >
+ Mon May 07 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
- >
- Expansion panel 2
- </p>
<div
- class="Component-noExpanderNodeDate-id"
+ class="Component-nodeRoot-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="Component-nodeDot-id"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
>
- <time
- datetime="1525711682000"
+ Expansion panel 2
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Mon May 07 2018 16:48:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525711682000"
+ >
+ Mon May 07 2018 16:48:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
- >
- Expansion panel 3
- </p>
<div
- class="Component-noExpanderNodeDate-id"
+ class="Component-nodeRoot-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="Component-nodeDot-id"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noExpander-id"
>
- <time
- datetime="1525625882000"
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Sun May 06 2018 16:58:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525625882000"
+ >
+ Sun May 06 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
</div>
</div>
`;
exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="Component-nodeRoot-id"
+ class="Component-root-id"
>
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Expansion panel 1
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1525712282000"
+ >
+ Mon May 07 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1525712282000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Mon May 07 2018 16:58:02 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Expansion panel 2
- </p>
<div
- class="Component-nodeDate-id"
+ class="MuiExpansionPanelSummary-content-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <time
- datetime="1525711682000"
+ Expansion panel 2
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Mon May 07 2018 16:48:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525711682000"
+ >
+ Mon May 07 2018 16:48:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </div>
</div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
<div
- class="MuiCollapse-wrapper-id"
+ aria-hidden="true"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Expansion panel 3
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1525625882000"
+ >
+ Sun May 06 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1525625882000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sun May 06 2018 16:58:02 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
</div>
</div>
</div>
@@ -4440,287 +4502,289 @@ exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
`;
exports[`Storyshots Generics / Timeline with order notes 1`] = `
-<div
- class="Component-root-id"
->
+<div>
<div
- class="Component-nodeRoot-id"
+ class="Component-root-id"
>
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Expansion panel 1
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1525712282000"
+ >
+ Mon May 07 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1525712282000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Mon May 07 2018 16:58:02 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
<div
- class="MuiCardContent-root-id Component-noteTitle-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#f44336"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#f44336"
>
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
- <div
- class="Component-noteDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
>
- <time
- datetime="1525712282000"
+ </p>
+ <div
+ class="Component-noteDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Mon May 07 2018 16:58:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525712282000"
+ >
+ Mon May 07 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
+ <div
+ class="MuiCardContent-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ </p>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
<div
- class="MuiCardContent-root-id Component-noteTitle-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#03a9f4"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#03a9f4"
>
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
- <div
- class="Component-noteDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
>
- <time
- datetime="1525712282000"
+ </p>
+ <div
+ class="Component-noteDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Mon May 07 2018 16:58:02 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1525712282000"
+ >
+ Mon May 07 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
+ <div
+ class="MuiCardContent-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ </p>
+ </div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Expansion panel 3
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1525625882000"
+ >
+ Sun May 06 2018 16:58:02 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1525625882000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sun May 06 2018 16:58:02 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
</div>
</div>
</div>
@@ -4730,396 +4794,489 @@ exports[`Storyshots Generics / Timeline with order notes 1`] = `
</div>
`;
-exports[`Storyshots Orders / OrderAddressEditDialog billing address 1`] = `null`;
+exports[`Storyshots Orders / OrderAddressEditDialog billing address 1`] = `<div />`;
-exports[`Storyshots Orders / OrderAddressEditDialog shipping address 1`] = `null`;
+exports[`Storyshots Orders / OrderAddressEditDialog shipping address 1`] = `<div />`;
-exports[`Storyshots Orders / OrderCancelDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderCancelDialog default 1`] = `<div />`;
exports[`Storyshots Orders / OrderCustomer when loaded data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Customer
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Shipping Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Cyprus
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Billing Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Same as shipping address
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Same as shipping address
+ </p>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderCustomer when loading data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Customer
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Shipping Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Billing Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- ‌
- </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderCustomer with different addresses 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Customer
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Shipping Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Cyprus
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Billing Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Cyprus
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Orders / OrderCustomerEditDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderCustomerEditDialog default 1`] = `<div />`;
-exports[`Storyshots Orders / OrderFulfillmentCancelDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderFulfillmentCancelDialog default 1`] = `<div />`;
-exports[`Storyshots Orders / OrderFulfillmentDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderFulfillmentDialog default 1`] = `<div />`;
-exports[`Storyshots Orders / OrderFulfillmentTrackingDialog add code 1`] = `null`;
+exports[`Storyshots Orders / OrderFulfillmentTrackingDialog add code 1`] = `<div />`;
-exports[`Storyshots Orders / OrderFulfillmentTrackingDialog edit code 1`] = `null`;
+exports[`Storyshots Orders / OrderFulfillmentTrackingDialog edit code 1`] = `<div />`;
exports[`Storyshots Orders / OrderHistory default 1`] = `
-<div
- class="OrderHistory-root-id"
->
+<div>
<div
- class="Component-root-id"
+ class="OrderHistory-root-id"
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ <div
+ class="Component-root-id"
>
- Order history
- </h2>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <form>
+ class="Component-root-id"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-id"
+ >
+ <div
+ class="MuiCardContent-root-id Component-noteTitle-id"
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-id Component-cardActions-id "
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
<div
- class="Component-noteRoot-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
class="MuiCardContent-root-id Component-noteTitle-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- style="background:#f44336"
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#ffc107"
>
<svg
aria-hidden="true"
@@ -5134,406 +5291,321 @@ exports[`Storyshots Orders / OrderHistory default 1`] = `
</g>
</svg>
</div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
+ >
+ </p>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-noteDate-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Note
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <time
+ datetime="1523186299000"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- placeholder="Leave your note here..."
- rows="1"
- type="text"
- />
- </div>
- </div>
+ Sun Apr 08 2018 11:18:19 GMT+0000
+ </time>
+ </span>
</div>
</div>
<div
- class="MuiCardActions-root-id Component-cardActions-id "
+ class="MuiCardContent-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add note
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
</div>
</div>
- </form>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
<div
- class="MuiCardContent-root-id Component-noteTitle-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#ffc107"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
- <div
- class="Component-noteDate-id"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <time
- datetime="1523186299000"
- >
- Sun Apr 08 2018 11:18:19 GMT+0000
- </time>
- </span>
- </div>
- </div>
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
- </p>
- </div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
- >
- <div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
- >
- <div
- class="MuiExpansionPanelSummary-content-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Shipped order
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523107879000"
+ >
+ Sat Apr 07 2018 13:31:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523107879000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 13:31:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- <br />
- 9297 Barker Extension
- <br />
- 95393-6818 Keithport
- <br />
- Cyprus
- </p>
- <p />
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Received payment
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523100799000"
+ >
+ Sat Apr 07 2018 11:33:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523100799000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 11:33:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Created order
- </p>
<div
- class="Component-nodeDate-id"
+ class="MuiExpansionPanelSummary-content-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <time
- datetime="1523099899000"
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
</div>
- </div>
- <div
- aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </div>
</div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
<div
- class="MuiCollapse-wrapper-id"
+ aria-hidden="true"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
@@ -5544,10309 +5616,10553 @@ exports[`Storyshots Orders / OrderHistory default 1`] = `
</div>
`;
-exports[`Storyshots Orders / OrderPaymentDialog capture payment 1`] = `null`;
+exports[`Storyshots Orders / OrderPaymentDialog capture payment 1`] = `<div />`;
-exports[`Storyshots Orders / OrderPaymentDialog refund payment 1`] = `null`;
+exports[`Storyshots Orders / OrderPaymentDialog refund payment 1`] = `<div />`;
-exports[`Storyshots Orders / OrderPaymentReleaseDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderPaymentReleaseDialog default 1`] = `<div />`;
-exports[`Storyshots Orders / OrderProductAddDialog default 1`] = `<form />`;
+exports[`Storyshots Orders / OrderProductAddDialog default 1`] = `
+<div>
+ <form />
+</div>
+`;
-exports[`Storyshots Orders / OrderShippingMethodEditDialog default 1`] = `null`;
+exports[`Storyshots Orders / OrderShippingMethodEditDialog default 1`] = `<div />`;
exports[`Storyshots Orders / OrderSummary order cancelled 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-errorDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Cancelled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-errorDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Cancelled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="OrderProducts-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
-</div>
-`;
-
-exports[`Storyshots Orders / OrderSummary order draft 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
<div
- class="Component-toolbar-id"
+ class="MuiCardActions-root-id"
>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
type="button"
>
<span
class="MuiButton-label-id"
>
- Add product
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
</div>
</div>
+</div>
+`;
+
+exports[`Storyshots Orders / OrderSummary order draft 1`] = `
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-errorDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Draft
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ </button>
+ </div>
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-errorDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Draft
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
- >
- 1
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
- >
- 2
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ class="OrderProducts-link-id"
>
- 7
+ Gardner, Graham and King
</span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 1
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ class="OrderProducts-link-id"
>
- 3
+ Gardner and Graham
</span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 2
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- $160.20
- </p>
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 7
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- $165.70
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 3
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Finalize
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Finalize
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary order fulfilled 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-successDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-successDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ Fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary order partially fulfilled 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and Graham
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary order unfulfilled 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-errorDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Unfulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-errorDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Unfulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary payment confirmed 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary payment error 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and Graham
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary payment input 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <span
- class="OrderProducts-link-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
- >
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner, Graham and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary payment preauth 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and Graham
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Capture
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Capture
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Release
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Release
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
exports[`Storyshots Orders / OrderSummary payment refunded 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
- >
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <span
- class="OrderProducts-link-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner, Graham and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
-</div>
-`;
-
-exports[`Storyshots Orders / OrderSummary payment rejected 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
- >
- Partially fulfilled
- </span>
- </div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
- >
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
- >
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Graham and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Orders / OrderSummary payment waiting 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+exports[`Storyshots Orders / OrderSummary payment rejected 1`] = `
+<div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $160.20
- </p>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Orders / OrderSummary when loading data 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+exports[`Storyshots Orders / OrderSummary payment waiting 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Order Summary
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner, Graham and King
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and Graham
</span>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Gardner and King
</span>
- <span
- class="Skeleton-skeleton-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- ‌
- </span>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="OrderProducts-link-id"
>
- ‌
+ Graham and King
</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
</div>
`;
-exports[`Storyshots Pages / PageContent when loaded 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+exports[`Storyshots Orders / OrderSummary when loading data 1`] = `
+<div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Title
- </label>
+ Order Summary
+ </aside>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id"
- name="title"
- type="text"
- value="Lorem Ipsum"
- />
- </div>
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Content
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
/>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- rows="1"
- type="text"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
- </div>
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- Select text to enable text-formatting tools.
- </p>
- </div>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
`;
-exports[`Storyshots Pages / PageContent when loading 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+exports[`Storyshots Pages / PageContent when loaded 1`] = `
+<div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Title
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="title"
- type="text"
- value=""
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Content
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Title
+ </label>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
+ <input
aria-invalid="false"
aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="content"
- rows="1"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="title"
type="text"
+ value="Lorem Ipsum"
/>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- Select text to enable text-formatting tools.
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ rows="1"
+ type="text"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
</div>
</div>
</div>
`;
-exports[`Storyshots Pages / PageDeleteDialog default 1`] = `null`;
-
-exports[`Storyshots Pages / PageProperties when loaded 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+exports[`Storyshots Pages / PageContent when loading 1`] = `
+<div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Slug
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="slug"
- type="text"
- value="lorem-ipsum-dolor"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="title"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- Slug is being used to create page URL
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="content"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
</div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Pages / PageDeleteDialog default 1`] = `<div />`;
+
+exports[`Storyshots Pages / PageProperties when loaded 1`] = `
+<div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Available on
- </label>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-03-20T16:39:08.850105+00:00"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ />
+ </svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isVisible"
+ type="checkbox"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isVisible"
- type="checkbox"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Published
- </span>
- </label>
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Published
+ </span>
+ </label>
+ </div>
</div>
</div>
`;
exports[`Storyshots Pages / PageProperties when loading 1`] = `
-<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
->
+<div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Slug
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="slug"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="slug"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create page URL
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create page URL
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Available on
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="availableOn"
- type="date"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="availableOn"
+ type="date"
+ value=""
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isVisible"
+ type="checkbox"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="isVisible"
- type="checkbox"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Published
- </span>
- </label>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Published
+ </span>
+ </label>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Attributes / Attribute details default 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Savings Account
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Savings Account
- </h2>
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Savings Account"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="Savings Account"
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Attribute values
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Attribute values
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add value
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add value
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
- scope="col"
- />
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
+ scope="col"
+ />
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
- >
- copying
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
- >
- Soft
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ copying
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
- >
- driver
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
- >
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ Soft
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- copy
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
>
- <span
- class="MuiIconButton-label-id"
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ driver
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- </tr>
- </tbody>
- </table>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id "
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ copy
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Attributes / Attribute details when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ type="text"
+ value=""
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Attribute values
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add value
- </span>
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ Attribute values
+ </aside>
+ <div
+ class="Component-toolbar-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
- scope="col"
- />
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add value
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
+ scope="col"
+ />
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiIconButton-label-id"
+ class="Skeleton-skeleton-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
+ ‌
</span>
- </button>
- </td>
- </tr>
- </tbody>
- </table>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-deleteIcon-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Attributes / Attribute details when no values 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Savings Account
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Savings Account
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Savings Account"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="Savings Account"
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Attribute values
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Attribute values
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add value
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add value
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
- scope="col"
- />
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-deleteIcon-id"
+ scope="col"
+ />
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="2"
+ <tr
+ class="MuiTableRow-root-id"
>
- No attribute values found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="2"
+ >
+ No attribute values found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Attributes / Attribute list default 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Attributes
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Attributes
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add attribute
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add attribute
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Values
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Values
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="2"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="2"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Savings Account
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- copying, Soft, driver, copy
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Savings Account
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- driver
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ copying, Soft, driver, copy
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- indigo, International, Shoal
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Colorado
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Fresh
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ driver
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- virtual
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- indigo, envisioneer, Practical, infrastructures
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ indigo, International, Shoal
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Licensed Steel Fish
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Branding, Tala, blue
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Colorado
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Delaware
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Soft, multi-byte, methodical, Outdoors, AI
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Fresh
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Georgia
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Personal Loan Account, Wall, SSL, withdrawal
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ virtual
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ indigo, envisioneer, Practical, infrastructures
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Nebraska
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Licensed Steel Fish
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Branding, Tala, blue
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Identity, Bedfordshire, Intelligent, Austria, Nuevo Sol
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Delaware
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Soft, multi-byte, methodical, Outdoors, AI
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Awesome Frozen Sausages
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Georgia
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Personal Loan Account, Wall, SSL, withdrawal
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Metal, Books, Lodge, IB
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Nebraska
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Identity, Bedfordshire, Intelligent, Austria, Nuevo Sol
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Designer
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Awesome Frozen Sausages
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Metal, Books, Lodge, IB
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- HTTP
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Designer
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ HTTP
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Attributes / Attribute list loading 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Attributes
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add attribute
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Attributes
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
+ Add attribute
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Values
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Values
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="2"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="2"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Attributes / Attribute list no data 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Attributes
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add attribute
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Attributes
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add attribute
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Values
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Values
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="2"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="2"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="2"
+ <tr
+ class="MuiTableRow-root-id"
>
- No attributes found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="2"
+ >
+ No attributes found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Authentication / Log in default 1`] = `
-<form>
- <div
- class="Component-sm-id Component-root-id"
- >
+<div>
+ <form>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="Component-sm-id Component-root-id"
>
- <span
- class="isvg pending Component-logo-id"
- />
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <span
+ class="isvg pending Component-logo-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Email
- </label>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Email
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="username"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="email"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="username"
- autofocus=""
- class="MuiInput-input-id"
- name="email"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Password
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="current-password"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="password"
+ type="password"
+ value=""
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
+ <div
+ class="Component-spacer-id"
+ />
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormControlLabel-root-id"
>
- Password
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="rememberMe"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Remember me
+ </span>
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-loginButton-id"
+ tabindex="0"
+ type="button"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="current-password"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="password"
- type="password"
- value=""
+ <span
+ class="MuiButton-label-id"
+ >
+ Login
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </div>
+ </button>
</div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Authentication / Log in error 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-sm-id Component-root-id"
+ >
<div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ class="isvg pending Component-logo-id"
+ />
+ <div
+ class="Component-panel-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiTypography-root-id MuiTypography-caption-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Sorry, your username and/or password are incorrect.
+ <br />
+ Please try again.
+ </span>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Email
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="username"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="email"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Password
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="current-password"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="password"
+ type="password"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="rememberMe"
+ type="checkbox"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="rememberMe"
- type="checkbox"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Remember me
+ </span>
+ </label>
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-loginButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Login
+ </span>
<span
class="MuiTouchRipple-root-id"
/>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Remember me
- </span>
- </label>
- <div
- class="Component-spacer-id"
- />
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Categories / Category details default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-loginButton-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
tabindex="0"
type="button"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Login
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Apparel
+ </h2>
+ <div
+ class="Component-action-id"
+ />
</div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Authentication / Log in error 1`] = `
-<form>
- <div
- class="Component-sm-id Component-root-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="Component-root-id"
>
- <span
- class="isvg pending Component-logo-id"
- />
- <div
- class="Component-panel-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
- >
- Sorry, your username and/or password are incorrect.
- <br />
- Please try again.
- </span>
- </div>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Email
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="username"
- autofocus=""
- class="MuiInput-input-id"
- name="email"
- type="text"
- value=""
- />
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Details
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit category
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove category
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Password
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="current-password"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="password"
- type="password"
- value=""
- />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </p>
</div>
</div>
<div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Categories
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add category
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="rememberMe"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Remember me
- </span>
- </label>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id Component-loginButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Login
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Categories / Category details default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Apparel
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Details
- </aside>
+ </button>
+ </div>
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <ul
+ class="MuiList-root-id MuiList-padding-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ <div
+ class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
+ role="button"
tabindex="0"
- type="button"
>
- <span
- class="MuiButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Edit category
- </span>
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ >
+ Lorem ipsum dolor
+ </span>
+ </div>
<span
class="MuiTouchRipple-root-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ </div>
+ <div
+ class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
+ role="button"
tabindex="0"
- type="button"
>
- <span
- class="MuiButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Remove category
- </span>
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ >
+ Mauris vehicula tortor vulputate
+ </span>
+ </div>
<span
class="MuiTouchRipple-root-id"
/>
- </button>
- </div>
+ </div>
+ </ul>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-root-id"
>
- Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.
- </p>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Categories
- </aside>
- <div
- class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add category
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <ul
- class="MuiList-root-id MuiList-padding-id"
- >
- <div
- class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
- role="button"
- tabindex="0"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <g>
- <path
- d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
- />
- </g>
- </svg>
+ Products
+ </aside>
<div
- class="MuiListItemText-root-id"
+ class="Component-toolbar-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Lorem ipsum dolor
- </span>
- </div>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- <div
- class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
- role="button"
- tabindex="0"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </g>
- </svg>
- <div
- class="MuiListItemText-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
- >
- Mauris vehicula tortor vulputate
- </span>
+ </button>
</div>
- <span
- class="MuiTouchRipple-root-id"
- />
</div>
- </ul>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Tasty Frozen Tuna
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- systemic
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="Component-link-id"
+ >
+ Tasty Frozen Tuna
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ systemic
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Incredible Rubber Computer
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Villages
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Incredible Rubber Computer
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Intelligent Frozen Soap
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- efficient
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ Villages
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Rustic Plastic Chips
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Buckinghamshire
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="Component-link-id"
+ >
+ Intelligent Frozen Soap
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ efficient
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Awesome Fresh Chicken
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Future
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Rustic Plastic Chips
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Buckinghamshire
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Refined Frozen Chicken
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- dot-com
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="Component-link-id"
+ >
+ Awesome Fresh Chicken
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ Future
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Practical Concrete Fish
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Public-key
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Refined Frozen Chicken
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Licensed Steel Ball
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- payment
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ dot-com
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- <span
- class="Component-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Sleek Wooden Pants
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Music
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <span
+ class="Component-link-id"
+ >
+ Practical Concrete Fish
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Public-key
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Licensed Steel Ball
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ payment
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Practical Steel Shirt
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Sleek Wooden Pants
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Music
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- International
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Categories / Category details when in root 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Categories
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add category
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Practical Steel Shirt
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ International
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
+</div>
+`;
+
+exports[`Storyshots Views / Categories / Category details when in root 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
- <ul
- class="MuiList-root-id MuiList-padding-id"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <div
- class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
- role="button"
+ Categories
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
- />
- </g>
- </svg>
- <div
- class="MuiListItemText-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
- >
- Lorem ipsum dolor
- </span>
- </div>
<span
- class="MuiTouchRipple-root-id"
- />
- </div>
- <div
- class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
- role="button"
- tabindex="0"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
- />
- </g>
- </svg>
- <div
- class="MuiListItemText-root-id"
+ class="MuiButton-label-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ Add category
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Mauris vehicula tortor vulputate
- </span>
- </div>
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
<span
class="MuiTouchRipple-root-id"
/>
- </div>
- </ul>
+ </button>
+ </div>
</div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Categories / Category details when loading 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Details
- </aside>
- <div
- class="Component-toolbar-id"
+ <ul
+ class="MuiList-root-id MuiList-padding-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ <div
+ class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
+ role="button"
tabindex="0"
- type="button"
>
- <span
- class="MuiButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Edit category
- </span>
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ >
+ Lorem ipsum dolor
+ </span>
+ </div>
<span
class="MuiTouchRipple-root-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ </div>
+ <div
+ class="MuiButtonBase-root-id MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id MuiListItem-button-id"
+ role="button"
tabindex="0"
- type="button"
>
- <span
- class="MuiButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Remove category
- </span>
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ >
+ Mauris vehicula tortor vulputate
+ </span>
+ </div>
<span
class="MuiTouchRipple-root-id"
/>
- </button>
- </div>
+ </div>
+ </ul>
</div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Categories / Category details when loading 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
<span
class="Skeleton-skeleton-id"
+ style="width:10em"
>
‌
</span>
- </div>
+ </h2>
+ <div
+ class="Component-action-id"
+ />
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Categories
- </aside>
<div
- class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add category
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <ul
- class="MuiList-root-id MuiList-padding-id"
- >
- <li
- class="MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id"
+ class="Component-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <g>
- <path
- d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
- />
- </g>
- </svg>
+ Details
+ </aside>
<div
- class="MuiListItemText-root-id"
+ class="Component-toolbar-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiButton-label-id"
>
- ‌
+ Edit category
</span>
- </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove category
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
- </li>
- </ul>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="Component-toolbar-id"
+ class="MuiCardContent-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <span
+ class="Skeleton-skeleton-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ ‌
+ </span>
</div>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Type
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ Categories
+ </aside>
+ <div
+ class="Component-toolbar-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <span
+ class="MuiButton-label-id"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
+ Add category
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <ul
+ class="MuiList-root-id MuiList-padding-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <li
+ class="MuiListItem-root-id MuiListItem-default-id MuiListItem-gutters-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiListItemIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-id"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiTypography-root-id MuiTypography-subheading-id MuiListItemText-primary-id"
>
- ‌
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
</span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiButton-label-id"
>
- ‌
+ Add product
</span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Categories / Category edit default 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit category
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Apparel"
- />
+ </button>
</div>
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <thead
+ class="MuiTableHead-root-id"
>
- Description
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="10"
- type="text"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.
- </textarea>
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- Optional
- </p>
- </div>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
- <div
- class="Component-root-id"
- >
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
- </div>
</div>
-</form>
+</div>
`;
-exports[`Storyshots Views / Categories / Category edit when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+exports[`Storyshots Views / Categories / Category edit default 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit category
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ </div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value="Apparel"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="description"
- rows="10"
- type="text"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="10"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
Tell lose part purpose do when. Whatever drug contain particularly defense.
- </textarea>
+ </textarea>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Categories / Category edit with errors 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+exports[`Storyshots Views / Categories / Category edit when loading 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit category
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ </div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="true"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Apparel"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- To pole jest wymagane.
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="10"
- type="text"
- >
- Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.
- </textarea>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="description"
+ rows="10"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Collections / Collection details default 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+exports[`Storyshots Views / Categories / Category edit with errors 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- Toys
- </h2>
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ To pole jest wymagane.
+ </p>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="10"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
+ <div
+ class="Component-spacer-id"
+ />
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
type="button"
>
<span
class="MuiButton-label-id"
>
- Show on storefront
+ Save
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
</button>
</div>
</div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Collections / Collection details default 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="MuiCardContent-root-id"
+ <span
+ class="MuiIconButton-label-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Toys"
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
/>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <img
- class="Component-image-id"
- src="placeholder540x540.png"
- />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Toys
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-link-id"
+ class="MuiButton-label-id"
>
- Remove
+ Show on storefront
</span>
- <div
- class="Component-spacer-id"
+ <span
+ class="MuiTouchRipple-root-id"
/>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-root-id"
+ class="MuiCardContent-root-id"
>
- <input
- name="backgroundImage"
- style="display:none"
- type="file"
- value=""
- />
<div
- class="MuiFormControl-root-id Component-textField-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
class="MuiInput-input-id"
+ name="name"
type="text"
- value=""
+ value="Toys"
/>
</div>
</div>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Upload
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <img
+ class="Component-image-id"
+ src="placeholder540x540.png"
+ />
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-link-id"
+ >
+ Remove
+ </span>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <input
+ name="backgroundImage"
+ style="display:none"
+ type="file"
+ value=""
/>
- </button>
+ <div
+ class="MuiFormControl-root-id Component-textField-id"
+ >
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Status
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Small Wooden Gloves
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 91937
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div
- class="Component-cardSpacer-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ Small Wooden Gloves
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 91937
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<div
- class="Component-root-id"
+ class="Component-cardSpacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Search Engine Preview
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Add search engine title and description to make this collection easier to find
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this collection easier to find
+ </p>
+ </div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Properties
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Properties
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ />
+ </svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isPublished"
+ type="checkbox"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isPublished"
- type="checkbox"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Published
- </span>
- </label>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Slug
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Published
+ </span>
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="slug"
- placeholder="Toys"
- type="text"
- value="Toys"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="slug"
+ placeholder="Toys"
+ type="text"
+ value="Toys"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create collection URL
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create collection URL
- </p>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Collections / Collection details when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
type="button"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Show on storefront
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <div>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-action-id"
>
- <div
- class="MuiCardContent-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value=""
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
<span
- class="Skeleton-skeleton-id"
+ class="MuiButton-label-id"
>
- ‌
+ Show on storefront
</span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="Component-root-id"
+ class="MuiCardContent-root-id"
>
- <input
- disabled=""
- name="backgroundImage"
- style="display:none"
- type="file"
- value=""
- />
<div
- class="MuiFormControl-root-id Component-textField-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Name
+ </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
class="MuiInput-input-id MuiInput-disabled-id"
disabled=""
+ name="name"
type="text"
value=""
/>
</div>
</div>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="Component-spacer-id"
+ />
+ <span
+ class="Skeleton-skeleton-id"
>
- <span
- class="MuiButton-label-id"
+ ‌
+ </span>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <input
+ disabled=""
+ name="backgroundImage"
+ style="display:none"
+ type="file"
+ value=""
+ />
+ <div
+ class="MuiFormControl-root-id Component-textField-id"
>
- Upload
- </span>
- </button>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload
+ </span>
+ </button>
+ </div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Products
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Add product
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Status
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div
- class="Component-cardSpacer-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<div
- class="Component-root-id"
+ class="Component-cardSpacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Search Engine Preview
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Add search engine title and description to make this collection easier to find
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this collection easier to find
+ </p>
+ </div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Properties
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ class="Component-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="isPublished"
- type="checkbox"
- />
- </span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Published
- </span>
- </label>
+ Properties
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
- Slug
+ <span
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isPublished"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Published
+ </span>
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="slug"
- placeholder=""
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="slug"
+ placeholder=""
+ type="text"
+ value=""
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create collection URL
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create collection URL
- </p>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Collections / Collection list default 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Collections
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Collections
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add collection
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add collection
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Visibility
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Products
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Products
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Toys
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 1
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Beauty
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ Toys
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 6
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Electronics
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 2
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Games
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ 1
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 6
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Music
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ Beauty
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 6
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 6
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Movies
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 9
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Sports
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ Electronics
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 9
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Books
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ 2
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 6
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Games
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 6
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Industrial
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Music
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 6
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ Movies
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 9
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 4
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Sports
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 9
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Music
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Books
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 6
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ Industrial
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 4
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 7
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Music
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ 7
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Collections / Collection list when loading 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ <div
+ class="Component-root-id"
>
- Collections
- </h2>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add collection
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Products
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Customers / Customer details default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
<div
- class="Component-action-id"
+ class="Component-root-id"
>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
type="button"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Add collection
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -15855,731 +16171,563 @@ exports[`Storyshots Views / Collections / Collection list when loading 1`] = `
>
<g>
<path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
/>
</g>
</svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ </h2>
+ <div
+ class="Component-action-id"
+ />
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="Component-root-id"
>
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Visibility
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Products
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <div
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ User details
+ </aside>
<div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-toolbar-id"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ Edit customer
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
- </div>
+ Remove customer
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </div>
+ <div
+ class="Component-children-id"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- ‌
+ <div
+ class="Component-root-id Component-status-id"
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Active
+ </div>
</span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Customers / Customer details default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- User details
- </aside>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="Component-toolbar-id"
+ class="MuiCardContent-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-date-id"
>
<span
- class="MuiButton-label-id"
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ style="display:inline"
>
- Edit customer
+ Joined
</span>
+
<span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
>
- Remove customer
+ <time
+ datetime="1507728150831"
+ >
+ Wed Oct 11 2017 13:22:30 GMT+0000
+ </time>
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <div
- class="Component-root-id Component-status-id"
- >
- <span
- class="Component-successDot-id"
- />
- Active
</div>
- </span>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-date-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
- style="display:inline"
- >
- Joined
- </span>
-
- <span
- class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
>
- <time
- datetime="1507728150831"
- >
- Wed Oct 11 2017 13:22:30 GMT+0000
- </time>
- </span>
+ No note
+ </p>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- No note
- </p>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="4"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="4"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 11
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <time
- datetime="1523099899000"
- >
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-successDot-id"
- />
- Fulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $19.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 10
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523099479000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 11:11:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-successDot-id"
+ />
+ Fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $19.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- Unfulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $28.90
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099479000"
+ >
+ Sat Apr 07 2018 11:11:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523097884000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 10:44:44 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-errorDot-id"
+ />
+ Unfulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $289.00
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ $28.90
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <time
- datetime="1523097199000"
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Sat Apr 07 2018 10:33:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <time
+ datetime="1523097884000"
+ >
+ Sat Apr 07 2018 10:44:44 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $289.00
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $100.05
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523097199000"
+ >
+ Sat Apr 07 2018 10:33:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523086759000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 07:39:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $100.05
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $14.87
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- 8
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523086759000"
+ >
+ Sat Apr 07 2018 07:39:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523042299000"
+ <div
+ class="Component-root-id "
>
- Fri Apr 06 2018 19:18:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $14.87
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- Unfulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $14.87
- </td>
- </tr>
- </tbody>
- </table>
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523042299000"
+ >
+ Fri Apr 06 2018 19:18:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Unfulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $14.87
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Default billing address
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <address>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Alexander Simonis
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 83772 Savanah Summit
- <br />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 47639-5237 Thompsontown, Rhode Island
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Buckinghamshire, Swaziland
- </span>
- </address>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ class="Component-root-id"
>
- Default shipping address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Default billing address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <address>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Alexander Simonis
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 780 Jaime Prairie
- <br />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 21665 West Bret, North Dakota
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <address>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Alexander Simonis
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 83772 Savanah Summit
+ <br />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 47639-5237 Thompsontown, Rhode Island
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Buckinghamshire, Swaziland
+ </span>
+ </address>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Sudan
- </span>
- </address>
+ Default shipping address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <address>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Alexander Simonis
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 780 Jaime Prairie
+ <br />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 21665 West Bret, North Dakota
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Sudan
+ </span>
+ </address>
+ </div>
</div>
</div>
</div>
@@ -16588,329 +16736,331 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
`;
exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- User details
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Edit customer
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ User details
+ </aside>
+ <div
+ class="Component-toolbar-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Remove customer
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit customer
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove customer
+ </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10rem"
+ <div
+ class="Component-children-id"
>
- ‌
- </span>
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10rem"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
- <hr
- class="Component-hr-id"
- />
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <table
+ class="MuiTable-root-id"
>
- ‌
- </span>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="4"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="4"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Default billing address
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Default billing address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- ‌
- </span>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Default shipping address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Default shipping address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- ‌
- </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
</div>
</div>
@@ -16919,1085 +17069,1227 @@ exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
`;
exports[`Storyshots Views / Customers / Customer list default 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Customers
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Customers
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add customer
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add customer
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- E-mail
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Localization
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ E-mail
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Localization
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Alexander Simonis
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Thompsontown, Swaziland
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Alexander Simonis
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Augustus Crist
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Lake Adela, Kenya
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Kelton Eichmann
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- East Raymond, San Marino
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Thompsontown, Swaziland
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Magnolia Brakus
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Torphyton, Chad
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Augustus Crist
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Adonis Pacocha
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Port Savanahfort, Greenland
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Carlie Walsh
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- New Eugenia, Iceland
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Lake Adela, Kenya
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Junius Crist
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Labadiechester, Morocco
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Kelton Eichmann
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Pedro Harvey
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ East Raymond, San Marino
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Lydiahaven, Cambodia
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Raven Deckow
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- East Leilafurt, Bulgaria
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Magnolia Brakus
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Paige Lesch
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Windlerton, Andorra
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Santino Bins
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Gleichnerborough, Dominica
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Torphyton, Chad
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Quinn Barrows
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- North Sister, Bangladesh
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ Adonis Pacocha
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Berry Windler
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Kenstad, United Arab Emirates
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Johnathon Kohler
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Jamilstad, Uruguay
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Port Savanahfort, Greenland
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Linwood Windler
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Carlie Walsh
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ New Eugenia, Iceland
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Keltonland, Denmark
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Junius Crist
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Labadiechester, Morocco
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Timmy Macejkovic
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="Component-link-id"
+ >
+ Pedro Harvey
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Lydiahaven, Cambodia
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Raven Deckow
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ East Leilafurt, Bulgaria
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- West Feliciamouth, Japan
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Paige Lesch
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Windlerton, Andorra
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Santino Bins
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Gleichnerborough, Dominica
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Quinn Barrows
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ North Sister, Bangladesh
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Berry Windler
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Kenstad, United Arab Emirates
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Johnathon Kohler
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Jamilstad, Uruguay
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Linwood Windler
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Keltonland, Denmark
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ Timmy Macejkovic
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ West Feliciamouth, Japan
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Customers / Customer list when loading 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Customers
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Customers
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Add customer
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
+ Add customer
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- E-mail
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Localization
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ E-mail
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Localization
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Customers / Edit customer default 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit customer
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit customer
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ </div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- E-mail
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="email"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ E-mail
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="email"
+ type="text"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Note
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputMultiline-id"
- name="note"
- rows="10"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputMultiline-id"
+ name="note"
+ rows="10"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Customers / Edit customer when adding new customer 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Add customer
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Add customer
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ </div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- E-mail
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="email"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ E-mail
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="email"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Note
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputMultiline-id"
- name="note"
- rows="10"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputMultiline-id"
+ name="note"
+ rows="10"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Customers / Edit customer when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit customer
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit customer
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ </div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- E-mail
- </label>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ E-mail
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="email"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="email"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="note"
+ rows="10"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
</div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
<div
class="Component-spacer-id"
/>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <span
+ class="MuiButton-label-id"
>
- Note
- </label>
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Customers / Edit customer with errors 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit customer
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="MuiCardContent-root-id"
+ >
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="note"
- rows="10"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ E-mail
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="email"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ This field cannot be empty
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Optional
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <textarea
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputMultiline-id"
+ name="note"
+ rows="10"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ this field cannot be empty
+ </p>
+ </div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Customers / Edit customer with errors 1`] = `
-<form>
+exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
+<div>
<div
class="Component-md-id "
>
@@ -18032,634 +18324,591 @@ exports[`Storyshots Views / Customers / Edit customer with errors 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Edit customer
+ Order #o1
</h2>
<div
class="Component-action-id"
/>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="OrderDetailsPageComponent-orderDate-id"
>
- <div
- class="MuiCardContent-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
>
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-id"
+ >
+ <div>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- E-mail
- </label>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id"
- name="email"
- type="text"
- />
- </div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ class="Component-root-id"
>
- This field cannot be empty
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Note
- </label>
- <div
- class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
- >
- <textarea
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputMultiline-id"
- name="note"
- rows="10"
- type="text"
- />
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- this field cannot be empty
- </p>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Order #o1
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="OrderDetailsPageComponent-orderDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
- >
- <time
- datetime="1523099899000"
- >
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
- </div>
- <div
- class="OrderDetailsPageComponent-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id "
>
<span
- class="MuiButton-label-id"
+ class="Component-errorDot-id"
+ />
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Add product
+ Draft
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-errorDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
- >
- Draft
- </span>
+ </div>
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
- >
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ class="OrderProducts-link-id"
>
- 1
+ Gardner, Graham and King
</span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 1
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
- >
- <div>
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ class="OrderProducts-link-id"
>
- 2
+ Gardner and Graham
</span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
>
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 2
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
>
- 7
- </span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
- tabindex="0"
- type="button"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiIconButton-label-id"
+ class="OrderProducts-link-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
- />
- </g>
- </svg>
+ Gardner and King
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 7
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id OrderProducts-deleteIcon-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ class="OrderProducts-link-id"
>
- 3
+ Graham and King
</span>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id OrderProducts-link-id"
- >
- DHL
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-container-id OrderProducts-textRight-id"
+ >
+ <div>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id Component-text-id"
+ >
+ 3
+ </span>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="OrderProducts-flexBox-id"
>
- $5.50
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id OrderProducts-link-id"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
>
- $165.70
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $5.50
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Finalize
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Finalize
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <form />
- <form />
- <form />
- <form />
- <form />
- <div
- class="OrderHistory-root-id"
- >
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
<div
- class="Component-root-id"
+ class="OrderHistory-root-id"
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ <div
+ class="Component-root-id"
>
- Order history
- </h2>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <form>
+ class="Component-root-id"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-id"
+ >
+ <div
+ class="MuiCardContent-root-id Component-noteTitle-id"
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-id Component-cardActions-id "
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
<div
- class="Component-noteRoot-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
class="MuiCardContent-root-id Component-noteTitle-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- style="background:#f44336"
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#ffc107"
>
<svg
aria-hidden="true"
@@ -18674,406 +18923,321 @@ exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
</g>
</svg>
</div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
+ >
+ </p>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-noteDate-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Note
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <time
+ datetime="1523186299000"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- placeholder="Leave your note here..."
- rows="1"
- type="text"
- />
- </div>
- </div>
- </div>
- </div>
- <div
- class="MuiCardActions-root-id Component-cardActions-id "
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add note
+ Sun Apr 08 2018 11:18:19 GMT+0000
+ </time>
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </form>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
- <div
- class="MuiCardContent-root-id Component-noteTitle-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#ffc107"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
+ </div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
<div
- class="Component-noteDate-id"
+ class="MuiCardContent-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
>
- <time
- datetime="1523186299000"
- >
- Sun Apr 08 2018 11:18:19 GMT+0000
- </time>
- </span>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
</div>
</div>
<div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
- </p>
- </div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Shipped order
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523107879000"
+ >
+ Sat Apr 07 2018 13:31:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523107879000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 13:31:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- <br />
- 9297 Barker Extension
- <br />
- 95393-6818 Keithport
- <br />
- Cyprus
- </p>
- <p />
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Received payment
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523100799000"
+ >
+ Sat Apr 07 2018 11:33:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523100799000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 11:33:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Created order
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523099899000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
@@ -19082,690 +19246,656 @@ exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Customer
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
- >
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Shipping Address
- </aside>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
+ >
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Cyprus
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Billing Address
- </aside>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Same as shipping address
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Same as shipping address
+ </p>
+ </div>
</div>
+ <form />
+ <form />
+ <form />
</div>
- <form />
- <form />
- <form />
</div>
</div>
</div>
`;
exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Order #o1
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Order #o1
- </h2>
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="OrderDetailsPageComponent-orderDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
+ class="OrderDetailsPageComponent-orderDate-id"
>
- <time
- datetime="1523099899000"
- >
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
- </div>
- <div
- class="OrderDetailsPageComponent-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
>
- <div
- class="Component-root-id"
+ <time
+ datetime="1523099899000"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-id"
+ >
+ <div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="OrderProducts-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- DHL
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- $5.50
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $5.50
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Capture
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Release
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Capture
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <form />
- <form />
- <form />
- <form />
- <form />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Fulfillment #f1
- </aside>
- <div
- class="Component-toolbar-id"
- >
+ <span
+ class="MuiButton-label-id"
+ >
+ Release
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-id"
>
- Packing slip
+ Cancel order
</span>
<span
class="MuiTouchRipple-root-id"
@@ -19773,652 +19903,688 @@ exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
</button>
</div>
</div>
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-successDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Fulfilled
- </span>
+ Fulfillment #f1
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Packing slip
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="Component-successDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
- >
- Gardner and Graham x 1
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Gardner, Graham and King x 1
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner, Graham and King x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Add tracking number
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add tracking number
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Cancel shipment
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <form />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Fulfillment #f2
- </aside>
- <div
- class="Component-toolbar-id"
- />
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel shipment
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
+ <form />
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Cancelled
- </span>
+ Fulfillment #f2
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Cancelled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- Gardner and Graham x 1
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <form />
- <div
- class="OrderHistory-root-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Order history
- </h2>
- <div
- class="Component-action-id"
- />
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
+ <form />
<div
- class="Component-root-id"
+ class="OrderHistory-root-id"
>
- <form>
- <div
- class="Component-noteRoot-id"
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <form>
<div
- class="MuiCardContent-root-id Component-noteTitle-id"
+ class="Component-noteRoot-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- style="background:#f44336"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
- </div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Note
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ style="background:#f44336"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- placeholder="Leave your note here..."
- rows="1"
- type="text"
- />
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiCardActions-root-id Component-cardActions-id "
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <div
+ class="MuiCardActions-root-id Component-cardActions-id "
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Add note
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </form>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
- <div
- class="MuiCardContent-root-id Component-noteTitle-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#ffc107"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </g>
- </svg>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
- <div
- class="Component-noteDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
- >
- <time
- datetime="1523186299000"
- >
- Sun Apr 08 2018 11:18:19 GMT+0000
- </time>
- </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
- </p>
- </div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
+ </form>
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#ffc107"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipped order
- </p>
- <div
- class="Component-nodeDate-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
- >
- <time
- datetime="1523107879000"
- >
- Sat Apr 07 2018 13:31:19 GMT+0000
- </time>
- </span>
- </div>
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
</div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
+ >
+ </p>
<div
- aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
+ class="Component-noteDate-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <time
+ datetime="1523186299000"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
+ Sun Apr 08 2018 11:18:19 GMT+0000
+ </time>
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
</div>
</div>
<div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
+ class="MuiCardContent-root-id"
>
- <div
- class="MuiCollapse-wrapper-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
>
- <div
- class="MuiCollapse-wrapperInner-id"
- >
- <div
- class="MuiExpansionPanelDetails-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
- >
- </span>
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- <br />
- 9297 Barker Extension
- <br />
- 95393-6818 Keithport
- <br />
- Cyprus
- </p>
- <p />
- </div>
- </div>
- </div>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Received payment
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523107879000"
+ >
+ Sat Apr 07 2018 13:31:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523100799000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 11:33:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Created order
- </p>
<div
- class="Component-nodeDate-id"
+ class="MuiExpansionPanelSummary-content-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <time
- datetime="1523099899000"
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1523100799000"
+ >
+ Sat Apr 07 2018 11:33:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="MuiCollapse-wrapper-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiCollapse-wrapperInner-id"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ <div
+ class="MuiExpansionPanelDetails-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
</div>
</div>
+ </div>
+ <div
+ class="Component-nodeRoot-id"
+ >
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiCollapse-wrapper-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
@@ -20427,645 +20593,611 @@ exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Customer
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
+ >
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Shipping Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Cyprus
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Billing Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Same as shipping address
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Same as shipping address
+ </p>
+ </div>
</div>
+ <form />
+ <form />
+ <form />
</div>
- <form />
- <form />
- <form />
</div>
</div>
</div>
`;
exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Order #o1
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Order #o1
- </h2>
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="OrderDetailsPageComponent-orderDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
+ class="OrderDetailsPageComponent-orderDate-id"
>
- <time
- datetime="1523099899000"
- >
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
- </div>
- <div
- class="OrderDetailsPageComponent-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id DateFormatter-root-id"
>
- <div
- class="Component-root-id"
+ <time
+ datetime="1523099899000"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-id"
+ >
+ <div>
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Partially fulfilled
- </span>
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Partially fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Gardner, Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123021
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 1
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $12.40
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Gardner and Graham
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123022
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $11.60
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 2
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $23.20
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <span
+ class="OrderProducts-link-id"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Gardner and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123023
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $22.40
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 7
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $156.80
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ $12.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="OrderProducts-link-id"
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
>
- Graham and King
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 9123024
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $9.90
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- 3
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- $29.70
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ $12.40
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- DHL
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $160.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $5.50
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <span
+ class="OrderProducts-link-id"
>
- $165.70
- </p>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $11.60
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $23.20
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $22.40
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $156.80
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="OrderProducts-flexBox-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- $19.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- -$13.20
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="OrderProducts-link-id"
>
- $6.00
- </p>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Invoice
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $9.90
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ $29.70
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $160.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $5.50
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $165.70
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $19.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ -$13.20
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ $6.00
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Fulfill
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Refund
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
+ tabindex="0"
+ type="button"
>
- Cancel order
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <form />
- <form />
- <form />
- <form />
- <form />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Fulfillment #f1
- </aside>
- <div
- class="Component-toolbar-id"
- >
+ <span
+ class="MuiButton-label-id"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-id"
>
- Packing slip
+ Cancel order
</span>
<span
class="MuiTouchRipple-root-id"
@@ -21073,652 +21205,688 @@ exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
</button>
</div>
</div>
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-successDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Fulfilled
- </span>
+ Fulfillment #f1
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Packing slip
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="Component-successDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Fulfilled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- Gardner and Graham x 1
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Gardner, Graham and King x 1
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner, Graham and King x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Add tracking number
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add tracking number
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Cancel shipment
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <form />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Fulfillment #f2
- </aside>
- <div
- class="Component-toolbar-id"
- />
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel shipment
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
+ <form />
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
>
<div
- class="Component-root-id "
+ class="Component-root-id"
>
- <span
- class="Component-neutralDot-id"
- />
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Cancelled
- </span>
+ Fulfillment #f2
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-children-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id "
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="Component-neutralDot-id"
/>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-span-id"
>
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Cancelled
+ </span>
+ </div>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder60x60.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- Gardner and Graham x 1
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <form />
- <div
- class="OrderHistory-root-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Order history
- </h2>
- <div
- class="Component-action-id"
- />
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderFulfillment-textLeft-id"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
+ <form />
<div
- class="Component-root-id"
+ class="OrderHistory-root-id"
>
- <form>
- <div
- class="Component-noteRoot-id"
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <form>
<div
- class="MuiCardContent-root-id Component-noteTitle-id"
+ class="Component-noteRoot-id"
>
<div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- style="background:#f44336"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ style="background:#f44336"
>
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
- />
- </g>
- </svg>
- </div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Note
- </label>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Note
+ </label>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- placeholder="Leave your note here..."
- rows="1"
- type="text"
- />
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiCardActions-root-id Component-cardActions-id "
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <div
+ class="MuiCardActions-root-id Component-cardActions-id "
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
>
- Add note
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </form>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
- >
- <div
- class="MuiCardContent-root-id Component-noteTitle-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
- style="background:#ffc107"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </g>
- </svg>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
- >
- </p>
- <div
- class="Component-noteDate-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
- >
- <time
- datetime="1523186299000"
- >
- Sun Apr 08 2018 11:18:19 GMT+0000
- </time>
- </span>
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
- </p>
- </div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
+ </form>
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-noteRoot-id"
>
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiCardContent-root-id Component-noteTitle-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ style="background:#ffc107"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipped order
- </p>
- <div
- class="Component-nodeDate-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
- >
- <time
- datetime="1523107879000"
- >
- Sat Apr 07 2018 13:31:19 GMT+0000
- </time>
- </span>
- </div>
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
</div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteUser-id"
+ >
+ </p>
<div
- aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
+ class="Component-noteDate-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <time
+ datetime="1523186299000"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
+ Sun Apr 08 2018 11:18:19 GMT+0000
+ </time>
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
</div>
</div>
<div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
+ class="MuiCardContent-root-id"
>
- <div
- class="MuiCollapse-wrapper-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noteContent-id"
>
- <div
- class="MuiCollapse-wrapperInner-id"
- >
- <div
- class="MuiExpansionPanelDetails-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
- >
- </span>
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- <br />
- 9297 Barker Extension
- <br />
- 95393-6818 Keithport
- <br />
- Cyprus
- </p>
- <p />
- </div>
- </div>
- </div>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelSummary-content-id"
>
- Received payment
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523107879000"
+ >
+ Sat Apr 07 2018 13:31:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
<div
- class="Component-nodeDate-id"
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiIconButton-label-id"
>
- <time
- datetime="1523100799000"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Sat Apr 07 2018 11:33:19 GMT+0000
- </time>
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </div>
- </div>
- <div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
- >
- <div
- class="MuiCollapse-wrapper-id"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id OrderHistory-user-id"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-nodeRoot-id"
- >
- <span
- class="Component-nodeDot-id"
- />
<div
- class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
+ class="Component-nodeRoot-id"
>
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-expanded="false"
- class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
- role="button"
- tabindex="0"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiExpansionPanelSummary-content-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Created order
- </p>
<div
- class="Component-nodeDate-id"
+ class="MuiExpansionPanelSummary-content-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <time
- datetime="1523099899000"
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
>
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
+ <time
+ datetime="1523100799000"
+ >
+ Sat Apr 07 2018 11:33:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</div>
</div>
<div
aria-hidden="true"
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
- role="button"
- tabindex="-1"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="MuiCollapse-wrapper-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiCollapse-wrapperInner-id"
>
- <g>
- <path
- d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ <div
+ class="MuiExpansionPanelDetails-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
</div>
</div>
+ </div>
+ <div
+ class="Component-nodeRoot-id"
+ >
+ <span
+ class="Component-nodeDot-id"
+ />
<div
- aria-hidden="true"
- class="MuiCollapse-container-id"
- style="min-height:0px"
+ class="MuiPaper-root-id MuiPaper-elevation0-id MuiExpansionPanel-root-id Component-panel-id"
>
<div
- class="MuiCollapse-wrapper-id"
+ aria-expanded="false"
+ class="MuiButtonBase-root-id MuiExpansionPanelSummary-root-id"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiExpansionPanelSummary-expandIcon-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-id"
+ style="min-height:0px"
>
<div
- class="MuiCollapse-wrapperInner-id"
+ class="MuiCollapse-wrapper-id"
>
<div
- class="MuiExpansionPanelDetails-root-id"
+ class="MuiCollapse-wrapperInner-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiExpansionPanelDetails-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- </span>
- </p>
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ </span>
+ </p>
+ </div>
</div>
</div>
</div>
@@ -21727,444 +21895,527 @@ exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Customer
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id OrderCustomer-link-id"
+ >
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Shipping Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Test Client
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 9297 Barker Extension
- <br />
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 95393-6818 Keithport
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Cyprus
- </p>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Billing Address
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Same as shipping address
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Same as shipping address
+ </p>
+ </div>
</div>
+ <form />
+ <form />
+ <form />
</div>
- <form />
- <form />
- <form />
</div>
</div>
</div>
`;
exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ </div>
+ <span
+ class="Skeleton-skeleton-id"
>
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
+ ‌
+ </span>
<div
- class="Component-action-id"
- />
- </div>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- <div
- class="OrderDetailsPageComponent-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="OrderDetailsPageComponent-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Order Summary
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id OrderProducts-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Unit price
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Quantity
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Order Summary
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id OrderProducts-denseTable-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-avatarCell-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderProducts-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-avatarCell-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Subtotal
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Shipping
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id"
>
- <b>
- Total
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
class="Skeleton-skeleton-id"
>
‌
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
class="Skeleton-skeleton-id"
>
‌
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
class="Skeleton-skeleton-id"
>
‌
</span>
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- colspan="5"
- >
- <div
- class="OrderProducts-flexBox-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Paid by customer
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Refunded
- </p>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- <b>
- Net payment
- </b>
- </p>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
- >
- <div
- class="OrderProducts-flexBox-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
class="Skeleton-skeleton-id"
>
‌
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
class="Skeleton-skeleton-id"
>
‌
</span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ colspan="5"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderProducts-textRight-id"
+ >
+ <div
+ class="OrderProducts-flexBox-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ />
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Packing slip
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
class="Skeleton-skeleton-id"
>
‌
</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id OrderFulfillment-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- />
+ </td>
+ </tr>
+ </tbody>
+ </table>
<div
- class="Component-toolbar-id"
+ class="MuiCardActions-root-id"
>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id MuiCardActions-action-id"
disabled=""
tabindex="-1"
type="button"
@@ -22172,2345 +22423,1890 @@ exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
<span
class="MuiButton-label-id"
>
- Packing slip
+ Edit tracking number
</span>
</button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id MuiCardActions-action-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
+ <span
+ class="MuiButton-label-id"
>
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ Cancel shipment
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="OrderHistory-root-id"
+ >
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div>
<div
- class="MuiCardActions-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id MuiCardActions-action-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Customer
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
<span
- class="MuiButton-label-id"
+ class="Skeleton-skeleton-id"
>
- Edit tracking number
+ ‌
</span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-flat-id MuiButton-disabled-id MuiCardActions-action-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Shipping Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
<span
- class="MuiButton-label-id"
+ class="Skeleton-skeleton-id"
>
- Cancel shipment
+ ‌
</span>
- </button>
- </div>
- </div>
- <div
- class="OrderHistory-root-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
>
- Order history
- </h2>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Billing Address
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-action-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
</div>
</div>
- <div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Orders / Order list default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Orders
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-action-id"
>
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Customer
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiButton-label-id"
>
- ‌
+ Add order
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
</span>
<span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Shipping Address
- </aside>
- <div
- class="Component-toolbar-id"
+ class="MuiTouchRipple-root-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Billing Address
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
+ </button>
</div>
</div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Orders / Order list default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Orders
- </h2>
<div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add order
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Fulfillment
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Client
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created at
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Payment status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="6"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="6"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 11
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="Component-root-id "
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- <span
- class="Component-successDot-id"
- />
- Fulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523099899000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 11:18:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Confirmed
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
- >
- 19.20
- <span
- class="OrderList-currency-id"
+ <span
+ class="Component-successDot-id"
+ />
+ Fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- USD
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 10
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- Unfulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099899000"
+ >
+ Sat Apr 07 2018 11:18:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523099479000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 11:11:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-successDot-id"
+ />
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
+ 19.20
<span
- class="Component-successDot-id"
- />
- Confirmed
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 28.90
- <span
- class="OrderList-currency-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- USD
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Unfulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523099479000"
+ >
+ Sat Apr 07 2018 11:11:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523097884000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 10:44:44 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-successDot-id"
+ />
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
+ 28.90
<span
- class="Component-errorDot-id"
- />
- Rejected
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 289.00
- <span
- class="OrderList-currency-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- USD
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523097884000"
+ >
+ Sat Apr 07 2018 10:44:44 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523097199000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 10:33:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-errorDot-id"
+ />
+ Rejected
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
+ 289.00
<span
- class="Component-errorDot-id"
- />
- unknown
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 100.05
- <span
- class="OrderList-currency-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- USD
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 9
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- shipped
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523097199000"
+ >
+ Sat Apr 07 2018 10:33:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523086759000"
+ <div
+ class="Component-root-id "
>
- Sat Apr 07 2018 07:39:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-errorDot-id"
+ />
+ unknown
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
+ 100.05
<span
- class="Component-neutralDot-id"
- />
- Waiting for confirmation
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 14.87
- <span
- class="OrderList-currency-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- USD
- </span>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
- >
- 8
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ shipped
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Component-errorDot-id"
- />
- Unfulfilled
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523086759000"
+ >
+ Sat Apr 07 2018 07:39:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1523042299000"
+ <div
+ class="Component-root-id "
>
- Fri Apr 06 2018 19:18:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <span
+ class="Component-neutralDot-id"
+ />
+ Waiting for confirmation
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
+ 14.87
<span
- class="Component-errorDot-id"
- />
- Rejected
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 14.87
- <span
- class="OrderList-currency-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
>
- USD
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Orders / Order list loading 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Orders
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add order
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Fulfillment
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Client
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created at
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Payment status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="6"
- >
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="Component-root-id "
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <span
+ class="Component-errorDot-id"
+ />
+ Unfulfilled
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ >
+ <time
+ datetime="1523042299000"
+ >
+ Fri Apr 06 2018 19:18:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Rejected
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ 14.87
+ <span
+ class="OrderList-currency-id"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Views / Orders / Order list when no data 1`] = `
-<div
- class="Component-md-id "
->
+exports[`Storyshots Views / Orders / Order list loading 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Orders
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add order
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ Orders
+ </h2>
+ <div
+ class="Component-action-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="MuiButton-label-id"
>
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Fulfillment
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Client
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created at
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Payment status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="6"
- >
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ Add order
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="6"
- >
- No orders found
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Pages / Page details when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <table
+ class="MuiTable-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="6"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Title
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="title"
- type="text"
- value=""
+ <div
+ class="TablePagination-spacer-id"
/>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Content
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
- >
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="TablePaginationActions-root-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
disabled=""
- name="content"
- rows="1"
- type="text"
- />
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Slug
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ <span
+ class="Skeleton-skeleton-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="slug"
- type="text"
- value=""
- />
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
>
- Slug is being used to create page URL
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <span
+ class="Skeleton-skeleton-id"
>
- Available on
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="availableOn"
- type="date"
- value=""
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
+ class="Skeleton-skeleton-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="isVisible"
- type="checkbox"
- />
- </span>
+ ‌
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ class="Skeleton-skeleton-id"
>
- Published
+ ‌
</span>
- </label>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
-</form>
+</div>
`;
-exports[`Storyshots Views / Pages / Page details with delete button 1`] = `
-<form>
+exports[`Storyshots Views / Orders / Order list when no data 1`] = `
+<div>
<div
class="Component-md-id "
>
<div
class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
+ Orders
</h2>
<div
class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="MuiCardContent-root-id"
+ <span
+ class="MuiButton-label-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Title
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id"
- name="title"
- type="text"
- value="Lorem Ipsum"
+ Add order
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
/>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="6"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Content
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
+ type="button"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- rows="1"
- type="text"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="6"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Slug
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="slug"
- type="text"
- value="lorem-ipsum-dolor"
+ No orders found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Pages / Page details when loading 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
/>
- </div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create page URL
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Available on
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-03-20T16:39:08.850105+00:00"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="title"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="content"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id"
+ class="MuiCardContent-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="slug"
+ type="text"
+ value=""
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="availableOn"
+ type="date"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isVisible"
+ type="checkbox"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isVisible"
- type="checkbox"
- />
+ </span>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Published
- </span>
- </label>
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Published
+ </span>
+ </label>
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Pages / Page details with initial data 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+exports[`Storyshots Views / Pages / Page details with delete button 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Title
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autofocus=""
- class="MuiInput-input-id"
- name="title"
- type="text"
- value="Lorem Ipsum"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Content
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Title
+ </label>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
- <textarea
+ <input
aria-invalid="false"
aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="content"
- rows="1"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="title"
type="text"
- >
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
- </textarea>
+ value="Lorem Ipsum"
+ />
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- Select text to enable text-formatting tools.
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ rows="1"
+ type="text"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Slug
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="slug"
- type="text"
- value="lorem-ipsum-dolor"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create page URL
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create page URL
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Available on
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-03-20T16:39:08.850105+00:00"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
+ />
+ </svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isVisible"
+ type="checkbox"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isVisible"
- type="checkbox"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Published
- </span>
- </label>
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Published
+ </span>
+ </label>
+ </div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Pages / Page list default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Pages
- </h2>
+exports[`Storyshots Views / Pages / Page details with initial data 1`] = `
+<div>
+ <form>
<div
- class="Component-action-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
>
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="MuiCardContent-root-id"
>
<div
- class="TablePagination-spacer-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-id"
+ name="title"
+ type="text"
+ value="Lorem Ipsum"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
/>
<div
- class="TablePaginationActions-root-id"
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ Content
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
>
- <svg
+ <textarea
aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="content"
+ rows="1"
+ type="text"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- About
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- /about
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Terms of use
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- /terms-of-use
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id "
+ class="MuiCardContent-root-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Pages / Page list loading 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Pages
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-id"
/>
- </g>
- </svg>
- </span>
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
- >
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
- >
<div
- class="TablePagination-spacer-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
/>
<div
- class="TablePaginationActions-root-id"
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
<span
class="MuiIconButton-label-id"
@@ -24522,1164 +24318,945 @@ exports[`Storyshots Views / Pages / Page list loading 1`] = `
viewBox="0 0 24 24"
>
<path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
/>
</svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isVisible"
+ type="checkbox"
+ />
</span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
<span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
- </div>
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Published
+ </span>
+ </label>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
</div>
`;
-exports[`Storyshots Views / Pages / Page list no data 1`] = `
-<div
- class="Component-md-id "
->
+exports[`Storyshots Views / Pages / Page list default 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Pages
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiIconButton-label-id"
+ Pages
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Visibility
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="3"
+ <tr
+ class="MuiTableRow-root-id"
>
- No pages found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ About
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ /about
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Published
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Terms of use
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ /terms-of-use
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Views / Product types / Product type details default 1`] = `
-<form>
+exports[`Storyshots Views / Pages / Page list loading 1`] = `
+<div>
<div
class="Component-md-id "
>
<div
class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Cotton
+ Pages
</h2>
<div
class="Component-action-id"
- />
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="Cotton"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Visibility
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Product attributes
- </label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
+ type="button"
>
<span
- class="MuiChip-label-id"
+ class="MuiIconButton-label-id"
>
- Virginia
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
</span>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
- </svg>
- </div>
- <div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
+ type="button"
>
<span
- class="MuiChip-label-id"
+ class="MuiIconButton-label-id"
>
- Tasty Granite Table
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
</span>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
- </svg>
- </div>
- <div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiChip-label-id"
- >
- Small
- </span>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
- </svg>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-21-input"
- type="text"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Variant attributes
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiChip-label-id"
- >
- enhance
- </span>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
- </svg>
- </div>
- <div
- class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiChip-label-id"
- >
- Djibouti Franc
- </span>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
- />
- </svg>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-22-input"
- type="text"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ </button>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Properties
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
- />
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="hasVariants"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ class="Skeleton-skeleton-id"
>
- Has variants
+ ‌
</span>
- </label>
- <label
- class="MuiFormControlLabel-root-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
+ class="Skeleton-skeleton-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
- />
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isShippingRequired"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ ‌
</span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ class="Skeleton-skeleton-id"
>
- Requires shipping
+ ‌
</span>
- </label>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Tax rate
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <div
- class="MuiSelect-root-id"
- >
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- standard
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="taxRate"
- type="hidden"
- value="standard"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
-</form>
+</div>
`;
-exports[`Storyshots Views / Product types / Product type details loading 1`] = `
-<form>
+exports[`Storyshots Views / Pages / Page list no data 1`] = `
+<div>
<div
class="Component-md-id "
>
<div
class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
+ Pages
</h2>
<div
class="Component-action-id"
- />
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="MuiCardContent-root-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value=""
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Visibility
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Product attributes
- </label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-23-input"
- type="text"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <g
- style="fill-rule:evenodd"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <div
- class="Component-root-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="3"
>
- Properties
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ No pages found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Product types / Product type details default 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Cotton
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div
+ class="MuiCardContent-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiIconButton-label-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="hasVariants"
- type="checkbox"
- />
- </span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Has variants
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
- >
- <span
- class="MuiIconButton-label-id"
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
<input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="isShippingRequired"
- type="checkbox"
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="Cotton"
/>
- </span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Requires shipping
- </span>
- </label>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Tax rate
- </label>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-container-id"
>
<div
- class="MuiSelect-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Product attributes
+ </label>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <span>
- ​
- </span>
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Virginia
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Tasty Granite Table
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Small
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-21-input"
+ type="text"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="taxRate"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <p
+ class="MuiFormHelperText-root-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
+ Optional
+ </p>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
>
- Optional
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Product types / Product types list default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Product types
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add product type
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Product attributes
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Variant attributes
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Variant attributes
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ enhance
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <div
+ class="MuiChip-root-id MuiChip-deletable-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Djibouti Franc
+ </span>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiChip-deleteIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
+ />
+ </svg>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-22-input"
+ type="text"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Properties
+ </aside>
<div
- class="TablePagination-spacer-id"
+ class="Component-toolbar-id"
/>
- <div
- class="TablePaginationActions-root-id"
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
<span
class="MuiIconButton-label-id"
@@ -25691,15 +25268,31 @@ exports[`Storyshots Views / Product types / Product types list default 1`] = `
viewBox="0 0 24 24"
>
<path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
/>
</svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="hasVariants"
+ type="checkbox"
+ />
</span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Has variants
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-id"
>
<span
class="MuiIconButton-label-id"
@@ -25711,469 +25304,191 @@ exports[`Storyshots Views / Product types / Product types list default 1`] = `
viewBox="0 0 24 24"
>
<path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
/>
</svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isShippingRequired"
+ type="checkbox"
+ />
</span>
<span
class="MuiTouchRipple-root-id"
/>
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Steel
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- virtual, Shoes
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- experiences, Visionary
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Steel two
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- array
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Frozen
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Computers, Parkway, bypass, Lead
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Burkina Faso, bluetooth
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Fresh
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Jordanian Dinar
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- payment
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Concrete
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Concrete
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Ergonomic Granite Bike
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Cotton
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Iraq
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Steel three
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Taiwan, maroon, Chair, client-driven
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- online
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Cotton two
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- next generation
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Representative
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Frozen two
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Chile
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Balanced
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Soft
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- drive, needs-based, hard drive, Pants
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- interface, Kroon
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Product types / Product types list loading 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Product types
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add product type
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Product attributes
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Variant attributes
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
- >
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
- >
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Requires shipping
+ </span>
+ </label>
<div
- class="TablePagination-spacer-id"
+ class="Component-spacer-id"
/>
<div
- class="TablePaginationActions-root-id"
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ Tax rate
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="MuiSelect-root-id"
>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ standard
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="taxRate"
+ type="hidden"
+ value="standard"
+ />
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
focusable="false"
viewBox="0 0 24 24"
>
<path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ d="M7 10l5 5 5-5z"
/>
</svg>
- </span>
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
</div>
`;
-exports[`Storyshots Views / Products / Create product When loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+exports[`Storyshots Views / Product types / Product type details loading 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Add product
- </h2>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiIconButton-label-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- General information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="Component-root-id"
+ class="MuiCardContent-root-id"
>
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
@@ -26193,69 +25508,69 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
class="MuiInput-input-id MuiInput-disabled-id"
disabled=""
name="name"
- rows="5"
type="text"
value=""
/>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="description"
- rows="1"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Product attributes
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-23-input"
+ type="text"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
+ <div
+ class="Component-spacer-id"
+ />
</div>
</div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -26265,7 +25580,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Pricing
+ Properties
</aside>
<div
class="Component-toolbar-id"
@@ -26273,6 +25588,12 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
</div>
<div
class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
<label
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
@@ -26297,7 +25618,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<input
class="MuiSwitchBase-input-id"
disabled=""
- name="chargeTaxes"
+ name="hasVariants"
type="checkbox"
/>
</span>
@@ -26305,592 +25626,725 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
>
- Charge taxes for this item
+ Has variants
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isShippingRequired"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Requires shipping
</span>
</label>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Tax rate
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="price"
- >
- Price
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiSelect-root-id"
>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="price"
- type="number"
+ name="taxRate"
+ type="hidden"
value=""
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- USD
- </p>
- </div>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
</div>
</div>
</div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<div
- class="Component-cardContainer-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <span
+ class="MuiButton-label-id"
>
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
- <div
- class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Add search engine title and description to make this product easier to find
- </p>
- </div>
- </div>
- </div>
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
</div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Product types / Product types list default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Product types
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiButton-label-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ Add product type
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- <div
- class="MuiCardContent-root-id"
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="Component-container-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Product Type
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-6-input"
- type="text"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <div
- class="MuiSelect-root-id"
- >
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
- >
- No
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="false"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ Product attributes
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- Attributes
- </p>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ Variant attributes
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Category
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
<div
- class="MuiSelect-root-id"
- >
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
- >
- <span>
- ​
- </span>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Collections
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
+ class="TablePagination-spacer-id"
+ />
<div
- class="MuiSelect-root-id"
+ class="TablePaginationActions-root-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <span>
- ​
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
</span>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Availability
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-pullUp-id"
- >
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiSwitch-root-id"
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
<span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
- tabindex="-1"
+ class="MuiIconButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="available"
- type="checkbox"
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
/>
- </span>
+ </svg>
</span>
<span
- class="MuiSwitch-bar-id"
+ class="MuiTouchRipple-root-id"
/>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
- </span>
- </label>
+ </button>
+ </div>
</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save product
- </span>
- </button>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Steel
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ virtual, Shoes
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ experiences, Visionary
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Steel two
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ array
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Frozen
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Computers, Parkway, bypass, Lead
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Burkina Faso, bluetooth
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Fresh
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Jordanian Dinar
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ payment
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Concrete
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Concrete
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Ergonomic Granite Bike
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Cotton
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Iraq
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Steel three
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Taiwan, maroon, Chair, client-driven
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ online
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Cotton two
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ next generation
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Representative
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Frozen two
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Chile
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Balanced
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ Soft
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ drive, needs-based, hard drive, Pants
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ interface, Kroon
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
-</form>
+</div>
`;
-exports[`Storyshots Views / Products / Create product default 1`] = `
-<form>
+exports[`Storyshots Views / Product types / Product types list loading 1`] = `
+<div>
<div
class="Component-md-id "
>
<div
class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Add product
+ Product types
</h2>
<div
class="Component-action-id"
- />
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product type
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="Component-root-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- General information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-root-id"
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- rows="5"
- type="text"
- value=""
- />
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ Product attributes
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Variant attributes
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
- />
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
>
- Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Create product When loading 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Add product
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -26900,7 +26354,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Pricing
+ General information
</aside>
<div
class="Component-toolbar-id"
@@ -26908,43 +26362,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
</div>
<div
class="Component-children-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="chargeTaxes"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Charge taxes for this item
- </span>
- </label>
- </div>
+ />
<hr
class="Component-hr-id"
/>
@@ -26960,315 +26378,234 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
- for="price"
>
- Price
+ Name
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="price"
- type="number"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ rows="5"
+ type="text"
value=""
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- USD
- </p>
- </div>
</div>
</div>
</div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
>
- <span
- class="MuiButton-label-id"
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Add search engine title and description to make this product easier to find
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-container-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Product Type
- </label>
+ Pricing
+ </aside>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-5-input"
- type="text"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
>
- <g
- style="fill-rule:evenodd"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="chargeTaxes"
+ type="checkbox"
/>
- </g>
- </svg>
- </div>
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Charge taxes for this item
+ </span>
+ </label>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiCardContent-root-id"
>
<div
- class="MuiSelect-root-id"
+ class="Component-root-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- No
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
+ </div>
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="false"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
</div>
</div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
- <hr
- class="Component-hr-id"
- />
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Category
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Search Engine Preview
+ </aside>
<div
- class="MuiSelect-root-id"
+ class="Component-toolbar-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
tabindex="0"
+ type="button"
>
- <span>
- ​
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
</span>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </svg>
+ </button>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Collections
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <div
- class="MuiSelect-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- <span>
- ​
- </span>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
+ Add search engine title and description to make this product easier to find
+ </p>
</div>
</div>
</div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -27276,7 +26613,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Availability
+ Organize Product
</aside>
<div
class="Component-toolbar-id"
@@ -27292,814 +26629,1328 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
class="MuiCardContent-root-id"
>
<div
- class="Component-pullUp-id"
+ class="Component-container-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiSwitch-root-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Product Type
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ id="downshift-6-input"
+ type="text"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Is it configurable?
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ No
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="false"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-pullUp-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ class="MuiSwitch-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
+ tabindex="-1"
>
<span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- name="available"
- type="checkbox"
- />
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="available"
+ type="checkbox"
+ />
+ </span>
</span>
<span
- class="MuiTouchRipple-root-id"
+ class="MuiSwitch-bar-id"
/>
</span>
<span
- class="MuiSwitch-bar-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- <div
- class="Component-label-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
>
- Published in storefront
- </div>
- </span>
- </label>
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save product
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
-exports[`Storyshots Views / Products / Create product variant default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+exports[`Storyshots Views / Products / Create product default 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="Component-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Add variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
+ <span
+ class="MuiIconButton-label-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Variants
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- <table
- class="MuiTable-root-id"
- >
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Cordoba Oro
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- silver
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Add product
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- General Information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id Component-grid-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Color
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-17-input"
- type="text"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ General information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Pricing
- </aside>
- <div
- class="Component-toolbar-id"
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
+ <div
+ class="Component-root-id"
+ >
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
- for="priceOverride"
>
- Selling price override
+ Name
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="priceOverride"
- type="number"
+ class="MuiInput-input-id"
+ name="name"
+ rows="5"
+ type="text"
value=""
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- USD
- </p>
- </div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- <div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Description
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="costPrice"
- >
- Cost price override
- </label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Textarea-root-id"
+ style="height:19px"
>
- <input
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="costPrice"
- type="number"
- value=""
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- USD
- </p>
- </div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="Component-cardContainer-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Stock
- </aside>
<div
- class="Component-toolbar-id"
- />
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="chargeTaxes"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Charge taxes for this item
+ </span>
+ </label>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="price"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Search Engine Preview
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this product easier to find
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
- class="Component-grid-id"
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Organize Product
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <div>
+ <div
+ class="Component-container-id"
+ >
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
>
- Inventory
+ Product Type
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
+ autocomplete="off"
class="MuiInput-input-id"
- name="stock"
+ id="downshift-5-input"
type="text"
- value="0"
+ value=""
/>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
</div>
</div>
- <div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Is it configurable?
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <div
+ class="MuiSelect-root-id"
>
- SKU (Stock Keeping Unit)
- </label>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ No
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="false"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiSelect-root-id"
>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id"
- name="sku"
- type="text"
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
value=""
/>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</div>
</div>
</div>
</div>
- </div>
- </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-pullUp-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiSwitch-root-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
</div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Create product variant default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
<div
class="Component-root-id"
>
- <div
- class="Component-spacer-id"
- />
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
tabindex="0"
type="button"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Cancel
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Save variant
- </span>
- </button>
+ Add variant
+ </h2>
+ <div
+ class="Component-action-id"
+ />
</div>
- </form>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Create product variant when loading data 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <form>
+ <div
+ class="Component-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Add variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Variants
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Variants
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <tbody
- class="MuiTableBody-root-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Cordoba Oro
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ silver
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- General Information
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id Component-grid-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ class="Component-root-id"
>
- Pricing
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ General Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id Component-grid-id"
>
- <div>
+ <div
+ class="Component-container-id"
+ >
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
- for="priceOverride"
>
- Selling price override
+ Color
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="priceOverride"
- type="number"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-17-input"
+ type="text"
value=""
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <g
+ style="fill-rule:evenodd"
>
- USD
- </p>
- </div>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="costPrice"
- >
- Cost price override
- </label>
+ <div
+ class="Component-spacer-id"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="costPrice"
- type="number"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="priceOverride"
+ >
+ Selling price override
+ </label>
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="priceOverride"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- USD
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Optional
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Stock
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Stock
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Inventory
- </label>
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="stock"
- type="text"
- value="0"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="stock"
+ type="text"
+ value="0"
+ />
+ </div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- SKU (Stock Keeping Unit)
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="sku"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value=""
+ />
+ </div>
</div>
</div>
</div>
@@ -28107,474 +27958,399 @@ exports[`Storyshots Views / Products / Create product variant when loading data
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save variant
- </span>
- </button>
- </div>
- </form>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Products / Create product variant with errors 1`] = `
-<div
- class="Component-md-id "
->
+exports[`Storyshots Views / Products / Create product variant when loading data 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Add variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
<div
class="Component-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Add variant
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <form>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Variants
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Variants
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <tbody
- class="MuiTableBody-root-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Cordoba Oro
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- silver
- </td>
- </tr>
- </tbody>
- </table>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- General Information
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ General Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
+ <div
+ class="MuiCardContent-root-id Component-grid-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id Component-grid-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Color
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-18-input"
- type="text"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Pricing
- </aside>
- <div
- class="Component-toolbar-id"
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="priceOverride"
- >
- Selling price override
- </label>
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="priceOverride"
- type="number"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="priceOverride"
+ >
+ Selling price override
+ </label>
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="priceOverride"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- USD
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- Generic error
- </p>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="costPrice"
- >
- Cost price override
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="costPrice"
- type="number"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
+ >
+ Cost price override
+ </label>
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- USD
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- Generic error
- </p>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Stock
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Stock
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Inventory
- </label>
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id"
- name="stock"
- type="text"
- value="0"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="stock"
+ type="text"
+ value="0"
+ />
+ </div>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- Generic error
- </p>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- SKU (Stock Keeping Unit)
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="true"
- aria-required="false"
- class="MuiInput-input-id"
- name="sku"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="sku"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
- >
- Generic error
- </p>
</div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save variant
- </span>
- </button>
- </div>
- </form>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`] = `
-<form>
+exports[`Storyshots Views / Products / Create product variant with errors 1`] = `
+<div>
<div
class="Component-md-id "
>
@@ -28609,128 +28385,166 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Ergonomic Plastic Bacon
+ Add variant
</h2>
<div
class="Component-action-id"
/>
</div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <form>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- General information
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Variants
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
+ <table
+ class="MuiTable-root-id"
+ >
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Cordoba Oro
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ silver
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
+ </div>
+ <div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- rows="5"
- type="text"
- value="Ergonomic Plastic Bacon"
- />
- </div>
- </div>
+ General Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
<div
- class="MuiFormControl-root-id"
- style="width:100%"
+ class="MuiCardContent-root-id Component-grid-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-container-id"
>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
>
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
+ Color
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-18-input"
+ type="text"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
+ <div
+ class="Component-spacer-id"
+ />
</div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
class="Component-root-id"
@@ -28738,31 +28552,11 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Images
+ Pricing
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Upload image
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <input
- class="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -28774,352 +28568,91 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="Component-grid-id"
>
- <div
- class="Component-imageContainer-id"
- >
+ <div>
<div
- class="Component-imageOverlay-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="priceOverride"
+ >
+ Selling price override
+ </label>
<div
- class="Component-imageOverlayToolbar-id"
+ class="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="priceOverride"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- <span
- class="MuiIconButton-label-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ USD
+ </p>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ Generic error
+ </p>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
- <div
- class="Component-imageContainer-id"
- >
+ <div>
<div
- class="Component-imageOverlay-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
+ >
+ Cost price override
+ </label>
<div
- class="Component-imageOverlayToolbar-id"
+ class="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ USD
+ </p>
+ </div>
</div>
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ Generic error
+ </p>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
class="Component-root-id"
@@ -29127,7 +28660,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Pricing
+ Stock
</aside>
<div
class="Component-toolbar-id"
@@ -29135,43 +28668,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
</div>
<div
class="Component-children-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="chargeTaxes"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Charge taxes for this item
- </span>
- </label>
- </div>
+ />
<hr
class="Component-hr-id"
/>
@@ -29179,47 +28676,156 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="Component-grid-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- for="price"
- >
- Price
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="price"
- type="number"
- value="339.39"
- />
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Inventory
+ </label>
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- NZD
- </p>
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="stock"
+ type="text"
+ value="0"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ Generic error
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-error-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value=""
+ />
</div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ >
+ Generic error
+ </p>
</div>
</div>
</div>
</div>
</div>
</div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
<div
- class="Component-cardContainer-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Ergonomic Plastic Bacon
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -29229,26 +28835,11 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Variants
+ General information
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add variant
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -29259,484 +28850,770 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<div
class="MuiCardContent-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Use variants for products that come in a variety of version for example different sizes or colors
- </p>
- </div>
- <table
- class="MuiTable-root-id Component-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- SKU
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ rows="5"
+ type="text"
+ value="Ergonomic Plastic Bacon"
+ />
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
- >
- Cordoba Oro
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Available
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 87192-94370
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
- >
- silver
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
>
- <div
- class="Component-root-id "
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
>
- <span
- class="Component-successDot-id"
- />
- Available
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 69055-15190
- </td>
- </tr>
- </tbody>
- </table>
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
+ Images
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload image
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <input
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Add search engine title and description to make this product easier to find
- </p>
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </div>
+ </div>
</div>
</div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
<div
- class="MuiCardContent-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-container-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Product Type
- </label>
+ Pricing
+ </aside>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-7-input"
- type="text"
- value="Versatile"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
>
- <g
- style="fill-rule:evenodd"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="chargeTaxes"
+ type="checkbox"
/>
- </g>
- </svg>
- </div>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Charge taxes for this item
+ </span>
+ </label>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiCardContent-root-id"
>
<div
- class="MuiSelect-root-id"
+ class="Component-root-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Yes
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="price"
+ type="number"
+ value="339.39"
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ NZD
+ </p>
+ </div>
+ </div>
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="true"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
</div>
</div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-container-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Borders
- </label>
+ Variants
+ </aside>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="Component-toolbar-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-8-input"
- type="text"
- value="portals"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- <g
- style="fill-rule:evenodd"
+ <span
+ class="MuiButton-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ Add variant
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
- >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- Legacy
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ Use variants for products that come in a variety of version for example different sizes or colors
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-id Component-denseTable-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-9-input"
- type="text"
- value="Auto Loan Account"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <g
- style="fill-rule:evenodd"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ SKU
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
+ >
+ Cordoba Oro
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Available
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 87192-94370
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
+ >
+ silver
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Available
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 69055-15190
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Category
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Search Engine Preview
+ </aside>
<div
- class="MuiSelect-root-id"
+ class="Component-toolbar-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
tabindex="0"
+ type="button"
>
- Apparel
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value="Q2F0ZWdvcnk6MQ=="
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </svg>
+ </button>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Collections
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <div
- class="MuiSelect-root-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- <div
- class="Component-chipContainer-id"
- >
- <div
- class="MuiChip-root-id Component-chip-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiChip-label-id"
- >
- Winter sale
- </span>
- </div>
- </div>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value="Q29sbGVjdGlvbjoy"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
+ Add search engine title and description to make this product easier to find
+ </p>
</div>
</div>
</div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -29744,7 +29621,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Availability
+ Organize Product
</aside>
<div
class="Component-toolbar-id"
@@ -29760,317 +29637,541 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
class="MuiCardContent-root-id"
>
<div
- class="Component-pullUp-id"
+ class="Component-container-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiSwitch-root-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
+ Product Type
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ id="downshift-7-input"
+ type="text"
+ value="Versatile"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiIconButton-label-id"
+ <g
+ style="fill-rule:evenodd"
>
- <span
- class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
- />
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="available"
- type="checkbox"
+ <path
+ d="M7 10l5 5 5-5z"
/>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiSwitch-bar-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
- </span>
- </label>
+ </g>
+ </svg>
+ </div>
+ </div>
</div>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
>
- Publish product on
+ Is it configurable?
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-08-25T18:45:54.125Z"
- />
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ Yes
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="true"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
</div>
</div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
<div
- class="Component-pullDown-id"
+ class="Component-container-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiSwitch-root-id"
- >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Borders
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-8-input"
+ type="text"
+ value="portals"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Legacy
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-9-input"
+ type="text"
+ value="Auto Loan Account"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ Apparel
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value="Q2F0ZWdvcnk6MQ=="
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="Component-chipContainer-id"
+ >
+ <div
+ class="MuiChip-root-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Winter sale
+ </span>
+ </div>
+ </div>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value="Q29sbGVjdGlvbjoy"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-pullUp-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ class="MuiSwitch-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
>
<span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- name="featured"
- type="checkbox"
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
+ class="MuiSwitch-bar-id"
/>
</span>
<span
- class="MuiSwitch-bar-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Publish product on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-08-25T18:45:54.125Z"
/>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ </div>
+ </div>
+ <div
+ class="Component-pullDown-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <div
- class="Component-label-id"
+ <span
+ class="MuiSwitch-root-id"
>
- Feature on Homepage
- </div>
- </span>
- </label>
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ name="featured"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Feature on Homepage
+ </div>
+ </span>
+ </label>
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
- >
- Save product
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ Remove product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
</div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiIconButton-label-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- General information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- <div
- class="MuiCardContent-root-id"
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
>
- <div
- class="Component-root-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- rows="5"
- type="text"
- value=""
- />
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Description
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
- >
- <div
- class="Textarea-root-id"
- style="height:19px"
- >
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="description"
- rows="1"
- type="text"
- />
- </div>
- </div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
+ ‌
+ </span>
+ </h2>
<div
- class="Component-cardContainer-id"
- >
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -30078,31 +30179,11 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Images
+ General information
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Upload image
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <input
- class="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -30117,116 +30198,371 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
class="Component-root-id"
>
<div
- class="Component-imageContainer-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <img
- class="Component-image-id"
- src="placeholder255x255.png"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ rows="5"
+ type="text"
+ value=""
+ />
+ </div>
</div>
</div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
- Pricing
- </aside>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ >
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ >
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Images
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload image
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <input
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
/>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </div>
+ </div>
</div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-children-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
- tabindex="-1"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-disabled-id MuiCheckbox-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="chargeTaxes"
+ type="checkbox"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="chargeTaxes"
- type="checkbox"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Charge taxes for this item
+ </span>
+ </label>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
>
- Charge taxes for this item
- </span>
- </label>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+ </div>
</div>
- <hr
- class="Component-hr-id"
- />
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Inventory
+ </aside>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="price"
+ <div
+ class="MuiFormControl-root-id"
>
- Price
- </label>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="sku"
+ type="text"
+ />
+ </div>
+ </div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="price"
- type="number"
- value=""
- />
- <span />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="stockInventory"
+ type="number"
+ />
+ </div>
</div>
</div>
</div>
</div>
</div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Search Engine Preview
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this product easier to find
+ </p>
+ </div>
+ </div>
+ </div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -30234,7 +30570,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Inventory
+ Organize Product
</aside>
<div
class="Component-toolbar-id"
@@ -30250,601 +30586,834 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="Component-container-id"
>
<div
- class="MuiFormControl-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- SKU (Stock Keeping Unit)
+ Product Type
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
+ autocomplete="off"
class="MuiInput-input-id MuiInput-disabled-id"
disabled=""
- name="sku"
+ id="downshift-16-input"
type="text"
+ value=""
/>
- </div>
- </div>
- <div
- class="MuiFormControl-root-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Inventory
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="stockInventory"
- type="number"
- />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
</div>
</div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Search Engine Preview
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiButton-label-id"
+ Is it configurable?
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ No
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="false"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
>
- Add search engine title and description to make this product easier to find
+ Attributes
</p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-container-id"
- >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiFormControl-root-id Component-formControl-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- Product Type
+ Category
</label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-16-input"
- type="text"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiSelect-root-id"
>
- <g
- style="fill-rule:evenodd"
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
- </g>
- </svg>
+ </svg>
+ </div>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Collections
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ class="MuiSelect-root-id"
>
- No
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="false"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value=""
/>
- </svg>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
</div>
</div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- <hr
- class="Component-hr-id"
- />
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <div
+ class="Component-root-id"
>
- Category
- </label>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiCardContent-root-id"
>
<div
- class="MuiSelect-root-id"
+ class="Component-pullUp-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
- <span>
- ​
+ <span
+ class="MuiSwitch-root-id"
+ >
+ <span
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
</span>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
</div>
</div>
</div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product edit when product has no images 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Ergonomic Plastic Bacon
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ General information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
<hr
class="Component-hr-id"
/>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <div
+ class="Component-root-id"
>
- Collections
- </label>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ rows="5"
+ type="text"
+ value="Ergonomic Plastic Bacon"
+ />
+ </div>
+ </div>
+ </div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Description
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
+ class="Textarea-root-id"
+ style="height:19px"
>
- <span>
- ​
- </span>
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
</div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Images
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload image
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value=""
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
/>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-noPhotosIconContainer-id"
+ >
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ class="MuiSvgIcon-root-id Component-noPhotosIcon-id"
focusable="false"
viewBox="0 0 24 24"
>
- <path
- d="M7 10l5 5 5-5z"
- />
+ <g>
+ <path
+ d="M3 4V1h2v3h3v2H5v3H3V6H0V4h3zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10h3zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2z"
+ />
+ </g>
</svg>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noPhotosIconText-id"
+ >
+ Drop images to upload
+ </p>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Availability
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-pullUp-id"
+ class="Component-children-id"
>
<label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiSwitch-root-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
>
<span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
- tabindex="-1"
+ class="MuiIconButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="available"
- type="checkbox"
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
/>
- </span>
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="chargeTaxes"
+ type="checkbox"
+ />
</span>
<span
- class="MuiSwitch-bar-id"
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
>
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
+ Charge taxes for this item
</span>
</label>
</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save product
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product edit when product has no images 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ <hr
+ class="Component-hr-id"
/>
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Ergonomic Plastic Bacon
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- General information
- </aside>
- <div
- class="Component-toolbar-id"
- />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="price"
+ type="number"
+ value="339.39"
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ NZD
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Name
- </label>
+ Variants
+ </aside>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-toolbar-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- rows="5"
- type="text"
- value="Ergonomic Plastic Bacon"
- />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add variant
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Use variants for products that come in a variety of version for example different sizes or colors
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-id Component-denseTable-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ SKU
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
+ >
+ Cordoba Oro
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Available
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 87192-94370
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
+ >
+ silver
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-successDot-id"
+ />
+ Available
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ 69055-15190
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Search Engine Preview
+ </aside>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="Component-toolbar-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- >
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Select text to enable text-formatting tools.
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this product easier to find
+ </p>
+ </div>
</div>
</div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
@@ -30854,31 +31423,11 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Images
+ Organize Product
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Upload image
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <input
- class="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -30890,94 +31439,150 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
class="MuiCardContent-root-id"
>
<div
- class="Component-noPhotosIconContainer-id"
+ class="Component-container-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id Component-noPhotosIcon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <g>
- <path
- d="M3 4V1h2v3h3v2H5v3H3V6H0V4h3zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10h3zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2z"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Product Type
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ id="downshift-10-input"
+ type="text"
+ value="Versatile"
/>
- </g>
- </svg>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noPhotosIconText-id"
- >
- Drop images to upload
- </p>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
</div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Pricing
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-spacer-id"
/>
- </div>
- <div
- class="Component-children-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiIconButton-label-id"
+ Is it configurable?
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
>
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ Yes
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="true"
+ />
<svg
aria-hidden="true"
- class="MuiSvgIcon-root-id"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
focusable="false"
viewBox="0 0 24 24"
>
<path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ d="M7 10l5 5 5-5z"
/>
</svg>
+ </div>
+ </div>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
+ <div
+ class="Component-container-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Borders
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
<input
- class="MuiSwitchBase-input-id"
- name="chargeTaxes"
- type="checkbox"
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-11-input"
+ type="text"
+ value="portals"
/>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Charge taxes for this item
- </span>
- </label>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
<div
- class="Component-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
>
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
@@ -30985,175 +31590,383 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
- for="price"
>
- Price
+ Legacy
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="price"
- type="number"
- value="339.39"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-12-input"
+ type="text"
+ value="Auto Loan Account"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ Apparel
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value="Q2F0ZWdvcnk6MQ=="
/>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
+ >
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <div
+ class="Component-chipContainer-id"
>
- NZD
- </p>
+ <div
+ class="MuiChip-root-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Winter sale
+ </span>
+ </div>
+ </div>
</div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value="Q29sbGVjdGlvbjoy"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Variants
- </aside>
<div
- class="Component-toolbar-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add variant
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Use variants for products that come in a variety of version for example different sizes or colors
- </p>
- </div>
- <table
- class="MuiTable-root-id Component-denseTable-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- SKU
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ <div
+ class="Component-pullUp-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
- >
- Cordoba Oro
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <div
- class="Component-root-id "
+ <span
+ class="MuiSwitch-root-id"
>
<span
- class="Component-successDot-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
/>
- Available
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 87192-94370
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id Component-link-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- silver
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ Publish product on
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <div
- class="Component-root-id "
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-08-25T18:45:54.125Z"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-pullDown-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiSwitch-root-id"
>
<span
- class="Component-successDot-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ name="featured"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
/>
- Available
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- 69055-15190
- </td>
- </tr>
- </tbody>
- </table>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Feature on Homepage
+ </div>
+ </span>
+ </label>
+ </div>
+ </div>
+ </div>
</div>
</div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<div
- class="Component-cardContainer-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product edit when product has no variants 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Ergonomic Plastic Bacon
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -31163,26 +31976,11 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Search Engine Preview
+ General information
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -31193,677 +31991,710 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<div
class="MuiCardContent-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-root-id"
>
- Add search engine title and description to make this product easier to find
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-container-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Product Type
- </label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-10-input"
- type="text"
- value="Versatile"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <div
- class="MuiSelect-root-id"
- >
+ Name
+ </label>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
- >
- Yes
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="true"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ rows="5"
+ type="text"
+ value="Ergonomic Plastic Bacon"
/>
- </svg>
+ </div>
</div>
</div>
- </div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
- <div
- class="Component-container-id"
- >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Borders
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-11-input"
- type="text"
- value="portals"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
- >
+ class="Component-spacer-id"
+ />
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiFormControl-root-id"
+ style="width:100%"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
>
- Legacy
+ Description
</label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-12-input"
- type="text"
- value="Auto Loan Account"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
>
- <g
- style="fill-rule:evenodd"
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
+ </textarea>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Category
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Images
+ </aside>
<div
- class="MuiSelect-root-id"
+ class="Component-toolbar-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
tabindex="0"
+ type="button"
>
- Apparel
- </div>
+ <span
+ class="MuiButton-label-id"
+ >
+ Upload image
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value="Q2F0ZWdvcnk6MQ=="
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Collections
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
<div
- class="MuiSelect-root-id"
+ class="Component-root-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
+ class="Component-imageContainer-id"
>
<div
- class="Component-chipContainer-id"
+ class="Component-imageOverlay-id"
>
<div
- class="MuiChip-root-id Component-chip-id"
- role="button"
- tabindex="-1"
+ class="Component-imageOverlayToolbar-id"
>
- <span
- class="MuiChip-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
>
- Winter sale
- </span>
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
</div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value="Q29sbGVjdGlvbjoy"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="Component-imageContainer-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Availability
- </aside>
- <div
- class="Component-toolbar-id"
- />
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </div>
+ </div>
</div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-pullUp-id"
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
>
<label
class="MuiFormControlLabel-root-id"
>
<span
- class="MuiSwitch-root-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
+ class="MuiIconButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <span
- class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
- />
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="available"
- type="checkbox"
+ <path
+ d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
/>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="chargeTaxes"
+ type="checkbox"
/>
</span>
<span
- class="MuiSwitch-bar-id"
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
>
+ Charge taxes for this item
+ </span>
+ </label>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="price"
+ >
+ Price
+ </label>
<div
- class="Component-label-id"
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
- Published in storefront
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="price"
+ type="number"
+ value="339.39"
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ NZD
+ </p>
+ </div>
</div>
- </span>
- </label>
+ </div>
+ </div>
</div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Publish product on
- </label>
+ Inventory
+ </aside>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-08-25T18:45:54.125Z"
- />
+ <div
+ class="MuiFormControl-root-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value="87192-94370"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="stockInventory"
+ type="number"
+ value="48"
+ />
+ </div>
+ </div>
</div>
</div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-pullDown-id"
+ class="Component-root-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <span
- class="MuiSwitch-root-id"
+ Search Engine Preview
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ class="MuiButton-label-id"
>
- <span
- class="MuiIconButton-label-id"
- >
- <span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- name="featured"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
+ Edit website SEO
</span>
<span
- class="MuiSwitch-bar-id"
+ class="MuiTouchRipple-root-id"
/>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- <div
- class="Component-label-id"
- >
- Feature on Homepage
- </div>
- </span>
- </label>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Add search engine title and description to make this product easier to find
+ </p>
</div>
</div>
</div>
</div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save product
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product edit when product has no variants 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Ergonomic Plastic Bacon
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- General information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-root-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- rows="5"
- type="text"
- value="Ergonomic Plastic Bacon"
- />
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Description
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
- >
- <div
- class="Textarea-root-id"
- style="height:19px"
- >
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- >
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
- >
- Omnis rerum ea. Fugit dignissimos modi est rerum. Qui corrupti expedita et. Dolorem dolorum illo doloremque. Officia perspiciatis facilis ab maxime voluptatem eligendi ipsam. Quisquam impedit repudiandae eos. Id sit dolores adipisci qui omnis dolores qui. Illo deleniti mollitia perspiciatis.
- </textarea>
- </div>
- </div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
@@ -31873,31 +32704,11 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Images
+ Organize Product
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Upload image
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <input
- class="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -31909,452 +32720,534 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="Component-container-id"
>
<div
- class="Component-imageContainer-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Product Type
+ </label>
<div
- class="Component-imageOverlay-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <div
- class="Component-imageOverlayToolbar-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ id="downshift-13-input"
+ type="text"
+ value="Versatile"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ <g
+ style="fill-rule:evenodd"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <path
+ d="M7 10l5 5 5-5z"
/>
- </button>
- </div>
+ </g>
+ </svg>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Is it configurable?
+ </label>
<div
- class="Component-imageContainer-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<div
- class="Component-imageOverlay-id"
+ class="MuiSelect-root-id"
>
<div
- class="Component-imageOverlayToolbar-id"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ No
</div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="hasVariants"
+ type="hidden"
+ value="false"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
+ </div>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
+ <div
+ class="Component-container-id"
+ >
<div
- class="Component-imageContainer-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Borders
+ </label>
<div
- class="Component-imageOverlay-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
- <div
- class="Component-imageOverlayToolbar-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-14-input"
+ type="text"
+ value="portals"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ <g
+ style="fill-rule:evenodd"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <path
+ d="M7 10l5 5 5-5z"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Legacy
+ </label>
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-15-input"
+ type="text"
+ value="Auto Loan Account"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
>
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <path
+ d="M7 10l5 5 5-5z"
/>
- </button>
- </div>
+ </g>
+ </svg>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Category
+ </label>
<div
- class="Component-imageContainer-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<div
- class="Component-imageOverlay-id"
+ class="MuiSelect-root-id"
>
<div
- class="Component-imageOverlayToolbar-id"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Apparel
</div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value="Q2F0ZWdvcnk6MQ=="
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Collections
+ </label>
<div
- class="Component-imageContainer-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<div
- class="Component-imageOverlay-id"
+ class="MuiSelect-root-id"
>
<div
- class="Component-imageOverlayToolbar-id"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-chipContainer-id"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="MuiChip-root-id Component-chip-id"
+ role="button"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiChip-label-id"
>
- <g>
- <path
- d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Winter sale
+ </span>
+ </div>
+ </div>
</div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value="Q29sbGVjdGlvbjoy"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Pricing
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Availability
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ <div
+ class="Component-pullUp-id"
>
- <span
- class="MuiIconButton-label-id"
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiSwitch-root-id"
>
- <path
- d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="chargeTaxes"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Charge taxes for this item
- </span>
- </label>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-root-id"
- >
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
+ </div>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
- for="price"
>
- Price
+ Publish product on
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
aria-required="false"
class="MuiInput-input-id MuiInput-inputType-id"
- name="price"
- type="number"
- value="339.39"
+ name="availableOn"
+ type="date"
+ value="2018-08-25T18:45:54.125Z"
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ </div>
+ </div>
+ <div
+ class="Component-pullDown-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
+ >
+ <span
+ class="MuiSwitch-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <span
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
>
- NZD
- </p>
- </div>
- </div>
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id"
+ />
+ <input
+ class="MuiSwitchBase-input-id"
+ name="featured"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Feature on Homepage
+ </div>
+ </span>
+ </label>
</div>
</div>
</div>
</div>
</div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove product
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<div
- class="Component-cardContainer-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save product
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product image details when loaded data 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
+ Edit Photo
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -32364,7 +33257,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Inventory
+ Photo Information
</aside>
<div
class="Component-toolbar-id"
@@ -32380,59 +33273,55 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Description
+ </label>
<div
- class="MuiFormControl-root-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- SKU (Stock Keeping Unit)
- </label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Textarea-root-id"
+ style="height:19px"
>
- <input
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id"
- name="sku"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
type="text"
- value="87192-94370"
/>
</div>
</div>
- <div
- class="MuiFormControl-root-id"
+ <p
+ class="MuiFormHelperText-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Inventory
- </label>
- <div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="stockInventory"
- type="number"
- value="48"
- />
- </div>
- </div>
+ Optional
+ </p>
</div>
</div>
</div>
</div>
- <div
- class="Component-cardContainer-id"
- >
+ <div>
<div
class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -32442,26 +33331,11 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<aside
class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- Search Engine Preview
+ Photo View
</aside>
<div
class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ />
</div>
<div
class="Component-children-id"
@@ -32472,2458 +33346,1810 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<div
class="MuiCardContent-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <div
+ class="Component-imageContainer-id"
>
- Add search engine title and description to make this product easier to find
- </p>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
+ </div>
</div>
</div>
</div>
</div>
- <div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiButton-label-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product image details when loading data 1`] = `
+<div>
+ <form>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Organize Product
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Edit Photo
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Product Type
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-13-input"
- type="text"
- value="Versatile"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ Photo Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Is it configurable?
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Description
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
<div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
- >
- No
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="hasVariants"
- type="hidden"
- value="false"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ class="Textarea-root-id"
+ style="height:19px"
>
- <path
- d="M7 10l5 5 5-5z"
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
/>
- </svg>
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-id Textarea-textarea-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-container-id"
+ class="Component-root-id"
>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Photo View
+ </aside>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Borders
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-14-input"
- type="text"
- value="portals"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ ‌
+ </span>
</div>
- <div
- class="Component-spacer-id"
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+ </form>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product list default 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
/>
- <div
- class="Component-container-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Published
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Legacy
- </label>
<div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-15-input"
- type="text"
- value="Auto Loan Account"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <g
- style="fill-rule:evenodd"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
</div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Category
- </label>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Tasty Frozen Tuna
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ systemic
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id "
>
- <div
- class="MuiSelect-root-id"
- >
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- Apparel
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="category"
- type="hidden"
- value="Q2F0ZWdvcnk6MQ=="
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
+ <span
+ class="Component-successDot-id"
+ />
+ Published
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ PYG595
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Collections
- </label>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Incredible Rubber Computer
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Villages
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id "
>
- <div
- class="MuiSelect-root-id"
- >
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- <div
- class="Component-chipContainer-id"
- >
- <div
- class="MuiChip-root-id Component-chip-id"
- role="button"
- tabindex="-1"
- >
- <span
- class="MuiChip-label-id"
- >
- Winter sale
- </span>
- </div>
- </div>
- </div>
- <input
- aria-invalid="false"
- aria-required="false"
- name="collections"
- type="hidden"
- value="Q29sbGVjdGlvbjoy"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
+ <span
+ class="Component-successDot-id"
+ />
+ Published
</div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ GMD432.08
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <div
- class="Component-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Availability
- </aside>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Intelligent Frozen Soap
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ efficient
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ WST73.74
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
<div
- class="Component-pullUp-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiSwitch-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-id"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <span
- class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
- />
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="available"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiSwitch-bar-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
- </span>
- </label>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Rustic Plastic Chips
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Buckinghamshire
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ class="Component-root-id "
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Publish product on
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-08-25T18:45:54.125Z"
- />
- </div>
+ <span
+ class="Component-successDot-id"
+ />
+ Published
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ MWK27.68
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
<div
- class="Component-pullDown-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiSwitch-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <span
- class="MuiSwitch-icon-id"
- />
- <input
- class="MuiSwitchBase-input-id"
- name="featured"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiSwitch-bar-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- <div
- class="Component-label-id"
- >
- Feature on Homepage
- </div>
- </span>
- </label>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove product
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save product
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product image details when loaded data 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit Photo
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Photo Information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ Awesome Fresh Chicken
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ Future
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
>
- Description
- </label>
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ WST440.79
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
- >
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
- />
- </div>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
- <p
- class="MuiFormHelperText-root-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Refined Frozen Chicken
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ dot-com
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id "
>
- Optional
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Photo View
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ HRK398.96
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <div
- class="Component-imageContainer-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product image details when loading data 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Edit Photo
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Photo Information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Description
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
- >
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-shadow-id Textarea-textarea-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- aria-required="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
- name="description"
- rows="1"
- type="text"
- />
- </div>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Photo View
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Practical Concrete Fish
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Save
- </span>
- </button>
- </div>
- </div>
-</form>
-`;
-
-exports[`Storyshots Views / Products / Product list default 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Products
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add product
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Published
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
- >
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
- >
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Tasty Frozen Tuna
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- systemic
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- PYG595
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Incredible Rubber Computer
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Villages
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- GMD432.08
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Intelligent Frozen Soap
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- efficient
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- WST73.74
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Rustic Plastic Chips
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Buckinghamshire
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-successDot-id"
- />
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- MWK27.68
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Awesome Fresh Chicken
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Future
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- WST440.79
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Refined Frozen Chicken
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- dot-com
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- HRK398.96
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
- >
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Practical Concrete Fish
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Public-key
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
- >
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- HUF959.31
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Public-key
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Licensed Steel Ball
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- payment
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- PKR593
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ HUF959.31
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Sleek Wooden Pants
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Music
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- SHP62.01
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id Component-avatar-id"
+ Licensed Steel Ball
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Practical Steel Shirt
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- International
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id "
+ payment
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Component-errorDot-id"
- />
- Not published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- UZS197
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Product list loading 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Products
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add product
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Published
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ PKR593
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
<div
- class="TablePagination-spacer-id"
- />
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Sleek Wooden Pants
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Music
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="TablePaginationActions-root-id"
+ class="Component-root-id "
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ SHP62.01
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Practical Steel Shirt
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ International
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id "
+ >
+ <span
+ class="Component-errorDot-id"
+ />
+ Not published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ UZS197
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Views / Products / Product list no data 1`] = `
-<div
- class="Component-md-id "
->
+exports[`Storyshots Views / Products / Product list loading 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Products
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Products
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add product
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add product
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Published
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Published
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
>
- No products found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
-exports[`Storyshots Views / Products / Product variant details when loaded data 1`] = `
-<div
- class="Component-md-id "
->
+exports[`Storyshots Views / Products / Product list no data 1`] = `
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Products
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Extended Hard
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
+ <span
+ class="MuiButton-label-id"
+ >
+ Add product
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ <table
+ class="MuiTable-root-id"
+ >
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="Component-root-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Variants
- </aside>
- <div
- class="Component-toolbar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Type
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Published
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <tbody
- class="MuiTableBody-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id Component-tabActive-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Extended Hard
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Extended Soft
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ <div
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g
- style="fill-rule:evenodd"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
<path
- d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
/>
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Normal Hard
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g
- style="fill-rule:evenodd"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
<path
- d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
/>
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Normal Soft
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="5"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product variant details when loaded data 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
>
- <div
- class="Component-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- General Information
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Extended Hard
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <form>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id Component-grid-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Borders
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-19-input"
- type="text"
- value="portals"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ Variants
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
<div
- class="Component-spacer-id"
+ class="Component-children-id"
/>
- <div
- class="Component-container-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <tbody
+ class="MuiTableBody-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- Legacy
- </label>
- <div
- aria-autocomplete="list"
- aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- role="combobox"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id Component-tabActive-id"
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Extended Hard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-20-input"
- type="text"
- value="Auto Loan Account"
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
>
- <g
- style="fill-rule:evenodd"
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Images
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <div
- class="Component-root-id"
- >
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder60x60.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder60x60.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder60x60.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder60x60.png"
- />
- </div>
- </div>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Extended Soft
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Normal Hard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id "
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M 22.418358,23.933955 23.941248,22.416861 1.505286,0.06622212 -0.01756434,1.5833815 2.3945365,3.98626 c -0.00402,0.054209 -0.00609,0.1089561 -0.00609,0.1641949 l 0,15.5654231 c 0,1.223034 1.0044565,2.223746 2.232151,2.223746 l 15.6251379,0 c 0.05533,0 0.110242,-0.0021 0.164611,-0.0061 l 2.008007,2.000405 z m -4.234188,-4.218065 -2.232782,-2.224284 -10.2147024,0 3.3482328,-4.291641 2.3883966,2.879541 1.336535,-1.717557 -8.1892465,-8.1579753 0,13.5119163 13.5635665,0 z m 4.293682,-15.5654234 0,13.8585934 -2.232111,-2.223614 0,-11.6349794 -11.6793779,0 -2.232218,-2.2237479 13.9115959,0 c 1.227708,0 2.232111,1.0007001 2.232111,2.2237479 z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Normal Soft
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Pricing
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ General Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id Component-grid-id"
>
- <div>
+ <div
+ class="Component-container-id"
+ >
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
data-shrink="true"
- for="priceOverride"
>
- Selling price override
+ Borders
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="priceOverride"
- type="number"
- value="100"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-19-input"
+ type="text"
+ value="portals"
/>
- <div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <g
+ style="fill-rule:evenodd"
>
- USD
- </p>
- </div>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
- <div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
+ >
<div
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="costPrice"
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- Cost price override
+ Legacy
</label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ role="combobox"
>
<input
aria-invalid="false"
aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="costPrice"
- type="number"
- value=""
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-20-input"
+ type="text"
+ value="Auto Loan Account"
/>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g
+ style="fill-rule:evenodd"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Images
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-grid-id"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="priceOverride"
+ >
+ Selling price override
+ </label>
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="priceOverride"
+ type="number"
+ value="100"
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- USD
- </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Optional
- </p>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Stock
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Stock
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Inventory
- </label>
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="stock"
- type="text"
- value="19"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="stock"
+ type="text"
+ value="19"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Allocated: 12
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Allocated: 12
- </p>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- SKU (Stock Keeping Unit)
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="sku"
- type="text"
- value="1230959124123"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value="1230959124123"
+ />
+ </div>
</div>
</div>
</div>
@@ -34931,211 +35157,178 @@ exports[`Storyshots Views / Products / Product variant details when loaded data
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Remove variant
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove variant
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <div
- class="Component-spacer-id"
- />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product variant details when loading data 1`] = `
+<div>
+ <div
+ class="Component-md-id "
+ >
+ <div
+ class="Component-root-id"
+ >
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
tabindex="0"
type="button"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Cancel
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
<span
- class="MuiButton-label-id"
+ class="Skeleton-skeleton-id"
+ style="width:10em"
>
- Save variant
+ ‌
</span>
- </button>
- </div>
- </form>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Product variant details when loading data 1`] = `
-<div
- class="Component-md-id "
->
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Variants
- </aside>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- >
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <form>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- General Information
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Variants
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id Component-grid-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
>
- ‌
- </span>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Images
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ General Information
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiCardContent-root-id Component-grid-id"
>
<span
class="Skeleton-skeleton-id"
@@ -35144,174 +35337,209 @@ exports[`Storyshots Views / Products / Product variant details when loading data
</span>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Pricing
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Images
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
/>
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
</div>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="Component-grid-id"
+ class="Component-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="priceOverride"
- >
- Selling price override
- </label>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Pricing
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="priceOverride"
- type="number"
- value=""
- />
- <span />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="priceOverride"
+ >
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="priceOverride"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="costPrice"
- >
- Cost price override
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="costPrice"
- type="number"
- value=""
- />
- <span />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
- >
- Stock
- </aside>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
+ class="Component-root-id"
+ >
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Stock
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
<div
- class="Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Inventory
- </label>
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="stock"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="stock"
+ type="text"
+ value=""
+ />
+ </div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- SKU (Stock Keeping Unit)
- </label>
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="sku"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="sku"
+ type="text"
+ />
+ </div>
</div>
</div>
</div>
@@ -35319,2485 +35547,2495 @@ exports[`Storyshots Views / Products / Product variant details when loading data
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove variant
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove variant
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save variant
- </span>
- </button>
- </div>
- </form>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
</div>
`;
exports[`Storyshots Views / Vouchers / Voucher details default 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ odit est
+ </h2>
+ <div
+ class="Component-action-id"
/>
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- odit est
- </h2>
+ </div>
<div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Code
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="code"
- type="text"
- value="CAMBRIDGESHIRE"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="odit est"
- />
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Optional
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-grid-id"
- >
- <div>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Code
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Discount value
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="discountValue"
- type="number"
- value="17"
- />
- </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="code"
+ type="text"
+ value="CAMBRIDGESHIRE"
+ />
</div>
</div>
- <div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Discount type
- </label>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="odit est"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Discount value
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- USD
- </div>
<input
aria-invalid="false"
aria-required="false"
- name="discountValueType"
- type="hidden"
- value="FIXED"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="discountValue"
+ type="number"
+ value="17"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Discount type
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
+ >
+ USD
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="discountValueType"
+ type="hidden"
+ value="FIXED"
/>
- </svg>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
</div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardSpacer-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
<div
- class="Component-root-id"
+ class="Component-cardSpacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Voucher type
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Voucher type
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <fieldset
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <div
- class="MuiFormGroup-root-id"
- role="radiogroup"
+ <hr
+ class="Component-hr-id"
+ />
+ <fieldset
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="MuiFormGroup-root-id"
+ role="radiogroup"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-checked-id MuiRadio-checked-id"
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-checked-id MuiRadio-checked-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="type"
+ type="radio"
+ value="VALUE"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="type"
- type="radio"
- value="VALUE"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Whole cart
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Whole cart
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="type"
+ type="radio"
+ value="SHIPPING"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="type"
- type="radio"
- value="SHIPPING"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Shipping
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Shipping
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
- />
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="type"
- type="radio"
- value="PRODUCT"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Product
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id"
- >
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="type"
+ type="radio"
+ value="PRODUCT"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Product
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ name="type"
+ type="radio"
+ value="CATEGORY"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- name="type"
- type="radio"
- value="CATEGORY"
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
- >
- Category
- </span>
- </label>
- </div>
- </fieldset>
- <div
- class="MuiCardContent-root-id"
- >
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Category
+ </span>
+ </label>
+ </div>
+ </fieldset>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- for="limit"
- >
- Minimal cart value
- </label>
<div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="limit"
- type="number"
- value="10"
- />
- <span />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="limit"
+ >
+ Minimal cart value
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="limit"
+ type="number"
+ value="10"
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Active since
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="startDate"
- type="date"
- value="2018-06-21T10:06:58.079Z"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Active since
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="startDate"
+ type="date"
+ value="2018-06-21T10:06:58.079Z"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Active until
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="endDate"
- type="date"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Active until
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="endDate"
+ type="date"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Usage limit
- </label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id"
- name="usageLimit"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Usage limit
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id"
+ name="usageLimit"
+ type="text"
+ />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Vouchers / Voucher details when loading 1`] = `
-<form>
- <div
- class="Component-md-id "
- >
+<div>
+ <form>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <g>
- <path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
<div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Code
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="code"
- type="text"
- value=""
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Code
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="code"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Name
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value=""
- />
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Optional
- </p>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-grid-id"
- >
- <div>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Name
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Discount value
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="discountValue"
- type="number"
- value="0"
- />
- </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ type="text"
+ value=""
+ />
</div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ <p
+ class="MuiFormHelperText-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- >
- Discount type
- </label>
+ Optional
+ </p>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-grid-id"
+ >
+ <div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Discount value
+ </label>
<div
- class="MuiSelect-root-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
- role="button"
- >
- <span>
- ​
- </span>
- </div>
<input
aria-invalid="false"
aria-required="false"
- name="discountValueType"
- type="hidden"
- value=""
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="discountValue"
+ type="number"
+ value="0"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Discount type
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <div
+ class="MuiSelect-root-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="discountValueType"
+ type="hidden"
+ value=""
/>
- </svg>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
</div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-cardSpacer-id"
- />
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
<div
- class="Component-root-id"
+ class="Component-cardSpacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <aside
- class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Voucher type
- </aside>
+ <aside
+ class="MuiTypography-root-id MuiTypography-body2-id Component-title-id"
+ >
+ Voucher type
+ </aside>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
<div
- class="Component-toolbar-id"
+ class="Component-children-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <fieldset
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <div
- class="MuiFormGroup-root-id"
- role="radiogroup"
+ <hr
+ class="Component-hr-id"
+ />
+ <fieldset
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div
+ class="MuiFormGroup-root-id"
+ role="radiogroup"
>
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-checked-id MuiRadio-checked-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
- tabindex="-1"
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-checked-id MuiRadio-checked-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="type"
+ type="radio"
+ value="VALUE"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- disabled=""
- name="type"
- type="radio"
- value="VALUE"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Whole cart
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
- tabindex="-1"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Whole cart
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="type"
+ type="radio"
+ value="SHIPPING"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="type"
- type="radio"
- value="SHIPPING"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Shipping
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
- tabindex="-1"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Shipping
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="type"
+ type="radio"
+ value="PRODUCT"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="type"
- type="radio"
- value="PRODUCT"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Product
- </span>
- </label>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
- >
- <span
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
- tabindex="-1"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Product
+ </span>
+ </label>
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiSwitchBase-root-id MuiRadio-root-id MuiRadio-colorSecondary-id MuiSwitchBase-disabled-id MuiRadio-disabled-id"
+ tabindex="-1"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
+ />
+ </svg>
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="type"
+ type="radio"
+ value="CATEGORY"
/>
- </svg>
- <input
- class="MuiSwitchBase-input-id"
- disabled=""
- name="type"
- type="radio"
- value="CATEGORY"
- />
+ </span>
</span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
- >
- Category
- </span>
- </label>
- </div>
- </fieldset>
- <div
- class="MuiCardContent-root-id"
- >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ Category
+ </span>
+ </label>
+ </div>
+ </fieldset>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiCardContent-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
- for="limit"
- >
- Minimal cart value
- </label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="limit"
- type="number"
- value=""
- />
- <span />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="limit"
+ >
+ Minimal cart value
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="limit"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
</div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
+ <div>
<div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Active since
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="startDate"
- type="date"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Active until
- </label>
+ class="MuiCardContent-root-id"
+ >
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="endDate"
- type="date"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Active since
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="startDate"
+ type="date"
+ />
+ </div>
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
- >
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- Usage limit
- </label>
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Active until
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ disabled=""
+ name="endDate"
+ type="date"
+ />
+ </div>
+ </div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- aria-required="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="usageLimit"
- type="text"
- />
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Usage limit
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="usageLimit"
+ type="text"
+ />
+ </div>
</div>
</div>
</div>
</div>
</div>
- </div>
- <div
- class="Component-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
<div
- class="Component-spacer-id"
- />
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
- tabindex="0"
- type="button"
+ class="Component-root-id"
>
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
+ tabindex="0"
+ type="button"
>
- Cancel
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <div
+ class="Component-spacer-id"
/>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- Save
- </span>
- </button>
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Save
+ </span>
+ </button>
+ </div>
</div>
- </div>
-</form>
+ </form>
+</div>
`;
exports[`Storyshots Views / Vouchers / Voucher list default 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Vouchers
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
+ Vouchers
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
>
- Add voucher
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiButton-label-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Add voucher
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Start date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- End date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Discount
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- Limit
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Start date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ End date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Discount
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Limit
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- odit est
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ odit est
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529575618079"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Thu Jun 21 2018 10:06:58 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <time
+ datetime="1529575618079"
+ >
+ Thu Jun 21 2018 10:06:58 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $17.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ RON10.00
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ voluptatem magnam
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529530856763"
+ >
+ Wed Jun 20 2018 21:40:56 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1546391094677"
+ >
+ Wed Jan 02 2019 01:04:54 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $56.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ ut possimus
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529531599359"
+ >
+ Wed Jun 20 2018 21:53:19 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1541991624030"
+ >
+ Mon Nov 12 2018 03:00:24 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $17.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $49.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- RON10.00
- </p>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- voluptatem magnam
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ delectus totam
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529530856763"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 21:40:56 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529531047335"
+ >
+ Wed Jun 20 2018 21:44:07 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1546391094677"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jan 02 2019 01:04:54 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1534759118594"
+ >
+ Mon Aug 20 2018 09:58:38 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $56.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 31%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- ut possimus
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529531599359"
+ <span
+ class="Component-link-id"
>
- Wed Jun 20 2018 21:53:19 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ sapiente accusantium
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1541991624030"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Mon Nov 12 2018 03:00:24 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529554869850"
+ >
+ Thu Jun 21 2018 04:21:09 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- $49.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- delectus totam
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 52%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529531047335"
+ <span
+ class="Component-link-id"
>
- Wed Jun 20 2018 21:44:07 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ 61% discount for shipping
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1534759118594"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Mon Aug 20 2018 09:58:38 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529507072639"
+ >
+ Wed Jun 20 2018 15:04:32 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 31%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- sapiente accusantium
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 61%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <time
- datetime="1529554869850"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Thu Jun 21 2018 04:21:09 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ PGK20.00
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 52%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ quae est
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 61% discount for shipping
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529535221827"
+ >
+ Wed Jun 20 2018 22:53:41 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529507072639"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 15:04:32 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1539018134587"
+ >
+ Mon Oct 08 2018 17:02:14 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- 61%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $65.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- PGK20.00
- </p>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ KGS80.00
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- quae est
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ distinctio facilis
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529535221827"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 22:53:41 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529535137917"
+ >
+ Wed Jun 20 2018 22:52:17 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1539018134587"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Mon Oct 08 2018 17:02:14 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1535007860010"
+ >
+ Thu Aug 23 2018 07:04:20 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $65.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 37%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- KGS80.00
- </p>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- distinctio facilis
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ dolor ratione
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529535137917"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 22:52:17 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529578091815"
+ >
+ Thu Jun 21 2018 10:48:11 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1535007860010"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Thu Aug 23 2018 07:04:20 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1541427554950"
+ >
+ Mon Nov 05 2018 14:19:14 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- 37%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 65%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- dolor ratione
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529578091815"
+ <span
+ class="Component-link-id"
>
- Thu Jun 21 2018 10:48:11 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ praesentium rem
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1541427554950"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Mon Nov 05 2018 14:19:14 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529540774087"
+ >
+ Thu Jun 21 2018 00:26:14 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 65%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 36%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- praesentium rem
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529540774087"
+ <span
+ class="Component-link-id"
>
- Thu Jun 21 2018 00:26:14 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ eos et
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 36%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529503265834"
+ >
+ Wed Jun 20 2018 14:01:05 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- eos et
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <time
- datetime="1529503265834"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 14:01:05 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ $84.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $84.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- quo illo
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ quo illo
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529531521122"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 21:52:01 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529531521122"
+ >
+ Wed Jun 20 2018 21:52:01 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1550310553242"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Sat Feb 16 2019 09:49:13 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1550310553242"
+ >
+ Sat Feb 16 2019 09:49:13 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $53.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $53.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- itaque rerum
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529507495602"
+ <span
+ class="Component-link-id"
>
- Wed Jun 20 2018 15:11:35 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- -
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ itaque rerum
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- $31.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529507495602"
+ >
+ Wed Jun 20 2018 15:11:35 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- DJF30
- </p>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ -
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- cumque repellendus
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ $31.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ DJF30
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Component-link-id"
+ >
+ cumque repellendus
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529541514746"
+ >
+ Thu Jun 21 2018 00:38:34 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1553524910984"
+ >
+ Mon Mar 25 2019 14:41:50 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <time
- datetime="1529541514746"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Thu Jun 21 2018 00:38:34 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ $11.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <time
- datetime="1553524910984"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Mon Mar 25 2019 14:41:50 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
- >
- $11.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ GNF70
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- GNF70
- </p>
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Component-link-id"
+ <span
+ class="Component-link-id"
+ >
+ 43 USD discount for Tasty Wooden Car
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- 43 USD discount for Tasty Wooden Car
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ <time
+ datetime="1529535698092"
+ >
+ Wed Jun 20 2018 23:01:38 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529535698092"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Jun 20 2018 23:01:38 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1537357626711"
+ >
+ Wed Sep 19 2018 11:47:06 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <time
- datetime="1537357626711"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Wed Sep 19 2018 11:47:06 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ $43.00
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $43.00
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- -
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ -
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Component-link-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ea eaque
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <span
+ class="Component-link-id"
+ >
+ ea eaque
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1529547210164"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Thu Jun 21 2018 02:13:30 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1529547210164"
+ >
+ Thu Jun 21 2018 02:13:30 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <time
- datetime="1546098434014"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
>
- Sat Dec 29 2018 15:47:14 GMT+0000
- </time>
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <time
+ datetime="1546098434014"
+ >
+ Sat Dec 29 2018 15:47:14 GMT+0000
+ </time>
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- 39%
- </p>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ 39%
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- RWF30
- </p>
- </td>
- </tr>
- </tbody>
- </table>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-tableCellFont-id"
+ >
+ RWF30
+ </p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Vouchers / Voucher list no data 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Vouchers
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add voucher
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ Vouchers
+ </h2>
+ <div
+ class="Component-action-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Start date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- End date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Discount
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ <span
+ class="MuiButton-label-id"
>
- Limit
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ Add voucher
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Start date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ End date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Discount
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Limit
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id"
>
- No vouchers found
- </td>
- </tr>
- </tbody>
- </table>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="5"
+ >
+ No vouchers found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;
exports[`Storyshots Views / Vouchers / Voucher list when loading 1`] = `
-<div
- class="Component-md-id "
->
+<div>
<div
- class="Component-root-id"
+ class="Component-md-id "
>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Vouchers
- </h2>
<div
- class="Component-action-id"
+ class="Component-root-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="MuiButton-label-id"
- >
- Add voucher
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- >
- <thead
- class="MuiTableHead-root-id"
+ Vouchers
+ </h2>
+ <div
+ class="Component-action-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Start date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- End date
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Discount
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
- >
- Limit
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Add voucher
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation2-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <thead
+ class="MuiTableHead-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Start date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ End date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Discount
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Limit
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiToolbar-root-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <span
- class="MuiIconButton-label-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <span
+ class="MuiIconButton-label-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
</div>
- </div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
`;