@lab-anssi/ui-kit 1.53.2 → 1.53.3

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@lab-anssi/ui-kit",
4
- "version": "1.53.2",
4
+ "version": "1.53.3",
5
5
  "framework-config": {
6
6
  "enable-when": {
7
7
  "file-extensions": [
@@ -1438,6 +1438,7 @@
1438
1438
  },
1439
1439
  {
1440
1440
  "name": "onvaluechanged",
1441
+ "description": "detail: checked",
1441
1442
  "value": {
1442
1443
  "type": "(event: CustomEvent) => void"
1443
1444
  }
@@ -1517,19 +1518,22 @@
1517
1518
  },
1518
1519
  {
1519
1520
  "name": "onvaluechanged",
1521
+ "description": "detail: checked",
1520
1522
  "type": "(event: CustomEvent) => void"
1521
1523
  }
1522
1524
  ],
1523
1525
  "events": [
1524
1526
  {
1525
- "name": "valuechanged"
1527
+ "name": "valuechanged",
1528
+ "description": "detail: checked"
1526
1529
  }
1527
1530
  ]
1528
1531
  },
1529
1532
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-checkbox--docs",
1530
1533
  "events": [
1531
1534
  {
1532
- "name": "valuechanged"
1535
+ "name": "valuechanged",
1536
+ "description": "detail: checked"
1533
1537
  }
1534
1538
  ],
1535
1539
  "slots": [
@@ -3203,6 +3207,7 @@
3203
3207
  },
3204
3208
  {
3205
3209
  "name": "onvaluechanged",
3210
+ "description": "detail: target.value",
3206
3211
  "value": {
3207
3212
  "type": "(event: CustomEvent) => void"
3208
3213
  }
@@ -3327,19 +3332,22 @@
3327
3332
  },
3328
3333
  {
3329
3334
  "name": "onvaluechanged",
3335
+ "description": "detail: target.value",
3330
3336
  "type": "(event: CustomEvent) => void"
3331
3337
  }
3332
3338
  ],
3333
3339
  "events": [
3334
3340
  {
3335
- "name": "valuechanged"
3341
+ "name": "valuechanged",
3342
+ "description": "detail: target.value"
3336
3343
  }
3337
3344
  ]
3338
3345
  },
3339
3346
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-input--docs",
3340
3347
  "events": [
3341
3348
  {
3342
- "name": "valuechanged"
3349
+ "name": "valuechanged",
3350
+ "description": "detail: target.value"
3343
3351
  }
3344
3352
  ]
3345
3353
  },
@@ -4289,6 +4297,7 @@
4289
4297
  },
4290
4298
  {
4291
4299
  "name": "onvaluechanged",
4300
+ "description": "detail: target.value",
4292
4301
  "value": {
4293
4302
  "type": "(event: CustomEvent) => void"
4294
4303
  }
@@ -4363,19 +4372,22 @@
4363
4372
  },
4364
4373
  {
4365
4374
  "name": "onvaluechanged",
4375
+ "description": "detail: target.value",
4366
4376
  "type": "(event: CustomEvent) => void"
4367
4377
  }
4368
4378
  ],
4369
4379
  "events": [
4370
4380
  {
4371
- "name": "valuechanged"
4381
+ "name": "valuechanged",
4382
+ "description": "detail: target.value"
4372
4383
  }
4373
4384
  ]
4374
4385
  },
4375
4386
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-radio--docs",
4376
4387
  "events": [
4377
4388
  {
4378
- "name": "valuechanged"
4389
+ "name": "valuechanged",
4390
+ "description": "detail: target.value"
4379
4391
  }
4380
4392
  ]
4381
4393
  },
@@ -4740,12 +4752,14 @@
4740
4752
  },
4741
4753
  {
4742
4754
  "name": "onvaluechanged",
4755
+ "description": "detail: newVal",
4743
4756
  "value": {
4744
4757
  "type": "(event: CustomEvent) => void"
4745
4758
  }
4746
4759
  },
4747
4760
  {
4748
4761
  "name": "onvalue2changed",
4762
+ "description": "detail: newVal",
4749
4763
  "value": {
4750
4764
  "type": "(event: CustomEvent) => void"
4751
4765
  }
@@ -4865,29 +4879,35 @@
4865
4879
  },
4866
4880
  {
4867
4881
  "name": "onvaluechanged",
4882
+ "description": "detail: newVal",
4868
4883
  "type": "(event: CustomEvent) => void"
4869
4884
  },
4870
4885
  {
4871
4886
  "name": "onvalue2changed",
4887
+ "description": "detail: newVal",
4872
4888
  "type": "(event: CustomEvent) => void"
4873
4889
  }
4874
4890
  ],
4875
4891
  "events": [
4876
4892
  {
4877
- "name": "valuechanged"
4893
+ "name": "valuechanged",
4894
+ "description": "detail: newVal"
4878
4895
  },
4879
4896
  {
4880
- "name": "value2changed"
4897
+ "name": "value2changed",
4898
+ "description": "detail: newVal"
4881
4899
  }
4882
4900
  ]
4883
4901
  },
4884
4902
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-range--docs",
4885
4903
  "events": [
4886
4904
  {
4887
- "name": "valuechanged"
4905
+ "name": "valuechanged",
4906
+ "description": "detail: newVal"
4888
4907
  },
4889
4908
  {
4890
- "name": "value2changed"
4909
+ "name": "value2changed",
4910
+ "description": "detail: newVal"
4891
4911
  }
4892
4912
  ],
4893
4913
  "slots": [
@@ -5014,12 +5034,14 @@
5014
5034
  },
5015
5035
  {
5016
5036
  "name": "onvaluechanged",
5037
+ "description": "detail: target.value",
5017
5038
  "value": {
5018
5039
  "type": "(event: CustomEvent) => void"
5019
5040
  }
5020
5041
  },
5021
5042
  {
5022
5043
  "name": "onsearch",
5044
+ "description": "detail: value",
5023
5045
  "value": {
5024
5046
  "type": "(event: CustomEvent) => void"
5025
5047
  }
@@ -5109,29 +5131,35 @@
5109
5131
  },
5110
5132
  {
5111
5133
  "name": "onvaluechanged",
5134
+ "description": "detail: target.value",
5112
5135
  "type": "(event: CustomEvent) => void"
5113
5136
  },
5114
5137
  {
5115
5138
  "name": "onsearch",
5139
+ "description": "detail: value",
5116
5140
  "type": "(event: CustomEvent) => void"
5117
5141
  }
5118
5142
  ],
5119
5143
  "events": [
5120
5144
  {
5121
- "name": "valuechanged"
5145
+ "name": "valuechanged",
5146
+ "description": "detail: target.value"
5122
5147
  },
5123
5148
  {
5124
- "name": "search"
5149
+ "name": "search",
5150
+ "description": "detail: value"
5125
5151
  }
5126
5152
  ]
5127
5153
  },
5128
5154
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-search--docs",
5129
5155
  "events": [
5130
5156
  {
5131
- "name": "valuechanged"
5157
+ "name": "valuechanged",
5158
+ "description": "detail: target.value"
5132
5159
  },
5133
5160
  {
5134
- "name": "search"
5161
+ "name": "search",
5162
+ "description": "detail: value"
5135
5163
  }
5136
5164
  ]
5137
5165
  },
@@ -5196,6 +5224,7 @@
5196
5224
  },
5197
5225
  {
5198
5226
  "name": "onvaluechanged",
5227
+ "description": "detail: currentValue",
5199
5228
  "value": {
5200
5229
  "type": "(event: CustomEvent) => void"
5201
5230
  }
@@ -5245,19 +5274,22 @@
5245
5274
  },
5246
5275
  {
5247
5276
  "name": "onvaluechanged",
5277
+ "description": "detail: currentValue",
5248
5278
  "type": "(event: CustomEvent) => void"
5249
5279
  }
5250
5280
  ],
5251
5281
  "events": [
5252
5282
  {
5253
- "name": "valuechanged"
5283
+ "name": "valuechanged",
5284
+ "description": "detail: currentValue"
5254
5285
  }
5255
5286
  ]
5256
5287
  },
5257
5288
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-segmented--docs",
5258
5289
  "events": [
5259
5290
  {
5260
- "name": "valuechanged"
5291
+ "name": "valuechanged",
5292
+ "description": "detail: currentValue"
5261
5293
  }
5262
5294
  ]
5263
5295
  },
@@ -5392,6 +5424,7 @@
5392
5424
  },
5393
5425
  {
5394
5426
  "name": "onvaluechanged",
5427
+ "description": "detail: target.value",
5395
5428
  "value": {
5396
5429
  "type": "(event: CustomEvent) => void"
5397
5430
  }
@@ -5491,19 +5524,22 @@
5491
5524
  },
5492
5525
  {
5493
5526
  "name": "onvaluechanged",
5527
+ "description": "detail: target.value",
5494
5528
  "type": "(event: CustomEvent) => void"
5495
5529
  }
5496
5530
  ],
5497
5531
  "events": [
5498
5532
  {
5499
- "name": "valuechanged"
5533
+ "name": "valuechanged",
5534
+ "description": "detail: target.value"
5500
5535
  }
5501
5536
  ]
5502
5537
  },
5503
5538
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-select--docs",
5504
5539
  "events": [
5505
5540
  {
5506
- "name": "valuechanged"
5541
+ "name": "valuechanged",
5542
+ "description": "detail: target.value"
5507
5543
  }
5508
5544
  ],
5509
5545
  "slots": [
@@ -5955,6 +5991,13 @@
5955
5991
  "type": "string"
5956
5992
  }
5957
5993
  },
5994
+ {
5995
+ "name": "disabled-row-keys",
5996
+ "description": "Clés des lignes désactivées.\nLes lignes désactivées ont leur case à cocher `disabled` et sont ignorées\npar la case « tout sélectionner ».",
5997
+ "value": {
5998
+ "type": "string"
5999
+ }
6000
+ },
5958
6001
  {
5959
6002
  "name": "onrowsperpagechanged",
5960
6003
  "description": "detail: newValue",
@@ -6134,6 +6177,11 @@
6134
6177
  "description": "Clés des lignes sélectionnées (mode contrôlé).\nSi fourni, le composant utilise cette valeur ; sinon, il gère sa propre sélection en interne.",
6135
6178
  "type": "string"
6136
6179
  },
6180
+ {
6181
+ "name": "disabledRowKeys",
6182
+ "description": "Clés des lignes désactivées.\nLes lignes désactivées ont leur case à cocher `disabled` et sont ignorées\npar la case « tout sélectionner ».",
6183
+ "type": "string"
6184
+ },
6137
6185
  {
6138
6186
  "name": "onrowsperpagechanged",
6139
6187
  "description": "detail: newValue",
@@ -6481,6 +6529,20 @@
6481
6529
  "value": {
6482
6530
  "type": "string"
6483
6531
  }
6532
+ },
6533
+ {
6534
+ "name": "onunselected",
6535
+ "description": "detail: button.id",
6536
+ "value": {
6537
+ "type": "(event: CustomEvent) => void"
6538
+ }
6539
+ },
6540
+ {
6541
+ "name": "onselected",
6542
+ "description": "detail: button.id",
6543
+ "value": {
6544
+ "type": "(event: CustomEvent) => void"
6545
+ }
6484
6546
  }
6485
6547
  ],
6486
6548
  "js": {
@@ -6544,10 +6606,40 @@
6544
6606
  "name": "id",
6545
6607
  "description": "Attribut id du tag",
6546
6608
  "type": "string"
6609
+ },
6610
+ {
6611
+ "name": "onunselected",
6612
+ "description": "detail: button.id",
6613
+ "type": "(event: CustomEvent) => void"
6614
+ },
6615
+ {
6616
+ "name": "onselected",
6617
+ "description": "detail: button.id",
6618
+ "type": "(event: CustomEvent) => void"
6619
+ }
6620
+ ],
6621
+ "events": [
6622
+ {
6623
+ "name": "unselected",
6624
+ "description": "detail: button.id"
6625
+ },
6626
+ {
6627
+ "name": "selected",
6628
+ "description": "detail: button.id"
6547
6629
  }
6548
6630
  ]
6549
6631
  },
6550
- "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-tag--docs"
6632
+ "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-tag--docs",
6633
+ "events": [
6634
+ {
6635
+ "name": "unselected",
6636
+ "description": "detail: button.id"
6637
+ },
6638
+ {
6639
+ "name": "selected",
6640
+ "description": "detail: button.id"
6641
+ }
6642
+ ]
6551
6643
  },
6552
6644
  {
6553
6645
  "name": "dsfr-tags-group",
@@ -6586,6 +6678,20 @@
6586
6678
  "value": {
6587
6679
  "type": "boolean"
6588
6680
  }
6681
+ },
6682
+ {
6683
+ "name": "onunselected",
6684
+ "description": "detail: button.id",
6685
+ "value": {
6686
+ "type": "(event: CustomEvent) => void"
6687
+ }
6688
+ },
6689
+ {
6690
+ "name": "onselected",
6691
+ "description": "detail: button.id",
6692
+ "value": {
6693
+ "type": "(event: CustomEvent) => void"
6694
+ }
6589
6695
  }
6590
6696
  ],
6591
6697
  "js": {
@@ -6614,10 +6720,40 @@
6614
6720
  "name": "hasIcon",
6615
6721
  "description": "Si true, ajoute une icone dans le titre des onglets",
6616
6722
  "type": "boolean"
6723
+ },
6724
+ {
6725
+ "name": "onunselected",
6726
+ "description": "detail: button.id",
6727
+ "type": "(event: CustomEvent) => void"
6728
+ },
6729
+ {
6730
+ "name": "onselected",
6731
+ "description": "detail: button.id",
6732
+ "type": "(event: CustomEvent) => void"
6733
+ }
6734
+ ],
6735
+ "events": [
6736
+ {
6737
+ "name": "unselected",
6738
+ "description": "detail: button.id"
6739
+ },
6740
+ {
6741
+ "name": "selected",
6742
+ "description": "detail: button.id"
6617
6743
  }
6618
6744
  ]
6619
6745
  },
6620
- "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-tagsgroup--docs"
6746
+ "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-tagsgroup--docs",
6747
+ "events": [
6748
+ {
6749
+ "name": "unselected",
6750
+ "description": "detail: button.id"
6751
+ },
6752
+ {
6753
+ "name": "selected",
6754
+ "description": "detail: button.id"
6755
+ }
6756
+ ]
6621
6757
  },
6622
6758
  {
6623
6759
  "name": "dsfr-textarea",
@@ -6757,6 +6893,7 @@
6757
6893
  },
6758
6894
  {
6759
6895
  "name": "onvaluechanged",
6896
+ "description": "detail: target.value",
6760
6897
  "value": {
6761
6898
  "type": "(event: CustomEvent) => void"
6762
6899
  }
@@ -6861,19 +6998,22 @@
6861
6998
  },
6862
6999
  {
6863
7000
  "name": "onvaluechanged",
7001
+ "description": "detail: target.value",
6864
7002
  "type": "(event: CustomEvent) => void"
6865
7003
  }
6866
7004
  ],
6867
7005
  "events": [
6868
7006
  {
6869
- "name": "valuechanged"
7007
+ "name": "valuechanged",
7008
+ "description": "detail: target.value"
6870
7009
  }
6871
7010
  ]
6872
7011
  },
6873
7012
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-textarea--docs",
6874
7013
  "events": [
6875
7014
  {
6876
- "name": "valuechanged"
7015
+ "name": "valuechanged",
7016
+ "description": "detail: target.value"
6877
7017
  }
6878
7018
  ]
6879
7019
  },
@@ -7299,6 +7439,7 @@
7299
7439
  },
7300
7440
  {
7301
7441
  "name": "onvaluechanged",
7442
+ "description": "detail: target.checked",
7302
7443
  "value": {
7303
7444
  "type": "(event: CustomEvent) => void"
7304
7445
  }
@@ -7373,19 +7514,22 @@
7373
7514
  },
7374
7515
  {
7375
7516
  "name": "onvaluechanged",
7517
+ "description": "detail: target.checked",
7376
7518
  "type": "(event: CustomEvent) => void"
7377
7519
  }
7378
7520
  ],
7379
7521
  "events": [
7380
7522
  {
7381
- "name": "valuechanged"
7523
+ "name": "valuechanged",
7524
+ "description": "detail: target.checked"
7382
7525
  }
7383
7526
  ]
7384
7527
  },
7385
7528
  "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-dsfr-toggle--docs",
7386
7529
  "events": [
7387
7530
  {
7388
- "name": "valuechanged"
7531
+ "name": "valuechanged",
7532
+ "description": "detail: target.checked"
7389
7533
  }
7390
7534
  ]
7391
7535
  },
@@ -8952,6 +9096,20 @@
8952
9096
  "value": {
8953
9097
  "type": "string"
8954
9098
  }
9099
+ },
9100
+ {
9101
+ "name": "onsupprimeReaction",
9102
+ "description": "detail: id",
9103
+ "value": {
9104
+ "type": "(event: CustomEvent) => void"
9105
+ }
9106
+ },
9107
+ {
9108
+ "name": "onajouteReaction",
9109
+ "description": "detail: id",
9110
+ "value": {
9111
+ "type": "(event: CustomEvent) => void"
9112
+ }
8955
9113
  }
8956
9114
  ],
8957
9115
  "js": {
@@ -8975,10 +9133,40 @@
8975
9133
  "name": "tooltipId",
8976
9134
  "description": "Identifiant de l'infobulle",
8977
9135
  "type": "string"
9136
+ },
9137
+ {
9138
+ "name": "onsupprimeReaction",
9139
+ "description": "detail: id",
9140
+ "type": "(event: CustomEvent) => void"
9141
+ },
9142
+ {
9143
+ "name": "onajouteReaction",
9144
+ "description": "detail: id",
9145
+ "type": "(event: CustomEvent) => void"
9146
+ }
9147
+ ],
9148
+ "events": [
9149
+ {
9150
+ "name": "supprimeReaction",
9151
+ "description": "detail: id"
9152
+ },
9153
+ {
9154
+ "name": "ajouteReaction",
9155
+ "description": "detail: id"
8978
9156
  }
8979
9157
  ]
8980
9158
  },
8981
- "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-anssi-reactions--docs"
9159
+ "doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-anssi-reactions--docs",
9160
+ "events": [
9161
+ {
9162
+ "name": "supprimeReaction",
9163
+ "description": "detail: id"
9164
+ },
9165
+ {
9166
+ "name": "ajouteReaction",
9167
+ "description": "detail: id"
9168
+ }
9169
+ ]
8982
9170
  },
8983
9171
  {
8984
9172
  "name": "lab-anssi-tag",