@brightspace-ui/core 3.141.1 → 3.142.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.
@@ -30,7 +30,7 @@
|
|
30
30
|
<div>Welcome!</div>
|
31
31
|
</d2l-list-item-content>
|
32
32
|
<d2l-list slot="nested" grid>
|
33
|
-
<d2l-list-item-nav key="L2-1" label="Syallabus Confirmation">
|
33
|
+
<d2l-list-item-nav key="L2-1" label="Syallabus Confirmation" action-href="https://d2l.com" prevent-navigation>
|
34
34
|
<d2l-list-item-content>
|
35
35
|
<div><d2l-icon style="margin-right: 0.7rem;" icon="tier2:file-document"></d2l-icon>Syallabus Confirmation</div>
|
36
36
|
<div slot="secondary"><d2l-tooltip-help text="Due: May 2, 2023 at 2 pm" style="padding: 5px;">Start: May 1, 2023 at 12:01 AM</d2l-tooltip-help></div>
|
@@ -38,18 +38,18 @@
|
|
38
38
|
</d2l-list-item-nav>
|
39
39
|
</d2l-list>
|
40
40
|
</d2l-list-item-nav>
|
41
|
-
<d2l-list-item-nav key="L2-2" label="Unit 1: Poetry" color="#29a6ff" expandable expanded>
|
41
|
+
<d2l-list-item-nav key="L2-2" label="Unit 1: Poetry" color="#29a6ff" expandable expanded action-href="https://d2l.com" prevent-navigation>
|
42
42
|
<d2l-list-item-content>
|
43
43
|
<div>Unit 1: Fiction</div>
|
44
44
|
<div slot="secondary"><d2l-tooltip-help text="Due: May 2, 2023 at 5 pm" style="padding: 5px;">Starts: May 1, 2023 at 12:01 AM</d2l-tooltip-help></div>
|
45
45
|
</d2l-list-item-content>
|
46
46
|
<d2l-list slot="nested" grid>
|
47
|
-
<d2l-list-item-nav key="L3-2" label="Fiction">
|
47
|
+
<d2l-list-item-nav key="L3-2" label="Fiction" action-href="https://d2l.com" prevent-navigation>
|
48
48
|
<d2l-list-item-content>
|
49
49
|
<div><d2l-icon style="margin-right: 0.7rem;" icon="tier2:file-document"></d2l-icon>Fiction</div>
|
50
50
|
</d2l-list-item-content>
|
51
51
|
</d2l-list-item-nav>
|
52
|
-
<d2l-list-item-nav key="L3-2" label="Ten rules for writing fiction">
|
52
|
+
<d2l-list-item-nav key="L3-2" label="Ten rules for writing fiction" action-href="https://d2l.com" prevent-navigation>
|
53
53
|
<d2l-list-item-content>
|
54
54
|
<div><d2l-icon style="margin-right: 0.7rem;" icon="tier2:file-document"></d2l-icon>Ten rules for writing fiction</div>
|
55
55
|
</d2l-list-item-content>
|
@@ -208,6 +208,18 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
208
208
|
--d2l-list-item-content-text-outline: 2px solid var(--d2l-color-celestine);
|
209
209
|
--d2l-list-item-content-text-outline-offset: 1px;
|
210
210
|
}
|
211
|
+
@supports selector(:has(a, b)) {
|
212
|
+
:host([_list-item-new-styles][_focusing-primary-action]) .d2l-list-item-content {
|
213
|
+
--d2l-list-item-content-text-border-radius: initial;
|
214
|
+
--d2l-list-item-content-text-outline: initial;
|
215
|
+
--d2l-list-item-content-text-outline-offset: initial;
|
216
|
+
}
|
217
|
+
:host([_list-item-new-styles][_focusing-primary-action]):has(:focus-visible) .d2l-list-item-content {
|
218
|
+
--d2l-list-item-content-text-border-radius: 3px;
|
219
|
+
--d2l-list-item-content-text-outline: 2px solid var(--d2l-color-celestine);
|
220
|
+
--d2l-list-item-content-text-outline-offset: 1px;
|
221
|
+
}
|
222
|
+
}
|
211
223
|
[slot="content-action"] {
|
212
224
|
height: 100%;
|
213
225
|
}
|
@@ -45,6 +45,20 @@ export const ListItemNavMixin = superclass => class extends ListItemLinkMixin(su
|
|
45
45
|
--d2l-list-item-content-text-decoration: none;
|
46
46
|
}
|
47
47
|
|
48
|
+
/* clean up with GAUD-7495-list-item-new-styles flag */
|
49
|
+
@supports selector(:has(a, b)) {
|
50
|
+
:host([_focusing-primary-action]) .d2l-list-item-content {
|
51
|
+
--d2l-list-item-content-text-border-radius: initial;
|
52
|
+
--d2l-list-item-content-text-outline: initial;
|
53
|
+
--d2l-list-item-content-text-outline-offset: initial;
|
54
|
+
}
|
55
|
+
:host([_focusing-primary-action]):has(:focus-visible) .d2l-list-item-content {
|
56
|
+
--d2l-list-item-content-text-border-radius: 3px;
|
57
|
+
--d2l-list-item-content-text-outline: 2px solid var(--d2l-color-celestine);
|
58
|
+
--d2l-list-item-content-text-outline-offset: 1px;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
48
62
|
` ];
|
49
63
|
|
50
64
|
super.styles && styles.unshift(super.styles);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.142.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",
|