From 06c8c74ee17a555c5b9225e1a3c197375509e37f Mon Sep 17 00:00:00 2001 From: Yoav Farhi Date: Thu, 26 May 2016 09:03:37 +0300 Subject: [PATCH] i18n: Update RTLCSS to 2.0.5 (#5440) * update rtlcss to 2.0.5 * update config to match new format. Also: prevent a new issue from popping up on post trends arrows --- .rtlcssrc | 12 ++++-------- client/my-sites/stats/post-trends/style.scss | 2 ++ npm-shrinkwrap.json | 8 ++++---- package.json | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.rtlcssrc b/.rtlcssrc index d1411f1a17ea3e..a1e41b63f8e8f2 100644 --- a/.rtlcssrc +++ b/.rtlcssrc @@ -1,10 +1,6 @@ { - "options": { - "preserveComments": true, - "preserveDirectives": false, - "swapLeftRightInUrl": true, - "swapLtrRtlInUrl": true, - "swapWestEastInUrl": false, - "autoRename": false - } + "options": { + "processUrls": { "atrule": true, "decl": false } + } } + diff --git a/client/my-sites/stats/post-trends/style.scss b/client/my-sites/stats/post-trends/style.scss index 274b107a5272ac..13630c6f6bb9d3 100644 --- a/client/my-sites/stats/post-trends/style.scss +++ b/client/my-sites/stats/post-trends/style.scss @@ -81,6 +81,7 @@ text-align: right; } +/*rtl:begin:ignore*/ .post-trends__scroll-left { left: 0px; } @@ -88,6 +89,7 @@ .post-trends__scroll-right { right: 0px; } +/*rtl:end:ignore*/ .post-trends__month { font-size: 0; diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 230383a18865c2..4e87c5bc20a168 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -2774,16 +2774,16 @@ "version": "1.0.0" }, "rtlcss": { - "version": "1.6.1", + "version": "2.0.5", "dependencies": { "minimist": { "version": "0.0.8" }, "mkdirp": { - "version": "0.5.0" + "version": "0.5.1" }, "postcss": { - "version": "4.1.16" + "version": "5.0.21" }, "source-map": { "version": "0.4.4" @@ -3511,4 +3511,4 @@ "version": "3.27.0" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 7fd1da20c5145e..a8a9f2f415544c 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "react-tap-event-plugin": "0.2.1", "redux": "3.0.4", "redux-thunk": "1.0.0", - "rtlcss": "1.6.1", + "rtlcss": "2.0.5", "sanitize-html": "1.11.1", "semver": "5.1.0", "source-map": "0.1.39",