@brightspace-ui/core 2.150.3 → 2.151.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.
@@ -185,29 +185,6 @@
185
185
  </template>
186
186
  </d2l-demo-snippet>
187
187
 
188
- <h2>Breakpoints on List Item</h2>
189
-
190
- <d2l-demo-snippet>
191
- <template>
192
- <d2l-list>
193
- <d2l-list-item color="#00ff00" breakpoints="[1170, 391, 0, 0]">
194
- <div style="background: blue; height: 400px; width: 400px;" slot="illustration"></div>
195
- <d2l-list-item-content>
196
- <div>Introductory Pirate Ipsum</div>
197
- <div slot="supporting-info">Case shot Shiver me timbers gangplank crack Jennys tea cup ballast Blimey lee snow crow's nest rutters.</div>
198
- </d2l-list-item-content>
199
- </d2l-list-item>
200
- <d2l-list-item>
201
- <div style="background: blue; height: 400px; width: 400px;" slot="illustration"></div>
202
- <d2l-list-item-content>
203
- <div>Introductory Pirate Ipsum</div>
204
- <div slot="supporting-info">Case shot Shiver me timbers gangplank crack Jennys tea cup ballast Blimey lee snow crow's nest rutters.</div>
205
- </d2l-list-item-content>
206
- </d2l-list-item>
207
- </d2l-list>
208
- </template>
209
- </d2l-demo-snippet>
210
-
211
188
  </d2l-demo-page>
212
189
 
213
190
  </body>
@@ -54,10 +54,6 @@ export const ListItemMixin = superclass => class extends composeMixins(
54
54
 
55
55
  static get properties() {
56
56
  return {
57
- /**
58
- * @ignore
59
- */
60
- breakpoints: { type: Array },
61
57
  /**
62
58
  * A color indicator to appear at the beginning of a list item. Expected value is a valid 3, 4, 6, or 8 character CSS color hex code (e.g., #006fbf).
63
59
  * @type {string}
@@ -409,16 +405,6 @@ export const ListItemMixin = superclass => class extends composeMixins(
409
405
  }
410
406
  }
411
407
 
412
- /** TODO: remove this once usage of breakpoints on d2l-list-item has been moved to the list */
413
- firstUpdated(changedProperties) {
414
- super.firstUpdated(changedProperties);
415
-
416
- if (changedProperties.has('breakpoints') && this.breakpoints) {
417
- const parentList = this.getRootList();
418
- if (!parentList.getAttribute('breakpoints')) parentList.breakpoints = this.breakpoints;
419
- }
420
- }
421
-
422
408
  focus() {
423
409
  this._tryFocus();
424
410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.150.3",
3
+ "version": "2.151.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",