@spw-ds/spw-stencil-library 1.17.0 → 1.17.1

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.
Files changed (87) hide show
  1. package/dist/cem.json +152 -5
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/spw-card.cjs.entry.js +2 -2
  4. package/dist/cjs/spw-hero.cjs.entry.js +3 -3
  5. package/dist/cjs/spw-search-field.cjs.entry.js +20 -2
  6. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  7. package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
  8. package/dist/cjs/spw-tile-title.cjs.entry.js +1 -1
  9. package/dist/cjs/spw-tile.cjs.entry.js +17 -4
  10. package/dist/cjs/spw-toc-container.cjs.entry.js +2 -2
  11. package/dist/cjs/spw-toc-navigation.cjs.entry.js +20 -0
  12. package/dist/cjs/spw-topbar.cjs.entry.js +4 -2
  13. package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
  14. package/dist/cjs/spw-wizard.cjs.entry.js +1 -1
  15. package/dist/collection/components/spw-card/spw-card.css +7 -0
  16. package/dist/collection/components/spw-card/spw-card.js +1 -1
  17. package/dist/collection/components/spw-hero/spw-hero.js +22 -3
  18. package/dist/collection/components/spw-search-field/spw-search-field.js +76 -3
  19. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +3 -0
  20. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +14 -2
  21. package/dist/collection/components/spw-tile/spw-tile.css +23 -1
  22. package/dist/collection/components/spw-tile/spw-tile.js +57 -4
  23. package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +4 -4
  24. package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.js +40 -0
  25. package/dist/collection/components/spw-topbar/spw-topbar.css +61 -2
  26. package/dist/collection/components/spw-topbar/spw-topbar.js +23 -1
  27. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  28. package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
  29. package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +117 -0
  30. package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +48 -1
  31. package/dist/components/spw-card.js +1 -1
  32. package/dist/components/spw-hero.js +1 -1
  33. package/dist/components/spw-search-field.js +1 -1
  34. package/dist/components/spw-tile-description.js +1 -1
  35. package/dist/components/spw-tile-title.js +1 -1
  36. package/dist/components/spw-tile.js +1 -1
  37. package/dist/components/spw-toc-container.js +1 -1
  38. package/dist/components/spw-toc-navigation.js +1 -1
  39. package/dist/components/spw-topbar.js +1 -1
  40. package/dist/components/spw-wizard-item.js +1 -1
  41. package/dist/components/spw-wizard.js +1 -1
  42. package/dist/components_json.json +232 -4
  43. package/dist/components_vscode.json +5509 -0
  44. package/dist/esm/loader.js +1 -1
  45. package/dist/esm/spw-card.entry.js +2 -2
  46. package/dist/esm/spw-hero.entry.js +3 -3
  47. package/dist/esm/spw-search-field.entry.js +20 -2
  48. package/dist/esm/spw-stencil-library.js +1 -1
  49. package/dist/esm/spw-tile-description.entry.js +1 -1
  50. package/dist/esm/spw-tile-title.entry.js +1 -1
  51. package/dist/esm/spw-tile.entry.js +17 -4
  52. package/dist/esm/spw-toc-container.entry.js +2 -2
  53. package/dist/esm/spw-toc-navigation.entry.js +20 -0
  54. package/dist/esm/spw-topbar.entry.js +4 -2
  55. package/dist/esm/spw-wizard-item.entry.js +1 -1
  56. package/dist/esm/spw-wizard.entry.js +1 -1
  57. package/dist/spw-stencil-library/p-1034937d.entry.js +1 -0
  58. package/dist/spw-stencil-library/p-24ddb0e5.entry.js +1 -0
  59. package/dist/spw-stencil-library/{p-b17a13d5.entry.js → p-2e7041df.entry.js} +1 -1
  60. package/dist/spw-stencil-library/p-4a3e2b92.entry.js +1 -0
  61. package/dist/spw-stencil-library/{p-aeb28e9a.entry.js → p-4e4830f6.entry.js} +1 -1
  62. package/dist/spw-stencil-library/{p-94581684.entry.js → p-66a5ccc3.entry.js} +1 -1
  63. package/dist/spw-stencil-library/p-6cfcab87.entry.js +1 -0
  64. package/dist/spw-stencil-library/p-7c705c74.entry.js +1 -0
  65. package/dist/spw-stencil-library/{p-f0f0bd9d.entry.js → p-9ca52f24.entry.js} +1 -1
  66. package/dist/spw-stencil-library/p-a7b1bd08.entry.js +1 -0
  67. package/dist/spw-stencil-library/{p-b9cf4fcb.entry.js → p-aeb616f6.entry.js} +1 -1
  68. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  69. package/dist/stats.json +475 -83
  70. package/dist/types/components/spw-hero/spw-hero.d.ts +2 -0
  71. package/dist/types/components/spw-search-field/spw-search-field.d.ts +8 -0
  72. package/dist/types/components/spw-tile/spw-tile.d.ts +5 -1
  73. package/dist/types/components/spw-toc/spw-toc-container/spw-toc-container.d.ts +1 -1
  74. package/dist/types/components/spw-toc/spw-toc-navigation/spw-toc-navigation.d.ts +4 -0
  75. package/dist/types/components/spw-topbar/spw-topbar.d.ts +2 -0
  76. package/dist/types/components.d.ts +74 -4
  77. package/dist/types/stories/organisms/spw-tile/spw-tile.stories.d.ts +4 -1
  78. package/dist/types/stories/organisms/spw-topbar/spw-topbar.stories.d.ts +1 -0
  79. package/hydrate/index.js +83 -21
  80. package/hydrate/index.mjs +83 -21
  81. package/package.json +1 -1
  82. package/dist/spw-stencil-library/p-2b6b85a3.entry.js +0 -1
  83. package/dist/spw-stencil-library/p-2f45d1f5.entry.js +0 -1
  84. package/dist/spw-stencil-library/p-3d6fe416.entry.js +0 -1
  85. package/dist/spw-stencil-library/p-bec8374e.entry.js +0 -1
  86. package/dist/spw-stencil-library/p-f7a94fe7.entry.js +0 -1
  87. package/dist/spw-stencil-library/p-fc9acdf2.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-07-08T13:23:32",
2
+ "timestamp": "2026-07-15T13:01:07",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.42.0",
@@ -11840,6 +11840,29 @@
11840
11840
  "getter": false,
11841
11841
  "setter": false
11842
11842
  },
11843
+ {
11844
+ "name": "imageFit",
11845
+ "type": "string",
11846
+ "complexType": {
11847
+ "original": "string",
11848
+ "resolved": "string",
11849
+ "references": {}
11850
+ },
11851
+ "mutable": false,
11852
+ "attr": "image-fit",
11853
+ "reflectToAttr": false,
11854
+ "docs": "Redimensionnement de l'image (object-fit), ex: 'cover', 'contain', 'fill'",
11855
+ "docsTags": [],
11856
+ "values": [
11857
+ {
11858
+ "type": "string"
11859
+ }
11860
+ ],
11861
+ "optional": true,
11862
+ "required": false,
11863
+ "getter": false,
11864
+ "setter": false
11865
+ },
11843
11866
  {
11844
11867
  "name": "imagePosition",
11845
11868
  "type": "string",
@@ -17243,6 +17266,35 @@
17243
17266
  "getter": false,
17244
17267
  "setter": false
17245
17268
  },
17269
+ {
17270
+ "name": "hasMoreResults",
17271
+ "type": "boolean",
17272
+ "complexType": {
17273
+ "original": "boolean",
17274
+ "resolved": "boolean",
17275
+ "references": {}
17276
+ },
17277
+ "mutable": false,
17278
+ "attr": "has-more-results",
17279
+ "reflectToAttr": false,
17280
+ "docs": "Indique s'il existe des résultats supplémentaires non affichés (contrôle l'affichage du lien \"voir plus de résultats\"). Peut être overridée dynamiquement via showViewAllResults() / hideViewAllResults()",
17281
+ "docsTags": [
17282
+ {
17283
+ "name": "default",
17284
+ "text": "true"
17285
+ }
17286
+ ],
17287
+ "default": "true",
17288
+ "values": [
17289
+ {
17290
+ "type": "boolean"
17291
+ }
17292
+ ],
17293
+ "optional": true,
17294
+ "required": false,
17295
+ "getter": false,
17296
+ "setter": false
17297
+ },
17246
17298
  {
17247
17299
  "name": "hasSubmitButton",
17248
17300
  "type": "boolean",
@@ -17903,6 +17955,28 @@
17903
17955
  "docs": "Récupère la valeur actuelle du champ de recherche",
17904
17956
  "docsTags": []
17905
17957
  },
17958
+ {
17959
+ "name": "hideViewAllResults",
17960
+ "returns": {
17961
+ "type": "Promise<void>",
17962
+ "docs": ""
17963
+ },
17964
+ "complexType": {
17965
+ "signature": "() => Promise<void>",
17966
+ "parameters": [],
17967
+ "references": {
17968
+ "Promise": {
17969
+ "location": "global",
17970
+ "id": "global::Promise"
17971
+ }
17972
+ },
17973
+ "return": "Promise<void>"
17974
+ },
17975
+ "signature": "hideViewAllResults() => Promise<void>",
17976
+ "parameters": [],
17977
+ "docs": "Masque le lien \"voir plus de résultats\" (override programmatique de la prop hasMoreResults)",
17978
+ "docsTags": []
17979
+ },
17906
17980
  {
17907
17981
  "name": "resetInput",
17908
17982
  "returns": {
@@ -17958,6 +18032,28 @@
17958
18032
  ],
17959
18033
  "docs": "Définit la valeur du champ de recherche",
17960
18034
  "docsTags": []
18035
+ },
18036
+ {
18037
+ "name": "showViewAllResults",
18038
+ "returns": {
18039
+ "type": "Promise<void>",
18040
+ "docs": ""
18041
+ },
18042
+ "complexType": {
18043
+ "signature": "() => Promise<void>",
18044
+ "parameters": [],
18045
+ "references": {
18046
+ "Promise": {
18047
+ "location": "global",
18048
+ "id": "global::Promise"
18049
+ }
18050
+ },
18051
+ "return": "Promise<void>"
18052
+ },
18053
+ "signature": "showViewAllResults() => Promise<void>",
18054
+ "parameters": [],
18055
+ "docs": "Affiche le lien \"voir plus de résultats\" (override programmatique de la prop hasMoreResults)",
18056
+ "docsTags": []
17961
18057
  }
17962
18058
  ],
17963
18059
  "events": [
@@ -25829,6 +25925,35 @@
25829
25925
  "docsTags": [],
25830
25926
  "usage": {},
25831
25927
  "props": [
25928
+ {
25929
+ "name": "background",
25930
+ "type": "string",
25931
+ "complexType": {
25932
+ "original": "string",
25933
+ "resolved": "string",
25934
+ "references": {}
25935
+ },
25936
+ "mutable": false,
25937
+ "attr": "background",
25938
+ "reflectToAttr": false,
25939
+ "docs": "Couleur de fond de la tuile. Accepte toute valeur CSS valide (variable CSS, hexadécimal, rgba, etc.). Transparent par défaut.",
25940
+ "docsTags": [
25941
+ {
25942
+ "name": "default",
25943
+ "text": "'transparent'"
25944
+ }
25945
+ ],
25946
+ "default": "'transparent'",
25947
+ "values": [
25948
+ {
25949
+ "type": "string"
25950
+ }
25951
+ ],
25952
+ "optional": true,
25953
+ "required": false,
25954
+ "getter": false,
25955
+ "setter": false
25956
+ },
25832
25957
  {
25833
25958
  "name": "height",
25834
25959
  "type": "\"landscape\" | \"portrait\" | \"square\"",
@@ -25840,7 +25965,7 @@
25840
25965
  "mutable": false,
25841
25966
  "attr": "height",
25842
25967
  "reflectToAttr": false,
25843
- "docs": "Variante de hauteur de la tuile (valable pour les variants big & light)",
25968
+ "docs": "Variante de hauteur de la tuile. Pour le variant \"icon\", \"landscape\" garde le comportement compact par défaut ; \"square\" et \"portrait\" appliquent un ratio fixe.",
25844
25969
  "docsTags": [
25845
25970
  {
25846
25971
  "name": "default",
@@ -25971,6 +26096,40 @@
25971
26096
  "getter": false,
25972
26097
  "setter": false
25973
26098
  },
26099
+ {
26100
+ "name": "surface",
26101
+ "type": "\"dark\" | \"light\"",
26102
+ "complexType": {
26103
+ "original": "'light' | 'dark'",
26104
+ "resolved": "\"dark\" | \"light\"",
26105
+ "references": {}
26106
+ },
26107
+ "mutable": false,
26108
+ "attr": "surface",
26109
+ "reflectToAttr": false,
26110
+ "docs": "Surface sur laquelle la tuile est posée (uniquement valable pour le variant \"icon\" — adapte les couleurs du titre, de la description et de l'icône slottée).",
26111
+ "docsTags": [
26112
+ {
26113
+ "name": "default",
26114
+ "text": "'light'"
26115
+ }
26116
+ ],
26117
+ "default": "'light'",
26118
+ "values": [
26119
+ {
26120
+ "value": "dark",
26121
+ "type": "string"
26122
+ },
26123
+ {
26124
+ "value": "light",
26125
+ "type": "string"
26126
+ }
26127
+ ],
26128
+ "optional": true,
26129
+ "required": false,
26130
+ "getter": false,
26131
+ "setter": false
26132
+ },
25974
26133
  {
25975
26134
  "name": "target",
25976
26135
  "type": "string",
@@ -27006,10 +27165,10 @@
27006
27165
  "resolved": "\"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
27007
27166
  "references": {}
27008
27167
  },
27009
- "mutable": false,
27168
+ "mutable": true,
27010
27169
  "attr": "depth",
27011
27170
  "reflectToAttr": false,
27012
- "docs": "Profondeur maximale des headings à scanner. Ex: \"h3\" scanne h2 et h3, \"h4\" scanne h2, h3 et h4. Par défaut tous les niveaux jusqu'à h6.",
27171
+ "docs": "Profondeur maximale des headings à scanner. Ex: \"h3\" scanne h2 et h3, \"h4\" scanne h2, h3 et h4. Par défaut tous les niveaux jusqu'à h6. Peut également être définie sur spw-toc-navigation (dans ce cas, la valeur est propagée automatiquement à ce container).",
27013
27172
  "docsTags": [
27014
27173
  {
27015
27174
  "name": "default",
@@ -27114,6 +27273,46 @@
27114
27273
  "docsTags": [],
27115
27274
  "usage": {},
27116
27275
  "props": [
27276
+ {
27277
+ "name": "depth",
27278
+ "type": "\"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
27279
+ "complexType": {
27280
+ "original": "'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
27281
+ "resolved": "\"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
27282
+ "references": {}
27283
+ },
27284
+ "mutable": false,
27285
+ "attr": "depth",
27286
+ "reflectToAttr": false,
27287
+ "docs": "Profondeur maximale des headings à scanner. Propage la valeur au spw-toc-container parent (si uniquement spw-toc-navigation configurable). Si non définie, la valeur du spw-toc-container est utilisée.",
27288
+ "docsTags": [],
27289
+ "values": [
27290
+ {
27291
+ "value": "h2",
27292
+ "type": "string"
27293
+ },
27294
+ {
27295
+ "value": "h3",
27296
+ "type": "string"
27297
+ },
27298
+ {
27299
+ "value": "h4",
27300
+ "type": "string"
27301
+ },
27302
+ {
27303
+ "value": "h5",
27304
+ "type": "string"
27305
+ },
27306
+ {
27307
+ "value": "h6",
27308
+ "type": "string"
27309
+ }
27310
+ ],
27311
+ "optional": true,
27312
+ "required": false,
27313
+ "getter": false,
27314
+ "setter": false
27315
+ },
27117
27316
  {
27118
27317
  "name": "variant",
27119
27318
  "type": "\"progress\" | \"simple\"",
@@ -27413,6 +27612,35 @@
27413
27612
  "docsTags": [],
27414
27613
  "usage": {},
27415
27614
  "props": [
27615
+ {
27616
+ "name": "borderColor",
27617
+ "type": "string",
27618
+ "complexType": {
27619
+ "original": "string",
27620
+ "resolved": "string",
27621
+ "references": {}
27622
+ },
27623
+ "mutable": false,
27624
+ "attr": "border-color",
27625
+ "reflectToAttr": false,
27626
+ "docs": "Code hexadécimal (ou toute valeur CSS de couleur) de la bordure sous le nom du site",
27627
+ "docsTags": [
27628
+ {
27629
+ "name": "default",
27630
+ "text": "''"
27631
+ }
27632
+ ],
27633
+ "default": "''",
27634
+ "values": [
27635
+ {
27636
+ "type": "string"
27637
+ }
27638
+ ],
27639
+ "optional": true,
27640
+ "required": false,
27641
+ "getter": false,
27642
+ "setter": false
27643
+ },
27416
27644
  {
27417
27645
  "name": "emitLogoClick",
27418
27646
  "type": "boolean",