@ballistix.digital/react-components 3.2.3 → 3.2.4

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.esm.js CHANGED
@@ -119,7 +119,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
119
119
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
120
120
  };
121
121
 
122
- var calculateNestedKeys = function (obj, prefix) {
122
+ var calculateNestedKeys = function (obj) {
123
123
  function flattenHelper(obj, prefix) {
124
124
  return Object.keys(obj).reduce(function (acc, key) {
125
125
  var fullPath = prefix ? "".concat(prefix, ".").concat(key) : key;
@@ -5779,7 +5779,7 @@ var List$1 = function (props) {
5779
5779
  setActive && setActive(tab === null || tab === void 0 ? void 0 : tab.props.accessor);
5780
5780
  // eslint-disable-next-line react-hooks/exhaustive-deps
5781
5781
  }, []);
5782
- var handleCalculateActiveAccessor = function (items) {
5782
+ var handleCalculateActiveAccessor = function () {
5783
5783
  var _a;
5784
5784
  var result = active;
5785
5785
  var currentItem = (_a = Children.map(children, function (child) { return (__assign$1({}, child.props)); })) === null || _a === void 0 ? void 0 : _a.find(function (tab) { return tab === null || tab === void 0 ? void 0 : tab.isCurrent; });
@@ -13291,14 +13291,10 @@ var OpeningHourItem = function (props) {
13291
13291
  },
13292
13292
  closed: (_h = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed) !== null && _h !== void 0 ? _h : false,
13293
13293
  openingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime)
13294
- ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime)
13295
- .subtract(2, 'h')
13296
- .format('HH:mm')
13294
+ ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime).subtract(2, 'h').format('HH:mm')
13297
13295
  : '',
13298
13296
  closingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime)
13299
- ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime)
13300
- .subtract(2, 'h')
13301
- .format('HH:mm')
13297
+ ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime).subtract(2, 'h').format('HH:mm')
13302
13298
  : '',
13303
13299
  });
13304
13300
  }, [