sag_components 2.0.0-beta87 → 2.0.0-beta89
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/index.d.ts +1183 -1183
- package/dist/index.esm.js +76 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +76 -23
- package/dist/index.js.map +1 -1
- package/dist/types/components/AreaChart/AreaChart.d.ts +2 -2
- package/dist/types/components/AreaChart/AreaChart.stories.d.ts +80 -79
- package/dist/types/components/AreaChart/AreaChart.style.d.ts +8 -8
- package/dist/types/components/AreaChart/AreaChart.test.d.ts +1 -1
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -24
- package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +95 -95
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -4
- package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +15 -15
- package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +13 -13
- package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -5
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +2 -2
- package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +40 -40
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -13
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +2 -2
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +28 -28
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +13 -13
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -18
- package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +19 -19
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
- package/dist/types/components/BarChart/BarChart.d.ts +82 -82
- package/dist/types/components/BarChart/BarChart.stories.d.ts +179 -179
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -8
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +2 -2
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +199 -199
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +9 -9
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +2 -2
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +112 -112
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -9
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -107
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +207 -207
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -11
- package/dist/types/components/BatteryChart/BatteryChart.d.ts +2 -2
- package/dist/types/components/BatteryChart/BatteryChart.style.d.ts +18 -18
- package/dist/types/components/Benchmark/Benchmark.d.ts +45 -45
- package/dist/types/components/Benchmark/Benchmark.stories.d.ts +167 -167
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -5
- package/dist/types/components/BreakdownPanel/BreakdownPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/BreakdownPanel.stories.d.ts +74 -73
- package/dist/types/components/BreakdownPanel/BreakdownPanel.style.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/BreakdownPanel.test.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.d.ts +8 -8
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.style.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.style.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.style.d.ts +3 -3
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.style.d.ts +3 -3
- package/dist/types/components/BrushChart/BrushChart.d.ts +2 -2
- package/dist/types/components/BrushChart/BrushChart.stories.d.ts +150 -150
- package/dist/types/components/BrushChart/BrushChart.style.d.ts +47 -47
- package/dist/types/components/BrushChart/Charts/BarLine.d.ts +2 -2
- package/dist/types/components/BrushChart/Charts/InnerBar.d.ts +2 -2
- package/dist/types/components/BrushChart/Charts/SingleChart.d.ts +2 -2
- package/dist/types/components/BubbleChart/BubbleChart.d.ts +15 -15
- package/dist/types/components/BubbleChart/BubbleChart.stories.d.ts +94 -93
- package/dist/types/components/BubbleChart/BubbleChart.style.d.ts +13 -13
- package/dist/types/components/Button/Button.d.ts +22 -22
- package/dist/types/components/Button/Button.stories.d.ts +185 -185
- package/dist/types/components/Button/Button.style.d.ts +5 -5
- package/dist/types/components/Button/Button.test.d.ts +1 -1
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -33
- package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +46 -46
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/Card.d.ts +37 -37
- package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -57
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -8
- package/dist/types/components/CampaignTool/FormInput.d.ts +5 -5
- package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -5
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -15
- package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +28 -28
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -12
- package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +17 -17
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
- package/dist/types/components/CampaignTool/Popup.d.ts +27 -27
- package/dist/types/components/CampaignTool/Popup.stories.d.ts +101 -101
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
- package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -28
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
- package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -41
- package/dist/types/components/CampaignTool/Table.d.ts +56 -56
- package/dist/types/components/CampaignTool/Table.stories.d.ts +108 -108
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -7
- package/dist/types/components/CheckBox/CheckBox.d.ts +2 -2
- package/dist/types/components/CheckBox/CheckBox.stories.d.ts +126 -126
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -4
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -21
- package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +187 -187
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -4
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -5
- package/dist/types/components/CollapseData/CollapseData.d.ts +40 -40
- package/dist/types/components/CollapseData/CollapseData.stories.d.ts +59 -59
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +82 -82
- package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +101 -101
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -24
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +54 -54
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -7
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -21
- package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +31 -31
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -6
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.d.ts +2 -2
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.stories.d.ts +265 -264
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.style.d.ts +10 -10
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +2 -2
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +72 -72
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -9
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -39
- package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +99 -99
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -4
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -79
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -12
- package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +240 -240
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +81 -81
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -75
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -10
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -48
- package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +122 -122
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
- package/dist/types/components/EventList/EventList.d.ts +30 -30
- package/dist/types/components/EventList/EventList.stories.d.ts +67 -67
- package/dist/types/components/EventList/EventList.style.d.ts +4 -4
- package/dist/types/components/EventListItem/EventListItem.d.ts +27 -27
- package/dist/types/components/EventListItem/EventListItem.stories.d.ts +67 -67
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -4
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -3
- package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +9 -9
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +89 -89
- package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +172 -172
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -45
- package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +131 -131
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
- package/dist/types/components/Heatmap/Heatmap.d.ts +15 -15
- package/dist/types/components/Heatmap/Heatmap.stories.d.ts +59 -59
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -15
- package/dist/types/components/IconButton/IconButton.d.ts +48 -48
- package/dist/types/components/IconButton/IconButton.stories.d.ts +89 -89
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
- package/dist/types/components/Input/Input.d.ts +80 -80
- package/dist/types/components/Input/Input.stories.d.ts +278 -278
- package/dist/types/components/Input/Input.style.d.ts +7 -7
- package/dist/types/components/InputOld/InputOld.d.ts +66 -66
- package/dist/types/components/InputOld/InputOld.stories.d.ts +109 -109
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -6
- package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +11 -11
- package/dist/types/components/InsightsCarousel/InsightsCarousel.stories.d.ts +48 -47
- package/dist/types/components/InsightsCarousel/InsightsCarousel.style.d.ts +12 -12
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -58
- package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +174 -174
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -16
- package/dist/types/components/LinkButton/LinkButton.d.ts +13 -13
- package/dist/types/components/LinkButton/LinkButton.stories.d.ts +110 -110
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -4
- package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -1
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +2 -2
- package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +15 -15
- package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +39 -39
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +14 -14
- package/dist/types/components/ListBox/ListBox.d.ts +15 -15
- package/dist/types/components/ListBox/ListBox.stories.d.ts +134 -134
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -4
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -31
- package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +70 -70
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -16
- package/dist/types/components/Modal/Modal.d.ts +6 -6
- package/dist/types/components/Modal/Modal.style.d.ts +4 -4
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -8
- package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -7
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +55 -55
- package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +148 -148
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -8
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +10 -10
- package/dist/types/components/MonthPicker/MonthPopupPicker.style.d.ts +7 -7
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +2 -2
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +39 -39
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -3
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +81 -81
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +396 -396
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +12 -12
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -86
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +175 -175
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -14
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +2 -2
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +43 -43
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -6
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -85
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +153 -153
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -37
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +42 -42
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
- package/dist/types/components/PieChart/PieChart.d.ts +66 -66
- package/dist/types/components/PieChart/PieChart.stories.d.ts +201 -201
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -64
- package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +89 -89
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -29
- package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +48 -48
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -24
- package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +65 -65
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +55 -55
- package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +148 -148
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -8
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +10 -10
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.style.d.ts +6 -6
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +17 -17
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +249 -249
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -1
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -76
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -12
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -68
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -11
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -9
- package/dist/types/components/RangePicker/RangePicker.d.ts +52 -52
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +148 -148
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
- package/dist/types/components/ReportTable/ReportTable.d.ts +83 -83
- package/dist/types/components/ReportTable/ReportTable.stories.d.ts +139 -139
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
- package/dist/types/components/SagButton/SagButton.d.ts +45 -45
- package/dist/types/components/SagButton/SagButton.stories.d.ts +142 -142
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -45
- package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +129 -129
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -2
- package/dist/types/components/SagInput/SagInput.d.ts +36 -36
- package/dist/types/components/SagInput/SagInput.stories.d.ts +71 -71
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -50
- package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +139 -139
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -9
- package/dist/types/components/SearchInput/SearchInput.d.ts +24 -24
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +39 -39
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -2
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +52 -52
- package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +168 -168
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -6
- package/dist/types/components/Select/Select.d.ts +21 -21
- package/dist/types/components/Select/Select.stories.d.ts +252 -252
- package/dist/types/components/Select/Select.style.d.ts +6 -6
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -28
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +226 -226
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +13 -13
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.test.d.ts +1 -1
- package/dist/types/components/TabMenu/TabMenu.d.ts +2 -2
- package/dist/types/components/TabMenu/TabMenu.stories.d.ts +171 -171
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +27 -27
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -59
- package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +90 -90
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
- package/dist/types/components/Tooltip/Tooltip.d.ts +24 -24
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -24
- package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +25 -25
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -40
- package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +101 -101
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -86
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +240 -240
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +51 -51
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +145 -145
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -56
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +155 -155
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +82 -82
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +241 -241
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -76
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +214 -214
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -24
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +77 -77
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +164 -164
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
- package/dist/types/icons/ArrowDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowSelectIcon.d.ts +6 -6
- package/dist/types/icons/ArrowUpIcon.d.ts +6 -6
- package/dist/types/icons/AttachedIcon.d.ts +6 -6
- package/dist/types/icons/BarcodeIcon.d.ts +6 -6
- package/dist/types/icons/BellIcon.d.ts +6 -6
- package/dist/types/icons/ButtonArrowRight.d.ts +5 -5
- package/dist/types/icons/Calendar.d.ts +2 -2
- package/dist/types/icons/CalendarIcon.d.ts +6 -6
- package/dist/types/icons/CalendarInOpen.d.ts +2 -2
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -7
- package/dist/types/icons/ChervronLeftIcon.d.ts +6 -6
- package/dist/types/icons/ChervronRightIcon.d.ts +6 -6
- package/dist/types/icons/ChevronIcon.d.ts +7 -7
- package/dist/types/icons/ChevronLeftIcon.d.ts +4 -4
- package/dist/types/icons/ChevronRightIcon.d.ts +4 -4
- package/dist/types/icons/ClockIcon.d.ts +6 -6
- package/dist/types/icons/CloseIcon.d.ts +6 -6
- package/dist/types/icons/CloseXIcon.d.ts +6 -6
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -7
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -7
- package/dist/types/icons/DocumentIcon.d.ts +6 -6
- package/dist/types/icons/DownArrowIcon.d.ts +5 -5
- package/dist/types/icons/DownloadIcon.d.ts +6 -6
- package/dist/types/icons/Duplicate.d.ts +7 -7
- package/dist/types/icons/ErrorIcon.d.ts +6 -6
- package/dist/types/icons/ExitIcon.d.ts +7 -7
- package/dist/types/icons/ExportIcon.d.ts +6 -6
- package/dist/types/icons/EyeIcon.d.ts +7 -7
- package/dist/types/icons/FileIcon.d.ts +6 -6
- package/dist/types/icons/FilterIcon.d.ts +6 -6
- package/dist/types/icons/FlyIcon.d.ts +6 -6
- package/dist/types/icons/FolderIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionChartIcon.d.ts +2 -2
- package/dist/types/icons/FoodLionIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionNewIcon.d.ts +5 -5
- package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -2
- package/dist/types/icons/GiantFoodIcon.d.ts +7 -7
- package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordChartIcon.d.ts +2 -2
- package/dist/types/icons/HannafordIcon.d.ts +6 -6
- package/dist/types/icons/HannafordIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordNewIcon.d.ts +5 -5
- package/dist/types/icons/InfoIcon.d.ts +7 -7
- package/dist/types/icons/LampIcon.d.ts +6 -6
- package/dist/types/icons/LegendLineIcon.d.ts +6 -6
- package/dist/types/icons/LegendUnionIcon.d.ts +6 -6
- package/dist/types/icons/MaintenanceIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemOpenIcon.d.ts +6 -6
- package/dist/types/icons/MenuItemRightIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemUpIcon.d.ts +6 -6
- package/dist/types/icons/NoDataFoundIcon.d.ts +12 -12
- package/dist/types/icons/OptionsIcon.d.ts +6 -6
- package/dist/types/icons/PeopleIcon.d.ts +6 -6
- package/dist/types/icons/ReselectIcon.d.ts +6 -6
- package/dist/types/icons/SearchIcon.d.ts +6 -6
- package/dist/types/icons/ShoppingCartIcon.d.ts +6 -6
- package/dist/types/icons/ShoutIcon.d.ts +6 -6
- package/dist/types/icons/Sort.d.ts +1 -1
- package/dist/types/icons/SortIcon.d.ts +7 -7
- package/dist/types/icons/SpotlightProductIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -2
- package/dist/types/icons/StopAndShopIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -6
- package/dist/types/icons/SucceededIcon.d.ts +6 -6
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -2
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -5
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -6
- package/dist/types/icons/UpArrowIcon.d.ts +5 -5
- package/dist/types/index.d.ts +37 -37
- package/dist/types/utils/CommonFunctions.d.ts +7 -7
- package/dist/types/utils/ComponentFactory.d.ts +4 -4
- package/dist/types/utils/IconsHandler.d.ts +1 -1
- package/dist/types/utils/IconsHandler.style.d.ts +1 -1
- package/dist/types/utils/regex/Email.regex.d.ts +1 -1
- package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -1
- package/dist/types/utils/regex/Phone.regex.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31570,7 +31570,6 @@ const TooltipContainer = styled__default["default"].div`
|
|
|
31570
31570
|
border-radius: 5px;
|
|
31571
31571
|
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
|
|
31572
31572
|
border: 1px solid #ddd;
|
|
31573
|
-
font-family: Poppins, sans-serif;
|
|
31574
31573
|
font-weight: 500;
|
|
31575
31574
|
font-size: 14px;
|
|
31576
31575
|
`;
|
|
@@ -31608,6 +31607,12 @@ const BarLine = props => {
|
|
|
31608
31607
|
left: 20,
|
|
31609
31608
|
bottom: 0
|
|
31610
31609
|
};
|
|
31610
|
+
|
|
31611
|
+
// Changed to match InnerBar component behavior
|
|
31612
|
+
const [brushRange, setBrushRange] = React$1.useState({
|
|
31613
|
+
startIndex: 0,
|
|
31614
|
+
endIndex: Math.min(6, brushAreaBarData.length - 1)
|
|
31615
|
+
});
|
|
31611
31616
|
const CustomizedTick = /*#__PURE__*/React__default["default"].memo(({
|
|
31612
31617
|
x,
|
|
31613
31618
|
y,
|
|
@@ -31671,6 +31676,15 @@ const BarLine = props => {
|
|
|
31671
31676
|
} = payload[0].payload;
|
|
31672
31677
|
return /*#__PURE__*/React__default["default"].createElement(TooltipContainer, null, /*#__PURE__*/React__default["default"].createElement(TooltipTitle$4, null, label), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, description), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `INC Sales: $${getFormattedValue(inc_sales)}${getFormattedUnits(inc_sales)}`), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `INC Sales ROI: ${getFormattedValue(inc_roi)}${getFormattedUnits(inc_roi)}`));
|
|
31673
31678
|
});
|
|
31679
|
+
|
|
31680
|
+
// Fixed brush change handler to match InnerBar component
|
|
31681
|
+
const handleBrushChange = range => {
|
|
31682
|
+
setBrushRange(range);
|
|
31683
|
+
};
|
|
31684
|
+
|
|
31685
|
+
// Calculate the number of visible bars like InnerBar component
|
|
31686
|
+
const visibleBarsCount = brushRange.endIndex - brushRange.startIndex + 1;
|
|
31687
|
+
const shouldShowLabels = visibleBarsCount <= 8;
|
|
31674
31688
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31675
31689
|
style: {
|
|
31676
31690
|
width: "100%",
|
|
@@ -31726,12 +31740,13 @@ const BarLine = props => {
|
|
|
31726
31740
|
dataKey: "label",
|
|
31727
31741
|
height: 30,
|
|
31728
31742
|
stroke: "#212121",
|
|
31729
|
-
startIndex:
|
|
31730
|
-
endIndex:
|
|
31743
|
+
startIndex: brushRange.startIndex,
|
|
31744
|
+
endIndex: brushRange.endIndex,
|
|
31731
31745
|
y: 330,
|
|
31732
31746
|
travellerWidth: 10,
|
|
31733
31747
|
tickFormatter: (value, index) => index + 1,
|
|
31734
|
-
hide: true
|
|
31748
|
+
hide: true,
|
|
31749
|
+
onChange: handleBrushChange
|
|
31735
31750
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31736
31751
|
style: {
|
|
31737
31752
|
height: "65%"
|
|
@@ -31749,7 +31764,7 @@ const BarLine = props => {
|
|
|
31749
31764
|
vertical: false
|
|
31750
31765
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
|
|
31751
31766
|
dataKey: "label",
|
|
31752
|
-
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
31767
|
+
tick: shouldShowLabels ? /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null) : false,
|
|
31753
31768
|
interval: 0,
|
|
31754
31769
|
height: 50,
|
|
31755
31770
|
tickLine: false
|
|
@@ -31778,9 +31793,10 @@ const BarLine = props => {
|
|
|
31778
31793
|
height: 30,
|
|
31779
31794
|
fill: "#EFEFEF",
|
|
31780
31795
|
travellerWidth: 10,
|
|
31781
|
-
startIndex:
|
|
31782
|
-
endIndex:
|
|
31783
|
-
className: "custom-brush"
|
|
31796
|
+
startIndex: brushRange.startIndex,
|
|
31797
|
+
endIndex: brushRange.endIndex,
|
|
31798
|
+
className: "custom-brush",
|
|
31799
|
+
onChange: handleBrushChange
|
|
31784
31800
|
})))), /*#__PURE__*/React__default["default"].createElement(PerformanceAnalyticsLegend, {
|
|
31785
31801
|
width: "100%",
|
|
31786
31802
|
height: "40px",
|
|
@@ -31805,11 +31821,20 @@ const SingleChart = props => {
|
|
|
31805
31821
|
} = props;
|
|
31806
31822
|
const MAX_CHARS_PER_LINE = getMaxCharsPerLine(barData.length);
|
|
31807
31823
|
const MAX_LINES = 2;
|
|
31808
|
-
|
|
31809
|
-
|
|
31810
|
-
|
|
31811
|
-
|
|
31812
|
-
|
|
31824
|
+
|
|
31825
|
+
// Separate state for brush range
|
|
31826
|
+
const [brushRange, setBrushRange] = React$1.useState({
|
|
31827
|
+
startIndex: 0,
|
|
31828
|
+
endIndex: Math.min(6, barData.length - 1)
|
|
31829
|
+
});
|
|
31830
|
+
|
|
31831
|
+
// Remove data transformation - use original data like InnerBar does
|
|
31832
|
+
// const dataWithIndex = barData?.map((item, index) => ({
|
|
31833
|
+
// ...item,
|
|
31834
|
+
// index,
|
|
31835
|
+
// shortLabel: item.label.replace("Vendor Selling Event: ", "Wk "),
|
|
31836
|
+
// }));
|
|
31837
|
+
|
|
31813
31838
|
const CustomizedTick = /*#__PURE__*/React__default["default"].memo(({
|
|
31814
31839
|
x,
|
|
31815
31840
|
y,
|
|
@@ -31869,28 +31894,41 @@ const SingleChart = props => {
|
|
|
31869
31894
|
if (!data) return null;
|
|
31870
31895
|
return /*#__PURE__*/React__default["default"].createElement(TooltipContainer, null, /*#__PURE__*/React__default["default"].createElement(TooltipTitle$4, null, `${data.label}`), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `${data.description}`), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `${data.typeTitle}: ${getFormattedValue(data.value)}${getFormattedUnits(data.value)}`));
|
|
31871
31896
|
};
|
|
31897
|
+
|
|
31898
|
+
// Fixed brush change handler - matches the working InnerBar component exactly
|
|
31899
|
+
const handleBrushChange = range => {
|
|
31900
|
+
setBrushRange(range);
|
|
31901
|
+
};
|
|
31902
|
+
|
|
31903
|
+
// Calculate the number of visible bars
|
|
31904
|
+
const visibleBarsCount = brushRange.endIndex - brushRange.startIndex + 1;
|
|
31905
|
+
const shouldShowLabels = visibleBarsCount <= 8;
|
|
31872
31906
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31873
31907
|
style: {
|
|
31874
31908
|
width: "100%",
|
|
31875
|
-
height: "100%"
|
|
31909
|
+
height: "100%",
|
|
31910
|
+
userSelect: "none"
|
|
31876
31911
|
}
|
|
31877
31912
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
31878
31913
|
width: "100%",
|
|
31879
31914
|
height: "90%"
|
|
31880
31915
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, {
|
|
31881
|
-
data:
|
|
31916
|
+
data: barData,
|
|
31882
31917
|
margin: {
|
|
31883
31918
|
top: 40,
|
|
31884
31919
|
right: 40,
|
|
31885
31920
|
left: 20,
|
|
31886
31921
|
bottom: 0
|
|
31922
|
+
},
|
|
31923
|
+
style: {
|
|
31924
|
+
userSelect: "none"
|
|
31887
31925
|
}
|
|
31888
31926
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.CartesianGrid, {
|
|
31889
31927
|
strokeDasharray: "3 3",
|
|
31890
31928
|
vertical: false
|
|
31891
31929
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
|
|
31892
31930
|
dataKey: "label",
|
|
31893
|
-
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
31931
|
+
tick: shouldShowLabels ? /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null) : false,
|
|
31894
31932
|
interval: 0,
|
|
31895
31933
|
height: 50,
|
|
31896
31934
|
tickLine: false
|
|
@@ -31918,9 +31956,10 @@ const SingleChart = props => {
|
|
|
31918
31956
|
height: 30,
|
|
31919
31957
|
fill: "#EFEFEF",
|
|
31920
31958
|
travellerWidth: 10,
|
|
31921
|
-
startIndex:
|
|
31922
|
-
endIndex:
|
|
31923
|
-
className: "custom-brush"
|
|
31959
|
+
startIndex: brushRange.startIndex,
|
|
31960
|
+
endIndex: brushRange.endIndex,
|
|
31961
|
+
className: "custom-brush",
|
|
31962
|
+
onChange: handleBrushChange
|
|
31924
31963
|
}))), /*#__PURE__*/React__default["default"].createElement(PerformanceAnalyticsLegend, {
|
|
31925
31964
|
width: "100%",
|
|
31926
31965
|
height: "40px",
|
|
@@ -31941,6 +31980,12 @@ const InnerBar = props => {
|
|
|
31941
31980
|
} = props;
|
|
31942
31981
|
const MAX_CHARS_PER_LINE = getMaxCharsPerLine(brushInnerBarData.length);
|
|
31943
31982
|
const MAX_LINES = 2;
|
|
31983
|
+
|
|
31984
|
+
// Separate state for brush range and label display
|
|
31985
|
+
const [brushRange, setBrushRange] = React$1.useState({
|
|
31986
|
+
startIndex: 0,
|
|
31987
|
+
endIndex: Math.min(6, brushInnerBarData.length - 1)
|
|
31988
|
+
});
|
|
31944
31989
|
const BarWithInner = props => {
|
|
31945
31990
|
const {
|
|
31946
31991
|
x,
|
|
@@ -32051,6 +32096,13 @@ const InnerBar = props => {
|
|
|
32051
32096
|
dy: idx === 0 ? "0.71em" : "1.2em"
|
|
32052
32097
|
}, line))));
|
|
32053
32098
|
});
|
|
32099
|
+
const handleBrushChange = range => {
|
|
32100
|
+
setBrushRange(range);
|
|
32101
|
+
};
|
|
32102
|
+
|
|
32103
|
+
// Calculate the number of visible bars
|
|
32104
|
+
const visibleBarsCount = brushRange.endIndex - brushRange.startIndex + 1;
|
|
32105
|
+
const shouldShowLabels = visibleBarsCount <= 8;
|
|
32054
32106
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32055
32107
|
style: {
|
|
32056
32108
|
width: "100%",
|
|
@@ -32072,7 +32124,7 @@ const InnerBar = props => {
|
|
|
32072
32124
|
vertical: false
|
|
32073
32125
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
|
|
32074
32126
|
dataKey: "label",
|
|
32075
|
-
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
32127
|
+
tick: shouldShowLabels ? /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null) : false,
|
|
32076
32128
|
height: 50,
|
|
32077
32129
|
tickLine: false,
|
|
32078
32130
|
interval: 0
|
|
@@ -32091,9 +32143,10 @@ const InnerBar = props => {
|
|
|
32091
32143
|
height: 30,
|
|
32092
32144
|
fill: "#EFEFEF",
|
|
32093
32145
|
travellerWidth: 10,
|
|
32094
|
-
startIndex:
|
|
32095
|
-
endIndex:
|
|
32096
|
-
className: "custom-brush"
|
|
32146
|
+
startIndex: brushRange.startIndex,
|
|
32147
|
+
endIndex: brushRange.endIndex,
|
|
32148
|
+
className: "custom-brush",
|
|
32149
|
+
onChange: handleBrushChange
|
|
32097
32150
|
}))), /*#__PURE__*/React__default["default"].createElement(PerformanceAnalyticsLegend, {
|
|
32098
32151
|
width: "100%",
|
|
32099
32152
|
height: "40px",
|