[chore] Update dependencies, fix warnings during tests (#845)
* Fix attr name typo * Use proper string serialization * Use proper image URL * Remove unused draft component * Fix classname for invoice card * Update deps * Remove unused testcafe * Resolve issue with missing intl in one of the stories, bump intl package version * Update packages * Update commit hooks * Bump ts to last pre4.0 version * Center metadata image * Unused property * Bump enzyme * Revert * Fix logo on login screen * Fix console errors on entering translations pages * Fix styles for invoice card
This commit is contained in:
parent
9069b6bc80
commit
6762e7bf3f
17 changed files with 2452 additions and 3471 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,7 +17,6 @@
|
|||
!.prettierrc
|
||||
!.pylintrc
|
||||
!.travis*
|
||||
!.testcafe
|
||||
!.tx
|
||||
*.css
|
||||
*.log
|
||||
|
|
5434
package-lock.json
generated
5434
package-lock.json
generated
File diff suppressed because it is too large
Load diff
64
package.json
64
package.json
|
@ -18,9 +18,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@editorjs/editorjs": "^2.19.0",
|
||||
"@editorjs/header": "^2.6.0",
|
||||
"@editorjs/header": "^2.6.1",
|
||||
"@editorjs/image": "^2.6.0",
|
||||
"@editorjs/list": "^1.6.0",
|
||||
"@editorjs/list": "^1.6.1",
|
||||
"@editorjs/quote": "^2.4.0",
|
||||
"@material-ui/core": "^4.5.1",
|
||||
"@material-ui/icons": "^4.5.1",
|
||||
|
@ -39,43 +39,40 @@
|
|||
"crc-32": "^1.2.0",
|
||||
"currency-codes": "^2.1.0",
|
||||
"downshift": "^1.31.16",
|
||||
"draft-js": "^0.10.5",
|
||||
"draftail": "^1.2.1",
|
||||
"draftjs-to-html": "^0.9.1",
|
||||
"editorjs-inline-tool": "^0.4.0",
|
||||
"editorjs-undo": "^0.1.4",
|
||||
"fast-array-diff": "^0.2.0",
|
||||
"fuzzaldrin": "^2.1.0",
|
||||
"graphql": "^14.4.2",
|
||||
"graphql-tag": "^2.10.1",
|
||||
"hotkeys-js": "^3.7.2",
|
||||
"graphql-tag": "^2.11.0",
|
||||
"hotkeys-js": "^3.8.1",
|
||||
"is-url": "^1.2.4",
|
||||
"jss": "^9.8.7",
|
||||
"keycode": "^2.2.0",
|
||||
"lodash": "^4.17.20",
|
||||
"lodash-es": "^4.17.14",
|
||||
"moment-timezone": "^0.5.26",
|
||||
"moment-timezone": "^0.5.32",
|
||||
"qs": "^6.9.0",
|
||||
"react": "^16.12.0",
|
||||
"react-apollo": "^3.1.4",
|
||||
"react-dom": "^16.9.0",
|
||||
"react-dropzone": "^8.2.0",
|
||||
"react-dropzone": "^11.2.4",
|
||||
"react-error-boundary": "^1.2.5",
|
||||
"react-gtm-module": "^2.0.8",
|
||||
"react-helmet": "^5.2.1",
|
||||
"react-gtm-module": "^2.0.11",
|
||||
"react-helmet": "^6.1.0",
|
||||
"react-infinite-scroller": "^1.2.4",
|
||||
"react-inlinesvg": "^0.8.4",
|
||||
"react-intl": "^3.1.8",
|
||||
"react-inlinesvg": "^2.1.1",
|
||||
"react-intl": "^5.10.2",
|
||||
"react-jss": "^10.0.0",
|
||||
"react-markdown": "^4.3.1",
|
||||
"react-moment": "^0.9.7",
|
||||
"react-moment": "^1.0.0",
|
||||
"react-router": "^5.0.1",
|
||||
"react-router-dom": "^5.0.1",
|
||||
"react-sortable-hoc": "^1.10.1",
|
||||
"react-sortable-tree": "^2.6.2",
|
||||
"semver-compare": "^1.0.0",
|
||||
"slugify": "^1.3.4",
|
||||
"typescript": "^3.6.4",
|
||||
"slugify": "^1.4.6",
|
||||
"typescript": "^3.9.7",
|
||||
"url-join": "^4.0.1",
|
||||
"use-react-router": "^1.0.7"
|
||||
},
|
||||
|
@ -91,22 +88,20 @@
|
|||
"@babel/preset-react": "^7.7.4",
|
||||
"@babel/preset-typescript": "^7.7.4",
|
||||
"@babel/runtime": "^7.7.6",
|
||||
"@pollyjs/adapter-node-http": "^4.3.0",
|
||||
"@pollyjs/core": "^4.3.0",
|
||||
"@pollyjs/persister-fs": "^4.3.0",
|
||||
"@pollyjs/adapter-node-http": "^5.0.0",
|
||||
"@pollyjs/core": "^5.0.0",
|
||||
"@pollyjs/persister-fs": "^5.0.0",
|
||||
"@storybook/addon-storyshots": "^5.2.8",
|
||||
"@storybook/react": "^5.1.9",
|
||||
"@testing-library/react-hooks": "^1.1.0",
|
||||
"@types/classnames": "^2.2.9",
|
||||
"@types/draft-js": "^0.10.34",
|
||||
"@types/enzyme": "^3.10.4",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
"@types/fuzzaldrin": "^2.1.2",
|
||||
"@types/jest": "^24.0.24",
|
||||
"@types/lodash-es": "^4.17.3",
|
||||
"@types/moment-timezone": "^0.5.12",
|
||||
"@types/node-fetch": "^2.5.7",
|
||||
"@types/pollyjs__adapter-node-http": "^2.0.0",
|
||||
"@types/pollyjs__persister-fs": "^2.0.0",
|
||||
"@types/pollyjs__adapter-node-http": "^2.0.1",
|
||||
"@types/pollyjs__persister-fs": "^2.0.1",
|
||||
"@types/react": "^16.9.16",
|
||||
"@types/react-dom": "^16.8.5",
|
||||
"@types/react-dropzone": "^4.2.2",
|
||||
|
@ -130,12 +125,12 @@
|
|||
"babel-plugin-react-intl": "^5.1.11",
|
||||
"babel-plugin-react-intl-auto": "^3.1.0",
|
||||
"codecov": "^3.7.1",
|
||||
"core-js": "^3.5.0",
|
||||
"core-js": "^3.7.0",
|
||||
"cross-env": "^6.0.3",
|
||||
"cypress": "^4.9.0",
|
||||
"enzyme": "^3.10.0",
|
||||
"enzyme-adapter-react-16": "^1.14.0",
|
||||
"enzyme-to-json": "^3.3.5",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.5",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-loader": "^3.0.2",
|
||||
"eslint-plugin-import": "^2.19.1",
|
||||
|
@ -145,11 +140,11 @@
|
|||
"file-loader": "^5.0.2",
|
||||
"fork-ts-checker-webpack-plugin": "^3.1.1",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"husky": "^3.0.8",
|
||||
"husky": "^4.3.0",
|
||||
"jest": "^24.8.0",
|
||||
"jest-file": "^1.0.0",
|
||||
"jest-localstorage-mock": "^2.4.3",
|
||||
"lint-staged": "^9.4.2",
|
||||
"lint-staged": "^10.5.1",
|
||||
"mock-apollo-client": "^0.4.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"prettier": "^1.19.1",
|
||||
|
@ -158,9 +153,8 @@
|
|||
"regenerator-runtime": "^0.11.1",
|
||||
"require-context.macro": "^1.1.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"setup-polly-jest": "^0.9.1",
|
||||
"start-server-and-test": "^1.11.0",
|
||||
"setup-polly-jest": "^0.8.0",
|
||||
"testcafe": "^1.3.3",
|
||||
"ts-jest": "^24.2.0",
|
||||
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
||||
"webpack": "^4.35.3",
|
||||
|
@ -204,13 +198,11 @@
|
|||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write",
|
||||
"git add"
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{js,jsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write",
|
||||
"git add"
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -9,11 +9,9 @@ import SVG from "react-inlinesvg";
|
|||
const useStyles = makeStyles(
|
||||
theme => ({
|
||||
logo: {
|
||||
"& svg": {
|
||||
display: "block",
|
||||
height: 40,
|
||||
marginBottom: theme.spacing(4)
|
||||
}
|
||||
display: "block",
|
||||
height: 40,
|
||||
marginBottom: theme.spacing(4)
|
||||
},
|
||||
mainPanel: {
|
||||
[theme.breakpoints.down("sm")]: {
|
||||
|
|
|
@ -116,7 +116,7 @@ const Channel: React.FC<ChannelProps> = ({
|
|||
const intl = useIntl();
|
||||
const classes = useStyles({});
|
||||
|
||||
const todayDate = localizeDate(new Date(dateNow).toString(), "YYYY-MM-DD");
|
||||
const todayDate = localizeDate(new Date(dateNow).toISOString(), "YYYY-MM-DD");
|
||||
|
||||
const visibleMessage = (date: string) =>
|
||||
intl.formatMessage(
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
import { RawDraftContentState } from "draft-js";
|
||||
import draftToHtml from "draftjs-to-html";
|
||||
import React from "react";
|
||||
|
||||
interface DraftRendererProps {
|
||||
content: RawDraftContentState;
|
||||
}
|
||||
|
||||
const DraftRenderer: React.FC<DraftRendererProps> = ({ content }) => (
|
||||
<div
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: draftToHtml(content)
|
||||
}}
|
||||
/>
|
||||
);
|
||||
DraftRenderer.displayName = "DraftRenderer";
|
||||
export default DraftRenderer;
|
|
@ -1,6 +1,6 @@
|
|||
import useLocalStorage from "@saleor/hooks/useLocalStorage";
|
||||
import React from "react";
|
||||
import { IntlProvider } from "react-intl";
|
||||
import { IntlProvider, MissingTranslationError } from "react-intl";
|
||||
|
||||
export enum Locale {
|
||||
AR = "ar",
|
||||
|
@ -165,7 +165,7 @@ const LocaleProvider: React.FC = ({ children }) => {
|
|||
locale={locale}
|
||||
messages={getKeyValueJson(messages)}
|
||||
onError={err => {
|
||||
if (!err.includes("[React Intl] Missing message: ")) {
|
||||
if (!(err instanceof MissingTranslationError)) {
|
||||
console.error(err);
|
||||
}
|
||||
}}
|
||||
|
|
|
@ -39,7 +39,6 @@ const useStyles = makeStyles(
|
|||
textAlign: "center"
|
||||
},
|
||||
emptyImage: {
|
||||
display: "block",
|
||||
marginBottom: theme.spacing(2)
|
||||
},
|
||||
input: {
|
||||
|
|
|
@ -4,8 +4,8 @@ import React from "react";
|
|||
const PageTypes = createSvgIcon(
|
||||
<>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M19 0H0V40H26.4056H27.6667V8L19 0ZM25.1445 9.00369V37.5769H2.52221V2.42311H17.9553L18 2.46406V9H25.1404L25.1445 9.00369ZM5 12H23V17H5V12ZM12 20H5V30H12V20ZM15 20H23V35H15V20ZM12 33H5V35H12V33Z"
|
||||
fill="#06847B"
|
||||
/>
|
||||
|
|
|
@ -67,7 +67,7 @@ export const orderToFulfill: OrderFulfillData_order = {
|
|||
},
|
||||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
url: placeholderImage.default
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -122,7 +122,7 @@ export const orderToFulfill: OrderFulfillData_order = {
|
|||
},
|
||||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
url: placeholderImage.default
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -170,7 +170,7 @@ export const orderToFulfill: OrderFulfillData_order = {
|
|||
},
|
||||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
url: placeholderImage.default
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -70,7 +70,7 @@ const OrderInvoiceList: React.FC<OrderInvoiceListProps> = props => {
|
|||
}
|
||||
/>
|
||||
<CardContent
|
||||
className={generatedInvoices?.length && classes.cardContentTable}
|
||||
className={!!generatedInvoices?.length && classes.cardContentTable}
|
||||
>
|
||||
{!generatedInvoices ? (
|
||||
<Skeleton />
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import createGenerateClassName from "@material-ui/styles/createGenerateClassName";
|
||||
import initStoryshots from "@storybook/addon-storyshots";
|
||||
// tslint:disable no-submodule-imports
|
||||
import generateRandomKey from "draft-js/lib/generateRandomKey";
|
||||
import { configure, render } from "enzyme";
|
||||
import Adapter from "enzyme-adapter-react-16";
|
||||
import toJSON from "enzyme-to-json";
|
||||
|
@ -12,9 +11,6 @@ React.useLayoutEffect = React.useEffect;
|
|||
|
||||
configure({ adapter: new Adapter() });
|
||||
|
||||
jest.mock("draft-js/lib/generateRandomKey");
|
||||
(generateRandomKey as any).mockImplementation(() => "testKey");
|
||||
|
||||
jest.mock("@material-ui/styles/createGenerateClassName");
|
||||
(createGenerateClassName as any).mockImplementation(() => (rule, stylesheet) =>
|
||||
[stylesheet.options.meta, rule.key, "id"].join("-")
|
||||
|
|
|
@ -2275,20 +2275,33 @@ exports[`Storyshots Generics / EditableTableCell default 1`] = `
|
|||
|
||||
exports[`Storyshots Generics / ErrorMessageCard default 1`] = `
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
style="padding:24px"
|
||||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id"
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
style="margin:auto;overflow:visible;position:relative;width:400px"
|
||||
>
|
||||
<h2
|
||||
class="MuiTypography-root-id MuiTypography-h5-id"
|
||||
>
|
||||
Error
|
||||
</h2>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
class="MuiCardContent-root-id"
|
||||
>
|
||||
Loren ipsum dolor sit amet!
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id"
|
||||
>
|
||||
<h2
|
||||
class="MuiTypography-root-id MuiTypography-h5-id"
|
||||
>
|
||||
Error
|
||||
</h2>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
>
|
||||
Loren ipsum dolor sit amet!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -4193,9 +4206,6 @@ exports[`Storyshots Generics / Metadata default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -4694,9 +4704,6 @@ exports[`Storyshots Generics / Metadata interactive 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -5876,11 +5883,7 @@ exports[`Storyshots Generics / Multiple select with autocomplete can load more 1
|
|||
>
|
||||
<div
|
||||
class="MultiAutocompleteSelectFieldContent-arrowInnerContainer-id MultiAutocompleteSelectFieldContent-hide-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6393,11 +6396,7 @@ exports[`Storyshots Generics / Multiple select with autocomplete default 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MultiAutocompleteSelectFieldContent-arrowInnerContainer-id MultiAutocompleteSelectFieldContent-hide-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6973,11 +6972,7 @@ exports[`Storyshots Generics / NavigatorButton mac 1`] = `
|
|||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</span>
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7003,11 +6998,7 @@ exports[`Storyshots Generics / NavigatorButton other 1`] = `
|
|||
>
|
||||
<span
|
||||
class="MuiIconButton-label-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</span>
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8036,11 +8027,7 @@ exports[`Storyshots Generics / Select with autocomplete can load more 1`] = `
|
|||
>
|
||||
<div
|
||||
class="SingleAutocompleteSelectFieldContent-arrowInnerContainer-id SingleAutocompleteSelectFieldContent-hide-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8182,11 +8169,7 @@ exports[`Storyshots Generics / Select with autocomplete default 1`] = `
|
|||
>
|
||||
<div
|
||||
class="SingleAutocompleteSelectFieldContent-arrowInnerContainer-id SingleAutocompleteSelectFieldContent-hide-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8722,11 +8705,7 @@ exports[`Storyshots Generics / Select with autocomplete with add 1`] = `
|
|||
>
|
||||
<div
|
||||
class="SingleAutocompleteSelectFieldContent-arrowInnerContainer-id SingleAutocompleteSelectFieldContent-hide-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -25991,9 +25970,6 @@ exports[`Storyshots Views / Attributes / Attribute details create 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -26055,9 +26031,6 @@ exports[`Storyshots Views / Attributes / Attribute details create 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -27246,9 +27219,6 @@ exports[`Storyshots Views / Attributes / Attribute details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -28325,9 +28295,6 @@ exports[`Storyshots Views / Attributes / Attribute details form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -30226,9 +30193,6 @@ exports[`Storyshots Views / Attributes / Attribute details multiple select input
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -31232,9 +31196,6 @@ exports[`Storyshots Views / Attributes / Attribute details no values 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36243,9 +36204,6 @@ exports[`Storyshots Views / Categories / Create category When loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36307,9 +36265,6 @@ exports[`Storyshots Views / Categories / Create category When loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36532,9 +36487,6 @@ exports[`Storyshots Views / Categories / Create category default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36596,9 +36548,6 @@ exports[`Storyshots Views / Categories / Create category default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36828,9 +36777,6 @@ exports[`Storyshots Views / Categories / Create category form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -36892,9 +36838,6 @@ exports[`Storyshots Views / Categories / Create category form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -44891,9 +44834,6 @@ exports[`Storyshots Views / Collections / Collection details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -46196,9 +46136,6 @@ exports[`Storyshots Views / Collections / Collection details form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -48206,9 +48143,6 @@ exports[`Storyshots Views / Collections / Collection details no products 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -50340,9 +50274,6 @@ exports[`Storyshots Views / Collections / Create collection default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -50404,9 +50335,6 @@ exports[`Storyshots Views / Collections / Create collection default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -51076,9 +51004,6 @@ exports[`Storyshots Views / Collections / Create collection form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -51140,9 +51065,6 @@ exports[`Storyshots Views / Collections / Create collection form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -51806,9 +51728,6 @@ exports[`Storyshots Views / Collections / Create collection loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -51870,9 +51789,6 @@ exports[`Storyshots Views / Collections / Create collection loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -86951,11 +86867,7 @@ exports[`Storyshots Views / Error page default 1`] = `
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span
|
||||
class="isvg pending ErrorPage-notFoundImage-id"
|
||||
/>
|
||||
</div>
|
||||
<div />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -91976,11 +91888,7 @@ exports[`Storyshots Views / Not found error page default 1`] = `
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span
|
||||
class="isvg pending NotFoundPage-notFoundImage-id"
|
||||
/>
|
||||
</div>
|
||||
<div />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -94549,7 +94457,7 @@ exports[`Storyshots Views / Orders / Fulfill order default 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -94734,7 +94642,7 @@ exports[`Storyshots Views / Orders / Fulfill order default 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -94904,7 +94812,7 @@ exports[`Storyshots Views / Orders / Fulfill order default 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -95202,7 +95110,7 @@ exports[`Storyshots Views / Orders / Fulfill order error 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -95387,7 +95295,7 @@ exports[`Storyshots Views / Orders / Fulfill order error 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -95557,7 +95465,7 @@ exports[`Storyshots Views / Orders / Fulfill order error 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -96031,7 +95939,7 @@ exports[`Storyshots Views / Orders / Fulfill order one warehouse 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -96111,7 +96019,7 @@ exports[`Storyshots Views / Orders / Fulfill order one warehouse 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -96161,7 +96069,7 @@ exports[`Storyshots Views / Orders / Fulfill order one warehouse 1`] = `
|
|||
>
|
||||
<img
|
||||
class="MuiAvatar-img-id"
|
||||
src="[object Object]"
|
||||
src="sample-product.jpg"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -97164,9 +97072,6 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -98805,9 +98710,6 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -100476,9 +100378,6 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -102888,9 +102787,6 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -104559,9 +104455,6 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -106230,9 +106123,6 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -107901,9 +107791,6 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -109572,9 +109459,6 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -111243,9 +111127,6 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -112914,9 +112795,6 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -114585,9 +114463,6 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -116256,9 +116131,6 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -117927,9 +117799,6 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -122902,9 +122771,6 @@ exports[`Storyshots Views / Page types / Create page type default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -122966,9 +122832,6 @@ exports[`Storyshots Views / Page types / Create page type default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -123149,9 +123012,6 @@ exports[`Storyshots Views / Page types / Create page type form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -123213,9 +123073,6 @@ exports[`Storyshots Views / Page types / Create page type form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -123392,9 +123249,6 @@ exports[`Storyshots Views / Page types / Create page type loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -123456,9 +123310,6 @@ exports[`Storyshots Views / Page types / Create page type loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -124335,9 +124186,6 @@ exports[`Storyshots Views / Page types / Page type details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -125218,9 +125066,6 @@ exports[`Storyshots Views / Page types / Page type details form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -126094,9 +125939,6 @@ exports[`Storyshots Views / Page types / Page type details no attributes 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -127813,9 +127655,6 @@ exports[`Storyshots Views / Pages / Page details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -128723,9 +128562,6 @@ exports[`Storyshots Views / Pages / Page details form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -139730,9 +139566,6 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -139794,9 +139627,6 @@ exports[`Storyshots Views / Product types / Create product type default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -140115,9 +139945,6 @@ exports[`Storyshots Views / Product types / Create product type form errors 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -140179,9 +140006,6 @@ exports[`Storyshots Views / Product types / Create product type form errors 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -140502,9 +140326,6 @@ exports[`Storyshots Views / Product types / Create product type loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -140566,9 +140387,6 @@ exports[`Storyshots Views / Product types / Create product type loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -141616,9 +141434,6 @@ exports[`Storyshots Views / Product types / Product type details default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -142669,9 +142484,6 @@ exports[`Storyshots Views / Product types / Product type details form errors 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -143890,9 +143702,6 @@ exports[`Storyshots Views / Product types / Product type details no attributes 1
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -154016,9 +153825,6 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -154080,9 +153886,6 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -155052,9 +154855,6 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -155116,9 +154916,6 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -156233,9 +156030,6 @@ exports[`Storyshots Views / Products / Create product form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -156297,9 +156091,6 @@ exports[`Storyshots Views / Products / Create product form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -157870,9 +157661,6 @@ exports[`Storyshots Views / Products / Create product variant add first variant
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -157934,9 +157722,6 @@ exports[`Storyshots Views / Products / Create product variant add first variant
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -158936,9 +158721,6 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -159000,9 +158782,6 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -159939,9 +159718,6 @@ exports[`Storyshots Views / Products / Create product variant no warehouses 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -160003,9 +159779,6 @@ exports[`Storyshots Views / Products / Create product variant no warehouses 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -160898,9 +160671,6 @@ exports[`Storyshots Views / Products / Create product variant when loading data
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -160962,9 +160732,6 @@ exports[`Storyshots Views / Products / Create product variant when loading data
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -161982,9 +161749,6 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -162046,9 +161810,6 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -163374,9 +163135,6 @@ exports[`Storyshots Views / Products / Product edit form errors 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -164887,9 +164645,6 @@ exports[`Storyshots Views / Products / Product edit no product attributes 1`] =
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -166632,9 +166387,6 @@ exports[`Storyshots Views / Products / Product edit no stock and no variants 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -168314,9 +168066,6 @@ exports[`Storyshots Views / Products / Product edit no stock, no variants and no
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -170193,9 +169942,6 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -171960,9 +171706,6 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -174700,9 +174443,6 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -176579,9 +176319,6 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -178346,9 +178083,6 @@ exports[`Storyshots Views / Products / Product edit with channels 1`] = `
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -189399,9 +189133,6 @@ exports[`Storyshots Views / Products / Product variant details attribute errors
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -190792,9 +190523,6 @@ exports[`Storyshots Views / Products / Product variant details no warehouses 1`]
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -192382,9 +192110,6 @@ exports[`Storyshots Views / Products / Product variant details when loaded data
|
|||
<div
|
||||
class="Metadata-emptyContainer-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending Metadata-emptyImage-id"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||
>
|
||||
|
@ -201364,9 +201089,6 @@ exports[`Storyshots Views / Staff / Staff member details himself 1`] = `
|
|||
<div
|
||||
class="StaffProperties-avatarHover-id"
|
||||
>
|
||||
<span
|
||||
class="isvg pending"
|
||||
/>
|
||||
<div
|
||||
class="MuiTypography-root-id StaffProperties-avatarActionText-id MuiTypography-body1-id"
|
||||
>
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
import ErrorMessageCard from "@saleor/components/ErrorMessageCard";
|
||||
import CardDecorator from "@saleor/storybook/CardDecorator";
|
||||
import Decorator from "@saleor/storybook/Decorator";
|
||||
import { storiesOf } from "@storybook/react";
|
||||
import React from "react";
|
||||
|
||||
storiesOf("Generics / ErrorMessageCard", module).add("default", () => (
|
||||
<ErrorMessageCard message="Loren ipsum dolor sit amet!" />
|
||||
));
|
||||
storiesOf("Generics / ErrorMessageCard", module)
|
||||
.addDecorator(CardDecorator)
|
||||
.addDecorator(Decorator)
|
||||
.add("default", () => (
|
||||
<ErrorMessageCard message="Loren ipsum dolor sit amet!" />
|
||||
));
|
||||
|
|
|
@ -46,7 +46,8 @@ const TranslationsEntitiesListPage: React.FC<TranslationsEntitiesListPageProps>
|
|||
const { filters, language, onBack, children } = props;
|
||||
|
||||
const intl = useIntl();
|
||||
const currentTab = tabs.indexOf(filters.current);
|
||||
const queryTab = tabs.indexOf(filters.current);
|
||||
const currentTab = queryTab >= 0 ? queryTab : 0;
|
||||
|
||||
return (
|
||||
<Container>
|
||||
|
|
|
@ -58,7 +58,7 @@ export function asSortParams<
|
|||
),
|
||||
sort: params.sort
|
||||
? findValueInEnum(params.sort, fields)
|
||||
: defaultField || "name"
|
||||
: defaultField?.toString() || "name"
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { OptionalIntlConfig } from "react-intl/dist/components/provider";
|
||||
import { OptionalIntlConfig } from "react-intl/src/components/provider";
|
||||
|
||||
export const config: OptionalIntlConfig = {
|
||||
defaultLocale: "en",
|
||||
|
|
Loading…
Reference in a new issue