@buildcanada/charts 0.3.3 → 0.3.5

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.
Files changed (254) hide show
  1. package/package.json +1 -1
  2. package/src/components/GrapherTabIcon.tsx +1 -1
  3. package/src/components/GrapherTrendArrow.tsx +1 -1
  4. package/src/components/Halo/Halo.tsx +1 -1
  5. package/src/components/LabeledSwitch/LabeledSwitch.tsx +1 -1
  6. package/src/components/MarkdownTextWrap/MarkdownTextWrap.tsx +4 -4
  7. package/src/components/OverlayHeader.tsx +1 -1
  8. package/src/components/SimpleMarkdownText.tsx +1 -1
  9. package/src/components/TextWrap/TextWrap.tsx +1 -1
  10. package/src/components/index.ts +23 -23
  11. package/src/components/loadingIndicator/LoadingIndicator.tsx +1 -1
  12. package/src/core-table/ChartsTable.ts +7 -7
  13. package/src/core-table/CoreTable.ts +6 -6
  14. package/src/core-table/CoreTableColumns.ts +5 -5
  15. package/src/core-table/CoreTableUtils.ts +3 -3
  16. package/src/core-table/ErrorValues.ts +1 -1
  17. package/src/core-table/TableSynthesizers.ts +3 -3
  18. package/src/core-table/TableUtil.ts +2 -2
  19. package/src/core-table/Transforms.ts +3 -3
  20. package/src/core-table/index.ts +8 -8
  21. package/src/explorer/ColumnGrammar.ts +4 -4
  22. package/src/explorer/Explorer.sample.ts +4 -4
  23. package/src/explorer/Explorer.tsx +10 -10
  24. package/src/explorer/ExplorerConstants.ts +2 -2
  25. package/src/explorer/ExplorerControls.tsx +4 -4
  26. package/src/explorer/ExplorerDecisionMatrix.ts +7 -7
  27. package/src/explorer/ExplorerGrammar.ts +4 -4
  28. package/src/explorer/ExplorerProgram.ts +11 -11
  29. package/src/explorer/ExplorerUtils.ts +4 -4
  30. package/src/explorer/GrapherGrammar.ts +3 -3
  31. package/src/explorer/gridLang/GridCell.ts +4 -4
  32. package/src/explorer/gridLang/GridLangConstants.ts +1 -1
  33. package/src/explorer/gridLang/GridProgram.ts +5 -5
  34. package/src/explorer/index.ts +15 -15
  35. package/src/explorer/urlMigrations/CO2UrlMigration.ts +3 -3
  36. package/src/explorer/urlMigrations/CovidUrlMigration.ts +2 -2
  37. package/src/explorer/urlMigrations/EnergyUrlMigration.ts +3 -3
  38. package/src/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.ts +1 -1
  39. package/src/explorer/urlMigrations/ExplorerUrlMigrationUtils.ts +2 -2
  40. package/src/explorer/urlMigrations/ExplorerUrlMigrations.ts +5 -5
  41. package/src/explorer/urlMigrations/LegacyCovidUrlMigration.ts +4 -4
  42. package/src/grapher/axis/Axis.ts +5 -5
  43. package/src/grapher/axis/AxisConfig.ts +2 -2
  44. package/src/grapher/axis/AxisViews.tsx +2 -2
  45. package/src/grapher/barCharts/DiscreteBarChart.tsx +4 -4
  46. package/src/grapher/barCharts/DiscreteBarChartConstants.ts +4 -4
  47. package/src/grapher/barCharts/DiscreteBarChartHelpers.ts +3 -3
  48. package/src/grapher/barCharts/DiscreteBarChartState.ts +2 -2
  49. package/src/grapher/barCharts/DiscreteBarChartThumbnail.tsx +2 -2
  50. package/src/grapher/captionedChart/CaptionedChart.tsx +4 -4
  51. package/src/grapher/captionedChart/Logos.tsx +2 -2
  52. package/src/grapher/captionedChart/StaticChartRasterizer.tsx +1 -1
  53. package/src/grapher/chart/Chart.tsx +5 -5
  54. package/src/grapher/chart/ChartAreaContent.tsx +3 -3
  55. package/src/grapher/chart/ChartDimension.ts +2 -2
  56. package/src/grapher/chart/ChartInterface.ts +2 -2
  57. package/src/grapher/chart/ChartManager.ts +3 -3
  58. package/src/grapher/chart/ChartTabs.ts +1 -1
  59. package/src/grapher/chart/ChartTypeMap.tsx +9 -9
  60. package/src/grapher/chart/ChartTypeSwitcher.tsx +1 -1
  61. package/src/grapher/chart/ChartUtils.tsx +3 -3
  62. package/src/grapher/chart/DimensionSlot.ts +1 -1
  63. package/src/grapher/chart/StaticChartWrapper.tsx +5 -5
  64. package/src/grapher/chart/guidedChartUtils.ts +4 -4
  65. package/src/grapher/color/BinningStrategies.ts +4 -4
  66. package/src/grapher/color/BinningStrategyEqualSizeBins.ts +3 -3
  67. package/src/grapher/color/BinningStrategyLogarithmic.ts +3 -3
  68. package/src/grapher/color/CategoricalColorAssigner.ts +1 -1
  69. package/src/grapher/color/ColorBrewerSchemes.ts +1 -1
  70. package/src/grapher/color/ColorScale.ts +4 -4
  71. package/src/grapher/color/ColorScaleBin.ts +1 -1
  72. package/src/grapher/color/ColorScaleConfig.ts +2 -2
  73. package/src/grapher/color/ColorScheme.ts +2 -2
  74. package/src/grapher/color/ColorSchemes.ts +2 -2
  75. package/src/grapher/color/ColorUtils.ts +1 -1
  76. package/src/grapher/color/CustomSchemes.ts +2 -2
  77. package/src/grapher/comparisonLine/ComparisonLine.tsx +1 -1
  78. package/src/grapher/comparisonLine/ComparisonLineGenerator.ts +1 -1
  79. package/src/grapher/comparisonLine/ComparisonLineHelpers.ts +1 -1
  80. package/src/grapher/comparisonLine/CustomComparisonLine.tsx +3 -3
  81. package/src/grapher/comparisonLine/VerticalComparisonLine.tsx +2 -2
  82. package/src/grapher/controls/ActionButtons.tsx +4 -4
  83. package/src/grapher/controls/CommandPalette.tsx +1 -1
  84. package/src/grapher/controls/ContentSwitchers.tsx +3 -3
  85. package/src/grapher/controls/DataTableFilterDropdown.tsx +2 -2
  86. package/src/grapher/controls/Dropdown.tsx +1 -1
  87. package/src/grapher/controls/EntitySelectionToggle.tsx +1 -1
  88. package/src/grapher/controls/MapRegionDropdown.tsx +1 -1
  89. package/src/grapher/controls/MapResetButton.tsx +1 -1
  90. package/src/grapher/controls/MapZoomDropdown.tsx +2 -2
  91. package/src/grapher/controls/MapZoomToSelectionButton.tsx +1 -1
  92. package/src/grapher/controls/SearchField.tsx +1 -1
  93. package/src/grapher/controls/SettingsMenu.tsx +3 -3
  94. package/src/grapher/controls/ShareMenu.tsx +3 -3
  95. package/src/grapher/controls/SortIcon.tsx +1 -1
  96. package/src/grapher/controls/controlsRow/ControlsRow.tsx +1 -1
  97. package/src/grapher/controls/entityPicker/EntityPicker.tsx +2 -2
  98. package/src/grapher/controls/entityPicker/EntityPickerConstants.ts +3 -3
  99. package/src/grapher/controls/globalEntitySelector/GlobalEntitySelector.tsx +2 -2
  100. package/src/grapher/controls/settings/AbsRelToggle.tsx +2 -2
  101. package/src/grapher/controls/settings/AxisScaleToggle.tsx +1 -1
  102. package/src/grapher/controls/settings/FacetStrategySelector.tsx +1 -1
  103. package/src/grapher/controls/settings/FacetYDomainToggle.tsx +2 -2
  104. package/src/grapher/controls/settings/NoDataAreaToggle.tsx +1 -1
  105. package/src/grapher/controls/settings/ZoomToggle.tsx +1 -1
  106. package/src/grapher/core/EntitiesByRegionType.ts +2 -2
  107. package/src/grapher/core/EntityCodes.ts +2 -2
  108. package/src/grapher/core/EntityUrlBuilder.ts +2 -2
  109. package/src/grapher/core/FetchingGrapher.tsx +8 -8
  110. package/src/grapher/core/Grapher.tsx +6 -6
  111. package/src/grapher/core/GrapherAnalytics.ts +1 -1
  112. package/src/grapher/core/GrapherConstants.ts +3 -3
  113. package/src/grapher/core/GrapherState.tsx +38 -38
  114. package/src/grapher/core/GrapherUrl.ts +4 -4
  115. package/src/grapher/core/GrapherUrlMigrations.ts +1 -1
  116. package/src/grapher/core/GrapherUseHelpers.tsx +5 -5
  117. package/src/grapher/core/LegacyToChartsTable.ts +4 -4
  118. package/src/grapher/core/loadGrapherTableHelpers.ts +4 -4
  119. package/src/grapher/core/loadVariable.ts +2 -2
  120. package/src/grapher/core/relatedQuestion.ts +1 -1
  121. package/src/grapher/dataTable/DataTable.sample.ts +3 -3
  122. package/src/grapher/dataTable/DataTable.tsx +3 -3
  123. package/src/grapher/dataTable/DataTableConstants.ts +2 -2
  124. package/src/grapher/entitySelector/EntitySelector.tsx +7 -7
  125. package/src/grapher/facet/FacetChart.tsx +4 -4
  126. package/src/grapher/facet/FacetChartConstants.ts +2 -2
  127. package/src/grapher/facet/FacetMap.tsx +4 -4
  128. package/src/grapher/facet/FacetMapConstants.ts +1 -1
  129. package/src/grapher/focus/FocusArray.ts +2 -2
  130. package/src/grapher/footer/Footer.tsx +2 -2
  131. package/src/grapher/footer/FooterManager.ts +1 -1
  132. package/src/grapher/fullScreen/FullScreen.tsx +1 -1
  133. package/src/grapher/header/Header.tsx +2 -2
  134. package/src/grapher/header/HeaderManager.ts +2 -2
  135. package/src/grapher/index.ts +8 -8
  136. package/src/grapher/legend/HorizontalColorLegends.tsx +2 -2
  137. package/src/grapher/legend/LegendInteractionState.ts +1 -1
  138. package/src/grapher/legend/VerticalColorLegend.tsx +2 -2
  139. package/src/grapher/lineCharts/LineChart.tsx +6 -6
  140. package/src/grapher/lineCharts/LineChartConstants.ts +2 -2
  141. package/src/grapher/lineCharts/LineChartHelpers.ts +2 -2
  142. package/src/grapher/lineCharts/LineChartState.ts +3 -3
  143. package/src/grapher/lineCharts/LineChartThumbnail.tsx +3 -3
  144. package/src/grapher/lineCharts/Lines.tsx +1 -1
  145. package/src/grapher/lineLegend/LineLegend.tsx +6 -6
  146. package/src/grapher/lineLegend/LineLegendHelpers.ts +1 -1
  147. package/src/grapher/lineLegend/LineLegendTypes.ts +2 -2
  148. package/src/grapher/mapCharts/ChoroplethGlobe.tsx +1 -1
  149. package/src/grapher/mapCharts/ChoroplethMap.tsx +1 -1
  150. package/src/grapher/mapCharts/GeoFeatures.ts +1 -1
  151. package/src/grapher/mapCharts/GlobeController.ts +2 -2
  152. package/src/grapher/mapCharts/MapAnnotations.ts +1 -1
  153. package/src/grapher/mapCharts/MapChart.sample.ts +2 -2
  154. package/src/grapher/mapCharts/MapChart.tsx +6 -6
  155. package/src/grapher/mapCharts/MapChartConstants.ts +4 -4
  156. package/src/grapher/mapCharts/MapChartState.ts +3 -3
  157. package/src/grapher/mapCharts/MapComponents.tsx +2 -2
  158. package/src/grapher/mapCharts/MapConfig.ts +2 -2
  159. package/src/grapher/mapCharts/MapHelpers.ts +5 -5
  160. package/src/grapher/mapCharts/MapProjections.ts +2 -2
  161. package/src/grapher/mapCharts/MapSparkline.tsx +5 -5
  162. package/src/grapher/mapCharts/MapTooltip.tsx +6 -6
  163. package/src/grapher/modal/DownloadModal.tsx +7 -7
  164. package/src/grapher/modal/EmbedModal.tsx +2 -2
  165. package/src/grapher/modal/EntitySelectorModal.tsx +1 -1
  166. package/src/grapher/modal/Modal.tsx +1 -1
  167. package/src/grapher/modal/ModalHeader.tsx +1 -1
  168. package/src/grapher/modal/SourcesDescriptions.tsx +1 -1
  169. package/src/grapher/modal/SourcesKeyDataTable.tsx +2 -2
  170. package/src/grapher/modal/SourcesModal.tsx +4 -4
  171. package/src/grapher/noDataModal/NoDataModal.tsx +2 -2
  172. package/src/grapher/scatterCharts/ConnectedScatterLegend.tsx +2 -2
  173. package/src/grapher/scatterCharts/NoDataSection.tsx +1 -1
  174. package/src/grapher/scatterCharts/ScatterPlotChart.tsx +5 -5
  175. package/src/grapher/scatterCharts/ScatterPlotChartConstants.ts +4 -4
  176. package/src/grapher/scatterCharts/ScatterPlotChartState.ts +4 -4
  177. package/src/grapher/scatterCharts/ScatterPlotChartThumbnail.tsx +2 -2
  178. package/src/grapher/scatterCharts/ScatterPlotTooltip.tsx +3 -3
  179. package/src/grapher/scatterCharts/ScatterPoints.tsx +1 -1
  180. package/src/grapher/scatterCharts/ScatterPointsWithLabels.tsx +3 -3
  181. package/src/grapher/scatterCharts/ScatterSizeLegend.tsx +3 -3
  182. package/src/grapher/scatterCharts/ScatterUtils.ts +3 -3
  183. package/src/grapher/schema/defaultGrapherConfig.ts +1 -1
  184. package/src/grapher/schema/migrations/migrate.ts +1 -1
  185. package/src/grapher/schema/migrations/migrations.ts +1 -1
  186. package/src/grapher/selection/MapSelectionArray.ts +1 -1
  187. package/src/grapher/selection/SelectionArray.ts +1 -1
  188. package/src/grapher/sidePanel/SidePanel.tsx +2 -2
  189. package/src/grapher/slopeCharts/MarkX.tsx +1 -1
  190. package/src/grapher/slopeCharts/Slope.tsx +1 -1
  191. package/src/grapher/slopeCharts/SlopeChart.tsx +5 -5
  192. package/src/grapher/slopeCharts/SlopeChartConstants.ts +3 -3
  193. package/src/grapher/slopeCharts/SlopeChartHelpers.ts +1 -1
  194. package/src/grapher/slopeCharts/SlopeChartState.ts +3 -3
  195. package/src/grapher/slopeCharts/SlopeChartThumbnail.tsx +3 -3
  196. package/src/grapher/stackedCharts/AbstractStackedChartState.ts +13 -13
  197. package/src/grapher/stackedCharts/MarimekkoBars.tsx +1 -1
  198. package/src/grapher/stackedCharts/MarimekkoBarsForOneEntity.tsx +2 -2
  199. package/src/grapher/stackedCharts/MarimekkoChart.tsx +5 -5
  200. package/src/grapher/stackedCharts/MarimekkoChartConstants.ts +3 -3
  201. package/src/grapher/stackedCharts/MarimekkoChartState.ts +5 -5
  202. package/src/grapher/stackedCharts/MarimekkoChartThumbnail.tsx +2 -2
  203. package/src/grapher/stackedCharts/MarimekkoInternalLabels.tsx +2 -2
  204. package/src/grapher/stackedCharts/StackedAreaChart.tsx +6 -6
  205. package/src/grapher/stackedCharts/StackedAreaChartState.ts +5 -5
  206. package/src/grapher/stackedCharts/StackedAreaChartThumbnail.tsx +3 -3
  207. package/src/grapher/stackedCharts/StackedAreas.tsx +2 -2
  208. package/src/grapher/stackedCharts/StackedBarChart.tsx +6 -6
  209. package/src/grapher/stackedCharts/StackedBarChartState.ts +8 -8
  210. package/src/grapher/stackedCharts/StackedBarChartThumbnail.tsx +3 -3
  211. package/src/grapher/stackedCharts/StackedBarSegment.tsx +1 -1
  212. package/src/grapher/stackedCharts/StackedBars.tsx +3 -3
  213. package/src/grapher/stackedCharts/StackedConstants.ts +3 -3
  214. package/src/grapher/stackedCharts/StackedDiscreteBarChart.tsx +3 -3
  215. package/src/grapher/stackedCharts/StackedDiscreteBarChartState.ts +3 -3
  216. package/src/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.tsx +1 -1
  217. package/src/grapher/stackedCharts/StackedDiscreteBars.tsx +5 -5
  218. package/src/grapher/stackedCharts/StackedUtils.ts +2 -2
  219. package/src/grapher/testData/TestData.sample.ts +2 -2
  220. package/src/grapher/testData/TestData.ts +2 -2
  221. package/src/grapher/timeline/TimelineComponent.tsx +2 -2
  222. package/src/grapher/timeline/TimelineController.ts +2 -2
  223. package/src/grapher/tooltip/Tooltip.tsx +4 -4
  224. package/src/grapher/tooltip/TooltipContents.tsx +5 -5
  225. package/src/grapher/tooltip/TooltipProps.ts +1 -1
  226. package/src/grapher/tooltip/TooltipState.ts +1 -1
  227. package/src/grapher/verticalLabels/VerticalLabels.tsx +1 -1
  228. package/src/grapher/verticalLabels/VerticalLabelsState.ts +2 -2
  229. package/src/index.ts +55 -55
  230. package/src/types/Origin.ts +1 -1
  231. package/src/types/Variable.ts +3 -3
  232. package/src/types/VariableDisplayConfigInterface.ts +2 -2
  233. package/src/types/domainTypes/ContentGraph.ts +2 -2
  234. package/src/types/domainTypes/CoreTableTypes.ts +5 -5
  235. package/src/types/domainTypes/Posts.ts +4 -4
  236. package/src/types/domainTypes/Search.ts +2 -2
  237. package/src/types/gdocTypes/Gdoc.ts +2 -2
  238. package/src/types/grapherTypes/GrapherTypes.ts +9 -9
  239. package/src/types/index.ts +15 -15
  240. package/src/utils/Bounds.ts +2 -2
  241. package/src/utils/FuzzySearch.ts +1 -1
  242. package/src/utils/TimeBounds.ts +2 -2
  243. package/src/utils/Util.ts +3 -3
  244. package/src/utils/Variable.ts +2 -2
  245. package/src/utils/archival/archivalDate.ts +2 -2
  246. package/src/utils/formatValue.ts +2 -2
  247. package/src/utils/grapherConfigUtils.ts +1 -1
  248. package/src/utils/image.ts +2 -2
  249. package/src/utils/index.ts +27 -27
  250. package/src/utils/metadataHelpers.ts +3 -3
  251. package/src/utils/regions.ts +2 -2
  252. package/src/utils/urls/Url.ts +3 -3
  253. package/src/utils/urls/UrlMigration.ts +1 -1
  254. package/src/utils/urls/UrlUtils.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  import * as React from "react"
2
2
  import { observer } from "mobx-react"
3
3
  import { computed, action, makeObservable } from "mobx"
4
- import { Bounds } from "../../utils/index.js"
4
+ import { Bounds } from "../../utils/index.ts"
5
5
  import { Modal } from "./Modal"
6
6
  import {
7
7
  EntitySelector,
@@ -1,5 +1,5 @@
1
1
  import * as React from "react"
2
- import { Bounds, bind } from "../../utils/index.js"
2
+ import { Bounds, bind } from "../../utils/index.ts"
3
3
  import {
4
4
  isElementInteractive,
5
5
  isTargetOutsideElement,
@@ -1,4 +1,4 @@
1
- import { CloseButton } from "../../components/index.js"
1
+ import { CloseButton } from "../../components/index.ts"
2
2
 
3
3
  export function ModalHeader({
4
4
  title,
@@ -4,7 +4,7 @@ import {
4
4
  ExpandableToggle,
5
5
  HtmlOrSimpleMarkdownText,
6
6
  SimpleMarkdownText,
7
- } from "../../components/index.js"
7
+ } from "../../components/index.ts"
8
8
 
9
9
  interface SourcesDescriptionsProps {
10
10
  descriptionShort?: string
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
2
  import { Fragment } from "react"
3
3
  import cx from "classnames"
4
- import { ProcessingLevel, excludeNull } from "../../utils/index.js"
4
+ import { ProcessingLevel, excludeNull } from "../../utils/index.ts"
5
5
  import {
6
6
  makeSource,
7
7
  makeLastUpdated,
@@ -10,7 +10,7 @@ import {
10
10
  makeUnit,
11
11
  makeUnitConversionFactor,
12
12
  makeLinks,
13
- } from "../../components/index.js"
13
+ } from "../../components/index.ts"
14
14
  import * as R from "remeda"
15
15
 
16
16
  interface SourcesKeyDataTableProps {
@@ -13,7 +13,7 @@ import {
13
13
  joinTitleFragments,
14
14
  getCitationShort,
15
15
  getCitationLong,
16
- } from "../../utils/index.js"
16
+ } from "../../utils/index.ts"
17
17
  import {
18
18
  IndicatorSources,
19
19
  IndicatorProcessing,
@@ -23,15 +23,15 @@ import {
23
23
  CLOSE_BUTTON_WIDTH,
24
24
  CloseButton,
25
25
  LoadingIndicator,
26
- } from "../../components/index.js"
26
+ } from "../../components/index.ts"
27
27
  import * as React from "react"
28
28
  import cx from "classnames"
29
29
  import { action, computed, makeObservable, observable } from "mobx"
30
30
  import { observer } from "mobx-react"
31
31
  import { faPencilAlt } from "@fortawesome/free-solid-svg-icons"
32
32
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
33
- import { ColumnDef } from "../../types/index.js"
34
- import { CoreColumn } from "../../core-table/index.js"
33
+ import { ColumnDef } from "../../types/index.ts"
34
+ import { CoreColumn } from "../../core-table/index.ts"
35
35
  import { Modal } from "./Modal"
36
36
  import { SourcesKeyDataTable } from "./SourcesKeyDataTable"
37
37
  import { SourcesDescriptions } from "./SourcesDescriptions"
@@ -2,7 +2,7 @@ import * as React from "react"
2
2
  import { computed, makeObservable } from "mobx"
3
3
  import { observer } from "mobx-react"
4
4
  import a from "indefinite"
5
- import { Bounds, VerticalAlign, dyFromAlign } from "../../utils/index.js"
5
+ import { Bounds, VerticalAlign, dyFromAlign } from "../../utils/index.ts"
6
6
  import {
7
7
  BASE_FONT_SIZE,
8
8
  DEFAULT_GRAPHER_BOUNDS,
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_GRAPHER_ENTITY_TYPE_PLURAL,
11
11
  GRAPHER_TEXT_OUTLINE_FACTOR,
12
12
  } from "../core/GrapherConstants"
13
- import { Halo } from "../../components/index.js"
13
+ import { Halo } from "../../components/index.ts"
14
14
  import { GRAPHER_DARK_TEXT, GRAPHER_LIGHT_TEXT } from "../color/ColorConstants"
15
15
 
16
16
  export interface NoDataModalManager {
@@ -1,9 +1,9 @@
1
1
  import * as React from "react"
2
2
  import { computed, makeObservable } from "mobx"
3
3
  import { Triangle } from "./Triangle"
4
- import { TextWrap } from "../../components/index.js"
4
+ import { TextWrap } from "../../components/index.ts"
5
5
  import { BASE_FONT_SIZE } from "../core/GrapherConstants"
6
- import { makeIdForHumanConsumption } from "../../utils/index.js"
6
+ import { makeIdForHumanConsumption } from "../../utils/index.ts"
7
7
  import * as _ from "lodash-es"
8
8
 
9
9
  export interface ConnectedScatterLegendManager {
@@ -1,5 +1,5 @@
1
1
  import * as React from "react"
2
- import { Bounds, HorizontalAlign } from "../../utils/index.js"
2
+ import { Bounds, HorizontalAlign } from "../../utils/index.ts"
3
3
  import {
4
4
  GRAPHER_FONT_SCALE_11,
5
5
  GRAPHER_FONT_SCALE_12,
@@ -1,6 +1,6 @@
1
1
  import * as _ from "lodash-es"
2
2
  import React from "react"
3
- import { EntitySelectionMode, SeriesName, Color } from "../../types/index.js"
3
+ import { EntitySelectionMode, SeriesName, Color } from "../../types/index.ts"
4
4
  import { observable, computed, action, makeObservable } from "mobx"
5
5
  import { ScaleLinear, scaleSqrt } from "d3-scale"
6
6
  import { Quadtree, quadtree } from "d3-quadtree"
@@ -15,7 +15,7 @@ import {
15
15
  Bounds,
16
16
  isTouchDevice,
17
17
  makeIdForHumanConsumption,
18
- } from "../../utils/index.js"
18
+ } from "../../utils/index.ts"
19
19
  import { observer } from "mobx-react"
20
20
  import { NoDataModal } from "../noDataModal/NoDataModal"
21
21
  import {
@@ -26,7 +26,7 @@ import {
26
26
  ChartsTable,
27
27
  isNotErrorValue,
28
28
  CoreColumn,
29
- } from "../../core-table/index.js"
29
+ } from "../../core-table/index.ts"
30
30
  import {
31
31
  ConnectedScatterLegend,
32
32
  ConnectedScatterLegendManager,
@@ -66,8 +66,8 @@ import {
66
66
  import { TooltipState } from "../tooltip/Tooltip"
67
67
  import { NoDataSection } from "./NoDataSection"
68
68
  import { ScatterPlotChartState } from "./ScatterPlotChartState"
69
- import { ChartComponentProps } from "../chart/ChartTypeMap.js"
70
- import { toSizeRange } from "./ScatterUtils.js"
69
+ import { ChartComponentProps } from "../chart/ChartTypeMap.tsx"
70
+ import { toSizeRange } from "./ScatterUtils.ts"
71
71
  import { ScatterPlotTooltip } from "./ScatterPlotTooltip"
72
72
  import { GRAY_100, GRAY_60 } from "../color/ColorConstants"
73
73
  import { INACTIVE_SCATTER_POINT_COLOR } from "./ScatterPoints"
@@ -1,6 +1,6 @@
1
1
  import { ScaleLinear } from "d3-scale"
2
2
  import { Quadtree } from "d3-quadtree"
3
- import { ChartsTable } from "../../core-table/index.js"
3
+ import { ChartsTable } from "../../core-table/index.ts"
4
4
  import { DualAxis } from "../axis/Axis"
5
5
  import { ChartManager } from "../chart/ChartManager"
6
6
  import { NoDataModalManager } from "../noDataModal/NoDataModal"
@@ -12,7 +12,7 @@ import {
12
12
  Color,
13
13
  Time,
14
14
  EntityName,
15
- } from "../../types/index.js"
15
+ } from "../../types/index.ts"
16
16
  import {
17
17
  GRAPHER_FONT_SCALE_10,
18
18
  GRAPHER_FONT_SCALE_10_5,
@@ -20,9 +20,9 @@ import {
20
20
  GRAPHER_FONT_SCALE_13,
21
21
  } from "../core/GrapherConstants"
22
22
 
23
- import { Bounds, PointVector } from "../../utils/index.js"
23
+ import { Bounds, PointVector } from "../../utils/index.ts"
24
24
  import { ChartSeries } from "../chart/ChartInterface"
25
- import { InteractionState } from "../interaction/InteractionState.js"
25
+ import { InteractionState } from "../interaction/InteractionState.ts"
26
26
 
27
27
  export interface ScatterPlotManager extends ChartManager {
28
28
  hideConnectedScatterLines?: boolean
@@ -5,7 +5,7 @@ import {
5
5
  defaultIfErrorValue,
6
6
  isNotErrorValue,
7
7
  ChartsTable,
8
- } from "../../core-table/index.js"
8
+ } from "../../core-table/index.ts"
9
9
  import { ChartState } from "../chart/ChartInterface"
10
10
  import { ColorScale, ColorScaleManager } from "../color/ColorScale"
11
11
  import {
@@ -29,12 +29,12 @@ import {
29
29
  ColorScaleConfigInterface,
30
30
  SeriesName,
31
31
  ValueRange,
32
- } from "../../types/index.js"
32
+ } from "../../types/index.ts"
33
33
  import {
34
34
  domainExtent,
35
35
  intersection,
36
36
  lowerCaseFirstLetterUnlessAbbreviation,
37
- } from "../../utils/index.js"
37
+ } from "../../utils/index.ts"
38
38
  import { ColorScaleConfig } from "../color/ColorScaleConfig"
39
39
  import { NO_DATA_GRAY } from "../color/ColorConstants"
40
40
  import { AxisConfig } from "../axis/AxisConfig"
@@ -42,7 +42,7 @@ import { BASE_FONT_SIZE } from "../core/GrapherConstants"
42
42
  import { SelectionArray } from "../selection/SelectionArray"
43
43
  import { computeSizeDomain } from "./ScatterUtils"
44
44
  import { FocusArray } from "../focus/FocusArray"
45
- import { HorizontalAxis, VerticalAxis } from "../axis/Axis.js"
45
+ import { HorizontalAxis, VerticalAxis } from "../axis/Axis.ts"
46
46
 
47
47
  export class ScatterPlotChartState implements ChartState, ColorScaleManager {
48
48
  manager: ScatterPlotManager
@@ -4,10 +4,10 @@ import { computed, makeObservable } from "mobx"
4
4
  import { observer } from "mobx-react"
5
5
  import { ChartInterface } from "../chart/ChartInterface"
6
6
  import { ScatterPlotChartState } from "./ScatterPlotChartState"
7
- import { type ScatterPlotChartProps } from "./ScatterPlotChart.js"
7
+ import { type ScatterPlotChartProps } from "./ScatterPlotChart.tsx"
8
8
  import { ScaleLinear, scaleSqrt } from "d3-scale"
9
9
  import { DualAxis, HorizontalAxis, VerticalAxis } from "../axis/Axis"
10
- import { Bounds } from "../../utils/index.js"
10
+ import { Bounds } from "../../utils/index.ts"
11
11
  import {
12
12
  BASE_FONT_SIZE,
13
13
  DEFAULT_GRAPHER_BOUNDS,
@@ -9,8 +9,8 @@ import {
9
9
  calculateTrendDirection,
10
10
  Time,
11
11
  RequiredBy,
12
- } from "../../utils/index.js"
13
- import { CoreColumn } from "../../core-table/index.js"
12
+ } from "../../utils/index.ts"
13
+ import { CoreColumn } from "../../core-table/index.ts"
14
14
  import {
15
15
  Tooltip,
16
16
  TooltipState,
@@ -20,7 +20,7 @@ import {
20
20
  formatTooltipRangeValues,
21
21
  TooltipValue,
22
22
  } from "../tooltip/Tooltip"
23
- import { FooterItem, TooltipFooterIcon } from "../tooltip/TooltipProps.js"
23
+ import { FooterItem, TooltipFooterIcon } from "../tooltip/TooltipProps.ts"
24
24
  import { ScatterSeries, SeriesPoint } from "./ScatterPlotChartConstants"
25
25
  import { ScatterPlotChartState } from "./ScatterPlotChartState"
26
26
 
@@ -1,5 +1,5 @@
1
1
  import * as R from "remeda"
2
- import { PointVector, makeIdForHumanConsumption } from "../../utils/index.js"
2
+ import { PointVector, makeIdForHumanConsumption } from "../../utils/index.ts"
3
3
  import { observer } from "mobx-react"
4
4
  import * as React from "react"
5
5
  import { MultiColorPolyline } from "./MultiColorPolyline"
@@ -3,7 +3,7 @@ import * as R from "remeda"
3
3
  import { type BaseType, type Selection, select } from "d3-selection"
4
4
  import { ScaleLinear } from "d3-scale"
5
5
  import { NoDataModal } from "../noDataModal/NoDataModal"
6
- import { SortOrder } from "../../types/index.js"
6
+ import { SortOrder } from "../../types/index.ts"
7
7
  import {
8
8
  Bounds,
9
9
  PointVector,
@@ -13,11 +13,11 @@ import {
13
13
  intersection,
14
14
  guid,
15
15
  makeIdForHumanConsumption,
16
- } from "../../utils/index.js"
16
+ } from "../../utils/index.ts"
17
17
  import { computed, action, observable, makeObservable } from "mobx"
18
18
  import { observer } from "mobx-react"
19
19
  import * as React from "react"
20
- import { Halo } from "../../components/index.js"
20
+ import { Halo } from "../../components/index.ts"
21
21
  import { MultiColorPolyline } from "./MultiColorPolyline"
22
22
  import {
23
23
  ScatterPointsWithLabelsProps,
@@ -2,19 +2,19 @@ import * as React from "react"
2
2
  import * as R from "remeda"
3
3
  import { computed, makeObservable } from "mobx"
4
4
  import { scaleLinear, ScaleLinear } from "d3-scale"
5
- import { TextWrap, Halo } from "../../components/index.js"
5
+ import { TextWrap, Halo } from "../../components/index.ts"
6
6
  import {
7
7
  Color,
8
8
  makeIdForHumanConsumption,
9
9
  VariableRoundingMode,
10
- } from "../../utils/index.js"
10
+ } from "../../utils/index.ts"
11
11
  import {
12
12
  BASE_FONT_SIZE,
13
13
  GRAPHER_FONT_SCALE_10,
14
14
  GRAPHER_FONT_SCALE_11,
15
15
  GRAPHER_TEXT_OUTLINE_FACTOR,
16
16
  } from "../core/GrapherConstants"
17
- import { CoreColumn } from "../../core-table/index.js"
17
+ import { CoreColumn } from "../../core-table/index.ts"
18
18
  import {
19
19
  ScatterSeries,
20
20
  SCATTER_POINT_MAX_RADIUS,
@@ -5,7 +5,7 @@ import {
5
5
  ColumnSlug,
6
6
  PointVector,
7
7
  ValueRange,
8
- } from "../../utils/index.js"
8
+ } from "../../utils/index.ts"
9
9
  import {
10
10
  SCATTER_LABEL_FONT_SIZE_FACTOR_WHEN_HIDDEN_LINES,
11
11
  SCATTER_LINE_DEFAULT_WIDTH,
@@ -16,9 +16,9 @@ import {
16
16
  ScatterRenderPoint,
17
17
  ScatterRenderSeries,
18
18
  } from "./ScatterPlotChartConstants"
19
- import { BASE_FONT_SIZE } from "../core/GrapherConstants.js"
19
+ import { BASE_FONT_SIZE } from "../core/GrapherConstants.ts"
20
20
  import { ScatterPlotChartState } from "./ScatterPlotChartState"
21
- import { ChartsTable } from "../../core-table/index.js"
21
+ import { ChartsTable } from "../../core-table/index.ts"
22
22
 
23
23
  export const labelPriority = (label: ScatterLabel): number => {
24
24
  let priority = label.fontSize
@@ -2,7 +2,7 @@
2
2
 
3
3
  // GENERATED BY devTools/schema/generate-default-object-from-schema.ts
4
4
 
5
- import { GrapherInterface } from "../../types/index.js"
5
+ import { GrapherInterface } from "../../types/index.ts"
6
6
 
7
7
  export const latestSchemaVersion = "009" as const
8
8
  export const outdatedSchemaVersions = [
@@ -1,5 +1,5 @@
1
1
  import * as _ from "lodash-es"
2
- import { GrapherInterface } from "../../../types/index.js"
2
+ import { GrapherInterface } from "../../../types/index.ts"
3
3
 
4
4
  import { defaultGrapherConfig } from "../defaultGrapherConfig"
5
5
  import {
@@ -15,7 +15,7 @@ import {
15
15
  getSchemaVersion,
16
16
  isLatestVersion,
17
17
  } from "./helpers"
18
- import { GRAPHER_CHART_TYPES } from "../../../types/index.js"
18
+ import { GRAPHER_CHART_TYPES } from "../../../types/index.ts"
19
19
 
20
20
  // see # legacy commit 26f2a0d1790c71bdda7e12f284ca552945d2f6ef
21
21
  const migrateFrom001To002 = (
@@ -12,7 +12,7 @@ import {
12
12
  getRegionByName,
13
13
  IncomeGroup,
14
14
  Region,
15
- } from "../../utils/index.js"
15
+ } from "../../utils/index.ts"
16
16
  import * as R from "remeda"
17
17
 
18
18
  export class MapSelectionArray extends SelectionArray {
@@ -1,4 +1,4 @@
1
- import { EntityName } from "../../types/index.js"
1
+ import { EntityName } from "../../types/index.ts"
2
2
  import { action, computed, observable, makeObservable } from "mobx"
3
3
 
4
4
  export class SelectionArray {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react"
2
- import { Bounds } from "../../utils/index.js"
3
- import { GRAPHER_SIDE_PANEL_CLASS } from "../core/GrapherConstants.js"
2
+ import { Bounds } from "../../utils/index.ts"
3
+ import { GRAPHER_SIDE_PANEL_CLASS } from "../core/GrapherConstants.ts"
4
4
 
5
5
  export const SidePanel = ({
6
6
  bounds,
@@ -2,7 +2,7 @@ import {
2
2
  dyFromAlign,
3
3
  makeIdForHumanConsumption,
4
4
  VerticalAlign,
5
- } from "../../utils/index.js"
5
+ } from "../../utils/index.ts"
6
6
  import { GRAPHER_DARK_TEXT } from "../color/ColorConstants"
7
7
 
8
8
  export function MarkX({
@@ -1,4 +1,4 @@
1
- import { makeIdForHumanConsumption, PointVector } from "../../utils/index.js"
1
+ import { makeIdForHumanConsumption, PointVector } from "../../utils/index.ts"
2
2
  import { GRAPHER_OPACITY_MUTE } from "../core/GrapherConstants"
3
3
  import { RenderSlopeChartSeries } from "./SlopeChartConstants"
4
4
 
@@ -13,7 +13,7 @@ import {
13
13
  isTouchDevice,
14
14
  domainExtent,
15
15
  calculateTrendDirection,
16
- } from "../../utils/index.js"
16
+ } from "../../utils/index.ts"
17
17
  import { observable, computed, action, makeObservable } from "mobx"
18
18
  import { observer } from "mobx-react"
19
19
  import { NoDataModal } from "../noDataModal/NoDataModal"
@@ -31,7 +31,7 @@ import {
31
31
  SeriesStrategy,
32
32
  VerticalAlign,
33
33
  HorizontalAlign,
34
- } from "../../types/index.js"
34
+ } from "../../types/index.ts"
35
35
  import { ChartInterface } from "../chart/ChartInterface"
36
36
  import { scaleLinear, ScaleLinear } from "d3-scale"
37
37
  import { select, type BaseType, type Selection } from "d3-selection"
@@ -42,7 +42,7 @@ import {
42
42
  SlopeChartSeries,
43
43
  SlopeChartManager,
44
44
  } from "./SlopeChartConstants"
45
- import { CoreColumn } from "../../core-table/index.js"
45
+ import { CoreColumn } from "../../core-table/index.ts"
46
46
  import { getHoverStateForSeries } from "../chart/ChartUtils"
47
47
  import { VerticalAxis } from "../axis/Axis"
48
48
  import { VerticalAxisZeroLine } from "../axis/AxisViews"
@@ -59,7 +59,7 @@ import {
59
59
  } from "../tooltip/Tooltip"
60
60
  import { TooltipFooterIcon } from "../tooltip/TooltipProps"
61
61
 
62
- import { Halo } from "../../components/index.js"
62
+ import { Halo } from "../../components/index.ts"
63
63
  import { HorizontalColorLegendManager } from "../legend/HorizontalColorLegends"
64
64
  import { CategoricalBin } from "../color/ColorScaleBin"
65
65
  import {
@@ -70,7 +70,7 @@ import { FocusArray } from "../focus/FocusArray"
70
70
  import { LineLabelSeries } from "../lineLegend/LineLegendTypes"
71
71
  import { SlopeChartState } from "./SlopeChartState"
72
72
  import { AxisConfig, AxisManager } from "../axis/AxisConfig"
73
- import { ChartComponentProps } from "../chart/ChartTypeMap.js"
73
+ import { ChartComponentProps } from "../chart/ChartTypeMap.tsx"
74
74
  import { InteractionState } from "../interaction/InteractionState"
75
75
  import {
76
76
  getYAxisConfigDefaults,
@@ -1,7 +1,7 @@
1
- import { PartialBy, PointVector } from "../../utils/index.js"
2
- import { EntityName, VariableRow } from "../../types/index.js"
1
+ import { PartialBy, PointVector } from "../../utils/index.ts"
2
+ import { EntityName, VariableRow } from "../../types/index.ts"
3
3
  import { ChartSeries } from "../chart/ChartInterface"
4
- import { CoreColumn } from "../../core-table/index.js"
4
+ import { CoreColumn } from "../../core-table/index.ts"
5
5
  import { ChartManager } from "../chart/ChartManager"
6
6
  import { InteractionState } from "../interaction/InteractionState"
7
7
 
@@ -4,7 +4,7 @@ import {
4
4
  PointVector,
5
5
  ScaleType,
6
6
  SeriesName,
7
- } from "../../utils/index.js"
7
+ } from "../../utils/index.ts"
8
8
  import { VerticalAxis } from "../axis/Axis"
9
9
  import {
10
10
  PlacedSlopeChartSeries,
@@ -5,7 +5,7 @@ import {
5
5
  RawSlopeChartSeries,
6
6
  SlopeChartSeries,
7
7
  } from "./SlopeChartConstants"
8
- import { ChartsTable, CoreColumn } from "../../core-table/index.js"
8
+ import { ChartsTable, CoreColumn } from "../../core-table/index.ts"
9
9
  import { SelectionArray } from "../selection/SelectionArray"
10
10
  import { FocusArray } from "../focus/FocusArray"
11
11
  import {
@@ -18,7 +18,7 @@ import {
18
18
  EntityName,
19
19
  ColorSchemeName,
20
20
  ChartErrorInfo,
21
- } from "../../types/index.js"
21
+ } from "../../types/index.ts"
22
22
  import {
23
23
  autoDetectSeriesStrategy,
24
24
  autoDetectYColumnSlugs,
@@ -37,7 +37,7 @@ import {
37
37
  getDisplayName,
38
38
  getSeriesName,
39
39
  } from "../lineCharts/LineChartHelpers"
40
- import { domainExtent } from "../../utils/index.js"
40
+ import { domainExtent } from "../../utils/index.ts"
41
41
  import { AxisConfig } from "../axis/AxisConfig"
42
42
  import { VerticalAxis } from "../axis/Axis"
43
43
 
@@ -4,8 +4,8 @@ import { computed, makeObservable } from "mobx"
4
4
  import { observer } from "mobx-react"
5
5
  import { scaleLinear, ScaleLinear } from "d3-scale"
6
6
  import { ChartInterface } from "../chart/ChartInterface"
7
- import { SlopeChartState } from "./SlopeChartState.js"
8
- import { type SlopeChartProps } from "./SlopeChart.js"
7
+ import { SlopeChartState } from "./SlopeChartState.ts"
8
+ import { type SlopeChartProps } from "./SlopeChart.tsx"
9
9
  import {
10
10
  PlacedSlopeChartSeries,
11
11
  RenderSlopeChartSeries,
@@ -23,7 +23,7 @@ import {
23
23
  DEFAULT_GRAPHER_BOUNDS,
24
24
  GRAPHER_FONT_SCALE_12,
25
25
  } from "../core/GrapherConstants"
26
- import { Bounds, SeriesName } from "../../utils/index.js"
26
+ import { Bounds, SeriesName } from "../../utils/index.ts"
27
27
  import { VerticalAxis } from "../axis/Axis"
28
28
  import { Slope } from "./Slope"
29
29
  import {
@@ -1,7 +1,7 @@
1
1
  import * as _ from "lodash-es"
2
2
  import * as R from "remeda"
3
- import { ChartState } from "../chart/ChartInterface.js"
4
- import { ChartManager } from "../chart/ChartManager.js"
3
+ import { ChartState } from "../chart/ChartInterface.ts"
4
+ import { ChartManager } from "../chart/ChartManager.ts"
5
5
  import {
6
6
  ChartErrorInfo,
7
7
  ColorSchemeName,
@@ -9,35 +9,35 @@ import {
9
9
  MissingDataStrategy,
10
10
  SeriesName,
11
11
  SeriesStrategy,
12
- } from "../../types/index.js"
12
+ } from "../../types/index.ts"
13
13
  import { computed, makeObservable } from "mobx"
14
14
  import {
15
15
  StackedPoint,
16
16
  StackedRawSeries,
17
17
  StackedSeries,
18
- } from "./StackedConstants.js"
18
+ } from "./StackedConstants.ts"
19
19
  import {
20
20
  ChartsTable,
21
21
  CoreColumn,
22
22
  isNotErrorValueOrEmptyCell,
23
- } from "../../core-table/index.js"
23
+ } from "../../core-table/index.ts"
24
24
  import {
25
25
  autoDetectSeriesStrategy,
26
26
  autoDetectYColumnSlugs,
27
27
  getDefaultFailMessage,
28
28
  getShortNameForEntity,
29
29
  makeSelectionArray,
30
- } from "../chart/ChartUtils.js"
31
- import { ColorSchemes } from "../color/ColorSchemes.js"
32
- import { SelectionArray } from "../selection/SelectionArray.js"
30
+ } from "../chart/ChartUtils.tsx"
31
+ import { ColorSchemes } from "../color/ColorSchemes.ts"
32
+ import { SelectionArray } from "../selection/SelectionArray.ts"
33
33
  import {
34
34
  CategoricalColorAssigner,
35
35
  CategoricalColorMap,
36
- } from "../color/CategoricalColorAssigner.js"
37
- import { BinaryMapPaletteE } from "../color/CustomSchemes.js"
38
- import { FocusArray } from "../focus/FocusArray.js"
39
- import { AxisConfig } from "../axis/AxisConfig.js"
40
- import { HorizontalAxis, VerticalAxis } from "../axis/Axis.js"
36
+ } from "../color/CategoricalColorAssigner.ts"
37
+ import { BinaryMapPaletteE } from "../color/CustomSchemes.ts"
38
+ import { FocusArray } from "../focus/FocusArray.ts"
39
+ import { AxisConfig } from "../axis/AxisConfig.ts"
40
+ import { HorizontalAxis, VerticalAxis } from "../axis/Axis.ts"
41
41
 
42
42
  // used in StackedBar charts to color negative and positive bars
43
43
  const POSITIVE_COLOR = BinaryMapPaletteE.colorSets[0][0] // orange
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
2
  import * as _ from "lodash-es"
3
3
  import * as R from "remeda"
4
- import { Bounds, dyFromAlign, VerticalAlign } from "../../utils/index.js"
4
+ import { Bounds, dyFromAlign, VerticalAlign } from "../../utils/index.ts"
5
5
  import { DualAxis } from "../axis/Axis"
6
6
  import { ColorScaleBin } from "../color/ColorScaleBin"
7
7
  import { TooltipState } from "../tooltip/Tooltip"
@@ -1,4 +1,4 @@
1
- import { makeIdForHumanConsumption } from "../../utils/index.js"
1
+ import { makeIdForHumanConsumption } from "../../utils/index.ts"
2
2
  import { DualAxis } from "../axis/Axis"
3
3
  import {
4
4
  Bar,
@@ -6,7 +6,7 @@ import {
6
6
  EntityColorData,
7
7
  MarimekkoBarProps,
8
8
  } from "./MarimekkoChartConstants"
9
- import { InteractionState } from "../interaction/InteractionState.js"
9
+ import { InteractionState } from "../interaction/InteractionState.ts"
10
10
  import { BAR_OPACITY } from "./StackedConstants"
11
11
 
12
12
  interface MarimekkoBarsProps {
@@ -13,7 +13,7 @@ import {
13
13
  makeIdForHumanConsumption,
14
14
  dyFromAlign,
15
15
  exposeInstanceOnWindow,
16
- } from "../../utils/index.js"
16
+ } from "../../utils/index.ts"
17
17
  import { action, computed, makeObservable, observable } from "mobx"
18
18
  import { observer } from "mobx-react"
19
19
  import {
@@ -29,14 +29,14 @@ import {
29
29
  EntityName,
30
30
  VerticalAlign,
31
31
  ColorScaleConfigInterface,
32
- } from "../../types/index.js"
33
- import { ChartsTable, CoreColumn } from "../../core-table/index.js"
32
+ } from "../../types/index.ts"
33
+ import { ChartsTable, CoreColumn } from "../../core-table/index.ts"
34
34
  import { getShortNameForEntity } from "../chart/ChartUtils"
35
35
  import {
36
36
  LEGEND_STYLE_FOR_STACKED_CHARTS,
37
37
  StackedSeries,
38
38
  } from "./StackedConstants"
39
- import { TooltipFooterIcon } from "../tooltip/TooltipProps.js"
39
+ import { TooltipFooterIcon } from "../tooltip/TooltipProps.ts"
40
40
  import {
41
41
  Tooltip,
42
42
  TooltipValue,
@@ -67,7 +67,7 @@ import {
67
67
  Bar,
68
68
  } from "./MarimekkoChartConstants"
69
69
  import { MarimekkoChartState } from "./MarimekkoChartState"
70
- import { ChartComponentProps } from "../chart/ChartTypeMap.js"
70
+ import { ChartComponentProps } from "../chart/ChartTypeMap.tsx"
71
71
  import { MarimekkoBars } from "./MarimekkoBars"
72
72
  import { toPlacedMarimekkoItems } from "./MarimekkoChartHelpers"
73
73