@brightspace-ui/core 2.176.0 → 2.176.1

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.
@@ -1,7 +1,8 @@
1
1
  import { css, html } from 'lit';
2
2
  import { bodySmallStyles } from '../typography/styles.js';
3
+ import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
3
4
 
4
- export const InputInlineHelpMixin = superclass => class extends superclass {
5
+ export const InputInlineHelpMixin = superclass => class extends SkeletonMixin(superclass) {
5
6
 
6
7
  static get properties() {
7
8
  return {
@@ -37,7 +38,7 @@ export const InputInlineHelpMixin = superclass => class extends superclass {
37
38
 
38
39
  _renderInlineHelp(id) {
39
40
  return html`
40
- <div id="${id}" class="d2l-body-small d2l-input-inline-help">
41
+ <div id="${id}" class="d2l-body-small d2l-input-inline-help d2l-skeletize">
41
42
  <slot name="inline-help" @slotchange="${this._handleInlineHelpSlotChange}"></slot>
42
43
  </div>
43
44
  `;
@@ -4954,6 +4954,11 @@
4954
4954
  "type": "'background'|'foreground'|'custom'",
4955
4955
  "default": "\"end\""
4956
4956
  },
4957
+ {
4958
+ "name": "skeleton",
4959
+ "description": "Render the component as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton).",
4960
+ "type": "boolean"
4961
+ },
4957
4962
  {
4958
4963
  "name": "name",
4959
4964
  "description": "Name of the form control. Submitted with the form as part of a name/value pair.",
@@ -5019,6 +5024,12 @@
5019
5024
  "type": "'background'|'foreground'|'custom'",
5020
5025
  "default": "\"end\""
5021
5026
  },
5027
+ {
5028
+ "name": "skeleton",
5029
+ "attribute": "skeleton",
5030
+ "description": "Render the component as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton).",
5031
+ "type": "boolean"
5032
+ },
5022
5033
  {
5023
5034
  "name": "name",
5024
5035
  "attribute": "name",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.176.0",
3
+ "version": "2.176.1",
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",