@levi-gemcommerce/analytics 3.0.1-dev.3 → 3.0.1-dev.4
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/package.json +38 -15
- package/src/api/graphql/fragments/pathAnalytic.generated.ts +0 -26
- package/src/assets/img/all-sessions.png +0 -0
- package/src/assets/img/analytic-empty.png +0 -0
- package/src/assets/img/first-session.png +0 -0
- package/src/assets/img/page-only.png +0 -0
- package/src/assets/svg/gemx-skeleton.svg +0 -12
- package/src/assets/svg/product.svg +0 -18
- package/src/components/AnalyticMode/AnalyticModeSelector.tsx +0 -50
- package/src/components/AnalyticMode/index.ts +0 -2
- package/src/components/CardPathAnalysis/CardJourneyAnalysis.tsx +0 -33
- package/src/components/CardPathAnalysis/assets/img/analytic-gemx.png +0 -0
- package/src/components/CardPathAnalysis/assets/styles/PathAnalysis.scss +0 -60
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardAnalyticEmpty.tsx +0 -45
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardPathAnalysis.tsx +0 -53
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardPathAnalysisContent.tsx +0 -65
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardPathAnalysisEmpty.tsx +0 -29
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardPathAnalysisSkeleton.tsx +0 -12
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/CardPathAnalysisWrapper.tsx +0 -43
- package/src/components/CardPathAnalysis/components/CardPathAnalysis/index.ts +0 -1
- package/src/components/CardPathAnalysis/components/PathAnalysisChart.tsx +0 -55
- package/src/components/CardPathAnalysis/components/index.ts +0 -1
- package/src/components/CardPathAnalysis/configs/index.ts +0 -2
- package/src/components/CardPathAnalysis/constants/index.ts +0 -1
- package/src/components/CardPathAnalysis/constants/path-analysis.ts +0 -162
- package/src/components/CardPathAnalysis/contexts/PathAnalysisConfigProvider.tsx +0 -66
- package/src/components/CardPathAnalysis/contexts/PathAnalysisProvider.tsx +0 -130
- package/src/components/CardPathAnalysis/contexts/index.ts +0 -2
- package/src/components/CardPathAnalysis/helpers/index.ts +0 -2
- package/src/components/CardPathAnalysis/helpers/metricHelpers.ts +0 -13
- package/src/components/CardPathAnalysis/helpers/pathAnalysis.ts +0 -96
- package/src/components/CardPathAnalysis/helpers/pathAnalysisChart.ts +0 -128
- package/src/components/CardPathAnalysis/helpers/treeUtils.ts +0 -38
- package/src/components/CardPathAnalysis/hooks/usePathAnalysisChart.tsx +0 -292
- package/src/components/CardPathAnalysis/hooks/usePathAnalysisFunnel.ts +0 -206
- package/src/components/CardPathAnalysis/hooks/usePathAnalyticsMerger.ts +0 -43
- package/src/components/CardPathAnalysis/index.ts +0 -5
- package/src/components/CardPathAnalysis/stores/funnel-chart.ts +0 -30
- package/src/components/CardPathAnalysis/stores/index.ts +0 -3
- package/src/components/CardPathAnalysis/stores/path-analysis-campaign.ts +0 -16
- package/src/components/CardPathAnalysis/stores/path-analysis.ts +0 -11
- package/src/components/CardPathAnalysis/types/index.ts +0 -1
- package/src/components/CardPathAnalysis/types/path-analysis.ts +0 -10
- package/src/components/CurrencySelector/CurrencySelector.tsx +0 -127
- package/src/components/CurrencySelector/index.ts +0 -2
- package/src/components/GModalOrderJourney/GModalOrderJourney.tsx +0 -131
- package/src/components/GModalOrderJourney/components/OrderJourneySkeleton.tsx +0 -93
- package/src/components/GModalOrderJourney/components/index.ts +0 -1
- package/src/components/GModalOrderJourney/context/OrderJourneyContext.tsx +0 -17
- package/src/components/GModalOrderJourney/context/index.ts +0 -1
- package/src/components/GModalOrderJourney/hooks/index.ts +0 -1
- package/src/components/GModalOrderJourney/hooks/useGModalOrderJourney.ts +0 -25
- package/src/components/GModalOrderJourney/index.ts +0 -5
- package/src/components/GModalOrderJourney/types/index.ts +0 -4
- package/src/components/GModalOrderJourney/utils/index.ts +0 -75
- package/src/components/GSelectableMetricChartCard/GSelectableMetricChartCard.tsx +0 -83
- package/src/components/GSelectableMetricChartCard/MetricChartTab.tsx +0 -56
- package/src/components/GSelectableMetricChartCard/index.ts +0 -2
- package/src/components/GTimePicker/GTimePicker.tsx +0 -31
- package/src/components/GTimePicker/components/BaseTimePicker.tsx +0 -249
- package/src/components/GTimePicker/components/CompareTimePicker.tsx +0 -41
- package/src/components/GTimePicker/components/DateTimeFilterAddition.tsx +0 -84
- package/src/components/GTimePicker/components/DateTimeFilterInputs.tsx +0 -124
- package/src/components/GTimePicker/components/DateTimeFilters.tsx +0 -86
- package/src/components/GTimePicker/components/MainTimePicker.tsx +0 -47
- package/src/components/GTimePicker/components/index.ts +0 -2
- package/src/components/GTimePicker/constants/compareDateTimePicker.ts +0 -68
- package/src/components/GTimePicker/constants/datePicker.ts +0 -14
- package/src/components/GTimePicker/constants/index.ts +0 -2
- package/src/components/GTimePicker/constants/mainDataTimePicker.ts +0 -88
- package/src/components/GTimePicker/contexts/DateTimePickerProvider.tsx +0 -125
- package/src/components/GTimePicker/contexts/index.ts +0 -1
- package/src/components/GTimePicker/helpers/date-range-info.ts +0 -84
- package/src/components/GTimePicker/helpers/index.ts +0 -4
- package/src/components/GTimePicker/helpers/parse-date.ts +0 -127
- package/src/components/GTimePicker/helpers/time-picker.ts +0 -123
- package/src/components/GTimePicker/helpers/version.ts +0 -36
- package/src/components/GTimePicker/hooks/index.ts +0 -3
- package/src/components/GTimePicker/hooks/useCompareDateTimePicker.tsx +0 -79
- package/src/components/GTimePicker/hooks/useDateTimeFilter.ts +0 -83
- package/src/components/GTimePicker/hooks/useDateTimePicker.tsx +0 -99
- package/src/components/GTimePicker/hooks/useVersionDateTimeFilters.ts +0 -30
- package/src/components/GTimePicker/index.ts +0 -7
- package/src/components/GTimePicker/types/index.ts +0 -43
- package/src/components/MetricDonutChartCard/MetricDonutChartCard.tsx +0 -121
- package/src/components/MetricDonutChartCard/index.ts +0 -2
- package/src/components/MetricDonutChartCard/utils/donut-chart.ts +0 -75
- package/src/components/MetricDonutChartCard/utils/index.ts +0 -1
- package/src/components/OrderAnalytic/OrderListingLatestTable.tsx +0 -111
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/OrderListingTableSkeleton.tsx +0 -40
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/SkeletonCellContent.tsx +0 -77
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/SkeletonHeader.tsx +0 -35
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/SkeletonRow.tsx +0 -35
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/SkeletonSummaryRow.tsx +0 -36
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/constants.ts +0 -11
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingSkeleton/index.ts +0 -1
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingTable.tsx +0 -159
- package/src/components/OrderAnalytic/components/OrderListing/OrderListingTableEmpty.tsx +0 -29
- package/src/components/OrderAnalytic/components/OrderListing/index.ts +0 -2
- package/src/components/OrderAnalytic/components/index.ts +0 -1
- package/src/components/OrderAnalytic/constants/index.ts +0 -2
- package/src/components/OrderAnalytic/constants/order-columns.ts +0 -51
- package/src/components/OrderAnalytic/constants/order-listing.ts +0 -199
- package/src/components/OrderAnalytic/helpers/index.ts +0 -1
- package/src/components/OrderAnalytic/helpers/order-listing.ts +0 -48
- package/src/components/OrderAnalytic/hooks/index.ts +0 -1
- package/src/components/OrderAnalytic/hooks/useOrderListingData.ts +0 -55
- package/src/components/OrderAnalytic/index.ts +0 -5
- package/src/components/OrderAnalytic/stores/index.ts +0 -2
- package/src/components/OrderAnalytic/stores/order-columns-selector.ts +0 -24
- package/src/components/OrderAnalytic/stores/order-control.ts +0 -15
- package/src/components/OrderAnalytic/types/index.ts +0 -3
- package/src/components/OrderAnalytic/types/order.ts +0 -89
- package/src/components/OrderAnalytic/types/orderListing.ts +0 -4
- package/src/components/OrderAnalytic/types/report.ts +0 -14
- package/src/components/SingleMetricChartCard/SingleMetricChartCard.tsx +0 -56
- package/src/components/SingleMetricChartCard/index.tsx +0 -2
- package/src/components/common/chart/GChartSkeleton.tsx +0 -5
- package/src/components/common/chart/MetricChart.tsx +0 -62
- package/src/components/common/chart/MetricChartEmpty.tsx +0 -35
- package/src/components/common/chart/MetricChartTooltip.tsx +0 -74
- package/src/components/common/chart/MetricDonutChartSkeleton.tsx +0 -14
- package/src/components/common/chart/MetricInfoBlock.tsx +0 -66
- package/src/components/common/chart/MetricInfoSkeleton.tsx +0 -25
- package/src/components/common/chart/MetricValueSummary.tsx +0 -23
- package/src/components/common/chart/index.ts +0 -8
- package/src/components/common/icons/DownIcon8px.tsx +0 -14
- package/src/components/common/icons/UpIcon8px.tsx +0 -14
- package/src/components/common/icons/index.ts +0 -2
- package/src/components/common/percent/MetricPercentage.tsx +0 -42
- package/src/components/common/percent/index.ts +0 -1
- package/src/components/index.ts +0 -9
- package/src/constants/analytic-metric-tooltip.tsx +0 -164
- package/src/constants/breakdown-targets.ts +0 -25
- package/src/constants/campaign.ts +0 -4
- package/src/constants/chart.ts +0 -17
- package/src/constants/currency.ts +0 -3
- package/src/constants/index.ts +0 -6
- package/src/constants/thumbnail.ts +0 -3
- package/src/core/gemxql/api/index.ts +0 -2
- package/src/core/gemxql/api/useCustomGemXQlQuery.ts +0 -35
- package/src/core/gemxql/api/useGemxQlNamedQuery.ts +0 -34
- package/src/core/gemxql/builder/build-gemxql-query.ts +0 -81
- package/src/core/gemxql/builder/clauses/condition-query.ts +0 -74
- package/src/core/gemxql/builder/clauses/from-query.ts +0 -18
- package/src/core/gemxql/builder/clauses/group-query.ts +0 -43
- package/src/core/gemxql/builder/clauses/index.ts +0 -11
- package/src/core/gemxql/builder/clauses/limit-query.ts +0 -15
- package/src/core/gemxql/builder/clauses/mode-query.ts +0 -14
- package/src/core/gemxql/builder/clauses/offset-query.ts +0 -15
- package/src/core/gemxql/builder/clauses/order-by-query.ts +0 -37
- package/src/core/gemxql/builder/clauses/show-query.ts +0 -18
- package/src/core/gemxql/builder/clauses/time-query.ts +0 -67
- package/src/core/gemxql/builder/clauses/time-series-query.ts +0 -15
- package/src/core/gemxql/builder/clauses/timezone-query.ts +0 -17
- package/src/core/gemxql/builder/configs/date-formats.ts +0 -1
- package/src/core/gemxql/builder/configs/index.ts +0 -3
- package/src/core/gemxql/builder/configs/keywords.ts +0 -16
- package/src/core/gemxql/builder/configs/query-defaults.ts +0 -1
- package/src/core/gemxql/builder/filters/build-extra-conditions.ts +0 -69
- package/src/core/gemxql/builder/filters/build-filter-conditions.ts +0 -161
- package/src/core/gemxql/builder/filters/index.ts +0 -2
- package/src/core/gemxql/builder/helpers/date-query-helpers.ts +0 -41
- package/src/core/gemxql/builder/helpers/index.ts +0 -1
- package/src/core/gemxql/builder/helpers/is-valid-query-input.ts +0 -8
- package/src/core/gemxql/builder/index.ts +0 -6
- package/src/core/gemxql/builder/parse-gemxql-query.ts +0 -43
- package/src/core/gemxql/constants/analytic-data.ts +0 -2
- package/src/core/gemxql/constants/column-keys.ts +0 -4
- package/src/core/gemxql/constants/index.ts +0 -4
- package/src/core/gemxql/constants/operators.ts +0 -2
- package/src/core/gemxql/constants/row-reader-mode.ts +0 -9
- package/src/core/gemxql/graphql/fragments/gemxql.generated.ts +0 -80
- package/src/core/gemxql/graphql/fragments/gemxql.gql +0 -18
- package/src/core/gemxql/graphql/index.ts +0 -2
- package/src/core/gemxql/graphql/queries/gemxql.generated.ts +0 -26
- package/src/core/gemxql/graphql/queries/gemxql.gql +0 -5
- package/src/core/gemxql/helpers/columnKeys.ts +0 -8
- package/src/core/gemxql/helpers/extractQueryData.ts +0 -18
- package/src/core/gemxql/helpers/formatAnalyticData.ts +0 -92
- package/src/core/gemxql/helpers/formatAnalyticDate.ts +0 -29
- package/src/core/gemxql/helpers/getTimeDimension.ts +0 -11
- package/src/core/gemxql/helpers/hasMetricData.ts +0 -6
- package/src/core/gemxql/helpers/index.ts +0 -8
- package/src/core/gemxql/helpers/parseJsonFields.ts +0 -36
- package/src/core/gemxql/helpers/readNumeric.ts +0 -25
- package/src/core/gemxql/hooks/index.ts +0 -2
- package/src/core/gemxql/hooks/useAnalyticData.ts +0 -67
- package/src/core/gemxql/hooks/useGemXQlPagination.ts +0 -79
- package/src/core/gemxql/index.ts +0 -8
- package/src/core/gemxql/types/analytic-data.ts +0 -26
- package/src/core/gemxql/types/analytic-source.ts +0 -4
- package/src/core/gemxql/types/extra-condition.ts +0 -40
- package/src/core/gemxql/types/field-filters.ts +0 -18
- package/src/core/gemxql/types/field-operators.ts +0 -8
- package/src/core/gemxql/types/filter-types.ts +0 -33
- package/src/core/gemxql/types/group-with-clause.ts +0 -12
- package/src/core/gemxql/types/index.ts +0 -11
- package/src/core/gemxql/types/order-by.ts +0 -13
- package/src/core/gemxql/types/page-fields.ts +0 -25
- package/src/core/gemxql/types/row-reader-mode.ts +0 -6
- package/src/core/gemxql/types/time-dimension.ts +0 -8
- package/src/global.d.ts +0 -38
- package/src/hooks/index.ts +0 -7
- package/src/hooks/publish/index.ts +0 -2
- package/src/hooks/publish/useStickyDetectById.ts +0 -39
- package/src/hooks/publish/useStickyFilterBoxProps.ts +0 -26
- package/src/hooks/publish/useWindowSize.ts +0 -54
- package/src/hooks/useEnhancedEffect.ts +0 -3
- package/src/hooks/useFetchCurrencyRates.ts +0 -48
- package/src/hooks/useFormatLineChartData.ts +0 -28
- package/src/hooks/usePopoverResizeObserver.ts +0 -43
- package/src/hooks/usePreventBodyScroll.ts +0 -15
- package/src/hooks/useSearchParams.ts +0 -7
- package/src/hooks/useToggle.ts +0 -23
- package/src/index.ts +0 -10
- package/src/modules/analytics/constants/index.ts +0 -124
- package/src/modules/analytics/index.ts +0 -3
- package/src/modules/analytics/types/index.ts +0 -43
- package/src/modules/analytics/utils/formatMetric.ts +0 -42
- package/src/modules/analytics/utils/getPAMetricValue.ts +0 -11
- package/src/modules/analytics/utils/index.ts +0 -3
- package/src/modules/analytics/utils/metric.ts +0 -172
- package/src/providers/ConvertMoneyProvider.tsx +0 -68
- package/src/providers/MetricChartProvider.tsx +0 -50
- package/src/providers/TimezoneProvider.tsx +0 -31
- package/src/providers/index.ts +0 -5
- package/src/shared/charts/components/ComboChart.tsx +0 -108
- package/src/shared/charts/components/GBarChart.tsx +0 -96
- package/src/shared/charts/components/GComboChart.tsx +0 -15
- package/src/shared/charts/components/GDonutChart.tsx +0 -25
- package/src/shared/charts/components/GFunnelChart/GFunnelChart.tsx +0 -34
- package/src/shared/charts/components/GFunnelChart/components/FunnelChartAction.tsx +0 -67
- package/src/shared/charts/components/GFunnelChart/components/FunnelChartActionIcon.tsx +0 -60
- package/src/shared/charts/components/GFunnelChart/components/FunnelChartActionWrapper.tsx +0 -100
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionContent.tsx +0 -92
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionHeader.tsx +0 -54
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionItem.tsx +0 -51
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionPopover.tsx +0 -95
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/index.ts +0 -1
- package/src/shared/charts/components/GFunnelChart/components/FunnelSelection/type.ts +0 -7
- package/src/shared/charts/components/GFunnelChart/components/types.ts +0 -24
- package/src/shared/charts/components/GFunnelChart/index.ts +0 -4
- package/src/shared/charts/components/GFunnelChart/types.ts +0 -11
- package/src/shared/charts/components/GPolarisViz/components/Arc/Arc.module.scss +0 -7
- package/src/shared/charts/components/GPolarisViz/components/Arc/Arc.tsx +0 -135
- package/src/shared/charts/components/GPolarisViz/components/Arc/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartContainer/ChartContainer.module.scss +0 -39
- package/src/shared/charts/components/GPolarisViz/components/ChartContainer/ChartContainer.tsx +0 -150
- package/src/shared/charts/components/GPolarisViz/components/ChartContainer/hooks/useContainerBounds.ts +0 -113
- package/src/shared/charts/components/GPolarisViz/components/ChartContainer/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartElements/ChartDiv.tsx +0 -18
- package/src/shared/charts/components/GPolarisViz/components/ChartElements/ChartElements.module.scss +0 -21
- package/src/shared/charts/components/GPolarisViz/components/ChartElements/ChartSVG.tsx +0 -40
- package/src/shared/charts/components/GPolarisViz/components/ChartElements/index.ts +0 -7
- package/src/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/ChartErrorBoundary.tsx +0 -56
- package/src/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/utilities/checkForMismatchedData.ts +0 -34
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/ChartSkeleton.module.scss +0 -6
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/ChartSkeleton.tsx +0 -96
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/DonutSkeleton.module.scss +0 -41
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/DonutSkeleton.tsx +0 -193
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/ErrorText.tsx +0 -40
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/FunnelSkeleton.tsx +0 -69
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/GridSkeleton.tsx +0 -155
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/Shimmer.module.scss +0 -33
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/Shimmer.tsx +0 -34
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/SimpleBarSkeleton.module.scss +0 -15
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/SimpleBarSkeleton.tsx +0 -53
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/SimpleNormalizedSkeleton.module.scss +0 -35
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/SimpleNormalizedSkeleton.tsx +0 -75
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/SparkSkeleton.tsx +0 -27
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/index.ts +0 -8
- package/src/shared/charts/components/GPolarisViz/components/ChartSkeleton/index.ts +0 -9
- package/src/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/ConicGradientWithStops.tsx +0 -27
- package/src/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/DefaultPreview/DefaultPreview.module.scss +0 -8
- package/src/shared/charts/components/GPolarisViz/components/DefaultPreview/DefaultPreview.tsx +0 -25
- package/src/shared/charts/components/GPolarisViz/components/DefaultPreview/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/Chart.tsx +0 -209
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/FunnelChart.tsx +0 -72
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisArrows.tsx +0 -52
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisLabels.tsx +0 -66
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelSegment.tsx +0 -121
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/Label.module.scss +0 -23
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/Label.tsx +0 -67
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/components/index.ts +0 -4
- package/src/shared/charts/components/GPolarisViz/components/FunnelChart/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/Chart.tsx +0 -259
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/FunnelChartNext.tsx +0 -104
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/FunnelChartLabels.tsx +0 -387
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/FunnelTooltip.scss +0 -8
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/FunnelTooltip.tsx +0 -37
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/index.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIcon.tsx +0 -20
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIconTooltip.tsx +0 -31
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/CustomTooltip.tsx +0 -68
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/Tooltip.scss +0 -52
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/Tooltip.tsx +0 -149
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipOverlay.tsx +0 -117
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipWithPortal.tsx +0 -12
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/index.ts +0 -8
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/constants.ts +0 -28
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipInteraction.ts +0 -59
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipPlacement.ts +0 -113
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/index.ts +0 -6
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/types.ts +0 -13
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/calculate-dropoff.ts +0 -4
- package/src/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/useBuildFunnelTrends.ts +0 -108
- package/src/shared/charts/components/GPolarisViz/components/HorizontalGridLines/HorizontalGridLines.tsx +0 -27
- package/src/shared/charts/components/GPolarisViz/components/HorizontalGridLines/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/Labels/SingleTextLine.tsx +0 -64
- package/src/shared/charts/components/GPolarisViz/components/Labels/hooks/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/Labels/hooks/useLabels.tsx +0 -131
- package/src/shared/charts/components/GPolarisViz/components/Labels/index.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/endLineTruncate.ts +0 -23
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/endWordTruncate.ts +0 -34
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/estimateTextHeight.ts +0 -31
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/formatAndAddEllipsis.ts +0 -12
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/getDiagonalLabels.ts +0 -70
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/getHorizontalLabels.ts +0 -90
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/getVerticalLabels.ts +0 -58
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/getWidestLabel.ts +0 -15
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/shouldSkipLabel.ts +0 -11
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/endWordTruncate.test.ts +0 -16
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/estimateTextHeight.test.ts +0 -19
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/formatAndAddEllipsis.test.ts +0 -9
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateLastLine.test.ts +0 -22
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateSingleLine.test.ts +0 -15
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLabels.ts +0 -75
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLastLine.ts +0 -61
- package/src/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateSingleLine.ts +0 -39
- package/src/shared/charts/components/GPolarisViz/components/LinePreview/LinePreview.module.scss +0 -8
- package/src/shared/charts/components/GPolarisViz/components/LinePreview/LinePreview.tsx +0 -105
- package/src/shared/charts/components/GPolarisViz/components/LinePreview/constants.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/components/LinePreview/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/SwallowErrors/SwallowErrors.tsx +0 -32
- package/src/shared/charts/components/GPolarisViz/components/SwallowErrors/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TextLine/TextLine.tsx +0 -88
- package/src/shared/charts/components/GPolarisViz/components/TextLine/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/TooltipContent.tsx +0 -109
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/TooltipContentContainer.module.scss +0 -10
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/TooltipContentContainer.tsx +0 -67
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/TooltipRow.module.scss +0 -26
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/TooltipRow.tsx +0 -57
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/TooltipSeries.module.scss +0 -4
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/TooltipSeries.tsx +0 -26
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/TooltipSeriesName.module.scss +0 -4
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/TooltipSeriesName.tsx +0 -20
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/TooltipTitle.module.scss +0 -7
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/TooltipTitle.tsx +0 -15
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/components/index.ts +0 -5
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/constants.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/hooks/useGetLongestLabelFromData.ts +0 -56
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/index.ts +0 -4
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/get-tooltip-template-content-column-count.ts +0 -10
- package/src/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/tests/get-tooltip-template-content-column-count.test.ts +0 -48
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/TooltipWrapper.tsx +0 -338
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/components/TooltipAnimatedContainer.module.scss +0 -6
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/components/TooltipAnimatedContainer.tsx +0 -139
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/constants.ts +0 -18
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/index.ts +0 -5
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/types.ts +0 -62
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/eventPoint.ts +0 -84
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredHorizontalBarPosition.ts +0 -110
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredLineChartPosition.ts +0 -115
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredVerticalBarPosition.ts +0 -105
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getDonutChartTooltipPosition.ts +0 -64
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getHorizontalBarChartTooltipPosition.ts +0 -79
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getLineChartTooltipPosition.ts +0 -68
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getVerticalBarChartTooltipPosition.ts +0 -123
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/shouldBlockTooltipEvents.ts +0 -6
- package/src/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities.ts +0 -162
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/TrendIndicator.tsx +0 -72
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowDown.tsx +0 -12
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowUp.tsx +0 -12
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/Svg.scss +0 -7
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/Svg.tsx +0 -27
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/components/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/constants.ts +0 -12
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/index.ts +0 -6
- package/src/shared/charts/components/GPolarisViz/components/TrendIndicator/utilities/estimateTrendIndicatorWidth.ts +0 -9
- package/src/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/sortBarChartData.ts +0 -20
- package/src/shared/charts/components/GPolarisViz/components/VerticalGridLines/VerticalGridLines.tsx +0 -32
- package/src/shared/charts/components/GPolarisViz/components/VerticalGridLines/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/components/index.ts +0 -6
- package/src/shared/charts/components/GPolarisViz/constants.ts +0 -72
- package/src/shared/charts/components/GPolarisViz/data/character-width-offsets.json +0 -65
- package/src/shared/charts/components/GPolarisViz/data/character-widths.json +0 -1
- package/src/shared/charts/components/GPolarisViz/hooks/index.ts +0 -5
- package/src/shared/charts/components/GPolarisViz/hooks/useBarSpringConfig.ts +0 -21
- package/src/shared/charts/components/GPolarisViz/hooks/useBrowserCheck.ts +0 -13
- package/src/shared/charts/components/GPolarisViz/hooks/useCallbackRef.tsx +0 -39
- package/src/shared/charts/components/GPolarisViz/hooks/useDataForHorizontalChart.ts +0 -69
- package/src/shared/charts/components/GPolarisViz/hooks/useDebouncedCallback.ts +0 -197
- package/src/shared/charts/components/GPolarisViz/hooks/useFormattedLabels.ts +0 -31
- package/src/shared/charts/components/GPolarisViz/hooks/useFunnelBarScaling.ts +0 -53
- package/src/shared/charts/components/GPolarisViz/hooks/useHorizontalBarSizes.ts +0 -70
- package/src/shared/charts/components/GPolarisViz/hooks/useHorizontalStackedValues.ts +0 -34
- package/src/shared/charts/components/GPolarisViz/hooks/useHorizontalTicksAndScale.ts +0 -67
- package/src/shared/charts/components/GPolarisViz/hooks/useHorizontalXScale.ts +0 -48
- package/src/shared/charts/components/GPolarisViz/hooks/useIndexForLabels.ts +0 -16
- package/src/shared/charts/components/GPolarisViz/hooks/usePrefersReducedMotion.ts +0 -6
- package/src/shared/charts/components/GPolarisViz/hooks/usePrintResizing.ts +0 -94
- package/src/shared/charts/components/GPolarisViz/hooks/useReducedLabelIndexes.ts +0 -21
- package/src/shared/charts/components/GPolarisViz/hooks/useResizeObserver.ts +0 -39
- package/src/shared/charts/components/GPolarisViz/hooks/useRootContainer.ts +0 -20
- package/src/shared/charts/components/GPolarisViz/hooks/useWatchColorVisionEvents.tsx +0 -35
- package/src/shared/charts/components/GPolarisViz/index.ts +0 -10
- package/src/shared/charts/components/GPolarisViz/shared/Bar/Bar.tsx +0 -89
- package/src/shared/charts/components/GPolarisViz/shared/Bar/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnector.tsx +0 -46
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnectorGradient.tsx +0 -21
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/constants.ts +0 -11
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/index.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/FunnelChartSegment.tsx +0 -100
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/AnimatedSegment.tsx +0 -50
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/InteractiveOverlay.tsx +0 -34
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/ScaledSegment.tsx +0 -218
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/constants.ts +0 -4
- package/src/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/index.ts +0 -2
- package/src/shared/charts/components/GPolarisViz/shared/SeriesIcon/SeriesIcon.tsx +0 -22
- package/src/shared/charts/components/GPolarisViz/shared/SeriesIcon/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/shared/ZeroValueLine/ZeroValueLine.tsx +0 -45
- package/src/shared/charts/components/GPolarisViz/shared/ZeroValueLine/index.ts +0 -1
- package/src/shared/charts/components/GPolarisViz/shared/index.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/styles/_common.scss +0 -15
- package/src/shared/charts/components/GPolarisViz/styles/shared/_accessibility.scss +0 -41
- package/src/shared/charts/components/GPolarisViz/styles/shared/_chart-container.scss +0 -8
- package/src/shared/charts/components/GPolarisViz/styles/shared/_variables.scss +0 -322
- package/src/shared/charts/components/GPolarisViz/types.ts +0 -261
- package/src/shared/charts/components/GPolarisViz/utilities/base.ts +0 -13
- package/src/shared/charts/components/GPolarisViz/utilities/classnames.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/utilities/createCssConicGradient.ts +0 -12
- package/src/shared/charts/components/GPolarisViz/utilities/createCssGradient.ts +0 -7
- package/src/shared/charts/components/GPolarisViz/utilities/estimateStringWidthWithOffset.ts +0 -15
- package/src/shared/charts/components/GPolarisViz/utilities/getAxisOptions.ts +0 -26
- package/src/shared/charts/components/GPolarisViz/utilities/getCSSBackgroundFromColor.ts +0 -8
- package/src/shared/charts/components/GPolarisViz/utilities/getChartId.ts +0 -3
- package/src/shared/charts/components/GPolarisViz/utilities/getFontSize.ts +0 -7
- package/src/shared/charts/components/GPolarisViz/utilities/getStackedMinMax.ts +0 -43
- package/src/shared/charts/components/GPolarisViz/utilities/getStackedValues.ts +0 -35
- package/src/shared/charts/components/GPolarisViz/utilities/getStackedValuesFromDataSeries.tsx +0 -30
- package/src/shared/charts/components/GPolarisViz/utilities/getTrendIndicatorData.ts +0 -22
- package/src/shared/charts/components/GPolarisViz/utilities/hasHiddenComparisonSeries.ts +0 -26
- package/src/shared/charts/components/GPolarisViz/utilities/index.ts +0 -6
- package/src/shared/charts/components/GSimpleBarChart.tsx +0 -32
- package/src/shared/charts/components/index.ts +0 -7
- package/src/shared/charts/constants/chart.ts +0 -14
- package/src/shared/charts/constants/index.ts +0 -1
- package/src/shared/charts/contexts/GChartProvider.tsx +0 -48
- package/src/shared/charts/contexts/index.ts +0 -1
- package/src/shared/charts/index.ts +0 -4
- package/src/shared/charts/types/chart.ts +0 -36
- package/src/shared/charts/types/index.ts +0 -1
- package/src/shared/components/GActivatorPopover/GActivatorPopover.tsx +0 -107
- package/src/shared/components/GActivatorPopover/index.ts +0 -1
- package/src/shared/components/GBlockCenter/GBlockCenter.scss +0 -19
- package/src/shared/components/GBlockCenter/GBlockCenter.tsx +0 -72
- package/src/shared/components/GBlockCenter/index.ts +0 -1
- package/src/shared/components/GBox/GBox.scss +0 -25
- package/src/shared/components/GBox/GBox.tsx +0 -15
- package/src/shared/components/GBox/index.ts +0 -1
- package/src/shared/components/GBoxCard/GBoxCard.tsx +0 -27
- package/src/shared/components/GBoxCard/index.ts +0 -1
- package/src/shared/components/GButton/GButton.scss +0 -41
- package/src/shared/components/GButton/GButton.tsx +0 -73
- package/src/shared/components/GButton/index.ts +0 -1
- package/src/shared/components/GCheckbox/GCheckbox.tsx +0 -176
- package/src/shared/components/GCheckbox/index.ts +0 -1
- package/src/shared/components/GChoice/ChoiceHelpText.tsx +0 -25
- package/src/shared/components/GChoice/GChoice.scss +0 -14
- package/src/shared/components/GChoice/GChoice.tsx +0 -165
- package/src/shared/components/GChoice/index.ts +0 -2
- package/src/shared/components/GClickable/GClickable.tsx +0 -43
- package/src/shared/components/GClickable/index.ts +0 -1
- package/src/shared/components/GDiv/GDiv.tsx +0 -27
- package/src/shared/components/GDiv/index.ts +0 -1
- package/src/shared/components/GDotInline/GDotInline.tsx +0 -20
- package/src/shared/components/GDotInline/index.ts +0 -1
- package/src/shared/components/GFeatureLocked/GFeatureLocked.tsx +0 -85
- package/src/shared/components/GFeatureLocked/assets/images/empty-analytics.png +0 -0
- package/src/shared/components/GFeatureLocked/assets/images/empty-campaign-group-template-illustration.png +0 -0
- package/src/shared/components/GFeatureLocked/assets/images/empty-campaign-group-template.png +0 -0
- package/src/shared/components/GFeatureLocked/assets/images/empty-page-listing-illustration.png +0 -0
- package/src/shared/components/GFeatureLocked/assets/images/empty-page-listing.png +0 -0
- package/src/shared/components/GFeatureLocked/constants.ts +0 -33
- package/src/shared/components/GFeatureLocked/index.ts +0 -2
- package/src/shared/components/GFeatureLocked/types.ts +0 -16
- package/src/shared/components/GI18NText/GI18NText.tsx +0 -37
- package/src/shared/components/GI18NText/index.ts +0 -2
- package/src/shared/components/GI18NText/types.ts +0 -7
- package/src/shared/components/GInlineCenter/GInlineCenter.scss +0 -17
- package/src/shared/components/GInlineCenter/GInlineCenter.tsx +0 -39
- package/src/shared/components/GInlineCenter/index.ts +0 -1
- package/src/shared/components/GMockDataTooltip/GMockDataTooltip.tsx +0 -30
- package/src/shared/components/GMockDataTooltip/index.ts +0 -1
- package/src/shared/components/GModal/GModal.tsx +0 -49
- package/src/shared/components/GModal/index.ts +0 -1
- package/src/shared/components/GOptionList/GOptionList.tsx +0 -63
- package/src/shared/components/GOptionList/index.ts +0 -1
- package/src/shared/components/GPagination/GPagination.tsx +0 -44
- package/src/shared/components/GPagination/hooks/useGPagination.ts +0 -42
- package/src/shared/components/GPagination/index.ts +0 -2
- package/src/shared/components/GSelector/GSelector.tsx +0 -198
- package/src/shared/components/GSelector/index.ts +0 -1
- package/src/shared/components/GSkeletonDisplayText/GSkeletonDisplayText.tsx +0 -14
- package/src/shared/components/GSkeletonDisplayText/index.ts +0 -1
- package/src/shared/components/GSpinner/GSpinner.tsx +0 -16
- package/src/shared/components/GSpinner/index.ts +0 -1
- package/src/shared/components/GTextLink/GTextLink.tsx +0 -26
- package/src/shared/components/GTextLink/index.ts +0 -1
- package/src/shared/components/GTextTooltip/GTextTooltip.tsx +0 -18
- package/src/shared/components/GTextTooltip/index.ts +0 -1
- package/src/shared/components/GTextTruncated/GTextTruncated.tsx +0 -80
- package/src/shared/components/GTextTruncated/index.ts +0 -1
- package/src/shared/components/GThumbnail/GThumbnail.scss +0 -5
- package/src/shared/components/GThumbnail/GThumbnail.tsx +0 -69
- package/src/shared/components/GThumbnail/index.ts +0 -1
- package/src/shared/components/GTooltip/GTooltip.tsx +0 -34
- package/src/shared/components/GTooltip/components/GTooltipCard.tsx +0 -164
- package/src/shared/components/GTooltip/index.ts +0 -3
- package/src/shared/components/GTooltipCard/GTooltipCard.tsx +0 -161
- package/src/shared/components/GTooltipCard/index.ts +0 -7
- package/src/shared/components/GVariantBadge/GVariant.tsx +0 -55
- package/src/shared/components/GVariantBadge/GVariantBadge.scss +0 -10
- package/src/shared/components/GVariantBadge/GVariantBadge.tsx +0 -82
- package/src/shared/components/GVariantBadge/index.ts +0 -4
- package/src/shared/components/GVariantBadge/types.ts +0 -20
- package/src/shared/components/GViewBySelector/GViewBySelector.tsx +0 -114
- package/src/shared/components/GViewBySelector/index.ts +0 -1
- package/src/shared/components/index.ts +0 -26
- package/src/shared/index.ts +0 -1
- package/src/shared/journey/common/JourneyContainer/components/JourneyContainer.tsx +0 -140
- package/src/shared/journey/common/JourneyContainer/components/JourneyTimeline.tsx +0 -18
- package/src/shared/journey/common/JourneyContainer/components/index.ts +0 -2
- package/src/shared/journey/common/JourneyContainer/index.ts +0 -1
- package/src/shared/journey/common/index.ts +0 -1
- package/src/shared/journey/index.ts +0 -2
- package/src/shared/journey/ui/JourneyEvents/components/AcceptedPostPurchaseOffer/AcceptedPostPurchaseOffer.tsx +0 -24
- package/src/shared/journey/ui/JourneyEvents/components/AcceptedPostPurchaseOffer/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutCompleted/CheckoutCompleted.tsx +0 -64
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutCompleted/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutItems.tsx +0 -27
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutStarted/CheckoutStarted.tsx +0 -25
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutStarted/CheckoutStartedDetail.tsx +0 -79
- package/src/shared/journey/ui/JourneyEvents/components/CheckoutStarted/index.ts +0 -2
- package/src/shared/journey/ui/JourneyEvents/components/PageViewed/PageViewed.tsx +0 -116
- package/src/shared/journey/ui/JourneyEvents/components/PageViewed/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/ProductAddedToCart/ProductAddedToCart.tsx +0 -24
- package/src/shared/journey/ui/JourneyEvents/components/ProductAddedToCart/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/ProductQuantity/ProductQuantity.tsx +0 -33
- package/src/shared/journey/ui/JourneyEvents/components/ProductQuantity/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/ProductRemovedFromCart/ProductRemovedFromCart.tsx +0 -24
- package/src/shared/journey/ui/JourneyEvents/components/ProductRemovedFromCart/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/components/index.ts +0 -6
- package/src/shared/journey/ui/JourneyEvents/constants/event.ts +0 -38
- package/src/shared/journey/ui/JourneyEvents/constants/index.ts +0 -1
- package/src/shared/journey/ui/JourneyEvents/index.ts +0 -2
- package/src/shared/journey/ui/JourneyEvents/types.ts +0 -2
- package/src/shared/journey/ui/JourneyGroup/JourneyGroup.tsx +0 -41
- package/src/shared/journey/ui/JourneyGroup/index.ts +0 -1
- package/src/shared/journey/ui/JourneyItem/components/EventMarkerIcon.tsx +0 -28
- package/src/shared/journey/ui/JourneyItem/components/JourneyDetail.tsx +0 -24
- package/src/shared/journey/ui/JourneyItem/components/JourneyItem.tsx +0 -27
- package/src/shared/journey/ui/JourneyItem/components/JourneyTime.tsx +0 -33
- package/src/shared/journey/ui/JourneyItem/components/QuantityWrapper.tsx +0 -17
- package/src/shared/journey/ui/JourneyItem/components/index.ts +0 -3
- package/src/shared/journey/ui/JourneyItem/index.ts +0 -2
- package/src/shared/journey/ui/JourneyItem/types/events.ts +0 -33
- package/src/shared/journey/ui/JourneyItem/types/index.ts +0 -1
- package/src/shared/journey/ui/JourneyTitle/components/GemxIdBadge.tsx +0 -38
- package/src/shared/journey/ui/JourneyTitle/components/JourneyDateBadge.tsx +0 -18
- package/src/shared/journey/ui/JourneyTitle/components/JourneyIdBadge.tsx +0 -65
- package/src/shared/journey/ui/JourneyTitle/components/JourneyLoadMore.tsx +0 -43
- package/src/shared/journey/ui/JourneyTitle/components/JourneyTitle.tsx +0 -42
- package/src/shared/journey/ui/JourneyTitle/components/index.ts +0 -2
- package/src/shared/journey/ui/JourneyTitle/constants/idBadge.ts +0 -1
- package/src/shared/journey/ui/JourneyTitle/constants/index.ts +0 -1
- package/src/shared/journey/ui/JourneyTitle/index.ts +0 -1
- package/src/shared/journey/ui/index.ts +0 -3
- package/src/shared/journey/ui/type.ts +0 -2
- package/src/shared/reports/common/Visualization/constants/columns.ts +0 -6
- package/src/shared/reports/common/Visualization/constants/index.ts +0 -2
- package/src/shared/reports/common/Visualization/constants/version.ts +0 -8
- package/src/shared/reports/common/Visualization/index.ts +0 -2
- package/src/shared/reports/common/Visualization/types/chart.ts +0 -5
- package/src/shared/reports/common/Visualization/types/index.ts +0 -3
- package/src/shared/reports/common/Visualization/types/report-metric.ts +0 -21
- package/src/shared/reports/common/Visualization/types/report.ts +0 -42
- package/src/shared/reports/common/Visualization/utils/index.ts +0 -2
- package/src/shared/reports/common/Visualization/utils/version.ts +0 -9
- package/src/shared/reports/common/Visualization/utils/visualization.ts +0 -58
- package/src/shared/reports/common/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/ReportTable.tsx +0 -194
- package/src/shared/reports/ui/ReportTable/ReportTableSkeleton.tsx +0 -73
- package/src/shared/reports/ui/ReportTable/assets/styles/ReportTable.scss +0 -288
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/CampaignsCell/CampaignsCell.tsx +0 -102
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/CampaignsCell/CampaignsCellVersion.tsx +0 -11
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/CampaignsCell/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/Cell.tsx +0 -93
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/CellRenderers.tsx +0 -72
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/DateCell.tsx +0 -9
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/DefaultCell.tsx +0 -32
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/GemxIdCell.tsx +0 -18
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/ItemsCell/CheckoutStartedDetail.tsx +0 -79
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/ItemsCell/ItemsCell.tsx +0 -56
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/ItemsCell/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/NoneCell.tsx +0 -11
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/LoadingData.tsx +0 -10
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/NoData.tsx +0 -13
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/OrderCell.tsx +0 -78
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/OrderCellBase.tsx +0 -55
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/OrderCellContainer.tsx +0 -43
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/OrderItem.tsx +0 -79
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderCell/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/OrderIdCell.tsx +0 -70
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/PreviousCell.tsx +0 -17
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/TotalCell.tsx +0 -14
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/VersionCell.tsx +0 -31
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/WrapperCell.tsx +0 -31
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/components/Body/Cell/type.ts +0 -18
- package/src/shared/reports/ui/ReportTable/components/Body/Row.tsx +0 -85
- package/src/shared/reports/ui/ReportTable/components/Body/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/components/Footer/Pagination.tsx +0 -76
- package/src/shared/reports/ui/ReportTable/components/Footer/ScrollBar.tsx +0 -19
- package/src/shared/reports/ui/ReportTable/components/Footer/WrapperFooter.tsx +0 -39
- package/src/shared/reports/ui/ReportTable/components/Footer/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/components/Header/Header.tsx +0 -68
- package/src/shared/reports/ui/ReportTable/components/Header/SortableHeader.tsx +0 -49
- package/src/shared/reports/ui/ReportTable/components/Header/SortableHeaderWithTooltip.tsx +0 -60
- package/src/shared/reports/ui/ReportTable/components/Header/SummaryCell.tsx +0 -26
- package/src/shared/reports/ui/ReportTable/components/Header/SummaryRow.tsx +0 -69
- package/src/shared/reports/ui/ReportTable/components/Header/WrapperHeader.tsx +0 -54
- package/src/shared/reports/ui/ReportTable/components/Header/index.ts +0 -1
- package/src/shared/reports/ui/ReportTable/components/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/constants/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/constants/order.ts +0 -30
- package/src/shared/reports/ui/ReportTable/constants/table.ts +0 -17
- package/src/shared/reports/ui/ReportTable/context/ReportTableActionsContext.tsx +0 -28
- package/src/shared/reports/ui/ReportTable/helpers/format.ts +0 -29
- package/src/shared/reports/ui/ReportTable/helpers/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/helpers/report.ts +0 -7
- package/src/shared/reports/ui/ReportTable/hooks/index.ts +0 -3
- package/src/shared/reports/ui/ReportTable/hooks/useReportTable.ts +0 -172
- package/src/shared/reports/ui/ReportTable/hooks/useReportTableCell.tsx +0 -28
- package/src/shared/reports/ui/ReportTable/hooks/useSyncedScroll.ts +0 -81
- package/src/shared/reports/ui/ReportTable/index.ts +0 -4
- package/src/shared/reports/ui/ReportTable/types/dimension.ts +0 -8
- package/src/shared/reports/ui/ReportTable/types/index.ts +0 -43
- package/src/shared/reports/ui/ReportTable/types/order.ts +0 -15
- package/src/shared/reports/ui/ReportTable/types/report-columns.ts +0 -11
- package/src/shared/reports/ui/ReportTable/utils/format.ts +0 -100
- package/src/shared/reports/ui/ReportTable/utils/index.ts +0 -2
- package/src/shared/reports/ui/ReportTable/utils/order.ts +0 -8
- package/src/shared/reports/ui/ReportTable/utils/table.ts +0 -19
- package/src/shared/reports/ui/ReportTable/utils/visualization.ts +0 -56
- package/src/shared/reports/ui/index.ts +0 -0
- package/src/stores/currencyRatesStore.ts +0 -13
- package/src/stores/index.ts +0 -2
- package/src/styles/index.scss +0 -9
- package/src/types/analytic-mode.ts +0 -5
- package/src/types/breakdown-items.ts +0 -21
- package/src/types/campaign.ts +0 -13
- package/src/types/chart.ts +0 -42
- package/src/types/currency.ts +0 -329
- package/src/types/index.ts +0 -8
- package/src/types/metric.ts +0 -81
- package/src/types/pricing.ts +0 -38
- package/src/types/report-columns.ts +0 -1
- package/src/types/template.ts +0 -19
- package/src/utils/analytics.ts +0 -75
- package/src/utils/array.ts +0 -13
- package/src/utils/cls.ts +0 -18
- package/src/utils/currency.ts +0 -42
- package/src/utils/date-time.ts +0 -7
- package/src/utils/dayjs.ts +0 -52
- package/src/utils/deep-copy.ts +0 -4
- package/src/utils/index.ts +0 -12
- package/src/utils/is-browser.ts +0 -3
- package/src/utils/number.ts +0 -19
- package/src/utils/percentage.ts +0 -40
- package/src/utils/sort.ts +0 -87
- package/src/utils/string.ts +0 -20
- package/src/utils/template-type.ts +0 -30
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import type { IFunnelChartColors } from '../../../../GFunnelChart/types';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
import { getRoundedRectPath, useChartContext } from '@shopify/polaris-viz-core';
|
|
5
|
-
import { animated, useSpring } from '@react-spring/web';
|
|
6
|
-
import { Fragment, useState } from 'react';
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
FUNNEL_CHART_SEGMENT_FILL,
|
|
10
|
-
FUNNEL_CHART_SEGMENT_SCALE_LIGHT,
|
|
11
|
-
FUNNEL_CHART_SEGMENT_SCALE_SHADOW,
|
|
12
|
-
} from '../constants';
|
|
13
|
-
import { InteractiveOverlay } from './InteractiveOverlay';
|
|
14
|
-
|
|
15
|
-
interface InteractionHandlers {
|
|
16
|
-
onMouseEnter?: (index: number) => void;
|
|
17
|
-
onMouseLeave?: () => void;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface Props extends InteractionHandlers {
|
|
21
|
-
barHeight: number;
|
|
22
|
-
barWidth: number;
|
|
23
|
-
index: number;
|
|
24
|
-
isLast: boolean;
|
|
25
|
-
x: number;
|
|
26
|
-
children: ReactNode;
|
|
27
|
-
funnelColors?: IFunnelChartColors;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function ScaledSegment({
|
|
31
|
-
barHeight,
|
|
32
|
-
barWidth,
|
|
33
|
-
index,
|
|
34
|
-
isLast,
|
|
35
|
-
x,
|
|
36
|
-
onMouseEnter,
|
|
37
|
-
onMouseLeave,
|
|
38
|
-
children,
|
|
39
|
-
funnelColors,
|
|
40
|
-
}: Props) {
|
|
41
|
-
const { containerBounds } = useChartContext();
|
|
42
|
-
const { width: drawableWidth, height: drawableHeight } = containerBounds ?? {
|
|
43
|
-
height: 0,
|
|
44
|
-
width: 0,
|
|
45
|
-
};
|
|
46
|
-
const [hasAnimated, setHasAnimated] = useState(false);
|
|
47
|
-
|
|
48
|
-
const FUNNEL_SEGMENT = {
|
|
49
|
-
minBorderRadius: 3,
|
|
50
|
-
maxBorderRadius: 6,
|
|
51
|
-
borderRadiusRatio: 0.03,
|
|
52
|
-
scaleGap: 4,
|
|
53
|
-
scaleStartRatio: 0.2,
|
|
54
|
-
heightScaleFactor: 0.015,
|
|
55
|
-
widthScaleFactor: 0.005,
|
|
56
|
-
borderRadiusHeightThreshold: 200,
|
|
57
|
-
colors: {
|
|
58
|
-
primary: funnelColors?.segment.fill ?? FUNNEL_CHART_SEGMENT_FILL,
|
|
59
|
-
scaleLight: funnelColors?.segment.scaleLight ?? FUNNEL_CHART_SEGMENT_SCALE_LIGHT,
|
|
60
|
-
scaleShadow: funnelColors?.segment.scaleShadow ?? FUNNEL_CHART_SEGMENT_SCALE_SHADOW,
|
|
61
|
-
ripple: 'white',
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const scaleStripeHeight = calculateResponsiveScale({
|
|
66
|
-
drawableHeight,
|
|
67
|
-
drawableWidth,
|
|
68
|
-
heightScaleFactor: FUNNEL_SEGMENT.heightScaleFactor,
|
|
69
|
-
widthScaleFactor: FUNNEL_SEGMENT.widthScaleFactor,
|
|
70
|
-
});
|
|
71
|
-
const totalScaleHeight = scaleStripeHeight * 4;
|
|
72
|
-
|
|
73
|
-
const springs = useSpring({
|
|
74
|
-
from: { height: 0 },
|
|
75
|
-
to: { height: barHeight },
|
|
76
|
-
delay: index * 100,
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
const scaleSpring = useSpring({
|
|
80
|
-
from: {
|
|
81
|
-
opacity: 0,
|
|
82
|
-
scaleStripeHeight: 0,
|
|
83
|
-
},
|
|
84
|
-
to: {
|
|
85
|
-
opacity: 1,
|
|
86
|
-
scaleStripeHeight: totalScaleHeight,
|
|
87
|
-
},
|
|
88
|
-
config: {
|
|
89
|
-
mass: 1,
|
|
90
|
-
tension: 400,
|
|
91
|
-
friction: 15,
|
|
92
|
-
},
|
|
93
|
-
delay: index * 100 + 700,
|
|
94
|
-
onRest: () => setHasAnimated(true),
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
const isFirst = index === 0;
|
|
98
|
-
|
|
99
|
-
const scaleStartHeight = calculateScaleStartHeight(barHeight, FUNNEL_SEGMENT.scaleStartRatio);
|
|
100
|
-
|
|
101
|
-
const dynamicBorderRadius = Math.min(
|
|
102
|
-
Math.max(Math.round(drawableHeight * FUNNEL_SEGMENT.borderRadiusRatio), FUNNEL_SEGMENT.minBorderRadius),
|
|
103
|
-
FUNNEL_SEGMENT.maxBorderRadius,
|
|
104
|
-
);
|
|
105
|
-
|
|
106
|
-
const fullSegmentMarkup = (
|
|
107
|
-
<animated.path
|
|
108
|
-
d={springs.height.to((height) =>
|
|
109
|
-
getRoundedRectPath({
|
|
110
|
-
width: barWidth,
|
|
111
|
-
height,
|
|
112
|
-
borderRadius: `${isFirst ? dynamicBorderRadius : 0} ${isLast ? dynamicBorderRadius : 0} 0 0`,
|
|
113
|
-
}),
|
|
114
|
-
)}
|
|
115
|
-
fill={FUNNEL_SEGMENT.colors.primary}
|
|
116
|
-
/>
|
|
117
|
-
);
|
|
118
|
-
|
|
119
|
-
const scalePattern = [
|
|
120
|
-
FUNNEL_SEGMENT.colors.scaleLight,
|
|
121
|
-
FUNNEL_SEGMENT.colors.scaleShadow,
|
|
122
|
-
FUNNEL_SEGMENT.colors.scaleLight,
|
|
123
|
-
FUNNEL_SEGMENT.colors.scaleShadow,
|
|
124
|
-
];
|
|
125
|
-
|
|
126
|
-
const scaleEffectMarkup = (
|
|
127
|
-
<animated.g style={{ opacity: scaleSpring.opacity }} transform={`translate(0, ${scaleStartHeight})`}>
|
|
128
|
-
{scalePattern.map((fill, scaleIndex) =>
|
|
129
|
-
hasAnimated ? (
|
|
130
|
-
<rect
|
|
131
|
-
key={`scale-effect-${scaleIndex}`}
|
|
132
|
-
x={0}
|
|
133
|
-
y={scaleStripeHeight * scaleIndex}
|
|
134
|
-
width={barWidth}
|
|
135
|
-
height={scaleStripeHeight}
|
|
136
|
-
fill={fill}
|
|
137
|
-
/>
|
|
138
|
-
) : (
|
|
139
|
-
<animated.rect
|
|
140
|
-
key={`scale-effect-${scaleIndex}`}
|
|
141
|
-
x={0}
|
|
142
|
-
y={scaleSpring.scaleStripeHeight.to((height) => (height / 4) * scaleIndex)}
|
|
143
|
-
width={barWidth}
|
|
144
|
-
height={scaleSpring.scaleStripeHeight.to((height) => height / 4)}
|
|
145
|
-
fill={fill}
|
|
146
|
-
/>
|
|
147
|
-
),
|
|
148
|
-
)}
|
|
149
|
-
</animated.g>
|
|
150
|
-
);
|
|
151
|
-
|
|
152
|
-
const getRipplePath = (scaleStripeHeight: number, verticalOffset: number, height: number = scaleStripeHeight * 2) => {
|
|
153
|
-
return `M ${scaleStripeHeight * 1.5},${scaleStripeHeight + verticalOffset}
|
|
154
|
-
L 0,${verticalOffset}
|
|
155
|
-
L 0,${verticalOffset + height} Z`;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
const scaleRippleMarkup = (
|
|
159
|
-
<animated.g style={{ opacity: scaleSpring.opacity }} transform={`translate(0, ${scaleStartHeight})`}>
|
|
160
|
-
{hasAnimated ? (
|
|
161
|
-
<Fragment>
|
|
162
|
-
<path d={getRipplePath(scaleStripeHeight, 0)} fill={FUNNEL_SEGMENT.colors.ripple} />
|
|
163
|
-
<path d={getRipplePath(scaleStripeHeight, scaleStripeHeight * 2)} fill={FUNNEL_SEGMENT.colors.ripple} />
|
|
164
|
-
</Fragment>
|
|
165
|
-
) : (
|
|
166
|
-
<Fragment>
|
|
167
|
-
<animated.path
|
|
168
|
-
d={scaleSpring.scaleStripeHeight.to((height) => getRipplePath(scaleStripeHeight, 0, height / 2))}
|
|
169
|
-
fill={FUNNEL_SEGMENT.colors.ripple}
|
|
170
|
-
/>
|
|
171
|
-
<animated.path
|
|
172
|
-
d={scaleSpring.scaleStripeHeight.to((height) =>
|
|
173
|
-
getRipplePath(scaleStripeHeight, scaleStripeHeight * 2, height / 2),
|
|
174
|
-
)}
|
|
175
|
-
fill={FUNNEL_SEGMENT.colors.ripple}
|
|
176
|
-
/>
|
|
177
|
-
</Fragment>
|
|
178
|
-
)}
|
|
179
|
-
</animated.g>
|
|
180
|
-
);
|
|
181
|
-
|
|
182
|
-
return (
|
|
183
|
-
<Fragment>
|
|
184
|
-
<animated.g
|
|
185
|
-
style={{
|
|
186
|
-
transform: springs.height.to((height) => `translate(${x}px, ${drawableHeight - height}px)`),
|
|
187
|
-
}}
|
|
188
|
-
>
|
|
189
|
-
{fullSegmentMarkup}
|
|
190
|
-
{scaleEffectMarkup}
|
|
191
|
-
{scaleRippleMarkup}
|
|
192
|
-
<InteractiveOverlay
|
|
193
|
-
width={barWidth}
|
|
194
|
-
height={barHeight}
|
|
195
|
-
index={index}
|
|
196
|
-
onMouseEnter={onMouseEnter}
|
|
197
|
-
onMouseLeave={onMouseLeave}
|
|
198
|
-
/>
|
|
199
|
-
</animated.g>
|
|
200
|
-
{children}
|
|
201
|
-
</Fragment>
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
const calculateScaleStartHeight = (height: number, scaleStartRatio: number) => Math.floor(height * scaleStartRatio);
|
|
206
|
-
|
|
207
|
-
const calculateResponsiveScale = (data: {
|
|
208
|
-
drawableHeight: number;
|
|
209
|
-
drawableWidth: number;
|
|
210
|
-
heightScaleFactor: number;
|
|
211
|
-
widthScaleFactor: number;
|
|
212
|
-
}) => {
|
|
213
|
-
const { drawableHeight, drawableWidth, heightScaleFactor, widthScaleFactor } = data;
|
|
214
|
-
const heightScale = drawableHeight * heightScaleFactor;
|
|
215
|
-
const widthScale = drawableWidth * widthScaleFactor;
|
|
216
|
-
const scale = Math.max((heightScale + widthScale) / 2, 1);
|
|
217
|
-
return scale;
|
|
218
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Shape, Color, LineStyle } from '@shopify/polaris-viz-core';
|
|
2
|
-
|
|
3
|
-
import { DefaultPreview } from '../../components/DefaultPreview';
|
|
4
|
-
import { LinePreview } from '../../components/LinePreview';
|
|
5
|
-
|
|
6
|
-
interface Props {
|
|
7
|
-
color: Color;
|
|
8
|
-
shape?: Shape;
|
|
9
|
-
lineStyle?: LineStyle;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function SeriesIcon({ color, lineStyle, shape = 'Bar' }: Props) {
|
|
13
|
-
switch (shape) {
|
|
14
|
-
case 'Line': {
|
|
15
|
-
const style = lineStyle ?? 'solid';
|
|
16
|
-
|
|
17
|
-
return <LinePreview color={color} lineStyle={style} />;
|
|
18
|
-
}
|
|
19
|
-
default:
|
|
20
|
-
return <DefaultPreview color={color} />;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SeriesIcon } from './SeriesIcon';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { Direction } from '@shopify/polaris-viz-core';
|
|
2
|
-
|
|
3
|
-
import { ZERO_VALUE_LINE_HEIGHT } from '../../constants';
|
|
4
|
-
import { useTheme } from '@shopify/polaris-viz-core';
|
|
5
|
-
import { Fragment } from 'react';
|
|
6
|
-
|
|
7
|
-
export interface ZeroValueLineProps {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
areAllNegative?: boolean;
|
|
11
|
-
theme?: string;
|
|
12
|
-
direction?: Direction;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function getZeroValueLineCoords({ x, y, direction, areAllNegative }: ZeroValueLineProps) {
|
|
16
|
-
if (direction === 'vertical') {
|
|
17
|
-
return {
|
|
18
|
-
x1: x,
|
|
19
|
-
x2: x,
|
|
20
|
-
y1: y,
|
|
21
|
-
y2: !areAllNegative ? y - ZERO_VALUE_LINE_HEIGHT : y + ZERO_VALUE_LINE_HEIGHT,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return {
|
|
26
|
-
x1: x,
|
|
27
|
-
x2: !areAllNegative ? x + ZERO_VALUE_LINE_HEIGHT : x - ZERO_VALUE_LINE_HEIGHT,
|
|
28
|
-
y1: y,
|
|
29
|
-
y2: y,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export function ZeroValueLine({ x, y, theme, direction = 'vertical', areAllNegative }: ZeroValueLineProps) {
|
|
34
|
-
const selectedTheme = useTheme(theme);
|
|
35
|
-
|
|
36
|
-
return (
|
|
37
|
-
<Fragment>
|
|
38
|
-
<line
|
|
39
|
-
stroke={selectedTheme.bar.zeroValueColor}
|
|
40
|
-
strokeWidth="1"
|
|
41
|
-
{...getZeroValueLineCoords({ x, y, direction, areAllNegative })}
|
|
42
|
-
/>
|
|
43
|
-
</Fragment>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ZeroValueLine } from './ZeroValueLine';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// stylelint-disable scss/partial-no-import
|
|
2
|
-
@import './shared/variables';
|
|
3
|
-
@import './shared/accessibility';
|
|
4
|
-
@import './shared/chart-container';
|
|
5
|
-
|
|
6
|
-
@mixin ellipsis-overflow {
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
text-overflow: ellipsis;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin print-color {
|
|
13
|
-
-webkit-print-color-adjust: exact; /* stylelint-disable-line property-no-vendor-prefix */
|
|
14
|
-
print-color-adjust: exact; /* stylelint-disable-line property-no-unknown */
|
|
15
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@mixin visually-hidden {
|
|
2
|
-
// Importants are required to ensure component is available to screenreaders as expected
|
|
3
|
-
// stylelint-disable declaration-no-important
|
|
4
|
-
position: absolute !important;
|
|
5
|
-
top: 0;
|
|
6
|
-
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
7
|
-
overflow: hidden !important;
|
|
8
|
-
height: 1px !important;
|
|
9
|
-
width: 1px !important;
|
|
10
|
-
padding: 0 !important;
|
|
11
|
-
border: 0 !important;
|
|
12
|
-
opacity: 0;
|
|
13
|
-
// stylelint-enable declaration-no-important
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin no-outline {
|
|
17
|
-
outline: none;
|
|
18
|
-
|
|
19
|
-
&:focus,
|
|
20
|
-
&:focus-visible {
|
|
21
|
-
// stylelint-disable-next-line declaration-no-important
|
|
22
|
-
outline: none !important;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin focus-outline {
|
|
27
|
-
&:focus,
|
|
28
|
-
&:focus-visible {
|
|
29
|
-
outline: 2px solid $color-blue-70;
|
|
30
|
-
outline-offset: 2px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@mixin hidden-button {
|
|
35
|
-
border: 0;
|
|
36
|
-
background: transparent;
|
|
37
|
-
height: 100%;
|
|
38
|
-
width: 100%;
|
|
39
|
-
font-size: 0;
|
|
40
|
-
display: block;
|
|
41
|
-
}
|
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
$duration-slow: 300;
|
|
2
|
-
|
|
3
|
-
$color-white: rgb(255, 255, 255);
|
|
4
|
-
$color-black: rgb(0, 0, 0);
|
|
5
|
-
$color-purple-dark: rgb(80, 36, 143);
|
|
6
|
-
|
|
7
|
-
// Colors are named non-sequencial numbers
|
|
8
|
-
// so it matches the UX Color Matrix
|
|
9
|
-
// stylelint-disable color-no-hex
|
|
10
|
-
$color-dark-comparison: rgba(144, 176, 223, 0.8);
|
|
11
|
-
$color-light-comparison: rgba(103, 147, 204, 1);
|
|
12
|
-
|
|
13
|
-
$color-gray-00: #ffffff;
|
|
14
|
-
$color-gray-10: #f6f6f7;
|
|
15
|
-
$color-gray-20: #eeeeef;
|
|
16
|
-
$color-gray-30: #dadadd;
|
|
17
|
-
$color-gray-40: #cbcbcf;
|
|
18
|
-
$color-gray-50: #bdbdc2;
|
|
19
|
-
$color-gray-60: #b0b0b6;
|
|
20
|
-
$color-gray-70: #9d9da5;
|
|
21
|
-
$color-gray-80: #909099;
|
|
22
|
-
$color-gray-90: #82828c;
|
|
23
|
-
$color-gray-100: #70707b;
|
|
24
|
-
$color-gray-110: #5e5e69;
|
|
25
|
-
$color-gray-120: #545460;
|
|
26
|
-
$color-gray-130: #4b4b57;
|
|
27
|
-
$color-gray-140: #43434e;
|
|
28
|
-
$color-gray-150: #2e2e36;
|
|
29
|
-
$color-gray-160: #1f1f25;
|
|
30
|
-
|
|
31
|
-
$color-indigo-00: #f7f5ff;
|
|
32
|
-
$color-indigo-10: #efecff;
|
|
33
|
-
$color-indigo-20: #e4deff;
|
|
34
|
-
$color-indigo-30: #d4cbff;
|
|
35
|
-
$color-indigo-40: #c5b7fe;
|
|
36
|
-
$color-indigo-50: #b6a3fe;
|
|
37
|
-
$color-indigo-60: #a78ffd;
|
|
38
|
-
$color-indigo-70: #997afc;
|
|
39
|
-
$color-indigo-80: #8c63fb;
|
|
40
|
-
$color-indigo-90: #7f4afa;
|
|
41
|
-
$color-indigo-100: #7329f9;
|
|
42
|
-
$color-indigo-110: #6511e2;
|
|
43
|
-
$color-indigo-120: #540dbf;
|
|
44
|
-
$color-indigo-130: #44089e;
|
|
45
|
-
$color-indigo-140: #34057d;
|
|
46
|
-
$color-indigo-150: #25035e;
|
|
47
|
-
$color-indigo-160: #16013e;
|
|
48
|
-
|
|
49
|
-
$color-blue-00: #f3f7ff;
|
|
50
|
-
$color-blue-10: #e6eefe;
|
|
51
|
-
$color-blue-20: #d6e3fd;
|
|
52
|
-
$color-blue-30: #bdd2fb;
|
|
53
|
-
$color-blue-40: #a3c2f7;
|
|
54
|
-
$color-blue-50: #88b1f2;
|
|
55
|
-
$color-blue-60: #6ba2ec;
|
|
56
|
-
$color-blue-70: #4b92e5;
|
|
57
|
-
$color-blue-80: #4282cd;
|
|
58
|
-
$color-blue-90: #3672bb;
|
|
59
|
-
$color-blue-100: #2b62a9;
|
|
60
|
-
$color-blue-110: #215297;
|
|
61
|
-
$color-blue-120: #174385;
|
|
62
|
-
$color-blue-130: #0e3572;
|
|
63
|
-
$color-blue-140: #06275f;
|
|
64
|
-
$color-blue-150: #021a4c;
|
|
65
|
-
$color-blue-160: #000d36;
|
|
66
|
-
|
|
67
|
-
$color-teal-00: #f0f8fb;
|
|
68
|
-
$color-teal-10: #e0f1f8;
|
|
69
|
-
$color-teal-20: #c8e7f4;
|
|
70
|
-
$color-teal-30: #9edaef;
|
|
71
|
-
$color-teal-40: #79cce5;
|
|
72
|
-
$color-teal-50: #69bbd3;
|
|
73
|
-
$color-teal-60: #5baac1;
|
|
74
|
-
$color-teal-70: #4c9aaf;
|
|
75
|
-
$color-teal-80: #3f899e;
|
|
76
|
-
$color-teal-90: #33798c;
|
|
77
|
-
$color-teal-100: #286a7b;
|
|
78
|
-
$color-teal-110: #1d5a69;
|
|
79
|
-
$color-teal-120: #144b59;
|
|
80
|
-
$color-teal-130: #0b3d48;
|
|
81
|
-
$color-teal-140: #042f38;
|
|
82
|
-
$color-teal-150: #012129;
|
|
83
|
-
$color-teal-160: #001419;
|
|
84
|
-
|
|
85
|
-
$color-magenta-00: #fcf4fa;
|
|
86
|
-
$color-magenta-10: #f9e9f5;
|
|
87
|
-
$color-magenta-20: #f5dbef;
|
|
88
|
-
$color-magenta-30: #f0c4e6;
|
|
89
|
-
$color-magenta-40: #eaaedd;
|
|
90
|
-
$color-magenta-50: #e596d4;
|
|
91
|
-
$color-magenta-60: #e07dcc;
|
|
92
|
-
$color-magenta-70: #da62c4;
|
|
93
|
-
$color-magenta-80: #c654b1;
|
|
94
|
-
$color-magenta-90: #b1489e;
|
|
95
|
-
$color-magenta-100: #9c3c8b;
|
|
96
|
-
$color-magenta-110: #873178;
|
|
97
|
-
$color-magenta-120: #722665;
|
|
98
|
-
$color-magenta-130: #5e1c53;
|
|
99
|
-
$color-magenta-140: #4a1341;
|
|
100
|
-
$color-magenta-150: #370b30;
|
|
101
|
-
$color-magenta-160: #23041e;
|
|
102
|
-
|
|
103
|
-
$color-purple-00: #f9f5ff;
|
|
104
|
-
$color-purple-10: #f3eafe;
|
|
105
|
-
$color-purple-20: #ebdcfd;
|
|
106
|
-
$color-purple-30: #e0c8fa;
|
|
107
|
-
$color-purple-40: #d4b3f6;
|
|
108
|
-
$color-purple-50: #c89ef1;
|
|
109
|
-
$color-purple-60: #bd8aea;
|
|
110
|
-
$color-purple-70: #b176e2;
|
|
111
|
-
$color-purple-80: #a85de0;
|
|
112
|
-
$color-purple-90: #9f41dc;
|
|
113
|
-
$color-purple-100: #8c35c4;
|
|
114
|
-
$color-purple-110: #7a29ab;
|
|
115
|
-
$color-purple-120: #671e93;
|
|
116
|
-
$color-purple-130: #55147a;
|
|
117
|
-
$color-purple-140: #430b62;
|
|
118
|
-
$color-purple-150: #32054a;
|
|
119
|
-
$color-purple-160: #200132;
|
|
120
|
-
|
|
121
|
-
$color-orange-00: #fcf5f3;
|
|
122
|
-
$color-orange-10: #f9ebe6;
|
|
123
|
-
$color-orange-20: #f5ddd4;
|
|
124
|
-
$color-orange-30: #f1c9b8;
|
|
125
|
-
$color-orange-40: #eeb498;
|
|
126
|
-
$color-orange-50: #ec9d71;
|
|
127
|
-
$color-orange-60: #df8b55;
|
|
128
|
-
$color-orange-70: #ca7d4a;
|
|
129
|
-
$color-orange-80: #b66e3f;
|
|
130
|
-
$color-orange-90: #a26134;
|
|
131
|
-
$color-orange-100: #8e532a;
|
|
132
|
-
$color-orange-110: #7a4621;
|
|
133
|
-
$color-orange-120: #673a17;
|
|
134
|
-
$color-orange-130: #552d0d;
|
|
135
|
-
$color-orange-140: #432205;
|
|
136
|
-
$color-orange-150: #311701;
|
|
137
|
-
$color-orange-160: #1f0c00;
|
|
138
|
-
|
|
139
|
-
$color-yellow-00: #fff6df;
|
|
140
|
-
$color-yellow-10: #fcedc2;
|
|
141
|
-
$color-yellow-20: #fae275;
|
|
142
|
-
$color-yellow-30: #e6d25f;
|
|
143
|
-
$color-yellow-40: #d1c256;
|
|
144
|
-
$color-yellow-50: #bdb24e;
|
|
145
|
-
$color-yellow-60: #aaa246;
|
|
146
|
-
$color-yellow-70: #97933e;
|
|
147
|
-
$color-yellow-80: #858337;
|
|
148
|
-
$color-yellow-90: #74742c;
|
|
149
|
-
$color-yellow-100: #636522;
|
|
150
|
-
$color-yellow-110: #535718;
|
|
151
|
-
$color-yellow-120: #444810;
|
|
152
|
-
$color-yellow-130: #363a08;
|
|
153
|
-
$color-yellow-140: #2a2d03;
|
|
154
|
-
$color-yellow-150: #1d1f01;
|
|
155
|
-
$color-yellow-160: #111200;
|
|
156
|
-
|
|
157
|
-
// stylelint-disable value-keyword-case
|
|
158
|
-
$font-stack-base:
|
|
159
|
-
Inter,
|
|
160
|
-
-apple-system,
|
|
161
|
-
'system-ui',
|
|
162
|
-
'San Francisco',
|
|
163
|
-
'Segoe UI',
|
|
164
|
-
Roboto,
|
|
165
|
-
'Helvetica Neue',
|
|
166
|
-
sans-serif;
|
|
167
|
-
// stylelint-enable value-keyword-case
|
|
168
|
-
|
|
169
|
-
// stylelint-disable selector-pseudo-class-no-unknown
|
|
170
|
-
// stylelint-disable property-no-unknown
|
|
171
|
-
|
|
172
|
-
:export {
|
|
173
|
-
colorWhite: $color-white;
|
|
174
|
-
colorBlack: $color-black;
|
|
175
|
-
|
|
176
|
-
colorDarkComparison: $color-dark-comparison;
|
|
177
|
-
colorLightComparison: $color-light-comparison;
|
|
178
|
-
|
|
179
|
-
colorGray00: $color-gray-00;
|
|
180
|
-
colorGray10: $color-gray-10;
|
|
181
|
-
colorGray20: $color-gray-20;
|
|
182
|
-
colorGray30: $color-gray-30;
|
|
183
|
-
colorGray40: $color-gray-40;
|
|
184
|
-
colorGray50: $color-gray-50;
|
|
185
|
-
colorGray60: $color-gray-60;
|
|
186
|
-
colorGray70: $color-gray-70;
|
|
187
|
-
colorGray80: $color-gray-80;
|
|
188
|
-
colorGray90: $color-gray-90;
|
|
189
|
-
colorGray100: $color-gray-100;
|
|
190
|
-
colorGray110: $color-gray-110;
|
|
191
|
-
colorGray120: $color-gray-120;
|
|
192
|
-
colorGray130: $color-gray-130;
|
|
193
|
-
colorGray140: $color-gray-140;
|
|
194
|
-
colorGray150: $color-gray-150;
|
|
195
|
-
colorGray160: $color-gray-160;
|
|
196
|
-
|
|
197
|
-
colorIndigo00: $color-indigo-00;
|
|
198
|
-
colorIndigo10: $color-indigo-10;
|
|
199
|
-
colorIndigo20: $color-indigo-20;
|
|
200
|
-
colorIndigo30: $color-indigo-30;
|
|
201
|
-
colorIndigo40: $color-indigo-40;
|
|
202
|
-
colorIndigo50: $color-indigo-50;
|
|
203
|
-
colorIndigo60: $color-indigo-60;
|
|
204
|
-
colorIndigo70: $color-indigo-70;
|
|
205
|
-
colorIndigo80: $color-indigo-80;
|
|
206
|
-
colorIndigo90: $color-indigo-90;
|
|
207
|
-
colorIndigo100: $color-indigo-100;
|
|
208
|
-
colorIndigo110: $color-indigo-110;
|
|
209
|
-
colorIndigo120: $color-indigo-120;
|
|
210
|
-
colorIndigo130: $color-indigo-130;
|
|
211
|
-
colorIndigo140: $color-indigo-140;
|
|
212
|
-
colorIndigo150: $color-indigo-150;
|
|
213
|
-
colorIndigo160: $color-indigo-160;
|
|
214
|
-
|
|
215
|
-
colorBlue00: $color-blue-00;
|
|
216
|
-
colorBlue10: $color-blue-10;
|
|
217
|
-
colorBlue20: $color-blue-20;
|
|
218
|
-
colorBlue30: $color-blue-30;
|
|
219
|
-
colorBlue40: $color-blue-40;
|
|
220
|
-
colorBlue50: $color-blue-50;
|
|
221
|
-
colorBlue60: $color-blue-60;
|
|
222
|
-
colorBlue70: $color-blue-70;
|
|
223
|
-
colorBlue80: $color-blue-80;
|
|
224
|
-
colorBlue90: $color-blue-90;
|
|
225
|
-
colorBlue100: $color-blue-100;
|
|
226
|
-
colorBlue110: $color-blue-110;
|
|
227
|
-
colorBlue120: $color-blue-120;
|
|
228
|
-
colorBlue130: $color-blue-130;
|
|
229
|
-
colorBlue140: $color-blue-140;
|
|
230
|
-
colorBlue150: $color-blue-150;
|
|
231
|
-
colorBlue160: $color-blue-160;
|
|
232
|
-
|
|
233
|
-
colorTeal00: $color-teal-00;
|
|
234
|
-
colorTeal10: $color-teal-10;
|
|
235
|
-
colorTeal20: $color-teal-20;
|
|
236
|
-
colorTeal30: $color-teal-30;
|
|
237
|
-
colorTeal40: $color-teal-40;
|
|
238
|
-
colorTeal50: $color-teal-50;
|
|
239
|
-
colorTeal60: $color-teal-60;
|
|
240
|
-
colorTeal70: $color-teal-70;
|
|
241
|
-
colorTeal80: $color-teal-80;
|
|
242
|
-
colorTeal90: $color-teal-90;
|
|
243
|
-
colorTeal100: $color-teal-100;
|
|
244
|
-
colorTeal110: $color-teal-110;
|
|
245
|
-
colorTeal120: $color-teal-120;
|
|
246
|
-
colorTeal130: $color-teal-130;
|
|
247
|
-
colorTeal140: $color-teal-140;
|
|
248
|
-
colorTeal150: $color-teal-150;
|
|
249
|
-
colorTeal160: $color-teal-160;
|
|
250
|
-
|
|
251
|
-
colorMagenta00: $color-magenta-00;
|
|
252
|
-
colorMagenta10: $color-magenta-10;
|
|
253
|
-
colorMagenta20: $color-magenta-20;
|
|
254
|
-
colorMagenta30: $color-magenta-30;
|
|
255
|
-
colorMagenta40: $color-magenta-40;
|
|
256
|
-
colorMagenta50: $color-magenta-50;
|
|
257
|
-
colorMagenta60: $color-magenta-60;
|
|
258
|
-
colorMagenta70: $color-magenta-70;
|
|
259
|
-
colorMagenta80: $color-magenta-80;
|
|
260
|
-
colorMagenta90: $color-magenta-90;
|
|
261
|
-
colorMagenta100: $color-magenta-100;
|
|
262
|
-
colorMagenta110: $color-magenta-110;
|
|
263
|
-
colorMagenta120: $color-magenta-120;
|
|
264
|
-
colorMagenta130: $color-magenta-130;
|
|
265
|
-
colorMagenta140: $color-magenta-140;
|
|
266
|
-
colorMagenta150: $color-magenta-150;
|
|
267
|
-
colorMagenta160: $color-magenta-160;
|
|
268
|
-
|
|
269
|
-
colorPurple00: $color-purple-00;
|
|
270
|
-
colorPurple10: $color-purple-10;
|
|
271
|
-
colorPurple20: $color-purple-20;
|
|
272
|
-
colorPurple30: $color-purple-30;
|
|
273
|
-
colorPurple40: $color-purple-40;
|
|
274
|
-
colorPurple50: $color-purple-50;
|
|
275
|
-
colorPurple60: $color-purple-60;
|
|
276
|
-
colorPurple70: $color-purple-70;
|
|
277
|
-
colorPurple80: $color-purple-80;
|
|
278
|
-
colorPurple90: $color-purple-90;
|
|
279
|
-
colorPurple100: $color-purple-100;
|
|
280
|
-
colorPurple110: $color-purple-110;
|
|
281
|
-
colorPurple120: $color-purple-120;
|
|
282
|
-
colorPurple130: $color-purple-130;
|
|
283
|
-
colorPurple140: $color-purple-140;
|
|
284
|
-
colorPurple150: $color-purple-150;
|
|
285
|
-
colorPurple160: $color-purple-160;
|
|
286
|
-
|
|
287
|
-
colorOrange00: $color-orange-00;
|
|
288
|
-
colorOrange10: $color-orange-10;
|
|
289
|
-
colorOrange20: $color-orange-20;
|
|
290
|
-
colorOrange30: $color-orange-30;
|
|
291
|
-
colorOrange40: $color-orange-40;
|
|
292
|
-
colorOrange50: $color-orange-50;
|
|
293
|
-
colorOrange60: $color-orange-60;
|
|
294
|
-
colorOrange70: $color-orange-70;
|
|
295
|
-
colorOrange80: $color-orange-80;
|
|
296
|
-
colorOrange90: $color-orange-90;
|
|
297
|
-
colorOrange100: $color-orange-100;
|
|
298
|
-
colorOrange110: $color-orange-110;
|
|
299
|
-
colorOrange120: $color-orange-120;
|
|
300
|
-
colorOrange130: $color-orange-130;
|
|
301
|
-
colorOrange140: $color-orange-140;
|
|
302
|
-
colorOrange150: $color-orange-150;
|
|
303
|
-
colorOrange160: $color-orange-160;
|
|
304
|
-
|
|
305
|
-
colorYellow00: $color-yellow-00;
|
|
306
|
-
colorYellow10: $color-yellow-10;
|
|
307
|
-
colorYellow20: $color-yellow-20;
|
|
308
|
-
colorYellow30: $color-yellow-30;
|
|
309
|
-
colorYellow40: $color-yellow-40;
|
|
310
|
-
colorYellow50: $color-yellow-50;
|
|
311
|
-
colorYellow60: $color-yellow-60;
|
|
312
|
-
colorYellow70: $color-yellow-70;
|
|
313
|
-
colorYellow80: $color-yellow-80;
|
|
314
|
-
colorYellow90: $color-yellow-90;
|
|
315
|
-
colorYellow100: $color-yellow-100;
|
|
316
|
-
colorYellow110: $color-yellow-110;
|
|
317
|
-
colorYellow120: $color-yellow-120;
|
|
318
|
-
colorYellow130: $color-yellow-130;
|
|
319
|
-
colorYellow140: $color-yellow-140;
|
|
320
|
-
colorYellow150: $color-yellow-150;
|
|
321
|
-
colorYellow160: $color-yellow-160;
|
|
322
|
-
}
|