@dexteel/mesf-core 4.16.7 → 4.16.8

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.16.7"
2
+ ".": "4.16.8"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # Changelog
2
+
3
+ ## [4.16.8](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.7...@dexteel/mesf-core-v4.16.8) (2024-07-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **ShiftNavigator:** Show current date correctly ([289ca45](https://github.com/dexteel/mesf-core-frontend/commit/289ca45143f76544bbc26289f3cd0be0b82d6c1d))
9
+
10
+ ## [4.16.7] - 2024-07-19
11
+
12
+
13
+
1
14
  # Changelog
2
15
 
3
16
  ## [4.16.7](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.6...@dexteel/mesf-core-v4.16.7) (2024-07-19)
package/dist/index.esm.js CHANGED
@@ -4,8 +4,8 @@ import { values, get, isNil as isNil$1, isEmpty, round, isNaN, isNumber } from '
4
4
  import * as React from 'react';
5
5
  import React__default, { useState, useRef, useEffect, useMemo, Component, createContext, useContext, useCallback, lazy, Suspense } from 'react';
6
6
  import { ArrowRight, ArrowBackRounded, ArrowForwardRounded, SkipNext, ChevronLeft, ChevronRight } from '@material-ui/icons';
7
- import { DatePicker } from '@mui/x-date-pickers/DatePicker/DatePicker';
8
7
  import { Outlet, useParams, useNavigate, useSearchParams, Link, Navigate, Routes, Route, BrowserRouter } from 'react-router-dom';
8
+ import { DatePicker } from '@mui/x-date-pickers/DatePicker';
9
9
  import { Alert as Alert$1, Modal as Modal$1, Navbar, Container, Nav, NavDropdown } from 'react-bootstrap';
10
10
  import { useMsal, MsalProvider } from '@azure/msal-react';
11
11
  import { LogLevel, PublicClientApplication } from '@azure/msal-browser';
@@ -7757,7 +7757,7 @@ var ShiftDayNavigatorControl = function (props) {
7757
7757
  }, size: "small" },
7758
7758
  React__default.createElement(ArrowBackRounded, null)))),
7759
7759
  React__default.createElement(Grid, { item: true },
7760
- React__default.createElement(DatePicker, { label: "Current Date", timezone: TimeService.getInstance().getServerTimeZone(), format: "MM/DD/YYYY", maxDate: moment(), closeOnSelect: true, formatDensity: 'dense', value: moment(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.CurrentProductionDate), onChange: function (date) {
7760
+ React__default.createElement(DatePicker, { label: "Current Date", timezone: 'UTC', format: "MM/DD/YYYY", maxDate: moment(), closeOnSelect: true, formatDensity: 'dense', value: moment(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.CurrentProductionDate), onChange: function (date) {
7761
7761
  if (date) {
7762
7762
  getShiftDataFromAPI(date.toDate(), 0)
7763
7763
  .then(function () {