@lab-anssi/ui-kit 1.58.1 → 1.60.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.
|
@@ -2048,6 +2048,13 @@
|
|
|
2048
2048
|
"tsType": "boolean",
|
|
2049
2049
|
"description": "Ajoute une navigation principale"
|
|
2050
2050
|
},
|
|
2051
|
+
{
|
|
2052
|
+
"name": "hasSlotAfterNavigation",
|
|
2053
|
+
"attribute": "has-slot-after-navigation",
|
|
2054
|
+
"type": "Boolean",
|
|
2055
|
+
"tsType": "boolean",
|
|
2056
|
+
"description": "Ajoute un slot \"afternavigation\" dans la navigation principale"
|
|
2057
|
+
},
|
|
2051
2058
|
{
|
|
2052
2059
|
"name": "navigationId",
|
|
2053
2060
|
"attribute": "navigation-id",
|
|
@@ -2872,7 +2879,7 @@
|
|
|
2872
2879
|
"description": "Contenu du footer"
|
|
2873
2880
|
}
|
|
2874
2881
|
],
|
|
2875
|
-
"example": "<div class=\"story-container\">\n <DsfrButton\n class=\"fr-btn\"\n onclick={() => (openModals[args.id] = true)}\n label=\"Ouvrir la modale\"\n />\n\n <dsfr-modal\n id={args.id}\n title={args.title}\n icon={args.icon}\n size={args.size}\n top={args.top || undefined}\n concealing-backdrop={args.concealingBackdrop}\n footer={args.footer || undefined}\n opened={openModals[args.id] || undefined}\n onclose={() => (openModals[args.id] = false)}\n >\n {@html body}\n\n {#if args.footer}\n <dsfr-buttons-group slot=\"footer\" {buttons} size=\"md\" inline=\"lg\" align=\"center\"\n
|
|
2882
|
+
"example": "<div class=\"story-container\">\n <DsfrButton\n class=\"fr-btn\"\n onclick={() => (openModals[args.id] = true)}\n label=\"Ouvrir la modale\"\n />\n\n <dsfr-modal\n id={args.id}\n title={args.title}\n icon={args.icon}\n size={args.size}\n top={args.top || undefined}\n concealing-backdrop={args.concealingBackdrop}\n footer={args.footer || undefined}\n opened={openModals[args.id] || undefined}\n onclose={() => (openModals[args.id] = false)}\n >\n {@html body}\n\n {#if args.footer}\n {#if args.footerType === \"buttonsgroup\"}\n <dsfr-buttons-group slot=\"footer\" {buttons} size=\"md\" inline=\"lg\" align=\"center\"\n ></dsfr-buttons-group>\n {/if}\n\n {#if args.footerType === \"button\"}\n <dsfr-button slot=\"footer\" label=\"Bouton simple\"></dsfr-button>\n {/if}\n {/if}\n </dsfr-modal>\n </div>"
|
|
2876
2883
|
},
|
|
2877
2884
|
{
|
|
2878
2885
|
"tagName": "dsfr-navigation",
|
|
@@ -5993,6 +6000,22 @@
|
|
|
5993
6000
|
"slots": [],
|
|
5994
6001
|
"example": "<lab-anssi-bouton\n titre={args.titre}\n variante={args.variante}\n taille={args.taille}\n icone={args.icone}\n position-icone={args.positionIcone}\n actif={args.actif || undefined}\n largeur-maximale={args.largeurMaximale || undefined}\n ></lab-anssi-bouton>"
|
|
5995
6002
|
},
|
|
6003
|
+
{
|
|
6004
|
+
"tagName": "lab-anssi-bouton-suite-cyber-navigation",
|
|
6005
|
+
"title": "Composants/Lab ANSSI/Suite Cyber",
|
|
6006
|
+
"source": "src/lib/composants/suite-cyber/SuiteCyber.svelte",
|
|
6007
|
+
"props": [
|
|
6008
|
+
{
|
|
6009
|
+
"name": "sourceUtm",
|
|
6010
|
+
"attribute": "source-utm",
|
|
6011
|
+
"type": "String",
|
|
6012
|
+
"tsType": "string"
|
|
6013
|
+
}
|
|
6014
|
+
],
|
|
6015
|
+
"events": [],
|
|
6016
|
+
"slots": [],
|
|
6017
|
+
"example": "{console.log(JSON.stringify(context.globals))}\n\n <ConteneurStory alignement=\"droite\">\n <lab-anssi-bouton-suite-cyber-navigation\n source-utm={context.globals.theme || \"MonServiceSécurisé\"}\n ></lab-anssi-bouton-suite-cyber-navigation>\n </ConteneurStory>"
|
|
6018
|
+
},
|
|
5996
6019
|
{
|
|
5997
6020
|
"tagName": "lab-anssi-brique-contenu-a-deux-colonnes",
|
|
5998
6021
|
"title": "Composants/Lab ANSSI/Legacy/Brique Contenu A Deux Colonnes",
|
|
@@ -6172,6 +6195,15 @@
|
|
|
6172
6195
|
],
|
|
6173
6196
|
"example": "<lab-anssi-carrousel-tuiles {...args}></lab-anssi-carrousel-tuiles>"
|
|
6174
6197
|
},
|
|
6198
|
+
{
|
|
6199
|
+
"tagName": "lab-anssi-centre-aide",
|
|
6200
|
+
"title": "Composants/Lab ANSSI/Centre d",
|
|
6201
|
+
"source": "src/lib/composants/CentreAide.svelte",
|
|
6202
|
+
"props": [],
|
|
6203
|
+
"events": [],
|
|
6204
|
+
"slots": [],
|
|
6205
|
+
"example": "<ConteneurStory>\n <lab-anssi-centre-aide nom-service={args.nomService} liens={args.liens}></lab-anssi-centre-aide>\n </ConteneurStory>"
|
|
6206
|
+
},
|
|
6175
6207
|
{
|
|
6176
6208
|
"tagName": "lab-anssi-filtres",
|
|
6177
6209
|
"title": "Composants/Lab ANSSI/Filtres catalogue",
|
|
@@ -6310,7 +6342,12 @@
|
|
|
6310
6342
|
}
|
|
6311
6343
|
],
|
|
6312
6344
|
"events": [],
|
|
6313
|
-
"slots": [
|
|
6345
|
+
"slots": [
|
|
6346
|
+
{
|
|
6347
|
+
"name": "media",
|
|
6348
|
+
"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
|
+
}
|
|
6350
|
+
],
|
|
6314
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>"
|
|
6315
6352
|
},
|
|
6316
6353
|
{
|
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.
|
|
4
|
+
"version": "1.60.0",
|
|
5
5
|
"framework-config": {
|
|
6
6
|
"enable-when": {
|
|
7
7
|
"file-extensions": [
|
|
@@ -2743,6 +2743,13 @@
|
|
|
2743
2743
|
"type": "boolean"
|
|
2744
2744
|
}
|
|
2745
2745
|
},
|
|
2746
|
+
{
|
|
2747
|
+
"name": "has-slot-after-navigation",
|
|
2748
|
+
"description": "Ajoute un slot \"afternavigation\" dans la navigation principale",
|
|
2749
|
+
"value": {
|
|
2750
|
+
"type": "boolean"
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2746
2753
|
{
|
|
2747
2754
|
"name": "navigation-id",
|
|
2748
2755
|
"description": "Attribut id de la navigation principale",
|
|
@@ -2953,6 +2960,11 @@
|
|
|
2953
2960
|
"description": "Ajoute une navigation principale",
|
|
2954
2961
|
"type": "boolean"
|
|
2955
2962
|
},
|
|
2963
|
+
{
|
|
2964
|
+
"name": "hasSlotAfterNavigation",
|
|
2965
|
+
"description": "Ajoute un slot \"afternavigation\" dans la navigation principale",
|
|
2966
|
+
"type": "boolean"
|
|
2967
|
+
},
|
|
2956
2968
|
{
|
|
2957
2969
|
"name": "navigationId",
|
|
2958
2970
|
"description": "Attribut id de la navigation principale",
|
|
@@ -8925,6 +8937,26 @@
|
|
|
8925
8937
|
},
|
|
8926
8938
|
"doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-lab-anssi-legacy-bouton--docs"
|
|
8927
8939
|
},
|
|
8940
|
+
{
|
|
8941
|
+
"name": "lab-anssi-bouton-suite-cyber-navigation",
|
|
8942
|
+
"attributes": [
|
|
8943
|
+
{
|
|
8944
|
+
"name": "source-utm",
|
|
8945
|
+
"value": {
|
|
8946
|
+
"type": "string"
|
|
8947
|
+
}
|
|
8948
|
+
}
|
|
8949
|
+
],
|
|
8950
|
+
"js": {
|
|
8951
|
+
"properties": [
|
|
8952
|
+
{
|
|
8953
|
+
"name": "sourceUtm",
|
|
8954
|
+
"type": "string"
|
|
8955
|
+
}
|
|
8956
|
+
]
|
|
8957
|
+
},
|
|
8958
|
+
"doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-lab-anssi-suite-cyber--docs"
|
|
8959
|
+
},
|
|
8928
8960
|
{
|
|
8929
8961
|
"name": "lab-anssi-brique-contenu-a-deux-colonnes",
|
|
8930
8962
|
"attributes": [
|
|
@@ -9187,6 +9219,14 @@
|
|
|
9187
9219
|
}
|
|
9188
9220
|
]
|
|
9189
9221
|
},
|
|
9222
|
+
{
|
|
9223
|
+
"name": "lab-anssi-centre-aide",
|
|
9224
|
+
"attributes": [],
|
|
9225
|
+
"js": {
|
|
9226
|
+
"properties": []
|
|
9227
|
+
},
|
|
9228
|
+
"doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-lab-anssi-centre-d--docs"
|
|
9229
|
+
},
|
|
9190
9230
|
{
|
|
9191
9231
|
"name": "lab-anssi-filtres",
|
|
9192
9232
|
"attributes": [
|
|
@@ -9413,7 +9453,13 @@
|
|
|
9413
9453
|
}
|
|
9414
9454
|
]
|
|
9415
9455
|
},
|
|
9416
|
-
"doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-lab-anssi-bloc-fonctionnalités--docs"
|
|
9456
|
+
"doc-url": "https://betagouv.github.io/lab-anssi-ui-kit/?path=/docs/composants-lab-anssi-bloc-fonctionnalités--docs",
|
|
9457
|
+
"slots": [
|
|
9458
|
+
{
|
|
9459
|
+
"name": "media",
|
|
9460
|
+
"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."
|
|
9461
|
+
}
|
|
9462
|
+
]
|
|
9417
9463
|
},
|
|
9418
9464
|
{
|
|
9419
9465
|
"name": "lab-anssi-icone",
|