@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.js CHANGED
@@ -140,7 +140,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
140
140
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
141
141
  };
142
142
 
143
- var calculateNestedKeys = function (obj, prefix) {
143
+ var calculateNestedKeys = function (obj) {
144
144
  function flattenHelper(obj, prefix) {
145
145
  return Object.keys(obj).reduce(function (acc, key) {
146
146
  var fullPath = prefix ? "".concat(prefix, ".").concat(key) : key;
@@ -5800,7 +5800,7 @@ var List$1 = function (props) {
5800
5800
  setActive && setActive(tab === null || tab === void 0 ? void 0 : tab.props.accessor);
5801
5801
  // eslint-disable-next-line react-hooks/exhaustive-deps
5802
5802
  }, []);
5803
- var handleCalculateActiveAccessor = function (items) {
5803
+ var handleCalculateActiveAccessor = function () {
5804
5804
  var _a;
5805
5805
  var result = active;
5806
5806
  var currentItem = (_a = React.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; });
@@ -13312,14 +13312,10 @@ var OpeningHourItem = function (props) {
13312
13312
  },
13313
13313
  closed: (_h = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed) !== null && _h !== void 0 ? _h : false,
13314
13314
  openingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime)
13315
- ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime)
13316
- .subtract(2, 'h')
13317
- .format('HH:mm')
13315
+ ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime).subtract(2, 'h').format('HH:mm')
13318
13316
  : '',
13319
13317
  closingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime)
13320
- ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime)
13321
- .subtract(2, 'h')
13322
- .format('HH:mm')
13318
+ ? moment(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime).subtract(2, 'h').format('HH:mm')
13323
13319
  : '',
13324
13320
  });
13325
13321
  }, [