@lab-anssi/ui-kit 1.60.3 → 1.60.5
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.
|
@@ -6282,6 +6282,17 @@
|
|
|
6282
6282
|
"tsType": "Segmented[]",
|
|
6283
6283
|
"description": "Les éléments du contrôle segmenté"
|
|
6284
6284
|
},
|
|
6285
|
+
{
|
|
6286
|
+
"name": "tailleControleSegmente",
|
|
6287
|
+
"attribute": "taille-controle-segmente",
|
|
6288
|
+
"type": "String",
|
|
6289
|
+
"tsType": "Extract<Size, \"sm\" | \"md\">",
|
|
6290
|
+
"description": "Taille du contrôle segmenté (default: md)",
|
|
6291
|
+
"options": [
|
|
6292
|
+
"sm",
|
|
6293
|
+
"md"
|
|
6294
|
+
]
|
|
6295
|
+
},
|
|
6285
6296
|
{
|
|
6286
6297
|
"name": "fonctionnalites",
|
|
6287
6298
|
"attribute": "fonctionnalites",
|
|
@@ -6292,7 +6303,14 @@
|
|
|
6292
6303
|
{
|
|
6293
6304
|
"name": "baliseDesSousTitres",
|
|
6294
6305
|
"attribute": "balise-des-sous-titres",
|
|
6295
|
-
"type": "String"
|
|
6306
|
+
"type": "String",
|
|
6307
|
+
"tsType": "\"h3\" | \"h4\" | \"h5\"",
|
|
6308
|
+
"description": "Balise Hn des sous-titres du composant (default: h3)",
|
|
6309
|
+
"options": [
|
|
6310
|
+
"h3",
|
|
6311
|
+
"h4",
|
|
6312
|
+
"h5"
|
|
6313
|
+
]
|
|
6296
6314
|
},
|
|
6297
6315
|
{
|
|
6298
6316
|
"name": "cliquable",
|
|
@@ -6348,7 +6366,7 @@
|
|
|
6348
6366
|
"description": "Remplace tout le contenu de la zone média. L'attribut `data-active-item` sur le host reflète l'`id` de la fonctionnalité active."
|
|
6349
6367
|
}
|
|
6350
6368
|
],
|
|
6351
|
-
"example": "<div class=\"conteneur-story\">\n <DsfrContainer>\n <lab-anssi-fonctionnalites\n titre={args.titre}\n description={args.description}\n balise-titre={args.baliseTitre}\n avec-controle-segmente={args.avecControleSegmente || undefined}\n elements-du-controle-segmente={JSON.stringify(args.elementsDuControleSegmente)}\n fonctionnalites={args.fonctionnalites}\n balise-des-sous-titres={args.baliseDesSousTitres}\n cliquable={args.cliquable || undefined}\n avec-cta={args.avecCTA || undefined}\n orientation-media={args.orientationMedia}\n image-placeholder={args.imagePlaceholder}\n active-defilement={args.activeDefilement}\n delai-defilement={args.delaiDefilement}\n >\n {#if args.afficheSlotHautEntete}\n <dsfr-tags-group slot=\"hautentete\" group-markup=\"ul\" {tags}></dsfr-tags-group>\n {/if}\n\n <dsfr-button label=\"Libellé\" slot=\"cta\"></dsfr-button>\n </lab-anssi-fonctionnalites>\n </DsfrContainer>\n </div>\n\n <style>\n .conteneur-story {\n padding-block: 96px;\n }\n </style>"
|
|
6369
|
+
"example": "<div class=\"conteneur-story\">\n <DsfrContainer>\n <lab-anssi-fonctionnalites\n titre={args.titre}\n description={args.description}\n balise-titre={args.baliseTitre}\n avec-controle-segmente={args.avecControleSegmente || undefined}\n taille-controle-segmente={args.tailleControleSegmente || undefined}\n elements-du-controle-segmente={JSON.stringify(args.elementsDuControleSegmente)}\n fonctionnalites={args.fonctionnalites}\n balise-des-sous-titres={args.baliseDesSousTitres}\n cliquable={args.cliquable || undefined}\n avec-cta={args.avecCTA || undefined}\n orientation-media={args.orientationMedia}\n image-placeholder={args.imagePlaceholder}\n active-defilement={args.activeDefilement}\n delai-defilement={args.delaiDefilement}\n >\n {#if args.afficheSlotHautEntete}\n <dsfr-tags-group slot=\"hautentete\" group-markup=\"ul\" {tags}></dsfr-tags-group>\n {/if}\n\n <dsfr-button label=\"Libellé\" slot=\"cta\"></dsfr-button>\n </lab-anssi-fonctionnalites>\n </DsfrContainer>\n </div>\n\n <style>\n .conteneur-story {\n padding-block: 96px;\n }\n </style>"
|
|
6352
6370
|
},
|
|
6353
6371
|
{
|
|
6354
6372
|
"tagName": "lab-anssi-icone",
|
package/dist/web-types.json
CHANGED
|
@@ -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.60.
|
|
4
|
+
"version": "1.60.5",
|
|
5
5
|
"framework-config": {
|
|
6
6
|
"enable-when": {
|
|
7
7
|
"file-extensions": [
|
|
@@ -9329,6 +9329,13 @@
|
|
|
9329
9329
|
"type": "string"
|
|
9330
9330
|
}
|
|
9331
9331
|
},
|
|
9332
|
+
{
|
|
9333
|
+
"name": "taille-controle-segmente",
|
|
9334
|
+
"description": "Taille du contrôle segmenté (default: md)",
|
|
9335
|
+
"value": {
|
|
9336
|
+
"type": "'sm' | 'md'"
|
|
9337
|
+
}
|
|
9338
|
+
},
|
|
9332
9339
|
{
|
|
9333
9340
|
"name": "fonctionnalites",
|
|
9334
9341
|
"description": "Fonctionnalités de la carte",
|
|
@@ -9338,8 +9345,9 @@
|
|
|
9338
9345
|
},
|
|
9339
9346
|
{
|
|
9340
9347
|
"name": "balise-des-sous-titres",
|
|
9348
|
+
"description": "Balise Hn des sous-titres du composant (default: h3)",
|
|
9341
9349
|
"value": {
|
|
9342
|
-
"type": "
|
|
9350
|
+
"type": "'h3' | 'h4' | 'h5'"
|
|
9343
9351
|
}
|
|
9344
9352
|
},
|
|
9345
9353
|
{
|
|
@@ -9412,6 +9420,11 @@
|
|
|
9412
9420
|
"description": "Les éléments du contrôle segmenté",
|
|
9413
9421
|
"type": "string"
|
|
9414
9422
|
},
|
|
9423
|
+
{
|
|
9424
|
+
"name": "tailleControleSegmente",
|
|
9425
|
+
"description": "Taille du contrôle segmenté (default: md)",
|
|
9426
|
+
"type": "'sm' | 'md'"
|
|
9427
|
+
},
|
|
9415
9428
|
{
|
|
9416
9429
|
"name": "fonctionnalites",
|
|
9417
9430
|
"description": "Fonctionnalités de la carte",
|
|
@@ -9419,7 +9432,8 @@
|
|
|
9419
9432
|
},
|
|
9420
9433
|
{
|
|
9421
9434
|
"name": "baliseDesSousTitres",
|
|
9422
|
-
"
|
|
9435
|
+
"description": "Balise Hn des sous-titres du composant (default: h3)",
|
|
9436
|
+
"type": "'h3' | 'h4' | 'h5'"
|
|
9423
9437
|
},
|
|
9424
9438
|
{
|
|
9425
9439
|
"name": "cliquable",
|