@oanda/labs-currency-strength-widget 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,154 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.0.18 (2024-03-12)
7
+
8
+
9
+
10
+ ## 1.0.99 (2024-03-11)
11
+
12
+
13
+
14
+ ## 1.0.98 (2024-03-07)
15
+
16
+
17
+
18
+ ## 1.0.97 (2024-03-06)
19
+
20
+
21
+
22
+ ## 1.0.96 (2024-03-06)
23
+
24
+
25
+
26
+ ## 1.0.95 (2024-03-04)
27
+
28
+
29
+
30
+ ## 1.0.94 (2024-02-29)
31
+
32
+
33
+
34
+ ## 1.0.93 (2024-02-28)
35
+
36
+
37
+
38
+ ## 1.0.92 (2024-02-28)
39
+
40
+
41
+
42
+ ## 1.0.91 (2024-02-23)
43
+
44
+
45
+
46
+ ## 1.0.90 (2024-02-23)
47
+
48
+
49
+
50
+ ## 1.0.89 (2024-02-21)
51
+
52
+
53
+
54
+ ## 1.0.88 (2024-02-21)
55
+
56
+
57
+
58
+ ## 1.0.87 (2024-02-20)
59
+
60
+
61
+
62
+ ## 1.0.86 (2024-02-20)
63
+
64
+
65
+
66
+ ## 1.0.85 (2024-02-13)
67
+
68
+
69
+
70
+ ## 1.0.84 (2024-02-13)
71
+
72
+
73
+
74
+ ## 1.0.83 (2024-02-09)
75
+
76
+ **Note:** Version bump only for package @oanda/labs-currency-strength-widget
77
+
78
+
79
+
80
+
81
+
82
+ ## 1.0.17 (2024-03-11)
83
+
84
+
85
+
86
+ ## 1.0.98 (2024-03-07)
87
+
88
+
89
+
90
+ ## 1.0.97 (2024-03-06)
91
+
92
+
93
+
94
+ ## 1.0.96 (2024-03-06)
95
+
96
+
97
+
98
+ ## 1.0.95 (2024-03-04)
99
+
100
+
101
+
102
+ ## 1.0.94 (2024-02-29)
103
+
104
+
105
+
106
+ ## 1.0.93 (2024-02-28)
107
+
108
+
109
+
110
+ ## 1.0.92 (2024-02-28)
111
+
112
+
113
+
114
+ ## 1.0.91 (2024-02-23)
115
+
116
+
117
+
118
+ ## 1.0.90 (2024-02-23)
119
+
120
+
121
+
122
+ ## 1.0.89 (2024-02-21)
123
+
124
+
125
+
126
+ ## 1.0.88 (2024-02-21)
127
+
128
+
129
+
130
+ ## 1.0.87 (2024-02-20)
131
+
132
+
133
+
134
+ ## 1.0.86 (2024-02-20)
135
+
136
+
137
+
138
+ ## 1.0.85 (2024-02-13)
139
+
140
+
141
+
142
+ ## 1.0.84 (2024-02-13)
143
+
144
+
145
+
146
+ ## 1.0.83 (2024-02-09)
147
+
148
+ **Note:** Version bump only for package @oanda/labs-currency-strength-widget
149
+
150
+
151
+
152
+
153
+
6
154
  ## 1.0.16 (2024-03-07)
7
155
 
8
156
 
@@ -20,5 +20,5 @@ const lightBarColors = exports.lightBarColors = {
20
20
  negative: _labsWidgetCommon.colorPalette.raspberryDark,
21
21
  zero: _labsWidgetCommon.colorPalette.disabledGray
22
22
  };
23
- const instrumentsConfig = exports.instrumentsConfig = [_graphql.CurrencyName.Usd, _graphql.CurrencyName.Eur, _graphql.CurrencyName.Jpy, _graphql.CurrencyName.Gbp, _graphql.CurrencyName.Aud, _graphql.CurrencyName.Cad, _graphql.CurrencyName.Chf, _graphql.CurrencyName.Nzd];
23
+ const instrumentsConfig = exports.instrumentsConfig = [_graphql.CurrencyName.Usd, _graphql.CurrencyName.Eur, _graphql.CurrencyName.Gbp, _graphql.CurrencyName.Cad, _graphql.CurrencyName.Aud, _graphql.CurrencyName.Chf, _graphql.CurrencyName.Jpy, _graphql.CurrencyName.Nzd];
24
24
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["_labsWidgetCommon","require","_graphql","X_LABEL_SIZE","exports","Y_LABEL_SIZE","CHART_WIDTH","CHART_HEIGHT","darkBarColors","positive","colorPalette","bottleGreenLight","negative","orange","zero","disabledGray","lightBarColors","raspberryDark","instrumentsConfig","CurrencyName","Usd","Eur","Jpy","Gbp","Aud","Cad","Chf","Nzd"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/constants.tsx"],"sourcesContent":["import { colorPalette } from '@oanda/labs-widget-common';\nimport { CurrencyName } from '../../../gql/types/graphql';\n\nexport const X_LABEL_SIZE = 24;\nexport const Y_LABEL_SIZE = 30;\nexport const CHART_WIDTH = 9999;\nexport const CHART_HEIGHT = 135;\n\nexport const darkBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.orange,\n zero: colorPalette.disabledGray,\n};\n\nexport const lightBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.raspberryDark,\n zero: colorPalette.disabledGray,\n};\n\nexport const instrumentsConfig = [\n CurrencyName.Usd,\n CurrencyName.Eur,\n CurrencyName.Jpy,\n CurrencyName.Gbp,\n CurrencyName.Aud,\n CurrencyName.Cad,\n CurrencyName.Chf,\n CurrencyName.Nzd,\n];\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEO,MAAME,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,EAAE;AACvB,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GAAG,EAAE;AACvB,MAAMC,WAAW,GAAAF,OAAA,CAAAE,WAAA,GAAG,IAAI;AACxB,MAAMC,YAAY,GAAAH,OAAA,CAAAG,YAAA,GAAG,GAAG;AAExB,MAAMC,aAAa,GAAAJ,OAAA,CAAAI,aAAA,GAAG;EAC3BC,QAAQ,EAAEC,8BAAY,CAACC,gBAAgB;EACvCC,QAAQ,EAAEF,8BAAY,CAACG,MAAM;EAC7BC,IAAI,EAAEJ,8BAAY,CAACK;AACrB,CAAC;AAEM,MAAMC,cAAc,GAAAZ,OAAA,CAAAY,cAAA,GAAG;EAC5BP,QAAQ,EAAEC,8BAAY,CAACC,gBAAgB;EACvCC,QAAQ,EAAEF,8BAAY,CAACO,aAAa;EACpCH,IAAI,EAAEJ,8BAAY,CAACK;AACrB,CAAC;AAEM,MAAMG,iBAAiB,GAAAd,OAAA,CAAAc,iBAAA,GAAG,CAC/BC,qBAAY,CAACC,GAAG,EAChBD,qBAAY,CAACE,GAAG,EAChBF,qBAAY,CAACG,GAAG,EAChBH,qBAAY,CAACI,GAAG,EAChBJ,qBAAY,CAACK,GAAG,EAChBL,qBAAY,CAACM,GAAG,EAChBN,qBAAY,CAACO,GAAG,EAChBP,qBAAY,CAACQ,GAAG,CACjB","ignoreList":[]}
1
+ {"version":3,"file":"constants.js","names":["_labsWidgetCommon","require","_graphql","X_LABEL_SIZE","exports","Y_LABEL_SIZE","CHART_WIDTH","CHART_HEIGHT","darkBarColors","positive","colorPalette","bottleGreenLight","negative","orange","zero","disabledGray","lightBarColors","raspberryDark","instrumentsConfig","CurrencyName","Usd","Eur","Gbp","Cad","Aud","Chf","Jpy","Nzd"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/constants.tsx"],"sourcesContent":["import { colorPalette } from '@oanda/labs-widget-common';\nimport { CurrencyName } from '../../../gql/types/graphql';\n\nexport const X_LABEL_SIZE = 24;\nexport const Y_LABEL_SIZE = 30;\nexport const CHART_WIDTH = 9999;\nexport const CHART_HEIGHT = 135;\n\nexport const darkBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.orange,\n zero: colorPalette.disabledGray,\n};\n\nexport const lightBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.raspberryDark,\n zero: colorPalette.disabledGray,\n};\n\nexport const instrumentsConfig = [\n CurrencyName.Usd,\n CurrencyName.Eur,\n CurrencyName.Gbp,\n CurrencyName.Cad,\n CurrencyName.Aud,\n CurrencyName.Chf,\n CurrencyName.Jpy,\n CurrencyName.Nzd,\n];\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEO,MAAME,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,EAAE;AACvB,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GAAG,EAAE;AACvB,MAAMC,WAAW,GAAAF,OAAA,CAAAE,WAAA,GAAG,IAAI;AACxB,MAAMC,YAAY,GAAAH,OAAA,CAAAG,YAAA,GAAG,GAAG;AAExB,MAAMC,aAAa,GAAAJ,OAAA,CAAAI,aAAA,GAAG;EAC3BC,QAAQ,EAAEC,8BAAY,CAACC,gBAAgB;EACvCC,QAAQ,EAAEF,8BAAY,CAACG,MAAM;EAC7BC,IAAI,EAAEJ,8BAAY,CAACK;AACrB,CAAC;AAEM,MAAMC,cAAc,GAAAZ,OAAA,CAAAY,cAAA,GAAG;EAC5BP,QAAQ,EAAEC,8BAAY,CAACC,gBAAgB;EACvCC,QAAQ,EAAEF,8BAAY,CAACO,aAAa;EACpCH,IAAI,EAAEJ,8BAAY,CAACK;AACrB,CAAC;AAEM,MAAMG,iBAAiB,GAAAd,OAAA,CAAAc,iBAAA,GAAG,CAC/BC,qBAAY,CAACC,GAAG,EAChBD,qBAAY,CAACE,GAAG,EAChBF,qBAAY,CAACG,GAAG,EAChBH,qBAAY,CAACI,GAAG,EAChBJ,qBAAY,CAACK,GAAG,EAChBL,qBAAY,CAACM,GAAG,EAChBN,qBAAY,CAACO,GAAG,EAChBP,qBAAY,CAACQ,GAAG,CACjB","ignoreList":[]}
@@ -14,5 +14,5 @@ export const lightBarColors = {
14
14
  negative: colorPalette.raspberryDark,
15
15
  zero: colorPalette.disabledGray
16
16
  };
17
- export const instrumentsConfig = [CurrencyName.Usd, CurrencyName.Eur, CurrencyName.Jpy, CurrencyName.Gbp, CurrencyName.Aud, CurrencyName.Cad, CurrencyName.Chf, CurrencyName.Nzd];
17
+ export const instrumentsConfig = [CurrencyName.Usd, CurrencyName.Eur, CurrencyName.Gbp, CurrencyName.Cad, CurrencyName.Aud, CurrencyName.Chf, CurrencyName.Jpy, CurrencyName.Nzd];
18
18
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["colorPalette","CurrencyName","X_LABEL_SIZE","Y_LABEL_SIZE","CHART_WIDTH","CHART_HEIGHT","darkBarColors","positive","bottleGreenLight","negative","orange","zero","disabledGray","lightBarColors","raspberryDark","instrumentsConfig","Usd","Eur","Jpy","Gbp","Aud","Cad","Chf","Nzd"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/constants.tsx"],"sourcesContent":["import { colorPalette } from '@oanda/labs-widget-common';\nimport { CurrencyName } from '../../../gql/types/graphql';\n\nexport const X_LABEL_SIZE = 24;\nexport const Y_LABEL_SIZE = 30;\nexport const CHART_WIDTH = 9999;\nexport const CHART_HEIGHT = 135;\n\nexport const darkBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.orange,\n zero: colorPalette.disabledGray,\n};\n\nexport const lightBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.raspberryDark,\n zero: colorPalette.disabledGray,\n};\n\nexport const instrumentsConfig = [\n CurrencyName.Usd,\n CurrencyName.Eur,\n CurrencyName.Jpy,\n CurrencyName.Gbp,\n CurrencyName.Aud,\n CurrencyName.Cad,\n CurrencyName.Chf,\n CurrencyName.Nzd,\n];\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,2BAA2B;AACxD,SAASC,YAAY,QAAQ,4BAA4B;AAEzD,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B,OAAO,MAAMC,WAAW,GAAG,IAAI;AAC/B,OAAO,MAAMC,YAAY,GAAG,GAAG;AAE/B,OAAO,MAAMC,aAAa,GAAG;EAC3BC,QAAQ,EAAEP,YAAY,CAACQ,gBAAgB;EACvCC,QAAQ,EAAET,YAAY,CAACU,MAAM;EAC7BC,IAAI,EAAEX,YAAY,CAACY;AACrB,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG;EAC5BN,QAAQ,EAAEP,YAAY,CAACQ,gBAAgB;EACvCC,QAAQ,EAAET,YAAY,CAACc,aAAa;EACpCH,IAAI,EAAEX,YAAY,CAACY;AACrB,CAAC;AAED,OAAO,MAAMG,iBAAiB,GAAG,CAC/Bd,YAAY,CAACe,GAAG,EAChBf,YAAY,CAACgB,GAAG,EAChBhB,YAAY,CAACiB,GAAG,EAChBjB,YAAY,CAACkB,GAAG,EAChBlB,YAAY,CAACmB,GAAG,EAChBnB,YAAY,CAACoB,GAAG,EAChBpB,YAAY,CAACqB,GAAG,EAChBrB,YAAY,CAACsB,GAAG,CACjB","ignoreList":[]}
1
+ {"version":3,"file":"constants.js","names":["colorPalette","CurrencyName","X_LABEL_SIZE","Y_LABEL_SIZE","CHART_WIDTH","CHART_HEIGHT","darkBarColors","positive","bottleGreenLight","negative","orange","zero","disabledGray","lightBarColors","raspberryDark","instrumentsConfig","Usd","Eur","Gbp","Cad","Aud","Chf","Jpy","Nzd"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/constants.tsx"],"sourcesContent":["import { colorPalette } from '@oanda/labs-widget-common';\nimport { CurrencyName } from '../../../gql/types/graphql';\n\nexport const X_LABEL_SIZE = 24;\nexport const Y_LABEL_SIZE = 30;\nexport const CHART_WIDTH = 9999;\nexport const CHART_HEIGHT = 135;\n\nexport const darkBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.orange,\n zero: colorPalette.disabledGray,\n};\n\nexport const lightBarColors = {\n positive: colorPalette.bottleGreenLight,\n negative: colorPalette.raspberryDark,\n zero: colorPalette.disabledGray,\n};\n\nexport const instrumentsConfig = [\n CurrencyName.Usd,\n CurrencyName.Eur,\n CurrencyName.Gbp,\n CurrencyName.Cad,\n CurrencyName.Aud,\n CurrencyName.Chf,\n CurrencyName.Jpy,\n CurrencyName.Nzd,\n];\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,2BAA2B;AACxD,SAASC,YAAY,QAAQ,4BAA4B;AAEzD,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B,OAAO,MAAMC,WAAW,GAAG,IAAI;AAC/B,OAAO,MAAMC,YAAY,GAAG,GAAG;AAE/B,OAAO,MAAMC,aAAa,GAAG;EAC3BC,QAAQ,EAAEP,YAAY,CAACQ,gBAAgB;EACvCC,QAAQ,EAAET,YAAY,CAACU,MAAM;EAC7BC,IAAI,EAAEX,YAAY,CAACY;AACrB,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG;EAC5BN,QAAQ,EAAEP,YAAY,CAACQ,gBAAgB;EACvCC,QAAQ,EAAET,YAAY,CAACc,aAAa;EACpCH,IAAI,EAAEX,YAAY,CAACY;AACrB,CAAC;AAED,OAAO,MAAMG,iBAAiB,GAAG,CAC/Bd,YAAY,CAACe,GAAG,EAChBf,YAAY,CAACgB,GAAG,EAChBhB,YAAY,CAACiB,GAAG,EAChBjB,YAAY,CAACkB,GAAG,EAChBlB,YAAY,CAACmB,GAAG,EAChBnB,YAAY,CAACoB,GAAG,EAChBpB,YAAY,CAACqB,GAAG,EAChBrB,YAAY,CAACsB,GAAG,CACjB","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oanda/labs-currency-strength-widget",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Labs Currency Strength Widget",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -13,7 +13,7 @@
13
13
  "license": "UNLICENSED",
14
14
  "dependencies": {
15
15
  "@apollo/client": "3.7.17",
16
- "@oanda/labs-widget-common": "^1.0.98",
16
+ "@oanda/labs-widget-common": "^1.0.100",
17
17
  "@oanda/mono-i18n": "9.0.0",
18
18
  "classnames": "2.3.2",
19
19
  "echarts": "5.5.0",
@@ -25,5 +25,5 @@
25
25
  "@graphql-codegen/client-preset": "4.1.0",
26
26
  "@graphql-codegen/typescript": "4.0.1"
27
27
  },
28
- "gitHead": "6122902e4027d79f8317c4f1a201adb0279f2b6d"
28
+ "gitHead": "4ae82f29368fc1ce4384b1b0f9ece7159b42309c"
29
29
  }
@@ -21,10 +21,10 @@ export const lightBarColors = {
21
21
  export const instrumentsConfig = [
22
22
  CurrencyName.Usd,
23
23
  CurrencyName.Eur,
24
- CurrencyName.Jpy,
25
24
  CurrencyName.Gbp,
26
- CurrencyName.Aud,
27
25
  CurrencyName.Cad,
26
+ CurrencyName.Aud,
28
27
  CurrencyName.Chf,
28
+ CurrencyName.Jpy,
29
29
  CurrencyName.Nzd,
30
30
  ];
@@ -39,11 +39,11 @@ describe('sortData', () => {
39
39
  currencyStrength: [
40
40
  { currency: CurrencyName.Usd },
41
41
  { currency: CurrencyName.Eur },
42
- { currency: CurrencyName.Jpy },
43
42
  { currency: CurrencyName.Gbp },
44
- { currency: CurrencyName.Aud },
45
43
  { currency: CurrencyName.Cad },
44
+ { currency: CurrencyName.Aud },
46
45
  { currency: CurrencyName.Chf },
46
+ { currency: CurrencyName.Jpy },
47
47
  { currency: CurrencyName.Nzd },
48
48
  ],
49
49
  },
@@ -58,11 +58,11 @@ describe('sortData', () => {
58
58
  strengthRelation: [
59
59
  { currency: CurrencyName.Usd, percentage: 0.7 },
60
60
  { currency: CurrencyName.Eur, percentage: 0.2 },
61
- { currency: CurrencyName.Jpy, percentage: 0.4 },
62
61
  { currency: CurrencyName.Gbp, percentage: 0.1 },
63
- { currency: CurrencyName.Aud, percentage: 0.3 },
64
62
  { currency: CurrencyName.Cad, percentage: 0.8 },
63
+ { currency: CurrencyName.Aud, percentage: 0.3 },
65
64
  { currency: CurrencyName.Chf, percentage: 0.6 },
65
+ { currency: CurrencyName.Jpy, percentage: 0.4 },
66
66
  { currency: CurrencyName.Nzd, percentage: 0.5 },
67
67
  ],
68
68
  },