@brightspace-ui/core 3.87.1 → 3.88.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.
@@ -174,7 +174,7 @@ The `d2l-card` element is a container that provides specific layout using severa
|
|
174
174
|
| `rel` | String | Relationship of the target object to the link object |
|
175
175
|
| `subtle` | Boolean | Subtle aesthetic on non-white backgrounds |
|
176
176
|
| `target` | String | Where to display the linked URL |
|
177
|
-
| `text` | String | Accessible text for the card
|
177
|
+
| `text` | String | Accessible text for the card; required if `href` is set |
|
178
178
|
|
179
179
|
See the [anchor element docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information on standard link attributes and their values.
|
180
180
|
<!-- docs: end hidden content -->
|
@@ -292,7 +292,7 @@ The `d2l-card-footer-link` element is an icon link that can be placed in the `fo
|
|
292
292
|
| Property | Type | Description |
|
293
293
|
|--|--|--|
|
294
294
|
| `icon` | String, required | Preset icon key (ex. "tier1:gear") |
|
295
|
-
| `text` | String, required | Accessible text for the link
|
295
|
+
| `text` | String, required | Accessible text for the link |
|
296
296
|
| `download` | Boolean | Download a URL instead of navigating to it |
|
297
297
|
| `href` | String | Location for the primary action/navigation |
|
298
298
|
| `rel` | String | Relationship of the target object to the link object |
|
@@ -61,7 +61,7 @@ class CardFooterLink extends FocusMixin(RtlMixin(LitElement)) {
|
|
61
61
|
*/
|
62
62
|
target: { type: String, reflect: true },
|
63
63
|
/**
|
64
|
-
* REQUIRED: Accessible text for the link
|
64
|
+
* ACCESSIBILITY: REQUIRED: Accessible text for the link
|
65
65
|
* @type {string}
|
66
66
|
*/
|
67
67
|
text: { type: String, reflect: true },
|
package/components/card/card.js
CHANGED
@@ -56,7 +56,7 @@ class Card extends FocusMixin(RtlMixin(LitElement)) {
|
|
56
56
|
*/
|
57
57
|
target: { type: String, reflect: true },
|
58
58
|
/**
|
59
|
-
* Accessible text for the card
|
59
|
+
* ACCESSIBILITY: Accessible text for the card; required if `href` is set
|
60
60
|
* @type {string}
|
61
61
|
*/
|
62
62
|
text: { type: String, reflect: true },
|
package/custom-elements.json
CHANGED
@@ -1006,7 +1006,7 @@
|
|
1006
1006
|
},
|
1007
1007
|
{
|
1008
1008
|
"name": "text",
|
1009
|
-
"description": "REQUIRED: Accessible text for the link
|
1009
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the link",
|
1010
1010
|
"type": "string"
|
1011
1011
|
},
|
1012
1012
|
{
|
@@ -1073,7 +1073,7 @@
|
|
1073
1073
|
{
|
1074
1074
|
"name": "text",
|
1075
1075
|
"attribute": "text",
|
1076
|
-
"description": "REQUIRED: Accessible text for the link
|
1076
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the link",
|
1077
1077
|
"type": "string"
|
1078
1078
|
},
|
1079
1079
|
{
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
},
|
1160
1160
|
{
|
1161
1161
|
"name": "text",
|
1162
|
-
"description": "Accessible text for the card
|
1162
|
+
"description": "ACCESSIBILITY: Accessible text for the card; required if `href` is set",
|
1163
1163
|
"type": "string"
|
1164
1164
|
},
|
1165
1165
|
{
|
@@ -1214,7 +1214,7 @@
|
|
1214
1214
|
{
|
1215
1215
|
"name": "text",
|
1216
1216
|
"attribute": "text",
|
1217
|
-
"description": "Accessible text for the card
|
1217
|
+
"description": "ACCESSIBILITY: Accessible text for the card; required if `href` is set",
|
1218
1218
|
"type": "string"
|
1219
1219
|
},
|
1220
1220
|
{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.88.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",
|