sag_components 2.0.0-beta → 2.0.0-beta2
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 +1106 -0
- package/dist/index.esm.js +80952 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +80998 -0
- package/dist/index.js.map +1 -0
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -0
- package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +35 -0
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +15 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +19 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +39 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +61 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +74 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +40 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +38 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -0
- package/dist/types/components/BarChart/BarChart.d.ts +79 -0
- package/dist/types/components/BarChart/BarChart.stories.d.ts +320 -0
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +82 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +300 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +31 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +66 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +147 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +465 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -0
- package/dist/types/components/Benchmark/Benchmark.d.ts +45 -0
- package/dist/types/components/Benchmark/Benchmark.stories.d.ts +224 -0
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -0
- package/dist/types/components/Button/Button.d.ts +22 -0
- package/dist/types/components/Button/Button.stories.d.ts +393 -0
- package/dist/types/components/Button/Button.style.d.ts +5 -0
- package/dist/types/components/Button/Button.test.d.ts +1 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +64 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -0
- package/dist/types/components/CampaignTool/Card.d.ts +37 -0
- package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -0
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -0
- package/dist/types/components/CampaignTool/FormInput.d.ts +5 -0
- package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -0
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -0
- package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +31 -0
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -0
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -0
- package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +23 -0
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -0
- package/dist/types/components/CampaignTool/Popup.d.ts +27 -0
- package/dist/types/components/CampaignTool/Popup.stories.d.ts +166 -0
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -0
- package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -0
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -0
- package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -0
- package/dist/types/components/CampaignTool/Table.d.ts +56 -0
- package/dist/types/components/CampaignTool/Table.stories.d.ts +120 -0
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -0
- package/dist/types/components/CheckBox/CheckBox.d.ts +15 -0
- package/dist/types/components/CheckBox/CheckBox.stories.d.ts +150 -0
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +221 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -0
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -0
- package/dist/types/components/CodeEditor/CodeEditor.style.d.ts +2 -0
- package/dist/types/components/CollapseData/CollapseData.d.ts +34 -0
- package/dist/types/components/CollapseData/CollapseData.stories.d.ts +86 -0
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +70 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +151 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +79 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -0
- package/dist/types/components/Datepicker/Datepicker.d.ts +12 -0
- package/dist/types/components/Datepicker/Datepicker.stories.d.ts +112 -0
- package/dist/types/components/Datepicker/Datepicker.style.d.ts +1 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +41 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +34 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +103 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +159 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +24 -0
- package/dist/types/components/Dropdown/Dropdown.stories.d.ts +451 -0
- package/dist/types/components/Dropdown/Dropdown.style.d.ts +1 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.d.ts +75 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.stories.d.ts +263 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.style.d.ts +1 -0
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -0
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -0
- package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +574 -0
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +81 -0
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -0
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -0
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +151 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -0
- package/dist/types/components/EventList/EventList.d.ts +30 -0
- package/dist/types/components/EventList/EventList.stories.d.ts +84 -0
- package/dist/types/components/EventList/EventList.style.d.ts +4 -0
- package/dist/types/components/EventListItem/EventListItem.d.ts +27 -0
- package/dist/types/components/EventListItem/EventListItem.stories.d.ts +81 -0
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -0
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -0
- package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +15 -0
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -0
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +67 -0
- package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +824 -0
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -0
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -0
- package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +297 -0
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -0
- package/dist/types/components/Heatmap/Heatmap.d.ts +15 -0
- package/dist/types/components/Heatmap/Heatmap.stories.d.ts +87 -0
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -0
- package/dist/types/components/IconButton/IconButton.d.ts +48 -0
- package/dist/types/components/IconButton/IconButton.stories.d.ts +166 -0
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -0
- package/dist/types/components/Input/Input.d.ts +80 -0
- package/dist/types/components/Input/Input.stories.d.ts +688 -0
- package/dist/types/components/Input/Input.style.d.ts +7 -0
- package/dist/types/components/InputOld/InputOld.d.ts +66 -0
- package/dist/types/components/InputOld/InputOld.stories.d.ts +130 -0
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -0
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -0
- package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +300 -0
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -0
- package/dist/types/components/LinkButton/LinkButton.d.ts +13 -0
- package/dist/types/components/LinkButton/LinkButton.stories.d.ts +279 -0
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -0
- package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +35 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +72 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -0
- package/dist/types/components/ListBox/ListBox.d.ts +15 -0
- package/dist/types/components/ListBox/ListBox.stories.d.ts +162 -0
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +135 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -0
- package/dist/types/components/Modal/Modal.d.ts +6 -0
- package/dist/types/components/Modal/Modal.style.d.ts +4 -0
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -0
- package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -0
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +54 -0
- package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +197 -0
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -0
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +9 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +12 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +45 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +63 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +149 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +10 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +263 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +29 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +98 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +236 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +102 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -0
- package/dist/types/components/PieChart/PieChart.d.ts +66 -0
- package/dist/types/components/PieChart/PieChart.stories.d.ts +295 -0
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -0
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -0
- package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +280 -0
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +77 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -0
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +94 -0
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +54 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +197 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -0
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +9 -0
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +69 -0
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +393 -0
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -0
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -0
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -0
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -0
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -0
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -0
- package/dist/types/components/RangePicker/RangePicker.d.ts +52 -0
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +194 -0
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -0
- package/dist/types/components/ReportTable/ReportTable.d.ts +83 -0
- package/dist/types/components/ReportTable/ReportTable.stories.d.ts +322 -0
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -0
- package/dist/types/components/SagButton/SagButton.d.ts +45 -0
- package/dist/types/components/SagButton/SagButton.stories.d.ts +168 -0
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -0
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -0
- package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +178 -0
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -0
- package/dist/types/components/SagInput/SagInput.d.ts +36 -0
- package/dist/types/components/SagInput/SagInput.stories.d.ts +88 -0
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +222 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -0
- package/dist/types/components/SearchInput/SearchInput.d.ts +24 -0
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +49 -0
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +49 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +260 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -0
- package/dist/types/components/Select/Select.d.ts +21 -0
- package/dist/types/components/Select/Select.stories.d.ts +285 -0
- package/dist/types/components/Select/Select.style.d.ts +6 -0
- package/dist/types/components/SingleBarLineCharts/SingleBar.test.d.ts +1 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +398 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +61 -0
- package/dist/types/components/TabMenu/TabMenu.d.ts +90 -0
- package/dist/types/components/TabMenu/TabMenu.stories.d.ts +174 -0
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +58 -0
- package/dist/types/components/TextField/TextField.d.ts +6 -0
- package/dist/types/components/TextField/TextField.stories.d.ts +243 -0
- package/dist/types/components/TextField/TextField.style.d.ts +1 -0
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -0
- package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +137 -0
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +24 -0
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -0
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -0
- package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +36 -0
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +176 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +379 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +54 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +237 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +257 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +66 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +416 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +331 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -0
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -0
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +74 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +238 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -0
- package/dist/types/icons/ArrowDownIcon.d.ts +6 -0
- package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -0
- package/dist/types/icons/ArrowSelectIcon.d.ts +6 -0
- package/dist/types/icons/ArrowUpIcon.d.ts +6 -0
- package/dist/types/icons/AttachedIcon.d.ts +6 -0
- package/dist/types/icons/BellIcon.d.ts +6 -0
- package/dist/types/icons/ButtonArrowRight.d.ts +5 -0
- package/dist/types/icons/Calendar.d.ts +2 -0
- package/dist/types/icons/CalendarIcon.d.ts +6 -0
- package/dist/types/icons/CalendarInOpen.d.ts +2 -0
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -0
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -0
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -0
- package/dist/types/icons/ChervronLeftIcon.d.ts +2 -0
- package/dist/types/icons/ChervronRightIcon.d.ts +2 -0
- package/dist/types/icons/ChevronLeftIcon.d.ts +4 -0
- package/dist/types/icons/ChevronRightIcon.d.ts +4 -0
- package/dist/types/icons/ClockIcon.d.ts +6 -0
- package/dist/types/icons/CloseIcon.d.ts +6 -0
- package/dist/types/icons/CloseXIcon.d.ts +6 -0
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -0
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -0
- package/dist/types/icons/DocumentIcon.d.ts +6 -0
- package/dist/types/icons/DownloadIcon.d.ts +6 -0
- package/dist/types/icons/Duplicate.d.ts +7 -0
- package/dist/types/icons/ErrorIcon.d.ts +6 -0
- package/dist/types/icons/ExitIcon.d.ts +7 -0
- package/dist/types/icons/ExportIcon.d.ts +7 -0
- package/dist/types/icons/EyeIcon.d.ts +7 -0
- package/dist/types/icons/FileIcon.d.ts +6 -0
- package/dist/types/icons/FilterIcon.d.ts +6 -0
- package/dist/types/icons/FlyIcon.d.ts +7 -0
- package/dist/types/icons/FoodLionChartIcon.d.ts +2 -0
- package/dist/types/icons/FoodLionIcon.d.ts +6 -0
- package/dist/types/icons/FoodLionNewIcon.d.ts +5 -0
- package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -0
- package/dist/types/icons/GiantFoodIcon.d.ts +7 -0
- package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -0
- package/dist/types/icons/HannafordChartIcon.d.ts +2 -0
- package/dist/types/icons/HannafordIcon.d.ts +6 -0
- package/dist/types/icons/HannafordIcon_new.d.ts +6 -0
- package/dist/types/icons/HannafordNewIcon.d.ts +5 -0
- package/dist/types/icons/InfoIcon.d.ts +7 -0
- package/dist/types/icons/LampIcon.d.ts +6 -0
- package/dist/types/icons/LegendLineIcon.d.ts +6 -0
- package/dist/types/icons/LegendUnionIcon.d.ts +6 -0
- package/dist/types/icons/MaintenanceIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemOpenIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemRightIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemUpIcon.d.ts +7 -0
- package/dist/types/icons/NoDataFoundIcon.d.ts +12 -0
- package/dist/types/icons/OptionsIcon.d.ts +6 -0
- package/dist/types/icons/ReselectIcon.d.ts +6 -0
- package/dist/types/icons/SearchIcon.d.ts +6 -0
- package/dist/types/icons/ShoppingCartIcon.d.ts +6 -0
- package/dist/types/icons/ShoutIcon.d.ts +6 -0
- package/dist/types/icons/Sort.d.ts +1 -0
- package/dist/types/icons/SortIcon.d.ts +7 -0
- package/dist/types/icons/SpotlightProductIcon.d.ts +7 -0
- package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -0
- package/dist/types/icons/StopAndShopIcon.d.ts +7 -0
- package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -0
- package/dist/types/icons/SucceededIcon.d.ts +6 -0
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -0
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -0
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/reactTestApp/App.d.ts +2 -0
- package/dist/types/reactTestApp/index.d.ts +1 -0
- package/dist/types/reactTestApp/vite.config.d.ts +2 -0
- package/dist/types/utils/CommonFunctions.d.ts +6 -0
- package/dist/types/utils/ComponentFactory.d.ts +4 -0
- package/dist/types/utils/IconsHandler.d.ts +1 -0
- package/dist/types/utils/IconsHandler.style.d.ts +1 -0
- package/dist/types/utils/regex/Email.regex.d.ts +1 -0
- package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -0
- package/dist/types/utils/regex/OnlyEnglishLetters.regex.d.ts +1 -0
- package/dist/types/utils/regex/Phone.regex.d.ts +1 -0
- package/package.json +19 -2
- package/.eslintrc.js +0 -37
- package/dist/components/AttachedFile/AttachedFile.js +0 -69
- package/dist/components/AttachedFile/AttachedFile.stories.js +0 -37
- package/dist/components/AttachedFile/AttachedFile.style.js +0 -48
- package/dist/components/AutocompleteField/AutocompleteField.js +0 -45
- package/dist/components/AutocompleteField/AutocompleteField.stories.js +0 -25
- package/dist/components/AutocompleteField/AutocompleteField.style.js +0 -55
- package/dist/components/BannerEventBox/BannerEventBox.js +0 -125
- package/dist/components/BannerEventBox/BannerEventBox.stories.js +0 -59
- package/dist/components/BannerEventBox/BannerEventBox.style.js +0 -78
- package/dist/components/BannerEventBoxList/BannerEventBoxList.js +0 -175
- package/dist/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -39
- package/dist/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -190
- package/dist/components/BannersDropdown/BannersDropdown.js +0 -134
- package/dist/components/BannersDropdown/BannersDropdown.stories.js +0 -64
- package/dist/components/BannersDropdown/BannersDropdown.style.js +0 -99
- package/dist/components/BarChart/BarChart.js +0 -245
- package/dist/components/BarChart/BarChart.stories.js +0 -306
- package/dist/components/BarChart/BarChart.style.js +0 -60
- package/dist/components/BarChartTwoRows/BarChartTwoRows.js +0 -222
- package/dist/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
- package/dist/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.js +0 -263
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.js +0 -134
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.style.js +0 -67
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -308
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -445
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
- package/dist/components/Benchmark/Benchmark.js +0 -126
- package/dist/components/Benchmark/Benchmark.stories.js +0 -147
- package/dist/components/Benchmark/Benchmark.style.js +0 -61
- package/dist/components/Button/Button.js +0 -181
- package/dist/components/Button/Button.stories.js +0 -255
- package/dist/components/Button/Button.style.js +0 -90
- package/dist/components/Button/Button.test.js +0 -94
- package/dist/components/CampaignTool/CampaignDemoReport.js +0 -71
- package/dist/components/CampaignTool/CampaignDemoReport.stories.js +0 -65
- package/dist/components/CampaignTool/CampaignDemoReport.style.js +0 -48
- package/dist/components/CampaignTool/Card.js +0 -100
- package/dist/components/CampaignTool/Card.stories.js +0 -92
- package/dist/components/CampaignTool/Card.style.js +0 -65
- package/dist/components/CampaignTool/FormInput.js +0 -35
- package/dist/components/CampaignTool/FormSelect.js +0 -37
- package/dist/components/CampaignTool/MultipleCard.js +0 -33
- package/dist/components/CampaignTool/MultipleCard.stories.js +0 -33
- package/dist/components/CampaignTool/MultipleCard.style.js +0 -13
- package/dist/components/CampaignTool/PageFilterBar.js +0 -29
- package/dist/components/CampaignTool/PageFilterBar.stories.js +0 -28
- package/dist/components/CampaignTool/PageFilterBar.style.js +0 -22
- package/dist/components/CampaignTool/Popup.js +0 -137
- package/dist/components/CampaignTool/Popup.stories.js +0 -702
- package/dist/components/CampaignTool/Popup.style.js +0 -122
- package/dist/components/CampaignTool/PopupContent.js +0 -84
- package/dist/components/CampaignTool/PopupContent.style.js +0 -74
- package/dist/components/CampaignTool/PopupFieldsRules.js +0 -168
- package/dist/components/CampaignTool/Table.js +0 -223
- package/dist/components/CampaignTool/Table.stories.js +0 -104
- package/dist/components/CampaignTool/Table.style.js +0 -86
- package/dist/components/CheckBox/CheckBox.js +0 -61
- package/dist/components/CheckBox/CheckBox.stories.js +0 -107
- package/dist/components/CheckBox/CheckBox.style.js +0 -36
- package/dist/components/CheckBoxButton/CheckBoxButton.js +0 -57
- package/dist/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
- package/dist/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
- package/dist/components/CodeEditor/CodeEditor.js +0 -31
- package/dist/components/CodeEditor/CodeEditor.style.js +0 -13
- package/dist/components/CollapseData/CollapseData.js +0 -100
- package/dist/components/CollapseData/CollapseData.stories.js +0 -125
- package/dist/components/CollapseData/CollapseData.style.js +0 -127
- package/dist/components/CollapseHeader/CollapseHeader.js +0 -284
- package/dist/components/CollapseHeader/CollapseHeader.stories.js +0 -123
- package/dist/components/CollapseHeader/CollapseHeader.style.js +0 -200
- package/dist/components/CollapseMenuItem/CollapseMenuItem.js +0 -72
- package/dist/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -121
- package/dist/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
- package/dist/components/Datepicker/Datepicker.js +0 -136
- package/dist/components/Datepicker/Datepicker.stories.js +0 -85
- package/dist/components/Datepicker/Datepicker.style.js +0 -19
- package/dist/components/DialogOverlay/DialogOverlay.js +0 -57
- package/dist/components/DialogOverlay/DialogOverlay.stories.js +0 -39
- package/dist/components/DialogOverlay/DialogOverlay.style.js +0 -70
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.js +0 -89
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.stories.js +0 -116
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.style.js +0 -66
- package/dist/components/DownloadProgress/DownloadProgress.js +0 -99
- package/dist/components/DownloadProgress/DownloadProgress.stories.js +0 -109
- package/dist/components/DownloadProgress/DownloadProgress.style.js +0 -51
- package/dist/components/Dropdown/Dropdown.js +0 -199
- package/dist/components/Dropdown/Dropdown.stories.js +0 -318
- package/dist/components/Dropdown/Dropdown.style.js +0 -17
- package/dist/components/DropdownMulti/DropdownMulti.js +0 -277
- package/dist/components/DropdownMulti/DropdownMulti.stories.js +0 -220
- package/dist/components/DropdownMulti/DropdownMulti.style.js +0 -17
- package/dist/components/DropdownMultiNew/DropdownMultiNew.js +0 -250
- package/dist/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -212
- package/dist/components/DropdownMultiNew/DropdownNew.stories.js +0 -407
- package/dist/components/DropdownNew/DropdownNew.js +0 -80
- package/dist/components/DropdownNew/DropdownNew.style.js +0 -21
- package/dist/components/DropdownSingleNew/DropdownSingleNew.js +0 -228
- package/dist/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -183
- package/dist/components/EventDetailsCard/EventDetailsCard.js +0 -170
- package/dist/components/EventDetailsCard/EventDetailsCard.stories.js +0 -114
- package/dist/components/EventDetailsCard/EventDetailsCard.style.js +0 -62
- package/dist/components/EventList/EventList.js +0 -64
- package/dist/components/EventList/EventList.stories.js +0 -84
- package/dist/components/EventList/EventList.style.js +0 -38
- package/dist/components/EventListItem/EventListItem.js +0 -68
- package/dist/components/EventListItem/EventListItem.stories.js +0 -65
- package/dist/components/EventListItem/EventListItem.style.js +0 -47
- package/dist/components/FilterContainer/FilterContainer.js +0 -26
- package/dist/components/FilterContainer/FilterContainer.stories.js +0 -22
- package/dist/components/FilterContainer/FilterContainer.style.js +0 -30
- package/dist/components/FilterPanel/FilterPanel.js +0 -459
- package/dist/components/FilterPanel/FilterPanel.stories.js +0 -967
- package/dist/components/FilterPanel/FilterPanel.style.js +0 -89
- package/dist/components/FormattedValue/FormattedValue.js +0 -87
- package/dist/components/FormattedValue/FormattedValue.stories.js +0 -183
- package/dist/components/FormattedValue/FormattedValue.style.js +0 -91
- package/dist/components/Heatmap/Heatmap.js +0 -177
- package/dist/components/Heatmap/Heatmap.stories.js +0 -118
- package/dist/components/Heatmap/Heatmap.style.js +0 -151
- package/dist/components/IconButton/IconButton.js +0 -132
- package/dist/components/IconButton/IconButton.stories.js +0 -126
- package/dist/components/IconButton/IconButton.style.js +0 -65
- package/dist/components/Input/Input.js +0 -173
- package/dist/components/Input/Input.stories.js +0 -422
- package/dist/components/Input/Input.style.js +0 -132
- package/dist/components/InputOld/InputOld.js +0 -97
- package/dist/components/InputOld/InputOld.stories.js +0 -103
- package/dist/components/InputOld/InputOld.style.js +0 -71
- package/dist/components/KpiFilter/KpiFilter.js +0 -294
- package/dist/components/KpiFilter/KpiFilter.stories.js +0 -401
- package/dist/components/KpiFilter/KpiFilter.style.js +0 -132
- package/dist/components/LinkButton/LinkButton.js +0 -166
- package/dist/components/LinkButton/LinkButton.stories.js +0 -171
- package/dist/components/LinkButton/LinkButton.style.js +0 -53
- package/dist/components/LinkButton/LinkButton.test.js +0 -94
- package/dist/components/LinnerDataBox/LinnerDataBox.js +0 -81
- package/dist/components/LinnerDataBox/LinnerDataBox.stories.js +0 -79
- package/dist/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
- package/dist/components/ListBox/ListBox.js +0 -59
- package/dist/components/ListBox/ListBox.stories.js +0 -132
- package/dist/components/ListBox/ListBox.style.js +0 -48
- package/dist/components/MarketShareDescription/MarketShareDescription.js +0 -119
- package/dist/components/MarketShareDescription/MarketShareDescription.stories.js +0 -196
- package/dist/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
- package/dist/components/Modal/Modal.js +0 -23
- package/dist/components/Modal/Modal.style.js +0 -64
- package/dist/components/Modal/ModalTotalBenchmark.js +0 -129
- package/dist/components/Modal/ModalTotalCost.js +0 -101
- package/dist/components/MonthPicker/MonthPicker.js +0 -149
- package/dist/components/MonthPicker/MonthPicker.stories.js +0 -142
- package/dist/components/MonthPicker/MonthPicker.style.js +0 -105
- package/dist/components/MonthPicker/MonthPopupPicker.js +0 -215
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
- package/dist/components/OneColumnContainer/OneColumnContainer.js +0 -127
- package/dist/components/OneColumnContainer/OneColumnContainer.stories.js +0 -117
- package/dist/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -442
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -263
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -60
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -99
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -317
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -236
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -86
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -109
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
- package/dist/components/PieChart/PieChart.js +0 -193
- package/dist/components/PieChart/PieChart.stories.js +0 -215
- package/dist/components/PieChart/PieChart.style.js +0 -154
- package/dist/components/PopupCharts/PopupCharts.js +0 -212
- package/dist/components/PopupCharts/PopupCharts.stories.js +0 -1196
- package/dist/components/PopupCharts/PopupCharts.style.js +0 -108
- package/dist/components/ProductsVariety/ProductsVariety.js +0 -106
- package/dist/components/ProductsVariety/ProductsVariety.stories.js +0 -90
- package/dist/components/ProductsVariety/ProductsVariety.style.js +0 -86
- package/dist/components/ProgressBar/ProgressBar.js +0 -56
- package/dist/components/ProgressBar/ProgressBar.stories.js +0 -71
- package/dist/components/ProgressBar/ProgressBar.style.js +0 -24
- package/dist/components/QuarterPicker/QuarterPicker.js +0 -145
- package/dist/components/QuarterPicker/QuarterPicker.stories.js +0 -142
- package/dist/components/QuarterPicker/QuarterPicker.style.js +0 -104
- package/dist/components/QuarterPicker/QuarterPopupPicker.js +0 -196
- package/dist/components/QuickFilter/QuickFilter.js +0 -68
- package/dist/components/QuickFilter/QuickFilter.stories.js +0 -275
- package/dist/components/QuickFilter/QuickFilter.style.js +0 -21
- package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.js +0 -261
- package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.js +0 -188
- package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.js +0 -198
- package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.js +0 -133
- package/dist/components/RangePicker/RangeDatePicker.js +0 -229
- package/dist/components/RangePicker/RangePicker.js +0 -158
- package/dist/components/RangePicker/RangePicker.stories.js +0 -140
- package/dist/components/RangePicker/RangePicker.style.js +0 -109
- package/dist/components/ReportTable/ReportTable.js +0 -412
- package/dist/components/ReportTable/ReportTable.stories.js +0 -255
- package/dist/components/ReportTable/ReportTable.style.js +0 -304
- package/dist/components/SagButton/SagButton.js +0 -73
- package/dist/components/SagButton/SagButton.stories.js +0 -118
- package/dist/components/SagButton/SagButton.style.js +0 -47
- package/dist/components/SagIconButton/SagIconButton.js +0 -103
- package/dist/components/SagIconButton/SagIconButton.stories.js +0 -122
- package/dist/components/SagIconButton/SagIconButton.style.js +0 -30
- package/dist/components/SagInput/SagInput.js +0 -62
- package/dist/components/SagInput/SagInput.stories.js +0 -69
- package/dist/components/SagInput/SagInput.style.js +0 -41
- package/dist/components/SalesAndROI/SalesAndROI.js +0 -104
- package/dist/components/SalesAndROI/SalesAndROI.stories.js +0 -166
- package/dist/components/SalesAndROI/SalesAndROI.style.js +0 -111
- package/dist/components/SearchInput/SearchInput.js +0 -42
- package/dist/components/SearchInput/SearchInput.stories.js +0 -44
- package/dist/components/SearchInput/SearchInput.style.js +0 -37
- package/dist/components/SegmentedButton/SegmentedButton.js +0 -120
- package/dist/components/SegmentedButton/SegmentedButton.stories.js +0 -181
- package/dist/components/SegmentedButton/SegmentedButton.style.js +0 -97
- package/dist/components/Select/Select.js +0 -108
- package/dist/components/Select/Select.stories.js +0 -201
- package/dist/components/Select/Select.style.js +0 -101
- package/dist/components/SingleBarLineCharts/SingleBar.test.js +0 -68
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.js +0 -360
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.stories.js +0 -310
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.style.js +0 -101
- package/dist/components/TabMenu/TabMenu.js +0 -250
- package/dist/components/TabMenu/TabMenu.stories.js +0 -136
- package/dist/components/TabMenu/TabMenu.style.js +0 -121
- package/dist/components/TextField/TextField.js +0 -183
- package/dist/components/TextField/TextField.stories.js +0 -160
- package/dist/components/TextField/TextField.style.js +0 -18
- package/dist/components/TitleDescription/TitleDescription.js +0 -305
- package/dist/components/TitleDescription/TitleDescription.stories.js +0 -116
- package/dist/components/TitleDescription/TitleDescription.style.js +0 -222
- package/dist/components/Tooltip/Tooltip.js +0 -55
- package/dist/components/Tooltip/Tooltip.style.js +0 -103
- package/dist/components/TopToggleList/TopToggleList.js +0 -57
- package/dist/components/TopToggleList/TopToggleList.stories.js +0 -52
- package/dist/components/TopToggleList/TopToggleList.style.js +0 -51
- package/dist/components/TotalBenchmark/TotalBenchmark.js +0 -96
- package/dist/components/TotalBenchmark/TotalBenchmark.stories.js +0 -135
- package/dist/components/TotalBenchmark/TotalBenchmark.style.js +0 -79
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -311
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -341
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -170
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -162
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -183
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -228
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -301
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -218
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -291
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -93
- package/dist/components/TspanTooltip/TspanTooltip.js +0 -41
- package/dist/components/TspanTooltip/TspanTooltip.style.js +0 -105
- package/dist/components/TwoBarCharts/TwoBarCharts.js +0 -211
- package/dist/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
- package/dist/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
- package/dist/icons/ArrowDownIcon.js +0 -17
- package/dist/icons/ArrowDropDownIcon.js +0 -19
- package/dist/icons/ArrowSelectIcon.js +0 -18
- package/dist/icons/ArrowUpIcon.js +0 -17
- package/dist/icons/AttachedIcon.js +0 -17
- package/dist/icons/BellIcon.js +0 -17
- package/dist/icons/ButtonArrowRight.js +0 -18
- package/dist/icons/Calendar.js +0 -13
- package/dist/icons/CalendarIcon.js +0 -19
- package/dist/icons/CalendarInOpen.js +0 -14
- package/dist/icons/CheckBoxButtonCheckedIcon.js +0 -20
- package/dist/icons/CheckBoxCheckedIcon.js +0 -20
- package/dist/icons/CheckBoxNotCheckedIcon.js +0 -20
- package/dist/icons/ChervronLeftIcon.js +0 -13
- package/dist/icons/ChervronRightIcon.js +0 -13
- package/dist/icons/ChevronLeftIcon.js +0 -20
- package/dist/icons/ChevronRightIcon.js +0 -20
- package/dist/icons/ClockIcon.js +0 -19
- package/dist/icons/CloseIcon.js +0 -17
- package/dist/icons/CloseXIcon.js +0 -17
- package/dist/icons/ComboBoxArrowDownIcon.js +0 -20
- package/dist/icons/ComboBoxArrowUpIcon.js +0 -18
- package/dist/icons/DocumentIcon.js +0 -22
- package/dist/icons/DownloadIcon.js +0 -17
- package/dist/icons/Duplicate.js +0 -18
- package/dist/icons/ErrorIcon.js +0 -18
- package/dist/icons/ExitIcon.js +0 -18
- package/dist/icons/ExportIcon.js +0 -18
- package/dist/icons/EyeIcon.js +0 -18
- package/dist/icons/FileIcon.js +0 -17
- package/dist/icons/FilterIcon.js +0 -20
- package/dist/icons/FlyIcon.js +0 -20
- package/dist/icons/FoodLionChartIcon.js +0 -22
- package/dist/icons/FoodLionIcon.js +0 -1042
- package/dist/icons/FoodLionNewIcon.js +0 -22
- package/dist/icons/GiantFoodChartIcon.js +0 -20
- package/dist/icons/GiantFoodIcon.js +0 -673
- package/dist/icons/GiantFoodIcon_new.js +0 -24
- package/dist/icons/HannafordChartIcon.js +0 -20
- package/dist/icons/HannafordIcon.js +0 -1686
- package/dist/icons/HannafordIcon_new.js +0 -23
- package/dist/icons/HannafordNewIcon.js +0 -204
- package/dist/icons/InfoIcon.js +0 -18
- package/dist/icons/LampIcon.js +0 -20
- package/dist/icons/LegendLineIcon.js +0 -17
- package/dist/icons/LegendUnionIcon.js +0 -17
- package/dist/icons/MaintenanceIcon.js +0 -20
- package/dist/icons/MenuItemClosedIcon.js +0 -20
- package/dist/icons/MenuItemOpenIcon.js +0 -18
- package/dist/icons/MenuItemRightIcon.js +0 -18
- package/dist/icons/MenuItemUpIcon.js +0 -18
- package/dist/icons/NoDataFoundIcon.js +0 -32
- package/dist/icons/OptionsIcon.js +0 -17
- package/dist/icons/ReselectIcon.js +0 -17
- package/dist/icons/SearchIcon.js +0 -17
- package/dist/icons/ShoppingCartIcon.js +0 -25
- package/dist/icons/ShoutIcon.js +0 -17
- package/dist/icons/Sort.js +0 -5
- package/dist/icons/SortIcon.js +0 -23
- package/dist/icons/SpotlightProductIcon.js +0 -18
- package/dist/icons/StopAndShopChartIcon.js +0 -22
- package/dist/icons/StopAndShopIcon.js +0 -61
- package/dist/icons/StopAndShopNewIcon.js +0 -23
- package/dist/icons/SucceededIcon.js +0 -18
- package/dist/icons/TheGiantCompanyChartIcon.js +0 -20
- package/dist/icons/TheGiantCompanyIcon.js +0 -22
- package/dist/icons/TheGiantCompanyNewIcon.js +0 -23
- package/dist/reactTestApp/index.js +0 -17
- package/dist/reactTestApp/vite.config.js +0 -15
- package/dist/utils/CommonFunctions.js +0 -95
- package/dist/utils/ComponentFactory.js +0 -64
- package/dist/utils/IconsHandler.js +0 -70
- package/dist/utils/IconsHandler.style.js +0 -16
- package/dist/utils/regex/Email.regex.js +0 -7
- package/dist/utils/regex/LatinWithSpaces.regex.js +0 -7
- package/dist/utils/regex/OnlyEnglishLetters.regex.js +0 -7
- package/dist/utils/regex/Phone.regex.js +0 -7
- package/favicon.ico +0 -0
- package/index.html +0 -65
- package/manifest.json +0 -25
- package/robots.txt +0 -3
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _fa = require("react-icons/fa");
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
var _IconsHandler = require("../../utils/IconsHandler");
|
|
11
|
-
var _Input = require("./Input.style");
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
16
|
-
/* eslint-disable react/require-default-props */
|
|
17
|
-
/* eslint-disable no-nested-ternary */
|
|
18
|
-
// CustomInput.js
|
|
19
|
-
|
|
20
|
-
const Input = ({
|
|
21
|
-
label,
|
|
22
|
-
labelEmptyValue,
|
|
23
|
-
size,
|
|
24
|
-
selectedValue,
|
|
25
|
-
placeHolder,
|
|
26
|
-
onChange,
|
|
27
|
-
onBlur,
|
|
28
|
-
required,
|
|
29
|
-
disabled,
|
|
30
|
-
width,
|
|
31
|
-
error,
|
|
32
|
-
errorMessage,
|
|
33
|
-
labelColor,
|
|
34
|
-
leftIcon,
|
|
35
|
-
rightIcon,
|
|
36
|
-
password,
|
|
37
|
-
leftIconOnClick,
|
|
38
|
-
rightIconOnClick
|
|
39
|
-
}) => {
|
|
40
|
-
const [isFocused, setIsFocused] = (0, _react.useState)(false);
|
|
41
|
-
const [inputValue, setInputValue] = (0, _react.useState)('');
|
|
42
|
-
const [showPassword, setShowPassword] = (0, _react.useState)(false);
|
|
43
|
-
const inputRef = (0, _react.useRef)(null);
|
|
44
|
-
const containerRef = (0, _react.useRef)(null);
|
|
45
|
-
(0, _react.useEffect)(() => {
|
|
46
|
-
setInputValue(selectedValue);
|
|
47
|
-
}, [selectedValue]);
|
|
48
|
-
const handleLabelClick = () => {
|
|
49
|
-
if (disabled) return;
|
|
50
|
-
setIsFocused(true);
|
|
51
|
-
if (inputRef?.current) {
|
|
52
|
-
inputRef?.current?.focus();
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
const handleInputChange = e => {
|
|
56
|
-
setIsFocused(true);
|
|
57
|
-
setInputValue(e.target.value);
|
|
58
|
-
if (inputRef?.current) {
|
|
59
|
-
inputRef?.current?.focus();
|
|
60
|
-
}
|
|
61
|
-
onChange({
|
|
62
|
-
newValue: e.target.value || ''
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
const handleFocus = () => {
|
|
66
|
-
setIsFocused(true);
|
|
67
|
-
if (inputRef?.current) {
|
|
68
|
-
inputRef?.current?.focus();
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
const handleBlur = () => {
|
|
72
|
-
onBlur();
|
|
73
|
-
setIsFocused(false);
|
|
74
|
-
};
|
|
75
|
-
const leftIconOnClickHandler = () => {
|
|
76
|
-
if (disabled) return;
|
|
77
|
-
leftIconOnClick({
|
|
78
|
-
leftIconOnClick: leftIcon
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
const rightIconOnClickHandler = () => {
|
|
82
|
-
if (disabled) return;
|
|
83
|
-
rightIconOnClick({
|
|
84
|
-
rightIconOnClick: rightIcon
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
const getLeftIcon = () => {
|
|
88
|
-
if (!leftIcon || leftIcon === 'none') return '';
|
|
89
|
-
return (0, _IconsHandler.getIcon)(leftIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', leftIconOnClickHandler);
|
|
90
|
-
};
|
|
91
|
-
const getRightIcon = () => {
|
|
92
|
-
if (!rightIcon || rightIcon === 'none') return '';
|
|
93
|
-
return (0, _IconsHandler.getIcon)(rightIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', rightIconOnClickHandler);
|
|
94
|
-
};
|
|
95
|
-
const toggleShowPassword = () => {
|
|
96
|
-
setShowPassword(!showPassword);
|
|
97
|
-
};
|
|
98
|
-
const getPasswordIcon = () => {
|
|
99
|
-
if (!password) return '';
|
|
100
|
-
if (showPassword) {
|
|
101
|
-
return <_Input.IconWrapper className="passwordEyeSlash" disabled={disabled} onClick={toggleShowPassword}>
|
|
102
|
-
<_fa.FaEyeSlash onClick={toggleShowPassword} color={error ? 'red' : labelColor} />
|
|
103
|
-
</_Input.IconWrapper>;
|
|
104
|
-
}
|
|
105
|
-
return (0, _IconsHandler.getIcon)('eye', '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', toggleShowPassword);
|
|
106
|
-
};
|
|
107
|
-
return <_Input.MainContainer className="MainContainer" width={width} size={size} disabled={disabled}>
|
|
108
|
-
<_Input.InputContainer className="InputContainer" labelColor={labelColor} disabled={disabled} error={error} isFocused={isFocused} size={size}>
|
|
109
|
-
|
|
110
|
-
{getLeftIcon()}
|
|
111
|
-
|
|
112
|
-
<_Input.InputSubContainer className="InputSubContainer" ref={containerRef} labelColor={labelColor} disabled={disabled} error={error} onClick={handleLabelClick} size={size}>
|
|
113
|
-
|
|
114
|
-
<_Input.Label className="Label" isFocused={isFocused} labelColor={labelColor} hasValue={inputValue} leftIcon={leftIcon} disabled={disabled} error={error} errorMessage={errorMessage} onClick={handleLabelClick} size={size}>
|
|
115
|
-
{inputValue ? label : labelEmptyValue || label}
|
|
116
|
-
{required && <span style={{
|
|
117
|
-
color: disabled ? '#D0D0D0' : 'red',
|
|
118
|
-
height: '16px'
|
|
119
|
-
}}>*</span>}
|
|
120
|
-
</_Input.Label>
|
|
121
|
-
|
|
122
|
-
<_Input.StyledInput className="StyledInput" ref={inputRef} type={password && !showPassword ? 'password' : 'text'} value={inputValue} onChange={handleInputChange} onClick={handleLabelClick} onFocus={handleFocus} onBlur={handleBlur} disabled={disabled} placeholder={isFocused ? placeHolder : ''} error={error} isFocused={isFocused} />
|
|
123
|
-
|
|
124
|
-
</_Input.InputSubContainer>
|
|
125
|
-
|
|
126
|
-
{password ? getPasswordIcon() : getRightIcon()}
|
|
127
|
-
|
|
128
|
-
</_Input.InputContainer>
|
|
129
|
-
|
|
130
|
-
{error && errorMessage?.length > 0 && <_Input.ErrorMessage className="ErrorMessage" width={width}>{errorMessage}</_Input.ErrorMessage>}
|
|
131
|
-
|
|
132
|
-
</_Input.MainContainer>;
|
|
133
|
-
};
|
|
134
|
-
Input.propTypes = {
|
|
135
|
-
placeHolder: _propTypes.default.string,
|
|
136
|
-
label: _propTypes.default.string,
|
|
137
|
-
labelEmptyValue: _propTypes.default.string,
|
|
138
|
-
size: _propTypes.default.string,
|
|
139
|
-
labelColor: _propTypes.default.string,
|
|
140
|
-
required: _propTypes.default.bool,
|
|
141
|
-
width: _propTypes.default.string,
|
|
142
|
-
disabled: _propTypes.default.bool,
|
|
143
|
-
error: _propTypes.default.bool,
|
|
144
|
-
errorMessage: _propTypes.default.string,
|
|
145
|
-
selectedValue: _propTypes.default.string,
|
|
146
|
-
onChange: _propTypes.default.func.isRequired,
|
|
147
|
-
leftIconOnClick: _propTypes.default.func,
|
|
148
|
-
rightIconOnClick: _propTypes.default.func,
|
|
149
|
-
onBlur: _propTypes.default.func,
|
|
150
|
-
leftIcon: _propTypes.default.string,
|
|
151
|
-
rightIcon: _propTypes.default.string,
|
|
152
|
-
password: _propTypes.default.bool
|
|
153
|
-
};
|
|
154
|
-
Input.defaultProps = {
|
|
155
|
-
placeHolder: 'Type...',
|
|
156
|
-
label: '',
|
|
157
|
-
labelEmptyValue: '',
|
|
158
|
-
size: 'medium',
|
|
159
|
-
labelColor: '#066768',
|
|
160
|
-
required: true,
|
|
161
|
-
width: '300px',
|
|
162
|
-
disabled: false,
|
|
163
|
-
error: false,
|
|
164
|
-
errorMessage: '',
|
|
165
|
-
selectedValue: '',
|
|
166
|
-
leftIcon: 'none',
|
|
167
|
-
rightIcon: 'none',
|
|
168
|
-
leftIconOnClick: () => {},
|
|
169
|
-
rightIconOnClick: () => {},
|
|
170
|
-
onBlur: () => {},
|
|
171
|
-
password: false
|
|
172
|
-
};
|
|
173
|
-
var _default = exports.default = Input;
|
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.SmallWithInitValue = exports.SmallTwoIcons = exports.SmallRightIcon = exports.SmallLeftIcon = exports.Small = exports.Required = exports.Password = exports.MediumWithInitValue = exports.MediumRightIcon = exports.MediumLeftIcon = exports.MediumLeftAndRightIcon = exports.Medium = exports.ErrorMessage = exports.Disabled = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _Input = _interopRequireDefault(require("./Input"));
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
11
|
-
// Input.stories.js
|
|
12
|
-
|
|
13
|
-
// Update the path based on your actual file structure
|
|
14
|
-
|
|
15
|
-
const iconsList = ['none', 'Bell', 'Document', 'Download', 'Exit', 'Eye', 'Filter', 'Fly', 'Maintenance', 'Options', 'Search'];
|
|
16
|
-
var _default = exports.default = {
|
|
17
|
-
title: 'SAG/Input',
|
|
18
|
-
component: _Input.default,
|
|
19
|
-
tags: ['autodocs'],
|
|
20
|
-
argTypes: {
|
|
21
|
-
label: {
|
|
22
|
-
name: 'label',
|
|
23
|
-
type: {
|
|
24
|
-
name: 'string'
|
|
25
|
-
},
|
|
26
|
-
description: 'Label for the select',
|
|
27
|
-
defaultValue: {
|
|
28
|
-
summary: 'Dropdown Label'
|
|
29
|
-
},
|
|
30
|
-
control: {
|
|
31
|
-
type: 'text'
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
size: {
|
|
35
|
-
name: 'size',
|
|
36
|
-
options: ['small', 'medium'],
|
|
37
|
-
control: {
|
|
38
|
-
type: 'select'
|
|
39
|
-
},
|
|
40
|
-
description: 'size of the input field, small or medium are supported'
|
|
41
|
-
},
|
|
42
|
-
selectedValue: {
|
|
43
|
-
name: 'selectedValue',
|
|
44
|
-
type: {
|
|
45
|
-
name: 'string'
|
|
46
|
-
},
|
|
47
|
-
description: 'init or reset input value with this selected value',
|
|
48
|
-
defaultValue: {
|
|
49
|
-
summary: 'Dropdown Label'
|
|
50
|
-
},
|
|
51
|
-
control: {
|
|
52
|
-
type: 'text'
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
onChange: {
|
|
56
|
-
action: 'onChange',
|
|
57
|
-
description: 'Callback function for input change'
|
|
58
|
-
},
|
|
59
|
-
required: {
|
|
60
|
-
name: 'required',
|
|
61
|
-
type: {
|
|
62
|
-
name: 'boolean'
|
|
63
|
-
},
|
|
64
|
-
description: 'Indicates if the select is required',
|
|
65
|
-
defaultValue: {
|
|
66
|
-
summary: false
|
|
67
|
-
},
|
|
68
|
-
control: {
|
|
69
|
-
type: 'boolean'
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
labelColor: {
|
|
73
|
-
name: 'labelColor',
|
|
74
|
-
description: 'Indicates for label font color',
|
|
75
|
-
control: {
|
|
76
|
-
type: 'color',
|
|
77
|
-
presetColors: ['#ffffff', '#ff0000', '#00ff00', '#1B30AA']
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
disabled: {
|
|
81
|
-
name: 'disabled',
|
|
82
|
-
type: {
|
|
83
|
-
name: 'boolean'
|
|
84
|
-
},
|
|
85
|
-
description: 'Indicates if the select is disabled',
|
|
86
|
-
defaultValue: {
|
|
87
|
-
summary: false
|
|
88
|
-
},
|
|
89
|
-
control: {
|
|
90
|
-
type: 'boolean'
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
width: {
|
|
94
|
-
name: 'width',
|
|
95
|
-
type: {
|
|
96
|
-
name: 'string'
|
|
97
|
-
},
|
|
98
|
-
description: 'Width of the select',
|
|
99
|
-
defaultValue: {
|
|
100
|
-
summary: '200px'
|
|
101
|
-
},
|
|
102
|
-
control: {
|
|
103
|
-
type: 'text'
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
error: {
|
|
107
|
-
name: 'error',
|
|
108
|
-
type: {
|
|
109
|
-
name: 'boolean'
|
|
110
|
-
},
|
|
111
|
-
description: 'Indicates if there is an error',
|
|
112
|
-
defaultValue: {
|
|
113
|
-
summary: false
|
|
114
|
-
},
|
|
115
|
-
control: {
|
|
116
|
-
type: 'boolean'
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
errorMessage: {
|
|
120
|
-
name: 'errorMessage',
|
|
121
|
-
type: {
|
|
122
|
-
name: 'string'
|
|
123
|
-
},
|
|
124
|
-
description: 'Error message to display',
|
|
125
|
-
defaultValue: {
|
|
126
|
-
summary: ''
|
|
127
|
-
},
|
|
128
|
-
control: {
|
|
129
|
-
type: 'text'
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
placeHolder: {
|
|
133
|
-
name: 'placeHolder',
|
|
134
|
-
type: {
|
|
135
|
-
name: 'string'
|
|
136
|
-
},
|
|
137
|
-
description: 'Error message to display',
|
|
138
|
-
defaultValue: {
|
|
139
|
-
summary: ''
|
|
140
|
-
},
|
|
141
|
-
control: {
|
|
142
|
-
type: 'text'
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
password: {
|
|
146
|
-
name: 'password',
|
|
147
|
-
type: {
|
|
148
|
-
name: 'boolean'
|
|
149
|
-
},
|
|
150
|
-
description: 'Indicates if the input is a password field',
|
|
151
|
-
defaultValue: {
|
|
152
|
-
summary: false
|
|
153
|
-
},
|
|
154
|
-
control: {
|
|
155
|
-
type: 'boolean'
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
leftIcon: {
|
|
159
|
-
name: 'leftIcon',
|
|
160
|
-
options: iconsList,
|
|
161
|
-
control: {
|
|
162
|
-
type: 'select'
|
|
163
|
-
},
|
|
164
|
-
description: 'Choose an icon to apear on the button left side'
|
|
165
|
-
},
|
|
166
|
-
rightIcon: {
|
|
167
|
-
name: 'rightIcon',
|
|
168
|
-
options: iconsList,
|
|
169
|
-
control: {
|
|
170
|
-
type: 'select'
|
|
171
|
-
},
|
|
172
|
-
description: 'Choose an icon to apear on the button right side'
|
|
173
|
-
},
|
|
174
|
-
leftIconOnClick: {
|
|
175
|
-
action: 'leftIconOnClick',
|
|
176
|
-
description: 'Callback function for left Icon OnClick'
|
|
177
|
-
},
|
|
178
|
-
rightIconOnClick: {
|
|
179
|
-
action: 'rightIconOnClick',
|
|
180
|
-
description: 'Callback function for right Icon OnClick'
|
|
181
|
-
},
|
|
182
|
-
onBlur: {
|
|
183
|
-
action: 'onBlur',
|
|
184
|
-
description: 'Callback function for onBlur'
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}; // Create a group of stories for Input component
|
|
188
|
-
const Template = args => <_Input.default {...args} />;
|
|
189
|
-
const Small = exports.Small = Template.bind({});
|
|
190
|
-
Small.args = {
|
|
191
|
-
placeHolder: 'Type...',
|
|
192
|
-
label: 'Event Name',
|
|
193
|
-
labelEmptyValue: 'All Event Names',
|
|
194
|
-
size: 'small',
|
|
195
|
-
labelColor: '#066768',
|
|
196
|
-
required: false,
|
|
197
|
-
width: '300px',
|
|
198
|
-
disabled: false,
|
|
199
|
-
error: false,
|
|
200
|
-
errorMessage: '',
|
|
201
|
-
leftIcon: '',
|
|
202
|
-
rightIcon: ''
|
|
203
|
-
};
|
|
204
|
-
const SmallLeftIcon = exports.SmallLeftIcon = Template.bind({});
|
|
205
|
-
SmallLeftIcon.args = {
|
|
206
|
-
placeHolder: 'Type...',
|
|
207
|
-
label: 'Event Name',
|
|
208
|
-
labelEmptyValue: 'All Event Names',
|
|
209
|
-
size: 'small',
|
|
210
|
-
labelColor: '#066768',
|
|
211
|
-
required: false,
|
|
212
|
-
width: '300px',
|
|
213
|
-
disabled: false,
|
|
214
|
-
error: false,
|
|
215
|
-
errorMessage: '',
|
|
216
|
-
leftIcon: 'Filter',
|
|
217
|
-
rightIcon: ''
|
|
218
|
-
};
|
|
219
|
-
const SmallRightIcon = exports.SmallRightIcon = Template.bind({});
|
|
220
|
-
SmallRightIcon.args = {
|
|
221
|
-
placeHolder: 'Type...',
|
|
222
|
-
label: 'Event Name',
|
|
223
|
-
labelEmptyValue: 'All Event Names',
|
|
224
|
-
size: 'small',
|
|
225
|
-
labelColor: '#066768',
|
|
226
|
-
required: false,
|
|
227
|
-
width: '300px',
|
|
228
|
-
disabled: false,
|
|
229
|
-
error: false,
|
|
230
|
-
errorMessage: '',
|
|
231
|
-
leftIcon: '',
|
|
232
|
-
rightIcon: 'Exit'
|
|
233
|
-
};
|
|
234
|
-
const SmallTwoIcons = exports.SmallTwoIcons = Template.bind({});
|
|
235
|
-
SmallTwoIcons.args = {
|
|
236
|
-
placeHolder: 'Type...',
|
|
237
|
-
label: 'Event Name',
|
|
238
|
-
labelEmptyValue: 'All Event Names',
|
|
239
|
-
size: 'small',
|
|
240
|
-
labelColor: '#066768',
|
|
241
|
-
required: false,
|
|
242
|
-
width: '300px',
|
|
243
|
-
disabled: false,
|
|
244
|
-
error: false,
|
|
245
|
-
errorMessage: '',
|
|
246
|
-
leftIcon: 'Filter',
|
|
247
|
-
rightIcon: 'Exit'
|
|
248
|
-
// leftIconOnClick: () => console.log('Left Icon Clicked'),
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
// Story for the SmallWithInitValue state
|
|
252
|
-
const SmallWithInitValue = exports.SmallWithInitValue = Template.bind({});
|
|
253
|
-
SmallWithInitValue.args = {
|
|
254
|
-
placeHolder: 'Type...',
|
|
255
|
-
label: 'Event Name',
|
|
256
|
-
labelEmptyValue: 'All Event Names',
|
|
257
|
-
selectedValue: 'Small selling event',
|
|
258
|
-
size: 'small',
|
|
259
|
-
labelColor: '#066768',
|
|
260
|
-
required: false,
|
|
261
|
-
width: '300px',
|
|
262
|
-
disabled: false,
|
|
263
|
-
error: false,
|
|
264
|
-
errorMessage: '',
|
|
265
|
-
leftIcon: '',
|
|
266
|
-
rightIcon: ''
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
// Story for the Medium state
|
|
270
|
-
const Medium = exports.Medium = Template.bind({});
|
|
271
|
-
Medium.args = {
|
|
272
|
-
placeHolder: 'Type...',
|
|
273
|
-
label: 'Event Name',
|
|
274
|
-
labelEmptyValue: 'All Event Names',
|
|
275
|
-
size: 'medium',
|
|
276
|
-
labelColor: '#066768',
|
|
277
|
-
required: false,
|
|
278
|
-
width: '300px',
|
|
279
|
-
disabled: false,
|
|
280
|
-
error: false,
|
|
281
|
-
errorMessage: '',
|
|
282
|
-
leftIcon: '',
|
|
283
|
-
rightIcon: ''
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
// Story for the MediumWithInitValue state
|
|
287
|
-
const MediumWithInitValue = exports.MediumWithInitValue = Template.bind({});
|
|
288
|
-
MediumWithInitValue.args = {
|
|
289
|
-
placeHolder: 'Type...',
|
|
290
|
-
label: 'Event Name',
|
|
291
|
-
labelEmptyValue: 'All Event Names',
|
|
292
|
-
selectedValue: 'Large selling event',
|
|
293
|
-
size: 'medium',
|
|
294
|
-
labelColor: '#066768',
|
|
295
|
-
required: false,
|
|
296
|
-
width: '300px',
|
|
297
|
-
disabled: false,
|
|
298
|
-
error: false,
|
|
299
|
-
errorMessage: '',
|
|
300
|
-
leftIcon: '',
|
|
301
|
-
rightIcon: ''
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
// Story for the Required state
|
|
305
|
-
const Required = exports.Required = Template.bind({});
|
|
306
|
-
Required.args = {
|
|
307
|
-
placeHolder: 'Type...',
|
|
308
|
-
label: 'Event Name',
|
|
309
|
-
labelEmptyValue: 'All Event Names',
|
|
310
|
-
size: 'medium',
|
|
311
|
-
labelColor: '#066768',
|
|
312
|
-
required: true,
|
|
313
|
-
width: '300px',
|
|
314
|
-
disabled: false,
|
|
315
|
-
error: false,
|
|
316
|
-
errorMessage: '',
|
|
317
|
-
leftIcon: '',
|
|
318
|
-
rightIcon: ''
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
// Story for the Disabled state
|
|
322
|
-
const Disabled = exports.Disabled = Template.bind({});
|
|
323
|
-
Disabled.args = {
|
|
324
|
-
placeHolder: 'Type...',
|
|
325
|
-
label: 'Event Name',
|
|
326
|
-
labelEmptyValue: 'All Event Names',
|
|
327
|
-
size: 'medium',
|
|
328
|
-
labelColor: '#066768',
|
|
329
|
-
required: false,
|
|
330
|
-
width: '300px',
|
|
331
|
-
disabled: true,
|
|
332
|
-
error: false,
|
|
333
|
-
errorMessage: '',
|
|
334
|
-
leftIcon: '',
|
|
335
|
-
rightIcon: ''
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
// Story for the Left icon state
|
|
339
|
-
const MediumLeftIcon = exports.MediumLeftIcon = Template.bind({});
|
|
340
|
-
MediumLeftIcon.args = {
|
|
341
|
-
placeHolder: 'Type...',
|
|
342
|
-
label: 'Event Name',
|
|
343
|
-
labelEmptyValue: 'All Event Names',
|
|
344
|
-
size: 'medium',
|
|
345
|
-
labelColor: '#066768',
|
|
346
|
-
required: false,
|
|
347
|
-
width: '300px',
|
|
348
|
-
disabled: false,
|
|
349
|
-
error: false,
|
|
350
|
-
errorMessage: '',
|
|
351
|
-
leftIcon: 'Search',
|
|
352
|
-
rightIcon: ''
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
// Story for the Right icon state
|
|
356
|
-
const MediumRightIcon = exports.MediumRightIcon = Template.bind({});
|
|
357
|
-
MediumRightIcon.args = {
|
|
358
|
-
placeHolder: 'Type...',
|
|
359
|
-
label: 'Event Name',
|
|
360
|
-
labelEmptyValue: 'All Event Names',
|
|
361
|
-
size: 'medium',
|
|
362
|
-
labelColor: '#066768',
|
|
363
|
-
required: false,
|
|
364
|
-
width: '300px',
|
|
365
|
-
disabled: false,
|
|
366
|
-
error: false,
|
|
367
|
-
errorMessage: '',
|
|
368
|
-
leftIcon: 'none',
|
|
369
|
-
rightIcon: 'Exit'
|
|
370
|
-
};
|
|
371
|
-
|
|
372
|
-
// Story for the Right icon state
|
|
373
|
-
const MediumLeftAndRightIcon = exports.MediumLeftAndRightIcon = Template.bind({});
|
|
374
|
-
MediumLeftAndRightIcon.args = {
|
|
375
|
-
placeHolder: 'Type...',
|
|
376
|
-
label: 'Event Name',
|
|
377
|
-
labelEmptyValue: 'All Event Names',
|
|
378
|
-
size: 'medium',
|
|
379
|
-
labelColor: '#066768',
|
|
380
|
-
required: false,
|
|
381
|
-
width: '300px',
|
|
382
|
-
disabled: false,
|
|
383
|
-
error: false,
|
|
384
|
-
errorMessage: '',
|
|
385
|
-
leftIcon: 'Search',
|
|
386
|
-
rightIcon: 'Exit'
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
// Story for the Error state
|
|
390
|
-
const ErrorMessage = exports.ErrorMessage = Template.bind({});
|
|
391
|
-
ErrorMessage.args = {
|
|
392
|
-
placeHolder: 'Type...',
|
|
393
|
-
label: 'Event Name',
|
|
394
|
-
labelEmptyValue: 'All Event Names',
|
|
395
|
-
size: 'medium',
|
|
396
|
-
labelColor: '#066768',
|
|
397
|
-
required: false,
|
|
398
|
-
width: '300px',
|
|
399
|
-
disabled: false,
|
|
400
|
-
error: true,
|
|
401
|
-
errorMessage: 'Error example: Story for the state with error message ...',
|
|
402
|
-
leftIcon: 'none',
|
|
403
|
-
rightIcon: 'none'
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
// Story for the Password state
|
|
407
|
-
const Password = exports.Password = Template.bind({});
|
|
408
|
-
Password.args = {
|
|
409
|
-
placeHolder: '',
|
|
410
|
-
label: 'Password',
|
|
411
|
-
labelEmptyValue: 'Enter password',
|
|
412
|
-
size: 'medium',
|
|
413
|
-
labelColor: '#066768',
|
|
414
|
-
required: false,
|
|
415
|
-
width: '300px',
|
|
416
|
-
disabled: false,
|
|
417
|
-
error: false,
|
|
418
|
-
errorMessage: '',
|
|
419
|
-
leftIcon: '',
|
|
420
|
-
rightIcon: '',
|
|
421
|
-
password: true
|
|
422
|
-
};
|