@dexteel/mesf-core 4.16.1 → 4.16.5

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.
@@ -0,0 +1,31 @@
1
+ name: NPM Publish
2
+
3
+ on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - master
8
+
9
+ jobs:
10
+ publish:
11
+ if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-please')
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 'lts/hydrogen' # Adjust this to your Node.js version
20
+ registry-url: 'https://registry.npmjs.org'
21
+
22
+ - name: Install dependencies
23
+ run: npm install
24
+
25
+ - name: Build
26
+ run: npm run build
27
+
28
+ - name: Publish to npm
29
+ run: npm publish
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -36,7 +36,7 @@ jobs:
36
36
  if: ${{ steps.release.outputs.release_created }}
37
37
  run: |
38
38
  find . -name "package-lock.json" -type f -delete
39
- npm install --package-lock-only
39
+ npm install
40
40
 
41
41
  - name: Update CHANGELOG.md
42
42
  if: ${{ steps.release.outputs.release_created }}
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.16.1"
2
+ ".": "4.16.5"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.16.5](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.4...@dexteel/mesf-core-v4.16.5) (2024-07-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **devops:** fix react17 typings resolutions ([b9424eb](https://github.com/dexteel/mesf-core-frontend/commit/b9424eb53494bbb67f8eb6a378c5ee45a24662d9))
9
+
10
+ ## [4.16.4] - 2024-07-12
11
+
12
+
13
+
14
+ # Changelog
15
+
16
+ ## [4.16.4](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.3...@dexteel/mesf-core-v4.16.4) (2024-07-12)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **devops:** force resolutions to react 17 ([9389a8b](https://github.com/dexteel/mesf-core-frontend/commit/9389a8b5e88bbf89fb0c7163abfb6d00af522eba))
22
+
23
+ ## [4.16.3] - 2024-07-12
24
+
25
+
26
+
27
+ # Changelog
28
+
29
+ ## [4.16.3](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.2...@dexteel/mesf-core-v4.16.3) (2024-07-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **devops:** Fix dependencies install in GH ([92c21af](https://github.com/dexteel/mesf-core-frontend/commit/92c21af53c55f24f97996b10594f27a35826a2ee))
35
+
36
+ ## [4.16.2] - 2024-07-12
37
+
38
+
39
+
40
+ # Changelog
41
+
42
+ ## [4.16.2](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.1...@dexteel/mesf-core-v4.16.2) (2024-07-12)
43
+
44
+
45
+ ### Bug Fixes
46
+
47
+ * **ShiftNavigator:** Prohibit future dates. Disable Last Shift button when needed. ([2674206](https://github.com/dexteel/mesf-core-frontend/commit/267420648d95275ec79c3171d466f683cb0c7d61))
48
+
3
49
  ## [4.16.1] - 2024-07-08
4
50
 
5
51
 
package/dist/index.esm.js CHANGED
@@ -7784,7 +7784,7 @@ var ShiftDayNavigatorControl = function (props) {
7784
7784
  }, size: "small" },
7785
7785
  React__default.createElement(ArrowBackRounded, null)))),
7786
7786
  React__default.createElement(Grid, { item: true },
7787
- React__default.createElement(DatePicker, { label: "Current Date", timezone: TimeService.getInstance().getServerTimeZone(), format: "MM/DD/YYYY", closeOnSelect: true, formatDensity: 'dense', value: moment(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.CurrentProductionDate), onChange: function (date) {
7787
+ 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) {
7788
7788
  if (date) {
7789
7789
  getShiftDataFromAPI(date.toDate(), 0)
7790
7790
  .then(function () {
@@ -7814,7 +7814,7 @@ var ShiftDayNavigatorControl = function (props) {
7814
7814
  React__default.createElement(ArrowForwardRounded, null)))),
7815
7815
  React__default.createElement(Grid, { item: true },
7816
7816
  React__default.createElement(Tooltip, { title: 'Last Shift' },
7817
- React__default.createElement(IconButton$1, { "aria-label": "delete", color: 'primary', disabled: !(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.LastShiftId), onClick: function () {
7817
+ React__default.createElement(IconButton$1, { "aria-label": "delete", color: 'primary', disabled: !(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.LastShiftId) || !(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.NextShiftId), onClick: function () {
7818
7818
  moveShift("Last").then(function () {
7819
7819
  });
7820
7820
  }, size: "small" },