Skip to content

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

Fix storyshots (#2226)

Dominik Żegleńae8949af6e6c
diff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx
index 48d4b02c8c..087cec8a8a 100644
--- a/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillment/OrderFulfillment.tsx
@@ -97,7 +97,7 @@ const OrderFulfillment = decorate<OrderFulfillmentProps>(
<TableBody>
{products ? (
products.map(productLine => (
- <TableRow>
+ <TableRow key={productLine.product.id}>
<TableCell className={classes.avatarCell}>
<Avatar src={productLine.product.thumbnailUrl} />
</TableCell>
diff --git a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx
index 46918ddbf4..12b41efb7b 100644
--- a/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderFulfillmentDialog/OrderFulfillmentDialog.tsx
@@ -66,7 +66,7 @@ const OrderFulfillmentDialog = decorate<OrderFulfillmentDialogProps>(
</TableHead>
<TableBody>
{products.map(product => (
- <TableRow>
+ <TableRow key={product.id}>
<TableCell className={classes.avatarCell}>
<Avatar src={product.thumbnailUrl} />
</TableCell>
diff --git a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx
index b0b740ef59..d2a37ebd49 100644
--- a/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderHistory/OrderHistory.tsx
@@ -57,6 +57,7 @@ const OrderHistory = decorate<OrderHistoryProps>(
user={event.user}
date={event.date}
content={event.content}
+ key={event.id}
/>
);
}
diff --git a/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx b/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx
index bf9f41799e..e58aafd6f8 100644
--- a/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductVariantAttributes/ProductVariantAttributes.tsx
@@ -50,6 +50,7 @@ const ProductVariantAttributes = decorate<ProductVariantAttributesProps>(
value={formData ? formData[attribute.attribute.slug] : ""}
label={attribute.attribute.name}
name={attribute.attribute.slug}
+ key={attribute.attribute.slug}
/>
))
)}
diff --git a/saleor/static/dashboard-next/storybook/Stories.test.ts b/saleor/static/dashboard-next/storybook/Stories.test.ts
index 0c34252111..13e5cf902b 100644
--- a/saleor/static/dashboard-next/storybook/Stories.test.ts
+++ b/saleor/static/dashboard-next/storybook/Stories.test.ts
@@ -1,6 +1,6 @@
/* eslint-disable */
import initStoryshots from "@storybook/addon-storyshots";
-import { configure, shallow } from "enzyme";
+import { configure, render } from "enzyme";
import * as Adapter from "enzyme-adapter-react-16";
import toJSON from "enzyme-to-json";
@@ -8,6 +8,8 @@ configure({ adapter: new Adapter() });
initStoryshots({
configPath: "saleor/static/dashboard-next/storybook/",
- renderer: shallow,
- serializer: toJSON
+ test({ story, context }) {
+ const result = render(story.render(context));
+ expect(toJSON(result)).toMatchSnapshot();
+ }
});
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 172de0b680..caf29e4e39 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -1,3892 +1,14161 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Storyshots Categories / CategoryDeleteDialog default 1`] = `
-<Component
- classes={
- Object {
- "deleteButton": "Component-deleteButton-21",
- }
- }
- name="Apparel"
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
-/>
-`;
-
-exports[`Storyshots Categories / CategoryDeleteDialog with products 1`] = `
-<Component
- classes={
- Object {
- "deleteButton": "Component-deleteButton-21",
- }
- }
- name="Apparel"
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- productCount={100}
-/>
-`;
+exports[`Storyshots Categories / CategoryDeleteDialog default 1`] = `null`;
+
+exports[`Storyshots Categories / CategoryDeleteDialog with products 1`] = `null`;
exports[`Storyshots Categories / CategoryProducts when loading data 1`] = `
-<Component
- classes={
- Object {
- "avatarCell": "Component-avatarCell-23",
- "link": "Component-link-24",
- }
- }
- hasNextPage={true}
- hasPreviousPage={false}
- onAddProduct={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425 MuiAvatar-colorDefault-426"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Categories / CategoryProducts with clickable rows 1`] = `
-<Component
- classes={
- Object {
- "avatarCell": "Component-avatarCell-23",
- "link": "Component-link-24",
- }
- }
- hasNextPage={true}
- hasPreviousPage={false}
- onAddProduct={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onRowClick={[Function]}
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Categories / CategoryProducts with initial data 1`] = `
-<Component
- classes={
- Object {
- "avatarCell": "Component-avatarCell-23",
- "link": "Component-link-24",
- }
- }
- hasNextPage={true}
- hasPreviousPage={false}
- onAddProduct={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Categories / CategoryProducts without initial data 1`] = `
-<Component
- classes={
- Object {
- "avatarCell": "Component-avatarCell-23",
- "link": "Component-link-24",
- }
- }
- hasNextPage={true}
- hasPreviousPage={false}
- onAddProduct={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- products={Array []}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ />
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ colspan="2"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Generics / DateFormatter default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- date="2018-04-07T10:44:44+00:00"
- />,
-]
+<p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+>
+ 07.04.2018 12:44
+</p>
`;
exports[`Storyshots Generics / DateFormatter humanized 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- date="2018-05-27T22:44:44+00:00"
- dateNow={1527521275866}
- />,
-]
+<p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+>
+ 9 days ago
+</p>
`;
exports[`Storyshots Generics / DateFormatter humanized without tooltip 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- date="2018-05-27T22:44:44+00:00"
- dateNow={1527521275866}
- showTooltip={false}
- />,
-]
+<p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+>
+ 9 days ago
+</p>
`;
exports[`Storyshots Generics / DateFormatter with custom format 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- date="01.04.1999 14:30"
- inputFormat="DD.MM.YYYY HH:mm"
- outputFormat="MM/DD/YYYY"
- showTooltip={false}
- />,
-]
+<p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+>
+ 04/01/1999
+</p>
`;
exports[`Storyshots Generics / EditableTableCell default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Table) />,
-]
+<table
+ class="MuiTable-root-35"
+>
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Some header
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Some header
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Some header
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Some value
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 "
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ Some editable text
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Some value
+ </td>
+ </tr>
+ </tbody>
+</table>
`;
exports[`Storyshots Generics / ErrorMessageCard default 1`] = `
-<WithStyles(Card)>
- <WithStyles(CardContent)>
- <WithStyles(Typography)
- component="h2"
- variant="headline"
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-headline-89"
>
Error
- </WithStyles(Typography)>
- <WithStyles(Typography)
- variant="body1"
+ </h2>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
>
Loren ipsum dolor sit amet!
- </WithStyles(Typography)>
- </WithStyles(CardContent)>
-</WithStyles(Card)>
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Generics / Money default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- amount={14}
- currency="$"
- />,
-]
+<p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+>
+ 14.00
+ <span
+ class="Component-currency-108"
+ >
+ $
+ </span>
+</p>
`;
exports[`Storyshots Generics / MultiSelectField with error hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- error={true}
- hint="Lorem error"
- onChange={[Function]}
- value={Array []}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161 MuiFormHelperText-error-162"
+ >
+ Lorem error
+ </p>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- hint="Lorem ipsum"
- onChange={[Function]}
- value={Array []}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Lorem ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with label 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- label="Lorem ipsum"
- onChange={[Function]}
- value={Array []}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Lorem ipsum
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with label and hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- hint="Ipsum"
- label="Lorem"
- onChange={[Function]}
- value={Array []}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with no value 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- onChange={[Function]}
- value={Array []}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with value 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- onChange={[Function]}
- value={
- Array [
- "1",
- ]
- }
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="Component-chipContainer-110"
+ >
+ <div
+ class="MuiChip-root-144 Component-chip-109"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-149"
+ >
+ Apparel
+ </span>
+ </div>
+ </div>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / MultiSelectField with value, label and hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "chip": "Component-chip-1",
- "chipContainer": "Component-chipContainer-2",
- "formControl": "Component-formControl-3",
- }
- }
- hint="Ipsum"
- label="Lorem"
- onChange={[Function]}
- value={
- Array [
- "1",
- ]
- }
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-111"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="Component-chipContainer-110"
+ >
+ <div
+ class="MuiChip-root-144 Component-chip-109"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-149"
+ >
+ Apparel
+ </span>
+ </div>
+ </div>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / PageHeader with title 1`] = `
-<Component
- classes={
- Object {
- "action": "Component-action-4",
- "grid": "Component-grid-5",
- "menuButton": "Component-menuButton-6",
- "root": "Component-root-7",
- "subtitle": "Component-subtitle-8",
- "title": "Component-title-9",
- }
- }
- title="Lorem ipsum"
-/>
+<div
+ class="Component-root-168"
+>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Lorem ipsum
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+</div>
`;
exports[`Storyshots Generics / PageHeader with title and back button 1`] = `
-<Component
- classes={
- Object {
- "action": "Component-action-4",
- "grid": "Component-grid-5",
- "menuButton": "Component-menuButton-6",
- "root": "Component-root-7",
- "subtitle": "Component-subtitle-8",
- "title": "Component-title-9",
- }
- }
- onBack={[Function]}
- title="Lorem ipsum"
-/>
+<div
+ class="Component-root-168"
+>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Lorem ipsum
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+</div>
`;
exports[`Storyshots Generics / PageHeader with title icon bar 1`] = `
-<Component
- classes={
- Object {
- "action": "Component-action-4",
- "grid": "Component-grid-5",
- "menuButton": "Component-menuButton-6",
- "root": "Component-root-7",
- "subtitle": "Component-subtitle-8",
- "title": "Component-title-9",
- }
- }
- title="Lorem ipsum"
->
- <WithStyles(IconButton)>
- <pure(Delete) />
- </WithStyles(IconButton)>
-</Component>
+<div
+ class="Component-root-168"
+>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Lorem ipsum
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PageHeader with title, back button and icon bar 1`] = `
-<Component
- classes={
- Object {
- "action": "Component-action-4",
- "grid": "Component-grid-5",
- "menuButton": "Component-menuButton-6",
- "root": "Component-root-7",
- "subtitle": "Component-subtitle-8",
- "title": "Component-title-9",
- }
- }
- onBack={[Function]}
- title="Lorem ipsum"
->
- <WithStyles(IconButton)>
- <pure(Delete) />
- </WithStyles(IconButton)>
-</Component>
+<div
+ class="Component-root-168"
+>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Lorem ipsum
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PageHeader without title 1`] = `
-<Component
- classes={
- Object {
- "action": "Component-action-4",
- "grid": "Component-grid-5",
- "menuButton": "Component-menuButton-6",
- "root": "Component-root-7",
- "subtitle": "Component-subtitle-8",
- "title": "Component-title-9",
- }
- }
-/>
+<div
+ class="Component-root-168"
+>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+</div>
`;
exports[`Storyshots Generics / PhoneField default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- name="phone"
- number="123 987 456"
- onChange={[Function]}
- prefix="41"
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- />,
-]
+<div
+ class="Component-root-187"
+>
+ <div
+ class="MuiFormControl-root-189 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ />
+ <div
+ class="MuiInput-root-208 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-underline-212"
+ >
+ <div
+ class="MuiSelect-root-203"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-204 MuiSelect-selectMenu-205 MuiInput-input-216"
+ role="button"
+ tabindex="0"
+ >
+ +41
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="phone_prefix"
+ type="hidden"
+ value="41"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221 MuiSelect-icon-207"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-189"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ >
+  
+ </label>
+ <div
+ class="MuiInput-root-208 MuiInput-formControl-209 MuiInput-underline-212"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-216"
+ name="phone_number"
+ type="text"
+ value="123 987 456"
+ />
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField disabled 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- disabled={true}
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField with currency symbol 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- currencySymbol="$"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField with hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- hint="Lorem ipsum"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Lorem ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / PriceField with label 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- label="Lorem ipsum"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Lorem ipsum
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField with label and hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / PriceField with no value 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField with value 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- name="price"
- onChange={[Function]}
- value="30"
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="30"
+ />
+ <span />
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceField with value, label, currency symbol and error 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- currencySymbol="$"
- error={true}
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
- value="30"
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-error-159 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="30"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161 MuiFormHelperText-error-162"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / PriceField with value, label, currency symbol and hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-14",
- "pullDown": "Component-pullDown-15",
- "separator": "Component-separator-16",
- "widgetContainer": "Component-widgetContainer-17",
- }
- }
- currencySymbol="$"
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
- value="30"
-/>
+<div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="30"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField disabled 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- disabled={true}
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with currency symbol 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- currencySymbol="$"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- hint="Lorem ipsum"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Lorem ipsum
+ </p>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with label 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- label="Lorem ipsum"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price_min"
+ >
+ Lorem ipsum
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with label and hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price_min"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with no value 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- name="price"
- onChange={[Function]}
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with value 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- name="price"
- onChange={[Function]}
- value={
- Object {
- "max": "30",
- "min": "10",
- }
- }
-/>
-`;
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value="10"
+ />
+ <span />
+ </div>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value="30"
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+</div>
+`;
exports[`Storyshots Generics / PriceRangeField with value, label, currency symbol and error 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- currencySymbol="$"
- error={true}
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
- value={
- Object {
- "max": "30",
- "min": "10",
- }
- }
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-error-159 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price_min"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value="10"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161 MuiFormHelperText-error-162"
+ >
+ Ipsum
+ </p>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value="30"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / PriceRangeField with value, label, currency symbol and hint 1`] = `
-<Component
- classes={
- Object {
- "inputContainer": "Component-inputContainer-10",
- "pullDown": "Component-pullDown-11",
- "separator": "Component-separator-12",
- "widgetContainer": "Component-widgetContainer-13",
- }
- }
- currencySymbol="$"
- hint="Ipsum"
- label="Lorem"
- name="price"
- onChange={[Function]}
- value={
- Object {
- "max": "30",
- "min": "10",
- }
- }
-/>
+<div
+ class="Component-widgetContainer-234"
+>
+ <div
+ class="Component-inputContainer-231"
+ >
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price_min"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_min"
+ type="number"
+ value="10"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+ </div>
+ <span
+ class="Component-separator-233"
+ >
+ -
+ </span>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125 Component-pullDown-232"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price_max"
+ type="number"
+ value="30"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / SingleAutocompleteSelectField with custom option 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <Form
- initial={
- Object {
- "country": Object {
- "label": "Afghanistan",
- "value": "afghanistan",
- },
- }
- }
- />,
-]
+<form>
+ <div
+ class="Component-container-243"
+ >
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-208 Component-inputRoot-244 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-underline-212"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-216"
+ id="downshift-2-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-246"
+ >
+ Value: afghanistan
+ </p>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Generics / SingleAutocompleteSelectField with loaded data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <Form
- initial={
- Object {
- "country": Object {
- "label": "Afghanistan",
- "value": "afghanistan",
- },
- }
- }
- />,
-]
+<form>
+ <div
+ class="Component-container-243"
+ >
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-208 Component-inputRoot-244 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-underline-212"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-216"
+ id="downshift-1-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-246"
+ >
+ Value: afghanistan
+ </p>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Generics / SingleAutocompleteSelectField with loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <Form
- initial={
- Object {
- "country": Object {
- "label": "Afghanistan",
- "value": "afghanistan",
- },
- }
- }
- />,
-]
+<form>
+ <div
+ class="Component-container-243"
+ >
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <div
+ aria-autocomplete="list"
+ aria-expanded="false"
+ class="MuiInput-root-208 Component-inputRoot-244 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-underline-212"
+ role="combobox"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autocomplete="off"
+ class="MuiInput-input-216"
+ id="downshift-0-input"
+ placeholder="Select country"
+ type="text"
+ value="Afghanistan"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-246"
+ >
+ Value: afghanistan
+ </p>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Generics / SingleSelectField with error hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- error={true}
- hint="Lorem error"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-error-159 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ />
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161 MuiFormHelperText-error-162"
+ >
+ Lorem error
+ </p>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- hint="Lorem ipsum"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ />
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Lorem ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with label 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- label="Lorem ipsum"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Lorem ipsum
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with label and hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- hint="Ipsum"
- label="Lorem"
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with no value 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- onChange={[Function]}
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ />
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with value 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- onChange={[Function]}
- value="1"
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ />
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Apparel
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / SingleSelectField with value, label and hint 1`] = `
-<Component
- choices={
- Array [
- Object {
- "label": "Apparel",
- "value": "1",
- },
- Object {
- "label": "Groceries",
- "value": "2",
- },
- Object {
- "label": "Books",
- "value": "3",
- },
- Object {
- "label": "Accessories",
- "value": "4",
- },
- ]
- }
- classes={
- Object {
- "formControl": "Component-formControl-18",
- }
- }
- hint="Ipsum"
- label="Lorem"
- onChange={[Function]}
- value="1"
-/>
+<div
+ class="MuiFormControl-root-112 Component-formControl-188"
+>
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Lorem
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Apparel
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Ipsum
+ </p>
+</div>
`;
exports[`Storyshots Generics / Skeleton default 1`] = `
-<Component
- classes={
- Object {
- "skeleton": "Component-skeleton-19",
- }
- }
- style={
- Object {
- "maxWidth": 300,
- }
- }
-/>
+<span
+ class="Component-skeleton-171"
+ style="max-width:300px"
+>
+ ‌
+</span>
`;
exports[`Storyshots Generics / StatusLabel when error 1`] = `
Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- label="Example label"
- status="error"
+ <span
+ class="Component-errorDot-250"
/>,
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Example label
+ </span>,
]
`;
exports[`Storyshots Generics / StatusLabel when neutral 1`] = `
Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- label="Example label"
- status="neutral"
+ <span
+ class="Component-neutralDot-251"
/>,
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Example label
+ </span>,
]
`;
exports[`Storyshots Generics / StatusLabel when success 1`] = `
Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- label="Example label"
- status="success"
+ <span
+ class="Component-successDot-253"
/>,
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Example label
+ </span>,
]
`;
exports[`Storyshots Generics / TablePagination both previous and next pages are available 1`] = `
-<Table
- classes={
- Object {
- "root": "MuiTable-root-20",
- }
- }
- component="table"
->
- <WithStyles(Component)
- Actions={[Function]}
- colSpan={1}
- component={[Function]}
- hasNextPage={true}
- hasPreviousPage={true}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- />
-</Table>
+<table
+ class="MuiTable-root-254"
+>
+ <tbody>
+ <tr>
+ <td
+ class="MuiTableCell-root-264 MuiTablePagination-root-258"
+ colspan="1"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
`;
exports[`Storyshots Generics / TablePagination next page available 1`] = `
-<Table
- classes={
- Object {
- "root": "MuiTable-root-20",
- }
- }
- component="table"
->
- <WithStyles(Component)
- Actions={[Function]}
- colSpan={1}
- component={[Function]}
- hasNextPage={true}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- />
-</Table>
+<table
+ class="MuiTable-root-254"
+>
+ <tbody>
+ <tr>
+ <td
+ class="MuiTableCell-root-264 MuiTablePagination-root-258"
+ colspan="1"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
`;
exports[`Storyshots Generics / TablePagination no previous / next page 1`] = `
-<Table
- classes={
- Object {
- "root": "MuiTable-root-20",
- }
- }
- component="table"
->
- <WithStyles(Component)
- Actions={[Function]}
- colSpan={1}
- component={[Function]}
- hasNextPage={false}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- />
-</Table>
+<table
+ class="MuiTable-root-254"
+>
+ <tbody>
+ <tr>
+ <td
+ class="MuiTableCell-root-264 MuiTablePagination-root-258"
+ colspan="1"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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>
+ </tbody>
+</table>
`;
exports[`Storyshots Generics / TablePagination previous page available 1`] = `
-<Table
- classes={
- Object {
- "root": "MuiTable-root-20",
- }
- }
- component="table"
->
- <WithStyles(Component)
- Actions={[Function]}
- colSpan={1}
- component={[Function]}
- hasNextPage={false}
- hasPreviousPage={true}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- />
-</Table>
+<table
+ class="MuiTable-root-254"
+>
+ <tbody>
+ <tr>
+ <td
+ class="MuiTableCell-root-264 MuiTablePagination-root-258"
+ colspan="1"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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>
+ </tbody>
+</table>
`;
exports[`Storyshots Generics / Timeline default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="Component-root-275"
+>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noExpander-303"
+ >
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-304"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noExpander-303"
+ >
+ Expansion panel 2
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-304"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:48
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noExpander-303"
+ >
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-noExpanderNodeDate-304"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.05.2018 18:58
+ </p>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="Component-root-275"
+>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Expansion panel 2
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:48
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Generics / Timeline with order notes 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="Component-root-275"
+>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Expansion panel 1
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
+ malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#03a9f4"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
+ malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Expansion panel 3
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.05.2018 18:58
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
-exports[`Storyshots Orders / OrderAddressEditDialog billing address 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- countries={
- Array [
- Object {
- "code": "AF",
- "label": "Afghanistan",
- },
- Object {
- "code": "AX",
- "label": "Åland Islands",
- },
- Object {
- "code": "AL",
- "label": "Albania",
- },
- Object {
- "code": "DZ",
- "label": "Algeria",
- },
- Object {
- "code": "AS",
- "label": "American Samoa",
- },
- ]
- }
- data={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": undefined,
- "phone_number": "",
- "phone_prefix": "",
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- onChange={[Function]}
- open={true}
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- variant="billing"
- />,
-]
-`;
+exports[`Storyshots Orders / OrderAddressEditDialog billing address 1`] = `null`;
-exports[`Storyshots Orders / OrderAddressEditDialog shipping address 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- countries={
- Array [
- Object {
- "code": "AF",
- "label": "Afghanistan",
- },
- Object {
- "code": "AX",
- "label": "Åland Islands",
- },
- Object {
- "code": "AL",
- "label": "Albania",
- },
- Object {
- "code": "DZ",
- "label": "Algeria",
- },
- Object {
- "code": "AS",
- "label": "American Samoa",
- },
- ]
- }
- data={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": undefined,
- "phone_number": "",
- "phone_prefix": "",
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- onChange={[Function]}
- open={true}
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- variant="shipping"
- />,
-]
-`;
+exports[`Storyshots Orders / OrderAddressEditDialog shipping address 1`] = `null`;
-exports[`Storyshots Orders / OrderCancelDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- id="123"
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- />,
-]
-`;
+exports[`Storyshots Orders / OrderCancelDialog default 1`] = `null`;
exports[`Storyshots Orders / OrderCustomer when loaded data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- billingAddress={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- client={
- Object {
- "email": "[email protected]",
- "id": "c1",
- "name": "Test Client",
- }
- }
- onBillingAddressEdit={[Function]}
- onShippingAddressEdit={[Function]}
- shippingAddress={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Same as shipping address
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderCustomer when loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderCustomer with different addresses 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- billingAddress={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a2",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- client={
- Object {
- "email": "[email protected]",
- "id": "c1",
- "name": "Test Client",
- }
- }
- onBillingAddressEdit={[Function]}
- onShippingAddressEdit={[Function]}
- shippingAddress={
- Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- }
- }
- />,
-]
-`;
-
-exports[`Storyshots Orders / OrderCustomerEditDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- fetchUsers={[Function]}
- onChange={[Function]}
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- user={
- Object {
- "label": "[email protected]",
- "value": "c1",
- }
- }
- users={
- Array [
- Object {
- "email": "[email protected]",
- "id": "c1",
- },
- Object {
- "email": "[email protected]",
- "id": "c2",
- },
- Object {
- "email": "[email protected]",
- "id": "c3",
- },
- Object {
- "email": "[email protected]",
- "id": "c4",
- },
- ]
- }
- />,
-]
-`;
-
-exports[`Storyshots Orders / OrderFulfillmentCancelDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- id="123"
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- />,
-]
-`;
-
-exports[`Storyshots Orders / OrderFulfillmentDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- data={Object {}}
- onChange={[Function]}
- open={true}
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- />,
-]
-`;
-
-exports[`Storyshots Orders / OrderFulfillmentTrackingDialog add code 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onChange={[Function]}
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- trackingCode="123"
- variant="add"
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+</div>
`;
-exports[`Storyshots Orders / OrderFulfillmentTrackingDialog edit code 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onChange={[Function]}
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- trackingCode="123"
- variant="edit"
- />,
-]
-`;
+exports[`Storyshots Orders / OrderCustomerEditDialog default 1`] = `null`;
+
+exports[`Storyshots Orders / OrderFulfillmentCancelDialog default 1`] = `null`;
+
+exports[`Storyshots Orders / OrderFulfillmentDialog default 1`] = `null`;
+
+exports[`Storyshots Orders / OrderFulfillmentTrackingDialog add code 1`] = `null`;
+
+exports[`Storyshots Orders / OrderFulfillmentTrackingDialog edit code 1`] = `null`;
exports[`Storyshots Orders / OrderHistory default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- history={
- Array [
- Object {
- "content": "Created order",
- "date": "2018-04-07T11:18:19+00:00",
- "id": "n1",
- "type": "created",
- "user": "[email protected]",
- },
- Object {
- "content": "Received payment",
- "date": "2018-04-07T11:33:19+00:00",
- "id": "n1",
- "params": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "type": "payment",
- "user": "[email protected]",
- },
- Object {
- "content": "Shipped order",
- "date": "2018-04-07T13:31:19+00:00",
- "id": "n3",
- "params": Object {
- "shippingAddress": "Test Client<br />9297 Barker Extension<br />95393-6818 Keithport<br />Cyprus",
- },
- "type": "shipped",
- "user": "[email protected]",
- },
- Object {
- "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.",
- "date": "2018-04-08T11:18:19+00:00",
- "id": "n4",
- "type": "note",
- "user": "[email protected]",
- },
- ]
- }
- />,
-]
+<div
+ class="Component-root-608"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="Component-root-275"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-632"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-633"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379 Component-avatar-626"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-208 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-multiline-214 MuiInput-underline-212"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-216 MuiInput-inputMultiline-218"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-591 Component-cardActions-627 "
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#ffc107"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 08.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 15:31
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-user-609"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:33
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderList when loaded data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- orders={
- Array [
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "id": "o1",
- "number": 11,
- "orderStatus": Object {
- "localized": "Fulfilled",
- "status": "success",
- },
- "paymentStatus": Object {
- "localized": "Confirmed",
- "status": "success",
- },
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "status": "fulfilled",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:11:19+00:00",
- "id": "o2",
- "number": 10,
- "orderStatus": Object {
- "localized": "Unfulfilled",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Confirmed",
- "status": "success",
- },
- "price": Object {
- "amount": 28.9,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c2",
- },
- "created": "2018-04-07T10:44:44+00:00",
- "id": "o3",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Rejected",
- "status": "error",
- },
- "price": Object {
- "amount": 289,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c3",
- },
- "created": "2018-04-07T10:33:19+00:00",
- "id": "o4",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "unknown",
- "status": "error",
- },
- "price": Object {
- "amount": 100.05,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-07T07:39:19+00:00",
- "id": "o5",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Waiting for confirmation",
- "status": "neutral",
- },
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-06T19:18:19+00:00",
- "id": "o6",
- "number": 8,
- "orderStatus": Object {
- "localized": "Unfulfilled",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Rejected",
- "status": "error",
- },
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- ]
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 19.20
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:11
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 28.90
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:44
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 289.00
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:33
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ unknown
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 100.05
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 09:39
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Waiting for confirmation
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.04.2018 21:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Orders / OrderList when loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Orders / OrderList when no data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- orders={Array []}
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ colspan="6"
+ >
+ No orders found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Orders / OrderList with clickable rows 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onRowClick={[Function]}
- orders={
- Array [
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "id": "o1",
- "number": 11,
- "orderStatus": Object {
- "localized": "Fulfilled",
- "status": "success",
- },
- "paymentStatus": Object {
- "localized": "Confirmed",
- "status": "success",
- },
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "status": "fulfilled",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:11:19+00:00",
- "id": "o2",
- "number": 10,
- "orderStatus": Object {
- "localized": "Unfulfilled",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Confirmed",
- "status": "success",
- },
- "price": Object {
- "amount": 28.9,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c2",
- },
- "created": "2018-04-07T10:44:44+00:00",
- "id": "o3",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Rejected",
- "status": "error",
- },
- "price": Object {
- "amount": 289,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c3",
- },
- "created": "2018-04-07T10:33:19+00:00",
- "id": "o4",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "unknown",
- "status": "error",
- },
- "price": Object {
- "amount": 100.05,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-07T07:39:19+00:00",
- "id": "o5",
- "number": 9,
- "orderStatus": Object {
- "localized": "shipped",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Waiting for confirmation",
- "status": "neutral",
- },
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "shipped",
- },
- Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-06T19:18:19+00:00",
- "id": "o6",
- "number": 8,
- "orderStatus": Object {
- "localized": "Unfulfilled",
- "status": "error",
- },
- "paymentStatus": Object {
- "localized": "Rejected",
- "status": "error",
- },
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- ]
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 19.20
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:11
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 28.90
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:44
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 289.00
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:33
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ unknown
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 100.05
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 09:39
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Waiting for confirmation
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.04.2018 21:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
-exports[`Storyshots Orders / OrderPaymentDialog capture payment 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onChange={[Function]}
- open={true}
- value={120}
- variant="capture"
- />,
-]
-`;
+exports[`Storyshots Orders / OrderPaymentDialog capture payment 1`] = `null`;
-exports[`Storyshots Orders / OrderPaymentDialog refund payment 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onChange={[Function]}
- open={true}
- value={140}
- variant="refund"
- />,
-]
-`;
+exports[`Storyshots Orders / OrderPaymentDialog refund payment 1`] = `null`;
-exports[`Storyshots Orders / OrderPaymentReleaseDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- />,
-]
-`;
+exports[`Storyshots Orders / OrderPaymentReleaseDialog default 1`] = `null`;
-exports[`Storyshots Orders / OrderProductAddDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <Form
- initial={
- Object {
- "quantity": 0,
- "variant": Object {
- "label": "",
- "value": "",
- },
- }
- }
- />,
-]
-`;
+exports[`Storyshots Orders / OrderProductAddDialog default 1`] = `<form />`;
-exports[`Storyshots Orders / OrderShippingMethodEditDialog default 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- fetchShippingMethods={[Function]}
- onChange={[Function]}
- onClose={[Function]}
- onConfirm={[Function]}
- open={true}
- shippingMethod={
- Object {
- "label": "DHL",
- "value": "s1",
- }
- }
- shippingMethods={
- Array [
- Object {
- "country": "whole world",
- "id": "s1",
- "name": "DHL",
- "price": Object {},
- },
- Object {
- "country": "Afghanistan",
- "id": "s2",
- "name": "UPS",
- },
- ]
- }
- />,
-]
-`;
+exports[`Storyshots Orders / OrderShippingMethodEditDialog default 1`] = `null`;
exports[`Storyshots Orders / OrderSummary order cancelled 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="cancelled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Cancelled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary order draft 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="draft"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Draft
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 1
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 2
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 7
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 3
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Finalize
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary order fulfilled 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary order partially fulfilled 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary order unfulfilled 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="unfulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment confirmed 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="confirmed"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment error 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="error"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment input 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="input"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment preauth 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="preauth"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Capture
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Release
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment refunded 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="refunded"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment rejected 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="rejected"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary payment waiting 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- net={
- Object {
- "amount": 6,
- "currency": "USD",
- }
- }
- onCapture={[Function]}
- onCreate={[Function]}
- onFulfill={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onRefund={[Function]}
- onRelease={[Function]}
- onRowClick={[Function]}
- paid={
- Object {
- "amount": 19.2,
- "currency": "USD",
- }
- }
- paymentStatus="waiting"
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- refunded={
- Object {
- "amount": 13.2,
- "currency": "USD",
- }
- }
- status="partially fulfilled"
- subtotal={
- Object {
- "amount": 160.2,
- "currency": "USD",
- }
- }
- total={
- Object {
- "amount": 165.7,
- "currency": "USD",
- }
- }
- />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+</div>
`;
exports[`Storyshots Orders / OrderSummary when loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component) />,
-]
+<div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+>
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Pages / PageContent when loaded 1`] = `
-<Component
- availableOn="2018-03-20T16:39:08.850105+00:00"
- classes={
- Object {
- "addHelperTextPadding": "Component-addHelperTextPadding-25",
- }
- }
- content="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."
- createdAt="2018-03-13T16:39:08.850105+00:00"
- isVisible={true}
- slug="lorem-ipsum-dolor"
- title="Lorem Ipsum"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115 Component-addHelperTextPadding-450"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129"
+ name="title"
+ type="text"
+ value="Lorem Ipsum"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ 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-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Pages / PageContent when loading 1`] = `
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115 Component-addHelperTextPadding-450"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="title"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="content"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+</div>
`;
-exports[`Storyshots Pages / PageContent when loading 1`] = `
-<Component
- classes={
- Object {
- "addHelperTextPadding": "Component-addHelperTextPadding-25",
- }
- }
- content=""
- loading={true}
- title=""
-/>
-`;
-
-exports[`Storyshots Pages / PageDeleteDialog default 1`] = `
-<Component
- classes={
- Object {
- "deleteButton": "Component-deleteButton-26",
- }
- }
- onClose={[Function]}
- onConfirm={[Function]}
- opened={true}
- title="Lorem Ipsum"
-/>
-`;
+exports[`Storyshots Pages / PageDeleteDialog default 1`] = `null`;
exports[`Storyshots Pages / PageList when loading data 1`] = `
-<Component
- classes={
- Object {
- "link": "Component-link-28",
- "textRight": "Component-textRight-29",
- }
- }
- onEditClick={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPageClick={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Pages / PageList with data 1`] = `
-<Component
- classes={
- Object {
- "link": "Component-link-28",
- "textRight": "Component-textRight-29",
- }
- }
- onEditClick={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPageClick={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
- pages={
- Array [
- Object {
- "id": "UGFnZTox",
- "isVisible": true,
- "slug": "about",
- "title": "About",
- },
- Object {
- "id": "UGFnZToy",
- "isVisible": false,
- "slug": "terms-of-use",
- "title": "Terms of use",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-466"
+ >
+ About
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ /about
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Published
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-466"
+ >
+ Terms of use
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ /terms-of-use
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Not published
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Pages / PageList without data 1`] = `
-<Component
- classes={
- Object {
- "link": "Component-link-28",
- "textRight": "Component-textRight-29",
- }
- }
- onEditClick={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPageClick={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
- pages={Array []}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ colspan="4"
+ >
+ No pages found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Pages / PageProperties when loaded 1`] = `
-<Component
- availableOn="2018-03-20T16:39:08.850105+00:00"
- classes={
- Object {
- "root": "Component-root-31",
- }
- }
- content="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."
- createdAt="2018-03-13T16:39:08.850105+00:00"
- isVisible={true}
- slug="lorem-ipsum-dolor"
- title="Lorem Ipsum"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="Component-spacer-428"
+ />
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-checked-463 MuiCheckbox-checked-458"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="isVisible"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Published
+ </span>
+ </label>
+ </div>
+</div>
`;
exports[`Storyshots Pages / PageProperties when loading 1`] = `
-<Component
- availableOn=""
- classes={
- Object {
- "root": "Component-root-31",
- }
- }
- isVisible={false}
- loading={true}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="slug"
+ type="text"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="availableOn"
+ type="date"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="Component-spacer-428"
+ />
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-disabled-464 MuiCheckbox-disabled-459"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ disabled=""
+ name="isVisible"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+ Published
+ </span>
+ </label>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductAttributesForm when data loaded 1`] = `
-<Component
- attributes={
- Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZToz",
- "name": "Brand",
- "slug": "brand",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQw",
- "name": "dominikibrand",
- "slug": "dominikibrand",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM5",
- "name": "superbrand",
- "slug": "superbrand",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM4",
- "name": "Mirumee",
- "slug": "mirumee",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjY=",
- "name": "Saleor",
- "slug": "saleor",
- },
- ],
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZToy",
- "name": "Collar",
- "slug": "collar",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjU=",
- "name": "Polo",
- "slug": "polo",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQ=",
- "name": "V-Neck",
- "slug": "v-neck",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM=",
- "name": "Round",
- "slug": "round",
- },
- ],
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZTox",
- "name": "Color",
- "slug": "color",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI=",
- "name": "White",
- "slug": "white",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE=",
- "name": "Blue",
- "slug": "blue",
- },
- ],
- },
- ]
- }
- classes={Object {}}
- onChange={[Function]}
- productAttributes={
- Array [
- Object {
- "name": "brand",
- "value": "superbrand",
- },
- Object {
- "name": "collar",
- "value": "round",
- },
- Object {
- "name": "color",
- "value": "blue",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Brand
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ superbrand
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="brand"
+ type="hidden"
+ value="superbrand"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Collar
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Round
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collar"
+ type="hidden"
+ value="round"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Color
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Blue
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="color"
+ type="hidden"
+ value="blue"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductAttributesForm when loading data 1`] = `
-<Component
- classes={Object {}}
- loading={true}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductAvailabilityForm when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-32",
- }
- }
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Status
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-root-469"
+ >
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Available
+ </span>
+ </label>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="availableOn"
+ type="date"
+ />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductAvailabilityForm with loaded data 1`] = `
-<Component
- available={true}
- availableOn="04-10-2010"
- classes={
- Object {
- "root": "Component-root-32",
- }
- }
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Status
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-root-469"
+ >
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-checked-463 MuiCheckbox-checked-458"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Available
+ </span>
+ </label>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="availableOn"
+ type="date"
+ value="04-10-2010"
+ />
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductCategoryAndCollectionsForm when data is loaded 1`] = `
-<Component
- categories={
- Array [
- Object {
- "label": "Lorem ipsum dolor",
- "value": "123123",
- },
- Object {
- "label": "Mauris vehicula tortor vulputate",
- "value": "876752",
- },
- ]
- }
- category="876752"
- classes={Object {}}
- collections={
- Array [
- Object {
- "label": "Winter collection",
- "value": "1",
- },
- Object {
- "label": "Emperor's choice",
- "value": "2",
- },
- ]
- }
- onChange={[Function]}
- productCollections={
- Array [
- "1",
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Organisation
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Mauris vehicula tortor vulputate
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value="876752"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-111"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="Component-chipContainer-110"
+ >
+ <div
+ class="MuiChip-root-144 Component-chip-109"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-149"
+ >
+ Winter collection
+ </span>
+ </div>
+ </div>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductCategoryAndCollectionsForm while loading data 1`] = `
-<Component
- classes={Object {}}
- loading={true}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Organisation
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-disabled-158 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiSelect-disabled-119 MuiInput-input-129 MuiInput-disabled-124"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-111"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-disabled-158 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiSelect-disabled-119 MuiInput-input-129 MuiInput-disabled-124"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductCollections when loading data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-33",
- "link": "Component-link-34",
- }
- }
- onRowClick={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-470"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductCollections with collections 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-33",
- "link": "Component-link-34",
- }
- }
- collections={
- Array [
- Object {
- "id": "collection-1",
- "name": "Winter Collection",
- },
- Object {
- "id": "collection-2",
- "name": "Summer Collection",
- },
- ]
- }
- onRowClick={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-470"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-471"
+ >
+ Winter Collection
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-471"
+ >
+ Summer Collection
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductCollections with no collections 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-33",
- "link": "Component-link-34",
- }
- }
- collections={Array []}
- onRowClick={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-470"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ This product is not in any collection
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductDescription when loading data 1`] = `
-<WithStyles(Card)>
- <WithStyles(Component)
- onBack={[Function]}
- >
- <WithStyles(IconButton)
- disabled={true}
- onClick={[Function]}
- >
- <pure(Visibility) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={true}
- onClick={[Function]}
- >
- <pure(Edit) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={true}
- onClick={[Function]}
- >
- <pure(Delete) />
- </WithStyles(IconButton)>
- </WithStyles(Component)>
- <WithStyles(CardContent)>
- <WithStyles(Typography)>
- <WithStyles(Component) />
- </WithStyles(Typography)>
- </WithStyles(CardContent)>
-</WithStyles(Card)>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductDescription with description 1`] = `
-<WithStyles(Card)>
- <WithStyles(Component)
- onBack={[Function]}
- title="Stewart-Barrera"
- >
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Visibility) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Edit) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Delete) />
- </WithStyles(IconButton)>
- </WithStyles(Component)>
- <WithStyles(CardContent)>
- <WithStyles(Typography)>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stewart-Barrera
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
Light light office style present life military. Enough executive coach cause own.
Care season wrong fly. Example age between discuss assume.
@@ -3896,2506 +14165,11497 @@ Their third build might strong account. Worry enter room note level air.
Weight director mother. Because find task with now enter tree management.
Soon name recently ground green. There owner sport box them red information.
- </WithStyles(Typography)>
- </WithStyles(CardContent)>
-</WithStyles(Card)>
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductDescription with no description 1`] = `
-<WithStyles(Card)>
- <WithStyles(Component)
- onBack={[Function]}
- title="Stewart-Barrera"
- >
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Visibility) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Edit) />
- </WithStyles(IconButton)>
- <WithStyles(IconButton)
- disabled={false}
- >
- <pure(Delete) />
- </WithStyles(IconButton)>
- </WithStyles(Component)>
- <WithStyles(CardContent)>
- <WithStyles(Typography)>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stewart-Barrera
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
No description
- </WithStyles(Typography)>
- </WithStyles(CardContent)>
-</WithStyles(Card)>
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductDetailsForm when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-35",
- }
- }
- loading={true}
- onBack={[Function]}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit product
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-472"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="name"
+ type="text"
+ />
+ </div>
+ </div>
+ <span />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductDetailsForm with initial data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-35",
- }
- }
- currencySymbol="USD"
- description="Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl."
- name="Our totally awesome book"
- onBack={[Function]}
- onChange={[Function]}
- price="300"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit product
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-472"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="name"
+ type="text"
+ value="Our totally awesome book"
+ />
+ </div>
+ </div>
+ <span />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="300"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductDetailsForm with no initial data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-35",
- }
- }
- onBack={[Function]}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit product
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-472"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="name"
+ type="text"
+ />
+ </div>
+ </div>
+ <span />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductImagePage data loaded 1`] = `
-<Component
- classes={
- Object {
- "image": "Component-image-38",
- "root": "Component-root-37",
- }
- }
- image="placeholder255x255.png"
- onBack={[Function]}
- onSubmit={[Function]}
-/>
+<div
+ class="Component-sm-391"
+>
+ <form>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit image
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <img
+ class="Component-image-492"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </form>
+</div>
`;
exports[`Storyshots Products / ProductImagePage loading 1`] = `
-<Component
- classes={
- Object {
- "image": "Component-image-38",
- "root": "Component-root-37",
- }
- }
- loading={true}
- onBack={[Function]}
- onSubmit={[Function]}
-/>
+<div
+ class="Component-sm-391"
+>
+ <form>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit image
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </form>
+</div>
`;
exports[`Storyshots Products / ProductImages when loading data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-40",
- "fileField": "Component-fileField-43",
- "gridElement": "Component-gridElement-41",
- "icon": "Component-icon-42",
- "root": "Component-root-39",
- }
- }
- onImageReorder={[Function]}
- onImageUpload={[Function]}
- placeholderImage="placeholder255x255.png"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-494"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <input
+ class="Component-fileField-497"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-493"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-495"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Loading...
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductImages with data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-40",
- "fileField": "Component-fileField-43",
- "gridElement": "Component-gridElement-41",
- "icon": "Component-icon-42",
- "root": "Component-root-39",
- }
- }
- images={
- Array [
- Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY2",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY3",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY4",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- ]
- }
- onImageReorder={[Function]}
- onImageUpload={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-494"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <input
+ class="Component-fileField-497"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-493"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-505"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt=""
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ No description
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-505"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt=""
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ No description
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-505"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt=""
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ No description
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductImages without data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-40",
- "fileField": "Component-fileField-43",
- "gridElement": "Component-gridElement-41",
- "icon": "Component-icon-42",
- "root": "Component-root-39",
- }
- }
- images={Array []}
- onImageReorder={[Function]}
- onImageUpload={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-494"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <input
+ class="Component-fileField-497"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ No images available
+ </p>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductPriceAndAvailability when loading data 1`] = `
-<Component
- classes={
- Object {
- "greenText": "Component-greenText-44",
- "leftCell": "Component-leftCell-45",
- "redText": "Component-redText-46",
- "rightCell": "Component-rightCell-47",
- }
- }
- onPublish={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiSwitch-root-478"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiSwitch-switchBase-481 MuiSwitch-colorPrimary-483 MuiSwitchBase-disabled-464 MuiSwitch-disabled-485"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <span
+ class="MuiSwitch-icon-479"
+ />
+ <input
+ class="MuiSwitchBase-input-465"
+ disabled=""
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-486"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+
+ </span>
+ </label>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Sale price
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Purchase cost
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Gross margin
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductPriceAndAvailability when product is available 1`] = `
-<Component
- classes={
- Object {
- "greenText": "Component-greenText-44",
- "leftCell": "Component-leftCell-45",
- "redText": "Component-redText-46",
- "rightCell": "Component-rightCell-47",
- }
- }
- grossMargin={
- Object {
- "start": 56,
- "stop": 98,
- }
- }
- isAvailable={true}
- onPublish={[Function]}
- purchaseCost={
- Object {
- "start": "1,88 USD",
- "stop": "48,10 USD",
- }
- }
- salePrice={
- Object {
- "start": "55,14 USD",
- "stop": "88,36 USD",
- }
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiSwitch-root-478"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiSwitch-switchBase-481 MuiSwitch-colorPrimary-483 MuiSwitchBase-disabled-464 MuiSwitch-disabled-485"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <span
+ class="MuiSwitch-icon-479"
+ />
+ <input
+ class="MuiSwitchBase-input-465"
+ disabled=""
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-486"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+
+ </span>
+ </label>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-greenText-474"
+ >
+ Available
+ </span>
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Sale price
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 55,14 USD - 88,36 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Purchase cost
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 1,88 USD - 48,10 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Gross margin
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 56% - 98%
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductPriceAndAvailability when product is not available 1`] = `
-<Component
- classes={
- Object {
- "greenText": "Component-greenText-44",
- "leftCell": "Component-leftCell-45",
- "redText": "Component-redText-46",
- "rightCell": "Component-rightCell-47",
- }
- }
- grossMargin={
- Object {
- "start": 56,
- "stop": 98,
- }
- }
- isAvailable={false}
- onPublish={[Function]}
- purchaseCost={
- Object {
- "start": "1,88 USD",
- "stop": "48,10 USD",
- }
- }
- salePrice={
- Object {
- "start": "55,14 USD",
- "stop": "88,36 USD",
- }
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiSwitch-root-478"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiSwitch-switchBase-481 MuiSwitch-colorPrimary-483 MuiSwitchBase-disabled-464 MuiSwitch-disabled-485"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <span
+ class="MuiSwitch-icon-479"
+ />
+ <input
+ class="MuiSwitchBase-input-465"
+ disabled=""
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-486"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+
+ </span>
+ </label>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-redText-476"
+ >
+ Unavailable
+ </span>
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Sale price
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 55,14 USD - 88,36 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Purchase cost
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 1,88 USD - 48,10 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Gross margin
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 56% - 98%
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariantAttributes when loaded data 1`] = `
-<Component
- attributes={
- Array [
- Object {
- "attribute": Object {
- "name": "Cover",
- "slug": "cover",
- "values": Array [
- "hard",
- "soft",
- ],
- },
- "value": "hard",
- },
- Object {
- "attribute": Object {
- "name": "Version",
- "slug": "version",
- "values": Array [
- "regular",
- "extended",
- ],
- },
- "value": "extended",
- },
- ]
- }
- classes={
- Object {
- "grid": "Component-grid-51",
- }
- }
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-grid-531"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Cover
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="cover"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Version
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="version"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantAttributes when loading data 1`] = `
-<Component
- classes={
- Object {
- "grid": "Component-grid-51",
- }
- }
- loading={true}
- onChange={[Function]}
-/>
-`;
-
-exports[`Storyshots Products / ProductVariantDeleteDialog default 1`] = `
-<Component
- classes={
- Object {
- "deleteButton": "Component-deleteButton-52",
- }
- }
- name="Extended Hard"
- open={true}
-/>
-`;
-
-exports[`Storyshots Products / ProductVariantImageSelectDialog default 1`] = `
-<ProductVariantImageSelectDialogComponent
- classes={
- Object {
- "gridElement": "ProductVariantImageSelectDialogComponent-gridElement-54",
- "icon": "ProductVariantImageSelectDialogComponent-icon-55",
- "iconChecked": "ProductVariantImageSelectDialogComponent-iconChecked-56",
- "root": "ProductVariantImageSelectDialogComponent-root-53",
- }
- }
- images={
- Array [
- Object {
- "alt": "Front",
- "id": "img1",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Back",
- "id": "img2",
- "order": 4,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Right side",
- "id": "img3",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Left side",
- "id": "img4",
- "order": 3,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Paper",
- "id": "img5",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Hard cover",
- "id": "img6",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Extended version",
- "id": "img7",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Cut version",
- "id": "img8",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Soft cover",
- "id": "img9",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- ]
- }
- open={true}
- selectedImages={
- Array [
- Object {
- "id": "img1",
- },
- Object {
- "id": "img2",
- },
- Object {
- "id": "img7",
- },
- Object {
- "id": "img8",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-grid-531"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+</div>
`;
+exports[`Storyshots Products / ProductVariantDeleteDialog default 1`] = `null`;
+
+exports[`Storyshots Products / ProductVariantImageSelectDialog default 1`] = `null`;
+
exports[`Storyshots Products / ProductVariantImages when loaded data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-58",
- "gridElement": "Component-gridElement-59",
- "root": "Component-root-57",
- }
- }
- images={
- Array [
- Object {
- "alt": "Front",
- "id": "img1",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Back",
- "id": "img2",
- "order": 4,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Right side",
- "id": "img3",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Left side",
- "id": "img4",
- "order": 3,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Paper",
- "id": "img5",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Hard cover",
- "id": "img6",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Extended version",
- "id": "img7",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Cut version",
- "id": "img8",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- Object {
- "alt": "Soft cover",
- "id": "img9",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- ]
- }
- onImageAdd={[Function]}
- placeholderImage="placeholder255x255.png"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-538"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-537"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Paper"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Paper
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Extended version"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Extended version
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Front"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Front
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Hard cover"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Hard cover
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Right side"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Right side
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Cut version"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Cut version
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Soft cover"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Soft cover
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Left side"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Left side
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Back"
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Back
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantImages when loading data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-58",
- "gridElement": "Component-gridElement-59",
- "root": "Component-root-57",
- }
- }
- loading={true}
- onImageAdd={[Function]}
- placeholderImage="placeholder255x255.png"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-538"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-537"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ src="placeholder255x255.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Loading...
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantNavigation when loaded data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-60",
- "link": "Component-link-61",
- }
- }
- variants={
- Array [
- Object {
- "id": "var2",
- "name": "Extended Soft",
- },
- Object {
- "id": "var3",
- "name": "Normal Hard",
- },
- Object {
- "id": "var4",
- "name": "Normal Soft",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-540"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Extended Soft
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Normal Hard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Normal Soft
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariantNavigation when loading data 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-60",
- "link": "Component-link-61",
- }
- }
- loading={true}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-540"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariantNavigation with clickable rows 1`] = `
-<Component
- classes={
- Object {
- "card": "Component-card-60",
- "link": "Component-link-61",
- }
- }
- onRowClick={[Function]}
- variants={
- Array [
- Object {
- "id": "var2",
- "name": "Extended Soft",
- },
- Object {
- "id": "var3",
- "name": "Normal Hard",
- },
- Object {
- "id": "var4",
- "name": "Normal Soft",
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-540"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Extended Soft
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Normal Hard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Normal Soft
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariantPrice when loaded data 1`] = `
-<Component
- classes={
- Object {
- "grid": "Component-grid-64",
- "root": "Component-root-63",
- }
- }
- costPrice={100}
- currencySymbol="USD"
- onChange={[Function]}
- priceOverride={100}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-544"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pricing
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-545"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="100"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="100"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantPrice when loading data 1`] = `
-<Component
- classes={
- Object {
- "grid": "Component-grid-64",
- "root": "Component-root-63",
- }
- }
- loading={true}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-544"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pricing
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-545"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantProduct when loaded data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-65",
- }
- }
- product={
- Object {
- "id": "prod1",
- "images": Object {
- "edges": Array [
- Object {
- "node": Object {
- "alt": "Front",
- "id": "img1",
- "order": 1,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Back",
- "id": "img2",
- "order": 4,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Right side",
- "id": "img3",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Left side",
- "id": "img4",
- "order": 3,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Paper",
- "id": "img5",
- "order": 0,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Hard cover",
- "id": "img6",
- "order": 1,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Extended version",
- "id": "img7",
- "order": 0,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Cut version",
- "id": "img8",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Soft cover",
- "id": "img9",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- ],
- },
- "name": "Our Awesome Book",
- "thumbnailUrl": "placeholder60x60.png",
- "variants": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "var2",
- "name": "Extended Soft",
- },
- },
- Object {
- "node": Object {
- "id": "var3",
- "name": "Normal Hard",
- },
- },
- Object {
- "node": Object {
- "id": "var4",
- "name": "Normal Soft",
- },
- },
- ],
- "totalCount": 11,
- },
- }
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-543"
+ >
+ <img
+ src="placeholder60x60.png"
+ />
+ <div>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ Our Awesome Book
+ </p>
+ <span
+ class="MuiTypography-root-84 MuiTypography-caption-94"
+ >
+ Variants: 11
+ </span>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantProduct when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-65",
- }
- }
- loading={true}
- placeholderImage="placeholder60x60.png"
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-543"
+ >
+ <img
+ src="placeholder60x60.png"
+ />
+ <div>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ <span
+ class="MuiTypography-root-84 MuiTypography-caption-94"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </span>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantStock when loaded data 1`] = `
-<Component
- classes={
- Object {
- "grid": "Component-grid-67",
- "root": "Component-root-66",
- }
- }
- onChange={[Function]}
- sku="1230959124123"
- stock={49}
- stockAllocated={12}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-546"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stock
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-547"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ In stock
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="stock"
+ type="text"
+ value="49"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Allocated: 12
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ SKU
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="sku"
+ type="text"
+ value="1230959124123"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariantStock when loading data 1`] = `
-<Component
- classes={
- Object {
- "grid": "Component-grid-67",
- "root": "Component-root-66",
- }
- }
- loading={true}
- onChange={[Function]}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-546"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stock
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-547"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ In stock
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="stock"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ SKU
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="sku"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Products / ProductVariants when loading data 1`] = `
-<Component
- classes={
- Object {
- "alignRightText": "Component-alignRightText-68",
- "greenDot": "Component-greenDot-69",
- "link": "Component-link-70",
- "redDot": "Component-redDot-71",
- }
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariants when product has no variants 1`] = `
-<Component
- classes={
- Object {
- "alignRightText": "Component-alignRightText-68",
- "greenDot": "Component-greenDot-69",
- "link": "Component-link-70",
- "redDot": "Component-redDot-71",
- }
- }
- variants={Array []}
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ colspan="2"
+ >
+ This product has no variants
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariants when product has variants 1`] = `
-<Component
- classes={
- Object {
- "alignRightText": "Component-alignRightText-68",
- "greenDot": "Component-greenDot-69",
- "link": "Component-link-70",
- "redDot": "Component-redDot-71",
- }
- }
- fallbackGross="80%"
- fallbackPrice="90.00 USD"
- variants={
- Array [
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6Nw==",
- "margin": 20,
- "name": "XXL",
- "priceOverride": null,
- "sku": "2-1337",
- "stockQuantity": 5,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OA==",
- "margin": 20,
- "name": "XL",
- "priceOverride": null,
- "sku": "2-1338",
- "stockQuantity": 0,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OQ==",
- "margin": 20,
- "name": "L",
- "priceOverride": null,
- "sku": "2-1339",
- "stockQuantity": 15,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTA=",
- "margin": 20,
- "name": "M",
- "priceOverride": null,
- "sku": "2-1340",
- "stockQuantity": 33,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTE=",
- "margin": 20,
- "name": "S",
- "priceOverride": null,
- "sku": "2-1341",
- "stockQuantity": 0,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTI=",
- "margin": 20,
- "name": "XS",
- "priceOverride": null,
- "sku": "2-1342",
- "stockQuantity": 0,
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ XXL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ XL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ L
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ M
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ S
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ XS
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Products / ProductVariants with clickable rows 1`] = `
-<Component
- classes={
- Object {
- "alignRightText": "Component-alignRightText-68",
- "greenDot": "Component-greenDot-69",
- "link": "Component-link-70",
- "redDot": "Component-redDot-71",
- }
- }
- fallbackGross="80%"
- fallbackPrice="90.00 USD"
- onRowClick={[Function]}
- variants={
- Array [
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6Nw==",
- "margin": 20,
- "name": "XXL",
- "priceOverride": null,
- "sku": "2-1337",
- "stockQuantity": 5,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OA==",
- "margin": 20,
- "name": "XL",
- "priceOverride": null,
- "sku": "2-1338",
- "stockQuantity": 0,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OQ==",
- "margin": 20,
- "name": "L",
- "priceOverride": null,
- "sku": "2-1339",
- "stockQuantity": 15,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTA=",
- "margin": 20,
- "name": "M",
- "priceOverride": null,
- "sku": "2-1340",
- "stockQuantity": 33,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTE=",
- "margin": 20,
- "name": "S",
- "priceOverride": null,
- "sku": "2-1341",
- "stockQuantity": 0,
- },
- Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTI=",
- "margin": 20,
- "name": "XS",
- "priceOverride": null,
- "sku": "2-1342",
- "stockQuantity": 0,
- },
- ]
- }
-/>
+<div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XXL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ L
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ M
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ S
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XS
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
`;
exports[`Storyshots Views / Categories / Category details default 1`] = `
-<Component
- category={
- Object {
- "SeoDescription": "Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.",
- "SeoTitle": "Apparel",
- "children": Array [
- Object {
- "id": "123123",
- "name": "Lorem ipsum dolor",
- },
- Object {
- "id": "876752",
- "name": "Mauris vehicula tortor vulputate",
- },
- ],
- "description": "Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.",
- "id": "c1",
- "name": "Apparel",
- "products": Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- }
- }
- classes={
- Object {
- "root": "Component-root-22",
- }
- }
- loading={false}
- onAddCategory={[Function]}
- onAddProduct={[Function]}
- onBack={[Function]}
- onCategoryClick={[Function]}
- onDelete={[Function]}
- onEdit={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onProductClick={[Function]}
- pageInfo={
- Object {
- "hasNextPage": true,
- "hasPreviousPage": true,
- }
- }
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder60x60.png",
- },
- ]
- }
- subcategories={
- Array [
- Object {
- "id": "123123",
- "name": "Lorem ipsum dolor",
- },
- Object {
- "id": "876752",
- "name": "Mauris vehicula tortor vulputate",
- },
- ]
- }
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Apparel
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="Component-root-389"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Details
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Categories
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <ul
+ class="MuiList-root-395 MuiList-padding-396"
+ >
+ <div
+ class="MuiButtonBase-root-178 MuiListItem-root-399 MuiListItem-default-402 MuiListItem-gutters-406 MuiListItem-button-407"
+ role="button"
+ tabindex="0"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiListItemIcon-root-409"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-410"
+ >
+ <h3
+ class="MuiTypography-root-84 MuiTypography-subheading-91 MuiListItemText-primary-413"
+ >
+ Lorem ipsum dolor
+ </h3>
+ </div>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </div>
+ <div
+ class="MuiButtonBase-root-178 MuiListItem-root-399 MuiListItem-default-402 MuiListItem-gutters-406 MuiListItem-button-407"
+ role="button"
+ tabindex="0"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiListItemIcon-root-409"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-410"
+ >
+ <h3
+ class="MuiTypography-root-84 MuiTypography-subheading-91 MuiListItemText-primary-413"
+ >
+ Mauris vehicula tortor vulputate
+ </h3>
+ </div>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </div>
+ </ul>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-417"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Categories / Category details when in root 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-22",
- }
- }
- loading={false}
- onAddCategory={[Function]}
- onAddProduct={[Function]}
- onBack={[Function]}
- onCategoryClick={[Function]}
- onDelete={[Function]}
- onEdit={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onProductClick={[Function]}
- subcategories={
- Array [
- Object {
- "id": "123123",
- "name": "Lorem ipsum dolor",
- },
- Object {
- "id": "876752",
- "name": "Mauris vehicula tortor vulputate",
- },
- ]
- }
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Categories
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-root-389"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <ul
+ class="MuiList-root-395 MuiList-padding-396"
+ >
+ <div
+ class="MuiButtonBase-root-178 MuiListItem-root-399 MuiListItem-default-402 MuiListItem-gutters-406 MuiListItem-button-407"
+ role="button"
+ tabindex="0"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiListItemIcon-root-409"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-410"
+ >
+ <h3
+ class="MuiTypography-root-84 MuiTypography-subheading-91 MuiListItemText-primary-413"
+ >
+ Lorem ipsum dolor
+ </h3>
+ </div>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </div>
+ <div
+ class="MuiButtonBase-root-178 MuiListItem-root-399 MuiListItem-default-402 MuiListItem-gutters-406 MuiListItem-button-407"
+ role="button"
+ tabindex="0"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiListItemIcon-root-409"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-410"
+ >
+ <h3
+ class="MuiTypography-root-84 MuiTypography-subheading-91 MuiListItemText-primary-413"
+ >
+ Mauris vehicula tortor vulputate
+ </h3>
+ </div>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </div>
+ </ul>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Categories / Category details when loading 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-22",
- }
- }
- loading={true}
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="Component-root-389"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Details
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Categories
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <ul
+ class="MuiList-root-395 MuiList-padding-396"
+ >
+ <li
+ class="MuiListItem-root-399 MuiListItem-default-402 MuiListItem-gutters-406"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiListItemIcon-root-409"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
+ />
+ </g>
+ </svg>
+ <div
+ class="MuiListItemText-root-410"
+ >
+ <h3
+ class="MuiTypography-root-84 MuiTypography-subheading-91 MuiListItemText-primary-413"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </h3>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Products
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-416"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-416"
+ >
+ <div
+ class="MuiAvatar-root-425 MuiAvatar-colorDefault-426"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Categories / Category edit default 1`] = `
-<Form
- initial={
- Object {
- "description": "Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.",
- "name": "Apparel",
- }
- }
- key="ready"
- onSubmit={[Function]}
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129"
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Categories / Category edit when loading 1`] = `
-<Form
- initial={
- Object {
- "description": "Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.",
- "name": "Apparel",
- }
- }
- key="ready"
- onSubmit={[Function]}
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441 MuiButton-disabled-444"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Categories / Category edit with errors 1`] = `
-<Form
- initial={
- Object {
- "description": "Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
-Tell lose part purpose do when. Whatever drug contain particularly defense.",
- "name": "Apparel",
- }
- }
- key="ready"
- onSubmit={[Function]}
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit category
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-error-159 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-error-126 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="true"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129"
+ name="name"
+ type="text"
+ value="Apparel"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161 MuiFormHelperText-error-162"
+ >
+ To pole jest wymagane.
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Across pressure PM food discover recognize. Send letter reach listen. Quickly work plan rule.
+Tell lose part purpose do when. Whatever drug contain particularly defense.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(OrderDetailsPageComponent)
- countries={
- Array [
- Object {
- "code": "AF",
- "label": "Afghanistan",
- },
- Object {
- "code": "AX",
- "label": "Åland Islands",
- },
- Object {
- "code": "AL",
- "label": "Albania",
- },
- Object {
- "code": "DZ",
- "label": "Algeria",
- },
- Object {
- "code": "AS",
- "label": "American Samoa",
- },
- ]
- }
- fetchShippingMethods={[Function]}
- fetchUsers={[Function]}
- fetchVariants={[Function]}
- onBack={[Function]}
- onCreate={[Function]}
- onCustomerEmailClick={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onPackingSlipClick={[Function]}
- onPaymentRelease={[Function]}
- onPrintClick={[Function]}
- onProductClick={[Function]}
- order={
- Object {
- "billingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- "name": "Test Client",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "events": Array [
- Object {
- "content": "Created order",
- "date": "2018-04-07T11:18:19+00:00",
- "id": "n1",
- "type": "created",
- "user": "[email protected]",
- },
- Object {
- "content": "Received payment",
- "date": "2018-04-07T11:33:19+00:00",
- "id": "n1",
- "params": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "type": "payment",
- "user": "[email protected]",
- },
- Object {
- "content": "Shipped order",
- "date": "2018-04-07T13:31:19+00:00",
- "id": "n3",
- "params": Object {
- "shippingAddress": "Test Client<br />9297 Barker Extension<br />95393-6818 Keithport<br />Cyprus",
- },
- "type": "shipped",
- "user": "[email protected]",
- },
- Object {
- "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.",
- "date": "2018-04-08T11:18:19+00:00",
- "id": "n4",
- "type": "note",
- "user": "[email protected]",
- },
- ],
- "fulfillments": Array [
- Object {
- "id": "f1",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- Object {
- "product": Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "fulfilled",
- "trackingCode": "012391230412131239052",
- },
- Object {
- "id": "f2",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "cancelled",
- "trackingCode": "012391230412131239052",
- },
- ],
- "id": "o1",
- "number": 11,
- "payment": Object {
- "net": Object {
- "amount": 6,
- "currency": "USD",
- },
- "paid": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "refunded": Object {
- "amount": 13.2,
- "currency": "USD",
- },
- },
- "paymentStatus": "confirmed",
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "products": Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- "shippingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "shippingMethod": Object {
- "id": "s1",
- },
- "shippingMethodName": "DHL",
- "shippingMethodPriceGross": Object {
- "amount": 5.5,
- "currency": "USD",
- },
- "status": "draft",
- "subtotal": Object {
- "amount": 160.2,
- "currency": "USD",
- },
- "total": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "unfulfilled": Array [
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "quantity": 1,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- }
- }
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- shippingMethods={
- Array [
- Object {
- "country": "whole world",
- "id": "s1",
- "name": "DHL",
- "price": Object {},
- },
- Object {
- "country": "Afghanistan",
- "id": "s2",
- "name": "UPS",
- },
- ]
- }
- users={
- Array [
- Object {
- "email": "[email protected]",
- "id": "c1",
- },
- Object {
- "email": "[email protected]",
- "id": "c2",
- },
- Object {
- "email": "[email protected]",
- "id": "c3",
- },
- Object {
- "email": "[email protected]",
- "id": "c4",
- },
- ]
- }
- variants={
- Array [
- Object {
- "id": "p1",
- "name": "Product 1: variant 1",
- "sku": "12345",
- "stockAllocated": 3,
- },
- Object {
- "id": "p2",
- "name": "Product 1: variant 2",
- "sku": "12346",
- "stockAllocated": 1,
- },
- Object {
- "id": "p3",
- "name": "Product 2: variant 1",
- "sku": "12355",
- "stockAllocated": 10,
- },
- Object {
- "id": "p4",
- "name": "Product 3: variant 1",
- "sku": "12445",
- "stockAllocated": 12,
- },
- Object {
- "id": "p5",
- "name": "Product 3: variant 2",
- "sku": "12545",
- "stockAllocated": 7,
- },
- Object {
- "id": "p6",
- "name": "Product 5: variant 1",
- "sku": "13345",
- "stockAllocated": 3,
- },
- Object {
- "id": "p7",
- "name": "Product 5: variant 2",
- "sku": "14345",
- "stockAllocated": 11,
- },
- ]
- }
- variantsLoading={false}
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order #o1
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="OrderDetailsPageComponent-orderDate-570"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-571"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Draft
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 1
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 2
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 7
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 Component-deleteIcon-582"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-container-51 Component-textRight-585"
+ >
+ <form>
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-text-54"
+ >
+ 3
+ </span>
+ </form>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-link-584"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 5.50
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Finalize
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
+ <div
+ class="Component-root-608"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="Component-root-275"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-632"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-633"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379 Component-avatar-626"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-208 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-multiline-214 MuiInput-underline-212"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-216 MuiInput-inputMultiline-218"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-591 Component-cardActions-627 "
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#ffc107"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 08.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 15:31
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-user-609"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:33
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-link-558"
+ >
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Same as shipping address
+ </p>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(OrderDetailsPageComponent)
- countries={
- Array [
- Object {
- "code": "AF",
- "label": "Afghanistan",
- },
- Object {
- "code": "AX",
- "label": "Åland Islands",
- },
- Object {
- "code": "AL",
- "label": "Albania",
- },
- Object {
- "code": "DZ",
- "label": "Algeria",
- },
- Object {
- "code": "AS",
- "label": "American Samoa",
- },
- ]
- }
- fetchShippingMethods={[Function]}
- fetchUsers={[Function]}
- fetchVariants={[Function]}
- onBack={[Function]}
- onCreate={[Function]}
- onCustomerEmailClick={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onPackingSlipClick={[Function]}
- onPaymentRelease={[Function]}
- onPrintClick={[Function]}
- onProductClick={[Function]}
- order={
- Object {
- "billingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- "name": "Test Client",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "events": Array [
- Object {
- "content": "Created order",
- "date": "2018-04-07T11:18:19+00:00",
- "id": "n1",
- "type": "created",
- "user": "[email protected]",
- },
- Object {
- "content": "Received payment",
- "date": "2018-04-07T11:33:19+00:00",
- "id": "n1",
- "params": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "type": "payment",
- "user": "[email protected]",
- },
- Object {
- "content": "Shipped order",
- "date": "2018-04-07T13:31:19+00:00",
- "id": "n3",
- "params": Object {
- "shippingAddress": "Test Client<br />9297 Barker Extension<br />95393-6818 Keithport<br />Cyprus",
- },
- "type": "shipped",
- "user": "[email protected]",
- },
- Object {
- "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.",
- "date": "2018-04-08T11:18:19+00:00",
- "id": "n4",
- "type": "note",
- "user": "[email protected]",
- },
- ],
- "fulfillments": Array [
- Object {
- "id": "f1",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- Object {
- "product": Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "fulfilled",
- "trackingCode": "012391230412131239052",
- },
- Object {
- "id": "f2",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "cancelled",
- "trackingCode": "012391230412131239052",
- },
- ],
- "id": "o1",
- "number": 11,
- "payment": Object {
- "net": Object {
- "amount": 6,
- "currency": "USD",
- },
- "paid": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "refunded": Object {
- "amount": 13.2,
- "currency": "USD",
- },
- },
- "paymentStatus": "preauth",
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "products": Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- "shippingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "shippingMethod": Object {
- "id": "s1",
- },
- "shippingMethodName": "DHL",
- "shippingMethodPriceGross": Object {
- "amount": 5.5,
- "currency": "USD",
- },
- "status": "partially fulfilled",
- "subtotal": Object {
- "amount": 160.2,
- "currency": "USD",
- },
- "total": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "unfulfilled": Array [
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "quantity": 1,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- }
- }
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- shippingMethods={
- Array [
- Object {
- "country": "whole world",
- "id": "s1",
- "name": "DHL",
- "price": Object {},
- },
- Object {
- "country": "Afghanistan",
- "id": "s2",
- "name": "UPS",
- },
- ]
- }
- users={
- Array [
- Object {
- "email": "[email protected]",
- "id": "c1",
- },
- Object {
- "email": "[email protected]",
- "id": "c2",
- },
- Object {
- "email": "[email protected]",
- "id": "c3",
- },
- Object {
- "email": "[email protected]",
- "id": "c4",
- },
- ]
- }
- variants={
- Array [
- Object {
- "id": "p1",
- "name": "Product 1: variant 1",
- "sku": "12345",
- "stockAllocated": 3,
- },
- Object {
- "id": "p2",
- "name": "Product 1: variant 2",
- "sku": "12346",
- "stockAllocated": 1,
- },
- Object {
- "id": "p3",
- "name": "Product 2: variant 1",
- "sku": "12355",
- "stockAllocated": 10,
- },
- Object {
- "id": "p4",
- "name": "Product 3: variant 1",
- "sku": "12445",
- "stockAllocated": 12,
- },
- Object {
- "id": "p5",
- "name": "Product 3: variant 2",
- "sku": "12545",
- "stockAllocated": 7,
- },
- Object {
- "id": "p6",
- "name": "Product 5: variant 1",
- "sku": "13345",
- "stockAllocated": 3,
- },
- Object {
- "id": "p7",
- "name": "Product 5: variant 2",
- "sku": "14345",
- "stockAllocated": 11,
- },
- ]
- }
- variantsLoading={false}
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order #o1
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="OrderDetailsPageComponent-orderDate-570"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-571"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 5.50
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Capture
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Release
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-root-588"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Fulfillment #f1
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-589"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner, Graham and King x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add tracking number
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel shipment
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <form />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-root-588"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Fulfillment #f2
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-589"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Cancelled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <form />
+ <div
+ class="Component-root-608"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="Component-root-275"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-632"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-633"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379 Component-avatar-626"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-208 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-multiline-214 MuiInput-underline-212"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-216 MuiInput-inputMultiline-218"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-591 Component-cardActions-627 "
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#ffc107"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 08.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 15:31
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-user-609"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:33
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-link-558"
+ >
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Same as shipping address
+ </p>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(OrderDetailsPageComponent)
- countries={
- Array [
- Object {
- "code": "AF",
- "label": "Afghanistan",
- },
- Object {
- "code": "AX",
- "label": "Åland Islands",
- },
- Object {
- "code": "AL",
- "label": "Albania",
- },
- Object {
- "code": "DZ",
- "label": "Algeria",
- },
- Object {
- "code": "AS",
- "label": "American Samoa",
- },
- ]
- }
- onBack={[Function]}
- onCreate={[Function]}
- onCustomerEmailClick={[Function]}
- onOrderCancel={[Function]}
- onOrderLineChange={[Function]}
- onOrderLineRemove={[Function]}
- onPackingSlipClick={[Function]}
- onPaymentRelease={[Function]}
- onPrintClick={[Function]}
- onProductClick={[Function]}
- order={
- Object {
- "billingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- "name": "Test Client",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "events": Array [
- Object {
- "content": "Created order",
- "date": "2018-04-07T11:18:19+00:00",
- "id": "n1",
- "type": "created",
- "user": "[email protected]",
- },
- Object {
- "content": "Received payment",
- "date": "2018-04-07T11:33:19+00:00",
- "id": "n1",
- "params": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "type": "payment",
- "user": "[email protected]",
- },
- Object {
- "content": "Shipped order",
- "date": "2018-04-07T13:31:19+00:00",
- "id": "n3",
- "params": Object {
- "shippingAddress": "Test Client<br />9297 Barker Extension<br />95393-6818 Keithport<br />Cyprus",
- },
- "type": "shipped",
- "user": "[email protected]",
- },
- Object {
- "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.",
- "date": "2018-04-08T11:18:19+00:00",
- "id": "n4",
- "type": "note",
- "user": "[email protected]",
- },
- ],
- "fulfillments": Array [
- Object {
- "id": "f1",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- Object {
- "product": Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "fulfilled",
- "trackingCode": "012391230412131239052",
- },
- Object {
- "id": "f2",
- "products": Array [
- Object {
- "product": Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "thumbnailUrl": "placeholder60x60.png",
- },
- "quantity": 1,
- },
- ],
- "status": "cancelled",
- "trackingCode": "012391230412131239052",
- },
- ],
- "id": "o1",
- "number": 11,
- "payment": Object {
- "net": Object {
- "amount": 6,
- "currency": "USD",
- },
- "paid": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "refunded": Object {
- "amount": 13.2,
- "currency": "USD",
- },
- },
- "paymentStatus": "confirmed",
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "products": Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 12.4,
- "currency": "USD",
- },
- },
- "quantity": 1,
- "sku": "9123021",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "price": Object {
- "gross": Object {
- "amount": 11.6,
- "currency": "USD",
- },
- },
- "quantity": 2,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "price": Object {
- "gross": Object {
- "amount": 22.4,
- "currency": "USD",
- },
- },
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "price": Object {
- "gross": Object {
- "amount": 9.9,
- "currency": "USD",
- },
- },
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- "shippingAddress": Object {
- "city": "Keithport",
- "cityArea": "",
- "companyName": "",
- "country": "Cyprus",
- "countryArea": "",
- "firstName": "Test",
- "id": "a1",
- "lastName": "Client",
- "phone": Object {
- "number": "",
- "prefix": "",
- },
- "postalCode": "95393-6818",
- "streetAddress_1": "9297 Barker Extension",
- "streetAddress_2": "",
- },
- "shippingMethod": Object {
- "id": "s1",
- },
- "shippingMethodName": "DHL",
- "shippingMethodPriceGross": Object {
- "amount": 5.5,
- "currency": "USD",
- },
- "status": "partially fulfilled",
- "subtotal": Object {
- "amount": 160.2,
- "currency": "USD",
- },
- "total": Object {
- "amount": 165.7,
- "currency": "USD",
- },
- "unfulfilled": Array [
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner and Graham",
- "quantity": 1,
- "sku": "9123022",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner and King",
- "quantity": 7,
- "sku": "9123023",
- "thumbnailUrl": "placeholder60x60.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Graham and King",
- "quantity": 3,
- "sku": "9123024",
- "thumbnailUrl": "placeholder60x60.png",
- },
- ],
- }
- }
- prefixes={
- Array [
- "01",
- "02",
- "41",
- "49",
- ]
- }
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order #o1
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="OrderDetailsPageComponent-orderDate-570"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </span>
+ </div>
+ <div
+ class="OrderDetailsPageComponent-root-571"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-579"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Partially fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123021
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 12.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and Graham
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123022
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 11.60
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 23.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Gardner and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123023
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 22.40
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 156.80
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-link-584"
+ >
+ Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ 9123024
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9.90
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 29.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ DHL
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 160.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 5.50
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 165.70
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 19.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ -13.20
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 6.00
+ <span
+ class="Component-currency-108"
+ >
+ USD
+ </span>
+ </p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Invoice
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Fulfill
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Refund
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel order
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ <form />
+ <form />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-root-588"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Fulfillment #f1
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-589"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner, Graham and King x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add tracking number
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel shipment
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <form />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-root-588"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Fulfillment #f2
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377 Component-statusBar-589"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Cancelled
+ </span>
+ </div>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378"
+ >
+ <img
+ class="MuiAvatar-img-380"
+ src="placeholder60x60.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ Gardner and Graham x 1
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <form />
+ <div
+ class="Component-root-608"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="Component-root-275"
+ >
+ <form>
+ <div
+ class="Component-noteRoot-632"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-633"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379 Component-avatar-626"
+ style="background:#f44336"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <div
+ class="MuiFormControl-root-189 MuiFormControl-fullWidth-192"
+ >
+ <label
+ class="MuiFormLabel-root-198 MuiInputLabel-root-193 MuiInputLabel-formControl-194 MuiInputLabel-animated-197 MuiInputLabel-shrink-196"
+ data-shrink="true"
+ >
+ Note
+ </label>
+ <div
+ class="MuiInput-root-208 MuiInput-fullWidth-215 MuiInput-formControl-209 MuiInput-multiline-214 MuiInput-underline-212"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-216 MuiInput-inputMultiline-218"
+ name="content"
+ placeholder="Leave your note here..."
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiCardActions-root-591 Component-cardActions-627 "
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButton-root-593 MuiCardActions-action-592"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Add note
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ </form>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-noteRoot-368"
+ >
+ <div
+ class="MuiCardContent-root-377 Component-noteTitle-369"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ style="background:#ffc107"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
+ />
+ </g>
+ </svg>
+ </div>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteUser-370"
+ >
+ </p>
+ <div
+ class="Component-noteDate-371"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 08.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-noteContent-372"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur arcu nisi, dignissim non placerat id, varius imperdiet nisi. Duis lobortis, massa sed feugiat ultricies, massa felis commodo dui, tempor tempus tellus ligula id arcu. Nam erat dui, fermentum sed dui a, tincidunt molestie magna.
+ </p>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipped order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 15:31
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12 Component-user-609"
+ >
+ </span>
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ <br />
+ 9297 Barker Extension
+ <br />
+ 95393-6818 Keithport
+ <br />
+ Cyprus
+ </p>
+ <p />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Received payment
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:33
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-nodeRoot-295"
+ >
+ <span
+ class="Component-nodeDot-294"
+ />
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation0-310 MuiExpansionPanel-root-305 Component-panel-302"
+ >
+ <div
+ aria-expanded="false"
+ class="MuiButtonBase-root-341 MuiExpansionPanelSummary-root-335"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="MuiExpansionPanelSummary-content-339"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Created order
+ </p>
+ <div
+ class="Component-nodeDate-296"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiExpansionPanelSummary-expandIcon-340"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </div>
+ </div>
+ <div
+ aria-hidden="true"
+ class="MuiCollapse-container-356"
+ style="min-height:0px"
+ >
+ <div
+ class="MuiCollapse-wrapper-358"
+ >
+ <div
+ class="MuiCollapse-wrapperInner-359"
+ >
+ <div
+ class="MuiExpansionPanelDetails-root-360"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <span
+ class="MuiTypography-root-2 MuiTypography-caption-12"
+ >
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-link-558"
+ >
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Test Client
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 9297 Barker Extension
+ <br />
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ 95393-6818 Keithport
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Cyprus
+ </p>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Same as shipping address
+ </p>
+ </div>
+ </div>
+ <form />
+ <form />
+ <form />
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(OrderDetailsPageComponent)
- onBack={[Function]}
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ <span
+ class="Component-skeleton-565"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <div
+ class="OrderDetailsPageComponent-root-571"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order Summary
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <table
+ class="MuiTable-root-35 Component-denseTable-583"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-avatarCell-580"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ SKU
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Unit price
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Quantity
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-585"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-580"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Subtotal
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Shipping
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Total
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ colspan="5"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Paid by customer
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ Refunded
+ </p>
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11"
+ >
+ <b>
+ Net payment
+ </b>
+ </p>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-585"
+ >
+ <div
+ class="Component-flexBox-586"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376 Component-root-588"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ <span
+ class="Component-skeleton-565"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-avatarCell-587"
+ >
+ <div
+ class="MuiAvatar-root-378 MuiAvatar-colorDefault-379"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-591"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiButton-root-593 MuiButton-disabled-602 MuiCardActions-action-592"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Edit tracking number
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiButton-root-593 MuiButton-disabled-602 MuiCardActions-action-592"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-594"
+ >
+ Cancel shipment
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-root-608"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Customer
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Shipping Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-557"
+ />
+ <div
+ class="Component-root-562"
+ >
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Billing Address
+ </h2>
+ <div
+ class="Component-action-559"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-349"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-377"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order list when loaded data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onBack={[Function]}
- onRowClick={[Function]}
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Orders
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-skeleton-565"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order list when loading data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onBack={[Function]}
- onRowClick={[Function]}
- orders={
- Object {
- "edges": Array [
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:18:19+00:00",
- "id": "o1",
- "number": 11,
- "paymentStatus": "confirmed",
- "price": Object {
- "amount": 19.2,
- "currency": "USD",
- },
- "status": "fulfilled",
- },
- },
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c1",
- },
- "created": "2018-04-07T11:11:19+00:00",
- "id": "o2",
- "number": 10,
- "paymentStatus": "confirmed",
- "price": Object {
- "amount": 28.9,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- },
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c2",
- },
- "created": "2018-04-07T10:44:44+00:00",
- "id": "o3",
- "number": 9,
- "paymentStatus": "rejected",
- "price": Object {
- "amount": 289,
- "currency": "USD",
- },
- "status": "shipped",
- },
- },
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c3",
- },
- "created": "2018-04-07T10:33:19+00:00",
- "id": "o4",
- "number": 9,
- "paymentStatus": "unknown",
- "price": Object {
- "amount": 100.05,
- "currency": "USD",
- },
- "status": "shipped",
- },
- },
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-07T07:39:19+00:00",
- "id": "o5",
- "number": 9,
- "paymentStatus": "waiting",
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "shipped",
- },
- },
- Object {
- "node": Object {
- "client": Object {
- "email": "[email protected]",
- "id": "c4",
- },
- "created": "2018-04-06T19:18:19+00:00",
- "id": "o6",
- "number": 8,
- "paymentStatus": "rejected",
- "price": Object {
- "amount": 14.87,
- "currency": "USD",
- },
- "status": "unfulfilled",
- },
- },
- ],
- }
- }
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Orders
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Fulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 19.20
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 13:11
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-successDot-253"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Confirmed
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 28.90
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:44
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 289.00
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 12:33
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ unknown
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 100.05
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 9
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ shipped
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 07.04.2018 09:39
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-neutralDot-251"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Waiting for confirmation
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-link-641"
+ >
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Unfulfilled
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <p
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-root-1"
+ >
+ 06.04.2018 21:18
+ </p>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ >
+ <span
+ class="Component-errorDot-250"
+ />
+ <span
+ class="MuiTypography-root-2 MuiTypography-body1-11 Component-span-252"
+ >
+ Rejected
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39 Component-textRight-642"
+ >
+ 14.87
+ <span
+ class="Component-currency-640"
+ >
+ USD
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Orders / Order list when no data 1`] = `
-Array [
- <WithStyles(CssBaseline) />,
- <WithStyles(Component)
- onBack={[Function]}
- onRowClick={[Function]}
- orders={
- Object {
- "edges": Array [],
- }
- }
- />,
-]
+<div
+ class="Component-md-574"
+>
+ <div
+ class="Component-root-562"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiIconButton-root-343 MuiIconButton-colorInherit-344 Component-menuButton-561"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-349"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-2 MuiTypography-title-8 Component-title-564"
+ >
+ Orders
+ </h2>
+ <div
+ class="Component-action-559"
+ />
+ </div>
+ <div
+ class="MuiPaper-root-308 MuiPaper-elevation2-312 MuiPaper-rounded-309 MuiCard-root-376"
+ >
+ <table
+ class="MuiTable-root-35"
+ >
+ <thead
+ class="MuiTableHead-root-36"
+ >
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-head-49"
+ >
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Fulfillment
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Client
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Created at
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38"
+ scope="col"
+ >
+ Payment status
+ </th>
+ <th
+ class="MuiTableCell-root-37 MuiTableCell-head-38 Component-textRight-642"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-46 MuiTableRow-footer-50"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-footer-40 MuiTablePagination-root-646"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-652 MuiToolbar-gutters-653 MuiTablePagination-toolbar-651"
+ >
+ <div
+ class="MuiTablePagination-spacer-650"
+ />
+ <div
+ class="MuiTablePaginationActions-root-654"
+ >
+ <button
+ class="MuiButtonBase-root-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-341 MuiButtonBase-disabled-342 MuiIconButton-root-343 MuiIconButton-disabled-347"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-348"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-221"
+ 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-45"
+ >
+ <tr
+ class="MuiTableRow-root-46"
+ >
+ <td
+ class="MuiTableCell-root-37 MuiTableCell-body-39"
+ colspan="6"
+ >
+ No orders found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Pages / Page details when loading 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-27",
- }
- }
- disabled={true}
- onBack={[Function]}
- onSubmit={[Function]}
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="Component-root-452"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115 Component-addHelperTextPadding-450"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="title"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="content"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="slug"
+ type="text"
+ value=""
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="availableOn"
+ type="date"
+ value=""
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="Component-spacer-428"
+ />
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-disabled-464 MuiCheckbox-disabled-459"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ disabled=""
+ name="isVisible"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+ Published
+ </span>
+ </label>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Pages / Page details with delete button 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-27",
- }
- }
- onBack={[Function]}
- onDelete={[Function]}
- onSubmit={[Function]}
- page={
- Object {
- "availableOn": "2018-03-20T16:39:08.850105+00:00",
- "content": "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.",
- "createdAt": "2018-03-13T16:39:08.850105+00:00",
- "isVisible": true,
- "slug": "lorem-ipsum-dolor",
- "title": "Lorem Ipsum",
- }
- }
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-root-452"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115 Component-addHelperTextPadding-450"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129"
+ name="title"
+ type="text"
+ value="Lorem Ipsum"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ 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-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="Component-spacer-428"
+ />
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-checked-463 MuiCheckbox-checked-458"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="isVisible"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Published
+ </span>
+ </label>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Pages / Page details with initial data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-27",
- }
- }
- onBack={[Function]}
- onSubmit={[Function]}
- page={
- Object {
- "availableOn": "2018-03-20T16:39:08.850105+00:00",
- "content": "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.",
- "createdAt": "2018-03-13T16:39:08.850105+00:00",
- "isVisible": true,
- "slug": "lorem-ipsum-dolor",
- "title": "Lorem Ipsum",
- }
- }
-/>
+<form>
+ <div
+ class="Component-md-392"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="Component-root-452"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115 Component-addHelperTextPadding-450"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ autofocus=""
+ class="MuiInput-input-129"
+ name="title"
+ type="text"
+ value="Lorem Ipsum"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Content
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum et justo sit amet viverra. Maecenas euismod auctor nisi et tincidunt. Maecenas ante urna, aliquet at odio sed, gravida efficitur purus. Morbi ut dapibus ante. Nulla eu neque sit amet odio tincidunt porttitor eu quis purus. Aliquam at diam sit amet turpis varius semper vitae non lectus. Vivamus lectus ligula, molestie eu augue eu, cursus tincidunt sem. Nam ornare egestas tincidunt.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ 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-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Slug
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="slug"
+ type="text"
+ value="lorem-ipsum-dolor"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Slug is being used to create page URL
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="availableOn"
+ type="date"
+ value="2018-03-20T16:39:08.850105+00:00"
+ />
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="Component-spacer-428"
+ />
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-checked-463 MuiCheckbox-checked-458"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="isVisible"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Published
+ </span>
+ </label>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+</form>
`;
exports[`Storyshots Views / Pages / Page list when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-30",
- }
- }
- onBack={[Function]}
- onEditPage={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPage={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pages
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Pages / Page list with data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-30",
- }
- }
- onBack={[Function]}
- onEditPage={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPage={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
- pages={
- Array [
- Object {
- "id": "UGFnZTox",
- "isVisible": true,
- "slug": "about",
- "title": "About",
- },
- Object {
- "id": "UGFnZToy",
- "isVisible": false,
- "slug": "terms-of-use",
- "title": "Terms of use",
- },
- ]
- }
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pages
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-466"
+ >
+ About
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ /about
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Published
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-466"
+ >
+ Terms of use
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ /terms-of-use
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ Not published
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-textRight-467"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Pages / Page list without data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-30",
- }
- }
- onBack={[Function]}
- onEditPage={[Function]}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onShowPage={[Function]}
- pageInfo={
- Object {
- "hasNextPage": false,
- "hasPreviousPage": false,
- }
- }
- pages={Array []}
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pages
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Url
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Visibility
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-textRight-467"
+ scope="col"
+ >
+ Actions
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ colspan="4"
+ >
+ No pages found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product details when loaded data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-36",
- }
- }
- onBack={[Function]}
- onCollectionShow={[Function]}
- onDelete={[Function]}
- onEdit={[Function]}
- onImageEdit={[Function]}
- onImageReorder={[Function]}
- onImageUpload={[Function]}
- onProductPublish={[Function]}
- onProductShow={[Function]}
- onVariantShow={[Function]}
- placeholderImage="placeholder255x255.png"
- product={
- Object {
- "availability": Object {
- "available": true,
- "priceRange": Object {
- "start": Object {
- "net": Object {
- "localized": "55,14 USD",
- },
- },
- "stop": Object {
- "net": Object {
- "localized": "88,36 USD",
- },
- },
- },
- },
- "collections": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "collection-1",
- "name": "Winter Collection",
- },
- },
- Object {
- "node": Object {
- "id": "collection-2",
- "name": "Summer Collection",
- },
- },
- ],
- },
- "description": "Light light office style present life military. Enough executive coach cause own.
+<div
+ class="Component-root-473"
+>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stewart-Barrera
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ Light light office style present life military. Enough executive coach cause own.
Care season wrong fly. Example age between discuss assume.
@@ -6403,754 +25663,3706 @@ Their third build might strong account. Worry enter room note level air.
Weight director mother. Because find task with now enter tree management.
-Soon name recently ground green. There owner sport box them red information.",
- "grossMargin": Array [
- Object {
- "start": 56,
- "stop": 98,
- },
- ],
- "id": "UHJvZHVjdDoyOA==",
- "images": Object {
- "edges": Array [
- Object {
- "node": Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY2",
- "order": 0,
- "url": "placeholder255x255.png",
- },
- },
- Object {
- "node": Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY3",
- "order": 1,
- "url": "placeholder255x255.png",
- },
- },
- Object {
- "node": Object {
- "alt": "",
- "id": "UHJvZHVjdEltYWdlOjY4",
- "order": 2,
- "url": "placeholder255x255.png",
- },
- },
- ],
- },
- "isPublished": true,
- "name": "Stewart-Barrera",
- "price": Object {
- "localized": "95,47 USD",
- },
- "productType": Object {
- "id": "UHJvZHVjdFR5cGU6Mw==",
- "name": "Coffee",
- },
- "purchaseCost": Object {
- "start": Object {
- "gross": Object {
- "localized": "1,88 USD",
- },
- },
- "stop": Object {
- "gross": Object {
- "localized": "48,10 USD",
- },
- },
- },
- "url": "/pl/products/stewart-barrera-28/",
- "variants": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6Nw==",
- "margin": 20,
- "name": "XXL",
- "priceOverride": null,
- "sku": "2-1337",
- "stockQuantity": 5,
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OA==",
- "margin": 20,
- "name": "XL",
- "priceOverride": null,
- "sku": "2-1338",
- "stockQuantity": 0,
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6OQ==",
- "margin": 20,
- "name": "L",
- "priceOverride": null,
- "sku": "2-1339",
- "stockQuantity": 15,
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTA=",
- "margin": 20,
- "name": "M",
- "priceOverride": null,
- "sku": "2-1340",
- "stockQuantity": 33,
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTE=",
- "margin": 20,
- "name": "S",
- "priceOverride": null,
- "sku": "2-1341",
- "stockQuantity": 0,
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdFZhcmlhbnQ6MTI=",
- "margin": 20,
- "name": "XS",
- "priceOverride": null,
- "sku": "2-1342",
- "stockQuantity": 0,
- },
- },
- ],
- },
- }
- }
-/>
+Soon name recently ground green. There owner sport box them red information.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiSwitch-root-478"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiSwitch-switchBase-481 MuiSwitch-colorPrimary-483 MuiSwitchBase-checked-463 MuiSwitch-checked-482"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <span
+ class="MuiSwitch-icon-479 MuiSwitch-iconChecked-480"
+ />
+ <input
+ checked=""
+ class="MuiSwitchBase-input-465"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiSwitch-bar-486"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Published
+ </span>
+ </label>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-greenText-474"
+ >
+ Available
+ </span>
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Sale price
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 55,14 USD - 88,36 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Purchase cost
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 1,88 USD - 48,10 USD
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Gross margin
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span>
+ 56% - 98%
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-470"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-471"
+ >
+ Winter Collection
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-471"
+ >
+ Summer Collection
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XXL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XL
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ L
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ M
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-greenDot-488"
+ />
+ Available
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ S
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-489"
+ >
+ XS
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-redDot-490"
+ />
+ Unavailable
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product details when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-36",
- }
- }
- onBack={[Function]}
- onCollectionShow={[Function]}
- onDelete={[Function]}
- onEdit={[Function]}
- onImageEdit={[Function]}
- onImageReorder={[Function]}
- onImageUpload={[Function]}
- onProductPublish={[Function]}
- onProductShow={[Function]}
- onVariantShow={[Function]}
- placeholderImage="placeholder255x255.png"
-/>
+<div
+ class="Component-root-473"
+>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ />
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiSwitch-root-478"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiSwitch-switchBase-481 MuiSwitch-colorPrimary-483 MuiSwitchBase-disabled-464 MuiSwitch-disabled-485"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <span
+ class="MuiSwitch-icon-479"
+ />
+ <input
+ class="MuiSwitchBase-input-465"
+ disabled=""
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiSwitch-bar-486"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+
+ </span>
+ </label>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Sale price
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Purchase cost
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-leftCell-475"
+ >
+ Gross margin
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-rightCell-477"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-470"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Collections
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Status
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`] = `
-<Component
- categories={
- Array [
- Object {
- "id": "123123",
- "name": "Lorem ipsum dolor",
- },
- Object {
- "id": "876752",
- "name": "Mauris vehicula tortor vulputate",
- },
- ]
- }
- classes={
- Object {
- "cardContainer": "Component-cardContainer-50",
- "grid": "Component-grid-49",
- "root": "Component-root-48",
- }
- }
- collections={
- Array [
- Object {
- "id": "1",
- "name": "Winter collection",
- },
- Object {
- "id": "2",
- "name": "Emperor's choice",
- },
- ]
- }
- onBack={[Function]}
- onSubmit={[Function]}
- product={
- Object {
- "attributes": Array [
- Object {
- "name": "brand",
- "value": "superbrand",
- },
- Object {
- "name": "collar",
- "value": "round",
- },
- Object {
- "name": "color",
- "value": "blue",
- },
- ],
- "available": true,
- "availableOn": "23-01-2006",
- "category": Object {
- "id": "123123",
- },
- "collections": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "1",
- "name": "Winter collection",
- },
- },
- ],
- },
- "description": "Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl.",
- "id": "1231u",
- "name": "Our awesome book",
- "price": Object {
- "currencySymbol": "$",
- "net": 3000.1,
- },
- "productType": Object {
- "name": "Book",
- "productAttributes": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZToz",
- "name": "Brand",
- "slug": "brand",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQw",
- "name": "dominikibrand",
- "slug": "dominikibrand",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM5",
- "name": "superbrand",
- "slug": "superbrand",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM4",
- "name": "Mirumee",
- "slug": "mirumee",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjY=",
- "name": "Saleor",
- "slug": "saleor",
- },
- ],
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZToy",
- "name": "Collar",
- "slug": "collar",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjU=",
- "name": "Polo",
- "slug": "polo",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQ=",
- "name": "V-Neck",
- "slug": "v-neck",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM=",
- "name": "Round",
- "slug": "round",
- },
- ],
- },
- },
- Object {
- "node": Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZTox",
- "name": "Color",
- "slug": "color",
- "values": Array [
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI=",
- "name": "White",
- "slug": "white",
- },
- Object {
- "id": "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE=",
- "name": "Blue",
- "slug": "blue",
- },
- ],
- },
- },
- ],
- },
- },
- "seo": Object {
- "description": "Order our awesome book right now!",
- "title": "Buy our awesome book now!",
- },
- "slug": "our-awesome-book-1231u",
- }
- }
-/>
+<div
+ class="Component-root-525"
+>
+ <form>
+ <div
+ class="Component-grid-526"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit product
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-472"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="name"
+ type="text"
+ value="Our awesome book"
+ />
+ </div>
+ </div>
+ <span />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="3000.1"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ $
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ >
+ Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl.
+ </textarea>
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-inputMultiline-131"
+ name="description"
+ rows="1"
+ type="text"
+ >
+ Aenean sit amet malesuada nibh. Proin nisi lorem, facilisis at tortor vel, convallis ornare nibh. In nec ipsum porta, varius leo eu, condimentum quam. Donec gravida euismod ipsum, at consequat orci efficitur nec. Phasellus lectus arcu, auctor eget porttitor eget, venenatis a lacus. Suspendisse quis urna rhoncus, commodo justo at, tempor nisl.
+ </textarea>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Search Engine Preview
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 Component-titleBar-528"
+ >
+ Buy our awesome book now!
+ </p>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 Component-addressBar-529"
+ >
+ http://demo.getsaleor.com/product/our-awesome-book-1231u
+ </p>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 Component-descriptionBar-530"
+ >
+ Order our awesome book right now!
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Search engine title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="seoTitle"
+ type="text"
+ value="Buy our awesome book now!"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ If empty, the preview shows what will be autogenerated.
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Search engine title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="seoDescription"
+ type="text"
+ value="Order our awesome book right now!"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ If empty, the preview shows what will be autogenerated.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Status
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-root-469"
+ >
+ <label
+ class="MuiFormControlLabel-root-454"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-checked-463 MuiCheckbox-checked-458"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456"
+ >
+ Available
+ </span>
+ </label>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="availableOn"
+ type="date"
+ value="23-01-2006"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Organisation
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Lorem ipsum dolor
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value="123123"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-111"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ <div
+ class="Component-chipContainer-110"
+ >
+ <div
+ class="MuiChip-root-144 Component-chip-109"
+ role="button"
+ tabindex="-1"
+ >
+ <span
+ class="MuiChip-label-149"
+ >
+ Winter collection
+ </span>
+ </div>
+ </div>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value="1"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Brand
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ superbrand
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="brand"
+ type="hidden"
+ value="superbrand"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Collar
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Round
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collar"
+ type="hidden"
+ value="round"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Color
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ Blue
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="color"
+ type="hidden"
+ value="blue"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </form>
+</div>
`;
exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
-<Component
- classes={
- Object {
- "cardContainer": "Component-cardContainer-50",
- "grid": "Component-grid-49",
- "root": "Component-root-48",
- }
- }
- loading={true}
- onBack={[Function]}
- onSubmit={[Function]}
-/>
+<div
+ class="Component-root-525"
+>
+ <form>
+ <div
+ class="Component-grid-526"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Edit product
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-472"
+ >
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Name
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="name"
+ type="text"
+ value=""
+ />
+ </div>
+ </div>
+ <span />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Price
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112"
+ style="width:100%"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Description
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-multiline-127 MuiInput-underline-125"
+ >
+ <div
+ class="Textarea-root-429"
+ style="height:19px"
+ >
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-hidden="true"
+ class="Textarea-shadow-431 Textarea-textarea-430"
+ readonly=""
+ rows="1"
+ tabindex="-1"
+ />
+ <textarea
+ aria-invalid="false"
+ aria-required="false"
+ class="Textarea-textarea-430 MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputMultiline-131"
+ disabled=""
+ name="description"
+ rows="1"
+ type="text"
+ />
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Select text to enable text-formatting tools.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Search Engine Preview
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div>
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Search engine title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="seoTitle"
+ type="text"
+ value=""
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ If empty, the preview shows what will be autogenerated.
+ </p>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Search engine title
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="seoDescription"
+ type="text"
+ value=""
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ If empty, the preview shows what will be autogenerated.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Status
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-root-469"
+ >
+ <label
+ class="MuiFormControlLabel-root-454 MuiFormControlLabel-disabled-455"
+ >
+ <span
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176 MuiSwitchBase-root-462 MuiCheckbox-root-457 MuiCheckbox-colorSecondary-461 MuiSwitchBase-disabled-464 MuiCheckbox-disabled-459"
+ tabindex="-1"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-465"
+ disabled=""
+ name="available"
+ type="checkbox"
+ />
+ </span>
+ </span>
+ <span
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiFormControlLabel-label-456 MuiFormControlLabel-disabled-455"
+ >
+ Available
+ </span>
+ </label>
+ <div
+ class="MuiFormControl-root-112"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Available on
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="availableOn"
+ type="date"
+ value=""
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Organisation
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-disabled-158 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Category
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiSelect-disabled-119 MuiInput-input-129 MuiInput-disabled-124"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="category"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-spacer-428"
+ />
+ <div
+ class="MuiFormControl-root-112 Component-formControl-111"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiFormLabel-disabled-158 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ Collections
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiSelect-disabled-119 MuiInput-input-129 MuiInput-disabled-124"
+ role="button"
+ >
+ <span>
+ ​
+ </span>
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="collections"
+ type="hidden"
+ value=""
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-cardContainer-527"
+ >
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441 MuiButton-disabled-444"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ </button>
+ </div>
+ </form>
+</div>
`;
exports[`Storyshots Views / Products / Product list when loading data 1`] = `
-<WithStyles(Component)
- width="md"
->
- <WithStyles(Component)
- title="Product list"
- >
- <Hidden
- implementation="js"
- lgDown={false}
- lgUp={false}
- mdDown={false}
- mdUp={true}
- smDown={false}
- smUp={false}
- xlDown={false}
- xlUp={false}
- xsDown={false}
- xsUp={false}
- >
- <WithStyles(IconButton)
- onClick={[Function]}
- >
- <pure(FilterList) />
- </WithStyles(IconButton)>
- </Hidden>
- </WithStyles(Component)>
- <WithStyles(Card)>
- <WithStyles(Component)
- hasNextPage={true}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Product list
+ </h2>
+ <div
+ class="Component-action-165"
/>
- </WithStyles(Card)>
-</WithStyles(Component)>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-523"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425 MuiAvatar-colorDefault-426"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product list with clickable rows 1`] = `
-<WithStyles(Component)
- width="md"
->
- <WithStyles(Component)
- title="Product list"
- >
- <Hidden
- implementation="js"
- lgDown={false}
- lgUp={false}
- mdDown={false}
- mdUp={true}
- smDown={false}
- smUp={false}
- xlDown={false}
- xlUp={false}
- xsDown={false}
- xsUp={false}
- >
- <WithStyles(IconButton)
- onClick={[Function]}
- >
- <pure(FilterList) />
- </WithStyles(IconButton)>
- </Hidden>
- </WithStyles(Component)>
- <WithStyles(Card)>
- <WithStyles(Component)
- hasNextPage={true}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- onRowClick={[Function]}
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- ]
- }
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Product list
+ </h2>
+ <div
+ class="Component-action-165"
/>
- </WithStyles(Card)>
-</WithStyles(Component)>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-523"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-524"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-524"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-524"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-link-524"
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product list with initial data 1`] = `
-<WithStyles(Component)
- width="md"
->
- <WithStyles(Component)
- title="Product list"
- >
- <Hidden
- implementation="js"
- lgDown={false}
- lgUp={false}
- mdDown={false}
- mdUp={true}
- smDown={false}
- smUp={false}
- xlDown={false}
- xlUp={false}
- xsDown={false}
- xsUp={false}
- >
- <WithStyles(IconButton)
- onClick={[Function]}
- >
- <pure(FilterList) />
- </WithStyles(IconButton)>
- </Hidden>
- </WithStyles(Component)>
- <WithStyles(Card)>
- <WithStyles(Component)
- hasNextPage={true}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- products={
- Array [
- Object {
- "id": "UHJvZHVjdDox",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoy",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoz",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- Object {
- "id": "UHJvZHVjdDoa",
- "name": "Gardner, Graham and King",
- "productType": Object {
- "id": "1",
- "name": "T-Shirt",
- },
- "thumbnailUrl": "placeholder255x255.png",
- },
- ]
- }
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Product list
+ </h2>
+ <div
+ class="Component-action-165"
/>
- </WithStyles(Card)>
-</WithStyles(Component)>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-523"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ >
+ <div
+ class="MuiAvatar-root-425"
+ >
+ <img
+ class="MuiAvatar-img-427"
+ src="placeholder255x255.png"
+ />
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class=""
+ >
+ Gardner, Graham and King
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ T-Shirt
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product list without initial data 1`] = `
-<WithStyles(Component)
- width="md"
->
- <WithStyles(Component)
- title="Product list"
- >
- <Hidden
- implementation="js"
- lgDown={false}
- lgUp={false}
- mdDown={false}
- mdUp={true}
- smDown={false}
- smUp={false}
- xlDown={false}
- xlUp={false}
- xsDown={false}
- xsUp={false}
- >
- <WithStyles(IconButton)
- onClick={[Function]}
- >
- <pure(FilterList) />
- </WithStyles(IconButton)>
- </Hidden>
- </WithStyles(Component)>
- <WithStyles(Card)>
- <WithStyles(Component)
- hasNextPage={true}
- hasPreviousPage={false}
- onNextPage={[Function]}
- onPreviousPage={[Function]}
- products={Array []}
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Product list
+ </h2>
+ <div
+ class="Component-action-165"
/>
- </WithStyles(Card)>
-</WithStyles(Component)>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <table
+ class="MuiTable-root-254"
+ >
+ <thead
+ class="MuiTableHead-root-418"
+ >
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-head-422"
+ >
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265 Component-avatarCell-523"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-264 MuiTableCell-head-265"
+ scope="col"
+ >
+ Type
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr
+ class="MuiTableRow-root-419 MuiTableRow-footer-423"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-footer-267 MuiTablePagination-root-258"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-272 MuiToolbar-gutters-273 MuiTablePagination-toolbar-263"
+ >
+ <div
+ class="MuiTablePagination-spacer-262"
+ />
+ <div
+ class="MuiTablePaginationActions-root-274"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-avatarCell-523"
+ />
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ colspan="2"
+ >
+ No products found
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
`;
exports[`Storyshots Views / Products / Product variant details when loaded data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-62",
- }
- }
- onBack={[Function]}
- onDelete={[Function]}
- onImageSelect={[Function]}
- variant={
- Object {
- "attributes": Array [
- Object {
- "attribute": Object {
- "name": "Cover",
- "slug": "cover",
- "values": Array [
- "hard",
- "soft",
- ],
- },
- "value": "hard",
- },
- Object {
- "attribute": Object {
- "name": "Version",
- "slug": "version",
- "values": Array [
- "regular",
- "extended",
- ],
- },
- "value": "extended",
- },
- ],
- "id": "var1",
- "images": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "img1",
- },
- },
- Object {
- "node": Object {
- "id": "img2",
- },
- },
- Object {
- "node": Object {
- "id": "img7",
- },
- },
- Object {
- "node": Object {
- "id": "img8",
- },
- },
- ],
- },
- "name": "Extended Hard",
- "priceOverride": Object {
- "amount": 100,
- "currency": "USD",
- },
- "product": Object {
- "id": "prod1",
- "images": Object {
- "edges": Array [
- Object {
- "node": Object {
- "alt": "Front",
- "id": "img1",
- "order": 1,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Back",
- "id": "img2",
- "order": 4,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Right side",
- "id": "img3",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Left side",
- "id": "img4",
- "order": 3,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Paper",
- "id": "img5",
- "order": 0,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Hard cover",
- "id": "img6",
- "order": 1,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Extended version",
- "id": "img7",
- "order": 0,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Cut version",
- "id": "img8",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- Object {
- "node": Object {
- "alt": "Soft cover",
- "id": "img9",
- "order": 2,
- "url": "placeholder60x60.png",
- },
- },
- ],
- },
- "name": "Our Awesome Book",
- "thumbnailUrl": "placeholder60x60.png",
- "variants": Object {
- "edges": Array [
- Object {
- "node": Object {
- "id": "var2",
- "name": "Extended Soft",
- },
- },
- Object {
- "node": Object {
- "id": "var3",
- "name": "Normal Hard",
- },
- },
- Object {
- "node": Object {
- "id": "var4",
- "name": "Normal Soft",
- },
- },
- ],
- "totalCount": 11,
- },
- },
- "sku": "1230959124123",
- "stock": 49,
- "stockAllocated": 12,
- }
- }
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Extended Hard
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ </div>
+ </div>
+ <form>
+ <div
+ class="Component-root-542"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-543"
+ >
+ <img
+ src="placeholder60x60.png"
+ />
+ <div>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ Our Awesome Book
+ </p>
+ <span
+ class="MuiTypography-root-84 MuiTypography-caption-94"
+ >
+ Variants: 11
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-540"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Extended Soft
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Normal Hard
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266 Component-link-541"
+ >
+ Normal Soft
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-grid-531"
+ >
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Cover
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ hard
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="cover"
+ type="hidden"
+ value="hard"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiFormControl-root-112 Component-formControl-188"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ Version
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <div
+ class="MuiSelect-root-116"
+ >
+ <div
+ aria-haspopup="true"
+ aria-pressed="false"
+ class="MuiSelect-select-117 MuiSelect-selectMenu-118 MuiInput-input-129"
+ role="button"
+ tabindex="0"
+ >
+ extended
+ </div>
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ name="version"
+ type="hidden"
+ value="extended"
+ />
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134 MuiSelect-icon-120"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M7 10l5 5 5-5z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-544"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pricing
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-545"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="100"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ for="price"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-inputType-132"
+ name="price"
+ type="number"
+ value="100"
+ />
+ <div
+ class="MuiInputAdornment-root-235 MuiInputAdornment-positionEnd-237"
+ >
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93 MuiTypography-colorTextSecondary-106"
+ >
+ USD
+ </p>
+ </div>
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-546"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stock
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-547"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ In stock
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="stock"
+ type="text"
+ value="49"
+ />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Allocated: 12
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155 MuiInputLabel-shrink-154"
+ data-shrink="true"
+ >
+ SKU
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129"
+ name="sku"
+ type="text"
+ value="1230959124123"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-538"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-537"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Extended version"
+ src="placeholder60x60.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Extended version
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Front"
+ src="placeholder60x60.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Front
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Cut version"
+ src="placeholder60x60.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Cut version
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ alt="Back"
+ src="placeholder60x60.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Back
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ </div>
+ </form>
+</div>
`;
exports[`Storyshots Views / Products / Product variant details when loading data 1`] = `
-<Component
- classes={
- Object {
- "root": "Component-root-62",
- }
- }
- loading={true}
- onBack={[Function]}
- onDelete={[Function]}
- onImageSelect={[Function]}
- placeholderImage="placeholder60x60.png"
-/>
+<div
+ class="Component-md-392"
+>
+ <div
+ class="Component-root-168"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiIconButton-root-172 MuiIconButton-colorInherit-173 Component-menuButton-167"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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-180"
+ />
+ </button>
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ <span
+ class="Component-skeleton-171"
+ style="width:10em"
+ >
+ ‌
+ </span>
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ 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>
+ </button>
+ </div>
+ </div>
+ <form>
+ <div
+ class="Component-root-542"
+ >
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-543"
+ >
+ <img
+ src="placeholder60x60.png"
+ />
+ <div>
+ <p
+ class="MuiTypography-root-84 MuiTypography-body1-93"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </p>
+ <span
+ class="MuiTypography-root-84 MuiTypography-caption-94"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-540"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Variants
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <table
+ class="MuiTable-root-254"
+ >
+ <tbody
+ class="MuiTableBody-root-424"
+ >
+ <tr
+ class="MuiTableRow-root-419"
+ >
+ <td
+ class="MuiTableCell-root-264 MuiTableCell-body-266"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Attributes
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83 Component-grid-531"
+ >
+ <span
+ class="Component-skeleton-171"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-544"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Pricing
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-545"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Selling price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ for="price"
+ >
+ Cost price override
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124 MuiInput-inputType-132"
+ disabled=""
+ name="price"
+ type="number"
+ value=""
+ />
+ <span />
+ </div>
+ <p
+ class="MuiFormHelperText-root-161"
+ >
+ Optional
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-root-546"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Stock
+ </h2>
+ <div
+ class="Component-action-165"
+ />
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-grid-547"
+ >
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ In stock
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="stock"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiFormControl-root-112 MuiFormControl-fullWidth-115"
+ >
+ <label
+ class="MuiFormLabel-root-156 MuiInputLabel-root-151 MuiInputLabel-formControl-152 MuiInputLabel-animated-155"
+ data-shrink="false"
+ >
+ SKU
+ </label>
+ <div
+ class="MuiInput-root-121 MuiInput-disabled-124 MuiInput-fullWidth-128 MuiInput-formControl-122 MuiInput-underline-125"
+ >
+ <input
+ aria-invalid="false"
+ aria-required="false"
+ class="MuiInput-input-129 MuiInput-disabled-124"
+ disabled=""
+ name="sku"
+ type="text"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-56 MuiPaper-elevation2-60 MuiPaper-rounded-57 MuiCard-root-55 Component-card-538"
+ >
+ <div
+ class="Component-root-168"
+ >
+ <h2
+ class="MuiTypography-root-84 MuiTypography-title-90 Component-title-170"
+ >
+ Images
+ </h2>
+ <div
+ class="Component-action-165"
+ >
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiIconButton-root-172 MuiIconButton-disabled-176"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-177"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-134"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiCardContent-root-83"
+ >
+ <div
+ class="Component-root-537"
+ >
+ <div
+ class="MuiGridListTile-root-508 Component-gridElement-539"
+ >
+ <div
+ class="MuiGridListTile-tile-509"
+ >
+ <img
+ src="placeholder60x60.png"
+ />
+ <div
+ class="MuiGridListTileBar-root-512 MuiGridListTileBar-titlePositionBottom-513"
+ >
+ <div
+ class="MuiGridListTileBar-titleWrap-516"
+ >
+ <div
+ class="MuiGridListTileBar-title-519"
+ >
+ Loading...
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div
+ class="Component-root-432"
+ >
+ <div
+ class="Component-spacer-433"
+ />
+ <button
+ class="MuiButtonBase-root-178 MuiButton-root-435 Component-button-434"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Cancel
+ </span>
+ <span
+ class="MuiTouchRipple-root-180"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-178 MuiButtonBase-disabled-179 MuiButton-root-435 MuiButton-raised-440 MuiButton-raisedPrimary-441 MuiButton-disabled-444"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-436"
+ >
+ Save
+ </span>
+ </button>
+ </div>
+ </form>
+</div>
`;