@brightspace-ui/core 3.40.1 → 3.40.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.
@@ -63,6 +63,11 @@ The `d2l-filter` component allows a user to filter on one or more dimensions of
|
|
63
63
|
</d2l-filter>
|
64
64
|
```
|
65
65
|
|
66
|
+
### Methods
|
67
|
+
|
68
|
+
- `requestFilterClearAll()`: use to clear all selected filter dimension set values within a filter as well as any performed search
|
69
|
+
- `requestFilterValueClear(keyObject)`: use to clear a specific filter value in a specific filter dimension. Expected input is the filter value's `keyObject` which contains both the `dimension` key and `value` key.
|
70
|
+
|
66
71
|
### Single Vs Multi Dimensional
|
67
72
|
A filter can be a single dimension (like picking from a list of courses) or offer multiple dimensions (filter by role, or department, or something else). Single-dimension filters can be used side-by-side to promote filters that are more commonly used, while tucking less-used filters into a multi-dimensional filter.
|
68
73
|
|
@@ -36,7 +36,7 @@ Meters are a visually engaging way to communicate progress or measurements.
|
|
36
36
|
|
37
37
|
Linear meters show a horizontal progress bar.
|
38
38
|
|
39
|
-
<!-- docs: demo code properties name:d2l-meter-linear sandboxTitle:'Linear
|
39
|
+
<!-- docs: demo code properties name:d2l-meter-linear sandboxTitle:'Meter - Linear' -->
|
40
40
|
```html
|
41
41
|
<script type="module">
|
42
42
|
import '@brightspace-ui/core/components/meter/meter-linear.js';
|
@@ -68,7 +68,7 @@ Linear meters show a horizontal progress bar.
|
|
68
68
|
|
69
69
|
Radial meters appear as a half circle. They have more visual weight than a linear meter and should only be used when the data is central to the user's task.
|
70
70
|
|
71
|
-
<!-- docs: demo code properties name:d2l-meter-radial sandboxTitle:'Radial
|
71
|
+
<!-- docs: demo code properties name:d2l-meter-radial sandboxTitle:'Meter - Radial' size:medium -->
|
72
72
|
```html
|
73
73
|
<script type="module">
|
74
74
|
import '@brightspace-ui/core/components/meter/meter-radial.js';
|
@@ -92,7 +92,7 @@ Radial meters appear as a half circle. They have more visual weight than a line
|
|
92
92
|
|
93
93
|
Circle meters display data in a compact circle format, so they're useful when horizontal space is at a premium.
|
94
94
|
|
95
|
-
<!-- docs: demo code properties name:d2l-meter-circle sandboxTitle:'Circular
|
95
|
+
<!-- docs: demo code properties name:d2l-meter-circle sandboxTitle:'Meter - Circular' -->
|
96
96
|
```html
|
97
97
|
<script type="module">
|
98
98
|
import '@brightspace-ui/core/components/meter/meter-circle.js';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.40.
|
3
|
+
"version": "3.40.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",
|