@ammarkhalidfarooq/dashboard-package 0.6.75 → 0.6.77
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 +7 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2594,8 +2594,7 @@ var KpiCard = function KpiCard(_ref11) {
|
|
|
2594
2594
|
fontSize: 8,
|
|
2595
2595
|
fontWeight: 700,
|
|
2596
2596
|
letterSpacing: "0.7px",
|
|
2597
|
-
color: "#64748B"
|
|
2598
|
-
textTransform: "uppercase"
|
|
2597
|
+
color: "#64748B"
|
|
2599
2598
|
},
|
|
2600
2599
|
children: title
|
|
2601
2600
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -2770,14 +2769,17 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
2770
2769
|
var now = new Date();
|
|
2771
2770
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
2772
2771
|
var windowLabel = "".concat(numberOfDays, "-day window");
|
|
2773
|
-
var
|
|
2772
|
+
var estOptions = {
|
|
2773
|
+
timeZone: "America/New_York"
|
|
2774
|
+
};
|
|
2775
|
+
var generatedLabel = now.toLocaleDateString("en-US", _objectSpread2({
|
|
2774
2776
|
month: "short",
|
|
2775
2777
|
day: "numeric",
|
|
2776
2778
|
year: "numeric"
|
|
2777
|
-
}) + " · " + now.toLocaleTimeString("en-US", {
|
|
2779
|
+
}, estOptions)) + " · " + now.toLocaleTimeString("en-US", _objectSpread2({
|
|
2778
2780
|
hour: "2-digit",
|
|
2779
2781
|
minute: "2-digit"
|
|
2780
|
-
}) + "
|
|
2782
|
+
}, estOptions)) + " EST";
|
|
2781
2783
|
var dateLabel = dateName;
|
|
2782
2784
|
var _normalizeFiltersText = function normalizeFiltersText(filtersInput) {
|
|
2783
2785
|
if (typeof filtersInput === "string") {
|