@carto/ps-react-ui 4.20.2 → 4.21.1

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 (406) hide show
  1. package/dist/{actions-Dy9JVr7F.js → actions-C7ZAO0FG.js} +4 -4
  2. package/dist/{actions-Dy9JVr7F.js.map → actions-C7ZAO0FG.js.map} +1 -1
  3. package/dist/{actions-DKX98LlI.js → actions-DZGaL_uT.js} +2 -2
  4. package/dist/{actions-DKX98LlI.js.map → actions-DZGaL_uT.js.map} +1 -1
  5. package/dist/{category-DHZscHaS.js → category-DZt6yiST.js} +3 -3
  6. package/dist/{category-DHZscHaS.js.map → category-DZt6yiST.js.map} +1 -1
  7. package/dist/{chart-config-BGt7wkK7.js → chart-config-BWxjodlt.js} +2 -2
  8. package/dist/chart-config-BWxjodlt.js.map +1 -0
  9. package/dist/chat.js.map +1 -1
  10. package/dist/{components-DDt4mOQn.js → components-DKjBezcJ.js} +73 -73
  11. package/dist/components-DKjBezcJ.js.map +1 -0
  12. package/dist/components.js +1 -1
  13. package/dist/{download-BT6qBamM.js → download-C7he8mSh.js} +2 -2
  14. package/dist/{download-BT6qBamM.js.map → download-C7he8mSh.js.map} +1 -1
  15. package/dist/{formula-Bk9CBzm2.js → formula-BNuRXsmh.js} +2 -2
  16. package/dist/{formula-Bk9CBzm2.js.map → formula-BNuRXsmh.js.map} +1 -1
  17. package/dist/{formula-Dsru_p-g.js → formula-Cqj84ZGX.js} +2 -2
  18. package/dist/{formula-Dsru_p-g.js.map → formula-Cqj84ZGX.js.map} +1 -1
  19. package/dist/legend.js +2 -0
  20. package/dist/legend.js.map +1 -1
  21. package/dist/{markdown-DnSJMPjQ.js → markdown-CV_KP-at.js} +2 -2
  22. package/dist/{markdown-DnSJMPjQ.js.map → markdown-CV_KP-at.js.map} +1 -1
  23. package/dist/{spread-Dy8pshpN.js → spread-C8T12Nfh.js} +3 -3
  24. package/dist/{spread-Dy8pshpN.js.map → spread-C8T12Nfh.js.map} +1 -1
  25. package/dist/{table-BfTG6rrs.js → table-CNQijNNB.js} +2 -2
  26. package/dist/{table-BfTG6rrs.js.map → table-CNQijNNB.js.map} +1 -1
  27. package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +1 -1
  28. package/dist/types/chat/bubbles/chat-agent-message.d.ts +1 -1
  29. package/dist/types/chat/bubbles/chat-error-message.d.ts +1 -1
  30. package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
  31. package/dist/types/chat/bubbles/chat-user-message.d.ts +1 -1
  32. package/dist/types/chat/bubbles/index.d.ts +5 -5
  33. package/dist/types/chat/bubbles/styles.d.ts +88 -0
  34. package/dist/types/chat/containers/chat-content.d.ts +1 -1
  35. package/dist/types/chat/containers/chat-footer.d.ts +1 -1
  36. package/dist/types/chat/containers/chat-header.d.ts +1 -1
  37. package/dist/types/chat/containers/chat-starter.d.ts +1 -1
  38. package/dist/types/chat/containers/index.d.ts +4 -4
  39. package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
  40. package/dist/types/chat/feedback/chat-loader.d.ts +1 -1
  41. package/dist/types/chat/feedback/chat-rating-action.d.ts +1 -1
  42. package/dist/types/chat/feedback/chat-thinking.d.ts +1 -1
  43. package/dist/types/chat/feedback/chat-tool-code-area.d.ts +1 -1
  44. package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +1 -1
  45. package/dist/types/chat/feedback/chat-tool-group.d.ts +1 -1
  46. package/dist/types/chat/feedback/chat-tool-trace.d.ts +1 -1
  47. package/dist/types/chat/feedback/get-tool-label.d.ts +1 -1
  48. package/dist/types/chat/feedback/index.d.ts +8 -8
  49. package/dist/types/chat/feedback/styles.d.ts +212 -0
  50. package/dist/types/chat/index.d.ts +21 -21
  51. package/dist/types/components/basemaps/basemaps.d.ts +1 -1
  52. package/dist/types/components/basemaps/const.d.ts +1 -1
  53. package/dist/types/components/basemaps/group.d.ts +1 -1
  54. package/dist/types/components/basemaps/header.d.ts +1 -1
  55. package/dist/types/components/copy-button/copy-button.d.ts +1 -1
  56. package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +1 -1
  57. package/dist/types/components/index.d.ts +26 -26
  58. package/dist/types/components/lasso-tool/chip.d.ts +1 -1
  59. package/dist/types/components/lasso-tool/const.d.ts +2 -2
  60. package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
  61. package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +1 -1
  62. package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
  63. package/dist/types/components/lasso-tool/layer-filters.d.ts +1 -1
  64. package/dist/types/components/lasso-tool/message.d.ts +1 -1
  65. package/dist/types/components/lasso-tool/types.d.ts +1 -1
  66. package/dist/types/components/list-data/list-data.d.ts +1 -1
  67. package/dist/types/components/measurement-tools/const.d.ts +2 -2
  68. package/dist/types/components/measurement-tools/measurement-tools.d.ts +1 -1
  69. package/dist/types/components/measurement-tools/types.d.ts +1 -1
  70. package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +10 -3
  71. package/dist/types/components/types.d.ts +1 -1
  72. package/dist/types/components/zoom-controls/zoom-controls.d.ts +1 -1
  73. package/dist/types/hooks/index.d.ts +1 -1
  74. package/dist/types/legend/components/icons.d.ts +1 -1
  75. package/dist/types/legend/components/index.d.ts +26 -26
  76. package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
  77. package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +1 -1
  78. package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +2 -2
  79. package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +2 -2
  80. package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +2 -2
  81. package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +1 -1
  82. package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +1 -1
  83. package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +2 -2
  84. package/dist/types/legend/components/run-async-menu-action.d.ts +1 -1
  85. package/dist/types/legend/index.d.ts +41 -41
  86. package/dist/types/legend/provider/index.d.ts +6 -6
  87. package/dist/types/legend/provider/legend-config-context.d.ts +1 -1
  88. package/dist/types/legend/provider/legend-provider.d.ts +2 -2
  89. package/dist/types/legend/stores/index.d.ts +5 -5
  90. package/dist/types/legend/stores/legend-store-registry.d.ts +1 -1
  91. package/dist/types/legend/stores/selectors.d.ts +1 -1
  92. package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
  93. package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +1 -1
  94. package/dist/types/widgets/actions/brush-toggle/types.d.ts +1 -1
  95. package/dist/types/widgets/actions/change-column/change-column.d.ts +1 -1
  96. package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +1 -1
  97. package/dist/types/widgets/actions/download/download.d.ts +1 -1
  98. package/dist/types/widgets/actions/download/exports.d.ts +1 -1
  99. package/dist/types/widgets/actions/download/types.d.ts +1 -1
  100. package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +1 -1
  101. package/dist/types/widgets/actions/fullscreen/types.d.ts +1 -1
  102. package/dist/types/widgets/actions/index.d.ts +20 -20
  103. package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
  104. package/dist/types/widgets/actions/lock-selection/types.d.ts +1 -1
  105. package/dist/types/widgets/actions/relative-data/relative-data.d.ts +1 -1
  106. package/dist/types/widgets/actions/relative-data/types.d.ts +1 -1
  107. package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
  108. package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +1 -1
  109. package/dist/types/widgets/actions/searcher/searcher.d.ts +1 -1
  110. package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
  111. package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
  112. package/dist/types/widgets/actions/stack-toggle/types.d.ts +1 -1
  113. package/dist/types/widgets/actions/zoom-toggle/types.d.ts +1 -1
  114. package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
  115. package/dist/types/widgets/bar/config.d.ts +2 -2
  116. package/dist/types/widgets/bar/index.d.ts +3 -3
  117. package/dist/types/widgets/bar/types.d.ts +3 -3
  118. package/dist/types/widgets/category/category-ui.d.ts +1 -1
  119. package/dist/types/widgets/category/components/category-legend.d.ts +1 -1
  120. package/dist/types/widgets/category/components/category-row-multi.d.ts +1 -1
  121. package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
  122. package/dist/types/widgets/category/config.d.ts +3 -3
  123. package/dist/types/widgets/category/index.d.ts +14 -14
  124. package/dist/types/widgets/category/types.d.ts +3 -3
  125. package/dist/types/widgets/echart/echart-ui.d.ts +1 -1
  126. package/dist/types/widgets/echart/echart.d.ts +1 -1
  127. package/dist/types/widgets/echart/index.d.ts +5 -5
  128. package/dist/types/widgets/echart/options.d.ts +1 -1
  129. package/dist/types/widgets/echart/types.d.ts +1 -1
  130. package/dist/types/widgets/echart/utils.d.ts +1 -1
  131. package/dist/types/widgets/error/error.d.ts +1 -1
  132. package/dist/types/widgets/error/index.d.ts +2 -2
  133. package/dist/types/widgets/error/types.d.ts +1 -1
  134. package/dist/types/widgets/formula/components/item.d.ts +1 -1
  135. package/dist/types/widgets/formula/components/prefix.d.ts +1 -1
  136. package/dist/types/widgets/formula/components/row.d.ts +1 -1
  137. package/dist/types/widgets/formula/components/series.d.ts +1 -1
  138. package/dist/types/widgets/formula/components/suffix.d.ts +1 -1
  139. package/dist/types/widgets/formula/components/value.d.ts +1 -1
  140. package/dist/types/widgets/formula/config.d.ts +2 -2
  141. package/dist/types/widgets/formula/formula-ui.d.ts +1 -1
  142. package/dist/types/widgets/formula/index.d.ts +11 -11
  143. package/dist/types/widgets/formula/serializer.d.ts +1 -1
  144. package/dist/types/widgets/formula/types.d.ts +3 -3
  145. package/dist/types/widgets/histogram/config.d.ts +3 -3
  146. package/dist/types/widgets/histogram/index.d.ts +4 -4
  147. package/dist/types/widgets/histogram/types.d.ts +3 -3
  148. package/dist/types/widgets/loader/index.d.ts +3 -3
  149. package/dist/types/widgets/loader/loader.d.ts +1 -1
  150. package/dist/types/widgets/loader/types.d.ts +1 -1
  151. package/dist/types/widgets/markdown/config.d.ts +2 -2
  152. package/dist/types/widgets/markdown/index.d.ts +5 -5
  153. package/dist/types/widgets/markdown/markdown-ui.d.ts +1 -1
  154. package/dist/types/widgets/markdown/markdown.d.ts +1 -1
  155. package/dist/types/widgets/markdown/types.d.ts +3 -3
  156. package/dist/types/widgets/no-data/index.d.ts +2 -2
  157. package/dist/types/widgets/no-data/no-data.d.ts +1 -1
  158. package/dist/types/widgets/no-data/types.d.ts +1 -1
  159. package/dist/types/widgets/note/index.d.ts +2 -2
  160. package/dist/types/widgets/note/note.d.ts +1 -1
  161. package/dist/types/widgets/note/types.d.ts +1 -1
  162. package/dist/types/widgets/pie/config.d.ts +2 -2
  163. package/dist/types/widgets/pie/index.d.ts +3 -3
  164. package/dist/types/widgets/pie/types.d.ts +3 -3
  165. package/dist/types/widgets/range/components/range-item.d.ts +1 -1
  166. package/dist/types/widgets/range/config.d.ts +1 -1
  167. package/dist/types/widgets/range/index.d.ts +6 -6
  168. package/dist/types/widgets/range/range-ui.d.ts +1 -1
  169. package/dist/types/widgets/range/serializer.d.ts +1 -1
  170. package/dist/types/widgets/range/types.d.ts +3 -3
  171. package/dist/types/widgets/scatterplot/config.d.ts +2 -2
  172. package/dist/types/widgets/scatterplot/index.d.ts +3 -3
  173. package/dist/types/widgets/scatterplot/types.d.ts +3 -3
  174. package/dist/types/widgets/selection-summary/index.d.ts +2 -2
  175. package/dist/types/widgets/selection-summary/selection-summary.d.ts +1 -1
  176. package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
  177. package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +1 -1
  178. package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
  179. package/dist/types/widgets/spread/components/max-value.d.ts +1 -1
  180. package/dist/types/widgets/spread/components/min-value.d.ts +1 -1
  181. package/dist/types/widgets/spread/components/separator.d.ts +1 -1
  182. package/dist/types/widgets/spread/config.d.ts +3 -3
  183. package/dist/types/widgets/spread/index.d.ts +9 -9
  184. package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
  185. package/dist/types/widgets/spread/types.d.ts +4 -4
  186. package/dist/types/widgets/stores/index.d.ts +3 -3
  187. package/dist/types/widgets/stores/use-widget-selector.d.ts +1 -1
  188. package/dist/types/widgets/stores/widget-store.d.ts +2 -2
  189. package/dist/types/widgets/subheader/index.d.ts +2 -2
  190. package/dist/types/widgets/subheader/subheader.d.ts +1 -1
  191. package/dist/types/widgets/table/components/cell-header.d.ts +1 -1
  192. package/dist/types/widgets/table/components/cell.d.ts +1 -1
  193. package/dist/types/widgets/table/components/pagination-actions.d.ts +1 -1
  194. package/dist/types/widgets/table/components/pagination.d.ts +1 -1
  195. package/dist/types/widgets/table/components/row.d.ts +1 -1
  196. package/dist/types/widgets/table/config.d.ts +2 -2
  197. package/dist/types/widgets/table/hooks/use-pagination.d.ts +1 -1
  198. package/dist/types/widgets/table/hooks/use-selection.d.ts +1 -1
  199. package/dist/types/widgets/table/hooks/use-sort.d.ts +1 -1
  200. package/dist/types/widgets/table/index.d.ts +17 -17
  201. package/dist/types/widgets/table/serializer.d.ts +1 -1
  202. package/dist/types/widgets/table/table-ui.d.ts +8 -8
  203. package/dist/types/widgets/table/types.d.ts +3 -3
  204. package/dist/types/widgets/timeseries/config.d.ts +2 -2
  205. package/dist/types/widgets/timeseries/index.d.ts +3 -3
  206. package/dist/types/widgets/timeseries/types.d.ts +3 -3
  207. package/dist/types/widgets/toolbar-actions/index.d.ts +2 -2
  208. package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +1 -1
  209. package/dist/types/widgets/utils/chart-config/config-factory.d.ts +1 -1
  210. package/dist/types/widgets/utils/chart-config/download-config.d.ts +2 -2
  211. package/dist/types/widgets/utils/chart-config/index.d.ts +6 -6
  212. package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
  213. package/dist/types/widgets/utils/index.d.ts +7 -7
  214. package/dist/types/widgets/utils/skeleton/index.d.ts +1 -1
  215. package/dist/types/widgets/wrapper/components/actions.d.ts +1 -1
  216. package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
  217. package/dist/types/widgets/wrapper/components/title.d.ts +1 -1
  218. package/dist/types/widgets/wrapper/index.d.ts +6 -6
  219. package/dist/types/widgets/wrapper/types.d.ts +1 -1
  220. package/dist/types/widgets/wrapper/wrapper-ui.d.ts +1 -1
  221. package/dist/types/widgets/wrapper/wrapper.d.ts +1 -1
  222. package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +1 -1
  223. package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -3
  224. package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
  225. package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -3
  226. package/dist/types/widgets-v2/actions/change-column/types.d.ts +1 -1
  227. package/dist/types/widgets-v2/actions/download/csv-item.d.ts +1 -1
  228. package/dist/types/widgets-v2/actions/download/download.d.ts +2 -2
  229. package/dist/types/widgets-v2/actions/download/index.d.ts +8 -8
  230. package/dist/types/widgets-v2/actions/download/png-item.d.ts +1 -1
  231. package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +1 -1
  232. package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -3
  233. package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +1 -1
  234. package/dist/types/widgets-v2/actions/index.d.ts +10 -10
  235. package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -3
  236. package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
  237. package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -3
  238. package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
  239. package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -4
  240. package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +1 -1
  241. package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +1 -1
  242. package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -2
  243. package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +1 -1
  244. package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -3
  245. package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
  246. package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -3
  247. package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +2 -2
  248. package/dist/types/widgets-v2/bar/download.d.ts +2 -2
  249. package/dist/types/widgets-v2/bar/index.d.ts +4 -4
  250. package/dist/types/widgets-v2/bar/options.d.ts +2 -2
  251. package/dist/types/widgets-v2/bar/types.d.ts +1 -1
  252. package/dist/types/widgets-v2/category/category-ui.d.ts +1 -1
  253. package/dist/types/widgets-v2/category/category.d.ts +1 -1
  254. package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +1 -1
  255. package/dist/types/widgets-v2/category/components/category-bar.d.ts +1 -1
  256. package/dist/types/widgets-v2/category/components/category-legend.d.ts +1 -1
  257. package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +1 -1
  258. package/dist/types/widgets-v2/category/components/category-row-single.d.ts +1 -1
  259. package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +1 -1
  260. package/dist/types/widgets-v2/category/download.d.ts +2 -2
  261. package/dist/types/widgets-v2/category/index.d.ts +10 -10
  262. package/dist/types/widgets-v2/category/skeleton.d.ts +1 -1
  263. package/dist/types/widgets-v2/category/style.d.ts +1 -1
  264. package/dist/types/widgets-v2/category/types.d.ts +1 -1
  265. package/dist/types/widgets-v2/echart/echart.d.ts +1 -1
  266. package/dist/types/widgets-v2/echart/index.d.ts +4 -4
  267. package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +1 -1
  268. package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
  269. package/dist/types/widgets-v2/formula/download.d.ts +2 -2
  270. package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
  271. package/dist/types/widgets-v2/formula/index.d.ts +11 -11
  272. package/dist/types/widgets-v2/formula/types.d.ts +1 -1
  273. package/dist/types/widgets-v2/histogram/download.d.ts +2 -2
  274. package/dist/types/widgets-v2/histogram/index.d.ts +5 -5
  275. package/dist/types/widgets-v2/histogram/options.d.ts +3 -3
  276. package/dist/types/widgets-v2/histogram/types.d.ts +1 -1
  277. package/dist/types/widgets-v2/index.d.ts +45 -45
  278. package/dist/types/widgets-v2/markdown/download.d.ts +2 -2
  279. package/dist/types/widgets-v2/markdown/index.d.ts +6 -6
  280. package/dist/types/widgets-v2/note/widget-note.d.ts +1 -1
  281. package/dist/types/widgets-v2/pie/download.d.ts +2 -2
  282. package/dist/types/widgets-v2/pie/index.d.ts +4 -4
  283. package/dist/types/widgets-v2/pie/options.d.ts +2 -2
  284. package/dist/types/widgets-v2/pie/types.d.ts +1 -1
  285. package/dist/types/widgets-v2/range/index.d.ts +4 -4
  286. package/dist/types/widgets-v2/range/range-ui.d.ts +1 -1
  287. package/dist/types/widgets-v2/range/range.d.ts +1 -1
  288. package/dist/types/widgets-v2/scatterplot/download.d.ts +2 -2
  289. package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -5
  290. package/dist/types/widgets-v2/scatterplot/options.d.ts +2 -2
  291. package/dist/types/widgets-v2/scatterplot/types.d.ts +1 -1
  292. package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
  293. package/dist/types/widgets-v2/spread/download.d.ts +2 -2
  294. package/dist/types/widgets-v2/spread/index.d.ts +7 -7
  295. package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
  296. package/dist/types/widgets-v2/spread/types.d.ts +1 -1
  297. package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
  298. package/dist/types/widgets-v2/stores/index.d.ts +8 -8
  299. package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +1 -1
  300. package/dist/types/widgets-v2/stores/transforms.d.ts +1 -1
  301. package/dist/types/widgets-v2/stores/use-transform.d.ts +1 -1
  302. package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +1 -1
  303. package/dist/types/widgets-v2/table/download.d.ts +2 -2
  304. package/dist/types/widgets-v2/table/helpers.d.ts +1 -1
  305. package/dist/types/widgets-v2/table/index.d.ts +8 -8
  306. package/dist/types/widgets-v2/table/table-ui.d.ts +2 -2
  307. package/dist/types/widgets-v2/table/table.d.ts +2 -2
  308. package/dist/types/widgets-v2/table/types.d.ts +1 -1
  309. package/dist/types/widgets-v2/timeseries/download.d.ts +2 -2
  310. package/dist/types/widgets-v2/timeseries/index.d.ts +5 -5
  311. package/dist/types/widgets-v2/timeseries/options.d.ts +4 -4
  312. package/dist/types/widgets-v2/timeseries/types.d.ts +1 -1
  313. package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
  314. package/dist/types/widgets-v2/utils/index.d.ts +3 -3
  315. package/dist/types/widgets-v2/wrapper/index.d.ts +4 -4
  316. package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
  317. package/dist/{utils-DtvTjjMq.js → utils-ClB6nn4w.js} +2 -2
  318. package/dist/{utils-DtvTjjMq.js.map → utils-ClB6nn4w.js.map} +1 -1
  319. package/dist/widgets/actions.js +1 -1
  320. package/dist/widgets/bar.js +1 -1
  321. package/dist/widgets/category.js +1 -1
  322. package/dist/widgets/formula.js +1 -1
  323. package/dist/widgets/histogram.js +2 -2
  324. package/dist/widgets/markdown.js +1 -1
  325. package/dist/widgets/pie.js +1 -1
  326. package/dist/widgets/scatterplot.js +1 -1
  327. package/dist/widgets/spread.js +2 -2
  328. package/dist/widgets/table.js +1 -1
  329. package/dist/widgets/timeseries.js +1 -1
  330. package/dist/widgets/utils.js +1 -1
  331. package/dist/widgets/wrapper.js +1 -1
  332. package/dist/widgets-v2/actions.js +3 -3
  333. package/dist/widgets-v2/bar.js +4 -4
  334. package/dist/widgets-v2/category.js +1 -1
  335. package/dist/widgets-v2/formula.js +1 -1
  336. package/dist/widgets-v2/histogram.js +4 -4
  337. package/dist/widgets-v2/markdown.js +1 -1
  338. package/dist/widgets-v2/pie.js +3 -3
  339. package/dist/widgets-v2/scatterplot.js +4 -4
  340. package/dist/widgets-v2/spread.js +1 -1
  341. package/dist/widgets-v2/table.js +1 -1
  342. package/dist/widgets-v2/timeseries.js +4 -4
  343. package/dist/widgets-v2/utils.js +1 -1
  344. package/dist/widgets-v2.js +9 -9
  345. package/dist/{zoom-toggle-CA0ifG23.js → zoom-toggle-KA63b6-J.js} +2 -2
  346. package/dist/{zoom-toggle-CA0ifG23.js.map → zoom-toggle-KA63b6-J.js.map} +1 -1
  347. package/package.json +5 -4
  348. package/src/chat/bubbles/styles.ts +27 -8
  349. package/src/chat/feedback/chat-actions-container.tsx +5 -2
  350. package/src/chat/feedback/styles.ts +8 -5
  351. package/src/components/basemaps/basemaps.tsx +4 -4
  352. package/src/components/responsive-drawer/responsive-drawer.test.tsx +37 -23
  353. package/src/components/responsive-drawer/responsive-drawer.tsx +15 -8
  354. package/src/legend/components/legend-row/legend-row.test.tsx +19 -0
  355. package/src/legend/components/legend-row/legend-row.tsx +15 -2
  356. package/src/widgets/utils/chart-config/option-builders.ts +5 -1
  357. package/dist/chart-config-BGt7wkK7.js.map +0 -1
  358. package/dist/components-DDt4mOQn.js.map +0 -1
  359. package/dist/types/legend/stores/legend-store.test.d.ts +0 -1
  360. package/dist/types/widgets/actions/brush-toggle/hit-test.test.d.ts +0 -1
  361. package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
  362. package/dist/types/widgets/echart/utils.test.d.ts +0 -1
  363. package/dist/types/widgets/formula/config.test.d.ts +0 -1
  364. package/dist/types/widgets/loader/utils.test.d.ts +0 -1
  365. package/dist/types/widgets/range/serializer.test.d.ts +0 -1
  366. package/dist/types/widgets/stores/widget-store-branches.test.d.ts +0 -1
  367. package/dist/types/widgets/stores/widget-store-performance.test.d.ts +0 -1
  368. package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
  369. package/dist/types/widgets/table/config.test.d.ts +0 -1
  370. package/dist/types/widgets/table/helpers.test.d.ts +0 -1
  371. package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +0 -1
  372. package/dist/types/widgets/table/hooks/use-selection.test.d.ts +0 -1
  373. package/dist/types/widgets/table/hooks/use-sort.test.d.ts +0 -1
  374. package/dist/types/widgets/utils/chart-config/option-builders.test.d.ts +0 -1
  375. package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +0 -1
  376. package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +0 -1
  377. package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +0 -1
  378. package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +0 -1
  379. package/dist/types/widgets-v2/bar/options.test.d.ts +0 -1
  380. package/dist/types/widgets-v2/category/download.test.d.ts +0 -1
  381. package/dist/types/widgets-v2/echart/edge-label-clamp.test.d.ts +0 -1
  382. package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +0 -1
  383. package/dist/types/widgets-v2/histogram/download.test.d.ts +0 -1
  384. package/dist/types/widgets-v2/histogram/options.test.d.ts +0 -1
  385. package/dist/types/widgets-v2/histogram/transforms.test.d.ts +0 -1
  386. package/dist/types/widgets-v2/markdown/download.test.d.ts +0 -1
  387. package/dist/types/widgets-v2/pie/download.test.d.ts +0 -1
  388. package/dist/types/widgets-v2/pie/options.test.d.ts +0 -1
  389. package/dist/types/widgets-v2/scatterplot/download.test.d.ts +0 -1
  390. package/dist/types/widgets-v2/scatterplot/options.test.d.ts +0 -1
  391. package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +0 -1
  392. package/dist/types/widgets-v2/spread/band.test.d.ts +0 -1
  393. package/dist/types/widgets-v2/spread/download.test.d.ts +0 -1
  394. package/dist/types/widgets-v2/state/labels.test.d.ts +0 -1
  395. package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +0 -1
  396. package/dist/types/widgets-v2/stores/transforms.test.d.ts +0 -1
  397. package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +0 -1
  398. package/dist/types/widgets-v2/table/download.test.d.ts +0 -1
  399. package/dist/types/widgets-v2/table/helpers.test.d.ts +0 -1
  400. package/dist/types/widgets-v2/table/transforms.test.d.ts +0 -1
  401. package/dist/types/widgets-v2/test-utils.d.ts +0 -52
  402. package/dist/types/widgets-v2/timeseries/download.test.d.ts +0 -1
  403. package/dist/types/widgets-v2/timeseries/options.test.d.ts +0 -1
  404. package/dist/types/widgets-v2/timeseries/transforms.test.d.ts +0 -1
  405. package/dist/types/widgets-v2/utils/merge-options.test.d.ts +0 -1
  406. package/dist/types/widgets-v2/utils/resolve-theme-color.test.d.ts +0 -1
@@ -1,3 +1,3 @@
1
- export { useWidgetStore, widgetStoreActions } from './widget-store';
2
- export { useWidgetSelector } from './use-widget-selector';
3
- export type { BaseWidgetState, ToolRegistration, ToolTransformFunction, ToolType, WidgetsStoreProps, WidgetState, WidgetStore, WidgetStoreActions, WidgetStoreState, } from './types';
1
+ export { useWidgetStore, widgetStoreActions } from './widget-store.js';
2
+ export { useWidgetSelector } from './use-widget-selector.js';
3
+ export type { BaseWidgetState, ToolRegistration, ToolTransformFunction, ToolType, WidgetsStoreProps, WidgetState, WidgetStore, WidgetStoreActions, WidgetStoreState, } from './types.js';
@@ -1,4 +1,4 @@
1
- import { WidgetState } from './types';
1
+ import { WidgetState } from './types.js';
2
2
  /**
3
3
  * Scoped selector hook for reading a single widget's state from the store.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { WidgetStore, WidgetStoreActions } from './types';
1
+ import { WidgetStore, WidgetStoreActions } from './types.js';
2
2
  /**
3
3
  * Zustand store for managing widget state across the application.
4
4
  *
@@ -37,7 +37,7 @@ import { WidgetStore, WidgetStoreActions } from './types';
37
37
  * setWidget('my-widget', { type: 'formula', isLoading: false, data: { value: 1000 } })
38
38
  * ```
39
39
  */
40
- export declare const useWidgetStore: import('node_modules/zustand/esm/react.mjs').UseBoundStore<import('node_modules/zustand/esm/vanilla.mjs').StoreApi<WidgetStore>>;
40
+ export declare const useWidgetStore: import('zustand').UseBoundStore<import('zustand').StoreApi<WidgetStore>>;
41
41
  /**
42
42
  * Stable references to store actions, accessible without creating a subscription.
43
43
  *
@@ -1,2 +1,2 @@
1
- export { WidgetSubHeader } from './subheader';
2
- export type { WidgetSubHeaderProps } from './types';
1
+ export { WidgetSubHeader } from './subheader.js';
2
+ export type { WidgetSubHeaderProps } from './types.js';
@@ -1,4 +1,4 @@
1
- import { WidgetSubHeaderProps } from './types';
1
+ import { WidgetSubHeaderProps } from './types.js';
2
2
  /**
3
3
  * Flexible two-slot layout for displaying supplementary widget information such as totals, timestamps, or controls. Uses flexbox with space-between justification.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { CellHeaderProps } from '../types';
1
+ import { CellHeaderProps } from '../types.js';
2
2
  /**
3
3
  * Table cell header component with optional sorting and select-all checkbox
4
4
  */
@@ -1,4 +1,4 @@
1
- import { TableColumn, TableRow } from '../types';
1
+ import { TableColumn, TableRow } from '../types.js';
2
2
  /**
3
3
  * Props for Cell component
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PaginationActionsProps } from '../types';
1
+ import { PaginationActionsProps } from '../types.js';
2
2
  /**
3
3
  * Custom pagination actions with first/prev/next/last buttons
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PaginationProps } from '../types';
1
+ import { PaginationProps } from '../types.js';
2
2
  /**
3
3
  * Table pagination component
4
4
  */
@@ -1,4 +1,4 @@
1
- import { RowProps } from '../types';
1
+ import { RowProps } from '../types.js';
2
2
  /**
3
3
  * Table row component with selection and hover support
4
4
  */
@@ -1,5 +1,5 @@
1
- import { ConfigProps } from '../loader/types';
2
- import { TableDownloadConfig, TableWidgetConfig, TableColumn, SortDirection } from './types';
1
+ import { ConfigProps } from '../loader/types.js';
2
+ import { TableDownloadConfig, TableWidgetConfig, TableColumn, SortDirection } from './types.js';
3
3
  export declare const DEFAULT_PAGE = 0;
4
4
  export declare const DEFAULT_ROWS_PER_PAGE = 10;
5
5
  export declare const DEFAULT_ROWS_PER_PAGE_OPTIONS: number[];
@@ -1,4 +1,4 @@
1
- import { TableRow } from '../types';
1
+ import { TableRow } from '../types.js';
2
2
  export interface UsePaginationResult<T> {
3
3
  /** Whether pagination is enabled */
4
4
  paginationEnabled: boolean;
@@ -1,4 +1,4 @@
1
- import { TableRow } from '../types';
1
+ import { TableRow } from '../types.js';
2
2
  export interface UseSelectionOptions {
3
3
  /** Callback when selection changes */
4
4
  onSelectionChange?: (selectedIds: (string | number)[]) => void;
@@ -1,4 +1,4 @@
1
- import { TableRow, SortDirection, SortState } from '../types';
1
+ import { TableRow, SortDirection, SortState } from '../types.js';
2
2
  export interface UseSortResult<T> extends SortState {
3
3
  /** Whether sorting is enabled */
4
4
  sortEnabled: boolean;
@@ -1,17 +1,17 @@
1
- export { CellHeader } from './components/cell-header';
2
- export { Row } from './components/row';
3
- export { Pagination } from './components/pagination';
4
- export { PaginationActions } from './components/pagination-actions';
5
- export { Table } from './table-ui';
6
- export { usePagination } from './hooks/use-pagination';
7
- export { useSort } from './hooks/use-sort';
8
- export { useSelection } from './hooks/use-selection';
9
- export { tableConfig, tableDownloadConfig } from './config';
10
- export { TableSkeleton } from './skeleton';
11
- export { sanitizeTableRow, sanitizeTableData } from './serializer';
12
- export { getCellValue, compareValues, sortData, paginateData } from './helpers';
13
- export { styles as tableStyles } from './style';
14
- export type { TableUIProps, TableColumn, TableRow, TableWidgetData, TablePaginationState, SortDirection, SortState, Mode, TableWidgetConfig, TableWidgetState, TableDownloadConfig, TableProps, CellHeaderProps, RowProps, PaginationProps, PaginationActionsProps, } from './types';
15
- export type { UsePaginationResult } from './hooks/use-pagination';
16
- export type { UseSortResult } from './hooks/use-sort';
17
- export type { UseSelectionOptions, UseSelectionResult, } from './hooks/use-selection';
1
+ export { CellHeader } from './components/cell-header.js';
2
+ export { Row } from './components/row.js';
3
+ export { Pagination } from './components/pagination.js';
4
+ export { PaginationActions } from './components/pagination-actions.js';
5
+ export { Table } from './table-ui.js';
6
+ export { usePagination } from './hooks/use-pagination.js';
7
+ export { useSort } from './hooks/use-sort.js';
8
+ export { useSelection } from './hooks/use-selection.js';
9
+ export { tableConfig, tableDownloadConfig } from './config.js';
10
+ export { TableSkeleton } from './skeleton.js';
11
+ export { sanitizeTableRow, sanitizeTableData } from './serializer.js';
12
+ export { getCellValue, compareValues, sortData, paginateData } from './helpers.js';
13
+ export { styles as tableStyles } from './style.js';
14
+ export type { TableUIProps, TableColumn, TableRow, TableWidgetData, TablePaginationState, SortDirection, SortState, Mode, TableWidgetConfig, TableWidgetState, TableDownloadConfig, TableProps, CellHeaderProps, RowProps, PaginationProps, PaginationActionsProps, } from './types.js';
15
+ export type { UsePaginationResult } from './hooks/use-pagination.js';
16
+ export type { UseSortResult } from './hooks/use-sort.js';
17
+ export type { UseSelectionOptions, UseSelectionResult, } from './hooks/use-selection.js';
@@ -1,4 +1,4 @@
1
- import { TableRow, TableWidgetData } from './types';
1
+ import { TableRow, TableWidgetData } from './types.js';
2
2
  /**
3
3
  * Sanitizes a table row by ensuring all values are serializable.
4
4
  * Converts ReactNode and function values to undefined.
@@ -1,6 +1,6 @@
1
1
  import { TableCell, TableProps as MuiTableProps } from '@mui/material';
2
2
  import { Ref } from 'react';
3
- import { TableUIProps } from './types';
3
+ import { TableUIProps } from './types.js';
4
4
  /**
5
5
  * Props for the base Table component
6
6
  */
@@ -14,15 +14,15 @@ interface TableComponentProps extends MuiTableProps {
14
14
  */
15
15
  declare function Table({ children, ref, stickyHeader, ...props }: TableComponentProps): import("react").JSX.Element;
16
16
  declare namespace Table {
17
- var Head: import("node_modules/@mui/material/OverridableComponent").OverridableComponent<import("node_modules/@mui/material").TableHeadTypeMap<{}, "thead">>;
18
- var CellHeader: typeof import(".").CellHeader;
19
- var Body: import("node_modules/@mui/material/OverridableComponent").OverridableComponent<import("node_modules/@mui/material").TableBodyTypeMap<{}, "tbody">>;
20
- var Row: typeof import(".").Row;
17
+ var Head: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TableHeadTypeMap<{}, "thead">>;
18
+ var CellHeader: typeof import("./index.js").CellHeader;
19
+ var Body: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TableBodyTypeMap<{}, "tbody">>;
20
+ var Row: typeof import("./index.js").Row;
21
21
  var Cell: typeof TableCell;
22
22
  var Container: typeof TableContainer;
23
- var Paper: import("node_modules/@mui/material/OverridableComponent").OverridableComponent<import("node_modules/@mui/material").PaperTypeMap<{}, "div">>;
24
- var Pagination: typeof import(".").Pagination;
25
- var PaginationActions: typeof import(".").PaginationActions;
23
+ var Paper: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").PaperTypeMap<{}, "div">>;
24
+ var Pagination: typeof import("./index.js").Pagination;
25
+ var PaginationActions: typeof import("./index.js").PaginationActions;
26
26
  }
27
27
  export { Table };
28
28
  /**
@@ -1,8 +1,8 @@
1
1
  import { ReactNode, Ref } from 'react';
2
2
  import { TableProps as MuiTableProps } from '@mui/material';
3
- import { BaseWidgetState, WidgetsStoreProps } from '../stores/types';
4
- import { WrapperState } from '../wrapper/types';
5
- import { DownloadItem } from '../actions/download/types';
3
+ import { BaseWidgetState, WidgetsStoreProps } from '../stores/types.js';
4
+ import { WrapperState } from '../wrapper/types.js';
5
+ import { DownloadItem } from '../actions/download/types.js';
6
6
  /**
7
7
  * Table UI component props
8
8
  */
@@ -1,5 +1,5 @@
1
- import { TimeseriesConfig, TimeseriesWidgetConfig } from './types';
2
- export declare const timeseriesDownloadConfig: ({ refUI }: import('../loader').ConfigProps) => import('../actions').DownloadItem<import('../echart').EchartWidgetData>[];
1
+ import { TimeseriesConfig, TimeseriesWidgetConfig } from './types.js';
2
+ export declare const timeseriesDownloadConfig: ({ refUI }: import('../loader/index.js').ConfigProps) => import('../actions/index.js').DownloadItem<import('../echart/index.js').EchartWidgetData>[];
3
3
  /**
4
4
  * Generates ECharts configuration for line and area chart widgets over time, with smooth curves, rotated axis labels, and CARTO qualitative color palette.
5
5
  *
@@ -1,3 +1,3 @@
1
- export type { TimeseriesWidgetData, TimeseriesWidgetState, TimeseriesWidgetConfig, TimeseriesConfig, } from './types';
2
- export { timeseriesConfig, timeseriesDownloadConfig } from './config';
3
- export { TimeseriesSkeleton } from './skeleton';
1
+ export type { TimeseriesWidgetData, TimeseriesWidgetState, TimeseriesWidgetConfig, TimeseriesConfig, } from './types.js';
2
+ export { timeseriesConfig, timeseriesDownloadConfig } from './config.js';
3
+ export { TimeseriesSkeleton } from './skeleton.js';
@@ -1,6 +1,6 @@
1
- import { EchartWidgetData, EchartWidgetState } from '../echart';
2
- import { EchartWidgetOptionProps, EchartWidgetProps } from '../echart/types';
3
- import { ConfigProps } from '../loader';
1
+ import { EchartWidgetData, EchartWidgetState } from '../echart/index.js';
2
+ import { EchartWidgetOptionProps, EchartWidgetProps } from '../echart/types.js';
3
+ import { ConfigProps } from '../loader/index.js';
4
4
  export type TimeseriesWidgetData = EchartWidgetData;
5
5
  export type TimeseriesWidgetState = EchartWidgetState;
6
6
  export type TimeseriesWidgetConfig = EchartWidgetProps & {
@@ -1,2 +1,2 @@
1
- export type { ToolbarAction, ToolbarActionsLabels, ToolbarActionsProps, } from './types';
2
- export { ToolbarActions } from './toolbar-actions';
1
+ export type { ToolbarAction, ToolbarActionsLabels, ToolbarActionsProps, } from './types.js';
2
+ export { ToolbarActions } from './toolbar-actions.js';
@@ -1,5 +1,5 @@
1
1
  import { JSX } from 'react';
2
- import { ToolbarActionsProps } from './types';
2
+ import { ToolbarActionsProps } from './types.js';
3
3
  /**
4
4
  * A floating toolbar component that displays action buttons.
5
5
  * Shows a trigger button when there are more visible actions than the visibleCount,
@@ -1,4 +1,4 @@
1
- import { EchartOptionsProps, EchartWidgetData } from '../../echart';
1
+ import { EchartOptionsProps, EchartWidgetData } from '../../echart/index.js';
2
2
  /**
3
3
  * Base configuration interface for chart widgets
4
4
  */
@@ -1,3 +1,3 @@
1
- import { DownloadItem } from '../../actions';
2
- import { ConfigProps } from '../../loader/types';
1
+ import { DownloadItem } from '../../actions/index.js';
2
+ import { ConfigProps } from '../../loader/types.js';
3
3
  export declare function createChartDownloadConfig<TData>(csvModifier: (data: TData) => string[][]): ({ refUI }: ConfigProps) => DownloadItem<TData>[];
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Shared utilities for chart widget configuration
3
3
  */
4
- export { defaultFormatter, defaultLabelFormatter } from '../formatter';
5
- export { createChartWidgetConfig } from './config-factory';
6
- export type { ChartWidgetBaseConfig, CreateChartWidgetConfigParams, } from './config-factory';
7
- export { flattenObjectArrayToCSV, scatterplotDataToCSV } from './csv-modifiers';
8
- export { buildLegendConfig, buildGridConfig, buildAxisLabelStyle, createTooltipPositioner, createAxisLabelFormatter, createTooltipFormatter, applyXAxisFormatter, applyYAxisFormatter, niceNum, buildSeriesLabelConfig, buildHistogramSeriesLabelConfig, } from './option-builders';
9
- export { createChartDownloadConfig } from './download-config';
4
+ export { defaultFormatter, defaultLabelFormatter } from '../formatter.js';
5
+ export { createChartWidgetConfig } from './config-factory.js';
6
+ export type { ChartWidgetBaseConfig, CreateChartWidgetConfigParams, } from './config-factory.js';
7
+ export { flattenObjectArrayToCSV, scatterplotDataToCSV } from './csv-modifiers.js';
8
+ export { buildLegendConfig, buildGridConfig, buildAxisLabelStyle, createTooltipPositioner, createAxisLabelFormatter, createTooltipFormatter, applyXAxisFormatter, applyYAxisFormatter, niceNum, buildSeriesLabelConfig, buildHistogramSeriesLabelConfig, } from './option-builders.js';
9
+ export { createChartDownloadConfig } from './download-config.js';
@@ -0,0 +1,142 @@
1
+ import { Theme } from '@mui/material';
2
+ import { LegendComponentOption } from 'echarts';
3
+ import { CallbackDataParams, TopLevelFormatterParams } from 'echarts/types/dist/shared';
4
+ /**
5
+ * Shared EChart configuration builders for chart widgets
6
+ */
7
+ /**
8
+ * Rounds a value up to the nearest "nice" number.
9
+ * A nice number is a multiple of 10^floor(log10(value)).
10
+ *
11
+ * Examples: 547 → 600, 200 → 200, 1200 → 2000, 18 → 20, 5 → 5, -547 → -500
12
+ */
13
+ export declare function niceNum(value: number): number;
14
+ /**
15
+ * Builds standard legend configuration for chart widgets
16
+ *
17
+ * @param params - Legend configuration parameters
18
+ * @param params.hasLegend - Whether to show the legend
19
+ * @param params.labelFormatter - Optional formatter for legend item names
20
+ * @returns Legend configuration object
21
+ */
22
+ export declare function buildLegendConfig({ hasLegend, labelFormatter, }: {
23
+ hasLegend: boolean;
24
+ labelFormatter?: (value: string | number) => string | number;
25
+ }): LegendComponentOption;
26
+ /**
27
+ * Builds standard grid configuration with legend-aware spacing
28
+ *
29
+ * @param hasLegend - Whether the chart has a legend
30
+ * @param theme - MUI theme for spacing
31
+ * @param additionalConfig - Additional grid configuration to merge
32
+ * @returns Grid configuration object
33
+ */
34
+ export declare function buildGridConfig(hasLegend: boolean, theme: Theme): {
35
+ bottom?: number | undefined;
36
+ };
37
+ /**
38
+ * Builds the shared axis-label text style for chart widgets, matching the
39
+ * design's "Overline (Delicate)" token (Inter, 10px) in the secondary text
40
+ * colour (`rgba(44,48,50,0.6)`). Spread into an ECharts `axisLabel` for both
41
+ * x and y axes so every chart's labels stay consistent.
42
+ *
43
+ * Note: the token's `letterSpacing` and `textTransform: uppercase` are not
44
+ * representable in ECharts canvas text, so only font size/family/colour are
45
+ * applied.
46
+ *
47
+ * @param theme - MUI theme providing the typography token and palette
48
+ * @returns `{ fontSize, fontFamily, color }` for an ECharts `axisLabel`
49
+ */
50
+ export declare function buildAxisLabelStyle(theme: Theme): {
51
+ fontSize: string | number | undefined;
52
+ fontFamily: string | undefined;
53
+ color: string;
54
+ };
55
+ /**
56
+ * Creates a tooltip position calculator that handles overflow
57
+ * Used by bar, histogram, and scatterplot widgets
58
+ *
59
+ * @param theme - MUI theme for spacing
60
+ * @returns Tooltip position function
61
+ */
62
+ export declare function createTooltipPositioner(theme: Theme): (point: [number, number], _params: unknown, _dom: unknown, _rect: unknown, size: {
63
+ contentSize: [number, number];
64
+ viewSize: [number, number];
65
+ }) => Record<string, number>;
66
+ /**
67
+ * Creates an axis label formatter for ECharts
68
+ * Used to format numeric axis labels with a widget formatter
69
+ *
70
+ * @param formatter - Optional formatter function from widget config
71
+ * @returns Axis label formatter function or undefined
72
+ */
73
+ export declare function createAxisLabelFormatter(formatter?: (value: number) => string): ((value: number) => string) | undefined;
74
+ /**
75
+ * Applies labelFormatter to xAxis configuration
76
+ * Applies to any xAxis regardless of axis type (category, value, etc.)
77
+ *
78
+ * @param xAxis - Existing xAxis configuration
79
+ * @param labelFormatter - Optional labelFormatter function from widget config
80
+ * @returns Updated xAxis configuration
81
+ */
82
+ export declare function applyXAxisFormatter(xAxis: unknown, formatter?: (value: string | number) => string | number): {
83
+ axisLabel: {
84
+ formatter: ((value: string | number) => string) | undefined;
85
+ };
86
+ type?: string;
87
+ };
88
+ /**
89
+ * Applies formatter to yAxis configuration
90
+ * Only applies to single axis objects (not arrays) with type 'value'
91
+ *
92
+ * @param yAxis - Existing yAxis configuration
93
+ * @param formatter - Optional formatter function from widget config
94
+ * @returns Updated yAxis configuration or undefined if no changes needed
95
+ */
96
+ export declare function applyYAxisFormatter(yAxis: unknown, formatter?: (value: number) => string): {
97
+ axisLabel: {
98
+ formatter: ((value: number) => string) | undefined;
99
+ };
100
+ type?: string;
101
+ };
102
+ /**
103
+ * Creates a tooltip formatter for ECharts
104
+ * Formats numeric values in tooltip using widget formatter
105
+ * Handles both axis trigger (array) and item trigger (object) modes
106
+ *
107
+ * @param formatter - Optional formatter function from widget config
108
+ * @returns Tooltip formatter function or undefined
109
+ */
110
+ export declare function createTooltipFormatter(callback: (item: CallbackDataParams, items: CallbackDataParams[]) => {
111
+ name: string;
112
+ seriesName: string;
113
+ marker: string;
114
+ value: string | number;
115
+ }): (params: TopLevelFormatterParams) => string;
116
+ /**
117
+ * Builds a series `label` config that applies formatter to the data value
118
+ * extracted from a dataset row using ECharts encode/dimensionNames.
119
+ *
120
+ * Does not set `show` — labels remain hidden by default per ECharts defaults.
121
+ *
122
+ * @param formatter - Optional numeric value formatter
123
+ * @param encodeKey - The encode dimension key to extract ('y' for vertical charts, 'x' for horizontal)
124
+ */
125
+ export declare function buildSeriesLabelConfig(formatter?: (value: number) => string, encodeKey?: string): {
126
+ label: {
127
+ formatter: (params: CallbackDataParams) => string;
128
+ };
129
+ } | object;
130
+ /**
131
+ * Builds a series `label` config that applies formatter to a raw numeric value.
132
+ * Used by histogram where series data is number[] (not datasets).
133
+ *
134
+ * Does not set `show` — labels remain hidden by default per ECharts defaults.
135
+ *
136
+ * @param formatter - Optional numeric value formatter
137
+ */
138
+ export declare function buildHistogramSeriesLabelConfig(formatter?: (value: number) => string): {
139
+ label: {
140
+ formatter: (params: CallbackDataParams) => string;
141
+ };
142
+ } | object;
@@ -1,7 +1,7 @@
1
- export { defaultFormatter, defaultLabelFormatter } from './formatter';
2
- export { createChartWidgetConfig } from './chart-config';
3
- export type { ChartWidgetBaseConfig, CreateChartWidgetConfigParams, } from './chart-config';
4
- export { flattenObjectArrayToCSV, scatterplotDataToCSV } from './chart-config';
5
- export { buildLegendConfig, buildGridConfig, createTooltipPositioner, createAxisLabelFormatter, createTooltipFormatter, applyXAxisFormatter, applyYAxisFormatter, niceNum, } from './chart-config';
6
- export { baseSkeletonStyles } from './skeleton';
7
- export { createChartDownloadConfig } from './chart-config';
1
+ export { defaultFormatter, defaultLabelFormatter } from './formatter.js';
2
+ export { createChartWidgetConfig } from './chart-config/index.js';
3
+ export type { ChartWidgetBaseConfig, CreateChartWidgetConfigParams, } from './chart-config/index.js';
4
+ export { flattenObjectArrayToCSV, scatterplotDataToCSV } from './chart-config/index.js';
5
+ export { buildLegendConfig, buildGridConfig, createTooltipPositioner, createAxisLabelFormatter, createTooltipFormatter, applyXAxisFormatter, applyYAxisFormatter, niceNum, } from './chart-config/index.js';
6
+ export { baseSkeletonStyles } from './skeleton/index.js';
7
+ export { createChartDownloadConfig } from './chart-config/index.js';
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Shared skeleton styles for chart widgets
3
3
  */
4
- export { baseSkeletonStyles } from './styles';
4
+ export { baseSkeletonStyles } from './styles.js';
@@ -1,4 +1,4 @@
1
- import { WrapperActionsProps } from '../types';
1
+ import { WrapperActionsProps } from '../types.js';
2
2
  /**
3
3
  * Renders action buttons in the widget wrapper header. Each action click event is stopped from propagating to the accordion.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { WrapperOptionsProps } from '../types';
1
+ import { WrapperOptionsProps } from '../types.js';
2
2
  /**
3
3
  * Renders a dropdown options menu in the widget wrapper header, triggered by a vertical ellipsis icon button.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { WrapperOptionsProps } from '../types';
2
+ import { WrapperOptionsProps } from '../types.js';
3
3
  /**
4
4
  * Renders the widget title text inside the wrapper header with smart tooltip support for truncated titles.
5
5
  */
@@ -1,6 +1,6 @@
1
- export { Actions } from './components/actions';
2
- export { Options } from './components/options';
3
- export { Title } from './components/title';
4
- export { WidgetWrapper } from './wrapper';
5
- export { WrapperUI } from './wrapper-ui';
6
- export type { WrapperActionsProps, WrapperOption, WrapperOptionsProps, WrapperProps, WrapperState, WrapperUIProps, } from './types';
1
+ export { Actions } from './components/actions.js';
2
+ export { Options } from './components/options.js';
3
+ export { Title } from './components/title.js';
4
+ export { WidgetWrapper } from './wrapper.js';
5
+ export { WrapperUI } from './wrapper-ui.js';
6
+ export type { WrapperActionsProps, WrapperOption, WrapperOptionsProps, WrapperProps, WrapperState, WrapperUIProps, } from './types.js';
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, SyntheticEvent } from 'react';
2
2
  import { SxProps, Theme } from '@mui/material';
3
- import { BaseWidgetState } from '../stores/types';
3
+ import { BaseWidgetState } from '../stores/types.js';
4
4
  export interface WrapperProps extends Pick<WrapperUIProps, 'sx' | 'actions' | 'options' | 'labels' | 'children' | 'onChangeCollapsed'>, Pick<WrapperState, 'disabled' | 'title'> {
5
5
  id: WrapperState['id'];
6
6
  defaultCollapsed?: boolean;
@@ -1,4 +1,4 @@
1
- import { WrapperUIProps } from './types';
1
+ import { WrapperUIProps } from './types.js';
2
2
  /**
3
3
  * Presentational wrapper component that renders the widget accordion UI with title, actions, options menu, and loading indicator. For uncontrolled usage without automatic widget store synchronization, use this instead of WidgetWrapper.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { WrapperProps } from './types';
1
+ import { WrapperProps } from './types.js';
2
2
  /**
3
3
  * Container component providing a collapsible header with title, action buttons, and options menu for widgets. Syncs collapse, disabled, and title state with the widget store.
4
4
  *
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { BrushToggleLabels } from './labels';
3
+ import { BrushToggleLabels } from './labels.js';
4
4
  export interface BrushToggleProps {
5
5
  initialEnabled?: boolean;
6
6
  /**
@@ -1,3 +1,3 @@
1
- export { BrushToggle, type BrushToggleProps } from './brush-toggle';
2
- export { addBrush } from './transforms';
3
- export { DEFAULT_BRUSH_TOGGLE_LABELS, type BrushToggleLabels } from './labels';
1
+ export { BrushToggle, type BrushToggleProps } from './brush-toggle.js';
2
+ export { addBrush } from './transforms.js';
3
+ export { DEFAULT_BRUSH_TOGGLE_LABELS, type BrushToggleLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { ChangeColumnLabels } from './labels';
3
+ import { ChangeColumnLabels } from './labels.js';
4
4
  export interface ChangeColumnItem {
5
5
  id: string;
6
6
  label: ReactNode;
@@ -1,3 +1,3 @@
1
- export { ChangeColumn, type ChangeColumnProps, type ChangeColumnItem, } from './change-column';
2
- export { DEFAULT_CHANGE_COLUMN_LABELS, type ChangeColumnLabels } from './labels';
3
- export type { ChangeColumnWidgetState } from './types';
1
+ export { ChangeColumn, type ChangeColumnProps, type ChangeColumnItem, } from './change-column.js';
2
+ export { DEFAULT_CHANGE_COLUMN_LABELS, type ChangeColumnLabels } from './labels.js';
3
+ export type { ChangeColumnWidgetState } from './types.js';
@@ -1,4 +1,4 @@
1
- import { WidgetState } from '../../stores';
1
+ import { WidgetState } from '../../stores/index.js';
2
2
  /**
3
3
  * State extension owned by the ChangeColumn action. Stored on the per-widget
4
4
  * Zustand store; read by `<Table>` (and any other column-aware bridge) to
@@ -1,4 +1,4 @@
1
- import { DownloadItem } from './types';
1
+ import { DownloadItem } from './types.js';
2
2
  interface BuildCsvDownloadItemBase {
3
3
  /** Base filename (without extension). The item appends `.csv`. */
4
4
  filename: string;
@@ -1,7 +1,7 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { DownloadItem } from './types';
4
- import { DownloadLabels } from './labels';
3
+ import { DownloadItem } from './types.js';
4
+ import { DownloadLabels } from './labels.js';
5
5
  export interface DownloadProps {
6
6
  items: readonly DownloadItem[];
7
7
  labels?: Partial<DownloadLabels>;
@@ -1,8 +1,8 @@
1
- export { Download, type DownloadProps } from './download';
2
- export { downloadToCSV, downloadDOMToPNG, toCsvString, triggerLinkDownload, type DownloadHandle, type DownloadDOMToPNGOptions, } from './exports';
3
- export { CSVIcon, PNGIcon, MarkdownIcon } from './icons';
4
- export { buildPngDownloadItem, type BuildPngDownloadItemArgs } from './png-item';
5
- export { buildCsvDownloadItem, type BuildCsvDownloadItemArgs } from './csv-item';
6
- export { DOWNLOAD_ITEM_IDS, type DownloadItemId } from './constants';
7
- export type { DownloadItem } from './types';
8
- export { DEFAULT_DOWNLOAD_LABELS, type DownloadLabels } from './labels';
1
+ export { Download, type DownloadProps } from './download.js';
2
+ export { downloadToCSV, downloadDOMToPNG, toCsvString, triggerLinkDownload, type DownloadHandle, type DownloadDOMToPNGOptions, } from './exports.js';
3
+ export { CSVIcon, PNGIcon, MarkdownIcon } from './icons.js';
4
+ export { buildPngDownloadItem, type BuildPngDownloadItemArgs } from './png-item.js';
5
+ export { buildCsvDownloadItem, type BuildCsvDownloadItemArgs } from './csv-item.js';
6
+ export { DOWNLOAD_ITEM_IDS, type DownloadItemId } from './constants.js';
7
+ export type { DownloadItem } from './types.js';
8
+ export { DEFAULT_DOWNLOAD_LABELS, type DownloadLabels } from './labels.js';
@@ -1,4 +1,4 @@
1
- import { DownloadItem } from './types';
1
+ import { DownloadItem } from './types.js';
2
2
  export interface BuildPngDownloadItemArgs {
3
3
  /** Base filename (without extension). The item appends `.png`. */
4
4
  filename: string;
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { FullScreenLabels } from './labels';
3
+ import { FullScreenLabels } from './labels.js';
4
4
  export interface FullScreenTriggerProps {
5
5
  labels?: Partial<FullScreenLabels>;
6
6
  enterIcon?: ComponentType<SvgIconProps>;
@@ -1,3 +1,3 @@
1
- export { FullScreen, type FullScreenTriggerProps, type FullScreenSlotProps, } from './fullscreen';
2
- export { DEFAULT_FULLSCREEN_LABELS, type FullScreenLabels } from './labels';
3
- export type { FullScreenWidgetState } from './types';
1
+ export { FullScreen, type FullScreenTriggerProps, type FullScreenSlotProps, } from './fullscreen.js';
2
+ export { DEFAULT_FULLSCREEN_LABELS, type FullScreenLabels } from './labels.js';
3
+ export type { FullScreenWidgetState } from './types.js';
@@ -1,4 +1,4 @@
1
- import { WidgetState } from '../../stores';
1
+ import { WidgetState } from '../../stores/index.js';
2
2
  /**
3
3
  * State extension owned by FullScreen. The base `WidgetState` deliberately
4
4
  * stays free of widget-specific UI flags (R12 from the round-5 amendment);