sag_components 1.0.892 → 1.0.894
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/stories/CampaignTool/PopupContent.stories.js +284 -0
- package/dist/stories/components/BannerEventBoxTest.js +42 -0
- package/dist/stories/components/{MultipleCard/MultipleCard.style.js → BannerEventBoxTest.style.js} +2 -2
- package/dist/stories/components/FilterButton.js +53 -0
- package/dist/stories/components/FilterButton.style.js +12 -0
- package/dist/stories/components/NewInput.js +33 -0
- package/dist/stories/components/{SagInput/SagInput.style.js → NewInput.style.js} +2 -2
- package/dist/stories/components/SingleBarLineCharts.js +3 -1
- package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
- package/package.json +1 -1
- package/dist/stories/components/AttachedFile/AttachedFile.js +0 -62
- package/dist/stories/components/AttachedFile/AttachedFile.stories.js +0 -36
- package/dist/stories/components/AttachedFile/AttachedFile.style.js +0 -14
- package/dist/stories/components/BannerEventBox/BannerEventBox.js +0 -87
- package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +0 -58
- package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +0 -22
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +0 -148
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -30
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -22
- package/dist/stories/components/BannersDropdown/BannersDropdown.js +0 -115
- package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +0 -64
- package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +0 -18
- package/dist/stories/components/BarChart/BarChart.js +0 -189
- package/dist/stories/components/BarChart/BarChart.stories.js +0 -144
- package/dist/stories/components/BarChart/BarChart.style.js +0 -18
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +0 -204
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -133
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -18
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -295
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -442
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -21
- package/dist/stories/components/Benchmark/Benchmark.js +0 -130
- package/dist/stories/components/Benchmark/Benchmark.stories.js +0 -148
- package/dist/stories/components/Benchmark/Benchmark.style.js +0 -15
- package/dist/stories/components/Button/Button.js +0 -217
- package/dist/stories/components/Button/Button.stories.js +0 -269
- package/dist/stories/components/Button/Button.style.js +0 -15
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +0 -48
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +0 -65
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +0 -15
- package/dist/stories/components/Card/Card.js +0 -72
- package/dist/stories/components/Card/Card.stories.js +0 -92
- package/dist/stories/components/Card/Card.style.js +0 -18
- package/dist/stories/components/CheckBox/CheckBox.js +0 -76
- package/dist/stories/components/CheckBox/CheckBox.stories.js +0 -107
- package/dist/stories/components/CheckBox/CheckBox.style.js +0 -14
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +0 -69
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +0 -14
- package/dist/stories/components/CodeEditor/CodeEditor.js +0 -43
- package/dist/stories/components/CodeEditor/CodeEditor.style.js +0 -12
- package/dist/stories/components/CollapseData/CollapseData.js +0 -66
- package/dist/stories/components/CollapseData/CollapseData.stories.js +0 -125
- package/dist/stories/components/CollapseData/CollapseData.style.js +0 -21
- package/dist/stories/components/CollapseHeader/CollapseHeader.js +0 -267
- package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +0 -116
- package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +0 -35
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +0 -61
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -161
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -17
- package/dist/stories/components/Datepicker/Datepicker.js +0 -148
- package/dist/stories/components/Datepicker/Datepicker.stories.js +0 -86
- package/dist/stories/components/Datepicker/Datepicker.style.js +0 -13
- package/dist/stories/components/DownloadProgress/DownloadProgress.js +0 -97
- package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +0 -111
- package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +0 -14
- package/dist/stories/components/Dropdown/Dropdown.js +0 -231
- package/dist/stories/components/Dropdown/Dropdown.stories.js +0 -323
- package/dist/stories/components/Dropdown/Dropdown.style.js +0 -11
- package/dist/stories/components/DropdownMulti/DropdownMulti.js +0 -290
- package/dist/stories/components/DropdownMulti/DropdownMulti.stories.js +0 -220
- package/dist/stories/components/DropdownMulti/DropdownMulti.style.js +0 -11
- package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +0 -279
- package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -28
- package/dist/stories/components/DropdownNew/DropdownNew.js +0 -88
- package/dist/stories/components/DropdownNew/DropdownNew.stories.js +0 -407
- package/dist/stories/components/DropdownNew/DropdownNew.style.js +0 -11
- package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +0 -234
- package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -26
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +0 -144
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +0 -57
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +0 -18
- package/dist/stories/components/EventList/EventList.js +0 -61
- package/dist/stories/components/EventList/EventList.stories.js +0 -84
- package/dist/stories/components/EventList/EventList.style.js +0 -14
- package/dist/stories/components/EventListItem/EventListItem.js +0 -50
- package/dist/stories/components/EventListItem/EventListItem.stories.js +0 -65
- package/dist/stories/components/EventListItem/EventListItem.style.js +0 -14
- package/dist/stories/components/FilterContainer/FilterContainer.js +0 -29
- package/dist/stories/components/FilterContainer/FilterContainer.stories.js +0 -23
- package/dist/stories/components/FilterContainer/FilterContainer.style.js +0 -13
- package/dist/stories/components/FilterPanel/FilterPanel.js +0 -566
- package/dist/stories/components/FilterPanel/FilterPanel.stories.js +0 -967
- package/dist/stories/components/FilterPanel/FilterPanel.style.js +0 -21
- package/dist/stories/components/FormInput/FormInput.js +0 -41
- package/dist/stories/components/FormSelect/FormSelect.js +0 -42
- package/dist/stories/components/FormattedValue/FormattedValue.js +0 -68
- package/dist/stories/components/FormattedValue/FormattedValue.stories.js +0 -189
- package/dist/stories/components/FormattedValue/FormattedValue.style.js +0 -18
- package/dist/stories/components/IconButton/IconButton.js +0 -147
- package/dist/stories/components/IconButton/IconButton.stories.js +0 -131
- package/dist/stories/components/IconButton/IconButton.style.js +0 -15
- package/dist/stories/components/Input/Input.js +0 -183
- package/dist/stories/components/Input/Input.stories.js +0 -434
- package/dist/stories/components/Input/Input.style.js +0 -17
- package/dist/stories/components/InputOld/InputOld.js +0 -90
- package/dist/stories/components/InputOld/InputOld.stories.js +0 -100
- package/dist/stories/components/InputOld/InputOld.style.js +0 -16
- package/dist/stories/components/KpiFilter/KpiFilter.js +0 -313
- package/dist/stories/components/KpiFilter/KpiFilter.stories.js +0 -380
- package/dist/stories/components/KpiFilter/KpiFilter.style.js +0 -26
- package/dist/stories/components/LinkButton/LinkButton.js +0 -207
- package/dist/stories/components/LinkButton/LinkButton.stories.js +0 -180
- package/dist/stories/components/LinkButton/LinkButton.style.js +0 -14
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +0 -43
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +0 -56
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +0 -22
- package/dist/stories/components/ListBox/ListBox.js +0 -82
- package/dist/stories/components/ListBox/ListBox.stories.js +0 -132
- package/dist/stories/components/ListBox/ListBox.style.js +0 -14
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +0 -109
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +0 -184
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +0 -27
- package/dist/stories/components/Modal/Modal.js +0 -21
- package/dist/stories/components/Modal/Modal.style.js +0 -17
- package/dist/stories/components/Modal/ModalTotalBenchmark.js +0 -224
- package/dist/stories/components/Modal/ModalTotalCost.js +0 -139
- package/dist/stories/components/MonthPicker/MonthPicker.js +0 -166
- package/dist/stories/components/MonthPicker/MonthPicker.stories.js +0 -140
- package/dist/stories/components/MonthPicker/MonthPicker.style.js +0 -18
- package/dist/stories/components/MonthPicker/MonthPopupPicker.js +0 -122
- package/dist/stories/components/MultipleCard/MultipleCard.js +0 -26
- package/dist/stories/components/MultipleCard/MultipleCard.stories.js +0 -33
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -13
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +0 -121
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +0 -119
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +0 -20
- package/dist/stories/components/PageFilterBar/PageFilterBar.js +0 -23
- package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +0 -28
- package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +0 -12
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -431
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -258
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -25
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -58
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -86
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -16
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -315
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -231
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -23
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -70
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -100
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -20
- package/dist/stories/components/Popup/Popup.js +0 -172
- package/dist/stories/components/Popup/Popup.stories.js +0 -704
- package/dist/stories/components/Popup/Popup.style.js +0 -24
- package/dist/stories/components/PopupCharts/PopupCharts.js +0 -244
- package/dist/stories/components/PopupCharts/PopupCharts.stories.js +0 -1203
- package/dist/stories/components/PopupCharts/PopupCharts.style.js +0 -23
- package/dist/stories/components/PopupContent/PopupContent.js +0 -111
- package/dist/stories/components/PopupContent/PopupContent.style.js +0 -21
- package/dist/stories/components/PopupContent/PopupFieldsRules.js +0 -168
- package/dist/stories/components/ProductsVariety/ProductsVariety.js +0 -94
- package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +0 -91
- package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +0 -20
- package/dist/stories/components/ProgressBar/ProgressBar.js +0 -52
- package/dist/stories/components/ProgressBar/ProgressBar.stories.js +0 -72
- package/dist/stories/components/ProgressBar/ProgressBar.style.js +0 -13
- package/dist/stories/components/QuarterPicker/QuarterPicker.js +0 -165
- package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +0 -140
- package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +0 -18
- package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +0 -109
- package/dist/stories/components/QuickFilter/QuickFilter.js +0 -77
- package/dist/stories/components/QuickFilter/QuickFilter.stories.js +0 -281
- package/dist/stories/components/QuickFilter/QuickFilter.style.js +0 -11
- package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +0 -299
- package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +0 -28
- package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +0 -230
- package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +0 -27
- package/dist/stories/components/RangePicker/RangeDatePicker.js +0 -146
- package/dist/stories/components/RangePicker/RangePicker.js +0 -176
- package/dist/stories/components/RangePicker/RangePicker.stories.js +0 -138
- package/dist/stories/components/RangePicker/RangePicker.style.js +0 -18
- package/dist/stories/components/ReportTable/ReportTable.js +0 -262
- package/dist/stories/components/ReportTable/ReportTable.stories.js +0 -151
- package/dist/stories/components/ReportTable/ReportTable.style.js +0 -22
- package/dist/stories/components/SagButton/SagButton.js +0 -68
- package/dist/stories/components/SagButton/SagButton.stories.js +0 -118
- package/dist/stories/components/SagButton/SagButton.style.js +0 -13
- package/dist/stories/components/SagIconButton/SagIconButton.js +0 -130
- package/dist/stories/components/SagIconButton/SagIconButton.stories.js +0 -123
- package/dist/stories/components/SagIconButton/SagIconButton.style.js +0 -12
- package/dist/stories/components/SagInput/SagInput.js +0 -53
- package/dist/stories/components/SagInput/SagInput.stories.js +0 -69
- package/dist/stories/components/SalesAndROI/SalesAndROI.js +0 -89
- package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +0 -168
- package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +0 -19
- package/dist/stories/components/SearchInput/SearchInput.js +0 -39
- package/dist/stories/components/SearchInput/SearchInput.stories.js +0 -44
- package/dist/stories/components/SearchInput/SearchInput.style.js +0 -12
- package/dist/stories/components/SegmentedButton/SegmentedButton.js +0 -122
- package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +0 -183
- package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +0 -19
- package/dist/stories/components/Select/Select.js +0 -135
- package/dist/stories/components/Select/Select.stories.js +0 -200
- package/dist/stories/components/Select/Select.style.js +0 -19
- package/dist/stories/components/TabMenu/TabMenu.js +0 -202
- package/dist/stories/components/TabMenu/TabMenu.stories.js +0 -76
- package/dist/stories/components/TabMenu/TabMenu.style.js +0 -24
- package/dist/stories/components/Table/Table.js +0 -195
- package/dist/stories/components/Table/Table.stories.js +0 -104
- package/dist/stories/components/Table/Table.style.js +0 -17
- package/dist/stories/components/TextField/TextField.js +0 -209
- package/dist/stories/components/TextField/TextField.stories.js +0 -162
- package/dist/stories/components/TextField/TextField.style.js +0 -11
- package/dist/stories/components/TitleDescription/TitleDescription.js +0 -272
- package/dist/stories/components/TitleDescription/TitleDescription.stories.js +0 -117
- package/dist/stories/components/TitleDescription/TitleDescription.style.js +0 -36
- package/dist/stories/components/Tooltip/Tooltip.js +0 -31
- package/dist/stories/components/Tooltip/Tooltip.style.js +0 -18
- package/dist/stories/components/TopToggleList/TopToggleList.js +0 -46
- package/dist/stories/components/TopToggleList/TopToggleList.stories.js +0 -52
- package/dist/stories/components/TopToggleList/TopToggleList.style.js +0 -16
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +0 -97
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +0 -138
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +0 -21
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -342
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -343
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -30
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -172
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -24
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -165
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -185
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -20
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -182
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -290
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -30
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -207
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -158
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -20
- package/dist/stories/components/TspanTooltip/TspanTooltip.js +0 -16
- package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +0 -13
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +0 -202
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +0 -120
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +0 -18
- package/dist/stories/icons/ArrowDownIcon.js +0 -27
- package/dist/stories/icons/ArrowDropDownIcon.js +0 -27
- package/dist/stories/icons/ArrowSelectIcon.js +0 -27
- package/dist/stories/icons/ArrowUpIcon.js +0 -27
- package/dist/stories/icons/AttachedIcon.js +0 -27
- package/dist/stories/icons/BellIcon.js +0 -27
- package/dist/stories/icons/Calendar.js +0 -20
- package/dist/stories/icons/CalendarIcon.js +0 -27
- package/dist/stories/icons/CalendarInOpen.js +0 -26
- package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +0 -28
- package/dist/stories/icons/CheckBoxCheckedIcon.js +0 -28
- package/dist/stories/icons/CheckBoxNotCheckedIcon.js +0 -28
- package/dist/stories/icons/ChervronLeftIcon.js +0 -20
- package/dist/stories/icons/ChervronRightIcon.js +0 -20
- package/dist/stories/icons/ClockIcon.js +0 -27
- package/dist/stories/icons/CloseIcon.js +0 -27
- package/dist/stories/icons/CloseXIcon.js +0 -27
- package/dist/stories/icons/ComboBoxArrowDownIcon.js +0 -28
- package/dist/stories/icons/ComboBoxArrowUpIcon.js +0 -28
- package/dist/stories/icons/DocumentIcon.js +0 -48
- package/dist/stories/icons/DownloadIcon.js +0 -27
- package/dist/stories/icons/Duplicate.js +0 -28
- package/dist/stories/icons/ErrorIcon.js +0 -27
- package/dist/stories/icons/ExitIcon.js +0 -28
- package/dist/stories/icons/ExportIcon.js +0 -28
- package/dist/stories/icons/EyeIcon.js +0 -28
- package/dist/stories/icons/FileIcon.js +0 -27
- package/dist/stories/icons/FilterIcon.js +0 -36
- package/dist/stories/icons/FlyIcon.js +0 -28
- package/dist/stories/icons/FoodLionIcon.js +0 -3076
- package/dist/stories/icons/FoodLionNewIcon.js +0 -39
- package/dist/stories/icons/GiantFoodIcon.js +0 -1976
- package/dist/stories/icons/GiantFoodIcon_new.js +0 -42
- package/dist/stories/icons/HannafordIcon.js +0 -5017
- package/dist/stories/icons/HannafordIcon_new.js +0 -41
- package/dist/stories/icons/HannafordNewIcon.js +0 -213
- package/dist/stories/icons/InfoIcon.js +0 -28
- package/dist/stories/icons/LampIcon.js +0 -27
- package/dist/stories/icons/LegendLineIcon.js +0 -29
- package/dist/stories/icons/LegendUnionIcon.js +0 -29
- package/dist/stories/icons/MaintenanceIcon.js +0 -28
- package/dist/stories/icons/MenuItemClosedIcon.js +0 -28
- package/dist/stories/icons/MenuItemOpenIcon.js +0 -28
- package/dist/stories/icons/MenuItemRightIcon.js +0 -28
- package/dist/stories/icons/MenuItemUpIcon.js +0 -28
- package/dist/stories/icons/NoDataFoundIcon.js +0 -86
- package/dist/stories/icons/OptionsIcon.js +0 -27
- package/dist/stories/icons/SearchIcon.js +0 -27
- package/dist/stories/icons/ShoppingCartIcon.js +0 -45
- package/dist/stories/icons/ShoutIcon.js +0 -27
- package/dist/stories/icons/SpotlightProductIcon.js +0 -28
- package/dist/stories/icons/StopAndShopIcon.js +0 -134
- package/dist/stories/icons/StopAndShopNewIcon.js +0 -41
- package/dist/stories/icons/SucceededIcon.js +0 -27
- package/dist/stories/icons/TheGiantCompanyIcon.js +0 -40
- package/dist/stories/icons/TheGiantCompanyNewIcon.js +0 -39
- package/dist/stories/utils/CommonFunctions.js +0 -78
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.TitleAndValueContainer = exports.Title = exports.OutBanner = exports.Header = exports.FormattedValue = exports.CurrencySign = exports.ControlsContainer = exports.ChartWrapper = exports.ChartInner = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
|
11
|
-
const scrollableStyles = "\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 5px;\n }\n\n &::-webkit-scrollbar-track {\n background: #E8E8E8;\n border-radius: 5px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: #D0D0D0;\n border-radius: 5px;\n }\n";
|
|
12
|
-
const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n font-family: \"Poppins\", sans-serif;\n color: ", ";\n width: ", ";\n height: ", ";\n background-color: white;\n display: flex;\n flex-direction: column;\n // justify-content: center;\n .top {\n text-align: center;\n white-space: normal;\n &:before {\n display: none;\n }\n }\n"])), props => props.textColor, props => props.width, props => props.height);
|
|
13
|
-
const ChartWrapper = exports.ChartWrapper = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n flex-grow: 1;\n width: 100%;\n ", "\n"])), scrollableStyles);
|
|
14
|
-
const ChartInner = exports.ChartInner = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n min-height: 120%;\n width: 100%;\n"])));
|
|
15
|
-
const TitleAndValueContainer = exports.TitleAndValueContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n padding: 16px;\n"])));
|
|
16
|
-
const Header = exports.Header = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
17
|
-
const Title = exports.Title = _styledComponents.default.h4(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 20px;\n font-weight: 400;\n line-height: 1;\n margin: 0 0 8px;\n @media (max-width: 1536px) {\n font-size: 14px;\n }\n @media (max-width: 1366px) {\n font-size: 12px;\n }\n"])));
|
|
18
|
-
const FormattedValue = exports.FormattedValue = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 40px;\n display: flex;\n align-items: baseline;\n line-height: 1;\n @media (max-width: 1536px) {\n font-size: 24px;\n }\n @media (max-width: 1366px) {\n font-size: 20px;\n }\n"])));
|
|
19
|
-
const OutBanner = exports.OutBanner = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n gap: 8px;\n align-items: baseline;\n font-size: 14px;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n @media (max-width: 1536px) {\n font-size: 10px;\n }\n @media (max-width: 1366px) {\n font-size: 8px;\n }\n > svg {\n width: 14px;\n height: 14px;\n @media (max-width: 1536px) {\n width: 12px;\n height: 12px;\n }\n @media (max-width: 1366px) {\n width: 8px;\n height: 8px;\n }\n }\n"])), props => props.textColor);
|
|
20
|
-
const CurrencySign = exports.CurrencySign = _styledComponents.default.span(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 16px;\n @media (max-width: 1536px) {\n font-size: 14px;\n }\n @media (max-width: 1366px) {\n font-size: 11px;\n }\n"])));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _TspanTooltip = require("./TspanTooltip.style");
|
|
10
|
-
const Tooltip = props => /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipContainer, {
|
|
11
|
-
top: "".concat(props.top, "px"),
|
|
12
|
-
left: "".concat(props.left, "px")
|
|
13
|
-
}, /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipWrapper, null, /*#__PURE__*/_react.default.createElement(_TspanTooltip.TooltipTip, {
|
|
14
|
-
className: "controls ".concat(props.direction || 'top')
|
|
15
|
-
}, props.content)));
|
|
16
|
-
var _default = exports.default = Tooltip;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.TooltipWrapper = exports.TooltipTip = exports.TooltipContainer = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
11
|
-
const TooltipContainer = exports.TooltipContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n --tooltip-text-color: black;\n --tooltip-background-color: white;\n --tooltip-margin: 40px;\n --tooltip-arrow-size: 10px;\n position: absolute;\n z-index: 9999;\n top: ", ";\n left: ", ";\n"])), props => props.top, props => props.left);
|
|
12
|
-
const TooltipWrapper = exports.TooltipWrapper = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n position: relative;\n"])));
|
|
13
|
-
const TooltipTip = exports.TooltipTip = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);\n position: absolute;\n border-radius: 4px;\n left: 50%;\n transform: translateX(-50%);\n padding: 8px 12px;\n color: var(--tooltip-text-color);\n background: var(--tooltip-background-color);\n font-size: 10px;\n z-index: 999;\n white-space: nowrap;\n \n /* CSS border triangles */\n &.controls::before {\n content: \" \";\n left: 50%;\n border: solid transparent;\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n border-width: var(--tooltip-arrow-size);\n margin-left: calc(var(--tooltip-arrow-size) * -1);\n }\n\n /* Absolute positioning */\n &.controls.top {\n top: calc(var(--tooltip-margin) * -1);\n }\n\n /* CSS border triangles */\n &.controls.top::before {\n top: 100%;\n border-top-color: var(--tooltip-background-color);\n }\n\n /* Absolute positioning */\n &.controls.right {\n left: calc(70% + var(--tooltip-margin));\n top: 50%;\n transform: translateX(0) translateY(-50%);\n }\n\n /* CSS border triangles */\n &.controls.right::before {\n left: calc(var(--tooltip-arrow-size) * -1);\n top: 50%;\n transform: translateX(0) translateY(-50%);\n border-right-color: var(--tooltip-background-color);\n }\n\n /* Absolute positioning */\n &.controls.bottom {\n bottom: calc(var(--tooltip-margin) * -1);\n }\n /* CSS border triangles */\n &.controls.bottom::before {\n bottom: 100%;\n border-bottom-color: var(--tooltip-background-color);\n }\n\n /* Absolute positioning */\n &.controls.left {\n left: auto;\n right: calc(70% + var(--tooltip-margin));\n top: 50%;\n transform: translateX(0) translateY(-50%);\n }\n /* CSS border triangles */\n &.controls.left::before {\n left: auto;\n right: calc(var(--tooltip-arrow-size) * -2);\n top: 50%;\n transform: translateX(0) translateY(-50%);\n border-left-color: var(--tooltip-background-color);\n }\n\n > ul {\n padding-left: 10px;\n margin: 0;\n }\n"])));
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.TwoBarCharts = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _recharts = require("recharts");
|
|
11
|
-
var _CommonFunctions = require("../../utils/CommonFunctions");
|
|
12
|
-
var _TwoBarCharts = require("./TwoBarCharts.style");
|
|
13
|
-
var _PerformanceAnalyticsLegend = _interopRequireDefault(require("../PerformanceAnalyticsLegend/PerformanceAnalyticsLegend"));
|
|
14
|
-
const ICON_TYPE_SQUARE = 'Square';
|
|
15
|
-
/* BarChartsByWeeks */
|
|
16
|
-
const TwoBarCharts = props => {
|
|
17
|
-
const {
|
|
18
|
-
className,
|
|
19
|
-
title,
|
|
20
|
-
barChartData,
|
|
21
|
-
barSize,
|
|
22
|
-
isDollar,
|
|
23
|
-
width,
|
|
24
|
-
height,
|
|
25
|
-
barChartColorFirst,
|
|
26
|
-
barChartColorSecond,
|
|
27
|
-
showLegend,
|
|
28
|
-
legendData,
|
|
29
|
-
showDollarSign,
|
|
30
|
-
showReferenceLine,
|
|
31
|
-
referenceLinePoint,
|
|
32
|
-
referenceLineColor,
|
|
33
|
-
referenceLineDashed
|
|
34
|
-
} = props;
|
|
35
|
-
const controlsContainerRef = (0, _react.useRef)();
|
|
36
|
-
const displayFormattedValue = value => {
|
|
37
|
-
if (!value) return '';
|
|
38
|
-
let formattedValue = '';
|
|
39
|
-
formattedValue = !isDollar ? ''.concat('', value.toFixed(1)) : ''.concat(showDollarSign ? '$' : '', (0, _CommonFunctions.getFormattedValue)(value), (0, _CommonFunctions.getFormattedUnits)(value));
|
|
40
|
-
return formattedValue;
|
|
41
|
-
};
|
|
42
|
-
const CustomTooltip = tooltipData => {
|
|
43
|
-
var _payload$0$payload, _payload$0$payload2;
|
|
44
|
-
const {
|
|
45
|
-
active,
|
|
46
|
-
payload,
|
|
47
|
-
label
|
|
48
|
-
} = tooltipData;
|
|
49
|
-
if (!active || !payload || (payload === null || payload === void 0 ? void 0 : payload.length) === 0) return null;
|
|
50
|
-
let currentTooltipValue = 0;
|
|
51
|
-
if ((_payload$0$payload = payload[0].payload) !== null && _payload$0$payload !== void 0 && _payload$0$payload.value) currentTooltipValue = (_payload$0$payload2 = payload[0].payload) === null || _payload$0$payload2 === void 0 ? void 0 : _payload$0$payload2.value;
|
|
52
|
-
return /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipDiv, null, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipTitle, null, "".concat(label)), /*#__PURE__*/_react.default.createElement(_TwoBarCharts.TooltipLabel, null, "".concat(displayFormattedValue(currentTooltipValue))));
|
|
53
|
-
};
|
|
54
|
-
const CustomizedTickBarChart = props => {
|
|
55
|
-
const {
|
|
56
|
-
x,
|
|
57
|
-
y,
|
|
58
|
-
payload
|
|
59
|
-
} = props;
|
|
60
|
-
if (barChartData && barChartData.length > 0 && payload) {
|
|
61
|
-
const retailerData = barChartData.filter(item => item.title === payload.value);
|
|
62
|
-
if (retailerData && retailerData.length > 0) {
|
|
63
|
-
return /*#__PURE__*/_react.default.createElement("g", {
|
|
64
|
-
transform: "translate(".concat(x, ",").concat(y, ")")
|
|
65
|
-
}, /*#__PURE__*/_react.default.createElement("text", {
|
|
66
|
-
x: 0,
|
|
67
|
-
y: 0,
|
|
68
|
-
dy: 16,
|
|
69
|
-
fill: "#212121"
|
|
70
|
-
}, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.LabelBoldText, {
|
|
71
|
-
textAnchor: "middle",
|
|
72
|
-
x: "0",
|
|
73
|
-
dy: "50",
|
|
74
|
-
fontWeight: 600
|
|
75
|
-
}, payload.value), /*#__PURE__*/_react.default.createElement(_TwoBarCharts.LabelText, {
|
|
76
|
-
textAnchor: "middle",
|
|
77
|
-
x: "0",
|
|
78
|
-
dy: "30",
|
|
79
|
-
fontWeight: 400
|
|
80
|
-
}, retailerData[0].date)));
|
|
81
|
-
}
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
return null;
|
|
85
|
-
};
|
|
86
|
-
const CustomizedLabel = props => {
|
|
87
|
-
const {
|
|
88
|
-
x,
|
|
89
|
-
y,
|
|
90
|
-
stroke,
|
|
91
|
-
value
|
|
92
|
-
} = props;
|
|
93
|
-
return /*#__PURE__*/_react.default.createElement("text", {
|
|
94
|
-
x: x + barSize / 2,
|
|
95
|
-
y: y,
|
|
96
|
-
dy: -8,
|
|
97
|
-
fill: stroke,
|
|
98
|
-
fontSize: "0.6em",
|
|
99
|
-
textAnchor: "middle"
|
|
100
|
-
}, displayFormattedValue(value));
|
|
101
|
-
};
|
|
102
|
-
return /*#__PURE__*/_react.default.createElement(_TwoBarCharts.ControlsContainer, {
|
|
103
|
-
className: className,
|
|
104
|
-
height: height,
|
|
105
|
-
width: width,
|
|
106
|
-
ref: controlsContainerRef
|
|
107
|
-
}, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.Controls, null, /*#__PURE__*/_react.default.createElement(_TwoBarCharts.Title, null, title), /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
|
|
108
|
-
width: "100%",
|
|
109
|
-
height: "100%"
|
|
110
|
-
}, /*#__PURE__*/_react.default.createElement(_recharts.BarChart, {
|
|
111
|
-
width: width,
|
|
112
|
-
height: height,
|
|
113
|
-
data: barChartData,
|
|
114
|
-
margin: {
|
|
115
|
-
top: 20,
|
|
116
|
-
right: 0,
|
|
117
|
-
bottom: 0,
|
|
118
|
-
left: -5
|
|
119
|
-
}
|
|
120
|
-
}, showReferenceLine && /*#__PURE__*/_react.default.createElement(_recharts.ReferenceLine, {
|
|
121
|
-
y: referenceLinePoint,
|
|
122
|
-
stroke: referenceLineColor,
|
|
123
|
-
strokeDasharray: referenceLineDashed
|
|
124
|
-
}), /*#__PURE__*/_react.default.createElement(_recharts.XAxis, {
|
|
125
|
-
dataKey: "title",
|
|
126
|
-
tick: CustomizedTickBarChart,
|
|
127
|
-
tickLine: false,
|
|
128
|
-
interval: 0,
|
|
129
|
-
height: 120,
|
|
130
|
-
stroke: "#D0D0D0"
|
|
131
|
-
}), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, {
|
|
132
|
-
content: /*#__PURE__*/_react.default.createElement(CustomTooltip, null)
|
|
133
|
-
}), /*#__PURE__*/_react.default.createElement(_recharts.Tooltip, null), /*#__PURE__*/_react.default.createElement(_recharts.Bar, {
|
|
134
|
-
dataKey: "valueOne",
|
|
135
|
-
fill: barChartColorFirst,
|
|
136
|
-
minPointSize: 5,
|
|
137
|
-
barSize: barSize !== null && barSize !== void 0 ? barSize : 60,
|
|
138
|
-
radius: [5, 5, 0, 0]
|
|
139
|
-
}, /*#__PURE__*/_react.default.createElement(_recharts.LabelList, {
|
|
140
|
-
dataKey: "valueOne",
|
|
141
|
-
content: CustomizedLabel
|
|
142
|
-
})), /*#__PURE__*/_react.default.createElement(_recharts.Bar, {
|
|
143
|
-
dataKey: "valueTwo",
|
|
144
|
-
fill: barChartColorSecond,
|
|
145
|
-
minPointSize: 10,
|
|
146
|
-
barSize: barSize !== null && barSize !== void 0 ? barSize : 60,
|
|
147
|
-
radius: [5, 5, 0, 0]
|
|
148
|
-
}, /*#__PURE__*/_react.default.createElement(_recharts.LabelList, {
|
|
149
|
-
dataKey: "valueTwo",
|
|
150
|
-
content: CustomizedLabel
|
|
151
|
-
})))), showLegend && /*#__PURE__*/_react.default.createElement(_PerformanceAnalyticsLegend.default, {
|
|
152
|
-
legendData: legendData
|
|
153
|
-
})));
|
|
154
|
-
};
|
|
155
|
-
exports.TwoBarCharts = TwoBarCharts;
|
|
156
|
-
var _default = exports.default = TwoBarCharts;
|
|
157
|
-
TwoBarCharts.defaultProps = {
|
|
158
|
-
title: 'String',
|
|
159
|
-
barChartData: [{
|
|
160
|
-
title: 'Food Lion',
|
|
161
|
-
date: '15.01.24-31.01.24',
|
|
162
|
-
valueOne: 542366,
|
|
163
|
-
valueTwo: 542366
|
|
164
|
-
}, {
|
|
165
|
-
title: 'Hannaford',
|
|
166
|
-
date: '15.01.24-31.01.24',
|
|
167
|
-
valueOne: 699511,
|
|
168
|
-
valueTwo: 699511
|
|
169
|
-
}, {
|
|
170
|
-
title: 'The Giant Company',
|
|
171
|
-
date: '15.01.24-31.01.24',
|
|
172
|
-
valueOne: 403092,
|
|
173
|
-
valueTwo: 403092
|
|
174
|
-
}, {
|
|
175
|
-
title: 'Giant Food',
|
|
176
|
-
date: '15.01.24-31.01.24',
|
|
177
|
-
valueOne: 396184,
|
|
178
|
-
valueTwo: 396184
|
|
179
|
-
}, {
|
|
180
|
-
title: 'Stop&Shop',
|
|
181
|
-
date: '15.01.24-31.01.24',
|
|
182
|
-
valueOne: 415317,
|
|
183
|
-
valueTwo: 415317
|
|
184
|
-
}],
|
|
185
|
-
width: '100%',
|
|
186
|
-
height: '100%',
|
|
187
|
-
barSize: 60,
|
|
188
|
-
barChartColorFirst: '#BD9EFF',
|
|
189
|
-
barChartColorSecond: '#5865c8',
|
|
190
|
-
isDollar: true,
|
|
191
|
-
showLegend: true,
|
|
192
|
-
legendData: [{
|
|
193
|
-
title: 'Incremental Sales',
|
|
194
|
-
iconType: ICON_TYPE_SQUARE,
|
|
195
|
-
iconColor: '#BD9EFF'
|
|
196
|
-
}],
|
|
197
|
-
showDollarSign: true,
|
|
198
|
-
showReferenceLine: false,
|
|
199
|
-
referenceLinePoint: 0,
|
|
200
|
-
referenceLineColor: '#212121',
|
|
201
|
-
referenceLineDashed: '5'
|
|
202
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.SalesDollars = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _TwoBarCharts = require("./TwoBarCharts");
|
|
10
|
-
const arrData = [{
|
|
11
|
-
title: 'Food Lion',
|
|
12
|
-
date: '15.01.24-31.01.24',
|
|
13
|
-
valueOne: 542366,
|
|
14
|
-
valueTwo: 542366
|
|
15
|
-
}, {
|
|
16
|
-
title: 'Hannaford',
|
|
17
|
-
date: '15.01.24-31.01.24',
|
|
18
|
-
valueOne: 699511,
|
|
19
|
-
valueTwo: 699511
|
|
20
|
-
}, {
|
|
21
|
-
title: 'The Giant Company',
|
|
22
|
-
date: '15.01.24-31.01.24',
|
|
23
|
-
valueOne: 403092,
|
|
24
|
-
valueTwo: 403092
|
|
25
|
-
}, {
|
|
26
|
-
title: 'Giant Food',
|
|
27
|
-
date: '15.01.24-31.01.24',
|
|
28
|
-
valueOne: 396184,
|
|
29
|
-
valueTwo: 396184
|
|
30
|
-
}, {
|
|
31
|
-
title: 'Stop&Shop',
|
|
32
|
-
date: '15.01.24-31.01.24',
|
|
33
|
-
valueOne: 415317,
|
|
34
|
-
valueTwo: 415317
|
|
35
|
-
}];
|
|
36
|
-
var _default = exports.default = {
|
|
37
|
-
title: 'SAG BI/TwoBarCharts',
|
|
38
|
-
component: _TwoBarCharts.TwoBarCharts,
|
|
39
|
-
tags: ['autodocs'],
|
|
40
|
-
argTypes: {
|
|
41
|
-
title: {
|
|
42
|
-
name: 'title',
|
|
43
|
-
control: {
|
|
44
|
-
type: 'text'
|
|
45
|
-
},
|
|
46
|
-
description: 'title on top of the component'
|
|
47
|
-
},
|
|
48
|
-
width: {
|
|
49
|
-
name: 'width',
|
|
50
|
-
control: {
|
|
51
|
-
type: 'text'
|
|
52
|
-
},
|
|
53
|
-
description: 'width of the control (in px)'
|
|
54
|
-
},
|
|
55
|
-
height: {
|
|
56
|
-
name: 'height',
|
|
57
|
-
control: {
|
|
58
|
-
type: 'text'
|
|
59
|
-
},
|
|
60
|
-
description: 'height of the control (in px)'
|
|
61
|
-
},
|
|
62
|
-
barSize: {
|
|
63
|
-
name: 'barSize',
|
|
64
|
-
control: {
|
|
65
|
-
type: 'text'
|
|
66
|
-
},
|
|
67
|
-
description: 'barSize of the control (in number ex: 60)'
|
|
68
|
-
},
|
|
69
|
-
barChartColorFirst: {
|
|
70
|
-
name: 'barChartColorFirst',
|
|
71
|
-
description: 'Sets the area chart 1 color',
|
|
72
|
-
control: {
|
|
73
|
-
type: 'color',
|
|
74
|
-
presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
barChartColorSecond: {
|
|
78
|
-
name: 'barChartColorSecond',
|
|
79
|
-
description: 'Sets the area chart 1 color',
|
|
80
|
-
control: {
|
|
81
|
-
type: 'color',
|
|
82
|
-
presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
barChartData: {
|
|
86
|
-
description: 'array [] of objects: {title: string, value:number } to fill the area data. '
|
|
87
|
-
},
|
|
88
|
-
isDollar: {
|
|
89
|
-
name: 'isDollar',
|
|
90
|
-
control: {
|
|
91
|
-
type: 'boolean'
|
|
92
|
-
},
|
|
93
|
-
description: 'show values as Dollar'
|
|
94
|
-
},
|
|
95
|
-
showLegend: {
|
|
96
|
-
name: 'showLegend',
|
|
97
|
-
control: {
|
|
98
|
-
type: 'boolean'
|
|
99
|
-
},
|
|
100
|
-
description: 'show bottom legend'
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
const SalesDollars = exports.SalesDollars = {
|
|
105
|
-
args: {
|
|
106
|
-
title: 'Sales $',
|
|
107
|
-
barChartData: arrData,
|
|
108
|
-
width: '600px',
|
|
109
|
-
height: '200px',
|
|
110
|
-
barChartColor: '#1F7677',
|
|
111
|
-
yAxisCounter: 10,
|
|
112
|
-
isPercentValue: false,
|
|
113
|
-
showLegend: true,
|
|
114
|
-
legendData: [{
|
|
115
|
-
title: 'Incremental Sales',
|
|
116
|
-
iconType: 'Square',
|
|
117
|
-
iconColor: '#1F7677'
|
|
118
|
-
}]
|
|
119
|
-
}
|
|
120
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.TooltipTitle = exports.TooltipLabel = exports.TooltipDiv = exports.Title = exports.LabelText = exports.LabelBoldText = exports.ControlsContainer = exports.Controls = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
11
|
-
const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n font-family: \"Poppins\", sans-serif;\n color: #212121;\n width: ", ";\n height: ", ";\n min-width: 250px;\n"])), props => props.width, props => props.height);
|
|
12
|
-
const Controls = exports.Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n width: 100%;\n background: white;\n display: flex;\n flex-direction: column;\n"])));
|
|
13
|
-
const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n border-radius: 5px;\n padding: 8px 12px;\n background: white;\n box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);\n margin: 0;\n"])));
|
|
14
|
-
const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-size: 14px;\n font-weight: 400;\n width: fit-content;\n"])));
|
|
15
|
-
const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\n font-size: 14px;\n font-weight: 600;\n"])));
|
|
16
|
-
const Title = exports.Title = _styledComponents.default.h5(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 18px;\n line-height: 20px;\n margin: 0 0 30px;\n @media (max-width: 1536px) {\n font-size: 16px;\n margin: 0 0 20px;\n }\n @media (max-width: 1366px) {\n font-size: 14px;\n }\n"])));
|
|
17
|
-
const LabelBoldText = exports.LabelBoldText = _styledComponents.default.tspan(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 0.7em;\n"])));
|
|
18
|
-
const LabelText = exports.LabelText = _styledComponents.default.tspan(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 0.6em;\n"])));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.ArrowDownIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const ArrowDownIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
clicked,
|
|
12
|
-
width = '8',
|
|
13
|
-
height = '9'
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 8 9",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M3.52935 8.81165C3.78967 9.06278 4.21242 9.06278 4.47273 8.81165L7.80476 5.59719C8.06508 5.34606 8.06508 4.93822 7.80476 4.68709C7.54445 4.43596 7.1217 4.43596 6.86138 4.68709L4.66641 6.80663L4.66641 0.642893C4.66641 0.287292 4.36861 -4.08657e-07 4 -4.40881e-07C3.63139 -4.73106e-07 3.33359 0.287292 3.33359 0.642893L3.33359 6.80663L1.13862 4.6891C0.878303 4.43797 0.455551 4.43797 0.195236 4.6891C-0.0650787 4.94023 -0.0650787 5.34807 0.195236 5.5992L3.52727 8.81366L3.52935 8.81165Z",
|
|
23
|
-
fill: "#F00021"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.ArrowDownIcon = ArrowDownIcon;
|
|
27
|
-
var _default = exports.default = ArrowDownIcon;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.ArrowDropDownIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const ArrowDropDownIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
clicked,
|
|
12
|
-
width = "8",
|
|
13
|
-
height = "9"
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 12 7",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M5.60156 6.39844L1.10156 1.89844C0.867188 1.6875 0.867188 1.33594 1.10156 1.10156C1.3125 0.890625 1.66406 0.890625 1.89844 1.10156L6 5.22656L10.1016 1.125C10.3125 0.890625 10.6641 0.890625 10.8984 1.125C11.1094 1.33594 11.1094 1.6875 10.8984 1.89844L6.375 6.39844C6.16406 6.63281 5.8125 6.63281 5.60156 6.39844Z",
|
|
23
|
-
fill: "#212121"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.ArrowDropDownIcon = ArrowDropDownIcon;
|
|
27
|
-
var _default = exports.default = ArrowDropDownIcon;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.ArrowSelectIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const ArrowSelectIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
width = '18',
|
|
12
|
-
height = '18',
|
|
13
|
-
color = '#229E38'
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 18 18",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M15 9C15 6.6875 13.75 4.5625 11.75 3.375C9.71875 2.21875 7.25 2.21875 5.25 3.375C3.21875 4.5625 2 6.6875 2 9C2 11.3438 3.21875 13.4688 5.25 14.6562C7.25 15.8125 9.71875 15.8125 11.75 14.6562C13.75 13.4688 15 11.3438 15 9ZM0.5 9C0.5 6.15625 2 3.53125 4.5 2.09375C6.96875 0.65625 10 0.65625 12.5 2.09375C14.9688 3.53125 16.5 6.15625 16.5 9C16.5 11.875 14.9688 14.5 12.5 15.9375C10 17.375 6.96875 17.375 4.5 15.9375C2 14.5 0.5 11.875 0.5 9ZM9.53125 12.2812C9.21875 12.5938 8.75 12.5938 8.46875 12.2812C8.15625 12 8.15625 11.5312 8.46875 11.2188L9.9375 9.75H5.25C4.8125 9.75 4.5 9.4375 4.5 9C4.5 8.59375 4.8125 8.25 5.25 8.25H9.9375L8.46875 6.78125C8.15625 6.5 8.15625 6.03125 8.46875 5.75C8.75 5.4375 9.21875 5.4375 9.53125 5.75L12.2812 8.5C12.5625 8.78125 12.5625 9.25 12.2812 9.53125L9.53125 12.2812Z",
|
|
23
|
-
fill: color
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.ArrowSelectIcon = ArrowSelectIcon;
|
|
27
|
-
var _default = exports.default = ArrowSelectIcon;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.ArrowUpIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const ArrowUpIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
clicked,
|
|
12
|
-
width = '8',
|
|
13
|
-
height = '9'
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 8 9",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M4.47065 0.188348C4.21033 -0.0627825 3.78758 -0.0627825 3.52727 0.188348L0.195236 3.40281C-0.0650787 3.65394 -0.0650787 4.06178 0.195236 4.31291C0.455551 4.56404 0.878303 4.56404 1.13862 4.31291L3.33359 2.19337V8.35711C3.33359 8.71271 3.63139 9 4 9C4.36861 9 4.66641 8.71271 4.66641 8.35711V2.19337L6.86138 4.3109C7.1217 4.56203 7.54445 4.56203 7.80476 4.3109C8.06508 4.05977 8.06508 3.65193 7.80476 3.4008L4.47273 0.186338L4.47065 0.188348Z",
|
|
23
|
-
fill: "#5FCC70"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.ArrowUpIcon = ArrowUpIcon;
|
|
27
|
-
var _default = exports.default = ArrowUpIcon;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.AttachedIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const AttachedIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
width = '14',
|
|
12
|
-
height = '15',
|
|
13
|
-
fill = '#229E38'
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 16 15",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M11.2539 2.74609C10.543 2.03516 9.36719 2.03516 8.65625 2.74609L3.43359 7.99609C2.23047 9.19922 2.23047 11.1406 3.43359 12.3164C4.60938 13.5195 6.55078 13.5195 7.75391 12.3164L11.9102 8.16016C12.1562 7.91406 12.5664 7.91406 12.8125 8.16016C13.0859 8.43359 13.0859 8.84375 12.8125 9.08984L8.68359 13.2461C6.96094 14.9688 4.19922 14.9688 2.50391 13.2461C0.78125 11.5508 0.78125 8.78906 2.50391 7.06641L7.75391 1.81641C8.95703 0.613281 10.9531 0.613281 12.1836 1.81641C13.3867 3.04688 13.3867 5.04297 12.1836 6.24609L7.15234 11.2773C6.27734 12.1523 4.85547 12.0703 4.08984 11.1133C3.43359 10.293 3.51562 9.11719 4.25391 8.37891L8.41016 4.22266C8.65625 3.97656 9.06641 3.97656 9.3125 4.22266C9.58594 4.49609 9.58594 4.90625 9.3125 5.15234L5.18359 9.30859C4.91016 9.58203 4.88281 9.99219 5.12891 10.293C5.40234 10.6211 5.89453 10.6758 6.22266 10.3477L11.2539 5.31641C11.9648 4.60547 11.9648 3.45703 11.2539 2.74609Z",
|
|
23
|
-
fill: fill
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.AttachedIcon = AttachedIcon;
|
|
27
|
-
var _default = exports.default = AttachedIcon;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.BellIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const BellIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
width = '8',
|
|
12
|
-
height = '9',
|
|
13
|
-
color = '#212121'
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 18 21",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M8.08569 1.125C8.08569 0.8125 8.39819 0.5 8.71069 0.5C9.06226 0.5 9.37476 0.8125 9.37476 1.125V1.78906C12.4998 2.10156 14.9998 4.75781 14.9998 8V9.17188C14.9998 10.8516 15.6638 12.4922 16.8748 13.7031L16.9919 13.8203C17.3044 14.1328 17.4998 14.5625 17.4998 15.0312C17.4998 16.0078 16.7185 16.75 15.7419 16.75H1.71851C0.741943 16.75 -0.000244141 16.0078 -0.000244141 15.0312C-0.000244141 14.5625 0.156006 14.1328 0.468506 13.8203L0.585693 13.7031C1.79663 12.4922 2.49976 10.8516 2.49976 9.17188V8C2.49976 4.75781 4.96069 2.10156 8.12476 1.78906L8.08569 1.125ZM8.71069 3C5.97632 3 3.71069 5.26562 3.71069 8V9.17188C3.71069 11.2031 2.92944 13.1562 1.48413 14.6016L1.36694 14.6797C1.28882 14.7969 1.21069 14.9141 1.21069 15.0312C1.21069 15.3047 1.44507 15.5 1.71851 15.5H15.7419C16.0154 15.5 16.2498 15.3047 16.2498 15.0312C16.2498 14.9141 16.1716 14.7969 16.0935 14.6797L15.9763 14.6016C14.531 13.1562 13.7498 11.2031 13.7498 9.17188V8C13.7498 5.26562 11.4841 3 8.71069 3ZM8.71069 19.25C9.25757 19.25 9.72632 18.9375 9.92163 18.4297C10.0388 18.1172 10.3904 17.9219 10.7029 18.0391C11.0154 18.1562 11.2107 18.5078 11.0935 18.8594C10.7419 19.8359 9.80444 20.5 8.71069 20.5C7.65601 20.5 6.71851 19.8359 6.36694 18.8594C6.24976 18.5078 6.44507 18.1562 6.75757 18.0391C7.07007 17.9219 7.42163 18.1172 7.53882 18.4297C7.73413 18.9375 8.20288 19.25 8.71069 19.25Z",
|
|
23
|
-
fill: color
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.BellIcon = BellIcon;
|
|
27
|
-
var _default = exports.default = BellIcon;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.Calendar = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const Calendar = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
-
width: "11",
|
|
11
|
-
height: "12",
|
|
12
|
-
viewBox: "0 0 11 12",
|
|
13
|
-
fill: "none",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
16
|
-
d: "M2.625 0C2.8125 0 3 0.1875 3 0.375V1.5H7.5V0.375C7.5 0.1875 7.66406 0 7.875 0C8.0625 0 8.25 0.1875 8.25 0.375V1.5H9C9.82031 1.5 10.5 2.17969 10.5 3V3.75V4.5V10.5C10.5 11.3438 9.82031 12 9 12H1.5C0.65625 12 0 11.3438 0 10.5V4.5V3.75V3C0 2.17969 0.65625 1.5 1.5 1.5H2.25V0.375C2.25 0.1875 2.41406 0 2.625 0ZM9.75 4.5H0.75V10.5C0.75 10.9219 1.07812 11.25 1.5 11.25H9C9.39844 11.25 9.75 10.9219 9.75 10.5V4.5ZM9 2.25H1.5C1.07812 2.25 0.75 2.60156 0.75 3V3.75H9.75V3C9.75 2.60156 9.39844 2.25 9 2.25Z",
|
|
17
|
-
fill: "#568202"
|
|
18
|
-
}));
|
|
19
|
-
exports.Calendar = Calendar;
|
|
20
|
-
var _default = exports.default = Calendar;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.CalendarIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const CalendarIcon = _ref => {
|
|
10
|
-
let {
|
|
11
|
-
clicked,
|
|
12
|
-
width = "14",
|
|
13
|
-
height = "14"
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
16
|
-
width: width,
|
|
17
|
-
height: height,
|
|
18
|
-
viewBox: "0 0 11 12",
|
|
19
|
-
fill: "none",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M2.625 0C2.8125 0 3 0.1875 3 0.375V1.5H7.5V0.375C7.5 0.1875 7.66406 0 7.875 0C8.0625 0 8.25 0.1875 8.25 0.375V1.5H9C9.82031 1.5 10.5 2.17969 10.5 3V3.75V4.5V10.5C10.5 11.3438 9.82031 12 9 12H1.5C0.65625 12 0 11.3438 0 10.5V4.5V3.75V3C0 2.17969 0.65625 1.5 1.5 1.5H2.25V0.375C2.25 0.1875 2.41406 0 2.625 0ZM9.75 4.5H7.3125V6.1875H9.75V4.5ZM9.75 6.9375H7.3125V8.8125H9.75V6.9375ZM9.75 9.5625H7.3125V11.25H9C9.39844 11.25 9.75 10.9219 9.75 10.5V9.5625ZM6.5625 8.8125V6.9375H3.9375V8.8125H6.5625ZM3.9375 9.5625V11.25H6.5625V9.5625H3.9375ZM3.1875 8.8125V6.9375H0.75V8.8125H3.1875ZM0.75 9.5625V10.5C0.75 10.9219 1.07812 11.25 1.5 11.25H3.1875V9.5625H0.75ZM0.75 6.1875H3.1875V4.5H0.75V6.1875ZM3.9375 6.1875H6.5625V4.5H3.9375V6.1875ZM9 2.25H1.5C1.07812 2.25 0.75 2.60156 0.75 3V3.75H9.75V3C9.75 2.60156 9.39844 2.25 9 2.25Z",
|
|
23
|
-
fill: "#212121"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.CalendarIcon = CalendarIcon;
|
|
27
|
-
var _default = exports.default = CalendarIcon;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.CalendarInOpen = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
const CalendarInOpen = () => /*#__PURE__*/_react.default.createElement("svg", {
|
|
10
|
-
width: "21",
|
|
11
|
-
height: "21",
|
|
12
|
-
viewBox: "0 0 21 21",
|
|
13
|
-
fill: "none",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
16
|
-
width: "21",
|
|
17
|
-
height: "21",
|
|
18
|
-
rx: "4",
|
|
19
|
-
fill: "#229E38",
|
|
20
|
-
fillOpacity: "0.1"
|
|
21
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M7.625 5C7.8125 5 8 5.1875 8 5.375V6.5H12.5V5.375C12.5 5.1875 12.6641 5 12.875 5C13.0625 5 13.25 5.1875 13.25 5.375V6.5H14C14.8203 6.5 15.5 7.17969 15.5 8V8.75V9.5V15.5C15.5 16.3438 14.8203 17 14 17H6.5C5.65625 17 5 16.3438 5 15.5V9.5V8.75V8C5 7.17969 5.65625 6.5 6.5 6.5H7.25V5.375C7.25 5.1875 7.41406 5 7.625 5ZM14.75 9.5H5.75V15.5C5.75 15.9219 6.07812 16.25 6.5 16.25H14C14.3984 16.25 14.75 15.9219 14.75 15.5V9.5ZM14 7.25H6.5C6.07812 7.25 5.75 7.60156 5.75 8V8.75H14.75V8C14.75 7.60156 14.3984 7.25 14 7.25Z",
|
|
23
|
-
fill: "#066768"
|
|
24
|
-
}));
|
|
25
|
-
exports.CalendarInOpen = CalendarInOpen;
|
|
26
|
-
var _default = exports.default = CalendarInOpen;
|