@carto/ps-react-ui 4.20.2 → 4.22.0

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 (425) hide show
  1. package/dist/{actions-DKX98LlI.js → actions-DZGaL_uT.js} +2 -2
  2. package/dist/{actions-DKX98LlI.js.map → actions-DZGaL_uT.js.map} +1 -1
  3. package/dist/{actions-Dy9JVr7F.js → actions-iN1jwyxA.js} +363 -343
  4. package/dist/actions-iN1jwyxA.js.map +1 -0
  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/{echart-DSz2Tu0z.js → echart-BnJYXH7H.js} +28 -29
  16. package/dist/echart-BnJYXH7H.js.map +1 -0
  17. package/dist/{formula-Bk9CBzm2.js → formula-BNuRXsmh.js} +2 -2
  18. package/dist/{formula-Bk9CBzm2.js.map → formula-BNuRXsmh.js.map} +1 -1
  19. package/dist/{formula-Dsru_p-g.js → formula-Cqj84ZGX.js} +2 -2
  20. package/dist/{formula-Dsru_p-g.js.map → formula-Cqj84ZGX.js.map} +1 -1
  21. package/dist/legend.js +2 -0
  22. package/dist/legend.js.map +1 -1
  23. package/dist/{markdown-DnSJMPjQ.js → markdown-CV_KP-at.js} +2 -2
  24. package/dist/{markdown-DnSJMPjQ.js.map → markdown-CV_KP-at.js.map} +1 -1
  25. package/dist/{spread-Dy8pshpN.js → spread-C8T12Nfh.js} +3 -3
  26. package/dist/{spread-Dy8pshpN.js.map → spread-C8T12Nfh.js.map} +1 -1
  27. package/dist/{table-BfTG6rrs.js → table-CNQijNNB.js} +2 -2
  28. package/dist/{table-BfTG6rrs.js.map → table-CNQijNNB.js.map} +1 -1
  29. package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +1 -1
  30. package/dist/types/chat/bubbles/chat-agent-message.d.ts +1 -1
  31. package/dist/types/chat/bubbles/chat-error-message.d.ts +1 -1
  32. package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
  33. package/dist/types/chat/bubbles/chat-user-message.d.ts +1 -1
  34. package/dist/types/chat/bubbles/index.d.ts +5 -5
  35. package/dist/types/chat/bubbles/styles.d.ts +88 -0
  36. package/dist/types/chat/containers/chat-content.d.ts +1 -1
  37. package/dist/types/chat/containers/chat-footer.d.ts +1 -1
  38. package/dist/types/chat/containers/chat-header.d.ts +1 -1
  39. package/dist/types/chat/containers/chat-starter.d.ts +1 -1
  40. package/dist/types/chat/containers/index.d.ts +4 -4
  41. package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
  42. package/dist/types/chat/feedback/chat-loader.d.ts +1 -1
  43. package/dist/types/chat/feedback/chat-rating-action.d.ts +1 -1
  44. package/dist/types/chat/feedback/chat-thinking.d.ts +1 -1
  45. package/dist/types/chat/feedback/chat-tool-code-area.d.ts +1 -1
  46. package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +1 -1
  47. package/dist/types/chat/feedback/chat-tool-group.d.ts +1 -1
  48. package/dist/types/chat/feedback/chat-tool-trace.d.ts +1 -1
  49. package/dist/types/chat/feedback/get-tool-label.d.ts +1 -1
  50. package/dist/types/chat/feedback/index.d.ts +8 -8
  51. package/dist/types/chat/feedback/styles.d.ts +212 -0
  52. package/dist/types/chat/index.d.ts +21 -21
  53. package/dist/types/components/basemaps/basemaps.d.ts +1 -1
  54. package/dist/types/components/basemaps/const.d.ts +1 -1
  55. package/dist/types/components/basemaps/group.d.ts +1 -1
  56. package/dist/types/components/basemaps/header.d.ts +1 -1
  57. package/dist/types/components/copy-button/copy-button.d.ts +1 -1
  58. package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +1 -1
  59. package/dist/types/components/index.d.ts +26 -26
  60. package/dist/types/components/lasso-tool/chip.d.ts +1 -1
  61. package/dist/types/components/lasso-tool/const.d.ts +2 -2
  62. package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
  63. package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +1 -1
  64. package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
  65. package/dist/types/components/lasso-tool/layer-filters.d.ts +1 -1
  66. package/dist/types/components/lasso-tool/message.d.ts +1 -1
  67. package/dist/types/components/lasso-tool/types.d.ts +1 -1
  68. package/dist/types/components/list-data/list-data.d.ts +1 -1
  69. package/dist/types/components/measurement-tools/const.d.ts +2 -2
  70. package/dist/types/components/measurement-tools/measurement-tools.d.ts +1 -1
  71. package/dist/types/components/measurement-tools/types.d.ts +1 -1
  72. package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +10 -3
  73. package/dist/types/components/types.d.ts +1 -1
  74. package/dist/types/components/zoom-controls/zoom-controls.d.ts +1 -1
  75. package/dist/types/hooks/index.d.ts +1 -1
  76. package/dist/types/legend/components/icons.d.ts +1 -1
  77. package/dist/types/legend/components/index.d.ts +26 -26
  78. package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
  79. package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +1 -1
  80. package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +2 -2
  81. package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +2 -2
  82. package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +2 -2
  83. package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +1 -1
  84. package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +1 -1
  85. package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +2 -2
  86. package/dist/types/legend/components/run-async-menu-action.d.ts +1 -1
  87. package/dist/types/legend/index.d.ts +41 -41
  88. package/dist/types/legend/provider/index.d.ts +6 -6
  89. package/dist/types/legend/provider/legend-config-context.d.ts +1 -1
  90. package/dist/types/legend/provider/legend-provider.d.ts +2 -2
  91. package/dist/types/legend/stores/index.d.ts +5 -5
  92. package/dist/types/legend/stores/legend-store-registry.d.ts +1 -1
  93. package/dist/types/legend/stores/selectors.d.ts +1 -1
  94. package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
  95. package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +1 -1
  96. package/dist/types/widgets/actions/brush-toggle/types.d.ts +1 -1
  97. package/dist/types/widgets/actions/change-column/change-column.d.ts +1 -1
  98. package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +1 -1
  99. package/dist/types/widgets/actions/download/download.d.ts +1 -1
  100. package/dist/types/widgets/actions/download/exports.d.ts +1 -1
  101. package/dist/types/widgets/actions/download/types.d.ts +1 -1
  102. package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +1 -1
  103. package/dist/types/widgets/actions/fullscreen/types.d.ts +1 -1
  104. package/dist/types/widgets/actions/index.d.ts +20 -20
  105. package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
  106. package/dist/types/widgets/actions/lock-selection/types.d.ts +1 -1
  107. package/dist/types/widgets/actions/relative-data/relative-data.d.ts +1 -1
  108. package/dist/types/widgets/actions/relative-data/types.d.ts +1 -1
  109. package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
  110. package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +1 -1
  111. package/dist/types/widgets/actions/searcher/searcher.d.ts +1 -1
  112. package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
  113. package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
  114. package/dist/types/widgets/actions/stack-toggle/types.d.ts +1 -1
  115. package/dist/types/widgets/actions/zoom-toggle/types.d.ts +1 -1
  116. package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
  117. package/dist/types/widgets/bar/config.d.ts +2 -2
  118. package/dist/types/widgets/bar/index.d.ts +3 -3
  119. package/dist/types/widgets/bar/types.d.ts +3 -3
  120. package/dist/types/widgets/category/category-ui.d.ts +1 -1
  121. package/dist/types/widgets/category/components/category-legend.d.ts +1 -1
  122. package/dist/types/widgets/category/components/category-row-multi.d.ts +1 -1
  123. package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
  124. package/dist/types/widgets/category/config.d.ts +3 -3
  125. package/dist/types/widgets/category/index.d.ts +14 -14
  126. package/dist/types/widgets/category/types.d.ts +3 -3
  127. package/dist/types/widgets/echart/echart-ui.d.ts +1 -1
  128. package/dist/types/widgets/echart/echart.d.ts +1 -1
  129. package/dist/types/widgets/echart/index.d.ts +5 -5
  130. package/dist/types/widgets/echart/options.d.ts +1 -1
  131. package/dist/types/widgets/echart/types.d.ts +1 -1
  132. package/dist/types/widgets/echart/utils.d.ts +1 -1
  133. package/dist/types/widgets/error/error.d.ts +1 -1
  134. package/dist/types/widgets/error/index.d.ts +2 -2
  135. package/dist/types/widgets/error/types.d.ts +1 -1
  136. package/dist/types/widgets/formula/components/item.d.ts +1 -1
  137. package/dist/types/widgets/formula/components/prefix.d.ts +1 -1
  138. package/dist/types/widgets/formula/components/row.d.ts +1 -1
  139. package/dist/types/widgets/formula/components/series.d.ts +1 -1
  140. package/dist/types/widgets/formula/components/suffix.d.ts +1 -1
  141. package/dist/types/widgets/formula/components/value.d.ts +1 -1
  142. package/dist/types/widgets/formula/config.d.ts +2 -2
  143. package/dist/types/widgets/formula/formula-ui.d.ts +1 -1
  144. package/dist/types/widgets/formula/index.d.ts +11 -11
  145. package/dist/types/widgets/formula/serializer.d.ts +1 -1
  146. package/dist/types/widgets/formula/types.d.ts +3 -3
  147. package/dist/types/widgets/histogram/config.d.ts +3 -3
  148. package/dist/types/widgets/histogram/index.d.ts +4 -4
  149. package/dist/types/widgets/histogram/types.d.ts +3 -3
  150. package/dist/types/widgets/loader/index.d.ts +3 -3
  151. package/dist/types/widgets/loader/loader.d.ts +1 -1
  152. package/dist/types/widgets/loader/types.d.ts +1 -1
  153. package/dist/types/widgets/markdown/config.d.ts +2 -2
  154. package/dist/types/widgets/markdown/index.d.ts +5 -5
  155. package/dist/types/widgets/markdown/markdown-ui.d.ts +1 -1
  156. package/dist/types/widgets/markdown/markdown.d.ts +1 -1
  157. package/dist/types/widgets/markdown/types.d.ts +3 -3
  158. package/dist/types/widgets/no-data/index.d.ts +2 -2
  159. package/dist/types/widgets/no-data/no-data.d.ts +1 -1
  160. package/dist/types/widgets/no-data/types.d.ts +1 -1
  161. package/dist/types/widgets/note/index.d.ts +2 -2
  162. package/dist/types/widgets/note/note.d.ts +1 -1
  163. package/dist/types/widgets/note/types.d.ts +1 -1
  164. package/dist/types/widgets/pie/config.d.ts +2 -2
  165. package/dist/types/widgets/pie/index.d.ts +3 -3
  166. package/dist/types/widgets/pie/types.d.ts +3 -3
  167. package/dist/types/widgets/range/components/range-item.d.ts +1 -1
  168. package/dist/types/widgets/range/config.d.ts +1 -1
  169. package/dist/types/widgets/range/index.d.ts +6 -6
  170. package/dist/types/widgets/range/range-ui.d.ts +1 -1
  171. package/dist/types/widgets/range/serializer.d.ts +1 -1
  172. package/dist/types/widgets/range/types.d.ts +3 -3
  173. package/dist/types/widgets/scatterplot/config.d.ts +2 -2
  174. package/dist/types/widgets/scatterplot/index.d.ts +3 -3
  175. package/dist/types/widgets/scatterplot/types.d.ts +3 -3
  176. package/dist/types/widgets/selection-summary/index.d.ts +2 -2
  177. package/dist/types/widgets/selection-summary/selection-summary.d.ts +1 -1
  178. package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
  179. package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +1 -1
  180. package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
  181. package/dist/types/widgets/spread/components/max-value.d.ts +1 -1
  182. package/dist/types/widgets/spread/components/min-value.d.ts +1 -1
  183. package/dist/types/widgets/spread/components/separator.d.ts +1 -1
  184. package/dist/types/widgets/spread/config.d.ts +3 -3
  185. package/dist/types/widgets/spread/index.d.ts +9 -9
  186. package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
  187. package/dist/types/widgets/spread/types.d.ts +4 -4
  188. package/dist/types/widgets/stores/index.d.ts +3 -3
  189. package/dist/types/widgets/stores/use-widget-selector.d.ts +1 -1
  190. package/dist/types/widgets/stores/widget-store.d.ts +2 -2
  191. package/dist/types/widgets/subheader/index.d.ts +2 -2
  192. package/dist/types/widgets/subheader/subheader.d.ts +1 -1
  193. package/dist/types/widgets/table/components/cell-header.d.ts +1 -1
  194. package/dist/types/widgets/table/components/cell.d.ts +1 -1
  195. package/dist/types/widgets/table/components/pagination-actions.d.ts +1 -1
  196. package/dist/types/widgets/table/components/pagination.d.ts +1 -1
  197. package/dist/types/widgets/table/components/row.d.ts +1 -1
  198. package/dist/types/widgets/table/config.d.ts +2 -2
  199. package/dist/types/widgets/table/hooks/use-pagination.d.ts +1 -1
  200. package/dist/types/widgets/table/hooks/use-selection.d.ts +1 -1
  201. package/dist/types/widgets/table/hooks/use-sort.d.ts +1 -1
  202. package/dist/types/widgets/table/index.d.ts +17 -17
  203. package/dist/types/widgets/table/serializer.d.ts +1 -1
  204. package/dist/types/widgets/table/table-ui.d.ts +8 -8
  205. package/dist/types/widgets/table/types.d.ts +3 -3
  206. package/dist/types/widgets/timeseries/config.d.ts +2 -2
  207. package/dist/types/widgets/timeseries/index.d.ts +3 -3
  208. package/dist/types/widgets/timeseries/types.d.ts +3 -3
  209. package/dist/types/widgets/toolbar-actions/index.d.ts +2 -2
  210. package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +1 -1
  211. package/dist/types/widgets/utils/chart-config/config-factory.d.ts +1 -1
  212. package/dist/types/widgets/utils/chart-config/download-config.d.ts +2 -2
  213. package/dist/types/widgets/utils/chart-config/index.d.ts +6 -6
  214. package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
  215. package/dist/types/widgets/utils/index.d.ts +7 -7
  216. package/dist/types/widgets/utils/skeleton/index.d.ts +1 -1
  217. package/dist/types/widgets/wrapper/components/actions.d.ts +1 -1
  218. package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
  219. package/dist/types/widgets/wrapper/components/title.d.ts +1 -1
  220. package/dist/types/widgets/wrapper/index.d.ts +6 -6
  221. package/dist/types/widgets/wrapper/types.d.ts +1 -1
  222. package/dist/types/widgets/wrapper/wrapper-ui.d.ts +1 -1
  223. package/dist/types/widgets/wrapper/wrapper.d.ts +1 -1
  224. package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +1 -1
  225. package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -3
  226. package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
  227. package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -3
  228. package/dist/types/widgets-v2/actions/change-column/types.d.ts +1 -1
  229. package/dist/types/widgets-v2/actions/download/csv-item.d.ts +1 -1
  230. package/dist/types/widgets-v2/actions/download/download.d.ts +2 -2
  231. package/dist/types/widgets-v2/actions/download/index.d.ts +8 -8
  232. package/dist/types/widgets-v2/actions/download/png-item.d.ts +1 -1
  233. package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +23 -4
  234. package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -3
  235. package/dist/types/widgets-v2/actions/fullscreen/style.d.ts +9 -0
  236. package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +1 -1
  237. package/dist/types/widgets-v2/actions/index.d.ts +10 -10
  238. package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -3
  239. package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
  240. package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -3
  241. package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
  242. package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -4
  243. package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +1 -1
  244. package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +1 -1
  245. package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -2
  246. package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +1 -1
  247. package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -3
  248. package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
  249. package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -3
  250. package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +2 -2
  251. package/dist/types/widgets-v2/bar/download.d.ts +2 -2
  252. package/dist/types/widgets-v2/bar/index.d.ts +4 -4
  253. package/dist/types/widgets-v2/bar/options.d.ts +2 -2
  254. package/dist/types/widgets-v2/bar/types.d.ts +1 -1
  255. package/dist/types/widgets-v2/category/category-ui.d.ts +1 -1
  256. package/dist/types/widgets-v2/category/category.d.ts +1 -1
  257. package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +1 -1
  258. package/dist/types/widgets-v2/category/components/category-bar.d.ts +1 -1
  259. package/dist/types/widgets-v2/category/components/category-legend.d.ts +1 -1
  260. package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +1 -1
  261. package/dist/types/widgets-v2/category/components/category-row-single.d.ts +1 -1
  262. package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +1 -1
  263. package/dist/types/widgets-v2/category/download.d.ts +2 -2
  264. package/dist/types/widgets-v2/category/index.d.ts +10 -10
  265. package/dist/types/widgets-v2/category/skeleton.d.ts +1 -1
  266. package/dist/types/widgets-v2/category/style.d.ts +1 -1
  267. package/dist/types/widgets-v2/category/types.d.ts +1 -1
  268. package/dist/types/widgets-v2/echart/echart-ui.d.ts +2 -2
  269. package/dist/types/widgets-v2/echart/echart.d.ts +10 -2
  270. package/dist/types/widgets-v2/echart/index.d.ts +4 -4
  271. package/dist/types/widgets-v2/echart/style.d.ts +1 -0
  272. package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +1 -1
  273. package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
  274. package/dist/types/widgets-v2/formula/download.d.ts +2 -2
  275. package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
  276. package/dist/types/widgets-v2/formula/index.d.ts +11 -11
  277. package/dist/types/widgets-v2/formula/types.d.ts +1 -1
  278. package/dist/types/widgets-v2/histogram/download.d.ts +2 -2
  279. package/dist/types/widgets-v2/histogram/index.d.ts +5 -5
  280. package/dist/types/widgets-v2/histogram/options.d.ts +3 -3
  281. package/dist/types/widgets-v2/histogram/types.d.ts +1 -1
  282. package/dist/types/widgets-v2/index.d.ts +45 -45
  283. package/dist/types/widgets-v2/markdown/download.d.ts +2 -2
  284. package/dist/types/widgets-v2/markdown/index.d.ts +6 -6
  285. package/dist/types/widgets-v2/note/widget-note.d.ts +1 -1
  286. package/dist/types/widgets-v2/pie/download.d.ts +2 -2
  287. package/dist/types/widgets-v2/pie/index.d.ts +4 -4
  288. package/dist/types/widgets-v2/pie/options.d.ts +2 -2
  289. package/dist/types/widgets-v2/pie/types.d.ts +1 -1
  290. package/dist/types/widgets-v2/range/index.d.ts +4 -4
  291. package/dist/types/widgets-v2/range/range-ui.d.ts +1 -1
  292. package/dist/types/widgets-v2/range/range.d.ts +1 -1
  293. package/dist/types/widgets-v2/scatterplot/download.d.ts +2 -2
  294. package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -5
  295. package/dist/types/widgets-v2/scatterplot/options.d.ts +2 -2
  296. package/dist/types/widgets-v2/scatterplot/types.d.ts +1 -1
  297. package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
  298. package/dist/types/widgets-v2/spread/download.d.ts +2 -2
  299. package/dist/types/widgets-v2/spread/index.d.ts +7 -7
  300. package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
  301. package/dist/types/widgets-v2/spread/types.d.ts +1 -1
  302. package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
  303. package/dist/types/widgets-v2/stores/index.d.ts +8 -8
  304. package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +1 -1
  305. package/dist/types/widgets-v2/stores/transforms.d.ts +1 -1
  306. package/dist/types/widgets-v2/stores/use-transform.d.ts +1 -1
  307. package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +1 -1
  308. package/dist/types/widgets-v2/table/download.d.ts +2 -2
  309. package/dist/types/widgets-v2/table/helpers.d.ts +1 -1
  310. package/dist/types/widgets-v2/table/index.d.ts +8 -8
  311. package/dist/types/widgets-v2/table/table-ui.d.ts +2 -2
  312. package/dist/types/widgets-v2/table/table.d.ts +2 -2
  313. package/dist/types/widgets-v2/table/types.d.ts +1 -1
  314. package/dist/types/widgets-v2/timeseries/download.d.ts +2 -2
  315. package/dist/types/widgets-v2/timeseries/index.d.ts +5 -5
  316. package/dist/types/widgets-v2/timeseries/options.d.ts +4 -4
  317. package/dist/types/widgets-v2/timeseries/types.d.ts +1 -1
  318. package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
  319. package/dist/types/widgets-v2/utils/index.d.ts +3 -3
  320. package/dist/types/widgets-v2/wrapper/index.d.ts +4 -4
  321. package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
  322. package/dist/{utils-DtvTjjMq.js → utils-ClB6nn4w.js} +2 -2
  323. package/dist/{utils-DtvTjjMq.js.map → utils-ClB6nn4w.js.map} +1 -1
  324. package/dist/widgets/actions.js +1 -1
  325. package/dist/widgets/bar.js +1 -1
  326. package/dist/widgets/category.js +1 -1
  327. package/dist/widgets/formula.js +1 -1
  328. package/dist/widgets/histogram.js +2 -2
  329. package/dist/widgets/markdown.js +1 -1
  330. package/dist/widgets/pie.js +1 -1
  331. package/dist/widgets/scatterplot.js +1 -1
  332. package/dist/widgets/spread.js +2 -2
  333. package/dist/widgets/table.js +1 -1
  334. package/dist/widgets/timeseries.js +1 -1
  335. package/dist/widgets/utils.js +1 -1
  336. package/dist/widgets/wrapper.js +1 -1
  337. package/dist/widgets-v2/actions.js +3 -3
  338. package/dist/widgets-v2/bar.js +4 -4
  339. package/dist/widgets-v2/category.js +1 -1
  340. package/dist/widgets-v2/echart.js +1 -1
  341. package/dist/widgets-v2/formula.js +1 -1
  342. package/dist/widgets-v2/histogram.js +4 -4
  343. package/dist/widgets-v2/markdown.js +1 -1
  344. package/dist/widgets-v2/pie.js +3 -4
  345. package/dist/widgets-v2/pie.js.map +1 -1
  346. package/dist/widgets-v2/scatterplot.js +4 -4
  347. package/dist/widgets-v2/spread.js +1 -1
  348. package/dist/widgets-v2/table.js +1 -1
  349. package/dist/widgets-v2/timeseries.js +4 -4
  350. package/dist/widgets-v2/utils.js +1 -1
  351. package/dist/widgets-v2.js +10 -10
  352. package/dist/{zoom-toggle-CA0ifG23.js → zoom-toggle-KA63b6-J.js} +2 -2
  353. package/dist/{zoom-toggle-CA0ifG23.js.map → zoom-toggle-KA63b6-J.js.map} +1 -1
  354. package/package.json +5 -4
  355. package/src/chat/bubbles/styles.ts +27 -8
  356. package/src/chat/feedback/chat-actions-container.tsx +5 -2
  357. package/src/chat/feedback/styles.ts +8 -5
  358. package/src/components/basemaps/basemaps.tsx +4 -4
  359. package/src/components/responsive-drawer/responsive-drawer.test.tsx +37 -23
  360. package/src/components/responsive-drawer/responsive-drawer.tsx +15 -8
  361. package/src/legend/components/legend-row/legend-row.test.tsx +19 -0
  362. package/src/legend/components/legend-row/legend-row.tsx +15 -2
  363. package/src/widgets/utils/chart-config/option-builders.ts +5 -1
  364. package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +62 -0
  365. package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +85 -14
  366. package/src/widgets-v2/actions/fullscreen/style.ts +31 -4
  367. package/src/widgets-v2/echart/echart-ui.test.tsx +6 -3
  368. package/src/widgets-v2/echart/echart-ui.tsx +6 -2
  369. package/src/widgets-v2/echart/echart.test.tsx +1 -1
  370. package/src/widgets-v2/echart/echart.tsx +10 -0
  371. package/src/widgets-v2/echart/style.ts +10 -1
  372. package/src/widgets-v2/pie/options.test.ts +8 -0
  373. package/src/widgets-v2/pie/options.ts +3 -8
  374. package/dist/actions-Dy9JVr7F.js.map +0 -1
  375. package/dist/chart-config-BGt7wkK7.js.map +0 -1
  376. package/dist/components-DDt4mOQn.js.map +0 -1
  377. package/dist/echart-DSz2Tu0z.js.map +0 -1
  378. package/dist/types/legend/stores/legend-store.test.d.ts +0 -1
  379. package/dist/types/widgets/actions/brush-toggle/hit-test.test.d.ts +0 -1
  380. package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
  381. package/dist/types/widgets/echart/utils.test.d.ts +0 -1
  382. package/dist/types/widgets/formula/config.test.d.ts +0 -1
  383. package/dist/types/widgets/loader/utils.test.d.ts +0 -1
  384. package/dist/types/widgets/range/serializer.test.d.ts +0 -1
  385. package/dist/types/widgets/stores/widget-store-branches.test.d.ts +0 -1
  386. package/dist/types/widgets/stores/widget-store-performance.test.d.ts +0 -1
  387. package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
  388. package/dist/types/widgets/table/config.test.d.ts +0 -1
  389. package/dist/types/widgets/table/helpers.test.d.ts +0 -1
  390. package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +0 -1
  391. package/dist/types/widgets/table/hooks/use-selection.test.d.ts +0 -1
  392. package/dist/types/widgets/table/hooks/use-sort.test.d.ts +0 -1
  393. package/dist/types/widgets/utils/chart-config/option-builders.test.d.ts +0 -1
  394. package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +0 -1
  395. package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +0 -1
  396. package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +0 -1
  397. package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +0 -1
  398. package/dist/types/widgets-v2/bar/options.test.d.ts +0 -1
  399. package/dist/types/widgets-v2/category/download.test.d.ts +0 -1
  400. package/dist/types/widgets-v2/echart/edge-label-clamp.test.d.ts +0 -1
  401. package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +0 -1
  402. package/dist/types/widgets-v2/histogram/download.test.d.ts +0 -1
  403. package/dist/types/widgets-v2/histogram/options.test.d.ts +0 -1
  404. package/dist/types/widgets-v2/histogram/transforms.test.d.ts +0 -1
  405. package/dist/types/widgets-v2/markdown/download.test.d.ts +0 -1
  406. package/dist/types/widgets-v2/pie/download.test.d.ts +0 -1
  407. package/dist/types/widgets-v2/pie/options.test.d.ts +0 -1
  408. package/dist/types/widgets-v2/scatterplot/download.test.d.ts +0 -1
  409. package/dist/types/widgets-v2/scatterplot/options.test.d.ts +0 -1
  410. package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +0 -1
  411. package/dist/types/widgets-v2/spread/band.test.d.ts +0 -1
  412. package/dist/types/widgets-v2/spread/download.test.d.ts +0 -1
  413. package/dist/types/widgets-v2/state/labels.test.d.ts +0 -1
  414. package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +0 -1
  415. package/dist/types/widgets-v2/stores/transforms.test.d.ts +0 -1
  416. package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +0 -1
  417. package/dist/types/widgets-v2/table/download.test.d.ts +0 -1
  418. package/dist/types/widgets-v2/table/helpers.test.d.ts +0 -1
  419. package/dist/types/widgets-v2/table/transforms.test.d.ts +0 -1
  420. package/dist/types/widgets-v2/test-utils.d.ts +0 -52
  421. package/dist/types/widgets-v2/timeseries/download.test.d.ts +0 -1
  422. package/dist/types/widgets-v2/timeseries/options.test.d.ts +0 -1
  423. package/dist/types/widgets-v2/timeseries/transforms.test.d.ts +0 -1
  424. package/dist/types/widgets-v2/utils/merge-options.test.d.ts +0 -1
  425. package/dist/types/widgets-v2/utils/resolve-theme-color.test.d.ts +0 -1
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
- import { SvgIconProps } from '@mui/material';
3
- import { FullScreenLabels } from './labels';
2
+ import { SvgIconProps, SxProps, Theme } from '@mui/material';
3
+ import { FullScreenLabels } from './labels.js';
4
4
  export interface FullScreenTriggerProps {
5
5
  labels?: Partial<FullScreenLabels>;
6
6
  enterIcon?: ComponentType<SvgIconProps>;
@@ -16,6 +16,25 @@ export interface FullScreenSlotProps {
16
16
  children: (isFullScreen: boolean) => ReactNode;
17
17
  /** Header text rendered above the body when the modal is open. */
18
18
  title?: ReactNode;
19
+ /**
20
+ * Buttons rendered in the modal header, to the left of the close icon —
21
+ * the fullscreen counterpart of `<Widget.Actions>`, which lives in the
22
+ * wrapper's summary row and is covered by the dialog. Pass the same
23
+ * elements you compose there (typically `<Widget.Download>`); the
24
+ * fullscreen trigger is intentionally not among them, since the close
25
+ * icon already exits.
26
+ */
27
+ actions?: ReactNode;
28
+ /**
29
+ * Per-widget override merged over the default `90vw x 90vh` dialog paper.
30
+ * Charts want the default (their canvas grows to fill it); content-sized
31
+ * widgets (Range, Markdown) pass their own width / `height: 'auto'` so the
32
+ * modal doesn't leave a large empty box around them.
33
+ *
34
+ * Shallow-merged over the default, same as `Widget.Actions`' `sx`: pass a
35
+ * plain style object, not the array or theme-callback form.
36
+ */
37
+ paperSx?: SxProps<Theme>;
19
38
  labels?: Partial<FullScreenLabels>;
20
39
  closeIcon?: ComponentType<SvgIconProps>;
21
40
  iconProps?: SvgIconProps;
@@ -37,7 +56,7 @@ declare function FullScreenTrigger({ labels, enterIcon: EnterIcon, exitIcon: Exi
37
56
  * ECharts (or any other heavy child) stays mounted while only its DOM
38
57
  * parent changes.
39
58
  */
40
- declare function FullScreenSlot({ children, title, labels, closeIcon: CloseSvg, iconProps, }: FullScreenSlotProps): import("react").JSX.Element;
59
+ declare function FullScreenSlot({ children, title, actions, paperSx, labels, closeIcon: CloseSvg, iconProps, }: FullScreenSlotProps): import("react").JSX.Element;
41
60
  /**
42
61
  * Namespace export. Consumers compose with:
43
62
  *
@@ -46,7 +65,7 @@ declare function FullScreenSlot({ children, title, labels, closeIcon: CloseSvg,
46
65
  * <Widget.FullScreen.Trigger />
47
66
  * </Widget.Actions>
48
67
  * <Widget.Content>
49
- * <Widget.FullScreen.Slot title={title}>
68
+ * <Widget.FullScreen.Slot title={title} actions={<Widget.Download items={items} />}>
50
69
  * {(isFullScreen) => <Body visibleCount={isFullScreen ? undefined : 2} />}
51
70
  * </Widget.FullScreen.Slot>
52
71
  * </Widget.Content>
@@ -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';
@@ -19,6 +19,8 @@ export declare const styles: {
19
19
  dialogPaper: {
20
20
  width: string;
21
21
  height: string;
22
+ minWidth: string;
23
+ minHeight: string;
22
24
  maxWidth: string;
23
25
  maxHeight: string;
24
26
  };
@@ -31,6 +33,12 @@ export declare const styles: {
31
33
  pr: number;
32
34
  pb: number;
33
35
  };
36
+ dialogActions: {
37
+ display: "flex";
38
+ alignItems: "center";
39
+ gap: number;
40
+ flexShrink: number;
41
+ };
34
42
  titleText: {
35
43
  minWidth: number;
36
44
  overflow: "hidden";
@@ -44,5 +52,6 @@ export declare const styles: {
44
52
  py: number;
45
53
  px: number;
46
54
  overflow: "auto";
55
+ minHeight: number;
47
56
  };
48
57
  };
@@ -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);
@@ -1,10 +1,10 @@
1
- export { Searcher, SearcherToggle, setSearcherText, filterBySearchText, DEFAULT_SEARCHER_LABELS, type SearcherProps, type SearcherToggleProps, type SearcherLabels, } from './searcher';
2
- export { StackToggle, addStack, DEFAULT_STACK_TOGGLE_LABELS, type StackToggleProps, type StackToggleLabels, } from './stack-toggle';
3
- export { ShowAllToggle, setShowAll, SHOW_ALL_ID, DEFAULT_SHOW_ALL_LABELS, type ShowAllToggleProps, type ShowAllLabels, } from './show-all';
4
- export { ZoomToggle, addZoom, createAddZoom, ZOOM_LAYOUT, DEFAULT_ZOOM_TOGGLE_LABELS, type ZoomToggleProps, type ZoomToggleLabels, } from './zoom-toggle';
5
- export { BrushToggle, addBrush, DEFAULT_BRUSH_TOGGLE_LABELS, type BrushToggleProps, type BrushToggleLabels, } from './brush-toggle';
6
- export { RelativeData, toRelativeData, createPercentFormatter, DEFAULT_RELATIVE_DATA_LABELS, type RelativeDataProps, type RelativeDataLabels, } from './relative-data';
7
- export { Download, downloadToCSV, downloadDOMToPNG, toCsvString, triggerLinkDownload, buildPngDownloadItem, buildCsvDownloadItem, CSVIcon, PNGIcon, MarkdownIcon, DEFAULT_DOWNLOAD_LABELS, DOWNLOAD_ITEM_IDS, type DownloadProps, type DownloadItem, type DownloadItemId, type DownloadHandle, type DownloadDOMToPNGOptions, type BuildPngDownloadItemArgs, type BuildCsvDownloadItemArgs, type DownloadLabels, } from './download';
8
- export { FullScreen, DEFAULT_FULLSCREEN_LABELS, type FullScreenTriggerProps, type FullScreenSlotProps, type FullScreenLabels, type FullScreenWidgetState, } from './fullscreen';
9
- export { LockSelection, filterByLockedItems, DEFAULT_LOCK_SELECTION_LABELS, type LockSelectionProps, type LockSelectionKey, type LockSelectionLabels, } from './lock-selection';
10
- export { ChangeColumn, DEFAULT_CHANGE_COLUMN_LABELS, type ChangeColumnProps, type ChangeColumnItem, type ChangeColumnLabels, type ChangeColumnWidgetState, } from './change-column';
1
+ export { Searcher, SearcherToggle, setSearcherText, filterBySearchText, DEFAULT_SEARCHER_LABELS, type SearcherProps, type SearcherToggleProps, type SearcherLabels, } from './searcher/index.js';
2
+ export { StackToggle, addStack, DEFAULT_STACK_TOGGLE_LABELS, type StackToggleProps, type StackToggleLabels, } from './stack-toggle/index.js';
3
+ export { ShowAllToggle, setShowAll, SHOW_ALL_ID, DEFAULT_SHOW_ALL_LABELS, type ShowAllToggleProps, type ShowAllLabels, } from './show-all/index.js';
4
+ export { ZoomToggle, addZoom, createAddZoom, ZOOM_LAYOUT, DEFAULT_ZOOM_TOGGLE_LABELS, type ZoomToggleProps, type ZoomToggleLabels, } from './zoom-toggle/index.js';
5
+ export { BrushToggle, addBrush, DEFAULT_BRUSH_TOGGLE_LABELS, type BrushToggleProps, type BrushToggleLabels, } from './brush-toggle/index.js';
6
+ export { RelativeData, toRelativeData, createPercentFormatter, DEFAULT_RELATIVE_DATA_LABELS, type RelativeDataProps, type RelativeDataLabels, } from './relative-data/index.js';
7
+ export { Download, downloadToCSV, downloadDOMToPNG, toCsvString, triggerLinkDownload, buildPngDownloadItem, buildCsvDownloadItem, CSVIcon, PNGIcon, MarkdownIcon, DEFAULT_DOWNLOAD_LABELS, DOWNLOAD_ITEM_IDS, type DownloadProps, type DownloadItem, type DownloadItemId, type DownloadHandle, type DownloadDOMToPNGOptions, type BuildPngDownloadItemArgs, type BuildCsvDownloadItemArgs, type DownloadLabels, } from './download/index.js';
8
+ export { FullScreen, DEFAULT_FULLSCREEN_LABELS, type FullScreenTriggerProps, type FullScreenSlotProps, type FullScreenLabels, type FullScreenWidgetState, } from './fullscreen/index.js';
9
+ export { LockSelection, filterByLockedItems, DEFAULT_LOCK_SELECTION_LABELS, type LockSelectionProps, type LockSelectionKey, type LockSelectionLabels, } from './lock-selection/index.js';
10
+ export { ChangeColumn, DEFAULT_CHANGE_COLUMN_LABELS, type ChangeColumnProps, type ChangeColumnItem, type ChangeColumnLabels, type ChangeColumnWidgetState, } from './change-column/index.js';
@@ -1,3 +1,3 @@
1
- export { LockSelection, type LockSelectionProps, type LockSelectionKey, } from './lock-selection';
2
- export { filterByLockedItems } from './transforms';
3
- export { DEFAULT_LOCK_SELECTION_LABELS, type LockSelectionLabels, } from './labels';
1
+ export { LockSelection, type LockSelectionProps, type LockSelectionKey, } from './lock-selection.js';
2
+ export { filterByLockedItems } from './transforms.js';
3
+ export { DEFAULT_LOCK_SELECTION_LABELS, type LockSelectionLabels, } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { LockSelectionLabels } from './labels';
3
+ import { LockSelectionLabels } from './labels.js';
4
4
  export type LockSelectionKey = string | number;
5
5
  export interface LockSelectionProps<K extends LockSelectionKey = LockSelectionKey> {
6
6
  /**
@@ -1,3 +1,3 @@
1
- export { RelativeData, type RelativeDataProps } from './relative-data';
2
- export { toRelativeData, createPercentFormatter } from './transforms';
3
- export { DEFAULT_RELATIVE_DATA_LABELS, type RelativeDataLabels } from './labels';
1
+ export { RelativeData, type RelativeDataProps } from './relative-data.js';
2
+ export { toRelativeData, createPercentFormatter } from './transforms.js';
3
+ export { DEFAULT_RELATIVE_DATA_LABELS, type RelativeDataLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { RelativeDataLabels } from './labels';
3
+ import { RelativeDataLabels } from './labels.js';
4
4
  export interface RelativeDataProps {
5
5
  initialEnabled?: boolean;
6
6
  /**
@@ -1,4 +1,4 @@
1
- export { Searcher, type SearcherProps } from './searcher';
2
- export { SearcherToggle, setSearcherText, type SearcherToggleProps, } from './searcher-toggle';
3
- export { filterBySearchText } from './filter';
4
- export { DEFAULT_SEARCHER_LABELS, type SearcherLabels } from './labels';
1
+ export { Searcher, type SearcherProps } from './searcher.js';
2
+ export { SearcherToggle, setSearcherText, type SearcherToggleProps, } from './searcher-toggle.js';
3
+ export { filterBySearchText } from './filter.js';
4
+ export { DEFAULT_SEARCHER_LABELS, type SearcherLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { SearcherLabels } from './labels';
3
+ import { SearcherLabels } from './labels.js';
4
4
  export interface SearcherToggleProps {
5
5
  labels?: Partial<SearcherLabels>;
6
6
  icon?: ComponentType<SvgIconProps>;
@@ -1,4 +1,4 @@
1
- import { SearcherLabels } from './labels';
1
+ import { SearcherLabels } from './labels.js';
2
2
  export interface SearcherProps {
3
3
  labels?: Partial<SearcherLabels>;
4
4
  /** Debounce delay before the input value is written to the widget store. */
@@ -1,2 +1,2 @@
1
- export { ShowAllToggle, setShowAll, SHOW_ALL_ID, type ShowAllToggleProps, } from './show-all';
2
- export { DEFAULT_SHOW_ALL_LABELS, type ShowAllLabels } from './labels';
1
+ export { ShowAllToggle, setShowAll, SHOW_ALL_ID, type ShowAllToggleProps, } from './show-all.js';
2
+ export { DEFAULT_SHOW_ALL_LABELS, type ShowAllLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { ShowAllLabels } from './labels';
3
+ import { ShowAllLabels } from './labels.js';
4
4
  /**
5
5
  * The `show-all` flag is a pure UI signal (no data/config transform): the
6
6
  * Category overflow row writes it `true` via {@link setShowAll}, the
@@ -1,3 +1,3 @@
1
- export { StackToggle, type StackToggleProps } from './stack-toggle';
2
- export { addStack } from './transforms';
3
- export { DEFAULT_STACK_TOGGLE_LABELS, type StackToggleLabels } from './labels';
1
+ export { StackToggle, type StackToggleProps } from './stack-toggle.js';
2
+ export { addStack } from './transforms.js';
3
+ export { DEFAULT_STACK_TOGGLE_LABELS, type StackToggleLabels } from './labels.js';
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { StackToggleLabels } from './labels';
3
+ import { StackToggleLabels } from './labels.js';
4
4
  export interface StackToggleProps {
5
5
  initialEnabled?: boolean;
6
6
  labels?: Partial<StackToggleLabels>;
@@ -1,3 +1,3 @@
1
- export { ZoomToggle, type ZoomToggleProps } from './zoom-toggle';
2
- export { addZoom, createAddZoom, ZOOM_LAYOUT, type ZoomAxis, type CreateAddZoomOptions, } from './transforms';
3
- export { DEFAULT_ZOOM_TOGGLE_LABELS, type ZoomToggleLabels } from './labels';
1
+ export { ZoomToggle, type ZoomToggleProps } from './zoom-toggle.js';
2
+ export { addZoom, createAddZoom, ZOOM_LAYOUT, type ZoomAxis, type CreateAddZoomOptions, } from './transforms.js';
3
+ export { DEFAULT_ZOOM_TOGGLE_LABELS, type ZoomToggleLabels } from './labels.js';
@@ -1,7 +1,7 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- import { ZoomAxis } from './transforms';
4
- import { ZoomToggleLabels } from './labels';
3
+ import { ZoomAxis } from './transforms.js';
4
+ import { ZoomToggleLabels } from './labels.js';
5
5
  export interface ZoomToggleProps {
6
6
  initialEnabled?: boolean;
7
7
  labels?: Partial<ZoomToggleLabels>;
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { BarWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { BarWidgetData } from './types.js';
3
3
  export interface BarDownloadConfigArgs {
4
4
  filename: string;
5
5
  getData: () => BarWidgetData;
@@ -1,4 +1,4 @@
1
- export { barOptions, createBarOptionFactory } from './options';
2
- export { BarSkeleton } from './skeleton';
3
- export { createBarDownloadConfig } from './download';
4
- export type { BarDatum, BarWidgetData, BarOptionsInput, BarOptionFactoryInput, BarEChartsOption, } from './types';
1
+ export { barOptions, createBarOptionFactory } from './options.js';
2
+ export { BarSkeleton } from './skeleton.js';
3
+ export { createBarDownloadConfig } from './download.js';
4
+ export type { BarDatum, BarWidgetData, BarOptionsInput, BarOptionFactoryInput, BarEChartsOption, } from './types.js';
@@ -1,5 +1,5 @@
1
- import { OptionFactory } from '../echart';
2
- import { BarEChartsOption, BarOptionFactoryInput, BarOptionsInput } from './types';
1
+ import { OptionFactory } from '../echart/index.js';
2
+ import { BarEChartsOption, BarOptionFactoryInput, BarOptionsInput } from './types.js';
3
3
  /**
4
4
  * Builds the **structural** ECharts option for a bar widget — axes, grid,
5
5
  * tooltip styling, themed legend. Intentionally data-agnostic: no series,
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { EChartsOption } from 'echarts';
3
- import { WidgetSeries } from '../types';
3
+ import { WidgetSeries } from '../types.js';
4
4
  /** A single category entry in a bar series. */
5
5
  export interface BarDatum {
6
6
  name: string | number;
@@ -1,4 +1,4 @@
1
- import { CategoryKey, CategoryLabels, CategorySeriesConfig, CategorySize, CategoryWidgetData } from './types';
1
+ import { CategoryKey, CategoryLabels, CategorySeriesConfig, CategorySize, CategoryWidgetData } from './types.js';
2
2
  export interface CategoryUIProps {
3
3
  data: CategoryWidgetData;
4
4
  /** Currently-selected category names (destination-owned). */
@@ -1,4 +1,4 @@
1
- import { CategoryKey, CategoryLabels, CategorySeriesConfig, CategorySize } from './types';
1
+ import { CategoryKey, CategoryLabels, CategorySeriesConfig, CategorySize } from './types.js';
2
2
  export interface CategoryProps {
3
3
  /** Currently-selected category names. Destination-owned. */
4
4
  selection?: readonly CategoryKey[];
@@ -1,4 +1,4 @@
1
- import { CategorySize } from '../types';
1
+ import { CategorySize } from '../types.js';
2
2
  export interface CategoryBarStackedProps {
3
3
  /** One value per series. Zero values render no segment (visually + in the DOM). */
4
4
  values: readonly number[];
@@ -1,4 +1,4 @@
1
- import { CategorySize } from '../types';
1
+ import { CategorySize } from '../types.js';
2
2
  export interface CategoryBarProps {
3
3
  /** Numeric value driving the fill width. */
4
4
  value: number;
@@ -1,4 +1,4 @@
1
- import { CategorySeriesConfig } from '../types';
1
+ import { CategorySeriesConfig } from '../types.js';
2
2
  export interface CategoryLegendProps {
3
3
  /** Series metadata. Empty array → renders nothing. */
4
4
  series: readonly CategorySeriesConfig[];
@@ -1,4 +1,4 @@
1
- import { CategoryKey, CategorySize } from '../types';
1
+ import { CategoryKey, CategorySize } from '../types.js';
2
2
  export interface CategoryRowMultiProps {
3
3
  /** Raw category key — what gets emitted to `onToggle`. */
4
4
  name: CategoryKey;
@@ -1,4 +1,4 @@
1
- import { CategoryKey, CategorySize } from '../types';
1
+ import { CategoryKey, CategorySize } from '../types.js';
2
2
  export interface CategoryRowSingleProps {
3
3
  /** Raw category key — what gets emitted to `onToggle` regardless of formatter. */
4
4
  name: CategoryKey;
@@ -1,4 +1,4 @@
1
- import { CategoryKey, CategorySize } from '../types';
1
+ import { CategoryKey, CategorySize } from '../types.js';
2
2
  export interface CategoryRowStackedProps {
3
3
  /** Raw category key — what gets emitted to `onToggle`. */
4
4
  name: CategoryKey;
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { CategoryWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { CategoryWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for the Category widget. Always includes a CSV item
5
5
  * with `series, name, value` columns (one row per item). When
@@ -1,10 +1,10 @@
1
- export { Category, type CategoryProps } from './category';
2
- export { CategoryUI, type CategoryUIProps } from './category-ui';
3
- export { CategorySkeleton, type CategorySkeletonProps } from './skeleton';
4
- export { createCategoryDownloadConfig } from './download';
5
- export { CategoryBar, type CategoryBarProps } from './components/category-bar';
6
- export { CategoryRowSingle, type CategoryRowSingleProps, } from './components/category-row-single';
7
- export { CategoryRowMulti, type CategoryRowMultiProps, } from './components/category-row-multi';
8
- export { CategoryRowOther, type CategoryRowOtherProps, } from './components/category-row-other';
9
- export { CategoryLegend, type CategoryLegendProps, } from './components/category-legend';
10
- export type { CategoryDataItem, CategoryWidgetData, CategoryKey, CategorySeriesConfig, CategoryLabels, CategorySize, } from './types';
1
+ export { Category, type CategoryProps } from './category.js';
2
+ export { CategoryUI, type CategoryUIProps } from './category-ui.js';
3
+ export { CategorySkeleton, type CategorySkeletonProps } from './skeleton.js';
4
+ export { createCategoryDownloadConfig } from './download.js';
5
+ export { CategoryBar, type CategoryBarProps } from './components/category-bar.js';
6
+ export { CategoryRowSingle, type CategoryRowSingleProps, } from './components/category-row-single.js';
7
+ export { CategoryRowMulti, type CategoryRowMultiProps, } from './components/category-row-multi.js';
8
+ export { CategoryRowOther, type CategoryRowOtherProps, } from './components/category-row-other.js';
9
+ export { CategoryLegend, type CategoryLegendProps, } from './components/category-legend.js';
10
+ export type { CategoryDataItem, CategoryWidgetData, CategoryKey, CategorySeriesConfig, CategoryLabels, CategorySize, } from './types.js';
@@ -1,4 +1,4 @@
1
- import { CategorySize } from './types';
1
+ import { CategorySize } from './types.js';
2
2
  export interface CategorySkeletonProps {
3
3
  rows?: number;
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
- import { CategorySize } from './types';
2
+ import { CategorySize } from './types.js';
3
3
  export declare const styles: {
4
4
  root: {
5
5
  display: string;
@@ -1,4 +1,4 @@
1
- import { WidgetSeries } from '../types';
1
+ import { WidgetSeries } from '../types.js';
2
2
  /** A single row in a Category widget. `name` is the category key. */
3
3
  export interface CategoryDataItem {
4
4
  name: string | number;
@@ -2,7 +2,6 @@ import { SxProps, Theme } from '@mui/material';
2
2
  import * as echarts from 'echarts';
3
3
  export declare const DEFAULT_INIT_OPTS: {
4
4
  renderer: "svg";
5
- height: number;
6
5
  };
7
6
  export type EchartsEventHandler = (event: unknown) => void;
8
7
  export interface EchartUIProps {
@@ -25,7 +24,8 @@ export interface EchartUIProps {
25
24
  /**
26
25
  * Init options forwarded to echarts.init. Captured at mount only — to change
27
26
  * `renderer` or `height` after mount, unmount and remount the chart.
28
- * Defaults: `{ renderer: 'svg', height: 304 }`.
27
+ * Defaults: `{ renderer: 'svg' }` — height is container-driven, so prefer
28
+ * `sx={{ minHeight }}` over pinning `height` here.
29
29
  */
30
30
  init?: echarts.EChartsInitOpts;
31
31
  /**
@@ -1,4 +1,5 @@
1
- import { EchartsEventHandler } from './echart-ui';
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { EchartsEventHandler } from './echart-ui.js';
2
3
  import type * as echarts from 'echarts';
3
4
  /**
4
5
  * Reactive context passed to every {@link OptionFactory} call so the
@@ -48,6 +49,13 @@ export interface EchartProps {
48
49
  onEvents?: Record<string, EchartsEventHandler>;
49
50
  init?: echarts.EChartsInitOpts;
50
51
  className?: string;
52
+ /**
53
+ * Styles for the chart container — this is where its height comes from.
54
+ * `min-height` defaults to the card height (304px) and `flex: 1` lets the
55
+ * chart fill a taller parent; override either here, e.g.
56
+ * `sx={{ minHeight: 400 }}` for a taller card.
57
+ */
58
+ sx?: SxProps<Theme>;
51
59
  }
52
60
  /**
53
61
  * Stateful Echart bridge — owns the entire ECharts coupling. The whole
@@ -72,4 +80,4 @@ export interface EchartProps {
72
80
  * a renderer-agnostic shell. The `ProviderProps` surface has no ECharts
73
81
  * coupling, so non-Echart widgets don't transitively import the type.
74
82
  */
75
- export declare function Echart({ optionFactory, onEvents, init, className, }: EchartProps): import("react").JSX.Element;
83
+ export declare function Echart({ optionFactory, onEvents, init, className, sx, }: EchartProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export { EchartUI, DEFAULT_INIT_OPTS, type EchartUIProps, type EchartsEventHandler, } from './echart-ui';
2
- export { Echart, type EchartProps, type OptionFactory, type OptionFactoryContext, } from './echart';
3
- export { useChartSelection, type SelectionKey, type UseChartSelectionOptions, type ChartSelectionWiring, } from './use-chart-selection';
4
- export { observeResize, __resetSharedResizeObserver, } from './shared-resize-observer';
1
+ export { EchartUI, DEFAULT_INIT_OPTS, type EchartUIProps, type EchartsEventHandler, } from './echart-ui.js';
2
+ export { Echart, type EchartProps, type OptionFactory, type OptionFactoryContext, } from './echart.js';
3
+ export { useChartSelection, type SelectionKey, type UseChartSelectionOptions, type ChartSelectionWiring, } from './use-chart-selection.js';
4
+ export { observeResize, __resetSharedResizeObserver, } from './shared-resize-observer.js';
@@ -1,6 +1,7 @@
1
1
  export declare const styles: {
2
2
  root: {
3
3
  width: string;
4
+ flex: number;
4
5
  minHeight: number;
5
6
  };
6
7
  };
@@ -1,5 +1,5 @@
1
1
  import { CallbackDataParams } from 'echarts/types/dist/shared';
2
- import { EchartsEventHandler } from './echart-ui';
2
+ import { EchartsEventHandler } from './echart-ui.js';
3
3
  export type SelectionKey = string | number;
4
4
  export interface UseChartSelectionOptions<K extends SelectionKey> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ChipProps } from '@mui/material';
2
- import { DeltaSeverity } from './types';
2
+ import { DeltaSeverity } from './types.js';
3
3
  export interface DeltaProps {
4
4
  /** Numeric magnitude. Used for the default percent label and severity inference. */
5
5
  value: number;
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { FormulaWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { FormulaWidgetData } from './types.js';
3
3
  export interface FormulaDownloadConfigArgs {
4
4
  filename: string;
5
5
  getData: () => FormulaWidgetData;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'react';
2
- import { FormulaDataItem } from './types';
2
+ import { FormulaDataItem } from './types.js';
3
3
  export interface FormulaUIProps {
4
4
  items: readonly FormulaDataItem[];
5
5
  /** Number formatter — applied to each item's `value`. */
@@ -1,11 +1,11 @@
1
- export { Formula } from './formula';
2
- export { FormulaUI, type FormulaUIProps } from './formula-ui';
3
- export { Prefix, type PrefixProps } from './prefix';
4
- export { Suffix, type SuffixProps } from './suffix';
5
- export { Value, type ValueProps } from './value';
6
- export { Series, type SeriesProps } from './series';
7
- export { Note, type NoteProps } from './note';
8
- export { Delta, type DeltaProps } from './delta';
9
- export { FormulaSkeleton, type FormulaSkeletonProps } from './skeleton';
10
- export { createFormulaDownloadConfig } from './download';
11
- export type { FormulaDataItem, FormulaWidgetData, FormulaSeries, FormulaDelta, DeltaSeverity, } from './types';
1
+ export { Formula } from './formula.js';
2
+ export { FormulaUI, type FormulaUIProps } from './formula-ui.js';
3
+ export { Prefix, type PrefixProps } from './prefix.js';
4
+ export { Suffix, type SuffixProps } from './suffix.js';
5
+ export { Value, type ValueProps } from './value.js';
6
+ export { Series, type SeriesProps } from './series.js';
7
+ export { Note, type NoteProps } from './note.js';
8
+ export { Delta, type DeltaProps } from './delta.js';
9
+ export { FormulaSkeleton, type FormulaSkeletonProps } from './skeleton.js';
10
+ export { createFormulaDownloadConfig } from './download.js';
11
+ export type { FormulaDataItem, FormulaWidgetData, FormulaSeries, FormulaDelta, DeltaSeverity, } from './types.js';
@@ -1,4 +1,4 @@
1
- import { WidgetSeries } from '../types';
1
+ import { WidgetSeries } from '../types.js';
2
2
  /**
3
3
  * Series metadata rendered as a coloured avatar at the start of a row.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { DownloadItem } from '../actions/download';
2
- import { HistogramWidgetData } from './types';
1
+ import { DownloadItem } from '../actions/download/index.js';
2
+ import { HistogramWidgetData } from './types.js';
3
3
  /**
4
4
  * Download menu items for histograms. Always includes a CSV item with
5
5
  * `bin_low, bin_high, series_1_count, series_2_count, …` columns (one row
@@ -1,5 +1,5 @@
1
- export { histogramOptions, createHistogramOptionFactory } from './options';
2
- export { HistogramSkeleton, type HistogramSkeletonProps } from './skeleton';
3
- export { createHistogramDownloadConfig } from './download';
4
- export { toRelativeHistogramData, filterHistogramByLockedBins, } from './transforms';
5
- export type { HistogramWidgetData, HistogramOptionsInput, HistogramOptionFactoryInput, HistogramEChartsOption, } from './types';
1
+ export { histogramOptions, createHistogramOptionFactory } from './options.js';
2
+ export { HistogramSkeleton, type HistogramSkeletonProps } from './skeleton.js';
3
+ export { createHistogramDownloadConfig } from './download.js';
4
+ export { toRelativeHistogramData, filterHistogramByLockedBins, } from './transforms.js';
5
+ export type { HistogramWidgetData, HistogramOptionsInput, HistogramOptionFactoryInput, HistogramEChartsOption, } from './types.js';
@@ -1,9 +1,9 @@
1
- import { OptionFactory } from '../echart';
2
- import { HistogramEChartsOption, HistogramOptionFactoryInput, HistogramOptionsInput } from './types';
1
+ import { OptionFactory } from '../echart/index.js';
2
+ import { HistogramEChartsOption, HistogramOptionFactoryInput, HistogramOptionsInput } from './types.js';
3
3
  /**
4
4
  * Builds the **structural** ECharts option for a histogram widget — axes,
5
5
  * grid, tooltip, value-axis label formatter, themed legend. Mirrors
6
- * {@link import('../bar/options').barOptions} so the two widgets share v1
6
+ * {@link import('../bar/options.js').barOptions} so the two widgets share v1
7
7
  * look-and-feel: themed dark tooltip with positioner, CARTO color palette,
8
8
  * structural legend (`show` toggled by the merger based on series count),
9
9
  * y-axis labels rendered inside the plot via the `niceNum` closure pattern.
@@ -1,6 +1,6 @@
1
1
  import { Theme } from '@mui/material';
2
2
  import { EChartsOption } from 'echarts';
3
- import { WidgetSeries } from '../types';
3
+ import { WidgetSeries } from '../types.js';
4
4
  /**
5
5
  * Histogram widget data — array of series, each a flat array of bin counts.
6
6
  * The option factory's merge phase (see {@link createHistogramOptionFactory})