@ammarkhalidfarooq/dashboard-package 0.4.11 → 0.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6221,32 +6221,8 @@ var OverallSection = function OverallSection(_ref) {
6221
6221
  subtitle: "Revenue trend \xB7 last 30 days",
6222
6222
  value: "$".concat(formatNumber((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.totalValue) || "$0")),
6223
6223
  trend: "\u25B2 ".concat(orderBumpData === null || orderBumpData === void 0 || (_orderBumpData$prevTr = orderBumpData.prevTrend) === null || _orderBumpData$prevTr === void 0 ? void 0 : _orderBumpData$prevTr.toFixed(1), "% vs last month"),
6224
- chartData: [{
6225
- "label": "Apr 5",
6226
- "value": 1200
6227
- }, {
6228
- "label": "Apr 10",
6229
- "value": 1800
6230
- }, {
6231
- "label": "Apr 17",
6232
- "value": 1400
6233
- }, {
6234
- "label": "Apr 24",
6235
- "value": 2200
6236
- }, {
6237
- "label": "May 6",
6238
- "value": 2600
6239
- }],
6240
- footerMetrics: [{
6241
- label: "Avg/day",
6242
- value: "$640"
6243
- }, {
6244
- label: "Peak day",
6245
- value: "$1.4K"
6246
- }, {
6247
- label: "Orders",
6248
- value: "84"
6249
- }]
6224
+ chartData: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.orderBumpMetrics,
6225
+ footerMetrics: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.footerMetrics
6250
6226
  })
6251
6227
  }), /*#__PURE__*/jsx(Grid, {
6252
6228
  item: true,