@brightspace-ui/core 1.196.0 → 1.197.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.
- package/components/alert/README.md +9 -5
- package/components/backdrop/README.md +6 -11
- package/components/backdrop/backdrop.js +3 -0
- package/components/breadcrumbs/breadcrumbs.js +2 -1
- package/components/button/README.md +1 -1
- package/components/button/button-icon.js +1 -0
- package/components/button/button-mixin.js +2 -0
- package/components/button/button-subtle.js +1 -0
- package/components/button/button.js +1 -0
- package/components/button/floating-buttons.js +1 -0
- package/components/calendar/calendar.js +1 -1
- package/components/card/README.md +1 -1
- package/components/card/card-footer-link.js +12 -2
- package/components/card/card-loading-shimmer.js +1 -0
- package/components/card/card.js +9 -0
- package/components/count-badge/count-badge-icon.js +17 -9
- package/components/count-badge/count-badge-mixin.js +52 -47
- package/components/count-badge/count-badge.js +5 -4
- package/components/dialog/README.md +1 -1
- package/components/dialog/dialog-confirm.js +1 -2
- package/components/dialog/dialog-fullscreen.js +4 -5
- package/components/dialog/dialog-mixin.js +2 -0
- package/components/dialog/dialog.js +0 -2
- package/components/dropdown/README.md +2 -8
- package/components/dropdown/dropdown-button-subtle.js +3 -3
- package/components/dropdown/dropdown-button.js +2 -0
- package/components/dropdown/dropdown-content-mixin.js +25 -6
- package/components/dropdown/dropdown-content.js +0 -3
- package/components/dropdown/dropdown-context-menu.js +2 -0
- package/components/dropdown/dropdown-menu.js +0 -3
- package/components/dropdown/dropdown-more.js +2 -0
- package/components/dropdown/dropdown-opener-mixin.js +2 -0
- package/components/dropdown/dropdown-tabs.js +0 -3
- package/components/filter/README.md +4 -4
- package/components/focus-trap/README.md +0 -4
- package/components/form/docs/form-element-mixin.md +0 -4
- package/components/html-block/README.md +2 -7
- package/components/icons/images/tier3/rubric-graded.svg +2 -2
- package/components/inputs/input-radio-styles.js +2 -1
- package/components/list/README.md +2 -1
- package/components/list/demo/list-item-custom.js +7 -3
- package/components/list/demo/list-nested.html +6 -62
- package/components/list/list-item-generic-layout.js +85 -14
- package/components/list/list.js +27 -2
- package/components/loading-spinner/README.md +1 -1
- package/components/meter/README.md +1 -5
- package/components/offscreen/README.md +0 -6
- package/components/selection/selection-input.js +4 -2
- package/components/selection/selection-mixin.js +1 -0
- package/components/status-indicator/README.md +1 -7
- package/components/switch/README.md +1 -5
- package/components/switch/switch-mixin.js +1 -0
- package/components/tabs/README.md +0 -3
- package/components/tooltip/README.md +1 -1
- package/custom-elements.json +59 -71
- package/generated/icons/tier3/rubric-graded.js +3 -2
- package/helpers/focus.js +4 -2
- package/mixins/labelled-mixin.js +1 -0
- package/package.json +1 -1
- package/templates/primary-secondary/README.md +2 -6
package/helpers/focus.js
CHANGED
|
@@ -98,11 +98,13 @@ export function getPreviousFocusable(node, includeHidden) {
|
|
|
98
98
|
return focusable;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export function getNextFocusable(node, includeHidden) {
|
|
101
|
+
export function getNextFocusable(node, includeHidden, ignore, ignoreChildren) {
|
|
102
102
|
|
|
103
103
|
if (!node) return null;
|
|
104
104
|
|
|
105
105
|
if (includeHidden === undefined) includeHidden = false;
|
|
106
|
+
if (ignore === undefined) ignore = true;
|
|
107
|
+
if (ignoreChildren === undefined) ignoreChildren = false;
|
|
106
108
|
|
|
107
109
|
const _getNextFocusable = (node, ignore, ignoreChildren) => {
|
|
108
110
|
if (!ignore && isFocusable(node, includeHidden)) return node;
|
|
@@ -128,7 +130,7 @@ export function getNextFocusable(node, includeHidden) {
|
|
|
128
130
|
return null;
|
|
129
131
|
};
|
|
130
132
|
|
|
131
|
-
const focusable = _getNextFocusable(node,
|
|
133
|
+
const focusable = _getNextFocusable(node, ignore, ignoreChildren);
|
|
132
134
|
return focusable;
|
|
133
135
|
|
|
134
136
|
}
|
package/mixins/labelled-mixin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.197.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
6
6
|
"publishConfig": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Templates
|
|
2
|
-
Page templates are used to provide generic ways to arrange content on a page
|
|
2
|
+
Page templates are used to provide generic ways to arrange content on a page
|
|
3
3
|
|
|
4
4
|
## Primary-Secondary [d2l-primary-secondary]
|
|
5
5
|
Two Panel (primary and secondary) page template with header and optional footer
|
|
@@ -71,8 +71,4 @@ If either of the panels contain an `iframe`, resizing may not work properly. Thi
|
|
|
71
71
|
* `footer`: page footer content
|
|
72
72
|
* `primary`: main page content
|
|
73
73
|
* `secondary`: supplementary page content
|
|
74
|
-
|
|
75
|
-
### Future Enhancements
|
|
76
|
-
|
|
77
|
-
Looking for an enhancement not listed here? Create a GitHub issue!
|
|
78
|
-
<!-- docs: end hidden content -->
|
|
74
|
+
<!-- docs: end hidden content -->
|