@levi-gemcommerce/analytics 1.0.0-dev.24 → 1.0.0-dev.25

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/esm/index.js CHANGED
@@ -15,7 +15,6 @@ import { PolarisVizProvider, LineChart, DonutChart } from '@shopify/polaris-viz'
15
15
  import chartStyle from '@shopify/polaris-viz/build/esm/styles.css?url';
16
16
  import { unstable_batchedUpdates, createPortal } from 'react-dom';
17
17
  import { t as t$1 } from 'i18next';
18
- import IMAGE_ANALYTIC_EMPTY$1 from '~/modules/analytics/assets/img/analytic-empty.png';
19
18
 
20
19
  var EMetricKey;
21
20
  (function (EMetricKey) {
@@ -25318,7 +25317,7 @@ const PathAnalysisChart = ({ funnelColors, isEnabled }) => {
25318
25317
  const CardAnalyticEmpty = ({ boxProps, minHeight, description, title }) => {
25319
25318
  const { t } = useTranslation();
25320
25319
  const descriptionText = description || t('Data needs time to gather');
25321
- return (jsx(Box, { minWidth: "100%", ...boxProps, children: jsx(GBlockCenter, { minHeight: minHeight, children: jsx(Box, { padding: '400', children: jsxs(BlockStack, { gap: "400", align: "center", inlineAlign: "center", children: [jsx("div", { className: "h-[80px] w-[80px]", children: jsx(GThumbnail, { source: IMAGE_ANALYTIC_EMPTY$1, width: "80px", height: "80px", alt: t('No data yet'), classRemoved: true }) }), jsxs(BlockStack, { gap: "200", align: "center", inlineAlign: "center", children: [jsx(Text, { as: "h4", variant: "headingSm", fontWeight: "semibold", children: title || t('No data yet') }), jsx(Text, { as: "h4", variant: "bodyMd", tone: "subdued", children: descriptionText })] })] }) }) }) }));
25320
+ return (jsx(Box, { minWidth: "100%", ...boxProps, children: jsx(GBlockCenter, { minHeight: minHeight, children: jsx(Box, { padding: '400', children: jsxs(BlockStack, { gap: "400", align: "center", inlineAlign: "center", children: [jsx("div", { className: "h-[80px] w-[80px]", children: jsx(GThumbnail, { source: IMAGE_ANALYTIC_EMPTY, width: "80px", height: "80px", alt: t('No data yet'), classRemoved: true }) }), jsxs(BlockStack, { gap: "200", align: "center", inlineAlign: "center", children: [jsx(Text, { as: "h4", variant: "headingSm", fontWeight: "semibold", children: title || t('No data yet') }), jsx(Text, { as: "h4", variant: "bodyMd", tone: "subdued", children: descriptionText })] })] }) }) }) }));
25322
25321
  };
25323
25322
 
25324
25323
  const CardPathAnalysisEmpty = ({ funnelColors }) => {
@@ -15,7 +15,6 @@ import { PolarisVizProvider, LineChart, DonutChart } from '@shopify/polaris-viz'
15
15
  import chartStyle from '@shopify/polaris-viz/build/esm/styles.css?url';
16
16
  import { unstable_batchedUpdates, createPortal } from 'react-dom';
17
17
  import { t as t$1 } from 'i18next';
18
- import IMAGE_ANALYTIC_EMPTY$1 from '~/modules/analytics/assets/img/analytic-empty.png';
19
18
 
20
19
  var EMetricKey;
21
20
  (function (EMetricKey) {
@@ -25318,7 +25317,7 @@ const PathAnalysisChart = ({ funnelColors, isEnabled }) => {
25318
25317
  const CardAnalyticEmpty = ({ boxProps, minHeight, description, title }) => {
25319
25318
  const { t } = useTranslation();
25320
25319
  const descriptionText = description || t('Data needs time to gather');
25321
- return (jsx(Box, { minWidth: "100%", ...boxProps, children: jsx(GBlockCenter, { minHeight: minHeight, children: jsx(Box, { padding: '400', children: jsxs(BlockStack, { gap: "400", align: "center", inlineAlign: "center", children: [jsx("div", { className: "h-[80px] w-[80px]", children: jsx(GThumbnail, { source: IMAGE_ANALYTIC_EMPTY$1, width: "80px", height: "80px", alt: t('No data yet'), classRemoved: true }) }), jsxs(BlockStack, { gap: "200", align: "center", inlineAlign: "center", children: [jsx(Text, { as: "h4", variant: "headingSm", fontWeight: "semibold", children: title || t('No data yet') }), jsx(Text, { as: "h4", variant: "bodyMd", tone: "subdued", children: descriptionText })] })] }) }) }) }));
25320
+ return (jsx(Box, { minWidth: "100%", ...boxProps, children: jsx(GBlockCenter, { minHeight: minHeight, children: jsx(Box, { padding: '400', children: jsxs(BlockStack, { gap: "400", align: "center", inlineAlign: "center", children: [jsx("div", { className: "h-[80px] w-[80px]", children: jsx(GThumbnail, { source: IMAGE_ANALYTIC_EMPTY, width: "80px", height: "80px", alt: t('No data yet'), classRemoved: true }) }), jsxs(BlockStack, { gap: "200", align: "center", inlineAlign: "center", children: [jsx(Text, { as: "h4", variant: "headingSm", fontWeight: "semibold", children: title || t('No data yet') }), jsx(Text, { as: "h4", variant: "bodyMd", tone: "subdued", children: descriptionText })] })] }) }) }) }));
25322
25321
  };
25323
25322
 
25324
25323
  const CardPathAnalysisEmpty = ({ funnelColors }) => {