bs-unified-ui 1.0.925 → 1.0.929

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.
Files changed (2) hide show
  1. package/index.js +14 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -20534,12 +20534,20 @@ var TablePagination = function (_a) {
20534
20534
  var val = Number(event.target.value);
20535
20535
  setCurrentPage(val);
20536
20536
  }, onKeyDown: function (event) {
20537
+ var target = event.target;
20538
+ var val = Number(target.value);
20537
20539
  if (event.key === 'Enter') {
20538
- var target = event.target;
20539
- var val = Number(target.value);
20540
- onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(val);
20540
+ var nextPage = Math.min(pageCount, Math.max(pageStart, currentPage));
20541
+ onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(nextPage === currentPage ? val : nextPage);
20541
20542
  }
20542
- }, min: 1, max: pageCount, disableValueMutationByArrowKeys: true }),
20543
+ }, onBlur: function () {
20544
+ if (currentPage < pageStart) {
20545
+ setCurrentPage(1);
20546
+ }
20547
+ if (currentPage > pageCount) {
20548
+ setCurrentPage(pageCount);
20549
+ }
20550
+ }, min: pageStart, max: pageCount, disableValueMutationByArrowKeys: true }),
20543
20551
  React.createElement(material.Typography, { variant: 'fs14', color: theme.foreground.black4 },
20544
20552
  "of ",
20545
20553
  pageCount)) : null));
@@ -46240,6 +46248,8 @@ var useNotificationsV2 = function (options) {
46240
46248
  });
46241
46249
  }
46242
46250
  });
46251
+ // Stop audio repeat for old online store event reminders
46252
+ stopAudioRepeatForGroupIfNoReminders('online_store');
46243
46253
  reminderGroups = getReminderGroups(allRemindersRef.current);
46244
46254
  reminderGroups.forEach(function (group) {
46245
46255
  playAudioForGroup(group);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bs-unified-ui",
3
- "version": "1.0.925",
3
+ "version": "1.0.929",
4
4
  "license": "MIT",
5
5
  "author": "Advesa",
6
6
  "description": "UI Components for Unified Breadstack UI",