Skip to content

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

Refactor code

dominik-zeglen74f3dde8a820
diff --git a/saleor/static/dashboard-next/components/TableFilter/FilterChip.tsx b/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx
similarity index 91%
rename from saleor/static/dashboard-next/components/TableFilter/FilterChip.tsx
rename to saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx
index 654db02aad..0dd02df2cc 100644
--- a/saleor/static/dashboard-next/components/TableFilter/FilterChip.tsx
+++ b/saleor/static/dashboard-next/components/TableFilter/FilterChips.tsx
@@ -17,22 +17,6 @@ interface FilterChipProps {
}
const decorate = withStyles({
- addFilterText: {
- fontWeight: 600 as 600,
- marginRight: "12px"
- },
- filterButton: {
- alignItems: "center",
- backgroundColor: "rgba(90, 179, 120, .25)",
- borderRadius: "19px",
- cursor: "pointer",
- display: "flex",
- height: "38px",
- justifyContent: "space-around",
- margin: "10px 0 0 12px",
- minWidth: "160px",
- padding: "0 8px 0 16px"
- },
addFilterButtonPrimary: {
"&:hover": {
backgroundColor: "rgba(90, 179, 120, .25)"
@@ -49,6 +33,22 @@ const decorate = withStyles({
border: "2px dashed #03A9F4",
width: "135px"
},
+ addFilterText: {
+ fontWeight: 600 as 600,
+ marginRight: "12px"
+ },
+ filterButton: {
+ alignItems: "center",
+ backgroundColor: "rgba(90, 179, 120, .25)",
+ borderRadius: "19px",
+ cursor: "pointer",
+ display: "flex",
+ height: "38px",
+ justifyContent: "space-around",
+ margin: "10px 0 0 12px",
+ minWidth: "160px",
+ padding: "0 8px 0 16px"
+ },
filterContainer: {
borderBottom: "1px solid #e8e8e8",
display: "flex",
@@ -67,11 +67,15 @@ const decorate = withStyles({
}
});
-export const FilterChip = decorate<FilterChipProps>(
+export const FilterChips = decorate<FilterChipProps>(
({ classes, filtersList }) => (
<div className={classes.filterContainer}>
{filtersList.map(filter => (
- <div className={classes.filterButton} onClick={filter.onClick}>
+ <div
+ className={classes.filterButton}
+ onClick={filter.onClick}
+ key={filter.label}
+ >
<Typography className={classes.filterText}>{filter.label}</Typography>
<ClearIcon className={classes.filterIcon} />
</div>
@@ -93,4 +97,4 @@ export const FilterChip = decorate<FilterChipProps>(
)
);
-export default FilterChip;
+export default FilterChips;
diff --git a/saleor/static/dashboard-next/components/TableFilter/index.ts b/saleor/static/dashboard-next/components/TableFilter/index.ts
index 326f9104ec..d2d9079005 100644
--- a/saleor/static/dashboard-next/components/TableFilter/index.ts
+++ b/saleor/static/dashboard-next/components/TableFilter/index.ts
@@ -1,5 +1,5 @@
export { default } from "./FilterTabs";
-export { Filter } from "./FilterChip";
+export { Filter } from "./FilterChips";
export * from "./FilterTabs";
export * from "./FilterTab";
-export * from "./FilterChip";
+export * from "./FilterChips";
diff --git a/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx b/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx
index 16fdf810ef..54e53a95c9 100644
--- a/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderListFilter/OrderListFilter.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import {
Filter,
- FilterChip,
+ FilterChips,
FilterTab,
FilterTabs
} from "../../../components/TableFilter";
@@ -45,7 +45,7 @@ const OrderListFilter: React.StatelessComponent<OrderListFilterProps> = ({
)}
</FilterTabs>
{currentTab === "custom" && filtersList && filtersList.length > 0 && (
- <FilterChip filtersList={filtersList} />
+ <FilterChips filtersList={filtersList} />
)}
</>
);
diff --git a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx
index 09c34b9df3..6de5bd4052 100644
--- a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import {
Filter,
- FilterChip,
+ FilterChips,
FilterTab,
FilterTabs
} from "../../../components/TableFilter";
@@ -49,7 +49,7 @@ const ProductListFilter: React.StatelessComponent<ProductListFilterProps> = ({
)}
</FilterTabs>
{currentTab === "custom" && filtersList && filtersList.length > 0 && (
- <FilterChip filtersList={filtersList} />
+ <FilterChips filtersList={filtersList} />
)}
</>
);
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 c3383f384d..2fa4fbef6d 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -32810,6 +32810,84 @@ exports[`Storyshots Views / Orders / Order list default 1`] = `
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
+ <div
+ class="MuiTabs-root-id Component-tabsRoot-id"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <div
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Orders
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to fulfill
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to capture
+ </span>
+ </span>
+ </span>
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
<table
class="MuiTable-root-id"
padding="default"
@@ -33921,6 +33999,84 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
+ <div
+ class="MuiTabs-root-id Component-tabsRoot-id"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <div
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Orders
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to fulfill
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to capture
+ </span>
+ </span>
+ </span>
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
<table
class="MuiTable-root-id"
padding="default"
@@ -34150,6 +34306,84 @@ exports[`Storyshots Views / Orders / Order list when no data 1`] = `
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
+ <div
+ class="MuiTabs-root-id Component-tabsRoot-id"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <div
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Orders
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to fulfill
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to capture
+ </span>
+ </span>
+ </span>
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
<table
class="MuiTable-root-id"
padding="default"
@@ -34286,23 +34520,32 @@ exports[`Storyshots Views / Orders / Order list when no data 1`] = `
</div>
`;
-exports[`Storyshots Views / Pages / Page details when loading 1`] = `
+exports[`Storyshots Views / Orders / Order list with custom filters 1`] = `
<div>
- <form>
+ <div
+ class="Component-md-id"
+ >
<div
- class="Component-md-id"
+ class="Component-root-id"
>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Orders
+ </h2>
<div
- class="Component-root-id"
+ class="Component-action-id"
>
<button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-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="MuiIconButton-label-id"
+ class="MuiButton-label-id"
>
+ Create order
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -34311,1102 +34554,3347 @@ exports[`Storyshots Views / Pages / Page details when loading 1`] = `
>
<g>
<path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
/>
</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>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-root-id"
+ class="MuiTabs-root-id Component-tabsRoot-id"
>
- <div>
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
>
<div
- class="MuiCardContent-root-id"
+ class="MuiTabs-flexContainer-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <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"
+ <span
+ class="MuiTab-wrapper-id"
>
- <input
- aria-invalid="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%"
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Orders
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <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"
+ <span
+ class="MuiTab-wrapper-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <span
+ class="MuiTab-labelContainer-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="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"
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to fulfill
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
>
- Select text to enable text-formatting tools.
- </p>
- </div>
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Ready to capture
+ </span>
+ </span>
+ </span>
+ </button>
</div>
</div>
</div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ </div>
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="MuiCardContent-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ No. of Order
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Customer
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Payment
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Fulfillment status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ scope="col"
+ >
+ Total
+ </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="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-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="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
disabled=""
- name="slug"
- type="text"
- value=""
- />
+ 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>
- <p
- class="MuiFormHelperText-root-id"
- >
- Slug is being used to create page URL
- </p>
</div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #20
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658650376"
+ title="Tue Sep 11 2018 05:37:30 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Laura Stone 1 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id undefined Component-successDot-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"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="availableOn"
- type="date"
- value=""
- />
- </div>
+ Paid
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="Component-spacer-id"
- />
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ class="Component-root-id undefined Component-errorDot-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="isVisible"
- type="checkbox"
- />
- </span>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-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-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 / Pages / Page details with initial 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"
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-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"
- >
- Lorem Ipsum
- </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"
+ $305.17
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <div
- class="MuiCardContent-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ #19
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658650124"
+ title="Tue Sep 11 2018 05:37:30 GMT-0400"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- autofocus=""
- class="MuiInput-input-id"
- name="title"
- type="text"
- value="Lorem Ipsum"
- />
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Elizabeth Vaughn
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
<div
- class="MuiFormControl-root-id"
- style="width:100%"
+ class="Component-root-id undefined Component-successDot-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-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"
- 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 MuiFormHelperText-filled-id"
- >
- Select text to enable text-formatting tools.
- </p>
+ Paid
</div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="MuiCardContent-root-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-id undefined Component-errorDot-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
- </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"
- type="text"
- value="lorem-ipsum-dolor"
- />
- </div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-filled-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 MuiFormLabel-filled-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"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-03-20T16:39:08.850105+00:00"
- />
- </div>
+ Cancelled
</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"
- >
- <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="isVisible"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-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-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 / Pages / Page 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"
- >
- 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"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <thead
- class="MuiTableHead-root-id"
- >
+ $1,215.89
+ </td>
+ </tr>
<tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ #18
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <time
+ datetime="1536658650019"
+ title="Tue Sep 11 2018 05:37:30 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
+ </td>
<td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id undefined Component-errorDot-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>
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Draft
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $321.71
+ </td>
</tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- About
+ #17
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- /about
+ <time
+ datetime="1536658649864"
+ title="Tue Sep 11 2018 05:37:29 GMT-0400"
+ >
+ in a month
+ </time>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Aaron Randall
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="Component-root-id undefined Component-errorDot-id"
>
- Published
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $271.95
+ </td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Terms of use
+ #16
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- /terms-of-use
+ <time
+ datetime="1536658649610"
+ title="Tue Sep 11 2018 05:37:29 GMT-0400"
+ >
+ in a month
+ </time>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Laura Jensen
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
class="Component-root-id undefined Component-errorDot-id"
>
- Not published
+ Unpaid
</div>
</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Pages / Page 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"
- >
- 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"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <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"
- >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $335.84
+ </td>
+ </tr>
<tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ #15
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <time
+ datetime="1536658649336"
+ title="Tue Sep 11 2018 05:37:29 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
+ Jenna Villa
+ </td>
<td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id undefined Component-errorDot-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>
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $1,042.15
+ </td>
</tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <span
- class="Skeleton-skeleton-id"
+ #14
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658649103"
+ title="Tue Sep 11 2018 05:37:29 GMT-0400"
>
- ‌
- </span>
+ in a month
+ </time>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <span
- class="Skeleton-skeleton-id"
+ Wesley Davis
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
>
- ‌
- </span>
+ Unpaid
+ </div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
>
- ‌
- </span>
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $213.69
</td>
</tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Pages / Page list no data 1`] = `
-<div>
- <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 MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #13
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658648921"
+ title="Tue Sep 11 2018 05:37:28 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Anthony Gonzalez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $367.03
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #12
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658648750"
+ title="Tue Sep 11 2018 05:37:28 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Denise Freeman
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $298.76
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #11
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658648598"
+ title="Tue Sep 11 2018 05:37:28 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ James Ball
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Paid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unfulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $663.69
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #10
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658648409"
+ title="Tue Sep 11 2018 05:37:28 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Michael Martinez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $280.41
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658648185"
+ title="Tue Sep 11 2018 05:37:28 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Melissa Simon
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $234.93
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #8
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658647953"
+ title="Tue Sep 11 2018 05:37:27 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Justin Mccoy
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $485.19
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658647828"
+ title="Tue Sep 11 2018 05:37:27 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Anthony Gonzalez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Paid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $223.54
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #6
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658647636"
+ title="Tue Sep 11 2018 05:37:27 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Bradley Ford
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $237.55
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #5
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658647420"
+ title="Tue Sep 11 2018 05:37:27 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ David Lawson
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $453.55
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #4
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658647230"
+ title="Tue Sep 11 2018 05:37:27 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Lauren Watson
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $812.67
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658646972"
+ title="Tue Sep 11 2018 05:37:26 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Mark Lee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unpaid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $481.41
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658646751"
+ title="Tue Sep 11 2018 05:37:26 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Kara Murphy
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Paid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $569.19
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <time
+ datetime="1536658646314"
+ title="Tue Sep 11 2018 05:37:26 GMT-0400"
+ >
+ in a month
+ </time>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Curtis Bailey
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Paid
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $557.00
+ </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"
+ />
+ </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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="MuiCardContent-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"
+ 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-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="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-elevation1-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"
+ 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"
+ 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"
+ 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="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="isVisible"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-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-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 / Pages / Page details with initial 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"
+ >
+ Lorem Ipsum
+ </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="MuiCardContent-root-id"
+ >
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-addHelperTextPadding-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ 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%"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-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"
+ 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 MuiFormHelperText-filled-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-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 MuiFormLabel-filled-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"
+ class="MuiInput-input-id"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-filled-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 MuiFormLabel-filled-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"
+ 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="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"
+ >
+ <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="isVisible"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-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-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 / Pages / Page 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"
+ >
+ 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="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"
+ >
+ 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-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 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 undefined 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 undefined Component-errorDot-id"
+ >
+ Not published
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Pages / Page 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"
+ >
+ 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="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"
+ >
+ 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-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"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-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 / Pages / Page list no data 1`] = `
+<div>
+ <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 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="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"
+ >
+ 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-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"
+ colspan="3"
+ >
+ No pages found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Product types / Create product type 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"
+ >
+ Create product type
+ </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 Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ 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"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Product Type Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value=""
+ />
+ </div>
+ </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"
+ >
+ Shipping
+ </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"
+ >
+ <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="isShippingRequired"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Is this product shippable?
+ </span>
+ </label>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-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"
+ >
+ Taxes
+ </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-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Tax rate (optional)
+ </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
+ 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>
+ </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-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 / Product types / Create product type 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"
+ >
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ 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"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ >
+ Product Type Name
+ </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="name"
+ type="text"
+ value=""
+ />
+ </div>
+ </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"
+ >
+ Shipping
+ </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="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"
+ >
+ Is this product shippable?
+ </span>
+ </label>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-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"
+ >
+ Taxes
+ </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-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Tax rate (optional)
+ </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"
+ >
+ Standard
+ </div>
+ <input
+ 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>
+ </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-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 / 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"
+ >
+ E-books
+ </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 Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ 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"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Product Type Name
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="name"
+ type="text"
+ value="E-books"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-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"
+ >
+ Product Attributes
+ </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"
+ >
+ Add attribute
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </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"
+ >
+ Attribute name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Values
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Author
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ John Doe, Milionare Pirate
+ </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 MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Language
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ English, Pirate
+ </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 MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Publisher
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Mirumee Press, Saleor Publishing
+ </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>
+ <div
+ class="Component-cardContainer-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ <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="hasVariants"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </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"
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ This product type has variants
+ </span>
+ </label>
+ </div>
+ </div>
+ <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"
+ <div
+ class="Component-root-id"
>
- Url
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Shipping
+ </span>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- Visibility
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-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="isShippingRequired"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Is this product shippable?
+ </span>
+ </label>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <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"
+ >
+ Taxes
+ </span>
<div
- class="TablePagination-spacer-id"
+ class="Component-toolbar-id"
/>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-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 MuiFormLabel-filled-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"
+ Tax rate (optional)
+ </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
+ 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>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ </div>
+ </div>
</div>
</div>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
+ </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"
>
- <tr
- class="MuiTableRow-root-id"
+ <span
+ class="MuiButton-label-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="3"
- >
- No pages found
- </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>
`;
-exports[`Storyshots Views / Product types / Create product type default 1`] = `
+exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<div>
<form>
<div
@@ -35443,7 +37931,12 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Create product type
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
</h2>
<div
class="Component-action-id"
@@ -35487,11 +37980,12 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
Product Type Name
</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"
- class="MuiInput-input-id"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
name="name"
type="text"
value=""
@@ -35500,6 +37994,169 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
</div>
</div>
</div>
+ <div
+ class="Component-cardContainer-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"
+ >
+ Product Attributes
+ </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"
+ >
+ Add attribute
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </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"
+ >
+ Attribute name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
+ >
+ Values
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ </tr>
+ </thead>
+ <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 Component-textLeft-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </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>
+ <div
+ class="Component-cardContainer-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"
+ >
+ <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="hasVariants"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ This product type has variants
+ </span>
+ </label>
+ </div>
</div>
<div>
<div
@@ -35527,10 +38184,11 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
class="MuiCardContent-root-id"
>
<label
- class="MuiFormControlLabel-root-id"
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
<span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-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"
>
<span
class="MuiIconButton-label-id"
@@ -35547,16 +38205,14 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
</svg>
<input
class="MuiSwitchBase-input-id"
+ disabled=""
name="isShippingRequired"
type="checkbox"
/>
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
</span>
<span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
>
Is this product shippable?
</span>
@@ -35594,13 +38250,13 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
class="MuiFormControl-root-id Component-formControl-id"
>
<label
- class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
>
Tax rate (optional)
</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"
>
<div
class="MuiSelect-root-id"
@@ -35608,16 +38264,17 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
<div
aria-haspopup="true"
aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiSelect-disabled-id MuiInput-input-id MuiInput-disabled-id"
role="button"
- tabindex="0"
>
- Standard
+ <span>
+ ​
+ </span>
</div>
<input
name="taxRate"
type="hidden"
- value="STANDARD"
+ value=""
/>
<svg
aria-hidden="true"
@@ -35640,6 +38297,20 @@ exports[`Storyshots Views / Product types / Create product type default 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
class="Component-spacer-id"
/>
@@ -35671,27 +38342,311 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
</button>
</div>
</div>
- </form>
+ </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"
+ >
+ <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-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-wideCell-id"
+ scope="col"
+ >
+ Type Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
+ scope="col"
+ >
+ Type
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
+ scope="col"
+ >
+ Tax
+ </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-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-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Candy
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ Configurable
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Physical
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Foodstuffs
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ E-books
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ Simple product
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Digital
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Standard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Mugs
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ Simple product
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Physical
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Standard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ Configurable
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Physical
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Standard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ T-Shirt
+ <span
+ class="MuiTypography-root-id MuiTypography-caption-id"
+ >
+ Configurable
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Physical
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ Standard
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
</div>
`;
-exports[`Storyshots Views / Product types / Create product type loading 1`] = `
+exports[`Storyshots Views / Product types / Product types list loading 1`] = `
<div>
- <form>
+ <div
+ class="Component-md-id"
+ >
<div
- class="Component-md-id"
+ class="Component-root-id"
>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Product types
+ </h2>
<div
- class="Component-root-id"
+ class="Component-action-id"
>
<button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-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="MuiIconButton-label-id"
+ class="MuiButton-label-id"
>
+ Add product type
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -35700,255 +38655,155 @@ exports[`Storyshots Views / Product types / Create product type loading 1`] = `
>
<g>
<path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
/>
</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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ padding="default"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Information
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-wideCell-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 Name
- </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="name"
- type="text"
- value=""
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
+ Type Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
+ scope="col"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Shipping
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ Type
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
+ scope="col"
>
- <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"
- >
- Is this product shippable?
- </span>
- </label>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
+ Tax
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
>
<div
- class="Component-root-id"
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Taxes
- </span>
<div
- class="Component-toolbar-id"
+ class="TablePagination-spacer-id"
/>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="TablePaginationActions-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Tax rate (optional)
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <div
- class="MuiSelect-root-id"
+ <span
+ class="MuiIconButton-label-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"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Standard
- </div>
- <input
- name="taxRate"
- type="hidden"
- value="STANDARD"
- />
+ <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 MuiSelect-icon-id"
+ class="MuiSvgIcon-root-id"
focusable="false"
viewBox="0 0 24 24"
>
<path
- d="M7 10l5 5 5-5z"
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
/>
</svg>
- </div>
- </div>
+ </span>
+ </button>
</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-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"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <span
- class="MuiButton-label-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- Save
- </span>
- </button>
- </div>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
- </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Product types / Product type details default 1`] = `
+exports[`Storyshots Views / Products / Create product When loading 1`] = `
<div>
<form>
<div
@@ -35985,7 +38840,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- E-books
+ Add product
</h2>
<div
class="Component-action-id"
@@ -35996,7 +38851,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
>
<div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -36004,7 +38859,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Information
+ General information
</span>
<div
class="Component-toolbar-id"
@@ -36020,24 +38875,181 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
class="MuiCardContent-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ 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"
+ 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 MuiFormLabel-filled-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"
>
- Product Type Name
+ 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-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Pricing
+ </span>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-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"
+ >
+ <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="chargeTaxes"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <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="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-root-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- name="name"
- type="text"
- value="E-books"
- />
+ <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"
+ 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>
</div>
</div>
</div>
@@ -36054,7 +39066,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Product Attributes
+ Search Engine Preview
</span>
<div
class="Component-toolbar-id"
@@ -36067,7 +39079,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<span
class="MuiButton-label-id"
>
- Add attribute
+ Edit website SEO
</span>
<span
class="MuiTouchRipple-root-id"
@@ -36081,213 +39093,21 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<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"
- >
- Attribute name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Values
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Author
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- John Doe, Milionare Pirate
- </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 MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Language
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- English, Pirate
- </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 MuiTableRow-hover-id Component-link-id"
- >
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Publisher
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
- >
- Mirumee Press, Saleor Publishing
- </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>
- <div
- class="Component-cardContainer-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="hasVariants"
- type="checkbox"
- />
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ <div
+ class="MuiCardContent-root-id"
>
- This product type has variants
- </span>
- </label>
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -36295,7 +39115,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Shipping
+ Organize Product
</span>
<div
class="Component-toolbar-id"
@@ -36310,41 +39130,194 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<div
class="MuiCardContent-root-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <div
+ class="Component-container-id"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
+ <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"
+ 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"
+ 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 MuiFormLabel-filled-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
+ 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="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>
+ <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
- class="MuiSwitchBase-input-id"
- name="isShippingRequired"
- type="checkbox"
+ name="category"
+ type="hidden"
+ value=""
/>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ <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"
>
- Is this product shippable?
- </span>
- </label>
+ 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
+ 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
@@ -36359,7 +39332,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Taxes
+ Availability
</span>
<div
class="Component-toolbar-id"
@@ -36375,46 +39348,46 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
class="MuiCardContent-root-id"
>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="Component-switchContainer-id"
>
<label
- class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
- >
- Tax rate (optional)
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
>
- <div
- class="MuiSelect-root-id"
+ <span
+ class="MuiSwitch-root-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
+ <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"
>
- Standard
- </div>
- <input
- name="taxRate"
- type="hidden"
- value="STANDARD"
+ <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"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ >
+ <div
+ class="Component-label-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
- </div>
- </div>
+ Published in storefront
+ </div>
+ </span>
+ </label>
</div>
</div>
</div>
@@ -36424,20 +39397,6 @@ exports[`Storyshots Views / Product types / Product type details default 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
class="Component-spacer-id"
/>
@@ -36473,7 +39432,7 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
</div>
`;
-exports[`Storyshots Views / Product types / Product type details loading 1`] = `
+exports[`Storyshots Views / Products / Create product default 1`] = `
<div>
<form>
<div
@@ -36510,12 +39469,7 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
+ Add product
</h2>
<div
class="Component-action-id"
@@ -36526,7 +39480,7 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
>
<div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -36534,7 +39488,7 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Information
+ General information
</span>
<div
class="Component-toolbar-id"
@@ -36550,26 +39504,79 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
class="MuiCardContent-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ 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-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="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%"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- Product Type Name
+ Description
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- type="text"
- value=""
- />
+ <div
+ class="Textarea-root-id"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
</div>
@@ -36585,161 +39592,149 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Product Attributes
+ Pricing
</span>
<div
class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-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="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiCheckbox-root-id MuiCheckbox-colorPrimary-id"
>
<span
- class="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Add attribute
+ <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"
/>
- </button>
- </div>
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ Charge taxes for this item
+ </span>
+ </label>
</div>
- <div
- class="Component-children-id"
- />
<hr
class="Component-hr-id"
/>
- <table
- class="MuiTable-root-id"
- padding="default"
+ <div
+ class="MuiCardContent-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"
- >
- Attribute name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
- scope="col"
- >
- Values
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ <div
+ class="Component-root-id"
>
- <tr
- class="MuiTableRow-root-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ <label
+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="price"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-iconCell-id"
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-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>
+ <input
+ aria-invalid="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-cardContainer-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-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="Component-root-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ 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"
>
- <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"
+ >
+ Edit website SEO
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
- </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"
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
>
- This product type has variants
- </span>
- </label>
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -36747,7 +39742,7 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Shipping
+ Organize Product
</span>
<div
class="Component-toolbar-id"
@@ -36762,40 +39757,195 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<div
class="MuiCardContent-root-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div
+ class="Component-container-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"
+ data-shrink="false"
+ >
+ Product Type
+ </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"
+ 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"
+ >
+ <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 MuiFormLabel-filled-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
+ 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="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
+ 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
+ name="collections"
+ type="hidden"
+ value=""
+ />
<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>
- <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"
- >
- Is this product shippable?
- </span>
- </label>
+ </div>
+ </div>
+ </div>
</div>
</div>
<div
@@ -36810,7 +39960,7 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Taxes
+ Availability
</span>
<div
class="Component-toolbar-id"
@@ -36826,605 +39976,550 @@ exports[`Storyshots Views / Product types / Product type details loading 1`] = `
class="MuiCardContent-root-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"
- >
- Tax rate (optional)
- </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
- name="taxRate"
- 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>
- <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 / 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"
- >
- <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-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-wideCell-id"
- scope="col"
- >
- Type Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
- scope="col"
- >
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
- scope="col"
- >
- Tax
- </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-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"
+ class="Component-switchContainer-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"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ <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"
/>
- </svg>
+ </span>
+ <span
+ class="MuiSwitch-bar-id"
+ />
</span>
<span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ >
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
</div>
</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 MuiTableRow-hover-id Component-link-id"
+ <span
+ class="MuiButton-label-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Candy
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
- >
- Configurable
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Physical
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Foodstuffs
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-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"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- E-books
- <span
- class="MuiTypography-root-id MuiTypography-caption-id"
- >
- Simple product
- </span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Digital
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Standard
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ Save
+ </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"
+ >
+ <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"
>
- <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 variant
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <form>
+ <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"
>
- Mugs
<span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Simple product
+ Variants
</span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Physical
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
+ padding="default"
>
- Standard
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="Component-root-id"
>
- Coffee
<span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Configurable
+ General Information
</span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Physical
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id Component-grid-id"
>
- Standard
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-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"
+ >
+ 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"
+ 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>
+ </div>
+ <div
+ class="Component-spacer-id"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ class="Component-root-id"
>
- T-Shirt
<span
- class="MuiTypography-root-id MuiTypography-caption-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Configurable
+ Pricing
</span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Physical
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
- >
- Standard
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Product types / Product types 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"
- >
- 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-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-wideCell-id"
- scope="col"
- >
- Type Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
- scope="col"
- >
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-leftText-id"
- scope="col"
- >
- Tax
- </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="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="Component-grid-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"
+ <div>
+ <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"
+ data-shrink="false"
+ for="priceOverride"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="priceOverride"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-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"
+ <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="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"
+ data-shrink="false"
+ for="costPrice"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="costPrice"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
+ <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>
- </td>
- </tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-id"
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-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 Component-leftText-id"
+ <div
+ class="Component-root-id"
>
<span
- class="Skeleton-skeleton-id"
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- ‌
+ Stock
</span>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-leftText-id"
+ <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"
+ <div
+ class="Component-grid-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>
+ <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"
+ >
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="quantity"
+ type="text"
+ value="0"
+ />
+ </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
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
<div
class="Component-root-id"
>
+ <div
+ class="Component-spacer-id"
+ />
<button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id Component-cancelButton-id"
tabindex="0"
type="button"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiButton-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>
+ Cancel
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-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 product
- </h2>
- <div
- class="Component-action-id"
+ <span
+ class="MuiButton-label-id"
+ >
+ Save variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Create product variant when loading 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"
/>
- </div>
+ </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"
>
@@ -37438,7 +40533,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- General information
+ Variants
</span>
<div
class="Component-toolbar-id"
@@ -37450,162 +40545,158 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<hr
class="Component-hr-id"
/>
- <div
- class="MuiCardContent-root-id"
+ <table
+ class="MuiTable-root-id"
+ padding="default"
>
- <div
- class="Component-root-id"
+ <tbody
+ class="MuiTableBody-root-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <tr
+ class="MuiTableRow-root-id Component-link-id"
>
- <label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
>
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-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 Component-textLeft-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="name"
- rows="5"
- type="text"
- value=""
- />
- </div>
- </div>
- </div>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ General Information
+ </span>
<div
- class="Component-spacer-id"
+ class="Component-toolbar-id"
/>
- <div
- class="MuiFormControl-root-id"
- style="width:100%"
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id Component-grid-id"
+ >
+ <span
+ class="Skeleton-skeleton-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"
- >
- <div
- class="Textarea-root-id"
- style="height:19px"
- >
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="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>
+ ‌
+ </span>
</div>
</div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Pricing
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
+ Pricing
+ </span>
<div
- class="Component-children-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"
- >
- <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="chargeTaxes"
- type="checkbox"
- />
- </span>
- </span>
- <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"
+ class="Component-toolbar-id"
/>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
<div
- class="MuiCardContent-root-id"
+ class="Component-grid-id"
>
- <div
- 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>
+ <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 MuiInput-inputType-id"
+ disabled=""
+ name="priceOverride"
+ 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
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"
+ for="costPrice"
>
- Price
+ Cost price override
</label>
<div
class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
@@ -37614,7 +40705,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
aria-invalid="false"
class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
disabled=""
- name="price"
+ name="costPrice"
type="number"
value=""
/>
@@ -37628,60 +40719,253 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
</p>
</div>
</div>
+ <p
+ class="MuiFormHelperText-root-id"
+ >
+ Optional
+ </p>
</div>
</div>
</div>
</div>
</div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Stock
+ </span>
<div
- class="Component-root-id"
+ 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"
>
- <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"
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiButton-label-id"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- Edit website SEO
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
+ Inventory
+ </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="quantity"
+ type="text"
+ value="0"
+ />
+ </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
+ 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="sku"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
</div>
</div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-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 variant
+ </span>
+ </button>
+ </div>
+ </form>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Create product variant with errors 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 variant
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <form>
+ <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"
+ >
+ Variants
+ </span>
<div
- class="MuiCardContent-root-id"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <tbody
+ class="MuiTableBody-root-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-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"
>
- Add search engine title and description to make this product easier to find
- </p>
- </div>
- </div>
+ <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>
@@ -37694,7 +40978,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Organize Product
+ General Information
</span>
<div
class="Component-toolbar-id"
@@ -37707,7 +40991,7 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
class="Component-hr-id"
/>
<div
- class="MuiCardContent-root-id"
+ class="MuiCardContent-root-id Component-grid-id"
>
<div
class="Component-container-id"
@@ -37719,20 +41003,19 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- Product Type
+ Color
</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"
+ class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
role="combobox"
>
<input
aria-invalid="false"
autocomplete="off"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- id="downshift-6-input"
+ class="MuiInput-input-id"
+ id="downshift-18-input"
type="text"
value=""
/>
@@ -37756,217 +41039,191 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<div
class="Component-spacer-id"
/>
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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
- 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"
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Attributes
- </p>
- <hr
- class="Component-hr-id"
+ Pricing
+ </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-formControl-id"
+ class="Component-grid-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>
<div
- class="MuiSelect-root-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
- 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="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
>
- <span>
- ​
- </span>
+ <input
+ aria-invalid="true"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="priceOverride"
+ 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>
- <input
- name="category"
- 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 MuiFormHelperText-error-id"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
+ Generic error
+ </p>
</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>
<div
- class="MuiSelect-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-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="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
+ data-shrink="false"
+ for="costPrice"
>
- <span>
- ​
- </span>
- </div>
- <input
- name="collections"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <input
+ aria-invalid="true"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="costPrice"
+ type="number"
+ value=""
/>
- </svg>
+ <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 MuiFormHelperText-error-id"
+ >
+ Generic error
+ </p>
</div>
</div>
</div>
</div>
</div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Availability
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
+ Stock
+ </span>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ class="Component-toolbar-id"
/>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
<div
- class="MuiCardContent-root-id"
+ class="Component-grid-id"
>
- <div
- class="Component-switchContainer-id"
- >
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
+ <div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <span
- class="MuiSwitch-root-id"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <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"
+ Inventory
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ >
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id"
+ name="quantity"
+ type="text"
+ value="0"
/>
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
+ </div>
+ </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"
>
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
- </span>
- </label>
+ 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"
+ 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>
@@ -38002,16 +41259,16 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
<span
class="MuiButton-label-id"
>
- Save
+ Save variant
</span>
</button>
</div>
- </div>
- </form>
+ </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Products / Create product default 1`] = `
+exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`] = `
<div>
<form>
<div
@@ -38048,7 +41305,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Add product
+ Ergonomic Plastic Bacon
</h2>
<div
class="Component-action-id"
@@ -38089,8 +41346,8 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
Name
</label>
@@ -38103,7 +41360,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
name="name"
rows="5"
type="text"
- value=""
+ value="Ergonomic Plastic Bacon"
/>
</div>
</div>
@@ -38116,8 +41373,8 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
style="width:100%"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
Description
</label>
@@ -38141,122 +41398,25 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
readonly=""
rows="1"
tabindex="-1"
- />
- <textarea
- aria-invalid="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- 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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Pricing
- </span>
- <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"
- 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>
+ 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"
+ 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 MuiFormHelperText-filled-id"
+ >
+ Select text to enable text-formatting tools.
+ </p>
</div>
</div>
</div>
@@ -38264,7 +41424,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
class="Component-cardContainer-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -38272,7 +41432,7 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Search Engine Preview
+ Images
</span>
<div
class="Component-toolbar-id"
@@ -38285,12 +41445,17 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<span
class="MuiButton-label-id"
>
- Edit website SEO
+ Upload image
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
+ <input
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
</div>
</div>
<div
@@ -38301,227 +41466,191 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
/>
<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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Organize Product
- </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-container-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"
+ <div
+ class="Component-imageContainer-id"
>
- Product Type
- </label>
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
+ </div>
<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-imageContainer-id"
>
- <input
- aria-invalid="false"
- autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-5-input"
- type="text"
- value=""
+ <div
+ class="Component-imageOverlay-id"
+ >
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
>
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
</div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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"
+ class="Component-imageContainer-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="Component-imageOverlay-id"
>
- No
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
</div>
- <input
- name="hasVariants"
- type="hidden"
- value="false"
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <div
+ class="Component-imageOverlayToolbar-id"
/>
- </svg>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
</div>
</div>
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
- <hr
- class="Component-hr-id"
- />
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-id"
+ >
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<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"
- data-shrink="false"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Category
- </label>
+ Pricing
+ </span>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <div
- class="MuiSelect-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
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
- >
- <span>
- ​
- </span>
- </div>
- <input
- name="category"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <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 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="chargeTaxes"
+ type="checkbox"
/>
- </svg>
- </div>
- </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
- class="Component-spacer-id"
- />
<hr
class="Component-hr-id"
/>
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiCardContent-root-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-root-id"
>
<div
- class="MuiSelect-root-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <div
- aria-haspopup="true"
- aria-pressed="false"
- class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
- role="button"
- tabindex="0"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ for="price"
>
- <span>
- ​
- </span>
- </div>
- <input
- name="collections"
- type="hidden"
- value=""
- />
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ Price
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="price"
+ type="number"
+ value="339.39"
/>
- </svg>
+ <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>
@@ -38539,11 +41668,40 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Availability
+ Variants
</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 attributes
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <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"
+ >
+ Add variant
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
</div>
<div
class="Component-children-id"
@@ -38554,141 +41712,149 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
<div
class="MuiCardContent-root-id"
>
- <div
- class="Component-switchContainer-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <label
- class="MuiFormControlLabel-root-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"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <span
- class="MuiSwitch-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
>
- <span
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"
+ 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 undefined Component-successDot-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>
+ 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 undefined 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="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="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ class="MuiButton-label-id"
>
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
+ Edit website SEO
</span>
- </label>
+ <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="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 / Products / Create product variant default 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 variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
- <div
- class="Component-root-id"
- >
<div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -38696,7 +41862,7 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Variants
+ Organize Product
</span>
<div
class="Component-toolbar-id"
@@ -38708,84 +41874,102 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
<hr
class="Component-hr-id"
/>
- <table
- class="MuiTable-root-id"
- padding="default"
+ <div
+ class="MuiCardContent-root-id"
>
- <tbody
- class="MuiTableBody-root-id"
+ <div
+ class="Component-container-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <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"
+ 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"
>
- Cordoba Oro
- </td>
- </tr>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
+ <input
+ aria-invalid="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"
+ >
+ <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 MuiFormLabel-filled-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-root-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
- class="MuiAvatar-root-id Component-avatar-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"
>
- <img
- class="MuiAvatar-img-id"
- src="placeholder255x255.png"
- />
+ Yes
</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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <input
+ 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"
>
- General Information
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id Component-grid-id"
- >
+ Attributes
+ </p>
<div
class="Component-container-id"
>
@@ -38793,10 +41977,10 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- Color
+ Borders
</label>
<div
aria-autocomplete="list"
@@ -38808,9 +41992,9 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
aria-invalid="false"
autocomplete="off"
class="MuiInput-input-id"
- id="downshift-17-input"
+ id="downshift-8-input"
type="text"
- value=""
+ value="portals"
/>
<svg
aria-hidden="true"
@@ -38832,185 +42016,251 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
<div
class="Component-spacer-id"
/>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <div
+ class="Component-container-id"
>
- Pricing
- </span>
+ <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"
+ >
+ 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"
+ 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-toolbar-id"
+ class="Component-spacer-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="MuiFormControl-root-id Component-formControl-id"
>
- <div>
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiSelect-root-id"
>
- <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-formControl-id MuiInput-underline-id"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="priceOverride"
- 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>
+ Apparel
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <input
+ name="category"
+ type="hidden"
+ value="Q2F0ZWdvcnk6MQ=="
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Optional
- </p>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</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-filled-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="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiSelect-root-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"
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="costPrice"
- type="number"
- value=""
- />
<div
- class="MuiInputAdornment-root-id MuiInputAdornment-positionEnd-id Component-currencySymbol-id"
+ class="Component-chipContainer-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
+ <div
+ class="MuiChip-root-id Component-chip-id"
+ role="button"
+ tabindex="-1"
>
- USD
- </p>
+ <span
+ class="MuiChip-label-id"
+ >
+ Winter sale
+ </span>
+ </div>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id"
+ <input
+ name="collections"
+ type="hidden"
+ value="Q29sbGVjdGlvbjoy"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Optional
- </p>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</div>
</div>
</div>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-cardContainer-id"
>
<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"
>
- Stock
- </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"
+ />
+ <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"
+ <div
+ class="Component-expandedSwitchContainer-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ <span
+ class="MuiSwitch-root-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- name="quantity"
- type="text"
- value="0"
+ <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"
/>
- </div>
- </div>
+ </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
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
+ >
+ Publish product on
+ </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"
- >
- SKU (Stock Keeping Unit)
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- name="sku"
- type="text"
- value=""
- />
- </div>
+ <input
+ aria-invalid="false"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-08-25T18:45:54.125Z"
+ />
</div>
</div>
</div>
@@ -39021,6 +42271,20 @@ exports[`Storyshots Views / Products / Create product variant default 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
class="Component-spacer-id"
/>
@@ -39047,130 +42311,69 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
<span
class="MuiButton-label-id"
>
- Save variant
+ Save
</span>
</button>
</div>
- </form>
- </div>
+ </div>
+ </form>
</div>
`;
-exports[`Storyshots Views / Products / Create product variant when loading data 1`] = `
+exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<div>
- <div
- class="Component-md-id"
- >
+ <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 variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
<div
class="Component-root-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-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"
>
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Variants
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- padding="default"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <tbody
- class="MuiTableBody-root-id"
- >
- <tr
- class="MuiTableRow-root-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>
- <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 Component-textLeft-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
+ <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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -39178,7 +42381,7 @@ exports[`Storyshots Views / Products / Create product variant when loading data
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- General Information
+ General information
</span>
<div
class="Component-toolbar-id"
@@ -39191,91 +42394,223 @@ exports[`Storyshots Views / Products / Create product variant when loading data
class="Component-hr-id"
/>
<div
- class="MuiCardContent-root-id Component-grid-id"
+ class="MuiCardContent-root-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id"
>
- ‌
- </span>
+ <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"
+ 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-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="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="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-cardContainer-id"
>
<div
- class="Component-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <div
+ class="Component-root-id"
>
- Pricing
- </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Images
+ </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="Component-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </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"
+ >
+ <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"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="Component-grid-id"
+ class="Component-root-id"
>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Pricing
+ </span>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-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"
>
- <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"
+ <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
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
+ class="MuiSwitchBase-input-id"
disabled=""
- name="priceOverride"
- type="number"
- value=""
+ name="chargeTaxes"
+ type="checkbox"
/>
- <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>
+ </span>
+ </span>
+ <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"
+ >
<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"
+ for="price"
>
- Cost price override
+ Price
</label>
<div
class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
@@ -39284,101 +42619,86 @@ exports[`Storyshots Views / Products / Create product variant when loading data
aria-invalid="false"
class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
disabled=""
- name="costPrice"
+ 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>
+ <span />
</div>
- <p
- class="MuiFormHelperText-root-id"
- >
- Optional
- </p>
</div>
</div>
</div>
</div>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-cardContainer-id"
>
<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"
>
- Stock
- </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Inventory
+ </span>
+ <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="Component-root-id"
+ >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiFormControl-root-id"
>
<label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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
+ SKU (Stock Keeping Unit)
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ 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="quantity"
+ name="sku"
type="text"
- value="0"
/>
</div>
</div>
- </div>
- <div>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiFormControl-root-id"
>
<label
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- SKU (Stock Keeping Unit)
+ Inventory
</label>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-disabled-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
+ class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
disabled=""
- name="sku"
- type="text"
- value=""
+ name="stockInventory"
+ type="number"
/>
</div>
</div>
@@ -39386,165 +42706,55 @@ exports[`Storyshots Views / Products / Create product variant when loading data
</div>
</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 variant
- </span>
- </button>
- </div>
- </form>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Create product variant with errors 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 variant
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <form>
- <div
- class="Component-root-id"
- >
- <div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-cardContainer-id"
>
<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"
- >
- Variants
- </span>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <tbody
- class="MuiTableBody-root-id"
+ class="Component-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"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-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"
+ 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"
>
- silver
- </td>
- </tr>
- </tbody>
- </table>
+ <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>
@@ -39557,7 +42767,7 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- General Information
+ Organize Product
</span>
<div
class="Component-toolbar-id"
@@ -39570,7 +42780,7 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
class="Component-hr-id"
/>
<div
- class="MuiCardContent-root-id Component-grid-id"
+ class="MuiCardContent-root-id"
>
<div
class="Component-container-id"
@@ -39582,19 +42792,20 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
data-shrink="false"
>
- Color
+ Product Type
</label>
<div
aria-autocomplete="list"
aria-expanded="false"
- class="MuiInput-root-id Component-inputRoot-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ 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"
autocomplete="off"
- class="MuiInput-input-id"
- id="downshift-18-input"
+ class="MuiInput-input-id MuiInput-disabled-id"
+ disabled=""
+ id="downshift-16-input"
type="text"
value=""
/>
@@ -39618,191 +42829,222 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
<div
class="Component-spacer-id"
/>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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
+ 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>
<span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ class="Skeleton-skeleton-id"
>
- Pricing
+ ‌
</span>
- <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="MuiFormControl-root-id Component-formControl-id"
>
- <div>
+ <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="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiSelect-root-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="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-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"
>
- <input
- aria-invalid="true"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="priceOverride"
- 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>
+ <span>
+ ​
+ </span>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ <input
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Generic error
- </p>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</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="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="MuiSelect-root-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="MuiInput-root-id MuiInput-error-id MuiInput-formControl-id MuiInput-underline-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"
>
- <input
- aria-invalid="true"
- 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>
+ <span>
+ ​
+ </span>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ <input
+ name="collections"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- Generic error
- </p>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
</div>
</div>
</div>
</div>
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
+ class="Component-cardContainer-id"
>
<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"
>
- Stock
- </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"
+ />
+ <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-filled-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"
- class="MuiInput-input-id"
- name="quantity"
- type="text"
- value="0"
- />
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <div
+ class="Component-switchContainer-id"
+ >
+ <label
+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-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"
+ <span
+ class="MuiSwitch-root-id"
>
- <input
- aria-invalid="true"
- class="MuiInput-input-id"
- name="sku"
- type="text"
- value=""
+ <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"
/>
- </div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-error-id"
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"
>
- Generic error
- </p>
- </div>
+ <div
+ class="Component-label-id"
+ >
+ Published in storefront
+ </div>
+ </span>
+ </label>
</div>
</div>
</div>
@@ -39812,6 +43054,20 @@ exports[`Storyshots Views / Products / Create product variant with errors 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
class="Component-spacer-id"
/>
@@ -39838,16 +43094,16 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
<span
class="MuiButton-label-id"
>
- Save variant
+ Save
</span>
</button>
</div>
- </form>
- </div>
+ </div>
+ </form>
</div>
`;
-exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`] = `
+exports[`Storyshots Views / Products / Product edit when product has no images 1`] = `
<div>
<form>
<div
@@ -40047,88 +43303,25 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
class="MuiCardContent-root-id"
>
<div
- class="Component-root-id"
+ class="Component-noPhotosIconContainer-id"
>
- <div
- class="Component-imageContainer-id"
- >
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
- />
- </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"
- />
- </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"
- />
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id Component-noPhotosIcon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-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"
/>
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
+ </g>
+ </svg>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-noPhotosIconText-id"
>
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
- />
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
+ Drop images to upload
+ </p>
</div>
</div>
</div>
@@ -40479,7 +43672,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
autocomplete="off"
class="MuiInput-input-id MuiInput-disabled-id"
disabled=""
- id="downshift-7-input"
+ id="downshift-10-input"
type="text"
value="Versatile"
/>
@@ -40571,7 +43764,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
aria-invalid="false"
autocomplete="off"
class="MuiInput-input-id"
- id="downshift-8-input"
+ id="downshift-11-input"
type="text"
value="portals"
/>
@@ -40617,7 +43810,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
aria-invalid="false"
autocomplete="off"
class="MuiInput-input-id"
- id="downshift-9-input"
+ id="downshift-12-input"
type="text"
value="Auto Loan Account"
/>
@@ -40899,7 +44092,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
</div>
`;
-exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
+exports[`Storyshots Views / Products / Product edit when product has no variants 1`] = `
<div>
<form>
<div
@@ -40936,12 +44129,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
+ Ergonomic Plastic Bacon
</h2>
<div
class="Component-action-id"
@@ -40982,22 +44170,21 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ 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="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
<input
aria-invalid="false"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
+ class="MuiInput-input-id"
name="name"
rows="5"
type="text"
- value=""
+ value="Ergonomic Plastic Bacon"
/>
</div>
</div>
@@ -41010,13 +44197,13 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
style="width:100%"
>
<label
- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"
- data-shrink="false"
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
<div
class="Textarea-root-id"
@@ -41035,253 +44222,25 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
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"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
- disabled=""
+ 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"
+ class="MuiFormHelperText-root-id MuiFormHelperText-filled-id"
>
Select text to enable text-formatting tools.
- </p>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Images
- </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="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="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"
- >
- Pricing
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-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"
- >
- <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="chargeTaxes"
- type="checkbox"
- />
- </span>
- </span>
- <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"
- >
- <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"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="price"
- type="number"
- value=""
- />
- <span />
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div
- class="Component-cardContainer-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"
- >
- Inventory
- </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"
- >
- <div
- class="MuiFormControl-root-id"
- >
- <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"
- class="MuiInput-input-id MuiInput-disabled-id"
- disabled=""
- name="sku"
- type="text"
- />
- </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"
- class="MuiInput-input-id MuiInput-disabled-id MuiInput-inputType-id"
- disabled=""
- name="stockInventory"
- type="number"
- />
- </div>
- </div>
- </div>
+ </p>
</div>
</div>
</div>
@@ -41289,7 +44248,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
class="Component-cardContainer-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
class="Component-root-id"
@@ -41297,7 +44256,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Search Engine Preview
+ Images
</span>
<div
class="Component-toolbar-id"
@@ -41310,12 +44269,17 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<span
class="MuiButton-label-id"
>
- Edit website SEO
+ Upload image
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
+ <input
+ class="Component-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
</div>
</div>
<div
@@ -41326,231 +44290,89 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
/>
<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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Organize Product
- </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-container-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"
- >
- 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="Component-imageContainer-id"
>
- <input
- aria-invalid="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="Component-imageOverlay-id"
>
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
</div>
- </div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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"
+ class="Component-imageContainer-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="Component-imageOverlay-id"
>
- No
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
</div>
- <input
- name="hasVariants"
- type="hidden"
- value="false"
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
/>
- <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>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- <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"
+ class="Component-imageContainer-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="Component-imageOverlay-id"
>
- <span>
- ​
- </span>
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
</div>
- <input
- name="category"
- type="hidden"
- value=""
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
/>
- <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"
+ class="Component-imageContainer-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="Component-imageOverlay-id"
>
- <span>
- ​
- </span>
+ <div
+ class="Component-imageOverlayToolbar-id"
+ />
</div>
- <input
- name="collections"
- type="hidden"
- value=""
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
/>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <div
+ class="Component-imageOverlay-id"
>
- <path
- d="M7 10l5 5 5-5z"
+ <div
+ class="Component-imageOverlayToolbar-id"
/>
- </svg>
+ </div>
+ <img
+ alt="Id sit dolores adipisci"
+ class="Component-image-id"
+ src="placeholder255x255.png"
+ />
</div>
</div>
</div>
@@ -41568,7 +44390,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Availability
+ Pricing
</span>
<div
class="Component-toolbar-id"
@@ -41576,261 +44398,161 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
</div>
<div
class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
>
- <div
- class="Component-switchContainer-id"
+ <label
+ class="MuiFormControlLabel-root-id"
>
- <label
- class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-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="MuiSwitch-root-id"
+ class="MuiIconButton-label-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"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- <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"
+ <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="chargeTaxes"
+ type="checkbox"
/>
</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>
- </div>
+ 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>
- </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 / 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-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"
+ <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"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-root-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="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id"
- name="name"
- rows="5"
- type="text"
- value="Ergonomic Plastic Bacon"
- />
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ 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-cardContainer-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"
+ >
+ Inventory
+ </span>
+ <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"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
>
<div
- class="Textarea-root-id"
- style="height:19px"
+ class="MuiFormControl-root-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- 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"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
+ SKU (Stock Keeping Unit)
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-formControl-id MuiInput-underline-id"
>
- 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"
+ class="MuiInput-input-id"
+ name="sku"
+ type="text"
+ value="87192-94370"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="stockInventory"
+ type="number"
+ value="48"
+ />
+ </div>
</div>
</div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-filled-id"
- >
- Select text to enable text-formatting tools.
- </p>
</div>
</div>
</div>
@@ -41838,7 +44560,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
class="Component-cardContainer-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
class="Component-root-id"
@@ -41846,7 +44568,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Images
+ Search Engine Preview
</span>
<div
class="Component-toolbar-id"
@@ -41859,17 +44581,12 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<span
class="MuiButton-label-id"
>
- Upload image
+ Edit website SEO
</span>
<span
class="MuiTouchRipple-root-id"
/>
</button>
- <input
- class="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
</div>
</div>
<div
@@ -41881,275 +44598,332 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<div
class="MuiCardContent-root-id"
>
- <div
- class="Component-noPhotosIconContainer-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id Component-noPhotosIcon-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>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-noPhotosIconText-id"
- >
- Drop images to upload
- </p>
- </div>
+ Add search engine title and description to make this product easier to find
+ </p>
</div>
</div>
</div>
+ </div>
+ <div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Organize Product
+ </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"
+ class="Component-container-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Pricing
- </span>
<div
- class="Component-toolbar-id"
- />
+ 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"
+ >
+ 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"
+ 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>
</div>
<div
- class="Component-children-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="MuiFormControl-root-id Component-formControl-id"
>
<label
- class="MuiFormControlLabel-root-id"
+ class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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 MuiCheckbox-root-id MuiCheckbox-colorPrimary-id MuiSwitchBase-checked-id MuiCheckbox-checked-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"
>
- <span
- class="MuiIconButton-label-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"
>
- <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="chargeTaxes"
- type="checkbox"
+ No
+ </div>
+ <input
+ 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"
/>
- </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>
+ </svg>
+ </div>
+ </div>
</div>
- <hr
- class="Component-hr-id"
- />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
+ >
+ Attributes
+ </p>
<div
- class="MuiCardContent-root-id"
+ class="Component-container-id"
>
<div
- class="Component-root-id"
+ 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"
+ >
+ Borders
+ </label>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-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"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ 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"
>
- <input
- aria-invalid="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"
+ <g
+ style="fill-rule:evenodd"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
- >
- NZD
- </p>
- </div>
- </div>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </g>
+ </svg>
</div>
</div>
</div>
- </div>
- </div>
- <div
- class="Component-cardContainer-id"
- >
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
<div
- class="Component-root-id"
+ class="Component-spacer-id"
+ />
+ <div
+ class="Component-container-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Variants
- </span>
<div
- class="Component-toolbar-id"
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-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"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <span
- class="MuiButton-label-id"
- >
- Edit attributes
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ 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"
>
- <span
- class="MuiButton-label-id"
- >
- Add variant
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <input
+ aria-invalid="false"
+ autocomplete="off"
+ class="MuiInput-input-id"
+ id="downshift-15-input"
+ type="text"
+ value="Auto Loan Account"
/>
- </button>
+ <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-children-id"
+ class="Component-spacer-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"
- padding="default"
+ class="MuiFormControl-root-id Component-formControl-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
+ data-shrink="true"
>
- <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"
+ Category
+ </label>
+ <div
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-hover-id"
+ <div
+ class="MuiSelect-root-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 undefined Component-successDot-id"
- >
- Available
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-id MuiSelect-selectMenu-id MuiInput-input-id"
+ role="button"
+ tabindex="0"
>
- 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"
+ Apparel
+ </div>
+ <input
+ name="category"
+ type="hidden"
+ value="Q2F0ZWdvcnk6MQ=="
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- silver
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ <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-filled-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-root-id undefined Component-successDot-id"
+ class="Component-chipContainer-id"
>
- Available
+ <div
+ class="MuiChip-root-id Component-chip-id"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-id"
+ >
+ Winter sale
+ </span>
+ </div>
</div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ </div>
+ <input
+ name="collections"
+ type="hidden"
+ value="Q29sbGVjdGlvbjoy"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSelect-icon-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- 69055-15190
- </td>
- </tr>
- </tbody>
- </table>
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
</div>
</div>
<div
@@ -42164,26 +44938,11 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Search Engine Preview
+ Availability
</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"
@@ -42194,15 +44953,174 @@ 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-expandedSwitchContainer-id"
>
- Add search engine title and description to make this product easier to find
- </p>
+ <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>
+ </div>
+ <div
+ class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
+ >
+ <label
+ class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ class="MuiInput-input-id MuiInput-inputType-id"
+ name="availableOn"
+ type="date"
+ value="2018-08-25T18:45:54.125Z"
+ />
+ </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-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 / 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-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
@@ -42213,7 +45131,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Organize Product
+ All photos
</span>
<div
class="Component-toolbar-id"
@@ -42229,391 +45147,183 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
class="MuiCardContent-root-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id"
>
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-imageContainer-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- 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"
- >
- <g
- style="fill-rule:evenodd"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <div
+ class="Component-imageContainer-id"
>
- Is it configurable?
- </label>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
+ </div>
<div
- class="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-imageContainer-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
- 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>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
</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"
+ class="Component-imageContainer-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- 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>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
</div>
- </div>
- <div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
- >
<div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ class="Component-imageContainer-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- 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>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.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 MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"
- data-shrink="true"
+ <div
+ class="Component-imageContainer-id"
>
- Category
- </label>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
+ </div>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="Component-imageContainer-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
- 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
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
+ </div>
+ <div
+ class="Component-imageContainer-id"
+ >
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
</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"
+ >
+ Photo Information
+ </span>
<div
- class="Component-spacer-id"
- />
- <hr
- class="Component-hr-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-formControl-id"
+ 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"
>
- Collections
+ Description
</label>
<div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
+ class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
<div
- class="MuiSelect-root-id"
+ class="Textarea-root-id"
+ style="height:19px"
>
- <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
- name="collections"
- type="hidden"
- value="Q29sbGVjdGlvbjoy"
+ <textarea
+ aria-hidden="true"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
/>
- <svg
+ <textarea
aria-hidden="true"
- class="MuiSvgIcon-root-id MuiSelect-icon-id"
- focusable="false"
- viewBox="0 0 24 24"
+ class="Textarea-textarea-id Textarea-shadow-id"
+ readonly=""
+ rows="1"
+ tabindex="-1"
>
- <path
- d="M7 10l5 5 5-5z"
- />
- </svg>
+ Lorem ipsum
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Lorem ipsum
+ </textarea>
</div>
</div>
+ <p
+ class="MuiFormHelperText-root-id MuiFormHelperText-filled-id"
+ >
+ Optional
+ </p>
</div>
</div>
</div>
+ </div>
+ <div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Availability
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
+ Photo View
+ </span>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ class="Component-toolbar-id"
/>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
<div
- class="MuiCardContent-root-id"
+ class="Component-imageContainer-id"
>
- <div
- class="Component-expandedSwitchContainer-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>
- </div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-08-25T18:45:54.125Z"
- />
- </div>
- </div>
+ <img
+ class="Component-image-id"
+ src="placeholder1080x1080.png"
+ />
</div>
</div>
</div>
@@ -42622,20 +45332,6 @@ exports[`Storyshots Views / Products / Product edit when product has no images 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
class="Component-spacer-id"
/>
@@ -42671,7 +45367,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
</div>
`;
-exports[`Storyshots Views / Products / Product edit when product has no variants 1`] = `
+exports[`Storyshots Views / Products / Product image details when loading data 1`] = `
<div>
<form>
<div
@@ -42708,7 +45404,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Ergonomic Plastic Bacon
+ Edit Photo
</h2>
<div
class="Component-action-id"
@@ -42718,6 +45414,37 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
class="Component-root-id"
>
<div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ All photos
+ </span>
+ <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>
+ </div>
<div
class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
@@ -42727,7 +45454,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
<span
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- General information
+ Photo Information
</span>
<div
class="Component-toolbar-id"
@@ -42743,46 +45470,16 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
class="MuiCardContent-root-id"
>
<div
- class="Component-root-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"
- >
- Name
- </label>
- <div
- class="MuiInput-root-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-underline-id"
- >
- <input
- aria-invalid="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%"
+ 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"
+ 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="MuiInput-root-id MuiInput-disabled-id MuiInput-fullWidth-id MuiInput-formControl-id MuiInput-multiline-id MuiInput-underline-id"
>
<div
class="Textarea-root-id"
@@ -42801,366 +45498,321 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
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"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
+ class="Textarea-textarea-id MuiInput-input-id MuiInput-disabled-id MuiInput-inputMultiline-id"
+ disabled=""
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 MuiFormHelperText-filled-id"
+ class="MuiFormHelperText-root-id"
>
- Select text to enable text-formatting tools.
+ Optional
</p>
</div>
</div>
</div>
+ </div>
+ <div>
<div
- class="Component-cardContainer-id"
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ class="Component-root-id"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Images
- </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="Component-fileField-id"
- id="fileUpload"
- type="file"
- />
- </div>
- </div>
+ Photo View
+ </span>
<div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
+ class="Component-toolbar-id"
/>
- <div
- class="MuiCardContent-root-id"
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
>
- <div
- class="Component-root-id"
- >
- <div
- class="Component-imageContainer-id"
- >
- <div
- class="Component-imageOverlay-id"
- >
- <div
- class="Component-imageOverlayToolbar-id"
- />
- </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"
- />
- </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"
- />
- </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"
- />
- </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"
- />
- </div>
- <img
- alt="Id sit dolores adipisci"
- class="Component-image-id"
- src="placeholder255x255.png"
- />
- </div>
- </div>
- </div>
+ ‌
+ </span>
</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 / 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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="MuiTabs-root-id Component-tabsRoot-id"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
<div
- class="Component-cardContainer-id"
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiTabs-flexContainer-id"
>
- <div
- class="Component-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Pricing
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- >
- <label
- class="MuiFormControlLabel-root-id"
+ class="MuiTab-wrapper-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="MuiTab-labelContainer-id"
>
<span
- class="MuiIconButton-label-id"
+ class="MuiTab-label-id Component-tabLabel-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="chargeTaxes"
- type="checkbox"
- />
+ All Products
</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"
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTab-wrapper-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <span
+ class="MuiTab-labelContainer-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
>
- <input
- aria-invalid="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-cardContainer-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"
- >
- Inventory
+ Available
+ </span>
+ </span>
</span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-root-id"
+ <span
+ class="MuiTab-wrapper-id"
>
- <div
- class="MuiFormControl-root-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- class="MuiInput-input-id"
- name="sku"
- type="text"
- value="87192-94370"
- />
- </div>
- </div>
- <div
- class="MuiFormControl-root-id"
+ <span
+ class="MuiTab-labelContainer-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
>
- <input
- aria-invalid="false"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="stockInventory"
- type="number"
- value="48"
- />
- </div>
- </div>
- </div>
- </div>
+ Out Of Stock
+ </span>
+ </span>
+ </span>
+ </button>
</div>
</div>
- <div
- class="Component-cardContainer-id"
+ </div>
+ </div>
+ <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 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 Component-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="5"
>
<div
- class="Component-root-id"
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Search Engine Preview
- </span>
<div
- class="Component-toolbar-id"
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
<button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ 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="MuiButton-label-id"
+ class="MuiIconButton-label-id"
>
- Edit website SEO
+ <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"
@@ -43168,509 +45820,745 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
</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="Component-children-id"
- />
- <hr
- class="Component-hr-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"
+ >
+ Gardner-Schultz
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $83.30
+ </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"
+ >
+ James, Martinez and Murray
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $68.27
+ </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"
+ >
+ Curtis, Joyce and Turner
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $21.43
+ </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"
+ >
+ Davis, Brown and Ray
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $62.76
+ </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"
+ >
+ Gallegos Ltd
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiCardContent-root-id"
+ class="Component-root-id undefined Component-successDot-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Add search engine title and description to make this product easier to find
- </p>
+ Published
</div>
- </div>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $7.13
+ </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"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Organize Product
- </span>
<div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-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"
+ >
+ Franklin Inc
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<div
- class="Component-container-id"
+ class="Component-root-id undefined Component-successDot-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"
- >
- 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"
- 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>
+ Published
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $48.82
+ </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-spacer-id"
- />
- <div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiFormLabel-filled-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
- 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>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-cardSubtitle-id"
- >
- Attributes
- </p>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
+ >
+ Williams-Taylor
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="Component-container-id"
+ class="Component-root-id undefined Component-successDot-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"
- >
- 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"
- 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>
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $27.34
+ </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"
+ >
+ Riddle, Evans and Hicks
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="Component-spacer-id"
- />
- <div
- class="Component-container-id"
+ class="Component-root-id undefined Component-successDot-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"
- >
- 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"
- 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"
- >
- <path
- d="M7 10l5 5 5-5z"
- />
- </g>
- </svg>
- </div>
- </div>
+ Published
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $75.42
+ </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-spacer-id"
- />
- <hr
- class="Component-hr-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"
+ >
+ Hebert-Sherman
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="Component-root-id undefined Component-successDot-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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
- 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>
+ Published
</div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $86.62
+ </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-spacer-id"
- />
- <hr
- class="Component-hr-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"
+ >
+ Carter and Sons
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
<div
- class="MuiFormControl-root-id Component-formControl-id"
+ class="Component-root-id undefined Component-successDot-id"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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
- 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>
+ Published
</div>
- </div>
- </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $48.66
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Products / Product 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"
+ >
+ 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-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="MuiTabs-root-id Component-tabsRoot-id"
+ >
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
<div
- class="Component-cardContainer-id"
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiTabs-flexContainer-id"
>
- <div
- class="Component-root-id"
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ class="MuiTab-wrapper-id"
>
- Availability
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Products
+ </span>
+ </span>
</span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <div
- class="Component-expandedSwitchContainer-id"
+ <span
+ class="MuiTab-wrapper-id"
>
- <label
- class="MuiFormControlLabel-root-id"
+ <span
+ class="MuiTab-labelContainer-id"
>
<span
- class="MuiSwitch-root-id"
+ class="MuiTab-label-id Component-tabLabel-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"
- />
+ Available
</span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
<span
- class="MuiTypography-root-id MuiTypography-body1-id MuiFormControlLabel-label-id"
+ class="MuiTab-label-id Component-tabLabel-id"
>
- <div
- class="Component-label-id"
- >
- Published in storefront
- </div>
+ Out Of Stock
</span>
- </label>
- </div>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id Component-date-id"
- >
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
- class="MuiInput-input-id MuiInput-inputType-id"
- name="availableOn"
- type="date"
- value="2018-08-25T18:45:54.125Z"
- />
- </div>
- </div>
- </div>
+ </span>
+ </span>
+ </button>
</div>
</div>
</div>
</div>
- <div
- class="Component-root-id"
+ <table
+ class="MuiTable-root-id"
+ padding="default"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-raised-id Component-deleteButton-id"
- tabindex="0"
- type="button"
+ <thead
+ class="MuiTableHead-root-id"
>
- <span
- class="MuiButton-label-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-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"
+ <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 Component-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
>
- <span
- class="MuiButton-label-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-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"
+ <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 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"
>
- <span
- class="MuiButton-label-id"
+ <tr
+ class="MuiTableRow-root-id Component-link-id"
>
- Save
- </span>
- </button>
- </div>
+ <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 Component-textLeft-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 Component-textRight-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
- </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Products / Product image details when loaded data 1`] = `
+exports[`Storyshots Views / Products / Product list no data 1`] = `
<div>
- <form>
+ <div
+ class="Component-md-id"
+ >
<div
- class="Component-md-id"
+ class="Component-root-id"
>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Products
+ </h2>
<div
- class="Component-root-id"
+ class="Component-action-id"
>
<button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ 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="MuiIconButton-label-id"
+ class="MuiButton-label-id"
>
+ Add product
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -43679,7 +46567,7 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1`
>
<g>
<path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
/>
</g>
</svg>
@@ -43688,281 +46576,238 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1`
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>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-root-id"
+ class="MuiTabs-root-id Component-tabsRoot-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- All photos
- </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"
- >
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- <div
- class="Component-imageContainer-id"
- >
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
- />
- </div>
- </div>
- </div>
- </div>
+ <div
+ class="MuiTabs-flexContainer-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"
- >
- Photo Information
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
+ >
<div
- class="MuiCardContent-root-id"
+ class="MuiTabs-flexContainer-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <label
- class="MuiFormLabel-root-id MuiFormLabel-filled-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"
+ <span
+ class="MuiTab-wrapper-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <span
+ class="MuiTab-labelContainer-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
>
- Lorem ipsum
- </textarea>
- <textarea
- aria-invalid="false"
- class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"
- name="description"
- rows="1"
- type="text"
+ All Products
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
>
- Lorem ipsum
- </textarea>
- </div>
- </div>
- <p
- class="MuiFormHelperText-root-id MuiFormHelperText-filled-id"
+ Available
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
>
- Optional
- </p>
- </div>
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Out Of Stock
+ </span>
+ </span>
+ </span>
+ </button>
</div>
</div>
</div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ </div>
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="Component-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textLeft-id"
+ scope="col"
>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Photo View
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ 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 Component-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="5"
>
<div
- class="Component-imageContainer-id"
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <img
- class="Component-image-id"
- src="placeholder1080x1080.png"
+ <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>
- </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"
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
>
- <span
- class="MuiButton-label-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- Save
- </span>
- </button>
- </div>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="5"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
- </form>
+ </div>
</div>
`;
-exports[`Storyshots Views / Products / Product image details when loading data 1`] = `
+exports[`Storyshots Views / Products / Product list with custom filters 1`] = `
<div>
- <form>
+ <div
+ class="Component-md-id"
+ >
<div
- class="Component-md-id"
+ class="Component-root-id"
>
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Products
+ </h2>
<div
- class="Component-root-id"
+ class="Component-action-id"
>
<button
- class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorInherit-id Component-menuButton-id"
+ 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="MuiIconButton-label-id"
+ class="MuiButton-label-id"
>
+ Add product
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -43971,7 +46816,7 @@ exports[`Storyshots Views / Products / Product image details when loading data 1
>
<g>
<path
- d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
/>
</g>
</svg>
@@ -43980,242 +46825,197 @@ exports[`Storyshots Views / Products / Product image details when loading data 1
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>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
<div
- class="Component-root-id"
+ class="MuiTabs-root-id Component-tabsRoot-id"
>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-card-id"
- >
- <div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- All photos
- </span>
- <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>
- </div>
+ <div
+ class="MuiTabs-flexContainer-id"
+ >
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="MuiTabs-scroller-id MuiTabs-fixed-id"
+ role="tablist"
+ style="margin-bottom:0"
>
<div
- class="Component-root-id"
- >
- <span
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Photo Information
- </span>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ class="MuiTabs-flexContainer-id"
>
- <div
- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- <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"
+ <span
+ class="MuiTab-wrapper-id"
>
- <div
- class="Textarea-root-id"
- style="height:19px"
+ <span
+ class="MuiTab-labelContainer-id"
>
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-hidden="true"
- class="Textarea-textarea-id Textarea-shadow-id"
- readonly=""
- rows="1"
- tabindex="-1"
- />
- <textarea
- aria-invalid="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"
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ All Products
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiTab-wrapper-id"
>
- Optional
- </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"
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Available
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- Photo View
- </span>
- <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
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Out Of Stock
+ </span>
+ </span>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiTab-root-id Component-tabRoot-id MuiTab-textColorInherit-id"
+ role="tab"
+ tabindex="0"
+ type="button"
>
- ‌
- </span>
+ <span
+ class="MuiTab-wrapper-id"
+ >
+ <span
+ class="MuiTab-labelContainer-id"
+ >
+ <span
+ class="MuiTab-label-id Component-tabLabel-id"
+ >
+ Custom Filter
+ </span>
+ </span>
+ </span>
+ </button>
</div>
</div>
</div>
</div>
<div
- class="Component-root-id"
+ class="Component-filterContainer-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"
+ class="Component-filterButton-id"
>
- <span
- class="MuiButton-label-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-filterText-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"
+ Gardner-Schultz
+ </p>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id Component-filterIcon-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>
+ </div>
+ <div
+ class="Component-filterButton-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-filterText-id"
+ >
+ Davis, Brown and Ray
+ </p>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id Component-filterIcon-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>
+ </div>
+ <div
+ class="Component-filterButton-id"
>
- <span
- class="MuiButton-label-id"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-filterText-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"
+ Franklin Inc
+ </p>
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id Component-filterIcon-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>
+ </div>
+ <div
+ class="Component-filterButton-id Component-addFilterButtonPrimary-id"
>
- <span
- class="MuiButton-label-id"
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id MuiSvgIcon-colorPrimary-id"
+ focusable="false"
+ viewBox="0 0 24 24"
>
- 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>
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-addFilterText-id"
+ >
+ Add Filter
+ </p>
+ </div>
</div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
<table
class="MuiTable-root-id"
padding="default"
@@ -44264,189 +47064,69 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
>
<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-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"
- >
- Gardner-Schultz
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Coffee
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id undefined Component-successDot-id"
- >
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $83.30
- </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"
- >
- James, Martinez and Murray
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Coffee
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <div
- class="Component-root-id undefined Component-successDot-id"
- >
- Published
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $68.27
- </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"
- >
- Curtis, Joyce and Turner
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- Coffee
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ colspan="5"
>
<div
- class="Component-root-id undefined Component-successDot-id"
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- Published
+ <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>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
- >
- $21.43
- </td>
</tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
<tr
class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
@@ -44465,7 +47145,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Davis, Brown and Ray
+ Gardner-Schultz
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44484,7 +47164,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $62.76
+ $83.30
</td>
</tr>
<tr
@@ -44505,7 +47185,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Gallegos Ltd
+ James, Martinez and Murray
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44524,7 +47204,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $7.13
+ $68.27
</td>
</tr>
<tr
@@ -44545,7 +47225,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Franklin Inc
+ Curtis, Joyce and Turner
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44564,7 +47244,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $48.82
+ $21.43
</td>
</tr>
<tr
@@ -44585,7 +47265,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Williams-Taylor
+ Davis, Brown and Ray
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44604,7 +47284,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $27.34
+ $62.76
</td>
</tr>
<tr
@@ -44625,7 +47305,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Riddle, Evans and Hicks
+ Gallegos Ltd
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44644,7 +47324,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $75.42
+ $7.13
</td>
</tr>
<tr
@@ -44665,7 +47345,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Hebert-Sherman
+ Franklin Inc
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44684,7 +47364,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $86.62
+ $48.82
</td>
</tr>
<tr
@@ -44705,7 +47385,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Carter and Sons
+ Williams-Taylor
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
@@ -44724,401 +47404,127 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $48.66
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Product 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"
- >
- 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-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"
- />
- <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 Component-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="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 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"
- >
+ $27.34
+ </td>
+ </tr>
<tr
- class="MuiTableRow-root-id Component-link-id"
+ 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"
+ class="MuiAvatar-root-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>
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
+ />
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ Riddle, Evans and Hicks
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ Coffee
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id undefined Component-successDot-id"
>
- ‌
- </span>
+ Published
+ </div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ $75.42
</td>
</tr>
- </tbody>
- </table>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Products / Product list no data 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"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
- Add product
- <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>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ <div
+ class="MuiAvatar-root-id Component-avatar-id"
+ >
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
/>
- </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-textLeft-id"
- scope="col"
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textLeft-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ Hebert-Sherman
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Type
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Published
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- Price
- </th>
+ $86.62
+ </td>
</tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
<tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id Component-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="5"
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="MuiAvatar-root-id Component-avatar-id"
>
- <div
- class="TablePagination-spacer-id"
+ <img
+ class="MuiAvatar-img-id"
+ src="placeholder255x255.png"
/>
- <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 Component-textLeft-id"
+ >
+ Carter and Sons
+ </td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
- colspan="5"
>
- No products found
+ Coffee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Published
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $48.66
</td>
</tr>
</tbody>
diff --git a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
index b931f6835b..61397105b6 100644
--- a/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
+++ b/saleor/static/dashboard-next/storybook/stories/orders/OrderListPage.tsx
@@ -30,7 +30,7 @@ storiesOf("Views / Orders / Order list", module)
{...pageListProps.default}
filtersList={[]}
onAllProducts={() => undefined}
- currentTab={0}
+ currentTab="all"
onToFulfill={() => undefined}
onToCapture={() => undefined}
onCustomFilter={() => undefined}
@@ -41,7 +41,7 @@ storiesOf("Views / Orders / Order list", module)
orders={orders}
{...pageListProps.loading}
filtersList={filtersList}
- currentTab={0}
+ currentTab="custom"
onAllProducts={() => undefined}
onToFulfill={() => undefined}
onToCapture={() => undefined}
@@ -65,7 +65,7 @@ storiesOf("Views / Orders / Order list", module)
orders={[]}
{...pageListProps.default}
filtersList={[]}
- currentTab={0}
+ currentTab="all"
onAllProducts={() => undefined}
onToFulfill={() => undefined}
onToCapture={() => undefined}