@brightspace-ui/core 3.116.4 → 3.116.6
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.
@@ -32,7 +32,7 @@ Note: All `*-value` properties should be in ISO 8601 calendar date format (`YYYY
|
|
32
32
|
|
33
33
|
### Methods
|
34
34
|
|
35
|
-
- `
|
35
|
+
- `getShownYearAndMonth()`: returns an object containing the year and month in view.
|
36
36
|
|
37
37
|
## Accessibility
|
38
38
|
|
@@ -633,10 +633,6 @@ class Calendar extends LocalizeCoreElement(RtlMixin(LitElement)) {
|
|
633
633
|
}
|
634
634
|
}
|
635
635
|
|
636
|
-
getShownValue() {
|
637
|
-
return new Date(this._shownYear, this._shownMonth).toISOString();
|
638
|
-
}
|
639
|
-
|
640
636
|
getShownYearAndMonth() {
|
641
637
|
return { year: this._shownYear, month: this._shownMonth };
|
642
638
|
}
|
@@ -564,6 +564,8 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
564
564
|
|
565
565
|
// Compute the size of the spaces above, below, left and right and find which space to fit the tooltip in
|
566
566
|
const content = this._getContent();
|
567
|
+
if (content === null) return;
|
568
|
+
|
567
569
|
const spaces = this._computeAvailableSpaces(targetRect, spaceAround);
|
568
570
|
const space = await this._fitContentToSpace(content, spaces);
|
569
571
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.116.
|
3
|
+
"version": "3.116.6",
|
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",
|