@brightspace-ui/core 2.118.8 → 2.118.9

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.
@@ -244,12 +244,10 @@ export const OverflowGroupMixin = superclass => class extends LocalizeCoreElemen
244
244
  showing.count += 1;
245
245
  itemLayout.isChomped = false;
246
246
  itemLayout.trigger = 'soft-show';
247
-
248
247
  } else {
249
248
  isSoftOverflowing = true;
250
249
  itemLayout.isChomped = true;
251
250
  itemLayout.trigger = 'soft-hide';
252
-
253
251
  }
254
252
 
255
253
  }
@@ -272,6 +270,7 @@ export const OverflowGroupMixin = superclass => class extends LocalizeCoreElemen
272
270
  itemLayoutOverflowing.isChomped = true;
273
271
  }
274
272
  }
273
+
275
274
  const overflowOverflowing = (showing.width + this._overflowContainerWidth >= this._availableWidth);
276
275
  const swapToMini = overflowOverflowing && !this._overflowContainerHidden;
277
276
 
@@ -297,8 +296,8 @@ export const OverflowGroupMixin = superclass => class extends LocalizeCoreElemen
297
296
  isChomped: false,
298
297
  isHidden: itemHidden,
299
298
  width: Math.ceil(parseFloat(computedStyles.width) || 0)
300
- + parseInt(computedStyles.marginRight) || 0
301
- + parseInt(computedStyles.marginLeft) || 0,
299
+ + (parseInt(computedStyles.marginRight) || 0)
300
+ + (parseInt(computedStyles.marginLeft) || 0),
302
301
  node: node
303
302
  };
304
303
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.118.8",
3
+ "version": "2.118.9",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",