@brightspace-ui/core 1.196.2 → 1.197.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/backdrop/README.md +5 -6
- package/components/backdrop/backdrop.js +3 -0
- package/components/breadcrumbs/breadcrumbs.js +2 -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/card-footer-link.js +12 -2
- package/components/card/card-loading-shimmer.js +1 -0
- package/components/card/card.js +9 -0
- 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/dropdown-button-subtle.js +3 -3
- package/components/dropdown/dropdown-button.js +2 -0
- package/components/dropdown/dropdown-content-mixin.js +19 -0
- 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/filter-dimension-set-value.js +3 -0
- package/components/filter/filter-dimension-set.js +5 -1
- package/components/form/form-mixin.js +1 -0
- package/components/form/form-native.js +0 -1
- package/components/form/form.js +0 -1
- package/components/inputs/input-date-range.js +9 -1
- package/components/inputs/input-date-time-range-to.js +3 -0
- package/components/inputs/input-date-time-range.js +10 -1
- package/components/inputs/input-date-time.js +7 -1
- package/components/inputs/input-date.js +7 -1
- package/components/inputs/input-fieldset.js +3 -0
- package/components/inputs/input-radio-styles.js +2 -1
- package/components/inputs/input-time-range.js +10 -1
- package/components/inputs/input-time.js +6 -1
- package/components/link/README.md +1 -1
- package/components/list/README.md +11 -10
- package/components/list/demo/list-item-custom.js +7 -3
- package/components/list/demo/list-nested.html +6 -62
- package/components/list/list-item-button-mixin.js +1 -0
- package/components/list/list-item-button.js +0 -3
- package/components/list/list-item-checkbox-mixin.js +1 -0
- package/components/list/list-item-drag-drop-mixin.js +2 -0
- package/components/list/list-item-generic-layout.js +85 -14
- package/components/list/list-item-link-mixin.js +1 -0
- package/components/list/list-item.js +0 -3
- package/components/list/list.js +29 -2
- package/components/menu/menu-item-checkbox.js +0 -4
- package/components/menu/menu-item-link.js +0 -2
- package/components/menu/menu-item-mixin.js +3 -0
- package/components/menu/menu-item-radio.js +0 -3
- package/components/menu/menu-item-selectable-mixin.js +2 -0
- package/components/menu/menu-item.js +0 -2
- package/components/overflow-group/overflow-group.js +4 -3
- package/components/scroll-wrapper/scroll-wrapper.js +1 -2
- package/components/selection/selection-action.js +4 -0
- package/components/selection/selection-input.js +9 -2
- package/components/selection/selection-mixin.js +3 -1
- package/components/selection/selection-observer-mixin.js +3 -1
- package/components/selection/selection-select-all.js +2 -0
- package/components/selection/selection-summary.js +3 -1
- package/components/skeleton/skeleton-mixin.js +1 -0
- package/components/status-indicator/status-indicator.js +2 -0
- package/components/switch/switch-mixin.js +1 -0
- package/components/switch/switch-visibility.js +3 -0
- package/components/switch/switch.js +3 -0
- package/components/table/table-col-sort-button.js +0 -2
- package/components/table/table-wrapper.js +0 -2
- package/components/tabs/tab-panel-mixin.js +2 -0
- package/components/tabs/tab-panel.js +0 -2
- package/custom-elements.json +86 -119
- package/helpers/focus.js +4 -2
- package/lang/ar.js +7 -7
- package/lang/cy.js +7 -7
- package/lang/da.js +7 -7
- package/lang/de.js +7 -7
- package/lang/es-es.js +7 -7
- package/lang/es.js +8 -8
- package/lang/fr-fr.js +8 -8
- package/lang/fr.js +7 -7
- package/lang/ja.js +8 -8
- package/lang/ko.js +7 -7
- package/lang/nl.js +8 -8
- package/lang/pt.js +7 -7
- package/lang/sv.js +7 -7
- package/lang/tr.js +7 -7
- package/lang/zh-tw.js +7 -7
- package/lang/zh.js +8 -8
- package/mixins/labelled-mixin.js +1 -0
- package/package.json +1 -1
- package/templates/primary-secondary/primary-secondary.js +2 -0
package/custom-elements.json
CHANGED
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"slots": [
|
|
328
328
|
{
|
|
329
329
|
"name": "",
|
|
330
|
-
"description": "
|
|
330
|
+
"description": "Breadcrumb items"
|
|
331
331
|
}
|
|
332
332
|
]
|
|
333
333
|
},
|
|
@@ -1486,13 +1486,13 @@
|
|
|
1486
1486
|
}
|
|
1487
1487
|
],
|
|
1488
1488
|
"events": [
|
|
1489
|
-
{
|
|
1490
|
-
"name": "d2l-dialog-open",
|
|
1491
|
-
"description": "Dispatched when the dialog is opened"
|
|
1492
|
-
},
|
|
1493
1489
|
{
|
|
1494
1490
|
"name": "d2l-dialog-close",
|
|
1495
1491
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"name": "d2l-dialog-open",
|
|
1495
|
+
"description": "Dispatched when the dialog is opened"
|
|
1496
1496
|
}
|
|
1497
1497
|
],
|
|
1498
1498
|
"slots": [
|
|
@@ -1557,13 +1557,13 @@
|
|
|
1557
1557
|
}
|
|
1558
1558
|
],
|
|
1559
1559
|
"events": [
|
|
1560
|
-
{
|
|
1561
|
-
"name": "d2l-dialog-open",
|
|
1562
|
-
"description": "Dispatched when the dialog is opened"
|
|
1563
|
-
},
|
|
1564
1560
|
{
|
|
1565
1561
|
"name": "d2l-dialog-close",
|
|
1566
1562
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "d2l-dialog-open",
|
|
1566
|
+
"description": "Dispatched when the dialog is opened"
|
|
1567
1567
|
}
|
|
1568
1568
|
],
|
|
1569
1569
|
"slots": [
|
|
@@ -1645,13 +1645,13 @@
|
|
|
1645
1645
|
}
|
|
1646
1646
|
],
|
|
1647
1647
|
"events": [
|
|
1648
|
-
{
|
|
1649
|
-
"name": "d2l-dialog-open",
|
|
1650
|
-
"description": "Dispatched when the dialog is opened"
|
|
1651
|
-
},
|
|
1652
1648
|
{
|
|
1653
1649
|
"name": "d2l-dialog-close",
|
|
1654
1650
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "d2l-dialog-open",
|
|
1654
|
+
"description": "Dispatched when the dialog is opened"
|
|
1655
1655
|
}
|
|
1656
1656
|
],
|
|
1657
1657
|
"slots": [
|
|
@@ -2041,13 +2041,13 @@
|
|
|
2041
2041
|
"name": "d2l-dropdown-close",
|
|
2042
2042
|
"description": "Dispatched when the dropdown is closed"
|
|
2043
2043
|
},
|
|
2044
|
-
{
|
|
2045
|
-
"name": "d2l-dropdown-focus-enter",
|
|
2046
|
-
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2047
|
-
},
|
|
2048
2044
|
{
|
|
2049
2045
|
"name": "d2l-dropdown-position",
|
|
2050
2046
|
"description": "Dispatched when the dropdown position finishes adjusting"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"name": "d2l-dropdown-focus-enter",
|
|
2050
|
+
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2051
2051
|
}
|
|
2052
2052
|
],
|
|
2053
2053
|
"slots": [
|
|
@@ -2378,13 +2378,13 @@
|
|
|
2378
2378
|
"name": "d2l-dropdown-close",
|
|
2379
2379
|
"description": "Dispatched when the dropdown is closed"
|
|
2380
2380
|
},
|
|
2381
|
-
{
|
|
2382
|
-
"name": "d2l-dropdown-focus-enter",
|
|
2383
|
-
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2384
|
-
},
|
|
2385
2381
|
{
|
|
2386
2382
|
"name": "d2l-dropdown-position",
|
|
2387
2383
|
"description": "Dispatched when the dropdown position finishes adjusting"
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"name": "d2l-dropdown-focus-enter",
|
|
2387
|
+
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2388
2388
|
}
|
|
2389
2389
|
],
|
|
2390
2390
|
"slots": [
|
|
@@ -2715,13 +2715,13 @@
|
|
|
2715
2715
|
"name": "d2l-dropdown-close",
|
|
2716
2716
|
"description": "Dispatched when the dropdown is closed"
|
|
2717
2717
|
},
|
|
2718
|
-
{
|
|
2719
|
-
"name": "d2l-dropdown-focus-enter",
|
|
2720
|
-
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2721
|
-
},
|
|
2722
2718
|
{
|
|
2723
2719
|
"name": "d2l-dropdown-position",
|
|
2724
2720
|
"description": "Dispatched when the dropdown position finishes adjusting"
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"name": "d2l-dropdown-focus-enter",
|
|
2724
|
+
"description": "Dispatched when user focus enters the dropdown content (trap-focus option only)"
|
|
2725
2725
|
}
|
|
2726
2726
|
],
|
|
2727
2727
|
"slots": [
|
|
@@ -2961,11 +2961,6 @@
|
|
|
2961
2961
|
"default": "\"\""
|
|
2962
2962
|
}
|
|
2963
2963
|
],
|
|
2964
|
-
"events": [
|
|
2965
|
-
{
|
|
2966
|
-
"name": "d2l-filter-dimension-data-change"
|
|
2967
|
-
}
|
|
2968
|
-
],
|
|
2969
2964
|
"slots": [
|
|
2970
2965
|
{
|
|
2971
2966
|
"name": "",
|
|
@@ -3161,13 +3156,13 @@
|
|
|
3161
3156
|
"name": "submit",
|
|
3162
3157
|
"description": "Dispatched when the form is submitted. Cancelling this event will prevent form submission."
|
|
3163
3158
|
},
|
|
3164
|
-
{
|
|
3165
|
-
"name": "d2l-form-dirty",
|
|
3166
|
-
"description": "Dispatched whenever any form element fires an `input` or `change` event. Can be used to track whether the form is dirty or not."
|
|
3167
|
-
},
|
|
3168
3159
|
{
|
|
3169
3160
|
"name": "formdata",
|
|
3170
3161
|
"description": "Dispatched after the entry list representing the form's data is constructed. This happens when the form is submitted just prior to submission. The form data can be obtained from the `detail`'s `formData` property."
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"name": "d2l-form-dirty",
|
|
3165
|
+
"description": "Dispatched whenever any form element fires an `input` or `change` event. Can be used to track whether the form is dirty or not."
|
|
3171
3166
|
}
|
|
3172
3167
|
],
|
|
3173
3168
|
"slots": [
|
|
@@ -3210,10 +3205,6 @@
|
|
|
3210
3205
|
}
|
|
3211
3206
|
],
|
|
3212
3207
|
"events": [
|
|
3213
|
-
{
|
|
3214
|
-
"name": "d2l-form-dirty",
|
|
3215
|
-
"description": "Dispatched whenever any form element fires an `input` or `change` event. Can be used to track whether the form is dirty or not."
|
|
3216
|
-
},
|
|
3217
3208
|
{
|
|
3218
3209
|
"name": "d2l-form-invalid",
|
|
3219
3210
|
"description": "Dispatched when the form fails validation. The error map can be obtained from the `detail`'s `errors` property."
|
|
@@ -3221,6 +3212,10 @@
|
|
|
3221
3212
|
{
|
|
3222
3213
|
"name": "d2l-form-submit",
|
|
3223
3214
|
"description": "Dispatched when the form is submitted. The form data can be obtained from the `detail`'s `formData` property."
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"name": "d2l-form-dirty",
|
|
3218
|
+
"description": "Dispatched whenever any form element fires an `input` or `change` event. Can be used to track whether the form is dirty or not."
|
|
3224
3219
|
}
|
|
3225
3220
|
],
|
|
3226
3221
|
"slots": [
|
|
@@ -3816,7 +3811,7 @@
|
|
|
3816
3811
|
"events": [
|
|
3817
3812
|
{
|
|
3818
3813
|
"name": "change",
|
|
3819
|
-
"description": "Dispatched when there is a change to selected start date or selected end date.
|
|
3814
|
+
"description": "Dispatched when there is a change to selected start date or selected end date. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 calendar date format (`YYYY-MM-DD`)."
|
|
3820
3815
|
}
|
|
3821
3816
|
]
|
|
3822
3817
|
},
|
|
@@ -4102,7 +4097,7 @@
|
|
|
4102
4097
|
"events": [
|
|
4103
4098
|
{
|
|
4104
4099
|
"name": "change",
|
|
4105
|
-
"description": "Dispatched when there is a change to selected start date-time or selected end date-time.
|
|
4100
|
+
"description": "Dispatched when there is a change to selected start date-time or selected end date-time. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 combined date and time format (`YYYY-MM-DDTHH:mm:ss.sssZ`)."
|
|
4106
4101
|
}
|
|
4107
4102
|
],
|
|
4108
4103
|
"slots": [
|
|
@@ -4278,10 +4273,7 @@
|
|
|
4278
4273
|
"events": [
|
|
4279
4274
|
{
|
|
4280
4275
|
"name": "change",
|
|
4281
|
-
"description": "Dispatched when there is a change to selected date or selected time.
|
|
4282
|
-
},
|
|
4283
|
-
{
|
|
4284
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4276
|
+
"description": "Dispatched when there is a change to selected date or selected time. `value` corresponds to the selected value and is formatted in ISO 8601 combined date and time format (`YYYY-MM-DDTHH:mm:ss.sssZ`)."
|
|
4285
4277
|
}
|
|
4286
4278
|
]
|
|
4287
4279
|
},
|
|
@@ -4436,10 +4428,7 @@
|
|
|
4436
4428
|
"events": [
|
|
4437
4429
|
{
|
|
4438
4430
|
"name": "change",
|
|
4439
|
-
"description": "Dispatched when there is a change to selected date.
|
|
4440
|
-
},
|
|
4441
|
-
{
|
|
4442
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4431
|
+
"description": "Dispatched when there is a change to selected date. `value` corresponds to the selected value and is formatted in ISO 8601 calendar date format (`YYYY-MM-DD`)."
|
|
4443
4432
|
}
|
|
4444
4433
|
]
|
|
4445
4434
|
},
|
|
@@ -4768,9 +4757,6 @@
|
|
|
4768
4757
|
{
|
|
4769
4758
|
"name": "change",
|
|
4770
4759
|
"description": "Dispatched when an alteration to the value is committed (typically after focus is lost) by the user. The `value` attribute reflects a JavaScript Number which is parsed from the formatted input value."
|
|
4771
|
-
},
|
|
4772
|
-
{
|
|
4773
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4774
4760
|
}
|
|
4775
4761
|
],
|
|
4776
4762
|
"slots": [
|
|
@@ -4958,9 +4944,6 @@
|
|
|
4958
4944
|
{
|
|
4959
4945
|
"name": "change",
|
|
4960
4946
|
"description": "Dispatched when an alteration to the value is committed (typically after focus is lost) by the user. The `value` attribute reflects a JavaScript Number which is parsed from the formatted input value."
|
|
4961
|
-
},
|
|
4962
|
-
{
|
|
4963
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4964
4947
|
}
|
|
4965
4948
|
],
|
|
4966
4949
|
"slots": [
|
|
@@ -5430,9 +5413,6 @@
|
|
|
5430
5413
|
{
|
|
5431
5414
|
"name": "input",
|
|
5432
5415
|
"description": "Dispatched immediately after changes by the user"
|
|
5433
|
-
},
|
|
5434
|
-
{
|
|
5435
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
5436
5416
|
}
|
|
5437
5417
|
],
|
|
5438
5418
|
"slots": [
|
|
@@ -5661,9 +5641,6 @@
|
|
|
5661
5641
|
{
|
|
5662
5642
|
"name": "input",
|
|
5663
5643
|
"description": "Dispatched immediately after changes by the user"
|
|
5664
|
-
},
|
|
5665
|
-
{
|
|
5666
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
5667
5644
|
}
|
|
5668
5645
|
]
|
|
5669
5646
|
},
|
|
@@ -5880,7 +5857,7 @@
|
|
|
5880
5857
|
"events": [
|
|
5881
5858
|
{
|
|
5882
5859
|
"name": "change",
|
|
5883
|
-
"description": "Dispatched when there is a change to selected start time or selected end time.
|
|
5860
|
+
"description": "Dispatched when there is a change to selected start time or selected end time. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 calendar time format (`hh:mm:ss`)."
|
|
5884
5861
|
}
|
|
5885
5862
|
]
|
|
5886
5863
|
},
|
|
@@ -6046,10 +6023,7 @@
|
|
|
6046
6023
|
"events": [
|
|
6047
6024
|
{
|
|
6048
6025
|
"name": "change",
|
|
6049
|
-
"description": "Dispatched when there is a change to selected time.
|
|
6050
|
-
},
|
|
6051
|
-
{
|
|
6052
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
6026
|
+
"description": "Dispatched when there is a change to selected time. `value` corresponds to the selected value and is formatted in ISO 8601 time format (`hh:mm:ss`)."
|
|
6053
6027
|
}
|
|
6054
6028
|
]
|
|
6055
6029
|
},
|
|
@@ -6345,13 +6319,12 @@
|
|
|
6345
6319
|
],
|
|
6346
6320
|
"events": [
|
|
6347
6321
|
{
|
|
6348
|
-
"name": "d2l-list-item-position-change"
|
|
6349
|
-
|
|
6350
|
-
{
|
|
6351
|
-
"name": "d2l-list-item-selected"
|
|
6322
|
+
"name": "d2l-list-item-position-change",
|
|
6323
|
+
"description": "Dispatched when a draggable list item's position changes in the list. See [Event Details: d2l-list-item-position-change](#event-details%3A-d2l-list-item-position-change)."
|
|
6352
6324
|
},
|
|
6353
6325
|
{
|
|
6354
|
-
"name": "d2l-
|
|
6326
|
+
"name": "d2l-list-item-selected",
|
|
6327
|
+
"description": "Dispatched when the component item is selected"
|
|
6355
6328
|
}
|
|
6356
6329
|
]
|
|
6357
6330
|
},
|
|
@@ -6545,9 +6518,6 @@
|
|
|
6545
6518
|
{
|
|
6546
6519
|
"name": "d2l-list-item-selected",
|
|
6547
6520
|
"description": "Dispatched when the component item is selected"
|
|
6548
|
-
},
|
|
6549
|
-
{
|
|
6550
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
6551
6521
|
}
|
|
6552
6522
|
],
|
|
6553
6523
|
"slots": [
|
|
@@ -6877,9 +6847,6 @@
|
|
|
6877
6847
|
{
|
|
6878
6848
|
"name": "d2l-list-item-selected",
|
|
6879
6849
|
"description": "Dispatched when the component item is selected"
|
|
6880
|
-
},
|
|
6881
|
-
{
|
|
6882
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
6883
6850
|
}
|
|
6884
6851
|
],
|
|
6885
6852
|
"slots": [
|
|
@@ -6922,7 +6889,7 @@
|
|
|
6922
6889
|
},
|
|
6923
6890
|
{
|
|
6924
6891
|
"name": "selection-single",
|
|
6925
|
-
"description": "Whether the selection control is limited to single selection
|
|
6892
|
+
"description": "Whether the selection control is limited to single selection",
|
|
6926
6893
|
"type": "boolean",
|
|
6927
6894
|
"default": "false"
|
|
6928
6895
|
}
|
|
@@ -6952,21 +6919,19 @@
|
|
|
6952
6919
|
{
|
|
6953
6920
|
"name": "selectionSingle",
|
|
6954
6921
|
"attribute": "selection-single",
|
|
6955
|
-
"description": "Whether the selection control is limited to single selection
|
|
6922
|
+
"description": "Whether the selection control is limited to single selection",
|
|
6956
6923
|
"type": "boolean",
|
|
6957
6924
|
"default": "false"
|
|
6958
6925
|
}
|
|
6959
6926
|
],
|
|
6960
6927
|
"events": [
|
|
6961
6928
|
{
|
|
6962
|
-
"name": "d2l-list-selection-
|
|
6963
|
-
"description": "Dispatched
|
|
6964
|
-
},
|
|
6965
|
-
{
|
|
6966
|
-
"name": "d2l-list-selection-changes"
|
|
6929
|
+
"name": "d2l-list-selection-changes",
|
|
6930
|
+
"description": "Dispatched once for a set of selection state changes (ex. select-all); event detail includes an array of objects where each object contains the `key` and `selected` state for each changed item"
|
|
6967
6931
|
},
|
|
6968
6932
|
{
|
|
6969
|
-
"name": "d2l-selection-
|
|
6933
|
+
"name": "d2l-list-selection-change",
|
|
6934
|
+
"description": "Dispatched when the selection state changes"
|
|
6970
6935
|
}
|
|
6971
6936
|
],
|
|
6972
6937
|
"slots": [
|
|
@@ -7068,10 +7033,12 @@
|
|
|
7068
7033
|
],
|
|
7069
7034
|
"events": [
|
|
7070
7035
|
{
|
|
7071
|
-
"name": "d2l-menu-item-select"
|
|
7036
|
+
"name": "d2l-menu-item-select",
|
|
7037
|
+
"description": "Dispatched when the menu item is selected"
|
|
7072
7038
|
},
|
|
7073
7039
|
{
|
|
7074
|
-
"name": "d2l-menu-item-visibility-change"
|
|
7040
|
+
"name": "d2l-menu-item-visibility-change",
|
|
7041
|
+
"description": "Dispatched when the visibility of the menu item changes"
|
|
7075
7042
|
}
|
|
7076
7043
|
]
|
|
7077
7044
|
},
|
|
@@ -7147,10 +7114,6 @@
|
|
|
7147
7114
|
}
|
|
7148
7115
|
],
|
|
7149
7116
|
"events": [
|
|
7150
|
-
{
|
|
7151
|
-
"name": "click",
|
|
7152
|
-
"description": "Dispatched when the link is clicked"
|
|
7153
|
-
},
|
|
7154
7117
|
{
|
|
7155
7118
|
"name": "d2l-menu-item-change",
|
|
7156
7119
|
"description": "Dispatched when the selected menu item changes"
|
|
@@ -7330,7 +7293,7 @@
|
|
|
7330
7293
|
},
|
|
7331
7294
|
{
|
|
7332
7295
|
"name": "d2l-menu-item-select",
|
|
7333
|
-
"description": "Dispatched when
|
|
7296
|
+
"description": "Dispatched when the menu item is selected"
|
|
7334
7297
|
},
|
|
7335
7298
|
{
|
|
7336
7299
|
"name": "d2l-menu-item-visibility-change",
|
|
@@ -7382,10 +7345,12 @@
|
|
|
7382
7345
|
],
|
|
7383
7346
|
"events": [
|
|
7384
7347
|
{
|
|
7385
|
-
"name": "d2l-menu-item-select"
|
|
7348
|
+
"name": "d2l-menu-item-select",
|
|
7349
|
+
"description": "Dispatched when the menu item is selected"
|
|
7386
7350
|
},
|
|
7387
7351
|
{
|
|
7388
|
-
"name": "d2l-menu-item-visibility-change"
|
|
7352
|
+
"name": "d2l-menu-item-visibility-change",
|
|
7353
|
+
"description": "Dispatched when the visibility of the menu item changes"
|
|
7389
7354
|
}
|
|
7390
7355
|
]
|
|
7391
7356
|
},
|
|
@@ -7440,7 +7405,7 @@
|
|
|
7440
7405
|
"events": [
|
|
7441
7406
|
{
|
|
7442
7407
|
"name": "d2l-menu-item-select",
|
|
7443
|
-
"description": "Dispatched when
|
|
7408
|
+
"description": "Dispatched when the menu item is selected"
|
|
7444
7409
|
},
|
|
7445
7410
|
{
|
|
7446
7411
|
"name": "d2l-menu-item-visibility-change",
|
|
@@ -7784,7 +7749,7 @@
|
|
|
7784
7749
|
{
|
|
7785
7750
|
"name": "d2l-overflow-group",
|
|
7786
7751
|
"path": "./components/overflow-group/overflow-group.js",
|
|
7787
|
-
"description": "A component that can be used to display a set of buttons, links or menus that will be put into a
|
|
7752
|
+
"description": "A component that can be used to display a set of buttons, links or menus that will be put into a dropdown menu when they no longer fit on the first line of their container",
|
|
7788
7753
|
"attributes": [
|
|
7789
7754
|
{
|
|
7790
7755
|
"name": "auto-show",
|
|
@@ -7963,7 +7928,8 @@
|
|
|
7963
7928
|
},
|
|
7964
7929
|
{
|
|
7965
7930
|
"name": "selectionInfo",
|
|
7966
|
-
"description": "The selection info (set by the selection component)
|
|
7931
|
+
"description": "The selection info (set by the selection component)",
|
|
7932
|
+
"type": "object"
|
|
7967
7933
|
},
|
|
7968
7934
|
{
|
|
7969
7935
|
"name": "disabled-tooltip",
|
|
@@ -8005,7 +7971,8 @@
|
|
|
8005
7971
|
{
|
|
8006
7972
|
"name": "selectionInfo",
|
|
8007
7973
|
"attribute": "selectionInfo",
|
|
8008
|
-
"description": "The selection info (set by the selection component)
|
|
7974
|
+
"description": "The selection info (set by the selection component)",
|
|
7975
|
+
"type": "object"
|
|
8009
7976
|
},
|
|
8010
7977
|
{
|
|
8011
7978
|
"name": "disabledTooltip",
|
|
@@ -8027,7 +7994,8 @@
|
|
|
8027
7994
|
"description": "Dispatched when the user clicks the action; provides the selection info"
|
|
8028
7995
|
},
|
|
8029
7996
|
{
|
|
8030
|
-
"name": "d2l-selection-observer-subscribe"
|
|
7997
|
+
"name": "d2l-selection-observer-subscribe",
|
|
7998
|
+
"description": "Internal event"
|
|
8031
7999
|
}
|
|
8032
8000
|
]
|
|
8033
8001
|
},
|
|
@@ -8131,10 +8099,8 @@
|
|
|
8131
8099
|
"description": "Dispatched when the selected state changes"
|
|
8132
8100
|
},
|
|
8133
8101
|
{
|
|
8134
|
-
"name": "d2l-selection-input-subscribe"
|
|
8135
|
-
|
|
8136
|
-
{
|
|
8137
|
-
"name": "d2l-labelled-mixin-label-elem-change"
|
|
8102
|
+
"name": "d2l-selection-input-subscribe",
|
|
8103
|
+
"description": "Internal event"
|
|
8138
8104
|
}
|
|
8139
8105
|
]
|
|
8140
8106
|
},
|
|
@@ -8156,7 +8122,7 @@
|
|
|
8156
8122
|
},
|
|
8157
8123
|
{
|
|
8158
8124
|
"name": "selectionInfo",
|
|
8159
|
-
"description": "The selection info (set by the selection component)
|
|
8125
|
+
"description": "The selection info (set by the selection component)",
|
|
8160
8126
|
"type": "object"
|
|
8161
8127
|
}
|
|
8162
8128
|
],
|
|
@@ -8177,13 +8143,14 @@
|
|
|
8177
8143
|
{
|
|
8178
8144
|
"name": "selectionInfo",
|
|
8179
8145
|
"attribute": "selectionInfo",
|
|
8180
|
-
"description": "The selection info (set by the selection component)
|
|
8146
|
+
"description": "The selection info (set by the selection component)",
|
|
8181
8147
|
"type": "object"
|
|
8182
8148
|
}
|
|
8183
8149
|
],
|
|
8184
8150
|
"events": [
|
|
8185
8151
|
{
|
|
8186
|
-
"name": "d2l-selection-observer-subscribe"
|
|
8152
|
+
"name": "d2l-selection-observer-subscribe",
|
|
8153
|
+
"description": "Internal event"
|
|
8187
8154
|
}
|
|
8188
8155
|
]
|
|
8189
8156
|
},
|
|
@@ -8194,7 +8161,7 @@
|
|
|
8194
8161
|
"attributes": [
|
|
8195
8162
|
{
|
|
8196
8163
|
"name": "no-selection-text",
|
|
8197
|
-
"description": "Text to display if no items are selected
|
|
8164
|
+
"description": "Text to display if no items are selected",
|
|
8198
8165
|
"type": "string"
|
|
8199
8166
|
},
|
|
8200
8167
|
{
|
|
@@ -8204,7 +8171,7 @@
|
|
|
8204
8171
|
},
|
|
8205
8172
|
{
|
|
8206
8173
|
"name": "selectionInfo",
|
|
8207
|
-
"description": "The selection info (set by the selection component)
|
|
8174
|
+
"description": "The selection info (set by the selection component)",
|
|
8208
8175
|
"type": "object"
|
|
8209
8176
|
}
|
|
8210
8177
|
],
|
|
@@ -8212,7 +8179,7 @@
|
|
|
8212
8179
|
{
|
|
8213
8180
|
"name": "noSelectionText",
|
|
8214
8181
|
"attribute": "no-selection-text",
|
|
8215
|
-
"description": "Text to display if no items are selected
|
|
8182
|
+
"description": "Text to display if no items are selected",
|
|
8216
8183
|
"type": "string"
|
|
8217
8184
|
},
|
|
8218
8185
|
{
|
|
@@ -8224,13 +8191,14 @@
|
|
|
8224
8191
|
{
|
|
8225
8192
|
"name": "selectionInfo",
|
|
8226
8193
|
"attribute": "selectionInfo",
|
|
8227
|
-
"description": "The selection info (set by the selection component)
|
|
8194
|
+
"description": "The selection info (set by the selection component)",
|
|
8228
8195
|
"type": "object"
|
|
8229
8196
|
}
|
|
8230
8197
|
],
|
|
8231
8198
|
"events": [
|
|
8232
8199
|
{
|
|
8233
|
-
"name": "d2l-selection-observer-subscribe"
|
|
8200
|
+
"name": "d2l-selection-observer-subscribe",
|
|
8201
|
+
"description": "Internal event"
|
|
8234
8202
|
}
|
|
8235
8203
|
]
|
|
8236
8204
|
},
|
|
@@ -8240,7 +8208,7 @@
|
|
|
8240
8208
|
"attributes": [
|
|
8241
8209
|
{
|
|
8242
8210
|
"name": "selection-single",
|
|
8243
|
-
"description": "Whether the selection control is limited to single selection
|
|
8211
|
+
"description": "Whether the selection control is limited to single selection",
|
|
8244
8212
|
"type": "boolean",
|
|
8245
8213
|
"default": "false"
|
|
8246
8214
|
}
|
|
@@ -8249,15 +8217,10 @@
|
|
|
8249
8217
|
{
|
|
8250
8218
|
"name": "selectionSingle",
|
|
8251
8219
|
"attribute": "selection-single",
|
|
8252
|
-
"description": "Whether the selection control is limited to single selection
|
|
8220
|
+
"description": "Whether the selection control is limited to single selection",
|
|
8253
8221
|
"type": "boolean",
|
|
8254
8222
|
"default": "false"
|
|
8255
8223
|
}
|
|
8256
|
-
],
|
|
8257
|
-
"events": [
|
|
8258
|
-
{
|
|
8259
|
-
"name": "d2l-selection-provider-connected"
|
|
8260
|
-
}
|
|
8261
8224
|
]
|
|
8262
8225
|
},
|
|
8263
8226
|
{
|
|
@@ -8514,6 +8477,7 @@
|
|
|
8514
8477
|
{
|
|
8515
8478
|
"name": "d2l-switch-visibility",
|
|
8516
8479
|
"path": "./components/switch/switch-visibility.js",
|
|
8480
|
+
"description": "A variant of the generic switch configured with special icons and default text for toggling \"visibility\".",
|
|
8517
8481
|
"attributes": [
|
|
8518
8482
|
{
|
|
8519
8483
|
"name": "text",
|
|
@@ -8594,13 +8558,15 @@
|
|
|
8594
8558
|
],
|
|
8595
8559
|
"events": [
|
|
8596
8560
|
{
|
|
8597
|
-
"name": "change"
|
|
8561
|
+
"name": "change",
|
|
8562
|
+
"description": "Dispatched when the `on` property is updated"
|
|
8598
8563
|
}
|
|
8599
8564
|
]
|
|
8600
8565
|
},
|
|
8601
8566
|
{
|
|
8602
8567
|
"name": "d2l-switch",
|
|
8603
8568
|
"path": "./components/switch/switch.js",
|
|
8569
|
+
"description": "A generic switch with on/off semantics.",
|
|
8604
8570
|
"attributes": [
|
|
8605
8571
|
{
|
|
8606
8572
|
"name": "text",
|
|
@@ -8681,7 +8647,8 @@
|
|
|
8681
8647
|
],
|
|
8682
8648
|
"events": [
|
|
8683
8649
|
{
|
|
8684
|
-
"name": "change"
|
|
8650
|
+
"name": "change",
|
|
8651
|
+
"description": "Dispatched when the `on` property is updated"
|
|
8685
8652
|
}
|
|
8686
8653
|
]
|
|
8687
8654
|
},
|
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/lang/ar.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
|
11
11
|
"components.dropdown.close": "إغلاق",
|
|
12
12
|
"components.filter.clear": "مسح",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "مسح الكل",
|
|
14
|
+
"components.filter.clearAllAnnounce": "جارٍ مسح كل عوامل التصفية",
|
|
15
|
+
"components.filter.clearAllDescription": "مسح كل عوامل التصفية",
|
|
16
|
+
"components.filter.clearAnnounce": "جارٍ مسح عوامل التصفية لـ: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "جارٍ مسح عوامل التصفية",
|
|
18
|
+
"components.filter.clearDescription": "مسح عوامل التصفية لـ: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "مسح عوامل التصفية",
|
|
20
20
|
"components.filter.loading": "يتم تحميل عوامل التصفية",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {لم يتم تطبيق عوامل تصفية.} one {تم تطبيق عامل تصفية واحد.} other {{number} من عوامل التصفية التي تم تطبيقها.}}",
|
|
22
22
|
"components.filter.filters": "عوامل التصفية",
|
package/lang/cy.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Cau'r dialog hwn",
|
|
11
11
|
"components.dropdown.close": "Cau",
|
|
12
12
|
"components.filter.clear": "Clirio",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Clirio’r Cyfan",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Wrthi’n clirio’r holl hidlwyr",
|
|
15
|
+
"components.filter.clearAllDescription": "Clirio’r holl hidlwyr",
|
|
16
|
+
"components.filter.clearAnnounce": "Wrthi’n clirio hidlwyr ar gyfer: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Wrthi'n clirio hidlwyr",
|
|
18
|
+
"components.filter.clearDescription": "Wrthi’n clirio hidlwyd ar gyfer: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Clirio Hidlwyr",
|
|
20
20
|
"components.filter.loading": "Wrthi’n llwytho hidlyddion",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Ni chymhwyswyd hidlwyr.} one {1 hidlydd wedi'i gymhwyso.} other {{number} hidlydd wedi'u cymhwyso.}}",
|
|
22
22
|
"components.filter.filters": "Hidlyddion",
|
package/lang/da.js
CHANGED
|
@@ -10,13 +10,13 @@ export default {
|
|
|
10
10
|
"components.dialog.close": "Luk denne dialogboks",
|
|
11
11
|
"components.dropdown.close": "Luk",
|
|
12
12
|
"components.filter.clear": "Ryd",
|
|
13
|
-
"components.filter.clearAll": "
|
|
14
|
-
"components.filter.clearAllAnnounce": "
|
|
15
|
-
"components.filter.clearAllDescription": "
|
|
16
|
-
"components.filter.clearAnnounce": "
|
|
17
|
-
"components.filter.clearAnnounceSingle": "
|
|
18
|
-
"components.filter.clearDescription": "
|
|
19
|
-
"components.filter.clearDescriptionSingle": "
|
|
13
|
+
"components.filter.clearAll": "Ryd alle",
|
|
14
|
+
"components.filter.clearAllAnnounce": "Rydder alle filtre",
|
|
15
|
+
"components.filter.clearAllDescription": "Ryd alle filtre",
|
|
16
|
+
"components.filter.clearAnnounce": "Rydder filtre for: {filterName}",
|
|
17
|
+
"components.filter.clearAnnounceSingle": "Rydder filtre",
|
|
18
|
+
"components.filter.clearDescription": "Ryd filtre for: {filterName}",
|
|
19
|
+
"components.filter.clearDescriptionSingle": "Ryd filtre",
|
|
20
20
|
"components.filter.loading": "Indlæser filtre",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, zero {Ingen filtre anvendt.} one {1 filter anvendt.} other {{number} filtre anvendt.}}",
|
|
22
22
|
"components.filter.filters": "Filtre",
|