@brightspace-ui/core 2.83.3 → 2.84.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.
|
@@ -15,7 +15,7 @@ export class ListControls extends SelectionControls {
|
|
|
15
15
|
static get styles() {
|
|
16
16
|
return [super.styles, css`
|
|
17
17
|
:host {
|
|
18
|
-
--d2l-selection-controls-background-color: var(--d2l-list-controls-background-color
|
|
18
|
+
--d2l-selection-controls-background-color: var(--d2l-list-controls-background-color);
|
|
19
19
|
z-index: 6; /* must be greater than d2l-list-item-active-border */
|
|
20
20
|
}
|
|
21
21
|
:host([no-sticky]) {
|
|
@@ -246,6 +246,7 @@ Note: `d2l-list-item` already provides a selection input for selectable list ite
|
|
|
246
246
|
| `key` | String, required | Key to identify the selectable. |
|
|
247
247
|
| `label` | String | Accessible hidden label for the input. |
|
|
248
248
|
| `labelled-by` | String | Id reference to the accessible label for the input. **Note:** if specified, it must reference an element in the same DOM context. |
|
|
249
|
+
| `disabled` | Boolean | Disables the input element(checkbox/radio btn). |
|
|
249
250
|
| `selected` | Boolean | State of the input. |
|
|
250
251
|
|
|
251
252
|
### Events
|
package/custom-elements.json
CHANGED
|
@@ -7750,82 +7750,6 @@
|
|
|
7750
7750
|
}
|
|
7751
7751
|
]
|
|
7752
7752
|
},
|
|
7753
|
-
{
|
|
7754
|
-
"name": "d2l-list-header",
|
|
7755
|
-
"path": "./components/list/list-header.js",
|
|
7756
|
-
"attributes": [
|
|
7757
|
-
{
|
|
7758
|
-
"name": "no-selection",
|
|
7759
|
-
"description": "Whether to render select-all and selection summary",
|
|
7760
|
-
"type": "boolean",
|
|
7761
|
-
"default": "false"
|
|
7762
|
-
},
|
|
7763
|
-
{
|
|
7764
|
-
"name": "no-sticky",
|
|
7765
|
-
"description": "Disables sticky positioning for the controls",
|
|
7766
|
-
"type": "boolean",
|
|
7767
|
-
"default": "false"
|
|
7768
|
-
},
|
|
7769
|
-
{
|
|
7770
|
-
"name": "select-all-pages-allowed",
|
|
7771
|
-
"description": "Whether all pages can be selected",
|
|
7772
|
-
"type": "boolean",
|
|
7773
|
-
"default": "false"
|
|
7774
|
-
},
|
|
7775
|
-
{
|
|
7776
|
-
"name": "selection-for",
|
|
7777
|
-
"description": "Id of the `SelectionMixin` component this component wants to observe (if not located within that component)",
|
|
7778
|
-
"type": "string"
|
|
7779
|
-
}
|
|
7780
|
-
],
|
|
7781
|
-
"properties": [
|
|
7782
|
-
{
|
|
7783
|
-
"name": "noSelection",
|
|
7784
|
-
"attribute": "no-selection",
|
|
7785
|
-
"description": "Whether to render select-all and selection summary",
|
|
7786
|
-
"type": "boolean",
|
|
7787
|
-
"default": "false"
|
|
7788
|
-
},
|
|
7789
|
-
{
|
|
7790
|
-
"name": "noSticky",
|
|
7791
|
-
"attribute": "no-sticky",
|
|
7792
|
-
"description": "Disables sticky positioning for the controls",
|
|
7793
|
-
"type": "boolean",
|
|
7794
|
-
"default": "false"
|
|
7795
|
-
},
|
|
7796
|
-
{
|
|
7797
|
-
"name": "selectAllPagesAllowed",
|
|
7798
|
-
"attribute": "select-all-pages-allowed",
|
|
7799
|
-
"description": "Whether all pages can be selected",
|
|
7800
|
-
"type": "boolean",
|
|
7801
|
-
"default": "false"
|
|
7802
|
-
},
|
|
7803
|
-
{
|
|
7804
|
-
"name": "selectionFor",
|
|
7805
|
-
"attribute": "selection-for",
|
|
7806
|
-
"description": "Id of the `SelectionMixin` component this component wants to observe (if not located within that component)",
|
|
7807
|
-
"type": "string"
|
|
7808
|
-
},
|
|
7809
|
-
{
|
|
7810
|
-
"name": "selectionInfo"
|
|
7811
|
-
},
|
|
7812
|
-
{
|
|
7813
|
-
"name": "documentLocaleSettings",
|
|
7814
|
-
"default": "\"getDocumentLocaleSettings()\""
|
|
7815
|
-
}
|
|
7816
|
-
],
|
|
7817
|
-
"events": [
|
|
7818
|
-
{
|
|
7819
|
-
"name": "d2l-selection-observer-subscribe"
|
|
7820
|
-
}
|
|
7821
|
-
],
|
|
7822
|
-
"slots": [
|
|
7823
|
-
{
|
|
7824
|
-
"name": "",
|
|
7825
|
-
"description": "Responsive container using `d2l-overflow-group` for `d2l-selection-action` elements"
|
|
7826
|
-
}
|
|
7827
|
-
]
|
|
7828
|
-
},
|
|
7829
7753
|
{
|
|
7830
7754
|
"name": "d2l-list-item-button",
|
|
7831
7755
|
"path": "./components/list/list-item-button.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.84.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",
|