@brightspace-ui/core 1.188.1 → 1.189.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/inputs/input-date-time.js +5 -11
- package/components/inputs/input-date.js +4 -11
- package/components/inputs/input-number.js +4 -10
- package/components/inputs/input-percent.js +4 -14
- package/components/inputs/input-text.js +11 -8
- package/components/inputs/input-textarea.js +4 -8
- package/components/inputs/input-time.js +3 -10
- package/components/list/demo/list-item-custom.js +83 -0
- package/components/list/demo/list-nested.html +193 -0
- package/components/list/list-item-checkbox-mixin.js +29 -16
- package/components/list/list-item-mixin.js +3 -3
- package/components/selection/selection-mixin.js +4 -0
- package/custom-elements.json +406 -83
- package/mixins/labelled-mixin.js +3 -3
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -4045,11 +4045,6 @@
|
|
|
4045
4045
|
"path": "./components/inputs/input-date-time.js",
|
|
4046
4046
|
"description": "A component that consists of a \"<d2l-input-date>\" and a \"<d2l-input-time>\" component. The time input only appears once a date is selected. This component displays the \"value\" if one is specified, and reflects the selected value when one is selected or entered.",
|
|
4047
4047
|
"attributes": [
|
|
4048
|
-
{
|
|
4049
|
-
"name": "label",
|
|
4050
|
-
"description": "REQUIRED: Accessible label for the input fieldset that wraps the date and time inputs",
|
|
4051
|
-
"type": "string"
|
|
4052
|
-
},
|
|
4053
4048
|
{
|
|
4054
4049
|
"name": "max-value",
|
|
4055
4050
|
"description": "Maximum valid date/time that could be selected by a user",
|
|
@@ -4101,6 +4096,16 @@
|
|
|
4101
4096
|
"type": "string",
|
|
4102
4097
|
"default": "\"startOfDay\""
|
|
4103
4098
|
},
|
|
4099
|
+
{
|
|
4100
|
+
"name": "labelled-by",
|
|
4101
|
+
"description": "The id of element that provides the label for this element",
|
|
4102
|
+
"type": "string"
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
"name": "label",
|
|
4106
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4107
|
+
"type": "string"
|
|
4108
|
+
},
|
|
4104
4109
|
{
|
|
4105
4110
|
"name": "skeleton",
|
|
4106
4111
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -4109,12 +4114,6 @@
|
|
|
4109
4114
|
}
|
|
4110
4115
|
],
|
|
4111
4116
|
"properties": [
|
|
4112
|
-
{
|
|
4113
|
-
"name": "label",
|
|
4114
|
-
"attribute": "label",
|
|
4115
|
-
"description": "REQUIRED: Accessible label for the input fieldset that wraps the date and time inputs",
|
|
4116
|
-
"type": "string"
|
|
4117
|
-
},
|
|
4118
4117
|
{
|
|
4119
4118
|
"name": "maxValue",
|
|
4120
4119
|
"attribute": "max-value",
|
|
@@ -4175,6 +4174,23 @@
|
|
|
4175
4174
|
"type": "string",
|
|
4176
4175
|
"default": "\"startOfDay\""
|
|
4177
4176
|
},
|
|
4177
|
+
{
|
|
4178
|
+
"name": "labelledBy",
|
|
4179
|
+
"attribute": "labelled-by",
|
|
4180
|
+
"description": "The id of element that provides the label for this element",
|
|
4181
|
+
"type": "string"
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"name": "label",
|
|
4185
|
+
"attribute": "label",
|
|
4186
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4187
|
+
"type": "string"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "labelRequired",
|
|
4191
|
+
"type": "boolean",
|
|
4192
|
+
"default": "true"
|
|
4193
|
+
},
|
|
4178
4194
|
{
|
|
4179
4195
|
"name": "skeleton",
|
|
4180
4196
|
"attribute": "skeleton",
|
|
@@ -4187,6 +4203,9 @@
|
|
|
4187
4203
|
{
|
|
4188
4204
|
"name": "change",
|
|
4189
4205
|
"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\")."
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4190
4209
|
}
|
|
4191
4210
|
]
|
|
4192
4211
|
},
|
|
@@ -4195,11 +4214,6 @@
|
|
|
4195
4214
|
"path": "./components/inputs/input-date.js",
|
|
4196
4215
|
"description": "A component that consists of a text input field for typing a date and an attached calendar (d2l-calendar) dropdown. It displays the \"value\" if one is specified, or a placeholder if not, and reflects the selected value when one is selected in the calendar or entered in the text input.",
|
|
4197
4216
|
"attributes": [
|
|
4198
|
-
{
|
|
4199
|
-
"name": "label",
|
|
4200
|
-
"description": "REQUIRED: Accessible label for the input",
|
|
4201
|
-
"type": "string"
|
|
4202
|
-
},
|
|
4203
4217
|
{
|
|
4204
4218
|
"name": "max-value",
|
|
4205
4219
|
"description": "Maximum valid date that could be selected by a user",
|
|
@@ -4246,6 +4260,16 @@
|
|
|
4246
4260
|
"type": "string",
|
|
4247
4261
|
"default": "\"\""
|
|
4248
4262
|
},
|
|
4263
|
+
{
|
|
4264
|
+
"name": "labelled-by",
|
|
4265
|
+
"description": "The id of element that provides the label for this element",
|
|
4266
|
+
"type": "string"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "label",
|
|
4270
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4271
|
+
"type": "string"
|
|
4272
|
+
},
|
|
4249
4273
|
{
|
|
4250
4274
|
"name": "skeleton",
|
|
4251
4275
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -4254,12 +4278,6 @@
|
|
|
4254
4278
|
}
|
|
4255
4279
|
],
|
|
4256
4280
|
"properties": [
|
|
4257
|
-
{
|
|
4258
|
-
"name": "label",
|
|
4259
|
-
"attribute": "label",
|
|
4260
|
-
"description": "REQUIRED: Accessible label for the input",
|
|
4261
|
-
"type": "string"
|
|
4262
|
-
},
|
|
4263
4281
|
{
|
|
4264
4282
|
"name": "maxValue",
|
|
4265
4283
|
"attribute": "max-value",
|
|
@@ -4314,6 +4332,23 @@
|
|
|
4314
4332
|
"type": "string",
|
|
4315
4333
|
"default": "\"\""
|
|
4316
4334
|
},
|
|
4335
|
+
{
|
|
4336
|
+
"name": "labelledBy",
|
|
4337
|
+
"attribute": "labelled-by",
|
|
4338
|
+
"description": "The id of element that provides the label for this element",
|
|
4339
|
+
"type": "string"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
"name": "label",
|
|
4343
|
+
"attribute": "label",
|
|
4344
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4345
|
+
"type": "string"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "labelRequired",
|
|
4349
|
+
"type": "boolean",
|
|
4350
|
+
"default": "true"
|
|
4351
|
+
},
|
|
4317
4352
|
{
|
|
4318
4353
|
"name": "skeleton",
|
|
4319
4354
|
"attribute": "skeleton",
|
|
@@ -4326,6 +4361,9 @@
|
|
|
4326
4361
|
{
|
|
4327
4362
|
"name": "change",
|
|
4328
4363
|
"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\")."
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4329
4367
|
}
|
|
4330
4368
|
]
|
|
4331
4369
|
},
|
|
@@ -4409,11 +4447,6 @@
|
|
|
4409
4447
|
"description": "Hide the alert icon when input is invalid",
|
|
4410
4448
|
"type": "boolean"
|
|
4411
4449
|
},
|
|
4412
|
-
{
|
|
4413
|
-
"name": "label",
|
|
4414
|
-
"description": "Label for the input",
|
|
4415
|
-
"type": "string"
|
|
4416
|
-
},
|
|
4417
4450
|
{
|
|
4418
4451
|
"name": "max",
|
|
4419
4452
|
"description": "Maximum value allowed",
|
|
@@ -4496,6 +4529,16 @@
|
|
|
4496
4529
|
"type": "boolean",
|
|
4497
4530
|
"default": "false"
|
|
4498
4531
|
},
|
|
4532
|
+
{
|
|
4533
|
+
"name": "labelled-by",
|
|
4534
|
+
"description": "The id of element that provides the label for this element",
|
|
4535
|
+
"type": "string"
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "label",
|
|
4539
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4540
|
+
"type": "string"
|
|
4541
|
+
},
|
|
4499
4542
|
{
|
|
4500
4543
|
"name": "skeleton",
|
|
4501
4544
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -4516,12 +4559,6 @@
|
|
|
4516
4559
|
"description": "Hide the alert icon when input is invalid",
|
|
4517
4560
|
"type": "boolean"
|
|
4518
4561
|
},
|
|
4519
|
-
{
|
|
4520
|
-
"name": "label",
|
|
4521
|
-
"attribute": "label",
|
|
4522
|
-
"description": "Label for the input",
|
|
4523
|
-
"type": "string"
|
|
4524
|
-
},
|
|
4525
4562
|
{
|
|
4526
4563
|
"name": "max",
|
|
4527
4564
|
"attribute": "max",
|
|
@@ -4626,6 +4663,23 @@
|
|
|
4626
4663
|
"type": "boolean",
|
|
4627
4664
|
"default": "false"
|
|
4628
4665
|
},
|
|
4666
|
+
{
|
|
4667
|
+
"name": "labelledBy",
|
|
4668
|
+
"attribute": "labelled-by",
|
|
4669
|
+
"description": "The id of element that provides the label for this element",
|
|
4670
|
+
"type": "string"
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"name": "label",
|
|
4674
|
+
"attribute": "label",
|
|
4675
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4676
|
+
"type": "string"
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
"name": "labelRequired",
|
|
4680
|
+
"type": "boolean",
|
|
4681
|
+
"default": "true"
|
|
4682
|
+
},
|
|
4629
4683
|
{
|
|
4630
4684
|
"name": "skeleton",
|
|
4631
4685
|
"attribute": "skeleton",
|
|
@@ -4638,6 +4692,9 @@
|
|
|
4638
4692
|
{
|
|
4639
4693
|
"name": "change",
|
|
4640
4694
|
"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."
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4641
4698
|
}
|
|
4642
4699
|
],
|
|
4643
4700
|
"slots": [
|
|
@@ -4665,11 +4722,6 @@
|
|
|
4665
4722
|
"description": "Restricts the maximum width of the input box without impacting the width of the label.",
|
|
4666
4723
|
"type": "string"
|
|
4667
4724
|
},
|
|
4668
|
-
{
|
|
4669
|
-
"name": "label",
|
|
4670
|
-
"description": "REQUIRED: Label for the input",
|
|
4671
|
-
"type": "string"
|
|
4672
|
-
},
|
|
4673
4725
|
{
|
|
4674
4726
|
"name": "max-fraction-digits",
|
|
4675
4727
|
"description": "Maximum number of decimal values to show (rounds value up or down).",
|
|
@@ -4719,6 +4771,16 @@
|
|
|
4719
4771
|
"type": "boolean",
|
|
4720
4772
|
"default": "false"
|
|
4721
4773
|
},
|
|
4774
|
+
{
|
|
4775
|
+
"name": "labelled-by",
|
|
4776
|
+
"description": "The id of element that provides the label for this element",
|
|
4777
|
+
"type": "string"
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
"name": "label",
|
|
4781
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4782
|
+
"type": "string"
|
|
4783
|
+
},
|
|
4722
4784
|
{
|
|
4723
4785
|
"name": "skeleton",
|
|
4724
4786
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -4733,12 +4795,6 @@
|
|
|
4733
4795
|
"description": "Restricts the maximum width of the input box without impacting the width of the label.",
|
|
4734
4796
|
"type": "string"
|
|
4735
4797
|
},
|
|
4736
|
-
{
|
|
4737
|
-
"name": "label",
|
|
4738
|
-
"attribute": "label",
|
|
4739
|
-
"description": "REQUIRED: Label for the input",
|
|
4740
|
-
"type": "string"
|
|
4741
|
-
},
|
|
4742
4798
|
{
|
|
4743
4799
|
"name": "maxFractionDigits",
|
|
4744
4800
|
"attribute": "max-fraction-digits",
|
|
@@ -4797,6 +4853,23 @@
|
|
|
4797
4853
|
"type": "boolean",
|
|
4798
4854
|
"default": "false"
|
|
4799
4855
|
},
|
|
4856
|
+
{
|
|
4857
|
+
"name": "labelledBy",
|
|
4858
|
+
"attribute": "labelled-by",
|
|
4859
|
+
"description": "The id of element that provides the label for this element",
|
|
4860
|
+
"type": "string"
|
|
4861
|
+
},
|
|
4862
|
+
{
|
|
4863
|
+
"name": "label",
|
|
4864
|
+
"attribute": "label",
|
|
4865
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
4866
|
+
"type": "string"
|
|
4867
|
+
},
|
|
4868
|
+
{
|
|
4869
|
+
"name": "labelRequired",
|
|
4870
|
+
"type": "boolean",
|
|
4871
|
+
"default": "true"
|
|
4872
|
+
},
|
|
4800
4873
|
{
|
|
4801
4874
|
"name": "skeleton",
|
|
4802
4875
|
"attribute": "skeleton",
|
|
@@ -4809,6 +4882,9 @@
|
|
|
4809
4882
|
{
|
|
4810
4883
|
"name": "change",
|
|
4811
4884
|
"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."
|
|
4885
|
+
},
|
|
4886
|
+
{
|
|
4887
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
4812
4888
|
}
|
|
4813
4889
|
],
|
|
4814
4890
|
"slots": [
|
|
@@ -4955,11 +5031,6 @@
|
|
|
4955
5031
|
"description": "Restricts the maximum width of the input box without impacting the width of the label.",
|
|
4956
5032
|
"type": "string"
|
|
4957
5033
|
},
|
|
4958
|
-
{
|
|
4959
|
-
"name": "label",
|
|
4960
|
-
"description": "REQUIRED: Label for the input",
|
|
4961
|
-
"type": "string"
|
|
4962
|
-
},
|
|
4963
5034
|
{
|
|
4964
5035
|
"name": "live",
|
|
4965
5036
|
"description": "Set the priority with which screen readers should treat updates to the input's live text region",
|
|
@@ -5068,6 +5139,16 @@
|
|
|
5068
5139
|
"type": "'text'|'email'|'number'|'password'|'search'|'tel'|'url'",
|
|
5069
5140
|
"default": "\"text\""
|
|
5070
5141
|
},
|
|
5142
|
+
{
|
|
5143
|
+
"name": "labelled-by",
|
|
5144
|
+
"description": "The id of element that provides the label for this element",
|
|
5145
|
+
"type": "string"
|
|
5146
|
+
},
|
|
5147
|
+
{
|
|
5148
|
+
"name": "label",
|
|
5149
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5150
|
+
"type": "string"
|
|
5151
|
+
},
|
|
5071
5152
|
{
|
|
5072
5153
|
"name": "skeleton",
|
|
5073
5154
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -5112,12 +5193,6 @@
|
|
|
5112
5193
|
"description": "Restricts the maximum width of the input box without impacting the width of the label.",
|
|
5113
5194
|
"type": "string"
|
|
5114
5195
|
},
|
|
5115
|
-
{
|
|
5116
|
-
"name": "label",
|
|
5117
|
-
"attribute": "label",
|
|
5118
|
-
"description": "REQUIRED: Label for the input",
|
|
5119
|
-
"type": "string"
|
|
5120
|
-
},
|
|
5121
5196
|
{
|
|
5122
5197
|
"name": "live",
|
|
5123
5198
|
"attribute": "live",
|
|
@@ -5246,6 +5321,23 @@
|
|
|
5246
5321
|
"type": "'text'|'email'|'number'|'password'|'search'|'tel'|'url'",
|
|
5247
5322
|
"default": "\"text\""
|
|
5248
5323
|
},
|
|
5324
|
+
{
|
|
5325
|
+
"name": "labelledBy",
|
|
5326
|
+
"attribute": "labelled-by",
|
|
5327
|
+
"description": "The id of element that provides the label for this element",
|
|
5328
|
+
"type": "string"
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
"name": "label",
|
|
5332
|
+
"attribute": "label",
|
|
5333
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5334
|
+
"type": "string"
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
"name": "labelRequired",
|
|
5338
|
+
"type": "boolean",
|
|
5339
|
+
"default": "true"
|
|
5340
|
+
},
|
|
5249
5341
|
{
|
|
5250
5342
|
"name": "skeleton",
|
|
5251
5343
|
"attribute": "skeleton",
|
|
@@ -5262,6 +5354,9 @@
|
|
|
5262
5354
|
{
|
|
5263
5355
|
"name": "input",
|
|
5264
5356
|
"description": "Dispatched immediately after changes by the user"
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
5265
5360
|
}
|
|
5266
5361
|
],
|
|
5267
5362
|
"slots": [
|
|
@@ -5294,11 +5389,6 @@
|
|
|
5294
5389
|
"description": "Additional information communicated in the aria-describedby on the input",
|
|
5295
5390
|
"type": "string"
|
|
5296
5391
|
},
|
|
5297
|
-
{
|
|
5298
|
-
"name": "label",
|
|
5299
|
-
"description": "REQUIRED: Label for the input",
|
|
5300
|
-
"type": "string"
|
|
5301
|
-
},
|
|
5302
5392
|
{
|
|
5303
5393
|
"name": "maxlength",
|
|
5304
5394
|
"description": "Imposes an upper character limit",
|
|
@@ -5360,6 +5450,16 @@
|
|
|
5360
5450
|
"type": "string",
|
|
5361
5451
|
"default": "\"\""
|
|
5362
5452
|
},
|
|
5453
|
+
{
|
|
5454
|
+
"name": "labelled-by",
|
|
5455
|
+
"description": "The id of element that provides the label for this element",
|
|
5456
|
+
"type": "string"
|
|
5457
|
+
},
|
|
5458
|
+
{
|
|
5459
|
+
"name": "label",
|
|
5460
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5461
|
+
"type": "string"
|
|
5462
|
+
},
|
|
5363
5463
|
{
|
|
5364
5464
|
"name": "skeleton",
|
|
5365
5465
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -5380,12 +5480,6 @@
|
|
|
5380
5480
|
"description": "Additional information communicated in the aria-describedby on the input",
|
|
5381
5481
|
"type": "string"
|
|
5382
5482
|
},
|
|
5383
|
-
{
|
|
5384
|
-
"name": "label",
|
|
5385
|
-
"attribute": "label",
|
|
5386
|
-
"description": "REQUIRED: Label for the input",
|
|
5387
|
-
"type": "string"
|
|
5388
|
-
},
|
|
5389
5483
|
{
|
|
5390
5484
|
"name": "maxlength",
|
|
5391
5485
|
"attribute": "maxlength",
|
|
@@ -5458,6 +5552,23 @@
|
|
|
5458
5552
|
"type": "string",
|
|
5459
5553
|
"default": "\"\""
|
|
5460
5554
|
},
|
|
5555
|
+
{
|
|
5556
|
+
"name": "labelledBy",
|
|
5557
|
+
"attribute": "labelled-by",
|
|
5558
|
+
"description": "The id of element that provides the label for this element",
|
|
5559
|
+
"type": "string"
|
|
5560
|
+
},
|
|
5561
|
+
{
|
|
5562
|
+
"name": "label",
|
|
5563
|
+
"attribute": "label",
|
|
5564
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5565
|
+
"type": "string"
|
|
5566
|
+
},
|
|
5567
|
+
{
|
|
5568
|
+
"name": "labelRequired",
|
|
5569
|
+
"type": "boolean",
|
|
5570
|
+
"default": "true"
|
|
5571
|
+
},
|
|
5461
5572
|
{
|
|
5462
5573
|
"name": "skeleton",
|
|
5463
5574
|
"attribute": "skeleton",
|
|
@@ -5474,6 +5585,9 @@
|
|
|
5474
5585
|
{
|
|
5475
5586
|
"name": "input",
|
|
5476
5587
|
"description": "Dispatched immediately after changes by the user"
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
5477
5591
|
}
|
|
5478
5592
|
]
|
|
5479
5593
|
},
|
|
@@ -5704,11 +5818,6 @@
|
|
|
5704
5818
|
"description": "Default value of input. Accepts times formatted as \"hh:mm:ss\", and the keywords \"startOfDay\" and \"endOfDay\".",
|
|
5705
5819
|
"type": "string"
|
|
5706
5820
|
},
|
|
5707
|
-
{
|
|
5708
|
-
"name": "label",
|
|
5709
|
-
"description": "REQUIRED: Accessible label for the input",
|
|
5710
|
-
"type": "string"
|
|
5711
|
-
},
|
|
5712
5821
|
{
|
|
5713
5822
|
"name": "max-height",
|
|
5714
5823
|
"description": "Overrides max-height of the time dropdown menu",
|
|
@@ -5755,6 +5864,16 @@
|
|
|
5755
5864
|
"type": "'five'|'ten'|'fifteen'|'twenty'|'thirty'|'sixty'",
|
|
5756
5865
|
"default": "\"thirty\""
|
|
5757
5866
|
},
|
|
5867
|
+
{
|
|
5868
|
+
"name": "labelled-by",
|
|
5869
|
+
"description": "The id of element that provides the label for this element",
|
|
5870
|
+
"type": "string"
|
|
5871
|
+
},
|
|
5872
|
+
{
|
|
5873
|
+
"name": "label",
|
|
5874
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5875
|
+
"type": "string"
|
|
5876
|
+
},
|
|
5758
5877
|
{
|
|
5759
5878
|
"name": "skeleton",
|
|
5760
5879
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -5769,12 +5888,6 @@
|
|
|
5769
5888
|
"description": "Default value of input. Accepts times formatted as \"hh:mm:ss\", and the keywords \"startOfDay\" and \"endOfDay\".",
|
|
5770
5889
|
"type": "string"
|
|
5771
5890
|
},
|
|
5772
|
-
{
|
|
5773
|
-
"name": "label",
|
|
5774
|
-
"attribute": "label",
|
|
5775
|
-
"description": "REQUIRED: Accessible label for the input",
|
|
5776
|
-
"type": "string"
|
|
5777
|
-
},
|
|
5778
5891
|
{
|
|
5779
5892
|
"name": "maxHeight",
|
|
5780
5893
|
"attribute": "max-height",
|
|
@@ -5829,6 +5942,23 @@
|
|
|
5829
5942
|
"type": "'five'|'ten'|'fifteen'|'twenty'|'thirty'|'sixty'",
|
|
5830
5943
|
"default": "\"thirty\""
|
|
5831
5944
|
},
|
|
5945
|
+
{
|
|
5946
|
+
"name": "labelledBy",
|
|
5947
|
+
"attribute": "labelled-by",
|
|
5948
|
+
"description": "The id of element that provides the label for this element",
|
|
5949
|
+
"type": "string"
|
|
5950
|
+
},
|
|
5951
|
+
{
|
|
5952
|
+
"name": "label",
|
|
5953
|
+
"attribute": "label",
|
|
5954
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5955
|
+
"type": "string"
|
|
5956
|
+
},
|
|
5957
|
+
{
|
|
5958
|
+
"name": "labelRequired",
|
|
5959
|
+
"type": "boolean",
|
|
5960
|
+
"default": "true"
|
|
5961
|
+
},
|
|
5832
5962
|
{
|
|
5833
5963
|
"name": "skeleton",
|
|
5834
5964
|
"attribute": "skeleton",
|
|
@@ -5841,6 +5971,9 @@
|
|
|
5841
5971
|
{
|
|
5842
5972
|
"name": "change",
|
|
5843
5973
|
"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\")."
|
|
5974
|
+
},
|
|
5975
|
+
{
|
|
5976
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
5844
5977
|
}
|
|
5845
5978
|
]
|
|
5846
5979
|
},
|
|
@@ -5977,6 +6110,173 @@
|
|
|
5977
6110
|
}
|
|
5978
6111
|
]
|
|
5979
6112
|
},
|
|
6113
|
+
{
|
|
6114
|
+
"name": "d2l-demo-list-item-custom",
|
|
6115
|
+
"path": "./components/list/demo/list-item-custom.js",
|
|
6116
|
+
"attributes": [
|
|
6117
|
+
{
|
|
6118
|
+
"name": "breakpoints",
|
|
6119
|
+
"description": "Breakpoints for responsiveness in pixels. There are four different breakpoints and only the four largest breakpoints will be used.",
|
|
6120
|
+
"type": "array",
|
|
6121
|
+
"default": "[842,636,580,0]"
|
|
6122
|
+
},
|
|
6123
|
+
{
|
|
6124
|
+
"name": "slim",
|
|
6125
|
+
"description": "Whether to render the list-item with reduced whitespace.",
|
|
6126
|
+
"type": "boolean",
|
|
6127
|
+
"default": "false"
|
|
6128
|
+
},
|
|
6129
|
+
{
|
|
6130
|
+
"name": "draggable",
|
|
6131
|
+
"description": "**Drag & drop:** Whether the item is draggable",
|
|
6132
|
+
"type": "boolean"
|
|
6133
|
+
},
|
|
6134
|
+
{
|
|
6135
|
+
"name": "drag-handle-text",
|
|
6136
|
+
"description": "**Drag & drop:** The drag-handle label for assistive technology. If implementing drag & drop, you should change this to dynamically announce what the drag-handle is moving for assistive technology in keyboard mode.",
|
|
6137
|
+
"type": "string"
|
|
6138
|
+
},
|
|
6139
|
+
{
|
|
6140
|
+
"name": "drop-text",
|
|
6141
|
+
"description": "**Drag & drop:** Text to drag and drop",
|
|
6142
|
+
"type": "string"
|
|
6143
|
+
},
|
|
6144
|
+
{
|
|
6145
|
+
"name": "disabled",
|
|
6146
|
+
"description": "**Selection:** Disables the input",
|
|
6147
|
+
"type": "boolean"
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
"name": "key",
|
|
6151
|
+
"description": "Value to identify item if selectable",
|
|
6152
|
+
"type": "string"
|
|
6153
|
+
},
|
|
6154
|
+
{
|
|
6155
|
+
"name": "selectable",
|
|
6156
|
+
"description": "**Selection:** Indicates a input should be rendered for selecting the item",
|
|
6157
|
+
"type": "boolean",
|
|
6158
|
+
"default": "true"
|
|
6159
|
+
},
|
|
6160
|
+
{
|
|
6161
|
+
"name": "selected",
|
|
6162
|
+
"description": "**Selection:** Whether the item is selected",
|
|
6163
|
+
"type": "boolean"
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
"name": "skeleton",
|
|
6167
|
+
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
6168
|
+
"type": "boolean",
|
|
6169
|
+
"default": "false"
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"name": "labelled-by",
|
|
6173
|
+
"description": "The id of element that provides the label for this element",
|
|
6174
|
+
"type": "string"
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
"name": "label",
|
|
6178
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6179
|
+
"type": "string"
|
|
6180
|
+
}
|
|
6181
|
+
],
|
|
6182
|
+
"properties": [
|
|
6183
|
+
{
|
|
6184
|
+
"name": "breakpoints",
|
|
6185
|
+
"attribute": "breakpoints",
|
|
6186
|
+
"description": "Breakpoints for responsiveness in pixels. There are four different breakpoints and only the four largest breakpoints will be used.",
|
|
6187
|
+
"type": "array",
|
|
6188
|
+
"default": "[842,636,580,0]"
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
"name": "slim",
|
|
6192
|
+
"attribute": "slim",
|
|
6193
|
+
"description": "Whether to render the list-item with reduced whitespace.",
|
|
6194
|
+
"type": "boolean",
|
|
6195
|
+
"default": "false"
|
|
6196
|
+
},
|
|
6197
|
+
{
|
|
6198
|
+
"name": "draggable",
|
|
6199
|
+
"attribute": "draggable",
|
|
6200
|
+
"description": "**Drag & drop:** Whether the item is draggable",
|
|
6201
|
+
"type": "boolean"
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"name": "dragHandleText",
|
|
6205
|
+
"attribute": "drag-handle-text",
|
|
6206
|
+
"description": "**Drag & drop:** The drag-handle label for assistive technology. If implementing drag & drop, you should change this to dynamically announce what the drag-handle is moving for assistive technology in keyboard mode.",
|
|
6207
|
+
"type": "string"
|
|
6208
|
+
},
|
|
6209
|
+
{
|
|
6210
|
+
"name": "dropText",
|
|
6211
|
+
"attribute": "drop-text",
|
|
6212
|
+
"description": "**Drag & drop:** Text to drag and drop",
|
|
6213
|
+
"type": "string"
|
|
6214
|
+
},
|
|
6215
|
+
{
|
|
6216
|
+
"name": "disabled",
|
|
6217
|
+
"attribute": "disabled",
|
|
6218
|
+
"description": "**Selection:** Disables the input",
|
|
6219
|
+
"type": "boolean"
|
|
6220
|
+
},
|
|
6221
|
+
{
|
|
6222
|
+
"name": "key",
|
|
6223
|
+
"attribute": "key",
|
|
6224
|
+
"description": "Value to identify item if selectable",
|
|
6225
|
+
"type": "string"
|
|
6226
|
+
},
|
|
6227
|
+
{
|
|
6228
|
+
"name": "selectable",
|
|
6229
|
+
"attribute": "selectable",
|
|
6230
|
+
"description": "**Selection:** Indicates a input should be rendered for selecting the item",
|
|
6231
|
+
"type": "boolean",
|
|
6232
|
+
"default": "true"
|
|
6233
|
+
},
|
|
6234
|
+
{
|
|
6235
|
+
"name": "selected",
|
|
6236
|
+
"attribute": "selected",
|
|
6237
|
+
"description": "**Selection:** Whether the item is selected",
|
|
6238
|
+
"type": "boolean"
|
|
6239
|
+
},
|
|
6240
|
+
{
|
|
6241
|
+
"name": "selectionInfo"
|
|
6242
|
+
},
|
|
6243
|
+
{
|
|
6244
|
+
"name": "skeleton",
|
|
6245
|
+
"attribute": "skeleton",
|
|
6246
|
+
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
6247
|
+
"type": "boolean",
|
|
6248
|
+
"default": "false"
|
|
6249
|
+
},
|
|
6250
|
+
{
|
|
6251
|
+
"name": "labelledBy",
|
|
6252
|
+
"attribute": "labelled-by",
|
|
6253
|
+
"description": "The id of element that provides the label for this element",
|
|
6254
|
+
"type": "string"
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"name": "label",
|
|
6258
|
+
"attribute": "label",
|
|
6259
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6260
|
+
"type": "string"
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
"name": "labelRequired",
|
|
6264
|
+
"type": "boolean",
|
|
6265
|
+
"default": "true"
|
|
6266
|
+
}
|
|
6267
|
+
],
|
|
6268
|
+
"events": [
|
|
6269
|
+
{
|
|
6270
|
+
"name": "d2l-list-item-position-change"
|
|
6271
|
+
},
|
|
6272
|
+
{
|
|
6273
|
+
"name": "d2l-list-item-selected"
|
|
6274
|
+
},
|
|
6275
|
+
{
|
|
6276
|
+
"name": "d2l-labelled-mixin-label-elem-change"
|
|
6277
|
+
}
|
|
6278
|
+
]
|
|
6279
|
+
},
|
|
5980
6280
|
{
|
|
5981
6281
|
"name": "d2l-list-header",
|
|
5982
6282
|
"path": "./components/list/list-header.js",
|
|
@@ -6064,7 +6364,7 @@
|
|
|
6064
6364
|
},
|
|
6065
6365
|
{
|
|
6066
6366
|
"name": "label",
|
|
6067
|
-
"description": "Explicitly defined label
|
|
6367
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6068
6368
|
"type": "string"
|
|
6069
6369
|
}
|
|
6070
6370
|
],
|
|
@@ -6144,8 +6444,13 @@
|
|
|
6144
6444
|
{
|
|
6145
6445
|
"name": "label",
|
|
6146
6446
|
"attribute": "label",
|
|
6147
|
-
"description": "Explicitly defined label
|
|
6447
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6148
6448
|
"type": "string"
|
|
6449
|
+
},
|
|
6450
|
+
{
|
|
6451
|
+
"name": "labelRequired",
|
|
6452
|
+
"type": "boolean",
|
|
6453
|
+
"default": "true"
|
|
6149
6454
|
}
|
|
6150
6455
|
],
|
|
6151
6456
|
"events": [
|
|
@@ -6377,7 +6682,7 @@
|
|
|
6377
6682
|
},
|
|
6378
6683
|
{
|
|
6379
6684
|
"name": "label",
|
|
6380
|
-
"description": "Explicitly defined label
|
|
6685
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6381
6686
|
"type": "string"
|
|
6382
6687
|
}
|
|
6383
6688
|
],
|
|
@@ -6469,8 +6774,13 @@
|
|
|
6469
6774
|
{
|
|
6470
6775
|
"name": "label",
|
|
6471
6776
|
"attribute": "label",
|
|
6472
|
-
"description": "Explicitly defined label
|
|
6777
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
6473
6778
|
"type": "string"
|
|
6779
|
+
},
|
|
6780
|
+
{
|
|
6781
|
+
"name": "labelRequired",
|
|
6782
|
+
"type": "boolean",
|
|
6783
|
+
"default": "true"
|
|
6474
6784
|
}
|
|
6475
6785
|
],
|
|
6476
6786
|
"events": [
|
|
@@ -6569,6 +6879,9 @@
|
|
|
6569
6879
|
{
|
|
6570
6880
|
"name": "d2l-list-selection-change",
|
|
6571
6881
|
"description": "Dispatched when the selection state changes"
|
|
6882
|
+
},
|
|
6883
|
+
{
|
|
6884
|
+
"name": "d2l-selection-provider-connected"
|
|
6572
6885
|
}
|
|
6573
6886
|
],
|
|
6574
6887
|
"slots": [
|
|
@@ -7672,7 +7985,7 @@
|
|
|
7672
7985
|
},
|
|
7673
7986
|
{
|
|
7674
7987
|
"name": "label",
|
|
7675
|
-
"description": "Explicitly defined label
|
|
7988
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
7676
7989
|
"type": "string"
|
|
7677
7990
|
}
|
|
7678
7991
|
],
|
|
@@ -7718,8 +8031,13 @@
|
|
|
7718
8031
|
{
|
|
7719
8032
|
"name": "label",
|
|
7720
8033
|
"attribute": "label",
|
|
7721
|
-
"description": "Explicitly defined label
|
|
8034
|
+
"description": "REQUIRED: Explicitly defined label for the element",
|
|
7722
8035
|
"type": "string"
|
|
8036
|
+
},
|
|
8037
|
+
{
|
|
8038
|
+
"name": "labelRequired",
|
|
8039
|
+
"type": "boolean",
|
|
8040
|
+
"default": "true"
|
|
7723
8041
|
}
|
|
7724
8042
|
],
|
|
7725
8043
|
"events": [
|
|
@@ -7850,6 +8168,11 @@
|
|
|
7850
8168
|
"type": "boolean",
|
|
7851
8169
|
"default": "false"
|
|
7852
8170
|
}
|
|
8171
|
+
],
|
|
8172
|
+
"events": [
|
|
8173
|
+
{
|
|
8174
|
+
"name": "d2l-selection-provider-connected"
|
|
8175
|
+
}
|
|
7853
8176
|
]
|
|
7854
8177
|
},
|
|
7855
8178
|
{
|