@swisspost/design-system-components 2.1.0 → 7.1.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.
Files changed (224) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  3. package/dist/cjs/check-one-of-f4f5d0c0.js +8 -0
  4. package/dist/cjs/heading-levels-608d432e.js +5 -0
  5. package/dist/cjs/{index-8c288b1a.js → index-a1440961.js} +2 -6
  6. package/dist/cjs/index-de783b23.js +1394 -0
  7. package/dist/cjs/index.cjs.js +21 -15
  8. package/dist/cjs/loader.cjs.js +5 -3
  9. package/dist/cjs/{package-96a46572.js → package-dacf5ec2.js} +1 -1
  10. package/dist/cjs/{post-accordion-9d27458a.js → post-accordion-225de951.js} +40 -23
  11. package/dist/cjs/post-accordion-item-935e122a.js +52 -0
  12. package/dist/cjs/post-accordion-item.cjs.entry.js +6 -4
  13. package/dist/cjs/post-accordion.cjs.entry.js +5 -3
  14. package/dist/cjs/post-alert-6041a34c.js +98 -0
  15. package/dist/cjs/post-alert.cjs.entry.js +5 -4
  16. package/dist/cjs/post-card-control-3c089d8e.js +314 -0
  17. package/dist/cjs/post-card-control.cjs.entry.js +14 -0
  18. package/dist/cjs/{post-collapsible-1867015c.js → post-collapsible-562268e9.js} +7 -7
  19. package/dist/cjs/post-collapsible.cjs.entry.js +5 -4
  20. package/dist/cjs/post-components.cjs.js +13 -11
  21. package/dist/cjs/{post-icon-07a67b83.js → post-icon-973d5c46.js} +5 -5
  22. package/dist/cjs/post-icon.cjs.entry.js +5 -4
  23. package/dist/cjs/post-popover-b0844e71.js +104 -0
  24. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  25. package/dist/cjs/{post-popovercontainer-003c0819.js → post-popovercontainer-5bb6a804.js} +254 -55
  26. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  27. package/dist/cjs/post-rating-d2845096.js +88 -0
  28. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  29. package/dist/cjs/post-tab-header-6496a51b.js +32 -0
  30. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  31. package/dist/cjs/{post-tab-panel-6a9c4a4f.js → post-tab-panel-25bd8c74.js} +3 -3
  32. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-tabs-2eb6f376.js → post-tabs-4e4ee252.js} +23 -21
  34. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  35. package/dist/cjs/post-tag-cbc458ed.js +47 -0
  36. package/dist/cjs/post-tag.cjs.entry.js +11 -0
  37. package/dist/cjs/{post-tooltip-260d0627.js → post-tooltip-805bc0c0.js} +13 -9
  38. package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
  39. package/dist/collection/collection-manifest.json +5 -3
  40. package/dist/collection/components/post-accordion/post-accordion.js +68 -25
  41. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  42. package/dist/collection/components/post-accordion-item/post-accordion-item.js +17 -12
  43. package/dist/collection/components/post-alert/alert-types.js +1 -1
  44. package/dist/collection/components/post-alert/post-alert.css +2 -2
  45. package/dist/collection/components/post-alert/post-alert.js +9 -9
  46. package/dist/collection/components/post-card-control/post-card-control.css +31 -0
  47. package/dist/collection/components/post-card-control/post-card-control.js +523 -0
  48. package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
  49. package/dist/collection/components/post-collapsible/post-collapsible.js +6 -6
  50. package/dist/collection/components/post-icon/post-icon.js +4 -4
  51. package/dist/collection/components/post-popover/post-popover.css +29 -1
  52. package/dist/collection/components/post-popover/post-popover.js +3 -3
  53. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  54. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +7 -7
  55. package/dist/collection/components/post-rating/post-rating.css +28 -0
  56. package/dist/collection/components/post-rating/post-rating.js +8 -8
  57. package/dist/collection/components/post-tab-header/post-tab-header.css +30 -2
  58. package/dist/collection/components/post-tab-header/post-tab-header.js +3 -3
  59. package/dist/collection/components/post-tab-panel/post-tab-panel.js +2 -2
  60. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  61. package/dist/collection/components/post-tabs/post-tabs.js +23 -21
  62. package/dist/collection/components/post-tag/post-tag.css +31 -0
  63. package/dist/collection/components/post-tag/post-tag.js +119 -0
  64. package/dist/collection/components/post-tooltip/post-tooltip.js +12 -9
  65. package/dist/collection/index.js +2 -0
  66. package/dist/collection/types/heading-levels.js +1 -0
  67. package/dist/collection/types/index.js +1 -0
  68. package/dist/collection/utils/index.js +1 -0
  69. package/dist/collection/utils/sass-export.js +16 -0
  70. package/dist/components/check-one-of.js +6 -0
  71. package/dist/components/heading-levels.js +3 -0
  72. package/dist/components/index.js +2 -0
  73. package/dist/components/index2.js +1 -5
  74. package/dist/components/package.js +1 -1
  75. package/dist/components/post-accordion-item2.js +9 -8
  76. package/dist/components/post-accordion2.js +42 -22
  77. package/dist/components/post-alert2.js +7 -7
  78. package/dist/components/post-card-control.d.ts +11 -0
  79. package/dist/components/post-card-control.js +6 -0
  80. package/dist/components/post-card-control2.js +345 -0
  81. package/dist/components/post-collapsible2.js +4 -4
  82. package/dist/components/post-icon2.js +2 -2
  83. package/dist/components/post-popover2.js +2 -2
  84. package/dist/components/post-popovercontainer2.js +252 -53
  85. package/dist/components/post-rating2.js +6 -6
  86. package/dist/components/post-tab-header2.js +2 -2
  87. package/dist/components/post-tab-panel2.js +1 -1
  88. package/dist/components/post-tabs2.js +21 -19
  89. package/dist/components/post-tag.d.ts +11 -0
  90. package/dist/components/post-tag.js +6 -0
  91. package/dist/components/post-tag2.js +74 -0
  92. package/dist/components/post-tooltip2.js +11 -7
  93. package/dist/docs.d.ts +34 -0
  94. package/dist/docs.json +538 -25
  95. package/dist/esm/app-globals-0f993ce5.js +3 -0
  96. package/dist/esm/check-one-of-6b3ef8eb.js +6 -0
  97. package/dist/esm/heading-levels-5b7b4349.js +3 -0
  98. package/dist/esm/index-cf1d5611.js +1365 -0
  99. package/dist/esm/{index-b444db27.js → index-d1eba94c.js} +1 -5
  100. package/dist/esm/index.js +19 -15
  101. package/dist/esm/loader.js +6 -4
  102. package/dist/esm/{package-50a9c0c3.js → package-a837c1ad.js} +1 -1
  103. package/dist/esm/{post-accordion-33fe4f0e.js → post-accordion-fdd22c1d.js} +40 -23
  104. package/dist/esm/post-accordion-item-336f568c.js +50 -0
  105. package/dist/esm/post-accordion-item.entry.js +6 -4
  106. package/dist/esm/post-accordion.entry.js +5 -3
  107. package/dist/esm/post-alert-f48527d8.js +96 -0
  108. package/dist/esm/post-alert.entry.js +5 -4
  109. package/dist/esm/post-card-control-3e6a5855.js +312 -0
  110. package/dist/esm/post-card-control.entry.js +6 -0
  111. package/dist/esm/{post-collapsible-50dc361b.js → post-collapsible-486ab980.js} +7 -7
  112. package/dist/esm/post-collapsible.entry.js +5 -4
  113. package/dist/esm/post-components.js +14 -12
  114. package/dist/esm/{post-icon-00f314ae.js → post-icon-19fdfc4d.js} +5 -5
  115. package/dist/esm/post-icon.entry.js +5 -4
  116. package/dist/esm/post-popover-17164186.js +102 -0
  117. package/dist/esm/post-popover.entry.js +3 -3
  118. package/dist/esm/{post-popovercontainer-62e1fd82.js → post-popovercontainer-d19f9646.js} +254 -55
  119. package/dist/esm/post-popovercontainer.entry.js +3 -3
  120. package/dist/esm/post-rating-ea204778.js +86 -0
  121. package/dist/esm/post-rating.entry.js +3 -3
  122. package/dist/esm/post-tab-header-a97cdef2.js +30 -0
  123. package/dist/esm/post-tab-header.entry.js +3 -3
  124. package/dist/esm/{post-tab-panel-37a1331f.js → post-tab-panel-e6999395.js} +3 -3
  125. package/dist/esm/post-tab-panel.entry.js +3 -3
  126. package/dist/esm/{post-tabs-c4e65a45.js → post-tabs-524c699a.js} +23 -21
  127. package/dist/esm/post-tabs.entry.js +3 -3
  128. package/dist/esm/post-tag-e2035a81.js +45 -0
  129. package/dist/esm/post-tag.entry.js +3 -0
  130. package/dist/esm/{post-tooltip-033f63fa.js → post-tooltip-e4fc9c0c.js} +13 -9
  131. package/dist/esm/post-tooltip.entry.js +3 -3
  132. package/dist/post-components/index.esm.js +1 -1
  133. package/dist/post-components/p-07cc4853.entry.js +1 -0
  134. package/dist/post-components/p-0e410cec.entry.js +1 -0
  135. package/dist/post-components/p-14e22434.entry.js +1 -0
  136. package/dist/post-components/p-18a2ef27.js +1 -0
  137. package/dist/post-components/p-18b571e3.js +2 -0
  138. package/dist/post-components/p-247a1668.js +1 -0
  139. package/dist/post-components/p-2f4c40ee.js +1 -0
  140. package/dist/post-components/p-39a1dcb8.entry.js +1 -0
  141. package/dist/post-components/p-3b0988a1.js +1 -0
  142. package/dist/post-components/p-3ee18d14.entry.js +1 -0
  143. package/dist/post-components/p-4575a570.js +1 -0
  144. package/dist/post-components/p-59da0b80.js +1 -0
  145. package/dist/post-components/p-611b3c41.js +1 -0
  146. package/dist/post-components/p-63277771.entry.js +1 -0
  147. package/dist/post-components/p-67df1075.js +1 -0
  148. package/dist/post-components/p-74db9b35.entry.js +1 -0
  149. package/dist/post-components/p-7bb79254.entry.js +1 -0
  150. package/dist/post-components/p-8398de7b.entry.js +1 -0
  151. package/dist/post-components/p-9a59f2c7.js +1 -0
  152. package/dist/post-components/p-c4a7208a.js +1 -0
  153. package/dist/post-components/{p-7e7833f7.js → p-c85913ed.js} +3 -3
  154. package/dist/post-components/p-caaa5b4c.entry.js +1 -0
  155. package/dist/post-components/p-cf10d355.js +1 -0
  156. package/dist/post-components/p-d1f516dd.js +1 -0
  157. package/dist/post-components/p-d2eb0f0b.js +1 -0
  158. package/dist/post-components/p-d70f33cd.js +1 -0
  159. package/dist/post-components/p-da049db2.entry.js +1 -0
  160. package/dist/post-components/p-db114d1d.entry.js +1 -0
  161. package/dist/post-components/p-e1255160.js +1 -0
  162. package/dist/post-components/p-e929ddbc.js +1 -0
  163. package/dist/post-components/p-ebb54756.entry.js +1 -0
  164. package/dist/post-components/p-ed22dec0.js +1 -0
  165. package/dist/post-components/p-f5d8f3fe.entry.js +1 -0
  166. package/dist/post-components/p-f91c0e1b.js +1 -0
  167. package/dist/post-components/post-components.esm.js +1 -1
  168. package/dist/types/components/post-accordion/post-accordion.d.ts +8 -2
  169. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +3 -2
  170. package/dist/types/components/post-alert/alert-types.d.ts +2 -2
  171. package/dist/types/components/post-alert/post-alert.d.ts +2 -2
  172. package/dist/types/components/post-card-control/post-card-control.d.ts +112 -0
  173. package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -1
  174. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +1 -1
  175. package/dist/types/components/post-rating/post-rating.d.ts +2 -2
  176. package/dist/types/components/post-tabs/post-tabs.d.ts +1 -1
  177. package/dist/types/components/post-tag/post-tag.d.ts +27 -0
  178. package/dist/types/components.d.ts +191 -15
  179. package/dist/types/css-modules.js +0 -0
  180. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/css-modules.d.ts +6 -0
  181. package/dist/types/index.d.ts +2 -0
  182. package/dist/types/types/heading-levels.d.ts +2 -0
  183. package/dist/types/types/index.d.ts +1 -0
  184. package/dist/types/utils/index.d.ts +1 -0
  185. package/dist/types/utils/sass-export.d.ts +2 -0
  186. package/package.json +22 -22
  187. package/dist/cjs/index-f243643b.js +0 -2051
  188. package/dist/cjs/post-accordion-item-61fb55fa.js +0 -51
  189. package/dist/cjs/post-alert-a810f5b9.js +0 -98
  190. package/dist/cjs/post-popover-9610b64c.js +0 -104
  191. package/dist/cjs/post-rating-75574abd.js +0 -88
  192. package/dist/cjs/post-tab-header-85424e32.js +0 -32
  193. package/dist/esm/index-1708db56.js +0 -2022
  194. package/dist/esm/post-accordion-item-1fd95c9f.js +0 -49
  195. package/dist/esm/post-alert-65d67f69.js +0 -96
  196. package/dist/esm/post-popover-40bfd1b7.js +0 -102
  197. package/dist/esm/post-rating-f7a79ed4.js +0 -86
  198. package/dist/esm/post-tab-header-0683252a.js +0 -30
  199. package/dist/post-components/p-00dcad55.js +0 -1
  200. package/dist/post-components/p-01e57281.entry.js +0 -1
  201. package/dist/post-components/p-06c989fb.entry.js +0 -1
  202. package/dist/post-components/p-07ffb6de.entry.js +0 -1
  203. package/dist/post-components/p-10b4cf7a.js +0 -2
  204. package/dist/post-components/p-26c658c1.entry.js +0 -1
  205. package/dist/post-components/p-2a964700.js +0 -1
  206. package/dist/post-components/p-35f14000.js +0 -1
  207. package/dist/post-components/p-3fb09ecd.js +0 -1
  208. package/dist/post-components/p-4b0a45d8.entry.js +0 -1
  209. package/dist/post-components/p-53e8e4e7.entry.js +0 -1
  210. package/dist/post-components/p-598b11b6.js +0 -1
  211. package/dist/post-components/p-5b6ee52a.entry.js +0 -1
  212. package/dist/post-components/p-8139faa4.entry.js +0 -1
  213. package/dist/post-components/p-8cd6d7c2.js +0 -1
  214. package/dist/post-components/p-99a9602e.js +0 -1
  215. package/dist/post-components/p-a2775477.entry.js +0 -1
  216. package/dist/post-components/p-a905b16b.entry.js +0 -1
  217. package/dist/post-components/p-aa02111b.js +0 -1
  218. package/dist/post-components/p-b135d3e2.js +0 -1
  219. package/dist/post-components/p-b81e61ed.entry.js +0 -1
  220. package/dist/post-components/p-d6bc34ff.js +0 -1
  221. package/dist/post-components/p-da2b8e26.entry.js +0 -1
  222. package/dist/post-components/p-f0476913.js +0 -1
  223. package/dist/post-components/p-f0e82e63.js +0 -1
  224. package/dist/post-components/p-ff0e1564.js +0 -1
package/dist/docs.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-03-05T15:08:17",
2
+ "timestamp": "2024-05-23T13:10:24",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.12.0",
6
- "typescriptVersion": "5.3.3"
5
+ "version": "4.18.0",
6
+ "typescriptVersion": "5.4.5"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -20,6 +20,54 @@
20
20
  ],
21
21
  "usage": {},
22
22
  "props": [
23
+ {
24
+ "name": "headingLevel",
25
+ "type": "1 | 2 | 3 | 4 | 5 | 6",
26
+ "complexType": {
27
+ "original": "HeadingLevel",
28
+ "resolved": "1 | 2 | 3 | 4 | 5 | 6",
29
+ "references": {
30
+ "HeadingLevel": {
31
+ "location": "import",
32
+ "path": "@/types",
33
+ "id": "src/types/index.ts::HeadingLevel"
34
+ }
35
+ }
36
+ },
37
+ "mutable": false,
38
+ "attr": "heading-level",
39
+ "reflectToAttr": false,
40
+ "docs": "Defines the hierarchical level of the `post-accordion-item` headers within the headings structure.",
41
+ "docsTags": [],
42
+ "values": [
43
+ {
44
+ "value": "1",
45
+ "type": "number"
46
+ },
47
+ {
48
+ "value": "2",
49
+ "type": "number"
50
+ },
51
+ {
52
+ "value": "3",
53
+ "type": "number"
54
+ },
55
+ {
56
+ "value": "4",
57
+ "type": "number"
58
+ },
59
+ {
60
+ "value": "5",
61
+ "type": "number"
62
+ },
63
+ {
64
+ "value": "6",
65
+ "type": "number"
66
+ }
67
+ ],
68
+ "optional": true,
69
+ "required": false
70
+ },
23
71
  {
24
72
  "name": "multiple",
25
73
  "type": "boolean",
@@ -85,7 +133,7 @@
85
133
  },
86
134
  "signature": "expandAll() => Promise<void>",
87
135
  "parameters": [],
88
- "docs": "Expands all `post-accordion-item`.\n\nIf `close-others` is `true` and all items are closed, it will open the first one.\nOtherwise, it will keep the opened one.",
136
+ "docs": "Expands all `post-accordion-item`.\n\nIf `multiple=\"true\"` is not set and all items are closed, it will open the first one.\nOtherwise, it will keep the opened one.",
89
137
  "docsTags": []
90
138
  },
91
139
  {
@@ -126,7 +174,7 @@
126
174
  "events": [],
127
175
  "listeners": [
128
176
  {
129
- "event": "collapseChange",
177
+ "event": "postToggle",
130
178
  "capture": false,
131
179
  "passive": false
132
180
  }
@@ -192,8 +240,8 @@
192
240
  "references": {
193
241
  "HeadingLevel": {
194
242
  "location": "import",
195
- "path": "./heading-levels",
196
- "id": "src/components/post-accordion-item/heading-levels.ts::HeadingLevel"
243
+ "path": "@/types",
244
+ "id": "src/types/index.ts::HeadingLevel"
197
245
  }
198
246
  }
199
247
  },
@@ -201,8 +249,14 @@
201
249
  "attr": "heading-level",
202
250
  "reflectToAttr": false,
203
251
  "docs": "Defines the hierarchical level of the accordion item header within the headings structure.",
204
- "docsTags": [],
252
+ "docsTags": [
253
+ {
254
+ "name": "deprecated",
255
+ "text": "set the `heading-level` property on the parent `post-accordion` instead."
256
+ }
257
+ ],
205
258
  "default": "2",
259
+ "deprecation": "set the `heading-level` property on the parent `post-accordion` instead.",
206
260
  "values": [
207
261
  {
208
262
  "value": "1",
@@ -272,7 +326,7 @@
272
326
  "events": [],
273
327
  "listeners": [
274
328
  {
275
- "event": "collapseChange",
329
+ "event": "postToggle",
276
330
  "capture": false,
277
331
  "passive": false
278
332
  }
@@ -488,7 +542,7 @@
488
542
  ],
489
543
  "events": [
490
544
  {
491
- "event": "dismissed",
545
+ "event": "postDismissed",
492
546
  "detail": "void",
493
547
  "bubbles": true,
494
548
  "complexType": {
@@ -529,6 +583,334 @@
529
583
  ]
530
584
  }
531
585
  },
586
+ {
587
+ "filePath": "src/components/post-card-control/post-card-control.tsx",
588
+ "encapsulation": "shadow",
589
+ "tag": "post-card-control",
590
+ "readme": "# post-card-control\n\n\n",
591
+ "docs": "",
592
+ "docsTags": [
593
+ {
594
+ "name": "class",
595
+ "text": "PostCardControl - representing a stencil component"
596
+ },
597
+ {
598
+ "name": "slot",
599
+ "text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
600
+ },
601
+ {
602
+ "name": "slot",
603
+ "text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
604
+ }
605
+ ],
606
+ "usage": {},
607
+ "props": [
608
+ {
609
+ "name": "checked",
610
+ "type": "boolean",
611
+ "complexType": {
612
+ "original": "boolean",
613
+ "resolved": "boolean",
614
+ "references": {}
615
+ },
616
+ "mutable": true,
617
+ "attr": "checked",
618
+ "reflectToAttr": false,
619
+ "docs": "Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms data.",
620
+ "docsTags": [],
621
+ "default": "false",
622
+ "values": [
623
+ {
624
+ "type": "boolean"
625
+ }
626
+ ],
627
+ "optional": false,
628
+ "required": false
629
+ },
630
+ {
631
+ "name": "description",
632
+ "type": "string",
633
+ "complexType": {
634
+ "original": "string",
635
+ "resolved": "string",
636
+ "references": {}
637
+ },
638
+ "mutable": false,
639
+ "attr": "description",
640
+ "reflectToAttr": false,
641
+ "docs": "Defines the description in the control-label.",
642
+ "docsTags": [],
643
+ "default": "null",
644
+ "values": [
645
+ {
646
+ "type": "string"
647
+ }
648
+ ],
649
+ "optional": false,
650
+ "required": false
651
+ },
652
+ {
653
+ "name": "disabled",
654
+ "type": "boolean",
655
+ "complexType": {
656
+ "original": "boolean",
657
+ "resolved": "boolean",
658
+ "references": {}
659
+ },
660
+ "mutable": true,
661
+ "attr": "disabled",
662
+ "reflectToAttr": false,
663
+ "docs": "Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms data.",
664
+ "docsTags": [],
665
+ "default": "false",
666
+ "values": [
667
+ {
668
+ "type": "boolean"
669
+ }
670
+ ],
671
+ "optional": false,
672
+ "required": false
673
+ },
674
+ {
675
+ "name": "icon",
676
+ "type": "string",
677
+ "complexType": {
678
+ "original": "string",
679
+ "resolved": "string",
680
+ "references": {}
681
+ },
682
+ "mutable": false,
683
+ "attr": "icon",
684
+ "reflectToAttr": false,
685
+ "docs": "Defines the icon `name` inside of the card.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>",
686
+ "docsTags": [],
687
+ "default": "null",
688
+ "values": [
689
+ {
690
+ "type": "string"
691
+ }
692
+ ],
693
+ "optional": false,
694
+ "required": false
695
+ },
696
+ {
697
+ "name": "label",
698
+ "type": "string",
699
+ "complexType": {
700
+ "original": "string",
701
+ "resolved": "string",
702
+ "references": {}
703
+ },
704
+ "mutable": false,
705
+ "attr": "label",
706
+ "reflectToAttr": false,
707
+ "docs": "Defines the text in the control-label.",
708
+ "docsTags": [],
709
+ "values": [
710
+ {
711
+ "type": "string"
712
+ }
713
+ ],
714
+ "optional": false,
715
+ "required": true
716
+ },
717
+ {
718
+ "name": "name",
719
+ "type": "string",
720
+ "complexType": {
721
+ "original": "string",
722
+ "resolved": "string",
723
+ "references": {}
724
+ },
725
+ "mutable": false,
726
+ "attr": "name",
727
+ "reflectToAttr": false,
728
+ "docs": "Defines the `name` attribute of the control.\n<span className=\"alert alert-sm alert-info\">This is a required property, when the control should participate in a native `form`. If not specified, a native `form` will never contain this controls value.</span>\n<span className=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
729
+ "docsTags": [],
730
+ "default": "null",
731
+ "values": [
732
+ {
733
+ "type": "string"
734
+ }
735
+ ],
736
+ "optional": false,
737
+ "required": false
738
+ },
739
+ {
740
+ "name": "type",
741
+ "type": "\"checkbox\" | \"radio\"",
742
+ "complexType": {
743
+ "original": "'checkbox' | 'radio'",
744
+ "resolved": "\"checkbox\" | \"radio\"",
745
+ "references": {}
746
+ },
747
+ "mutable": false,
748
+ "attr": "type",
749
+ "reflectToAttr": false,
750
+ "docs": "Defines the `type` attribute of the control.",
751
+ "docsTags": [],
752
+ "values": [
753
+ {
754
+ "value": "checkbox",
755
+ "type": "string"
756
+ },
757
+ {
758
+ "value": "radio",
759
+ "type": "string"
760
+ }
761
+ ],
762
+ "optional": false,
763
+ "required": true
764
+ },
765
+ {
766
+ "name": "validity",
767
+ "type": "\"false\" | \"true\"",
768
+ "complexType": {
769
+ "original": "null | 'true' | 'false'",
770
+ "resolved": "\"false\" | \"true\"",
771
+ "references": {}
772
+ },
773
+ "mutable": true,
774
+ "attr": "validity",
775
+ "reflectToAttr": false,
776
+ "docs": "Defines the validation `validity` of the control.\nTo reset validity to an undefiend state, simply remove the attribute from the control.",
777
+ "docsTags": [],
778
+ "default": "null",
779
+ "values": [
780
+ {
781
+ "value": "false",
782
+ "type": "string"
783
+ },
784
+ {
785
+ "value": "true",
786
+ "type": "string"
787
+ }
788
+ ],
789
+ "optional": false,
790
+ "required": false
791
+ },
792
+ {
793
+ "name": "value",
794
+ "type": "string",
795
+ "complexType": {
796
+ "original": "string",
797
+ "resolved": "string",
798
+ "references": {}
799
+ },
800
+ "mutable": false,
801
+ "attr": "value",
802
+ "reflectToAttr": false,
803
+ "docs": "Defines the `value` attribute of the control. <span className=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
804
+ "docsTags": [],
805
+ "default": "null",
806
+ "values": [
807
+ {
808
+ "type": "string"
809
+ }
810
+ ],
811
+ "optional": false,
812
+ "required": false
813
+ }
814
+ ],
815
+ "methods": [
816
+ {
817
+ "name": "groupReset",
818
+ "returns": {
819
+ "type": "Promise<void>",
820
+ "docs": ""
821
+ },
822
+ "complexType": {
823
+ "signature": "() => Promise<void>",
824
+ "parameters": [],
825
+ "references": {
826
+ "Promise": {
827
+ "location": "global",
828
+ "id": "global::Promise"
829
+ }
830
+ },
831
+ "return": "Promise<void>"
832
+ },
833
+ "signature": "groupReset() => Promise<void>",
834
+ "parameters": [],
835
+ "docs": "A hidden public method to reset the group controls `checked` state to `false`.",
836
+ "docsTags": []
837
+ },
838
+ {
839
+ "name": "reset",
840
+ "returns": {
841
+ "type": "Promise<void>",
842
+ "docs": ""
843
+ },
844
+ "complexType": {
845
+ "signature": "() => Promise<void>",
846
+ "parameters": [],
847
+ "references": {
848
+ "Promise": {
849
+ "location": "global",
850
+ "id": "global::Promise"
851
+ }
852
+ },
853
+ "return": "Promise<void>"
854
+ },
855
+ "signature": "reset() => Promise<void>",
856
+ "parameters": [],
857
+ "docs": "A public method to reset the controls `checked` and `validity` state.\nThe validity state is set to `null`, so it's neither valid nor invalid.",
858
+ "docsTags": []
859
+ }
860
+ ],
861
+ "events": [
862
+ {
863
+ "event": "postChange",
864
+ "detail": "{ state: boolean; value: string; }",
865
+ "bubbles": true,
866
+ "complexType": {
867
+ "original": "{ state: boolean; value: string }",
868
+ "resolved": "{ state: boolean; value: string; }",
869
+ "references": {}
870
+ },
871
+ "cancelable": true,
872
+ "composed": true,
873
+ "docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"alert alert-sm alert-info\">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>",
874
+ "docsTags": []
875
+ },
876
+ {
877
+ "event": "postInput",
878
+ "detail": "{ state: boolean; value: string; }",
879
+ "bubbles": true,
880
+ "complexType": {
881
+ "original": "{ state: boolean; value: string }",
882
+ "resolved": "{ state: boolean; value: string; }",
883
+ "references": {}
884
+ },
885
+ "cancelable": true,
886
+ "composed": true,
887
+ "docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.",
888
+ "docsTags": []
889
+ }
890
+ ],
891
+ "listeners": [],
892
+ "styles": [],
893
+ "slots": [
894
+ {
895
+ "name": "default",
896
+ "docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
897
+ },
898
+ {
899
+ "name": "icon",
900
+ "docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
901
+ }
902
+ ],
903
+ "parts": [],
904
+ "dependents": [],
905
+ "dependencies": [
906
+ "post-icon"
907
+ ],
908
+ "dependencyGraph": {
909
+ "post-card-control": [
910
+ "post-icon"
911
+ ]
912
+ }
913
+ },
532
914
  {
533
915
  "filePath": "src/components/post-collapsible/post-collapsible.tsx",
534
916
  "encapsulation": "shadow",
@@ -604,7 +986,7 @@
604
986
  ],
605
987
  "events": [
606
988
  {
607
- "event": "collapseChange",
989
+ "event": "postToggle",
608
990
  "detail": "boolean",
609
991
  "bubbles": true,
610
992
  "complexType": {
@@ -839,15 +1221,23 @@
839
1221
  "parts": [],
840
1222
  "dependents": [
841
1223
  "post-alert",
842
- "post-rating"
1224
+ "post-card-control",
1225
+ "post-rating",
1226
+ "post-tag"
843
1227
  ],
844
1228
  "dependencies": [],
845
1229
  "dependencyGraph": {
846
1230
  "post-alert": [
847
1231
  "post-icon"
848
1232
  ],
1233
+ "post-card-control": [
1234
+ "post-icon"
1235
+ ],
849
1236
  "post-rating": [
850
1237
  "post-icon"
1238
+ ],
1239
+ "post-tag": [
1240
+ "post-icon"
851
1241
  ]
852
1242
  }
853
1243
  },
@@ -913,7 +1303,7 @@
913
1303
  "Placement": {
914
1304
  "location": "import",
915
1305
  "path": "@floating-ui/dom",
916
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1306
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
917
1307
  }
918
1308
  }
919
1309
  },
@@ -1162,7 +1552,7 @@
1162
1552
  "Placement": {
1163
1553
  "location": "import",
1164
1554
  "path": "@floating-ui/dom",
1165
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1555
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1166
1556
  }
1167
1557
  }
1168
1558
  },
@@ -1352,7 +1742,7 @@
1352
1742
  ],
1353
1743
  "events": [
1354
1744
  {
1355
- "event": "postPopoverToggled",
1745
+ "event": "postToggle",
1356
1746
  "detail": "boolean",
1357
1747
  "bubbles": true,
1358
1748
  "complexType": {
@@ -1495,7 +1885,7 @@
1495
1885
  "methods": [],
1496
1886
  "events": [
1497
1887
  {
1498
- "event": "change",
1888
+ "event": "postChange",
1499
1889
  "detail": "{ value: number; }",
1500
1890
  "bubbles": true,
1501
1891
  "complexType": {
@@ -1509,7 +1899,7 @@
1509
1899
  "docsTags": []
1510
1900
  },
1511
1901
  {
1512
- "event": "input",
1902
+ "event": "postInput",
1513
1903
  "detail": "{ value: number; }",
1514
1904
  "bubbles": true,
1515
1905
  "complexType": {
@@ -1731,7 +2121,7 @@
1731
2121
  ],
1732
2122
  "events": [
1733
2123
  {
1734
- "event": "tabChange",
2124
+ "event": "postChange",
1735
2125
  "detail": "string",
1736
2126
  "bubbles": true,
1737
2127
  "complexType": {
@@ -1767,6 +2157,129 @@
1767
2157
  "dependencies": [],
1768
2158
  "dependencyGraph": {}
1769
2159
  },
2160
+ {
2161
+ "filePath": "src/components/post-tag/post-tag.tsx",
2162
+ "encapsulation": "shadow",
2163
+ "tag": "post-tag",
2164
+ "readme": "# tag\n",
2165
+ "docs": "",
2166
+ "docsTags": [
2167
+ {
2168
+ "name": "slot",
2169
+ "text": "default - Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.</p>"
2170
+ }
2171
+ ],
2172
+ "usage": {},
2173
+ "props": [
2174
+ {
2175
+ "name": "icon",
2176
+ "type": "string",
2177
+ "complexType": {
2178
+ "original": "null | string",
2179
+ "resolved": "string",
2180
+ "references": {}
2181
+ },
2182
+ "mutable": false,
2183
+ "attr": "icon",
2184
+ "reflectToAttr": false,
2185
+ "docs": "Defines the icon `name` inside of the component.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\">icon library</a>.",
2186
+ "docsTags": [],
2187
+ "default": "null",
2188
+ "values": [
2189
+ {
2190
+ "type": "string"
2191
+ }
2192
+ ],
2193
+ "optional": false,
2194
+ "required": false
2195
+ },
2196
+ {
2197
+ "name": "size",
2198
+ "type": "\"sm\"",
2199
+ "complexType": {
2200
+ "original": "null | 'sm'",
2201
+ "resolved": "\"sm\"",
2202
+ "references": {}
2203
+ },
2204
+ "mutable": false,
2205
+ "attr": "size",
2206
+ "reflectToAttr": false,
2207
+ "docs": "Defines the size of the component.",
2208
+ "docsTags": [],
2209
+ "default": "null",
2210
+ "values": [
2211
+ {
2212
+ "value": "sm",
2213
+ "type": "string"
2214
+ }
2215
+ ],
2216
+ "optional": false,
2217
+ "required": false
2218
+ },
2219
+ {
2220
+ "name": "variant",
2221
+ "type": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
2222
+ "complexType": {
2223
+ "original": "'white' | 'info' | 'success' | 'error' | 'warning' | 'yellow'",
2224
+ "resolved": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
2225
+ "references": {}
2226
+ },
2227
+ "mutable": false,
2228
+ "attr": "variant",
2229
+ "reflectToAttr": false,
2230
+ "docs": "Defines the color variant of the component.",
2231
+ "docsTags": [],
2232
+ "values": [
2233
+ {
2234
+ "value": "error",
2235
+ "type": "string"
2236
+ },
2237
+ {
2238
+ "value": "info",
2239
+ "type": "string"
2240
+ },
2241
+ {
2242
+ "value": "success",
2243
+ "type": "string"
2244
+ },
2245
+ {
2246
+ "value": "warning",
2247
+ "type": "string"
2248
+ },
2249
+ {
2250
+ "value": "white",
2251
+ "type": "string"
2252
+ },
2253
+ {
2254
+ "value": "yellow",
2255
+ "type": "string"
2256
+ }
2257
+ ],
2258
+ "optional": false,
2259
+ "required": false
2260
+ }
2261
+ ],
2262
+ "methods": [],
2263
+ "events": [],
2264
+ "listeners": [],
2265
+ "styles": [],
2266
+ "slots": [
2267
+ {
2268
+ "name": "default",
2269
+ "docs": "Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.</p>"
2270
+ }
2271
+ ],
2272
+ "parts": [],
2273
+ "dependents": [],
2274
+ "dependencies": [
2275
+ "post-icon"
2276
+ ],
2277
+ "dependencyGraph": {
2278
+ "post-tag": [
2279
+ "post-icon"
2280
+ ]
2281
+ }
2282
+ },
1770
2283
  {
1771
2284
  "filePath": "src/components/post-tooltip/post-tooltip.tsx",
1772
2285
  "encapsulation": "shadow",
@@ -1808,7 +2321,7 @@
1808
2321
  "Placement": {
1809
2322
  "location": "import",
1810
2323
  "path": "@floating-ui/dom",
1811
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
2324
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1812
2325
  }
1813
2326
  }
1814
2327
  },
@@ -2013,20 +2526,20 @@
2013
2526
  }
2014
2527
  ],
2015
2528
  "typeLibrary": {
2016
- "src/components/post-accordion-item/heading-levels.ts::HeadingLevel": {
2017
- "declaration": "1 | 2 | 3 | 4 | 5 | 6",
2529
+ "src/types/index.ts::HeadingLevel": {
2530
+ "declaration": "any",
2018
2531
  "docstring": "",
2019
- "path": "src/components/post-accordion-item/heading-levels.ts"
2532
+ "path": "src/types/index.ts"
2020
2533
  },
2021
2534
  "src/components/post-alert/alert-types.ts::AlertType": {
2022
- "declaration": "\"primary\" | \"success\" | \"danger\" | \"warning\" | \"info\" | \"gray\"",
2535
+ "declaration": "\"primary\" | \"success\" | \"warning\" | \"danger\" | \"info\" | \"gray\"",
2023
2536
  "docstring": "",
2024
2537
  "path": "src/components/post-alert/alert-types.ts"
2025
2538
  },
2026
- "../../node_modules/.pnpm/@floating-ui+dom@1.6.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
2539
+ "../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
2027
2540
  "declaration": "any",
2028
2541
  "docstring": "",
2029
- "path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
2542
+ "path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
2030
2543
  }
2031
2544
  }
2032
2545
  }