@brightspace-ui/core 3.303.0 → 3.304.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.
|
@@ -22,10 +22,6 @@ export const checkboxStyles = _generateInputCheckboxStyles('input[type="checkbox
|
|
|
22
22
|
class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(SkeletonMixin(LitElement)))) {
|
|
23
23
|
|
|
24
24
|
static properties = {
|
|
25
|
-
/**
|
|
26
|
-
* @ignore
|
|
27
|
-
*/
|
|
28
|
-
ariaLabel: { type: String, attribute: 'aria-label' },
|
|
29
25
|
/**
|
|
30
26
|
* Checked state
|
|
31
27
|
* @type {boolean}
|
|
@@ -198,15 +194,6 @@ class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(Ske
|
|
|
198
194
|
}
|
|
199
195
|
}
|
|
200
196
|
|
|
201
|
-
willUpdate(changedProperties) {
|
|
202
|
-
super.willUpdate(changedProperties);
|
|
203
|
-
if (changedProperties.has('ariaLabel') && this.ariaLabel !== undefined) {
|
|
204
|
-
console.error('d2l-input-checkbox: the ariaLabel property is no longer supported. Use the label property with label-hidden instead.');
|
|
205
|
-
this.label = this.ariaLabel;
|
|
206
|
-
this.labelHidden = true;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
197
|
simulateClick() {
|
|
211
198
|
this.checked = !this.checked;
|
|
212
199
|
this.indeterminate = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.304.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",
|