@brightspace-ui/core 1.222.1 → 1.222.2
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.
- package/components/meter/README.md +11 -12
- package/package.json +1 -1
|
@@ -56,12 +56,11 @@ Linear meters show a horizontal progress bar.
|
|
|
56
56
|
* `value` (required, Number): Current number of completed units. A positive, non-zero number that is less than or equal to `max`.
|
|
57
57
|
* `max` (Number, default: `100`): Max number of units that are being measured by this meter. A positive, non-zero number.
|
|
58
58
|
* `percent` Boolean: Shows a percentage instead of `value/max`.
|
|
59
|
-
* `text-inline` Boolean: Keeps the meter to a single line.
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* `
|
|
63
|
-
* **DEPRECATED** `
|
|
64
|
-
* **DEPRECATED** `{y}` in the string will be replaced with `max`
|
|
59
|
+
* `text-inline` Boolean: Keeps the meter to a single line. Adding one of the following between `{}` (e.g., `{x/y}`) causes replacements:
|
|
60
|
+
* `%` in the string will be replaced with percentage value
|
|
61
|
+
* `x/y` in the string will be replaced with fraction with the proper language support
|
|
62
|
+
* **DEPRECATED** `x` in the string will be replaced with `value`
|
|
63
|
+
* **DEPRECATED** `y` in the string will be replaced with `max`
|
|
65
64
|
<!-- docs: end hidden content -->
|
|
66
65
|
|
|
67
66
|
## Radial meter [d2l-meter-radial]
|
|
@@ -89,9 +88,9 @@ Radial meters appear as a half circle. They have more visual weight than a line
|
|
|
89
88
|
* `value` (required, Number): Current number of completed units. A positive, non-zero number that is less than or equal to `max`.
|
|
90
89
|
* `max` (Number, default: `100`): Max number of units that are being measured by this meter. A positive, non-zero number.
|
|
91
90
|
* `percent` (Boolean): Shows a percentage instead of `value/max`.
|
|
92
|
-
* `text` (String): Context information about what the meter is about.
|
|
93
|
-
*
|
|
94
|
-
* `
|
|
91
|
+
* `text` (String): Context information about what the meter is about. Adding one of the following between `{}` (e.g., `{x/y}`) causes replacements:
|
|
92
|
+
* `%` in the string will be replaced with percentage value
|
|
93
|
+
* `x/y` in the string will be replaced with fraction with the proper language support
|
|
95
94
|
<!-- docs: end hidden content -->
|
|
96
95
|
|
|
97
96
|
|
|
@@ -134,7 +133,7 @@ All `meter` components have a `foreground-light` style that ensures accessibl
|
|
|
134
133
|
* `value` (required, Number): Current number of completed units. A positive, non-zero number that is less than or equal to `max`.
|
|
135
134
|
* `max` (Number, default: `100`): Max number of units that are being measured by this meter. A positive, non-zero number.
|
|
136
135
|
* `percent` (Boolean): Shows a percentage instead of `value/max`.
|
|
137
|
-
* `text` (String): Context information about what the meter is about.
|
|
138
|
-
*
|
|
139
|
-
* `
|
|
136
|
+
* `text` (String): Context information about what the meter is about. Adding one of the following between `{}` (e.g., `{x/y}`) causes replacements:
|
|
137
|
+
* `%` in the string will be replaced with percentage value
|
|
138
|
+
* `x/y` in the string will be replaced with fraction with the proper language support
|
|
140
139
|
<!-- docs: end hidden content -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.222.
|
|
3
|
+
"version": "1.222.2",
|
|
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",
|