@brightspace-ui/core 1.217.0 → 1.219.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/dropdown/dropdown-content-mixin.js +2 -1
- package/components/filter/README.md +1 -0
- package/components/filter/filter-dimension-set.js +7 -1
- package/components/filter/filter.js +58 -0
- package/components/form/form-element-mixin.js +0 -1
- package/components/html-block/html-block.js +7 -4
- package/components/list/demo/list-item-custom.js +1 -0
- package/components/list/list-item-button-mixin.js +7 -1
- package/components/list/list-item-drag-handle.js +43 -5
- package/components/list/list-item-generic-layout.js +1 -0
- package/components/list/list-item-link-mixin.js +3 -1
- package/components/list/list-item-mixin.js +54 -3
- package/components/list/list-item-role-mixin.js +2 -1
- package/components/menu/menu-item.js +1 -0
- package/controllers/subscriber/README.md +3 -3
- package/controllers/subscriber/subscriberControllers.js +4 -4
- package/custom-elements.json +169 -3
- package/helpers/demo/announce-test.js +1 -1
- package/helpers/mathjax.js +7 -9
- package/lang/ar.js +20 -5
- package/lang/cy.js +20 -5
- package/lang/da.js +20 -5
- package/lang/de.js +20 -5
- package/lang/en.js +16 -0
- package/lang/es-es.js +20 -5
- package/lang/es.js +20 -5
- package/lang/fr-fr.js +20 -5
- package/lang/fr.js +20 -5
- package/lang/ja.js +20 -5
- package/lang/ko.js +20 -5
- package/lang/nl.js +20 -5
- package/lang/pt.js +20 -5
- package/lang/sv.js +20 -5
- package/lang/tr.js +20 -5
- package/lang/zh-tw.js +20 -5
- package/lang/zh.js +20 -5
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -1885,6 +1885,11 @@
|
|
|
1885
1885
|
"description": "Provide custom offset, positive or negative",
|
|
1886
1886
|
"type": "string"
|
|
1887
1887
|
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "opened",
|
|
1890
|
+
"description": "Whether the dropdown is open or not",
|
|
1891
|
+
"type": "boolean"
|
|
1892
|
+
},
|
|
1888
1893
|
{
|
|
1889
1894
|
"name": "no-auto-close",
|
|
1890
1895
|
"description": "Opt out of automatically closing on focus or click outside of the dropdown content",
|
|
@@ -1996,7 +2001,10 @@
|
|
|
1996
2001
|
"type": "string"
|
|
1997
2002
|
},
|
|
1998
2003
|
{
|
|
1999
|
-
"name": "opened"
|
|
2004
|
+
"name": "opened",
|
|
2005
|
+
"attribute": "opened",
|
|
2006
|
+
"description": "Whether the dropdown is open or not",
|
|
2007
|
+
"type": "boolean"
|
|
2000
2008
|
},
|
|
2001
2009
|
{
|
|
2002
2010
|
"name": "noAutoClose",
|
|
@@ -2235,6 +2243,11 @@
|
|
|
2235
2243
|
"description": "Provide custom offset, positive or negative",
|
|
2236
2244
|
"type": "string"
|
|
2237
2245
|
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "opened",
|
|
2248
|
+
"description": "Whether the dropdown is open or not",
|
|
2249
|
+
"type": "boolean"
|
|
2250
|
+
},
|
|
2238
2251
|
{
|
|
2239
2252
|
"name": "no-auto-close",
|
|
2240
2253
|
"description": "Opt out of automatically closing on focus or click outside of the dropdown content",
|
|
@@ -2346,7 +2359,10 @@
|
|
|
2346
2359
|
"type": "string"
|
|
2347
2360
|
},
|
|
2348
2361
|
{
|
|
2349
|
-
"name": "opened"
|
|
2362
|
+
"name": "opened",
|
|
2363
|
+
"attribute": "opened",
|
|
2364
|
+
"description": "Whether the dropdown is open or not",
|
|
2365
|
+
"type": "boolean"
|
|
2350
2366
|
},
|
|
2351
2367
|
{
|
|
2352
2368
|
"name": "noAutoClose",
|
|
@@ -2585,6 +2601,11 @@
|
|
|
2585
2601
|
"description": "Provide custom offset, positive or negative",
|
|
2586
2602
|
"type": "string"
|
|
2587
2603
|
},
|
|
2604
|
+
{
|
|
2605
|
+
"name": "opened",
|
|
2606
|
+
"description": "Whether the dropdown is open or not",
|
|
2607
|
+
"type": "boolean"
|
|
2608
|
+
},
|
|
2588
2609
|
{
|
|
2589
2610
|
"name": "no-auto-close",
|
|
2590
2611
|
"description": "Opt out of automatically closing on focus or click outside of the dropdown content",
|
|
@@ -2696,7 +2717,10 @@
|
|
|
2696
2717
|
"type": "string"
|
|
2697
2718
|
},
|
|
2698
2719
|
{
|
|
2699
|
-
"name": "opened"
|
|
2720
|
+
"name": "opened",
|
|
2721
|
+
"attribute": "opened",
|
|
2722
|
+
"description": "Whether the dropdown is open or not",
|
|
2723
|
+
"type": "boolean"
|
|
2700
2724
|
},
|
|
2701
2725
|
{
|
|
2702
2726
|
"name": "noAutoClose",
|
|
@@ -2992,6 +3016,12 @@
|
|
|
2992
3016
|
"description": "REQUIRED: The text that is displayed for the dimension title",
|
|
2993
3017
|
"type": "string",
|
|
2994
3018
|
"default": "\"\""
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"name": "value-only-active-filter-text",
|
|
3022
|
+
"description": "Whether to hide the dimension in the text sent to active filter subscribers",
|
|
3023
|
+
"type": "boolean",
|
|
3024
|
+
"default": "false"
|
|
2995
3025
|
}
|
|
2996
3026
|
],
|
|
2997
3027
|
"properties": [
|
|
@@ -3035,6 +3065,13 @@
|
|
|
3035
3065
|
"description": "REQUIRED: The text that is displayed for the dimension title",
|
|
3036
3066
|
"type": "string",
|
|
3037
3067
|
"default": "\"\""
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"name": "valueOnlyActiveFilterText",
|
|
3071
|
+
"attribute": "value-only-active-filter-text",
|
|
3072
|
+
"description": "Whether to hide the dimension in the text sent to active filter subscribers",
|
|
3073
|
+
"type": "boolean",
|
|
3074
|
+
"default": "false"
|
|
3038
3075
|
}
|
|
3039
3076
|
],
|
|
3040
3077
|
"slots": [
|
|
@@ -3318,6 +3355,11 @@
|
|
|
3318
3355
|
"name": "value",
|
|
3319
3356
|
"type": "string",
|
|
3320
3357
|
"default": "\"\""
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"name": "name",
|
|
3361
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
3362
|
+
"type": "string"
|
|
3321
3363
|
}
|
|
3322
3364
|
],
|
|
3323
3365
|
"properties": [
|
|
@@ -3347,6 +3389,12 @@
|
|
|
3347
3389
|
"attribute": "value",
|
|
3348
3390
|
"type": "string",
|
|
3349
3391
|
"default": "\"\""
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"name": "name",
|
|
3395
|
+
"attribute": "name",
|
|
3396
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
3397
|
+
"type": "string"
|
|
3350
3398
|
}
|
|
3351
3399
|
]
|
|
3352
3400
|
},
|
|
@@ -3803,6 +3851,11 @@
|
|
|
3803
3851
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
3804
3852
|
"type": "boolean",
|
|
3805
3853
|
"default": "false"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"name": "name",
|
|
3857
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
3858
|
+
"type": "string"
|
|
3806
3859
|
}
|
|
3807
3860
|
],
|
|
3808
3861
|
"properties": [
|
|
@@ -3912,6 +3965,12 @@
|
|
|
3912
3965
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
3913
3966
|
"type": "boolean",
|
|
3914
3967
|
"default": "false"
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"name": "name",
|
|
3971
|
+
"attribute": "name",
|
|
3972
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
3973
|
+
"type": "string"
|
|
3915
3974
|
}
|
|
3916
3975
|
],
|
|
3917
3976
|
"events": [
|
|
@@ -4082,6 +4141,11 @@
|
|
|
4082
4141
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4083
4142
|
"type": "boolean",
|
|
4084
4143
|
"default": "false"
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"name": "name",
|
|
4147
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4148
|
+
"type": "string"
|
|
4085
4149
|
}
|
|
4086
4150
|
],
|
|
4087
4151
|
"properties": [
|
|
@@ -4198,6 +4262,12 @@
|
|
|
4198
4262
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4199
4263
|
"type": "boolean",
|
|
4200
4264
|
"default": "false"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
"name": "name",
|
|
4268
|
+
"attribute": "name",
|
|
4269
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4270
|
+
"type": "string"
|
|
4201
4271
|
}
|
|
4202
4272
|
],
|
|
4203
4273
|
"events": [
|
|
@@ -4288,6 +4358,11 @@
|
|
|
4288
4358
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4289
4359
|
"type": "boolean",
|
|
4290
4360
|
"default": "false"
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"name": "name",
|
|
4364
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4365
|
+
"type": "string"
|
|
4291
4366
|
}
|
|
4292
4367
|
],
|
|
4293
4368
|
"properties": [
|
|
@@ -4374,6 +4449,12 @@
|
|
|
4374
4449
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4375
4450
|
"type": "boolean",
|
|
4376
4451
|
"default": "false"
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
"name": "name",
|
|
4455
|
+
"attribute": "name",
|
|
4456
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4457
|
+
"type": "string"
|
|
4377
4458
|
}
|
|
4378
4459
|
],
|
|
4379
4460
|
"events": [
|
|
@@ -4449,6 +4530,11 @@
|
|
|
4449
4530
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4450
4531
|
"type": "boolean",
|
|
4451
4532
|
"default": "false"
|
|
4533
|
+
},
|
|
4534
|
+
{
|
|
4535
|
+
"name": "name",
|
|
4536
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4537
|
+
"type": "string"
|
|
4452
4538
|
}
|
|
4453
4539
|
],
|
|
4454
4540
|
"properties": [
|
|
@@ -4529,6 +4615,12 @@
|
|
|
4529
4615
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4530
4616
|
"type": "boolean",
|
|
4531
4617
|
"default": "false"
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"name": "name",
|
|
4621
|
+
"attribute": "name",
|
|
4622
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4623
|
+
"type": "string"
|
|
4532
4624
|
}
|
|
4533
4625
|
],
|
|
4534
4626
|
"events": [
|
|
@@ -4715,6 +4807,11 @@
|
|
|
4715
4807
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4716
4808
|
"type": "boolean",
|
|
4717
4809
|
"default": "false"
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
"name": "name",
|
|
4813
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4814
|
+
"type": "string"
|
|
4718
4815
|
}
|
|
4719
4816
|
],
|
|
4720
4817
|
"properties": [
|
|
@@ -4857,6 +4954,12 @@
|
|
|
4857
4954
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4858
4955
|
"type": "boolean",
|
|
4859
4956
|
"default": "false"
|
|
4957
|
+
},
|
|
4958
|
+
{
|
|
4959
|
+
"name": "name",
|
|
4960
|
+
"attribute": "name",
|
|
4961
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
4962
|
+
"type": "string"
|
|
4860
4963
|
}
|
|
4861
4964
|
],
|
|
4862
4965
|
"events": [
|
|
@@ -4954,6 +5057,11 @@
|
|
|
4954
5057
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
4955
5058
|
"type": "boolean",
|
|
4956
5059
|
"default": "false"
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
"name": "name",
|
|
5063
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5064
|
+
"type": "string"
|
|
4957
5065
|
}
|
|
4958
5066
|
],
|
|
4959
5067
|
"properties": [
|
|
@@ -5044,6 +5152,12 @@
|
|
|
5044
5152
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
5045
5153
|
"type": "boolean",
|
|
5046
5154
|
"default": "false"
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
"name": "name",
|
|
5158
|
+
"attribute": "name",
|
|
5159
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5160
|
+
"type": "string"
|
|
5047
5161
|
}
|
|
5048
5162
|
],
|
|
5049
5163
|
"events": [
|
|
@@ -5314,6 +5428,11 @@
|
|
|
5314
5428
|
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5315
5429
|
"type": "string"
|
|
5316
5430
|
},
|
|
5431
|
+
{
|
|
5432
|
+
"name": "name",
|
|
5433
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5434
|
+
"type": "string"
|
|
5435
|
+
},
|
|
5317
5436
|
{
|
|
5318
5437
|
"name": "skeleton",
|
|
5319
5438
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -5503,6 +5622,12 @@
|
|
|
5503
5622
|
"type": "boolean",
|
|
5504
5623
|
"default": "true"
|
|
5505
5624
|
},
|
|
5625
|
+
{
|
|
5626
|
+
"name": "name",
|
|
5627
|
+
"attribute": "name",
|
|
5628
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5629
|
+
"type": "string"
|
|
5630
|
+
},
|
|
5506
5631
|
{
|
|
5507
5632
|
"name": "skeleton",
|
|
5508
5633
|
"attribute": "skeleton",
|
|
@@ -5622,6 +5747,11 @@
|
|
|
5622
5747
|
"description": "REQUIRED: Explicitly defined label for the element",
|
|
5623
5748
|
"type": "string"
|
|
5624
5749
|
},
|
|
5750
|
+
{
|
|
5751
|
+
"name": "name",
|
|
5752
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5753
|
+
"type": "string"
|
|
5754
|
+
},
|
|
5625
5755
|
{
|
|
5626
5756
|
"name": "skeleton",
|
|
5627
5757
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
@@ -5731,6 +5861,12 @@
|
|
|
5731
5861
|
"type": "boolean",
|
|
5732
5862
|
"default": "true"
|
|
5733
5863
|
},
|
|
5864
|
+
{
|
|
5865
|
+
"name": "name",
|
|
5866
|
+
"attribute": "name",
|
|
5867
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5868
|
+
"type": "string"
|
|
5869
|
+
},
|
|
5734
5870
|
{
|
|
5735
5871
|
"name": "skeleton",
|
|
5736
5872
|
"attribute": "skeleton",
|
|
@@ -5847,6 +5983,11 @@
|
|
|
5847
5983
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
5848
5984
|
"type": "boolean",
|
|
5849
5985
|
"default": "false"
|
|
5986
|
+
},
|
|
5987
|
+
{
|
|
5988
|
+
"name": "name",
|
|
5989
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
5990
|
+
"type": "string"
|
|
5850
5991
|
}
|
|
5851
5992
|
],
|
|
5852
5993
|
"properties": [
|
|
@@ -5958,6 +6099,12 @@
|
|
|
5958
6099
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
5959
6100
|
"type": "boolean",
|
|
5960
6101
|
"default": "false"
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
"name": "name",
|
|
6105
|
+
"attribute": "name",
|
|
6106
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
6107
|
+
"type": "string"
|
|
5961
6108
|
}
|
|
5962
6109
|
],
|
|
5963
6110
|
"events": [
|
|
@@ -6038,6 +6185,11 @@
|
|
|
6038
6185
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
6039
6186
|
"type": "boolean",
|
|
6040
6187
|
"default": "false"
|
|
6188
|
+
},
|
|
6189
|
+
{
|
|
6190
|
+
"name": "name",
|
|
6191
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
6192
|
+
"type": "string"
|
|
6041
6193
|
}
|
|
6042
6194
|
],
|
|
6043
6195
|
"properties": [
|
|
@@ -6124,6 +6276,12 @@
|
|
|
6124
6276
|
"description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
|
|
6125
6277
|
"type": "boolean",
|
|
6126
6278
|
"default": "false"
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"name": "name",
|
|
6282
|
+
"attribute": "name",
|
|
6283
|
+
"description": "Name of the form control. Submitted with the form as part of a name/value pair.",
|
|
6284
|
+
"type": "string"
|
|
6127
6285
|
}
|
|
6128
6286
|
],
|
|
6129
6287
|
"events": [
|
|
@@ -6821,6 +6979,10 @@
|
|
|
6821
6979
|
{
|
|
6822
6980
|
"name": "actions",
|
|
6823
6981
|
"description": "Other actions for the list item on the far right, such as a context menu"
|
|
6982
|
+
},
|
|
6983
|
+
{
|
|
6984
|
+
"name": "nested",
|
|
6985
|
+
"description": "Optional `d2l-list` for creating nested lists"
|
|
6824
6986
|
}
|
|
6825
6987
|
]
|
|
6826
6988
|
},
|
|
@@ -7623,6 +7785,10 @@
|
|
|
7623
7785
|
{
|
|
7624
7786
|
"name": "",
|
|
7625
7787
|
"description": "Default content placed inside of the component"
|
|
7788
|
+
},
|
|
7789
|
+
{
|
|
7790
|
+
"name": "supporting",
|
|
7791
|
+
"description": "Allows supporting information to be displayed on the right-most side of the menu item"
|
|
7626
7792
|
}
|
|
7627
7793
|
]
|
|
7628
7794
|
},
|
|
@@ -21,7 +21,7 @@ class AnnounceTest extends LitElement {
|
|
|
21
21
|
return html`
|
|
22
22
|
<d2l-input-text id="msg1" type="text" value="I like cookies but I also like donuts and many other really yummy things." aria-label="first message to announce"></d2l-input-text>
|
|
23
23
|
<d2l-input-text id="msg2" type="text" value="I also like cake." aria-label="second message to announce"></d2l-input-text>
|
|
24
|
-
<d2l-button @click=${this._handleAnnounce}
|
|
24
|
+
<d2l-button @click=${this._handleAnnounce}>Announce</d2l-button>`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
_handleAnnounce() {
|
package/helpers/mathjax.js
CHANGED
|
@@ -4,19 +4,13 @@ let mathJaxLoaded;
|
|
|
4
4
|
|
|
5
5
|
export class HtmlBlockMathRenderer {
|
|
6
6
|
|
|
7
|
-
get canRenderInline() {
|
|
8
|
-
// The custom MathJax ShadowAdaptor creates a new document and renders
|
|
9
|
-
// its contents to the DOM.
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
7
|
get contextAttributes() {
|
|
14
8
|
return [mathjaxContextAttribute];
|
|
15
9
|
}
|
|
16
10
|
|
|
17
|
-
async render(elem,
|
|
18
|
-
if (!contextValues) return elem;
|
|
19
|
-
const contextVal = contextValues.get(mathjaxContextAttribute);
|
|
11
|
+
async render(elem, options) {
|
|
12
|
+
if (!options.contextValues) return elem;
|
|
13
|
+
const contextVal = options.contextValues.get(mathjaxContextAttribute);
|
|
20
14
|
if (contextVal === undefined) return elem;
|
|
21
15
|
|
|
22
16
|
const context = JSON.parse(contextVal) || {};
|
|
@@ -31,6 +25,10 @@ export class HtmlBlockMathRenderer {
|
|
|
31
25
|
|
|
32
26
|
await loadMathJax(mathJaxConfig);
|
|
33
27
|
|
|
28
|
+
// If we're opting out of deferred rendering, we need to rely
|
|
29
|
+
// on the global MathJax install for rendering.
|
|
30
|
+
if (options.noDeferredRendering) return elem;
|
|
31
|
+
|
|
34
32
|
const temp = document.createElement('div');
|
|
35
33
|
temp.style.display = 'none';
|
|
36
34
|
temp.attachShadow({ mode: 'open' });
|
package/lang/ar.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/* eslint quotes: 0 */
|
|
2
|
-
|
|
3
2
|
export default {
|
|
4
3
|
"components.alert.close": "إغلاق التنبيه",
|
|
5
4
|
"components.breadcrumbs.breadcrumb": "شريط التنقل",
|
|
6
5
|
"components.calendar.notSelected": "لم يتم التحديد.",
|
|
7
6
|
"components.calendar.selected": "تم التحديد.",
|
|
8
7
|
"components.calendar.show": "إظهار {month}",
|
|
9
|
-
"components.count-badge.plus"
|
|
8
|
+
"components.count-badge.plus": "{number}+",
|
|
10
9
|
"components.dialog.close": "إغلاق مربع الحوار هذا",
|
|
11
10
|
"components.dropdown.close": "إغلاق",
|
|
12
11
|
"components.filter.clear": "مسح",
|
|
@@ -17,9 +16,9 @@ export default {
|
|
|
17
16
|
"components.filter.clearAnnounceSingle": "جارٍ مسح عوامل التصفية",
|
|
18
17
|
"components.filter.clearDescription": "مسح عوامل التصفية لـ: {filterName}",
|
|
19
18
|
"components.filter.clearDescriptionSingle": "مسح عوامل التصفية",
|
|
20
|
-
"components.filter.loading": "يتم تحميل عوامل التصفية",
|
|
21
19
|
"components.filter.filterCountDescription": "{number, plural, zero {لم يتم تطبيق عوامل تصفية.} one {تم تطبيق عامل تصفية واحد.} other {{number} من عوامل التصفية التي تم تطبيقها.}}",
|
|
22
20
|
"components.filter.filters": "عوامل التصفية",
|
|
21
|
+
"components.filter.loading": "يتم تحميل عوامل التصفية",
|
|
23
22
|
"components.filter.noFilters": "ما من عوامل تصفية متوفرة",
|
|
24
23
|
"components.filter.searchResults": "{number, plural, zero {ما من نتائج بحث} one {نتيجة بحث واحدة} other {{number} من نتائج البحث}}",
|
|
25
24
|
"components.filter.singleDimensionDescription": "التصفية حسب: {filterName}",
|
|
@@ -49,21 +48,37 @@ export default {
|
|
|
49
48
|
"components.input-date.errorMaxDateOnly": "يجب أن يكون التاريخ قبل {maxDate}",
|
|
50
49
|
"components.input-date.errorMinDateOnly": "يجب أن يكون التاريخ بعد {minDate}",
|
|
51
50
|
"components.input-date.errorOutsideRange": "يجب أن يكون التاريخ بين {minDate} و{maxDate}",
|
|
52
|
-
"components.input-date.openInstructions": "استخدم تنسيق التاريخ {format}. انتقل إلى الأسفل أو اضغط على Enter للوصول إلى التقويم المصغّر.",
|
|
53
51
|
"components.input-date.now": "الآن",
|
|
52
|
+
"components.input-date.openInstructions": "استخدم تنسيق التاريخ {format}. انتقل إلى الأسفل أو اضغط على Enter للوصول إلى التقويم المصغّر.",
|
|
54
53
|
"components.input-date.today": "اليوم",
|
|
55
|
-
"components.input-number.hintInteger": "يقبل هذا الحقل قيم الأعداد الصحيحة فقط (بدون أعداد عشرية)",
|
|
56
54
|
"components.input-number.hintDecimalDuplicate": "يوجد عدد عشري في هذا الرقم",
|
|
57
55
|
"components.input-number.hintDecimalIncorrectComma": "لإضافة عدد عشري، استخدم حرف الفاصلة \",\"",
|
|
58
56
|
"components.input-number.hintDecimalIncorrectPeriod": "لإضافة عدد عشري، استخدم حرف النقطة \".\"",
|
|
57
|
+
"components.input-number.hintInteger": "يقبل هذا الحقل قيم الأعداد الصحيحة فقط (بدون أعداد عشرية)",
|
|
59
58
|
"components.input-search.clear": "مسح البحث",
|
|
60
59
|
"components.input-search.defaultPlaceholder": "البحث...",
|
|
61
60
|
"components.input-search.search": "بحث",
|
|
62
61
|
"components.input-time-range.endTime": "وقت النهاية",
|
|
63
62
|
"components.input-time-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
|
|
64
63
|
"components.input-time-range.startTime": "وقت البدء",
|
|
64
|
+
"components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
|
|
65
|
+
"components.list-item-drag-handle-tooltip.enter-key": "Enter",
|
|
66
|
+
"components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
|
|
67
|
+
"components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
|
|
68
|
+
"components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
|
|
69
|
+
"components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
|
|
70
|
+
"components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
|
|
65
71
|
"components.list-item-drag-handle.default": "إعادة ترتيب إجراء المادة لـ {name}",
|
|
66
72
|
"components.list-item-drag-handle.keyboard": "إعادة ترتيب المواد، الموضع الحالي {currentPosition} من أصل {size}. لنقل هذه المادة، اضغط على السهم المتجه إلى أعلى أو السهم المتجه إلى أسفل.",
|
|
73
|
+
"components.list-item-tooltip.enter-desc": "Activate the focused option.",
|
|
74
|
+
"components.list-item-tooltip.enter-key": "Enter",
|
|
75
|
+
"components.list-item-tooltip.left-right-desc": "Move focus within current item.",
|
|
76
|
+
"components.list-item-tooltip.left-right-key": "Left/Right",
|
|
77
|
+
"components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
|
|
78
|
+
"components.list-item-tooltip.page-up-down-key": "Page Up/Down",
|
|
79
|
+
"components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
|
|
80
|
+
"components.list-item-tooltip.up-down-desc": "Move focus between list items.",
|
|
81
|
+
"components.list-item-tooltip.up-down-key": "Up/Down",
|
|
67
82
|
"components.menu-item-return.return": "العودة إلى القائمة السابقة.",
|
|
68
83
|
"components.menu-item-return.returnCurrentlyShowing": "العودة إلى القائمة السابقة. يتم عرض {menuTitle}.",
|
|
69
84
|
"components.meter-mixin.commaSeperatedAria": "{term1}، {term2}",
|
package/lang/cy.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/* eslint quotes: 0 */
|
|
2
|
-
|
|
3
2
|
export default {
|
|
4
3
|
"components.alert.close": "Cau Hysbysiad",
|
|
5
4
|
"components.breadcrumbs.breadcrumb": "Briwsionyn Bara",
|
|
6
5
|
"components.calendar.notSelected": "Heb ei Ddewis.",
|
|
7
6
|
"components.calendar.selected": "Wedi'i Ddewis.",
|
|
8
7
|
"components.calendar.show": "Dangos {month}",
|
|
9
|
-
"components.count-badge.plus"
|
|
8
|
+
"components.count-badge.plus": "{number}+",
|
|
10
9
|
"components.dialog.close": "Cau'r dialog hwn",
|
|
11
10
|
"components.dropdown.close": "Cau",
|
|
12
11
|
"components.filter.clear": "Clirio",
|
|
@@ -17,9 +16,9 @@ export default {
|
|
|
17
16
|
"components.filter.clearAnnounceSingle": "Wrthi'n clirio hidlwyr",
|
|
18
17
|
"components.filter.clearDescription": "Wrthi’n clirio hidlwyd ar gyfer: {filterName}",
|
|
19
18
|
"components.filter.clearDescriptionSingle": "Clirio Hidlwyr",
|
|
20
|
-
"components.filter.loading": "Wrthi’n llwytho hidlyddion",
|
|
21
19
|
"components.filter.filterCountDescription": "{number, plural, zero {Ni chymhwyswyd hidlwyr.} one {1 hidlydd wedi'i gymhwyso.} other {{number} hidlydd wedi'u cymhwyso.}}",
|
|
22
20
|
"components.filter.filters": "Hidlyddion",
|
|
21
|
+
"components.filter.loading": "Wrthi’n llwytho hidlyddion",
|
|
23
22
|
"components.filter.noFilters": "Dim hidlyddion ar gael",
|
|
24
23
|
"components.filter.searchResults": "{number, plural, zero {Dim canlyniadau chwilio} one {1 canlyniad chwilio} other {{number} o ganlyniadau chwilio}}",
|
|
25
24
|
"components.filter.singleDimensionDescription": "Hidlo yn ôl: {filterName}",
|
|
@@ -49,21 +48,37 @@ export default {
|
|
|
49
48
|
"components.input-date.errorMaxDateOnly": "Rhaid i'r dyddiad fod cyn {maxDate}",
|
|
50
49
|
"components.input-date.errorMinDateOnly": "Rhaid i'r dyddiad fod ar ôl {minDate}",
|
|
51
50
|
"components.input-date.errorOutsideRange": "Rhaid i'r dyddiad fod rhwng {minDate} a {maxDate}",
|
|
52
|
-
"components.input-date.openInstructions": "Defnyddio fformat dyddiad {format}. Pwyswch saeth i lawr neu Enter i gael mynediad at galendr bach.",
|
|
53
51
|
"components.input-date.now": "Nawr",
|
|
52
|
+
"components.input-date.openInstructions": "Defnyddio fformat dyddiad {format}. Pwyswch saeth i lawr neu Enter i gael mynediad at galendr bach.",
|
|
54
53
|
"components.input-date.today": "Heddiw",
|
|
55
|
-
"components.input-number.hintInteger": "Mae'r maes hwn yn derbyn gwerthoedd cyfanrif yn unig (dim degolion)",
|
|
56
54
|
"components.input-number.hintDecimalDuplicate": "Mae degol eisoes yn y nifer hwn",
|
|
57
55
|
"components.input-number.hintDecimalIncorrectComma": "I ychwanegu degol defnyddiwch y nod coma \",”",
|
|
58
56
|
"components.input-number.hintDecimalIncorrectPeriod": "I ychwanegu degol defnyddiwch y nod atalnod llawn \".\"",
|
|
57
|
+
"components.input-number.hintInteger": "Mae'r maes hwn yn derbyn gwerthoedd cyfanrif yn unig (dim degolion)",
|
|
59
58
|
"components.input-search.clear": "Clirio'r Chwilio",
|
|
60
59
|
"components.input-search.defaultPlaceholder": "Chwilio...",
|
|
61
60
|
"components.input-search.search": "Chwilio",
|
|
62
61
|
"components.input-time-range.endTime": "Amser Gorffen",
|
|
63
62
|
"components.input-time-range.errorBadInput": "Rhaid i {startLabel} fod cyn {endLabel}",
|
|
64
63
|
"components.input-time-range.startTime": "Amser Dechrau",
|
|
64
|
+
"components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
|
|
65
|
+
"components.list-item-drag-handle-tooltip.enter-key": "Enter",
|
|
66
|
+
"components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
|
|
67
|
+
"components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
|
|
68
|
+
"components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
|
|
69
|
+
"components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
|
|
70
|
+
"components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
|
|
65
71
|
"components.list-item-drag-handle.default": "Aildrefnu gweithred eitem ar gyfer {name}",
|
|
66
72
|
"components.list-item-drag-handle.keyboard": "Aildrefnu eitemau, safle presennol {currentPosition} allan o {size}. I symud yr eitem hon, pwyswch y saeth i fyny neu'r saeth i lawr.",
|
|
73
|
+
"components.list-item-tooltip.enter-desc": "Activate the focused option.",
|
|
74
|
+
"components.list-item-tooltip.enter-key": "Enter",
|
|
75
|
+
"components.list-item-tooltip.left-right-desc": "Move focus within current item.",
|
|
76
|
+
"components.list-item-tooltip.left-right-key": "Left/Right",
|
|
77
|
+
"components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
|
|
78
|
+
"components.list-item-tooltip.page-up-down-key": "Page Up/Down",
|
|
79
|
+
"components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
|
|
80
|
+
"components.list-item-tooltip.up-down-desc": "Move focus between list items.",
|
|
81
|
+
"components.list-item-tooltip.up-down-key": "Up/Down",
|
|
67
82
|
"components.menu-item-return.return": "Dychwelyd i'r ddewislen flaenorol.",
|
|
68
83
|
"components.menu-item-return.returnCurrentlyShowing": "Dychwelyd i'r ddewislen flaenorol. Rydych chi'n edrych ar {menuTitle}.",
|
|
69
84
|
"components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
|
package/lang/da.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/* eslint quotes: 0 */
|
|
2
|
-
|
|
3
2
|
export default {
|
|
4
3
|
"components.alert.close": "Luk besked",
|
|
5
4
|
"components.breadcrumbs.breadcrumb": "Brødkrumme",
|
|
6
5
|
"components.calendar.notSelected": "Ikke valgt.",
|
|
7
6
|
"components.calendar.selected": "Valgt.",
|
|
8
7
|
"components.calendar.show": "Vis {month}",
|
|
9
|
-
"components.count-badge.plus"
|
|
8
|
+
"components.count-badge.plus": "{number}+",
|
|
10
9
|
"components.dialog.close": "Luk denne dialogboks",
|
|
11
10
|
"components.dropdown.close": "Luk",
|
|
12
11
|
"components.filter.clear": "Ryd",
|
|
@@ -17,9 +16,9 @@ export default {
|
|
|
17
16
|
"components.filter.clearAnnounceSingle": "Rydder filtre",
|
|
18
17
|
"components.filter.clearDescription": "Ryd filtre for: {filterName}",
|
|
19
18
|
"components.filter.clearDescriptionSingle": "Ryd filtre",
|
|
20
|
-
"components.filter.loading": "Indlæser filtre",
|
|
21
19
|
"components.filter.filterCountDescription": "{number, plural, zero {Ingen filtre anvendt.} one {1 filter anvendt.} other {{number} filtre anvendt.}}",
|
|
22
20
|
"components.filter.filters": "Filtre",
|
|
21
|
+
"components.filter.loading": "Indlæser filtre",
|
|
23
22
|
"components.filter.noFilters": "Ingen tilgængelige filtre",
|
|
24
23
|
"components.filter.searchResults": "{number, plural, zero {No search results} one {1 search result} other {{number} search results}}",
|
|
25
24
|
"components.filter.singleDimensionDescription": "Filtrer efter: {filterName}",
|
|
@@ -49,21 +48,37 @@ export default {
|
|
|
49
48
|
"components.input-date.errorMaxDateOnly": "Datoen skal være før {maxDate}",
|
|
50
49
|
"components.input-date.errorMinDateOnly": "Datoen skal være efter {minDate}",
|
|
51
50
|
"components.input-date.errorOutsideRange": "Datoen skal være mellem {minDate} og {maxDate}",
|
|
52
|
-
"components.input-date.openInstructions": "Brug datoformatet {format}. Tryk på Pil ned eller Enter for at få adgang til minikalender.",
|
|
53
51
|
"components.input-date.now": "Nu",
|
|
52
|
+
"components.input-date.openInstructions": "Brug datoformatet {format}. Tryk på Pil ned eller Enter for at få adgang til minikalender.",
|
|
54
53
|
"components.input-date.today": "I dag",
|
|
55
|
-
"components.input-number.hintInteger": "Dette felt accepterer kun heltalsværdier (ingen decimaler)",
|
|
56
54
|
"components.input-number.hintDecimalDuplicate": "Der er allerede en decimal i dette tal",
|
|
57
55
|
"components.input-number.hintDecimalIncorrectComma": "Hvis du vil tilføje en decimal, skal du bruge komma-tegnet \",\"",
|
|
58
56
|
"components.input-number.hintDecimalIncorrectPeriod": "Hvis du vil tilføje en decimal, skal du bruge tegnet \".\"",
|
|
57
|
+
"components.input-number.hintInteger": "Dette felt accepterer kun heltalsværdier (ingen decimaler)",
|
|
59
58
|
"components.input-search.clear": "Ryd søgning",
|
|
60
59
|
"components.input-search.defaultPlaceholder": "Søg ...",
|
|
61
60
|
"components.input-search.search": "Søg",
|
|
62
61
|
"components.input-time-range.endTime": "Sluttidspunkt",
|
|
63
62
|
"components.input-time-range.errorBadInput": "{startLabel} skal være før {endLabel}",
|
|
64
63
|
"components.input-time-range.startTime": "Starttidspunkt",
|
|
64
|
+
"components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
|
|
65
|
+
"components.list-item-drag-handle-tooltip.enter-key": "Enter",
|
|
66
|
+
"components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
|
|
67
|
+
"components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
|
|
68
|
+
"components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
|
|
69
|
+
"components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
|
|
70
|
+
"components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
|
|
65
71
|
"components.list-item-drag-handle.default": "Omarranger elementhandling for {name}",
|
|
66
72
|
"components.list-item-drag-handle.keyboard": "Omarranger element, aktuel position {currentPosition} ud af {size}. For at flytte dette element skal du trykke på pil op eller pil ned.",
|
|
73
|
+
"components.list-item-tooltip.enter-desc": "Activate the focused option.",
|
|
74
|
+
"components.list-item-tooltip.enter-key": "Enter",
|
|
75
|
+
"components.list-item-tooltip.left-right-desc": "Move focus within current item.",
|
|
76
|
+
"components.list-item-tooltip.left-right-key": "Left/Right",
|
|
77
|
+
"components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
|
|
78
|
+
"components.list-item-tooltip.page-up-down-key": "Page Up/Down",
|
|
79
|
+
"components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
|
|
80
|
+
"components.list-item-tooltip.up-down-desc": "Move focus between list items.",
|
|
81
|
+
"components.list-item-tooltip.up-down-key": "Up/Down",
|
|
67
82
|
"components.menu-item-return.return": "Gå tilbage til forrige menu.",
|
|
68
83
|
"components.menu-item-return.returnCurrentlyShowing": "Gå tilbage til forrige menu. Du ser på {menuTitle}.",
|
|
69
84
|
"components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
|