@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.cjs.js CHANGED
@@ -6223,32 +6223,8 @@ var OverallSection = function OverallSection(_ref) {
6223
6223
  subtitle: "Revenue trend \xB7 last 30 days",
6224
6224
  value: "$".concat(formatNumber((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.totalValue) || "$0")),
6225
6225
  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"),
6226
- chartData: [{
6227
- "label": "Apr 5",
6228
- "value": 1200
6229
- }, {
6230
- "label": "Apr 10",
6231
- "value": 1800
6232
- }, {
6233
- "label": "Apr 17",
6234
- "value": 1400
6235
- }, {
6236
- "label": "Apr 24",
6237
- "value": 2200
6238
- }, {
6239
- "label": "May 6",
6240
- "value": 2600
6241
- }],
6242
- footerMetrics: [{
6243
- label: "Avg/day",
6244
- value: "$640"
6245
- }, {
6246
- label: "Peak day",
6247
- value: "$1.4K"
6248
- }, {
6249
- label: "Orders",
6250
- value: "84"
6251
- }]
6226
+ chartData: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.orderBumpMetrics,
6227
+ footerMetrics: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.footerMetrics
6252
6228
  })
6253
6229
  }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
6254
6230
  item: true,