@brightspace-ui/core 3.228.1 → 3.228.3

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.
@@ -54,6 +54,7 @@ export const menuItemStyles = css`
54
54
  .d2l-menu-item-text {
55
55
  flex: auto;
56
56
  line-height: 1rem;
57
+ white-space: normal;
57
58
  ${getOverflowDeclarations({ lines: 'var(--d2l-menu-item-lines, 2)' })}
58
59
  }
59
60
 
@@ -207,6 +207,7 @@ class Tooltip extends PopoverMixin(LitElement) {
207
207
  connectedCallback() {
208
208
  super.connectedCallback();
209
209
  this.showing = false;
210
+ this.#addListeners();
210
211
  window.addEventListener('resize', this.#handleTargetResizeBound);
211
212
 
212
213
  requestAnimationFrame(() => this.#updateTarget());
@@ -15232,6 +15232,17 @@
15232
15232
  }
15233
15233
  ]
15234
15234
  },
15235
+ {
15236
+ "name": "d2l-demo-tooltip-drag-and-drop-list",
15237
+ "path": "./components/tooltip/demo/tooltip-drag-and-drop-list.js",
15238
+ "properties": [
15239
+ {
15240
+ "name": "listItems",
15241
+ "type": "{}[]",
15242
+ "default": "[{\"key\":\"1\",\"id\":\"li-1\",\"text\":\"List item 1\",\"tooltip\":\"Tooltip for list item 1\"},{\"key\":\"2\",\"id\":\"li-2\",\"text\":\"List item 2\",\"tooltip\":\"Tooltip for list item 2\"},{\"key\":\"3\",\"id\":\"li-3\",\"text\":\"List item 3\",\"tooltip\":\"Tooltip for list item 3\"}]"
15243
+ }
15244
+ ]
15245
+ },
15235
15246
  {
15236
15247
  "name": "d2l-tooltip-help",
15237
15248
  "path": "./components/tooltip/tooltip-help.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.228.1",
3
+ "version": "3.228.3",
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",