Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update react-relay
dominik-zeglend3d226e559d1
diff --git a/package.json b/package.jsonindex c75d5266a7..4afd6e69d1 100644--- a/package.json+++ b/package.json@@ -34,7 +34,7 @@"react": "^15.4.2","react-dom": "^15.4.2","react-inlinesvg": "^0.6.2",- "react-relay": "0.10.0",+ "react-relay": "^1.3.0","select2": "^4.0.3","sortablejs": "^1.5.0-rc1","svg-injector-2": "^2.0.35",diff --git a/saleor/static/js/category.js b/saleor/static/js/category.jsindex 5cef6be395..1d92c90933 100644--- a/saleor/static/js/category.js+++ b/saleor/static/js/category.js@@ -1,6 +1,6 @@import React, { PropTypes } from 'react';import ReactDOM from 'react-dom';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import CategoryPage from './components/categoryPage/CategoryPage';import ProductFilters from './components/categoryPage/ProductFilters';diff --git a/saleor/static/js/components/categoryPage/CategoryPage.js b/saleor/static/js/components/categoryPage/CategoryPage.jsindex b270ea35b1..ca82ca5307 100644--- a/saleor/static/js/components/categoryPage/CategoryPage.js+++ b/saleor/static/js/components/categoryPage/CategoryPage.js@@ -1,6 +1,6 @@import queryString from 'query-string';import React, { Component, PropTypes } from 'react';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import CategoryFilter from './CategoryFilter';import PriceFilter from './PriceFilter';diff --git a/saleor/static/js/components/categoryPage/ProductFilters.js b/saleor/static/js/components/categoryPage/ProductFilters.jsindex fecf972ed8..71f7ffac21 100644--- a/saleor/static/js/components/categoryPage/ProductFilters.js+++ b/saleor/static/js/components/categoryPage/ProductFilters.js@@ -1,5 +1,5 @@import React, { Component, PropTypes } from 'react';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import AttributeInput from './AttributeInput';import FilterHeader from './FilterHeader';diff --git a/saleor/static/js/components/categoryPage/ProductItem.js b/saleor/static/js/components/categoryPage/ProductItem.jsindex 8736ba49cd..5be4101cb1 100644--- a/saleor/static/js/components/categoryPage/ProductItem.js+++ b/saleor/static/js/components/categoryPage/ProductItem.js@@ -1,5 +1,5 @@import React, { Component, PropTypes } from 'react';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import ProductPrice from './ProductPrice';diff --git a/saleor/static/js/components/categoryPage/ProductList.js b/saleor/static/js/components/categoryPage/ProductList.jsindex fdf32d2d30..953e83e52a 100644--- a/saleor/static/js/components/categoryPage/ProductList.js+++ b/saleor/static/js/components/categoryPage/ProductList.js@@ -1,5 +1,5 @@import React, { Component, PropTypes } from 'react';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import ProductItem from './ProductItem';import NoResults from './NoResults';@@ -17,7 +17,7 @@ class ProductList extends Component {setSorting = (event) => this.props.setSorting(event);render() {- const { edges, pageInfo: { hasNextPage } } = this.props.products;+ const { edges, pageInfo: { hasNextPage } } = this.props.products;return (<div className={this.props.updating && 'category-list--loading'}><div className="row">diff --git a/saleor/static/js/components/categoryPage/ProductPrice.js b/saleor/static/js/components/categoryPage/ProductPrice.jsindex 192fab379b..d9ea060dfc 100644--- a/saleor/static/js/components/categoryPage/ProductPrice.js+++ b/saleor/static/js/components/categoryPage/ProductPrice.js@@ -1,5 +1,5 @@import React, { PropTypes } from 'react';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import InlineSVG from 'react-inlinesvg';import SaleImg from '../../../images/sale_bg.svg';diff --git a/saleor/static/js/storefront.js b/saleor/static/js/storefront.jsindex ea6e02873a..5da7ca43f0 100644--- a/saleor/static/js/storefront.js+++ b/saleor/static/js/storefront.js@@ -2,7 +2,7 @@ import '../scss/storefront.scss';import 'jquery.cookie';import React from 'react';import ReactDOM from 'react-dom';-import Relay from 'react-relay';+import Relay from 'react-relay/classic';import SVGInjector from 'svg-injector-2';import variantPickerStore from './stores/variantPicker';diff --git a/saleor/static/scss/components/_cart-dropdown.scss b/saleor/static/scss/components/_cart-dropdown.scssindex 96a47101c4..a6157437a0 100644--- a/saleor/static/scss/components/_cart-dropdown.scss+++ b/saleor/static/scss/components/_cart-dropdown.scss@@ -73,7 +73,7 @@margin: $global-margin 0;}}- @include media-breakpoint-up(sm) {+ @include media-breakpoint-up(md) {&.show {display: block !important;}diff --git a/yarn.lock b/yarn.lockindex 6abf7f43b4..5699deccb6 100644--- a/yarn.lock+++ b/yarn.lock@@ -989,7 +989,7 @@ babel-relay-plugin@^0.11.0:dependencies:graphql "0.9.1"-babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0, babel-runtime@^6.6.1:+babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:version "6.26.0"resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"dependencies:@@ -4758,7 +4758,7 @@ promise@^7.1.1:dependencies:asap "~2.0.3"-prop-types@^15.5.10:+prop-types@^15.5.10, prop-types@^15.5.8:version "15.5.10"resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"dependencies:@@ -4883,13 +4883,15 @@ react-inlinesvg@^0.6.2:httpplease "^0.16"once "^1.4"- version "0.10.0"- resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-0.10.0.tgz#4b19c4450e0140b9f04fd6fe96d8f451f0804078"+react-relay@^1.3.0:+ version "1.3.0"+ resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-1.3.0.tgz#5f5430b86aed854446d46b076c0e5dd299a26752"dependencies:- babel-runtime "^6.6.1"+ babel-runtime "^6.23.0"fbjs "^0.8.1"+ prop-types "^15.5.8"react-static-container "^1.0.1"+ relay-runtime "1.3.0"react-static-container@^1.0.1:version "1.0.1"@@ -5056,6 +5058,18 @@ regjsparser@^0.1.4:dependencies:jsesc "~0.5.0"+relay-debugger-react-native-runtime@^0.0.9:+ version "0.0.9"+ resolved "https://registry.yarnpkg.com/relay-debugger-react-native-runtime/-/relay-debugger-react-native-runtime-0.0.9.tgz#f9da4bb1f4f4a62189775d3850a18df1d528a4f1"++ version "1.3.0"+ resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-1.3.0.tgz#ec59db0ade1f665b37ff25f72cec4113b9e2cb8b"+ dependencies:+ babel-runtime "^6.23.0"+ fbjs "^0.8.1"+ relay-debugger-react-native-runtime "^0.0.9"+remarkable@^1.6.2:version "1.7.1"resolved "https://registry.yarnpkg.com/remarkable/-/remarkable-1.7.1.tgz#aaca4972100b66a642a63a1021ca4bac1be3bff6"