Skip to content

Commit f09a123

Browse files
committed
Add postcss-easings
So we can use names like easeInSine in CSS transitions rather than cubic-bezier(0.47, 0, 0.745, 0.715) Required for matrix-org/matrix-react-sdk#3674
1 parent 222fea9 commit f09a123

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"matrix-react-sdk": "1.7.3",
7878
"modernizr": "^3.6.0",
7979
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
80+
"postcss-easings": "^2.0.0",
8081
"prop-types": "^15.7.2",
8182
"react": "^16.9.0",
8283
"react-dom": "^16.9.0",
@@ -113,8 +114,8 @@
113114
"eslint": "^5.8.0",
114115
"eslint-config-google": "^0.7.1",
115116
"eslint-plugin-babel": "^4.1.2",
116-
"eslint-plugin-jest": "^23.0.4",
117117
"eslint-plugin-flowtype": "^2.50.3",
118+
"eslint-plugin-jest": "^23.0.4",
118119
"eslint-plugin-react": "^7.11.1",
119120
"eslint-plugin-react-hooks": "^2.2.0",
120121
"expect": "^1.16.0",

‎postcss.config.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
require("postcss-extend")(),
77
require("postcss-nested")(),
88
require("postcss-mixins")(),
9+
require("postcss-easings")(),
910
require("postcss-strip-inline-comments")(),
1011
],
1112
"parser": "postcss-scss",

‎yarn.lock‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7164,6 +7164,14 @@ posix-character-classes@^0.1.0:
71647164
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
71657165
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
71667166

7167+
postcss-easings@^2.0.0:
7168+
version "2.0.0"
7169+
resolved "https://registry.yarnpkg.com/postcss-easings/-/postcss-easings-2.0.0.tgz#79bde7ce71c838ef7371a59d293e08b337b1802b"
7170+
integrity sha512-oJUmnrPwayx47y+jrRKSofHOjRjdJCOyqNXZURQkAVEra93ShqUcN8WYIuT/pWQeGe2I/pxxFfw7mOUGBrxCRQ==
7171+
dependencies:
7172+
postcss "^7.0.2"
7173+
postcss-value-parser "^3.3.0"
7174+
71677175
postcss-extend@^1.0.5:
71687176
version "1.0.5"
71697177
resolved "https://registry.yarnpkg.com/postcss-extend/-/postcss-extend-1.0.5.tgz#5ea98bf787ba3cacf4df4609743f80a833b1d0e7"

0 commit comments

Comments
 (0)