mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
commit
313ab16451
18 changed files with 5784 additions and 2971 deletions
|
|
@ -14,6 +14,13 @@ way to update this template, but currently, we follow a pattern:
|
|||
|
||||
## Upcoming version 2019-XX-XX
|
||||
|
||||
- [change] Update sharetribe-scripts (CRA fork) to v2.1.8. There are a couple of changes that you
|
||||
should check from [#1073](https://github.com/sharetribe/flex-template-web/pull/1073)
|
||||
- package.json has now a "browserlist" configuration key. This gives you an option to affect
|
||||
Autoprefixer configs (aka CSS vendor prefixes / browser support). You might want to update it.
|
||||
- IE support is removed from Create React App, but you can add polyfills yourself if needed.
|
||||
- Test snapshots were also changed a bit. (Update your own custom tests if needed.)
|
||||
- Some CSS and React rules were more strict, you might need to make changes to your custom code.
|
||||
- [fix] New npm vulnerability alerts checked and added to exception list.
|
||||
[#1075](https://github.com/sharetribe/flex-template-web/pull/1075)
|
||||
- [fix] ListingPage.duck: fix minor bug on dispatching the fetchReviewsRequest action
|
||||
|
|
|
|||
14
package.json
14
package.json
|
|
@ -50,7 +50,7 @@
|
|||
"sanitize.css": "^5.0.0",
|
||||
"seedrandom": "^2.4.4",
|
||||
"sharetribe-flex-sdk": "^1.3.0",
|
||||
"sharetribe-scripts": "1.1.5",
|
||||
"sharetribe-scripts": "2.1.8",
|
||||
"smoothscroll-polyfill": "^0.4.0",
|
||||
"source-map-support": "^0.5.9",
|
||||
"url": "^0.11.0"
|
||||
|
|
@ -74,14 +74,22 @@
|
|||
"format": "prettier --write '**/*.{js,css}'",
|
||||
"format-ci": "prettier --list-different '**/*.{js,css}'",
|
||||
"format-docs": "prettier --write '**/*.md'",
|
||||
"test": "sharetribe-scripts test --env=jsdom",
|
||||
"test-ci": "sharetribe-scripts test --env=jsdom --runInBand",
|
||||
"test": "sharetribe-scripts test",
|
||||
"test-ci": "sharetribe-scripts test --runInBand",
|
||||
"eject": "sharetribe-scripts eject",
|
||||
"start": "node server/index.js",
|
||||
"dev-server": "export NODE_ENV=development PORT=4000 REACT_APP_CANONICAL_ROOT_URL=http://localhost:4000&&yarn run build&&nodemon --watch server server/index.js",
|
||||
"heroku-postbuild": "yarn run build",
|
||||
"translate": "node scripts/translations.js"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [">0.2%", "not dead", "not op_mini all"],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
|
|
|
|||
|
|
@ -15,6 +15,16 @@ const render = (url, context) => {
|
|||
return { head, body };
|
||||
};
|
||||
|
||||
const jsdomScroll = window.scroll;
|
||||
beforeAll(() => {
|
||||
// Mock window.scroll - otherwise, Jest/JSDOM will print a not-implemented error.
|
||||
window.scroll = () => {};
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
window.scroll = jsdomScroll;
|
||||
});
|
||||
|
||||
describe('Application', () => {
|
||||
it('renders in the client without crashing', () => {
|
||||
window.google = { maps: {} };
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ exports[`ActivityFeed matches snapshot 1`] = `
|
|||
<div>
|
||||
<p>
|
||||
Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
</p>
|
||||
<p>
|
||||
2017-11-09, 08:12
|
||||
|
|
@ -70,8 +70,8 @@ exports[`ActivityFeed matches snapshot 1`] = `
|
|||
<div>
|
||||
<p>
|
||||
Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ const preventDefault = e => {
|
|||
e.preventDefault();
|
||||
};
|
||||
|
||||
const hashLink = '#';
|
||||
class InteractiveButton extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
|
@ -130,29 +131,29 @@ const ButtonsComponent = () => {
|
|||
</p>
|
||||
<p>
|
||||
Lorem ipsum{' '}
|
||||
<a href="#" onClick={preventDefault}>
|
||||
<a href={hashLink} onClick={preventDefault}>
|
||||
a normal link
|
||||
</a>{' '}
|
||||
dolor sit amet
|
||||
</p>
|
||||
|
||||
<h3>Link that looks like a default button:</h3>
|
||||
<a className={css.buttonLink} href="#" onClick={preventDefault}>
|
||||
<a className={css.buttonLink} href={hashLink} onClick={preventDefault}>
|
||||
Click me
|
||||
</a>
|
||||
|
||||
<h3>Translated link that looks like a default button:</h3>
|
||||
<a className={css.buttonLink} href="#" onClick={preventDefault}>
|
||||
<a className={css.buttonLink} href={hashLink} onClick={preventDefault}>
|
||||
<span>Clique moi</span>
|
||||
</a>
|
||||
|
||||
<h3>Link that looks like a primary button:</h3>
|
||||
<a className={css.buttonLinkPrimary} href="#" onClick={preventDefault}>
|
||||
<a className={css.buttonLinkPrimary} href={hashLink} onClick={preventDefault}>
|
||||
Click me
|
||||
</a>
|
||||
|
||||
<h3>Link that looks like a secondary button:</h3>
|
||||
<a className={css.buttonLinkSecondary} href="#" onClick={preventDefault}>
|
||||
<a className={css.buttonLinkSecondary} href={hashLink} onClick={preventDefault}>
|
||||
Click me
|
||||
</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ size and position, etc.
|
|||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
box-shadow: var(--boxShadowPopup);
|
||||
z-index: var(--zIndexPopup + 1);
|
||||
z-index: calc(var(--zIndexPopup) + 1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -407,8 +407,8 @@ exports[`TransactionPanel - Order accepted matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -433,8 +433,8 @@ exports[`TransactionPanel - Order accepted matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -1098,8 +1098,8 @@ exports[`TransactionPanel - Order autodeclined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -1124,8 +1124,8 @@ exports[`TransactionPanel - Order autodeclined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -1789,8 +1789,8 @@ exports[`TransactionPanel - Order canceled matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -1815,8 +1815,8 @@ exports[`TransactionPanel - Order canceled matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -2480,8 +2480,8 @@ exports[`TransactionPanel - Order declined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -2506,8 +2506,8 @@ exports[`TransactionPanel - Order declined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -3181,8 +3181,8 @@ exports[`TransactionPanel - Order delivered matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -3207,8 +3207,8 @@ exports[`TransactionPanel - Order delivered matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -3877,8 +3877,8 @@ exports[`TransactionPanel - Order enquired matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -3903,8 +3903,8 @@ exports[`TransactionPanel - Order enquired matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -4566,8 +4566,8 @@ exports[`TransactionPanel - Order preauthorized matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -4592,8 +4592,8 @@ exports[`TransactionPanel - Order preauthorized matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -5257,8 +5257,8 @@ exports[`TransactionPanel - Sale accepted matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -5283,8 +5283,8 @@ exports[`TransactionPanel - Sale accepted matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -5948,8 +5948,8 @@ exports[`TransactionPanel - Sale autodeclined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -5974,8 +5974,8 @@ exports[`TransactionPanel - Sale autodeclined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -6639,8 +6639,8 @@ exports[`TransactionPanel - Sale canceled matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -6665,8 +6665,8 @@ exports[`TransactionPanel - Sale canceled matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -7330,8 +7330,8 @@ exports[`TransactionPanel - Sale declined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -7356,8 +7356,8 @@ exports[`TransactionPanel - Sale declined matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -8031,8 +8031,8 @@ exports[`TransactionPanel - Sale delivered matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -8057,8 +8057,8 @@ exports[`TransactionPanel - Sale delivered matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -8727,8 +8727,8 @@ exports[`TransactionPanel - Sale enquired matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -8753,8 +8753,8 @@ exports[`TransactionPanel - Sale enquired matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -9416,8 +9416,8 @@ exports[`TransactionPanel - Sale preauthorized matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
@ -9442,8 +9442,8 @@ exports[`TransactionPanel - Sale preauthorized matches snapshot 1`] = `
|
|||
Object {
|
||||
"attributes": Object {
|
||||
"content": "Message msg2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
||||
"createdAt": 2017-11-09T08:12:00.000Z,
|
||||
},
|
||||
"id": UUID {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
|||
>
|
||||
<div>
|
||||
<div>
|
||||
<Component
|
||||
<LinkTabNavHorizontal
|
||||
className={null}
|
||||
rootClassName={null}
|
||||
skin="light"
|
||||
|
|
@ -48,14 +48,12 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
|||
},
|
||||
},
|
||||
"selected": false,
|
||||
"text": <h1
|
||||
className={undefined}
|
||||
>
|
||||
"text": <h1>
|
||||
<FormattedMessage
|
||||
id="AuthenticationPage.signupLinkText"
|
||||
values={Object {}}
|
||||
id="AuthenticationPage.signupLinkText"
|
||||
values={Object {}}
|
||||
/>
|
||||
</h1>,
|
||||
</h1>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -67,14 +65,12 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
|||
},
|
||||
},
|
||||
"selected": true,
|
||||
"text": <h1
|
||||
className={undefined}
|
||||
>
|
||||
"text": <h1>
|
||||
<FormattedMessage
|
||||
id="AuthenticationPage.loginLinkText"
|
||||
values={Object {}}
|
||||
id="AuthenticationPage.loginLinkText"
|
||||
values={Object {}}
|
||||
/>
|
||||
</h1>,
|
||||
</h1>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ exports[`ContactDetailsPage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="ContactDetailsPage.contactDetailsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -46,7 +46,7 @@ exports[`ContactDetailsPage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="ContactDetailsPage.passwordTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -56,7 +56,7 @@ exports[`ContactDetailsPage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="ContactDetailsPage.paymentsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,10 +46,10 @@ exports[`InboxPage matches snapshot 1`] = `
|
|||
"selected": true,
|
||||
"text": <span>
|
||||
<FormattedMessage
|
||||
id="InboxPage.ordersTabTitle"
|
||||
values={Object {}}
|
||||
id="InboxPage.ordersTabTitle"
|
||||
values={Object {}}
|
||||
/>
|
||||
</span>,
|
||||
</span>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -61,10 +61,10 @@ exports[`InboxPage matches snapshot 1`] = `
|
|||
"selected": false,
|
||||
"text": <span>
|
||||
<FormattedMessage
|
||||
id="InboxPage.salesTabTitle"
|
||||
values={Object {}}
|
||||
id="InboxPage.salesTabTitle"
|
||||
values={Object {}}
|
||||
/>
|
||||
</span>,
|
||||
</span>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ exports[`InboxPage matches snapshot 1`] = `
|
|||
<li
|
||||
key="order-1"
|
||||
>
|
||||
<Component
|
||||
<InboxItem
|
||||
intl={
|
||||
Object {
|
||||
"formatDate": [Function],
|
||||
|
|
@ -216,7 +216,7 @@ exports[`InboxPage matches snapshot 1`] = `
|
|||
<li
|
||||
key="order-2"
|
||||
>
|
||||
<Component
|
||||
<InboxItem
|
||||
intl={
|
||||
Object {
|
||||
"formatDate": [Function],
|
||||
|
|
@ -468,10 +468,10 @@ exports[`InboxPage matches snapshot 3`] = `
|
|||
"selected": false,
|
||||
"text": <span>
|
||||
<FormattedMessage
|
||||
id="InboxPage.ordersTabTitle"
|
||||
values={Object {}}
|
||||
id="InboxPage.ordersTabTitle"
|
||||
values={Object {}}
|
||||
/>
|
||||
</span>,
|
||||
</span>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -483,10 +483,10 @@ exports[`InboxPage matches snapshot 3`] = `
|
|||
"selected": true,
|
||||
"text": <span>
|
||||
<FormattedMessage
|
||||
id="InboxPage.salesTabTitle"
|
||||
values={Object {}}
|
||||
id="InboxPage.salesTabTitle"
|
||||
values={Object {}}
|
||||
/>
|
||||
</span>,
|
||||
</span>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
@ -500,7 +500,7 @@ exports[`InboxPage matches snapshot 3`] = `
|
|||
<li
|
||||
key="sale-1"
|
||||
>
|
||||
<Component
|
||||
<InboxItem
|
||||
intl={
|
||||
Object {
|
||||
"formatDate": [Function],
|
||||
|
|
@ -638,7 +638,7 @@ exports[`InboxPage matches snapshot 3`] = `
|
|||
<li
|
||||
key="sale-2"
|
||||
>
|
||||
<Component
|
||||
<InboxItem
|
||||
intl={
|
||||
Object {
|
||||
"formatDate": [Function],
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@ exports[`ListingPage matches snapshot 1`] = `
|
|||
formattedPrice={55}
|
||||
hostLink={
|
||||
<NamedLink
|
||||
className={undefined}
|
||||
name="ListingPage"
|
||||
params={
|
||||
Object {
|
||||
|
|
@ -323,7 +322,7 @@ exports[`ListingPage matches snapshot 1`] = `
|
|||
|
||||
title
|
||||
|
||||
</span>,
|
||||
</span>,
|
||||
}
|
||||
}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ exports[`PasswordChangePage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PasswordChangePage.contactDetailsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -46,7 +46,7 @@ exports[`PasswordChangePage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PasswordChangePage.passwordTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -56,7 +56,7 @@ exports[`PasswordChangePage matches snapshot 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PasswordChangePage.paymentsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe connected 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.contactDetailsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -46,7 +46,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe connected 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.passwordTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -56,7 +56,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe connected 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.paymentsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe not connected 1`] =
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.contactDetailsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -136,7 +136,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe not connected 1`] =
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.passwordTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -146,7 +146,7 @@ exports[`PayoutPreferencesPage matches snapshot with Stripe not connected 1`] =
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.paymentsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ exports[`PayoutPreferencesPage matches snapshot with details submitted 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.contactDetailsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -240,7 +240,7 @@ exports[`PayoutPreferencesPage matches snapshot with details submitted 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.passwordTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
Object {
|
||||
"linkProps": Object {
|
||||
|
|
@ -250,7 +250,7 @@ exports[`PayoutPreferencesPage matches snapshot with details submitted 1`] = `
|
|||
"text": <FormattedMessage
|
||||
id="PayoutPreferencesPage.paymentsTabTitle"
|
||||
values={Object {}}
|
||||
/>,
|
||||
/>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ exports[`ProfilePage matches snapshot 1`] = `
|
|||
/>
|
||||
</h1>
|
||||
<div>
|
||||
<Component
|
||||
<ButtonTabNavHorizontal
|
||||
className={null}
|
||||
rootClassName={null}
|
||||
skin="light"
|
||||
|
|
@ -89,34 +89,30 @@ exports[`ProfilePage matches snapshot 1`] = `
|
|||
Object {
|
||||
"onClick": [Function],
|
||||
"selected": true,
|
||||
"text": <h3
|
||||
className={undefined}
|
||||
>
|
||||
"text": <h3>
|
||||
<FormattedMessage
|
||||
id="ProfilePage.reviewsOfProviderTitle"
|
||||
values={
|
||||
Object {
|
||||
"count": 0,
|
||||
}
|
||||
}
|
||||
id="ProfilePage.reviewsOfProviderTitle"
|
||||
values={
|
||||
Object {
|
||||
"count": 0,
|
||||
}
|
||||
}
|
||||
/>
|
||||
</h3>,
|
||||
</h3>,
|
||||
},
|
||||
Object {
|
||||
"onClick": [Function],
|
||||
"selected": false,
|
||||
"text": <h3
|
||||
className={undefined}
|
||||
>
|
||||
"text": <h3>
|
||||
<FormattedMessage
|
||||
id="ProfilePage.reviewsOfCustomerTitle"
|
||||
values={
|
||||
Object {
|
||||
"count": 0,
|
||||
}
|
||||
}
|
||||
id="ProfilePage.reviewsOfCustomerTitle"
|
||||
values={
|
||||
Object {
|
||||
"count": 0,
|
||||
}
|
||||
}
|
||||
/>
|
||||
</h3>,
|
||||
</h3>,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
box-shadow: var(--boxShadowPopup);
|
||||
z-index: var(--zIndexPopup + 1);
|
||||
z-index: calc(var(--zIndexPopup) + 1);
|
||||
|
||||
@media (--viewportMedium) {
|
||||
top: 40px;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
box-shadow: var(--boxShadowPopup);
|
||||
z-index: var(--zIndexPopup + 1);
|
||||
z-index: calc(var(--zIndexPopup) + 1);
|
||||
|
||||
margin-top: 16px;
|
||||
margin-bottom: 102px;
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
box-shadow: var(--boxShadowPopup);
|
||||
z-index: var(--zIndexPopup + 1);
|
||||
z-index: calc(var(--zIndexPopup) + 1);
|
||||
}
|
||||
|
||||
.mobilePredictionsAttribution {
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
box-shadow: var(--boxShadowPopup);
|
||||
z-index: var(--zIndexPopup + 1);
|
||||
z-index: calc(var(--zIndexPopup) + 1);
|
||||
|
||||
margin-top: calc(
|
||||
var(--topbarHeightDesktop) - var(--TopbarSearchForm_inputHeight) +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue