Skip to content

Commit b11f6ad

Browse files
Merge pull request #660 from deriv-com/redesign
SmartTrader Redesign
2 parents 6185dcb + a832e61 commit b11f6ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+18751
-7818
lines changed

build/config/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const release_config = {
3939

4040
const node_modules_paths = {
4141
binary_style: 'node_modules/@binary-com/binary-style',
42+
quill : 'node_modules/@deriv-com/quill-ui',
4243
};
4344

4445
const config = {

build/cssmin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
],
1313
dest: `${global.dist}/css/common.min.css`,
1414
},
15+
{ src: `${global.dist}/css/reset.css`, dest: `${global.dist}/css/reset.min.css` },
1516
{ src: `${global.dist}/css/app.css`, dest: `${global.dist}/css/app.min.css` },
1617
{ src: `${global.dist}/css/static.css`, dest: `${global.dist}/css/static.min.css` },
1718
],

build/postcss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
1212
],
1313
},
1414
dist: {
15-
src: `${global.dist}/css/{app,common,static}.css`,
15+
src: `${global.dist}/css/{app,common,static,reset}.css`,
1616
},
1717
};
1818
};

build/webpack/config_common.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ const commonConfig = (grunt) => ({
6262
},
6363
],
6464
},
65+
{
66+
test: /\.css$/,
67+
use : ['style-loader', 'css-loader'],
68+
},
6569
],
6670
},
6771
watch : false,

package-lock.json

Lines changed: 12770 additions & 7349 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"devDependencies": {
2323
"@babel/core": "7.24.0",
2424
"@babel/eslint-parser": "7.23.10",
25-
"@babel/parser": "7.1.2",
25+
"@babel/parser": "7.25.0",
2626
"@babel/plugin-proposal-decorators": "^7.24.7",
2727
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2828
"@babel/plugin-transform-class-properties": "^7.24.7",
@@ -44,6 +44,7 @@
4444
"commander": "2.12.2",
4545
"connect-livereload": "0.6.0",
4646
"connect-modrewrite": "^0.10.2",
47+
"css-loader": "^7.1.2",
4748
"deep-diff": "0.3.8",
4849
"emphasize": "7.0.0",
4950
"enzyme": "3.3.0",
@@ -87,6 +88,7 @@
8788
"react-render-html": "0.6.0",
8889
"sass": "^1.77.6",
8990
"sitemap": "1.13.0",
91+
"style-loader": "^4.0.0",
9092
"stylelint": "15.11.0",
9193
"stylelint-formatter-pretty": "1.0.3",
9294
"stylelint-selector-bem-pattern": "3.0.1",
@@ -103,7 +105,9 @@
103105
"@binary-com/binary-document-uploader": "^2.4.4",
104106
"@binary-com/binary-style": "^0.2.26",
105107
"@binary-com/webtrader-charts": "^0.6.1",
108+
"@deriv-com/quill-ui": "^1.13.44",
106109
"@deriv/deriv-api": "^1.0.15",
110+
"@deriv/quill-icons": "^1.23.1",
107111
"@livechat/customer-sdk": "4.0.2",
108112
"canvas-toBlob": "1.0.0",
109113
"classnames": "2.2.5",
@@ -112,6 +116,7 @@
112116
"davidshimjs-qrcodejs": "0.0.2",
113117
"event-source-polyfill": "0.0.9",
114118
"highstock-release": "5.0.14",
119+
"html-react-parser": "^5.1.10",
115120
"jquery": "3.5.1",
116121
"jquery.scrollto": "2.1.2",
117122
"js-cookie": "2.2.0",
@@ -131,6 +136,11 @@
131136
"peerDependencies": {
132137
"circular-dependency-plugin": "5.2.2"
133138
},
139+
"overrides": {
140+
"braces": "^3.0.3",
141+
"@babel/parser": "7.25.0",
142+
"@babel/plugin-proposal-optional-chaining": "7.22.5"
143+
},
134144
"engines": {
135145
"node": "18.x"
136146
},

scripts/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exports.sections_config = {
2121
'': { // '' is the default section when no 'section' specified in pages.js (to avoid adding 'app' as section for all)
2222
path : '',
2323
js_files : ['vendor', 'binary'],
24-
css_files: ['common.min', 'app.min', 'static.min'],
24+
css_files: ['common.min', 'app.min', 'static.min', 'reset.min'],
2525
has_pjax : true,
2626
},
2727
};

scripts/js_texts/extracted_strings_app.js

Lines changed: 107 additions & 1 deletion
Large diffs are not rendered by default.

src/javascript/_autogenerated/ach.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/javascript/_autogenerated/de.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)