From 7f2727236dc13b1053463b3dd48103b6532e1698 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 9 Jan 2019 14:39:19 +0100 Subject: Pin @types/styled-components versions --- packages/react-shared/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/react-shared') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 17defe35a..942544685 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -43,7 +43,7 @@ "@types/react-dom": "*", "@types/react-router-dom": "^4.0.4", "@types/react-scroll": "1.5.3", - "@types/styled-components": "^4.0.0", + "@types/styled-components": "4.0.0", "@types/valid-url": "^1.0.2", "basscss": "^8.0.3", "change-case": "^3.0.2", -- cgit v1.2.3 From 0a6ead90d9ef4823f00f9afbc2426a274df11181 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 9 Jan 2019 14:44:03 +0100 Subject: Updated CHANGELOGS --- packages/react-shared/CHANGELOG.json | 3 ++- packages/react-shared/CHANGELOG.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'packages/react-shared') diff --git a/packages/react-shared/CHANGELOG.json b/packages/react-shared/CHANGELOG.json index 9ef0d079f..aaf2485d1 100644 --- a/packages/react-shared/CHANGELOG.json +++ b/packages/react-shared/CHANGELOG.json @@ -7,7 +7,8 @@ "Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop.", "pr": 1448 } - ] + ], + "timestamp": 1547040760 }, { "version": "1.0.25", diff --git a/packages/react-shared/CHANGELOG.md b/packages/react-shared/CHANGELOG.md index 8afa94e04..a8f2764dd 100644 --- a/packages/react-shared/CHANGELOG.md +++ b/packages/react-shared/CHANGELOG.md @@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only. CHANGELOG +## v1.1.0 - _January 9, 2019_ + + * Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop. (#1448) + ## v1.0.25 - _December 13, 2018_ * Dependencies updated -- cgit v1.2.3 From 5b7eff217e9c8d09d64ff8721d7a16e1df8a7c58 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 9 Jan 2019 14:44:17 +0100 Subject: Publish - 0x.js@3.0.0 - @0x/abi-gen@1.0.20 - @0x/abi-gen-wrappers@2.1.0 - @0x/assert@1.0.21 - @0x/asset-buyer@3.0.5 - @0x/base-contract@3.0.11 - @0x/connect@3.0.11 - @0x/contract-addresses@2.1.0 - @0x/contract-artifacts@1.2.0 - @0x/contract-wrappers@4.2.0 - @0x/dev-tools-pages@0.0.11 - @0x/dev-utils@1.0.22 - @0x/fill-scenarios@1.1.0 - @0x/instant@1.0.5 - @0x/json-schemas@2.1.5 - @0x/metacoin@0.0.33 - @0x/migrations@2.3.0 - @0x/monorepo-scripts@1.0.16 - @0x/order-utils@3.1.0 - @0x/order-watcher@2.4.0 - @0x/pipeline@1.0.3 - @0x/react-docs@1.0.23 - @0x/react-shared@1.1.0 - @0x/sol-compiler@2.0.0 - @0x/sol-cov@2.1.17 - @0x/sol-doc@1.0.12 - @0x/sol-resolver@1.2.1 - @0x/sra-spec@1.0.14 - @0x/subproviders@2.1.9 - @0x/testnet-faucets@1.0.61 - @0x/types@1.5.0 - @0x/utils@2.1.1 - @0x/web3-wrapper@3.2.2 - @0x/website@0.0.64 - @0x/contracts-examples@1.0.3 - @0x/contracts-extensions@1.2.0 - @0x/contracts-interfaces@1.0.3 - @0x/contracts-libs@1.0.3 - @0x/contracts-multisig@1.0.3 - @0x/contracts-protocol@2.2.0 - @0x/contracts-test-utils@1.0.3 - @0x/contracts-tokens@1.0.3 - @0x/contracts-utils@1.0.3 --- packages/react-shared/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/react-shared') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 17defe35a..922823402 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -1,6 +1,6 @@ { "name": "@0x/react-shared", - "version": "1.0.25", + "version": "1.1.0", "engines": { "node": ">=6.12" }, @@ -25,7 +25,7 @@ "url": "https://github.com/0xProject/0x-monorepo.git" }, "devDependencies": { - "@0x/dev-utils": "^1.0.21", + "@0x/dev-utils": "^1.0.22", "@0x/tslint-config": "^2.0.0", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", @@ -33,7 +33,7 @@ "typescript": "3.0.1" }, "dependencies": { - "@0x/types": "^1.4.1", + "@0x/types": "^1.5.0", "@material-ui/core": "^3.0.1", "@types/is-mobile": "0.3.0", "@types/lodash": "4.14.104", -- cgit v1.2.3 From 89e398fa39fd14c9fd4a467fdd039920fb28a420 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 9 Jan 2019 12:12:05 -0800 Subject: Update prettier to version ^1.15.3 --- packages/react-shared/CHANGELOG.json | 3 +-- .../react-shared/src/components/anchor_title.tsx | 21 +++++++++------------ 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'packages/react-shared') diff --git a/packages/react-shared/CHANGELOG.json b/packages/react-shared/CHANGELOG.json index aaf2485d1..23217137f 100644 --- a/packages/react-shared/CHANGELOG.json +++ b/packages/react-shared/CHANGELOG.json @@ -3,8 +3,7 @@ "version": "1.1.0", "changes": [ { - "note": - "Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop.", + "note": "Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop.", "pr": 1448 } ], diff --git a/packages/react-shared/src/components/anchor_title.tsx b/packages/react-shared/src/components/anchor_title.tsx index a9105e132..fccd56de7 100644 --- a/packages/react-shared/src/components/anchor_title.tsx +++ b/packages/react-shared/src/components/anchor_title.tsx @@ -32,18 +32,15 @@ interface AnchorIconProps { shouldShowAnchor: boolean; } -const AnchorIcon = - styled.i < - AnchorIconProps > - ` - opacity: ${props => (props.shouldShowAnchor ? 1 : 0)}; - &:hover { - opacity: ${props => (props.shouldShowAnchor ? 0.6 : 0)}; - } - font-size: 20px; - transform: rotate(45deg); - cursor: pointer; - `; +const AnchorIcon = styled.i` + opacity: ${props => (props.shouldShowAnchor ? 1 : 0)}; + &:hover { + opacity: ${props => (props.shouldShowAnchor ? 0.6 : 0)}; + } + font-size: 20px; + transform: rotate(45deg); + cursor: pointer; +`; export class AnchorTitle extends React.Component { public static defaultProps: Partial = { -- cgit v1.2.3