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