@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.
- package/dist/{actions-DKX98LlI.js → actions-DZGaL_uT.js} +2 -2
- package/dist/{actions-DKX98LlI.js.map → actions-DZGaL_uT.js.map} +1 -1
- package/dist/{actions-Dy9JVr7F.js → actions-iN1jwyxA.js} +363 -343
- package/dist/actions-iN1jwyxA.js.map +1 -0
- package/dist/{category-DHZscHaS.js → category-DZt6yiST.js} +3 -3
- package/dist/{category-DHZscHaS.js.map → category-DZt6yiST.js.map} +1 -1
- package/dist/{chart-config-BGt7wkK7.js → chart-config-BWxjodlt.js} +2 -2
- package/dist/chart-config-BWxjodlt.js.map +1 -0
- package/dist/chat.js.map +1 -1
- package/dist/{components-DDt4mOQn.js → components-DKjBezcJ.js} +73 -73
- package/dist/components-DKjBezcJ.js.map +1 -0
- package/dist/components.js +1 -1
- package/dist/{download-BT6qBamM.js → download-C7he8mSh.js} +2 -2
- package/dist/{download-BT6qBamM.js.map → download-C7he8mSh.js.map} +1 -1
- package/dist/{echart-DSz2Tu0z.js → echart-BnJYXH7H.js} +28 -29
- package/dist/echart-BnJYXH7H.js.map +1 -0
- package/dist/{formula-Bk9CBzm2.js → formula-BNuRXsmh.js} +2 -2
- package/dist/{formula-Bk9CBzm2.js.map → formula-BNuRXsmh.js.map} +1 -1
- package/dist/{formula-Dsru_p-g.js → formula-Cqj84ZGX.js} +2 -2
- package/dist/{formula-Dsru_p-g.js.map → formula-Cqj84ZGX.js.map} +1 -1
- package/dist/legend.js +2 -0
- package/dist/legend.js.map +1 -1
- package/dist/{markdown-DnSJMPjQ.js → markdown-CV_KP-at.js} +2 -2
- package/dist/{markdown-DnSJMPjQ.js.map → markdown-CV_KP-at.js.map} +1 -1
- package/dist/{spread-Dy8pshpN.js → spread-C8T12Nfh.js} +3 -3
- package/dist/{spread-Dy8pshpN.js.map → spread-C8T12Nfh.js.map} +1 -1
- package/dist/{table-BfTG6rrs.js → table-CNQijNNB.js} +2 -2
- package/dist/{table-BfTG6rrs.js.map → table-CNQijNNB.js.map} +1 -1
- package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-agent-message.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-error-message.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-user-message.d.ts +1 -1
- package/dist/types/chat/bubbles/index.d.ts +5 -5
- package/dist/types/chat/bubbles/styles.d.ts +88 -0
- package/dist/types/chat/containers/chat-content.d.ts +1 -1
- package/dist/types/chat/containers/chat-footer.d.ts +1 -1
- package/dist/types/chat/containers/chat-header.d.ts +1 -1
- package/dist/types/chat/containers/chat-starter.d.ts +1 -1
- package/dist/types/chat/containers/index.d.ts +4 -4
- package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
- package/dist/types/chat/feedback/chat-loader.d.ts +1 -1
- package/dist/types/chat/feedback/chat-rating-action.d.ts +1 -1
- package/dist/types/chat/feedback/chat-thinking.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-code-area.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-group.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-trace.d.ts +1 -1
- package/dist/types/chat/feedback/get-tool-label.d.ts +1 -1
- package/dist/types/chat/feedback/index.d.ts +8 -8
- package/dist/types/chat/feedback/styles.d.ts +212 -0
- package/dist/types/chat/index.d.ts +21 -21
- package/dist/types/components/basemaps/basemaps.d.ts +1 -1
- package/dist/types/components/basemaps/const.d.ts +1 -1
- package/dist/types/components/basemaps/group.d.ts +1 -1
- package/dist/types/components/basemaps/header.d.ts +1 -1
- package/dist/types/components/copy-button/copy-button.d.ts +1 -1
- package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +1 -1
- package/dist/types/components/index.d.ts +26 -26
- package/dist/types/components/lasso-tool/chip.d.ts +1 -1
- package/dist/types/components/lasso-tool/const.d.ts +2 -2
- package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
- package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +1 -1
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
- package/dist/types/components/lasso-tool/layer-filters.d.ts +1 -1
- package/dist/types/components/lasso-tool/message.d.ts +1 -1
- package/dist/types/components/lasso-tool/types.d.ts +1 -1
- package/dist/types/components/list-data/list-data.d.ts +1 -1
- package/dist/types/components/measurement-tools/const.d.ts +2 -2
- package/dist/types/components/measurement-tools/measurement-tools.d.ts +1 -1
- package/dist/types/components/measurement-tools/types.d.ts +1 -1
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +10 -3
- package/dist/types/components/types.d.ts +1 -1
- package/dist/types/components/zoom-controls/zoom-controls.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +1 -1
- package/dist/types/legend/components/icons.d.ts +1 -1
- package/dist/types/legend/components/index.d.ts +26 -26
- package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +1 -1
- package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +1 -1
- package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +2 -2
- package/dist/types/legend/components/run-async-menu-action.d.ts +1 -1
- package/dist/types/legend/index.d.ts +41 -41
- package/dist/types/legend/provider/index.d.ts +6 -6
- package/dist/types/legend/provider/legend-config-context.d.ts +1 -1
- package/dist/types/legend/provider/legend-provider.d.ts +2 -2
- package/dist/types/legend/stores/index.d.ts +5 -5
- package/dist/types/legend/stores/legend-store-registry.d.ts +1 -1
- package/dist/types/legend/stores/selectors.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/change-column/change-column.d.ts +1 -1
- package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +1 -1
- package/dist/types/widgets/actions/download/download.d.ts +1 -1
- package/dist/types/widgets/actions/download/exports.d.ts +1 -1
- package/dist/types/widgets/actions/download/types.d.ts +1 -1
- package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +1 -1
- package/dist/types/widgets/actions/fullscreen/types.d.ts +1 -1
- package/dist/types/widgets/actions/index.d.ts +20 -20
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets/actions/lock-selection/types.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/relative-data.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/types.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/searcher.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/stack-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/zoom-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
- package/dist/types/widgets/bar/config.d.ts +2 -2
- package/dist/types/widgets/bar/index.d.ts +3 -3
- package/dist/types/widgets/bar/types.d.ts +3 -3
- package/dist/types/widgets/category/category-ui.d.ts +1 -1
- package/dist/types/widgets/category/components/category-legend.d.ts +1 -1
- package/dist/types/widgets/category/components/category-row-multi.d.ts +1 -1
- package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
- package/dist/types/widgets/category/config.d.ts +3 -3
- package/dist/types/widgets/category/index.d.ts +14 -14
- package/dist/types/widgets/category/types.d.ts +3 -3
- package/dist/types/widgets/echart/echart-ui.d.ts +1 -1
- package/dist/types/widgets/echart/echart.d.ts +1 -1
- package/dist/types/widgets/echart/index.d.ts +5 -5
- package/dist/types/widgets/echart/options.d.ts +1 -1
- package/dist/types/widgets/echart/types.d.ts +1 -1
- package/dist/types/widgets/echart/utils.d.ts +1 -1
- package/dist/types/widgets/error/error.d.ts +1 -1
- package/dist/types/widgets/error/index.d.ts +2 -2
- package/dist/types/widgets/error/types.d.ts +1 -1
- package/dist/types/widgets/formula/components/item.d.ts +1 -1
- package/dist/types/widgets/formula/components/prefix.d.ts +1 -1
- package/dist/types/widgets/formula/components/row.d.ts +1 -1
- package/dist/types/widgets/formula/components/series.d.ts +1 -1
- package/dist/types/widgets/formula/components/suffix.d.ts +1 -1
- package/dist/types/widgets/formula/components/value.d.ts +1 -1
- package/dist/types/widgets/formula/config.d.ts +2 -2
- package/dist/types/widgets/formula/formula-ui.d.ts +1 -1
- package/dist/types/widgets/formula/index.d.ts +11 -11
- package/dist/types/widgets/formula/serializer.d.ts +1 -1
- package/dist/types/widgets/formula/types.d.ts +3 -3
- package/dist/types/widgets/histogram/config.d.ts +3 -3
- package/dist/types/widgets/histogram/index.d.ts +4 -4
- package/dist/types/widgets/histogram/types.d.ts +3 -3
- package/dist/types/widgets/loader/index.d.ts +3 -3
- package/dist/types/widgets/loader/loader.d.ts +1 -1
- package/dist/types/widgets/loader/types.d.ts +1 -1
- package/dist/types/widgets/markdown/config.d.ts +2 -2
- package/dist/types/widgets/markdown/index.d.ts +5 -5
- package/dist/types/widgets/markdown/markdown-ui.d.ts +1 -1
- package/dist/types/widgets/markdown/markdown.d.ts +1 -1
- package/dist/types/widgets/markdown/types.d.ts +3 -3
- package/dist/types/widgets/no-data/index.d.ts +2 -2
- package/dist/types/widgets/no-data/no-data.d.ts +1 -1
- package/dist/types/widgets/no-data/types.d.ts +1 -1
- package/dist/types/widgets/note/index.d.ts +2 -2
- package/dist/types/widgets/note/note.d.ts +1 -1
- package/dist/types/widgets/note/types.d.ts +1 -1
- package/dist/types/widgets/pie/config.d.ts +2 -2
- package/dist/types/widgets/pie/index.d.ts +3 -3
- package/dist/types/widgets/pie/types.d.ts +3 -3
- package/dist/types/widgets/range/components/range-item.d.ts +1 -1
- package/dist/types/widgets/range/config.d.ts +1 -1
- package/dist/types/widgets/range/index.d.ts +6 -6
- package/dist/types/widgets/range/range-ui.d.ts +1 -1
- package/dist/types/widgets/range/serializer.d.ts +1 -1
- package/dist/types/widgets/range/types.d.ts +3 -3
- package/dist/types/widgets/scatterplot/config.d.ts +2 -2
- package/dist/types/widgets/scatterplot/index.d.ts +3 -3
- package/dist/types/widgets/scatterplot/types.d.ts +3 -3
- package/dist/types/widgets/selection-summary/index.d.ts +2 -2
- package/dist/types/widgets/selection-summary/selection-summary.d.ts +1 -1
- package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
- package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +1 -1
- package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
- package/dist/types/widgets/spread/components/max-value.d.ts +1 -1
- package/dist/types/widgets/spread/components/min-value.d.ts +1 -1
- package/dist/types/widgets/spread/components/separator.d.ts +1 -1
- package/dist/types/widgets/spread/config.d.ts +3 -3
- package/dist/types/widgets/spread/index.d.ts +9 -9
- package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
- package/dist/types/widgets/spread/types.d.ts +4 -4
- package/dist/types/widgets/stores/index.d.ts +3 -3
- package/dist/types/widgets/stores/use-widget-selector.d.ts +1 -1
- package/dist/types/widgets/stores/widget-store.d.ts +2 -2
- package/dist/types/widgets/subheader/index.d.ts +2 -2
- package/dist/types/widgets/subheader/subheader.d.ts +1 -1
- package/dist/types/widgets/table/components/cell-header.d.ts +1 -1
- package/dist/types/widgets/table/components/cell.d.ts +1 -1
- package/dist/types/widgets/table/components/pagination-actions.d.ts +1 -1
- package/dist/types/widgets/table/components/pagination.d.ts +1 -1
- package/dist/types/widgets/table/components/row.d.ts +1 -1
- package/dist/types/widgets/table/config.d.ts +2 -2
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +1 -1
- package/dist/types/widgets/table/hooks/use-selection.d.ts +1 -1
- package/dist/types/widgets/table/hooks/use-sort.d.ts +1 -1
- package/dist/types/widgets/table/index.d.ts +17 -17
- package/dist/types/widgets/table/serializer.d.ts +1 -1
- package/dist/types/widgets/table/table-ui.d.ts +8 -8
- package/dist/types/widgets/table/types.d.ts +3 -3
- package/dist/types/widgets/timeseries/config.d.ts +2 -2
- package/dist/types/widgets/timeseries/index.d.ts +3 -3
- package/dist/types/widgets/timeseries/types.d.ts +3 -3
- package/dist/types/widgets/toolbar-actions/index.d.ts +2 -2
- package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +1 -1
- package/dist/types/widgets/utils/chart-config/config-factory.d.ts +1 -1
- package/dist/types/widgets/utils/chart-config/download-config.d.ts +2 -2
- package/dist/types/widgets/utils/chart-config/index.d.ts +6 -6
- package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
- package/dist/types/widgets/utils/index.d.ts +7 -7
- package/dist/types/widgets/utils/skeleton/index.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/actions.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/title.d.ts +1 -1
- package/dist/types/widgets/wrapper/index.d.ts +6 -6
- package/dist/types/widgets/wrapper/types.d.ts +1 -1
- package/dist/types/widgets/wrapper/wrapper-ui.d.ts +1 -1
- package/dist/types/widgets/wrapper/wrapper.d.ts +1 -1
- package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
- package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/change-column/types.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/csv-item.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/download.d.ts +2 -2
- package/dist/types/widgets-v2/actions/download/index.d.ts +8 -8
- package/dist/types/widgets-v2/actions/download/png-item.d.ts +1 -1
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +23 -4
- package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/fullscreen/style.d.ts +9 -0
- package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +1 -1
- package/dist/types/widgets-v2/actions/index.d.ts +10 -10
- package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
- package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -4
- package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +1 -1
- package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -2
- package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +1 -1
- package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +2 -2
- package/dist/types/widgets-v2/bar/download.d.ts +2 -2
- package/dist/types/widgets-v2/bar/index.d.ts +4 -4
- package/dist/types/widgets-v2/bar/options.d.ts +2 -2
- package/dist/types/widgets-v2/bar/types.d.ts +1 -1
- package/dist/types/widgets-v2/category/category-ui.d.ts +1 -1
- package/dist/types/widgets-v2/category/category.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-bar.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-legend.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-single.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +1 -1
- package/dist/types/widgets-v2/category/download.d.ts +2 -2
- package/dist/types/widgets-v2/category/index.d.ts +10 -10
- package/dist/types/widgets-v2/category/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/category/style.d.ts +1 -1
- package/dist/types/widgets-v2/category/types.d.ts +1 -1
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +2 -2
- package/dist/types/widgets-v2/echart/echart.d.ts +10 -2
- package/dist/types/widgets-v2/echart/index.d.ts +4 -4
- package/dist/types/widgets-v2/echart/style.d.ts +1 -0
- package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +1 -1
- package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
- package/dist/types/widgets-v2/formula/download.d.ts +2 -2
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
- package/dist/types/widgets-v2/formula/index.d.ts +11 -11
- package/dist/types/widgets-v2/formula/types.d.ts +1 -1
- package/dist/types/widgets-v2/histogram/download.d.ts +2 -2
- package/dist/types/widgets-v2/histogram/index.d.ts +5 -5
- package/dist/types/widgets-v2/histogram/options.d.ts +3 -3
- package/dist/types/widgets-v2/histogram/types.d.ts +1 -1
- package/dist/types/widgets-v2/index.d.ts +45 -45
- package/dist/types/widgets-v2/markdown/download.d.ts +2 -2
- package/dist/types/widgets-v2/markdown/index.d.ts +6 -6
- package/dist/types/widgets-v2/note/widget-note.d.ts +1 -1
- package/dist/types/widgets-v2/pie/download.d.ts +2 -2
- package/dist/types/widgets-v2/pie/index.d.ts +4 -4
- package/dist/types/widgets-v2/pie/options.d.ts +2 -2
- package/dist/types/widgets-v2/pie/types.d.ts +1 -1
- package/dist/types/widgets-v2/range/index.d.ts +4 -4
- package/dist/types/widgets-v2/range/range-ui.d.ts +1 -1
- package/dist/types/widgets-v2/range/range.d.ts +1 -1
- package/dist/types/widgets-v2/scatterplot/download.d.ts +2 -2
- package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -5
- package/dist/types/widgets-v2/scatterplot/options.d.ts +2 -2
- package/dist/types/widgets-v2/scatterplot/types.d.ts +1 -1
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
- package/dist/types/widgets-v2/spread/download.d.ts +2 -2
- package/dist/types/widgets-v2/spread/index.d.ts +7 -7
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
- package/dist/types/widgets-v2/spread/types.d.ts +1 -1
- package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
- package/dist/types/widgets-v2/stores/index.d.ts +8 -8
- package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +1 -1
- package/dist/types/widgets-v2/stores/transforms.d.ts +1 -1
- package/dist/types/widgets-v2/stores/use-transform.d.ts +1 -1
- package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +1 -1
- package/dist/types/widgets-v2/table/download.d.ts +2 -2
- package/dist/types/widgets-v2/table/helpers.d.ts +1 -1
- package/dist/types/widgets-v2/table/index.d.ts +8 -8
- package/dist/types/widgets-v2/table/table-ui.d.ts +2 -2
- package/dist/types/widgets-v2/table/table.d.ts +2 -2
- package/dist/types/widgets-v2/table/types.d.ts +1 -1
- package/dist/types/widgets-v2/timeseries/download.d.ts +2 -2
- package/dist/types/widgets-v2/timeseries/index.d.ts +5 -5
- package/dist/types/widgets-v2/timeseries/options.d.ts +4 -4
- package/dist/types/widgets-v2/timeseries/types.d.ts +1 -1
- package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
- package/dist/types/widgets-v2/utils/index.d.ts +3 -3
- package/dist/types/widgets-v2/wrapper/index.d.ts +4 -4
- package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
- package/dist/{utils-DtvTjjMq.js → utils-ClB6nn4w.js} +2 -2
- package/dist/{utils-DtvTjjMq.js.map → utils-ClB6nn4w.js.map} +1 -1
- package/dist/widgets/actions.js +1 -1
- package/dist/widgets/bar.js +1 -1
- package/dist/widgets/category.js +1 -1
- package/dist/widgets/formula.js +1 -1
- package/dist/widgets/histogram.js +2 -2
- package/dist/widgets/markdown.js +1 -1
- package/dist/widgets/pie.js +1 -1
- package/dist/widgets/scatterplot.js +1 -1
- package/dist/widgets/spread.js +2 -2
- package/dist/widgets/table.js +1 -1
- package/dist/widgets/timeseries.js +1 -1
- package/dist/widgets/utils.js +1 -1
- package/dist/widgets/wrapper.js +1 -1
- package/dist/widgets-v2/actions.js +3 -3
- package/dist/widgets-v2/bar.js +4 -4
- package/dist/widgets-v2/category.js +1 -1
- package/dist/widgets-v2/echart.js +1 -1
- package/dist/widgets-v2/formula.js +1 -1
- package/dist/widgets-v2/histogram.js +4 -4
- package/dist/widgets-v2/markdown.js +1 -1
- package/dist/widgets-v2/pie.js +3 -4
- package/dist/widgets-v2/pie.js.map +1 -1
- package/dist/widgets-v2/scatterplot.js +4 -4
- package/dist/widgets-v2/spread.js +1 -1
- package/dist/widgets-v2/table.js +1 -1
- package/dist/widgets-v2/timeseries.js +4 -4
- package/dist/widgets-v2/utils.js +1 -1
- package/dist/widgets-v2.js +10 -10
- package/dist/{zoom-toggle-CA0ifG23.js → zoom-toggle-KA63b6-J.js} +2 -2
- package/dist/{zoom-toggle-CA0ifG23.js.map → zoom-toggle-KA63b6-J.js.map} +1 -1
- package/package.json +5 -4
- package/src/chat/bubbles/styles.ts +27 -8
- package/src/chat/feedback/chat-actions-container.tsx +5 -2
- package/src/chat/feedback/styles.ts +8 -5
- package/src/components/basemaps/basemaps.tsx +4 -4
- package/src/components/responsive-drawer/responsive-drawer.test.tsx +37 -23
- package/src/components/responsive-drawer/responsive-drawer.tsx +15 -8
- package/src/legend/components/legend-row/legend-row.test.tsx +19 -0
- package/src/legend/components/legend-row/legend-row.tsx +15 -2
- package/src/widgets/utils/chart-config/option-builders.ts +5 -1
- package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +62 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +85 -14
- package/src/widgets-v2/actions/fullscreen/style.ts +31 -4
- package/src/widgets-v2/echart/echart-ui.test.tsx +6 -3
- package/src/widgets-v2/echart/echart-ui.tsx +6 -2
- package/src/widgets-v2/echart/echart.test.tsx +1 -1
- package/src/widgets-v2/echart/echart.tsx +10 -0
- package/src/widgets-v2/echart/style.ts +10 -1
- package/src/widgets-v2/pie/options.test.ts +8 -0
- package/src/widgets-v2/pie/options.ts +3 -8
- package/dist/actions-Dy9JVr7F.js.map +0 -1
- package/dist/chart-config-BGt7wkK7.js.map +0 -1
- package/dist/components-DDt4mOQn.js.map +0 -1
- package/dist/echart-DSz2Tu0z.js.map +0 -1
- package/dist/types/legend/stores/legend-store.test.d.ts +0 -1
- package/dist/types/widgets/actions/brush-toggle/hit-test.test.d.ts +0 -1
- package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
- package/dist/types/widgets/echart/utils.test.d.ts +0 -1
- package/dist/types/widgets/formula/config.test.d.ts +0 -1
- package/dist/types/widgets/loader/utils.test.d.ts +0 -1
- package/dist/types/widgets/range/serializer.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store-branches.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store-performance.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
- package/dist/types/widgets/table/config.test.d.ts +0 -1
- package/dist/types/widgets/table/helpers.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/use-selection.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/use-sort.test.d.ts +0 -1
- package/dist/types/widgets/utils/chart-config/option-builders.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/bar/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/category/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/echart/edge-label-clamp.test.d.ts +0 -1
- package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/markdown/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/pie/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/pie/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/spread/band.test.d.ts +0 -1
- package/dist/types/widgets-v2/spread/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/state/labels.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/helpers.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/test-utils.d.ts +0 -52
- package/dist/types/widgets-v2/timeseries/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/timeseries/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/timeseries/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/utils/merge-options.test.d.ts +0 -1
- 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,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,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,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,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';
|
|
@@ -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'
|
|
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 {
|
|
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,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
|
-
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,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,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})
|