@brightspace-ui/core 3.115.1 → 3.116.0

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.
@@ -737,7 +737,7 @@ class Tooltip extends RtlMixin(LitElement) {
737
737
  this._maxWidth = space.width;
738
738
  await this.updateComplete;
739
739
 
740
- if (content.scrollWidth + 2 * contentBorderSize <= space.width && content.scrollHeight + 2 * contentBorderSize <= space.height) {
740
+ if (content.scrollWidth + 2 * contentBorderSize <= Math.ceil(space.width) && content.scrollHeight + 2 * contentBorderSize <= Math.ceil(space.height)) {
741
741
  return space;
742
742
  }
743
743
  }
@@ -8,6 +8,9 @@ export const _LocalizeMixinBase = dedupeMixin(superclass => class LocalizeMixinB
8
8
  constructor() {
9
9
  super();
10
10
  super.constructor.setLocalizeMarkup(localizeMarkup);
11
+ if (super.constructor.documentLocaleSettings.pseudoLocalization?.textFormat) {
12
+ this.localize = (...args) => super.constructor.pseudoLocalize((...args) => super.localize(...args), ...args);
13
+ }
11
14
  }
12
15
 
13
16
  connectedCallback() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.115.1",
3
+ "version": "3.116.0",
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",