@brightspace-ui/core 3.1.2 → 3.1.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.
@@ -48,6 +48,10 @@ input.addEventListener('change', (e) => {
|
|
48
48
|
console.log(input.value);
|
49
49
|
});
|
50
50
|
```
|
51
|
+
|
52
|
+
### Slots
|
53
|
+
|
54
|
+
* `inline-help`: Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
51
55
|
<!-- docs: end hidden content -->
|
52
56
|
|
53
57
|
### Accessibility Properties
|
@@ -81,6 +81,7 @@ const SWATCH_TRANSPARENT = `<svg xmlns="http://www.w3.org/2000/svg" width="24" h
|
|
81
81
|
|
82
82
|
/**
|
83
83
|
* This component allows for inputting a HEX color value.
|
84
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
84
85
|
* @fires change - Dispatched when an alteration to the value is committed by the user.
|
85
86
|
*/
|
86
87
|
class InputColor extends InputInlineHelpMixin(PropertyRequiredMixin(FocusMixin(FormElementMixin(LocalizeCoreElement(LitElement))))) {
|
package/custom-elements.json
CHANGED
@@ -5085,6 +5085,12 @@
|
|
5085
5085
|
"name": "change",
|
5086
5086
|
"description": "Dispatched when an alteration to the value is committed by the user."
|
5087
5087
|
}
|
5088
|
+
],
|
5089
|
+
"slots": [
|
5090
|
+
{
|
5091
|
+
"name": "inline-help",
|
5092
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
5093
|
+
}
|
5088
5094
|
]
|
5089
5095
|
},
|
5090
5096
|
{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.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",
|