Skip to content

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

Update snapshots

dominik-zeglenb7469d5b8e25
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 e5e4be24cc..9ddb07a1a6 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -8900,29 +8900,39 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
<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"
>
- Music
+ Summer collection
</h2>
<div
class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Show on storefront
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ />
</div>
<div
class="Component-root-id"
@@ -8931,11 +8941,29 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ General information
+ </span>
+ <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"
+ class="MuiFormControl-root-id Component-name-id"
>
<label
class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
@@ -8944,74 +8972,114 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Name
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
class="MuiInput-input-id"
name="name"
type="text"
- value="Music"
+ value="Summer collection"
/>
</div>
</div>
- <div
- class="Component-spacer-id"
- />
- <img
- class="Component-image-id"
- src="summer.jpg"
- />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-caption-id Component-link-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Remove
+ Background image (optional)
</span>
<div
- class="Component-spacer-id"
- />
- <div
- class="Component-root-id"
+ class="Component-toolbar-id"
>
- <input
- class="Component-fileUploadField-id"
- name="backgroundImage"
- type="file"
- value=""
- />
- <div
- class="MuiFormControl-root-id Component-textField-id"
- >
- <div
- class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- type="text"
- value=""
- />
- </div>
- </div>
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-id"
>
- Upload
+ Upload image
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
+ <input
+ class="CollectionImageComponent-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-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="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
+ class="Component-image-id"
+ src="block1.jpg"
+ />
</div>
</div>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -9019,7 +9087,7 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Products
+ Products in Summer collection
</span>
<div
class="Component-toolbar-id"
@@ -9032,7 +9100,7 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
<span
class="MuiButton-label-id"
>
- Add product
+ Assign product
</span>
<span
class="MuiTouchRipple-root-id"
@@ -9056,6 +9124,10 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
<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"
scope="col"
@@ -9063,17 +9135,21 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Name
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textCenter-id"
scope="col"
>
- SKU
+ Type
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
scope="col"
>
- Status
+ Published
</th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
</tr>
</thead>
<tfoot
@@ -9084,7 +9160,7 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
>
<td
class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ colspan="4"
>
<div
class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
@@ -9117,9 +9193,8 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
</span>
</button>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
type="button"
>
<span
@@ -9136,6 +9211,9 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
/>
</svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
</div>
</div>
@@ -9146,17 +9224,29 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
class="MuiTableBody-root-id"
>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-tableRow-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
>
- Incredible Frozen Cheese
+ <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"
>
- 88720
+ Murray Inc
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
+ >
+ Mugs
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -9167,42 +9257,60 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Published
</div>
</td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Unbranded Granite Mouse
- </td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-id"
>
- 40275
+ <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 MuiSvgIcon-colorSecondary-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>
</td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-tableRow-id"
+ >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- Not published
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder60x60.png"
+ />
</div>
</td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Tasty Fresh Cheese
+ Williams-Taylor
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
>
- 22544
+ Coffee
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -9213,19 +9321,60 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Published
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-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 MuiSvgIcon-colorSecondary-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>
+ </td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-tableRow-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
>
- Sleek Fresh Table
+ <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"
>
- 12875
+ Hebert-Sherman
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
+ >
+ Coffee
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -9236,19 +9385,60 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Published
</div>
</td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-id"
>
- Licensed Frozen Salad
- </td>
- <td
+ <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 MuiSvgIcon-colorSecondary-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>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-tableRow-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"
>
- 11442
+ Estes, Johnson and Graham
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
+ >
+ Books
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -9259,12 +9449,41 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
Published
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-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 MuiSvgIcon-colorSecondary-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>
+ </td>
</tr>
</tbody>
</table>
</div>
<div
- class="Component-cardSpacer-id"
+ class="Component-spacer-id"
/>
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
@@ -9314,95 +9533,114 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
</div>
</div>
<div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Properties
- </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Availability
+ </span>
+ <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="MuiSwitch-root-id"
>
- <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 MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id MuiSwitchBase-checked-id MuiSwitch-checked-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"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ name="isPublished"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </svg>
- <input
- checked=""
- class="MuiSwitchBase-input-id"
- name="isPublished"
- type="checkbox"
+ </span>
+ <span
+ class="MuiSwitch-bar-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 MuiFormLabel-filled-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"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Publish on storefront
+ </div>
+ </span>
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- name="slug"
- placeholder="Music"
- type="text"
- value="Music"
- />
- </div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-filled-id"
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id"
>
- Slugs are used to create nice URLs for collection pages
- </p>
+ <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="isFeatured"
+ 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>
@@ -9460,7 +9698,7 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
</div>
`;
-exports[`Storyshots Views / Collections / Collection details when loading 1`] = `
+exports[`Storyshots Views / Collections / Collection details loading 1`] = `
<div>
<form>
<div
@@ -9469,6 +9707,31 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
<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"
>
@@ -9481,20 +9744,7 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
</h2>
<div
class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Show on storefront
- </span>
- </button>
- </div>
+ />
</div>
<div
class="Component-root-id"
@@ -9504,83 +9754,114 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiCardContent-root-id"
+ class="Component-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-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"
+ General information
+ </span>
+ <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 Component-name-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"
+ >
+ <input
+ aria-invalid="false"
class="MuiInput-input-id MuiInput-disabled-id"
disabled=""
name="name"
type="text"
- value=""
/>
</div>
</div>
- <div
- class="Component-spacer-id"
- />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
<span
- class="Skeleton-skeleton-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- ‌
+ Background image (optional)
</span>
<div
- class="Component-spacer-id"
- />
- <div
- class="Component-root-id"
+ class="Component-toolbar-id"
>
- <input
- class="Component-fileUploadField-id"
- disabled=""
- name="backgroundImage"
- type="file"
- value=""
- />
- <div
- class="MuiFormControl-root-id Component-textField-id"
- >
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="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-text-id MuiButton-flat-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
type="button"
>
<span
class="MuiButton-label-id"
>
- Upload
+ Upload image
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
+ <input
+ class="CollectionImageComponent-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <div>
+ <div
+ class="CollectionImageComponent-imageContainer-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
</div>
</div>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -9588,7 +9869,11 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Products
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
</span>
<div
class="Component-toolbar-id"
@@ -9602,7 +9887,7 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
<span
class="MuiButton-label-id"
>
- Add product
+ Assign product
</span>
</button>
</div>
@@ -9623,6 +9908,10 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
<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"
scope="col"
@@ -9630,17 +9919,21 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
Name
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textCenter-id"
scope="col"
>
- SKU
+ Type
</th>
<th
class="MuiTableCell-root-id MuiTableCell-head-id"
scope="col"
>
- Status
+ Published
</th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
</tr>
</thead>
<tfoot
@@ -9651,7 +9944,7 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
>
<td
class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ colspan="4"
>
<div
class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
@@ -9684,9 +9977,8 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
</span>
</button>
<button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
type="button"
>
<span
@@ -9703,6 +9995,9 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
/>
</svg>
</span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
</button>
</div>
</div>
@@ -9713,10 +10008,30 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
class="MuiTableBody-root-id"
>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id Component-tableRow-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ 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"
@@ -9725,7 +10040,7 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
>
<span
class="Skeleton-skeleton-id"
@@ -9742,12 +10057,41 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
‌
</span>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-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 MuiSvgIcon-colorSecondary-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>
+ </td>
</tr>
</tbody>
</table>
</div>
<div
- class="Component-cardSpacer-id"
+ class="Component-spacer-id"
/>
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
@@ -9797,94 +10141,111 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
</div>
</div>
<div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
+ <div>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Properties
- </span>
<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"
- >
- <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"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Published
+ Availability
</span>
- </label>
+ <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"
- >
- Slug
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="slug"
- placeholder=""
- type="text"
- value=""
- />
- </div>
- <p
- class="MuiFormHelperText-root-id"
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
- Slugs are used to create nice URLs for collection pages
- </p>
+ <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="isPublished"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Publish on storefront
+ </div>
+ </span>
+ </label>
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ >
+ <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-checked-id MuiSwitch-checked-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isFeatured"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Feature on Homepage
+ </div>
+ </span>
+ </label>
</div>
</div>
</div>
@@ -9942,31 +10303,23 @@ exports[`Storyshots Views / Collections / Collection details when loading 1`] =
</div>
`;
-exports[`Storyshots Views / Collections / Collection list default 1`] = `
+exports[`Storyshots Views / Collections / Collection details no products 1`] = `
<div>
- <div
- class="Component-md-id"
- >
+ <form>
<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"
+ 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"
@@ -9975,7 +10328,7 @@ exports[`Storyshots Views / Collections / Collection list default 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>
@@ -9984,528 +10337,1547 @@ exports[`Storyshots Views / Collections / Collection list default 1`] = `
class="MuiTouchRipple-root-id"
/>
</button>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Summer collection
+ </h2>
+ <div
+ class="Component-action-id"
+ />
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- padding="default"
+ <div
+ class="Component-root-id"
>
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-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"
+ <div
+ class="Component-root-id"
>
- 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"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ General information
+ </span>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="MuiFormControl-root-id Component-name-id"
>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Name
+ </label>
<div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-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>
+ name="name"
+ type="text"
+ value="Summer collection"
+ />
</div>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-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"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Background image (optional)
+ </span>
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="Component-toolbar-id"
>
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 5
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Outdoors
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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="CollectionImageComponent-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-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="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
+ class="Component-image-id"
+ src="block1.jpg"
+ />
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Products in Summer collection
+ </span>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Assign product
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <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"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textCenter-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>
+ </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="4"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-regular-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"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ />
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="4"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Search Engine Preview
+ </span>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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 collection easier to find
+ </p>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Availability
+ </span>
+ <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"
+ >
+ <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-checked-id MuiSwitch-checked-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isPublished"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Publish on storefront
+ </div>
+ </span>
+ </label>
+ <div
+ class="Component-spacer-id"
+ />
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ >
+ <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-checked-id MuiSwitch-checked-id MuiSwitchBase-disabled-id MuiSwitch-disabled-id"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <span
+ class="MuiSwitch-icon-id MuiSwitch-iconChecked-id"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isFeatured"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Feature on Homepage
+ </div>
+ </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-text-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>
+</div>
+`;
+
+exports[`Storyshots Views / Collections / Collection 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"
+ >
+ 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"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add collections
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-name-id"
+ scope="col"
+ >
+ Category Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textCenter-id"
+ scope="col"
+ >
+ No. Products
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Availability
+ </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-regular-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-tableRow-id"
+ >
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Summer collection
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
+ >
+ 4
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id undefined Component-successDot-id"
>
- Not published
+ Published
</div>
</td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-tableRow-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Winter sale
+ </td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
+ >
+ 4
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Collections / Collection list loading 1`] = `
+<div>
+ <div
+ class="Component-md-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <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 collections
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-name-id"
+ scope="col"
+ >
+ Category Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textCenter-id"
+ scope="col"
+ >
+ No. Products
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Availability
+ </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"
>
- 1
+ <div
+ class="MuiToolbar-root-id MuiToolbar-regular-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"
+ class="MuiTableRow-root-id Component-tableRow-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Electronics
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textCenter-id"
>
- <div
- class="Component-root-id undefined Component-errorDot-id"
+ <span
+ class="Skeleton-skeleton-id"
>
- Not published
- </div>
+ ‌
+ </span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- 9
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
</td>
</tr>
- <tr
- class="MuiTableRow-root-id"
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Collections / Create collection 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"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Automotive
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-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"
+ >
+ Add collection
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ General information
+ </span>
<div
- class="Component-root-id undefined Component-successDot-id"
+ 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 Component-name-id"
>
- Published
+ <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-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 5
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Baby
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="Component-root-id"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Background image (optional)
+ </span>
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="Component-toolbar-id"
>
- Published
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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="CollectionImageComponent-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- 6
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ <div
+ class="CollectionImageComponent-PhotosIconContainer-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id CollectionImageComponent-PhotosIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <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>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <div
+ class="Component-root-id"
>
- Home
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Search Engine Preview
+ </span>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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 collection easier to find
+ </p>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id"
>
- Not published
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Availability
+ </span>
+ <div
+ class="Component-toolbar-id"
+ />
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 0
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Shoes
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Published
+ <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="isPublished"
+ 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"
+ >
+ Publish on storefront
+ </div>
+ </span>
+ </label>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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>
+</div>
+`;
+
+exports[`Storyshots Views / Collections / Create collection 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"
>
- 8
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-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"
+ >
+ Add collection
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <div
+ class="Component-root-id"
>
- Shoes
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ General information
+ </span>
+ <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 undefined Component-errorDot-id"
+ class="MuiFormControl-root-id Component-name-id"
>
- Not published
+ <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"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ name="name"
+ type="text"
+ value=""
+ />
+ </div>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 2
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ <div
+ class="Component-root-id"
>
- Electronics
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Background image (optional)
+ </span>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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="CollectionImageComponent-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 undefined Component-successDot-id"
+ class="CollectionImageComponent-PhotosIconContainer-id"
>
- Published
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id CollectionImageComponent-PhotosIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <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>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 4
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id"
+ </div>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
- >
- Jewelery
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="Component-root-id"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Search Engine Preview
+ </span>
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="Component-toolbar-id"
>
- Published
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-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>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- 4
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Collections / Collection list 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"
- >
- 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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <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"
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- 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"
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Availability
+ </span>
<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 MuiFormControlLabel-disabled-id"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
+ <span
+ 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"
>
- <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"
+ <span
+ class="MuiSwitch-icon-id"
/>
- </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"
+ <input
+ class="MuiSwitchBase-input-id"
+ disabled=""
+ name="isPublished"
+ type="checkbox"
/>
- </svg>
+ </span>
</span>
- </button>
- </div>
+ <span
+ class="MuiSwitch-bar-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Publish on storefront
+ </div>
+ </span>
+ </label>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-id"
+ >
+ <div
+ class="Component-spacer-id"
+ />
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id Component-cancelButton-id"
+ tabindex="0"
+ type="button"
>
- <tr
- class="MuiTableRow-root-id"
+ <span
+ class="MuiButton-label-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 Component-textRight-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
+ 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>
</div>
`;
@@ -34117,58 +35489,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
>
<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"
@@ -34184,58 +35505,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
>
<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"
@@ -34251,125 +35521,23 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
>
<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>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
</div>
<img
alt="Id sit dolores adipisci"
@@ -34385,58 +35553,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
>
<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"
@@ -37196,58 +38313,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
>
<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"
@@ -37263,58 +38329,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
>
<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"
@@ -37330,58 +38345,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
>
<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"
@@ -37397,58 +38361,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
>
<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"
@@ -37464,58 +38377,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
>
<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"