back-testing-react 1.0.12 → 1.0.13
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/README.md +62 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/back-testing-map/back-testing-map.tsx +12 -1
- package/src/components/back-testing-wizard/back-testing-wizard.stories.tsx +2 -2
package/package.json
CHANGED
|
@@ -380,9 +380,20 @@ const BackTestingMap = forwardRef<BackTestingActions, BackTestingMapProps>((prop
|
|
|
380
380
|
MapView.STORMS + "5false",["get","color"],
|
|
381
381
|
Constants.COLOR_MUTED
|
|
382
382
|
],
|
|
383
|
-
'circle-radius':
|
|
383
|
+
'circle-radius': 10,
|
|
384
384
|
},
|
|
385
385
|
});
|
|
386
|
+
|
|
387
|
+
mapInstanceRef.current?.addLayer({
|
|
388
|
+
id: "singles-count",
|
|
389
|
+
type: "symbol",
|
|
390
|
+
source: TROPICAL_STORM_SOURCE,
|
|
391
|
+
layout: {
|
|
392
|
+
"text-field": "{category}",
|
|
393
|
+
"text-font": ["DIN Offc Pro Medium", "Arial Unicode MS Bold"],
|
|
394
|
+
"text-size": 12
|
|
395
|
+
}
|
|
396
|
+
});
|
|
386
397
|
|
|
387
398
|
const popup = new mapboxgl.Popup({
|
|
388
399
|
closeButton: false,
|
|
@@ -10,8 +10,8 @@ const Template: StoryFn<typeof BackTestingWizard> = (args) => <div style={{width
|
|
|
10
10
|
|
|
11
11
|
export const BackTestingWizardTest = Template.bind({});
|
|
12
12
|
BackTestingWizardTest.args = {
|
|
13
|
-
mapAccessToken:"
|
|
14
|
-
apiAccessToken:"
|
|
13
|
+
mapAccessToken:"",
|
|
14
|
+
apiAccessToken:"",
|
|
15
15
|
env:'uat',
|
|
16
16
|
selectedProxyPayoutOptionIndex:0,
|
|
17
17
|
proxyPayoutOptions: [
|