@oanda/labs-widget-common 1.0.233 → 1.0.235

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.
@@ -13,7 +13,7 @@ const chartIcons = exports.chartIcons = {
13
13
  const getLineCommons = isDark => ({
14
14
  type: 'line',
15
15
  silent: true,
16
- z: 1,
16
+ z: 10,
17
17
  style: {
18
18
  stroke: isDark ? _themeColors.themeColors.borderPrimary.dark : _themeColors.themeColors.borderPrimary.light,
19
19
  lineWidth: 1
@@ -1 +1 @@
1
- {"version":3,"file":"sharedOptions.js","names":["_themeColors","require","chartIcons","exports","zoomInIcon","zoomOutIcon","resetZoomIcon","getLineCommons","isDark","type","silent","z","style","stroke","themeColors","borderPrimary","dark","light","lineWidth"],"sources":["../../../src/chart/sharedOptions.ts"],"sourcesContent":["import { themeColors } from '../tailwind/themes/themeColors';\n\nexport const chartIcons = {\n zoomInIcon:\n 'path://M24.0002,22.0627L18.8692,19.3718 M14.0135,21.9651C17.3349,21.9651,20.0273,19.2726,20.0273,15.9513C20.0273,12.63,17.3349,9.9375,14.0135,9.9375C10.6922,9.9375,7.99976,12.63,7.99976,15.9513C7.99976,19.2726,10.6922,21.9651,14.0135,21.9651Z M11.0946,16H17.2786 M14.187,12.908L14.187,19.092',\n zoomOutIcon:\n 'M24.1252,22.0627L18.9942,19.3718 M14.1385,21.9651C17.4599,21.9651,20.1523,19.2726,20.1523,15.9513C20.1523,12.63,17.4599,9.9375,14.1385,9.9375C10.8172,9.9375,8.12476,12.63,8.12476,15.9513C8.12476,19.2726,10.8172,21.9651,14.1385,21.9651Z M11.1407,16H17.3248',\n resetZoomIcon:\n 'M10.3473,16C10.3473,12.1963,13.4305,9.11133,17.236,9.11133C21.0415,9.11133,24.1247,12.1963,24.1247,16C24.1247,19.8037,21.0397,22.8888,17.236,22.8888C15.1554,22.8888,13.2904,21.967,12.0273,20.5081 M12.5686,13.8962L10.3478,16.1188L8.12524,13.8962',\n};\n\nexport const getLineCommons = (isDark: boolean) => ({\n type: 'line',\n silent: true,\n z: 1,\n style: {\n stroke: isDark\n ? themeColors.borderPrimary.dark\n : themeColors.borderPrimary.light,\n lineWidth: 1,\n },\n});\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,UAAU,EACR,qSAAqS;EACvSC,WAAW,EACT,iQAAiQ;EACnQC,aAAa,EACX;AACJ,CAAC;AAEM,MAAMC,cAAc,GAAIC,MAAe,KAAM;EAClDC,IAAI,EAAE,MAAM;EACZC,MAAM,EAAE,IAAI;EACZC,CAAC,EAAE,CAAC;EACJC,KAAK,EAAE;IACLC,MAAM,EAAEL,MAAM,GACVM,wBAAW,CAACC,aAAa,CAACC,IAAI,GAC9BF,wBAAW,CAACC,aAAa,CAACE,KAAK;IACnCC,SAAS,EAAE;EACb;AACF,CAAC,CAAC;AAACf,OAAA,CAAAI,cAAA,GAAAA,cAAA","ignoreList":[]}
1
+ {"version":3,"file":"sharedOptions.js","names":["_themeColors","require","chartIcons","exports","zoomInIcon","zoomOutIcon","resetZoomIcon","getLineCommons","isDark","type","silent","z","style","stroke","themeColors","borderPrimary","dark","light","lineWidth"],"sources":["../../../src/chart/sharedOptions.ts"],"sourcesContent":["import { themeColors } from '../tailwind/themes/themeColors';\n\nexport const chartIcons = {\n zoomInIcon:\n 'path://M24.0002,22.0627L18.8692,19.3718 M14.0135,21.9651C17.3349,21.9651,20.0273,19.2726,20.0273,15.9513C20.0273,12.63,17.3349,9.9375,14.0135,9.9375C10.6922,9.9375,7.99976,12.63,7.99976,15.9513C7.99976,19.2726,10.6922,21.9651,14.0135,21.9651Z M11.0946,16H17.2786 M14.187,12.908L14.187,19.092',\n zoomOutIcon:\n 'M24.1252,22.0627L18.9942,19.3718 M14.1385,21.9651C17.4599,21.9651,20.1523,19.2726,20.1523,15.9513C20.1523,12.63,17.4599,9.9375,14.1385,9.9375C10.8172,9.9375,8.12476,12.63,8.12476,15.9513C8.12476,19.2726,10.8172,21.9651,14.1385,21.9651Z M11.1407,16H17.3248',\n resetZoomIcon:\n 'M10.3473,16C10.3473,12.1963,13.4305,9.11133,17.236,9.11133C21.0415,9.11133,24.1247,12.1963,24.1247,16C24.1247,19.8037,21.0397,22.8888,17.236,22.8888C15.1554,22.8888,13.2904,21.967,12.0273,20.5081 M12.5686,13.8962L10.3478,16.1188L8.12524,13.8962',\n};\n\nexport const getLineCommons = (isDark: boolean) => ({\n type: 'line',\n silent: true,\n z: 10,\n style: {\n stroke: isDark\n ? themeColors.borderPrimary.dark\n : themeColors.borderPrimary.light,\n lineWidth: 1,\n },\n});\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,UAAU,EACR,qSAAqS;EACvSC,WAAW,EACT,iQAAiQ;EACnQC,aAAa,EACX;AACJ,CAAC;AAEM,MAAMC,cAAc,GAAIC,MAAe,KAAM;EAClDC,IAAI,EAAE,MAAM;EACZC,MAAM,EAAE,IAAI;EACZC,CAAC,EAAE,EAAE;EACLC,KAAK,EAAE;IACLC,MAAM,EAAEL,MAAM,GACVM,wBAAW,CAACC,aAAa,CAACC,IAAI,GAC9BF,wBAAW,CAACC,aAAa,CAACE,KAAK;IACnCC,SAAS,EAAE;EACb;AACF,CAAC,CAAC;AAACf,OAAA,CAAAI,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -7,7 +7,7 @@ export const chartIcons = {
7
7
  export const getLineCommons = isDark => ({
8
8
  type: 'line',
9
9
  silent: true,
10
- z: 1,
10
+ z: 10,
11
11
  style: {
12
12
  stroke: isDark ? themeColors.borderPrimary.dark : themeColors.borderPrimary.light,
13
13
  lineWidth: 1
@@ -1 +1 @@
1
- {"version":3,"file":"sharedOptions.js","names":["themeColors","chartIcons","zoomInIcon","zoomOutIcon","resetZoomIcon","getLineCommons","isDark","type","silent","z","style","stroke","borderPrimary","dark","light","lineWidth"],"sources":["../../../src/chart/sharedOptions.ts"],"sourcesContent":["import { themeColors } from '../tailwind/themes/themeColors';\n\nexport const chartIcons = {\n zoomInIcon:\n 'path://M24.0002,22.0627L18.8692,19.3718 M14.0135,21.9651C17.3349,21.9651,20.0273,19.2726,20.0273,15.9513C20.0273,12.63,17.3349,9.9375,14.0135,9.9375C10.6922,9.9375,7.99976,12.63,7.99976,15.9513C7.99976,19.2726,10.6922,21.9651,14.0135,21.9651Z M11.0946,16H17.2786 M14.187,12.908L14.187,19.092',\n zoomOutIcon:\n 'M24.1252,22.0627L18.9942,19.3718 M14.1385,21.9651C17.4599,21.9651,20.1523,19.2726,20.1523,15.9513C20.1523,12.63,17.4599,9.9375,14.1385,9.9375C10.8172,9.9375,8.12476,12.63,8.12476,15.9513C8.12476,19.2726,10.8172,21.9651,14.1385,21.9651Z M11.1407,16H17.3248',\n resetZoomIcon:\n 'M10.3473,16C10.3473,12.1963,13.4305,9.11133,17.236,9.11133C21.0415,9.11133,24.1247,12.1963,24.1247,16C24.1247,19.8037,21.0397,22.8888,17.236,22.8888C15.1554,22.8888,13.2904,21.967,12.0273,20.5081 M12.5686,13.8962L10.3478,16.1188L8.12524,13.8962',\n};\n\nexport const getLineCommons = (isDark: boolean) => ({\n type: 'line',\n silent: true,\n z: 1,\n style: {\n stroke: isDark\n ? themeColors.borderPrimary.dark\n : themeColors.borderPrimary.light,\n lineWidth: 1,\n },\n});\n"],"mappings":"AAAA,SAASA,WAAW,QAAQ,gCAAgC;AAE5D,OAAO,MAAMC,UAAU,GAAG;EACxBC,UAAU,EACR,qSAAqS;EACvSC,WAAW,EACT,iQAAiQ;EACnQC,aAAa,EACX;AACJ,CAAC;AAED,OAAO,MAAMC,cAAc,GAAIC,MAAe,KAAM;EAClDC,IAAI,EAAE,MAAM;EACZC,MAAM,EAAE,IAAI;EACZC,CAAC,EAAE,CAAC;EACJC,KAAK,EAAE;IACLC,MAAM,EAAEL,MAAM,GACVN,WAAW,CAACY,aAAa,CAACC,IAAI,GAC9Bb,WAAW,CAACY,aAAa,CAACE,KAAK;IACnCC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"sharedOptions.js","names":["themeColors","chartIcons","zoomInIcon","zoomOutIcon","resetZoomIcon","getLineCommons","isDark","type","silent","z","style","stroke","borderPrimary","dark","light","lineWidth"],"sources":["../../../src/chart/sharedOptions.ts"],"sourcesContent":["import { themeColors } from '../tailwind/themes/themeColors';\n\nexport const chartIcons = {\n zoomInIcon:\n 'path://M24.0002,22.0627L18.8692,19.3718 M14.0135,21.9651C17.3349,21.9651,20.0273,19.2726,20.0273,15.9513C20.0273,12.63,17.3349,9.9375,14.0135,9.9375C10.6922,9.9375,7.99976,12.63,7.99976,15.9513C7.99976,19.2726,10.6922,21.9651,14.0135,21.9651Z M11.0946,16H17.2786 M14.187,12.908L14.187,19.092',\n zoomOutIcon:\n 'M24.1252,22.0627L18.9942,19.3718 M14.1385,21.9651C17.4599,21.9651,20.1523,19.2726,20.1523,15.9513C20.1523,12.63,17.4599,9.9375,14.1385,9.9375C10.8172,9.9375,8.12476,12.63,8.12476,15.9513C8.12476,19.2726,10.8172,21.9651,14.1385,21.9651Z M11.1407,16H17.3248',\n resetZoomIcon:\n 'M10.3473,16C10.3473,12.1963,13.4305,9.11133,17.236,9.11133C21.0415,9.11133,24.1247,12.1963,24.1247,16C24.1247,19.8037,21.0397,22.8888,17.236,22.8888C15.1554,22.8888,13.2904,21.967,12.0273,20.5081 M12.5686,13.8962L10.3478,16.1188L8.12524,13.8962',\n};\n\nexport const getLineCommons = (isDark: boolean) => ({\n type: 'line',\n silent: true,\n z: 10,\n style: {\n stroke: isDark\n ? themeColors.borderPrimary.dark\n : themeColors.borderPrimary.light,\n lineWidth: 1,\n },\n});\n"],"mappings":"AAAA,SAASA,WAAW,QAAQ,gCAAgC;AAE5D,OAAO,MAAMC,UAAU,GAAG;EACxBC,UAAU,EACR,qSAAqS;EACvSC,WAAW,EACT,iQAAiQ;EACnQC,aAAa,EACX;AACJ,CAAC;AAED,OAAO,MAAMC,cAAc,GAAIC,MAAe,KAAM;EAClDC,IAAI,EAAE,MAAM;EACZC,MAAM,EAAE,IAAI;EACZC,CAAC,EAAE,EAAE;EACLC,KAAK,EAAE;IACLC,MAAM,EAAEL,MAAM,GACVN,WAAW,CAACY,aAAa,CAACC,IAAI,GAC9Bb,WAAW,CAACY,aAAa,CAACE,KAAK;IACnCC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oanda/labs-widget-common",
3
- "version": "1.0.233",
3
+ "version": "1.0.235",
4
4
  "description": "Labs Widget Common",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -21,5 +21,5 @@
21
21
  "tailwind-merge": "2.2.2",
22
22
  "usehooks-ts": "3.0.2"
23
23
  },
24
- "gitHead": "b752d4ec60a8f713166f66cd7baad569484bec2f"
24
+ "gitHead": "4ee940ddbff3283e2d6e412b0216df56a4eff346"
25
25
  }
@@ -12,7 +12,7 @@ export const chartIcons = {
12
12
  export const getLineCommons = (isDark: boolean) => ({
13
13
  type: 'line',
14
14
  silent: true,
15
- z: 1,
15
+ z: 10,
16
16
  style: {
17
17
  stroke: isDark
18
18
  ? themeColors.borderPrimary.dark