@tmorrow/cre8-wc 2.0.4 → 2.0.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.
Files changed (194) hide show
  1. package/a2ui/build-knowledge-graph.py +297 -0
  2. package/a2ui/catalog +240 -0
  3. package/a2ui/catalog-kg.json +6704 -0
  4. package/a2ui/catalog.json +576 -84
  5. package/a2ui/catalog.svg +3295 -0
  6. package/a2ui/demo.html +5 -49
  7. package/a2ui/examples/card-gallery.json +786 -0
  8. package/a2ui/examples/dating-grid.json +456 -0
  9. package/a2ui/examples/llm-observability.json +1719 -0
  10. package/a2ui/examples/portfolio.json +341 -0
  11. package/a2ui/generate-catalog.mjs +3 -0
  12. package/cdn/cre8-wc.esm.js +3057 -2438
  13. package/cdn/cre8-wc.esm.js.map +1 -1
  14. package/cdn/cre8-wc.min.js +1801 -1204
  15. package/cdn/cre8-wc.min.js.map +1 -1
  16. package/lib/components/accordion/accordion.d.ts +1 -0
  17. package/lib/components/accordion/accordion.d.ts.map +1 -1
  18. package/lib/components/accordion/accordion.js +1 -0
  19. package/lib/components/accordion/accordion.js.map +1 -1
  20. package/lib/components/accordion-item/accordion-item.d.ts +1 -0
  21. package/lib/components/accordion-item/accordion-item.d.ts.map +1 -1
  22. package/lib/components/accordion-item/accordion-item.js +1 -0
  23. package/lib/components/accordion-item/accordion-item.js.map +1 -1
  24. package/lib/components/alert/alert.d.ts +6 -0
  25. package/lib/components/alert/alert.d.ts.map +1 -1
  26. package/lib/components/alert/alert.js +6 -0
  27. package/lib/components/alert/alert.js.map +1 -1
  28. package/lib/components/button/button.d.ts +2 -0
  29. package/lib/components/button/button.d.ts.map +1 -1
  30. package/lib/components/button/button.js +2 -0
  31. package/lib/components/button/button.js.map +1 -1
  32. package/lib/components/button/button.styles.d.ts.map +1 -1
  33. package/lib/components/button/button.styles.js +1120 -557
  34. package/lib/components/button/button.styles.js.map +1 -1
  35. package/lib/components/button-group/button-group.d.ts +9 -0
  36. package/lib/components/button-group/button-group.d.ts.map +1 -1
  37. package/lib/components/button-group/button-group.js +8 -0
  38. package/lib/components/button-group/button-group.js.map +1 -1
  39. package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
  40. package/lib/components/button-group/button-group.styles.js +12 -0
  41. package/lib/components/button-group/button-group.styles.js.map +1 -1
  42. package/lib/components/card/card.d.ts +1 -1
  43. package/lib/components/card/card.d.ts.map +1 -1
  44. package/lib/components/card/card.js +1 -0
  45. package/lib/components/card/card.js.map +1 -1
  46. package/lib/components/card/card.styles.d.ts.map +1 -1
  47. package/lib/components/card/card.styles.js +8 -0
  48. package/lib/components/card/card.styles.js.map +1 -1
  49. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +6 -0
  50. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -1
  51. package/lib/components/checkbox-field-item/checkbox-field-item.js +6 -0
  52. package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -1
  53. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +1 -1
  54. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -1
  55. package/lib/components/date-picker/date-picker.d.ts +5 -0
  56. package/lib/components/date-picker/date-picker.d.ts.map +1 -1
  57. package/lib/components/date-picker/date-picker.js +12 -10
  58. package/lib/components/date-picker/date-picker.js.map +1 -1
  59. package/lib/components/dropdown/dropdown.d.ts +2 -0
  60. package/lib/components/dropdown/dropdown.d.ts.map +1 -1
  61. package/lib/components/dropdown/dropdown.js +2 -0
  62. package/lib/components/dropdown/dropdown.js.map +1 -1
  63. package/lib/components/dropdown-item/dropdown-item.d.ts +8 -0
  64. package/lib/components/dropdown-item/dropdown-item.d.ts.map +1 -1
  65. package/lib/components/dropdown-item/dropdown-item.js +15 -2
  66. package/lib/components/dropdown-item/dropdown-item.js.map +1 -1
  67. package/lib/components/feature/feature.d.ts +4 -0
  68. package/lib/components/feature/feature.d.ts.map +1 -1
  69. package/lib/components/feature/feature.js +4 -1
  70. package/lib/components/feature/feature.js.map +1 -1
  71. package/lib/components/field/field.d.ts +2 -0
  72. package/lib/components/field/field.d.ts.map +1 -1
  73. package/lib/components/field/field.js +3 -0
  74. package/lib/components/field/field.js.map +1 -1
  75. package/lib/components/global-nav-item/global-nav-item.d.ts +2 -0
  76. package/lib/components/global-nav-item/global-nav-item.d.ts.map +1 -1
  77. package/lib/components/global-nav-item/global-nav-item.js +2 -0
  78. package/lib/components/global-nav-item/global-nav-item.js.map +1 -1
  79. package/lib/components/header/header.d.ts +2 -0
  80. package/lib/components/header/header.d.ts.map +1 -1
  81. package/lib/components/header/header.js +2 -0
  82. package/lib/components/header/header.js.map +1 -1
  83. package/lib/components/hero/hero.d.ts +4 -0
  84. package/lib/components/hero/hero.d.ts.map +1 -1
  85. package/lib/components/hero/hero.js +4 -0
  86. package/lib/components/hero/hero.js.map +1 -1
  87. package/lib/components/hero/hero.styles.d.ts.map +1 -1
  88. package/lib/components/hero/hero.styles.js +13 -0
  89. package/lib/components/hero/hero.styles.js.map +1 -1
  90. package/lib/components/icon/icon.d.ts +3 -0
  91. package/lib/components/icon/icon.d.ts.map +1 -1
  92. package/lib/components/icon/icon.js +7 -5
  93. package/lib/components/icon/icon.js.map +1 -1
  94. package/lib/components/link/link.d.ts +2 -0
  95. package/lib/components/link/link.d.ts.map +1 -1
  96. package/lib/components/link/link.js +2 -0
  97. package/lib/components/link/link.js.map +1 -1
  98. package/lib/components/link-list-item/link-list-item.d.ts +2 -0
  99. package/lib/components/link-list-item/link-list-item.d.ts.map +1 -1
  100. package/lib/components/link-list-item/link-list-item.js +2 -0
  101. package/lib/components/link-list-item/link-list-item.js.map +1 -1
  102. package/lib/components/modal/modal.d.ts +4 -0
  103. package/lib/components/modal/modal.d.ts.map +1 -1
  104. package/lib/components/modal/modal.js +4 -0
  105. package/lib/components/modal/modal.js.map +1 -1
  106. package/lib/components/multi-select/multi-select.d.ts +4 -0
  107. package/lib/components/multi-select/multi-select.d.ts.map +1 -1
  108. package/lib/components/multi-select/multi-select.js +5 -2
  109. package/lib/components/multi-select/multi-select.js.map +1 -1
  110. package/lib/components/page-header/page-header.d.ts +1 -0
  111. package/lib/components/page-header/page-header.d.ts.map +1 -1
  112. package/lib/components/page-header/page-header.js +3 -2
  113. package/lib/components/page-header/page-header.js.map +1 -1
  114. package/lib/components/pagination/pagination.d.ts +7 -0
  115. package/lib/components/pagination/pagination.d.ts.map +1 -1
  116. package/lib/components/pagination/pagination.js +7 -0
  117. package/lib/components/pagination/pagination.js.map +1 -1
  118. package/lib/components/percent-bar/percent-bar.d.ts.map +1 -1
  119. package/lib/components/percent-bar/percent-bar.js +1 -0
  120. package/lib/components/percent-bar/percent-bar.js.map +1 -1
  121. package/lib/components/popover/popover.d.ts +6 -0
  122. package/lib/components/popover/popover.d.ts.map +1 -1
  123. package/lib/components/popover/popover.js +7 -1
  124. package/lib/components/popover/popover.js.map +1 -1
  125. package/lib/components/primary-nav-item/primary-nav-item.d.ts +2 -0
  126. package/lib/components/primary-nav-item/primary-nav-item.d.ts.map +1 -1
  127. package/lib/components/primary-nav-item/primary-nav-item.js +2 -0
  128. package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -1
  129. package/lib/components/remove-tag/remove-tag.d.ts +2 -0
  130. package/lib/components/remove-tag/remove-tag.d.ts.map +1 -1
  131. package/lib/components/remove-tag/remove-tag.js +3 -1
  132. package/lib/components/remove-tag/remove-tag.js.map +1 -1
  133. package/lib/components/section/section.d.ts +1 -0
  134. package/lib/components/section/section.d.ts.map +1 -1
  135. package/lib/components/section/section.js +1 -0
  136. package/lib/components/section/section.js.map +1 -1
  137. package/lib/components/select/select.d.ts +2 -0
  138. package/lib/components/select/select.d.ts.map +1 -1
  139. package/lib/components/select/select.js +5 -1
  140. package/lib/components/select/select.js.map +1 -1
  141. package/lib/components/split-button/split-button.d.ts +3 -0
  142. package/lib/components/split-button/split-button.d.ts.map +1 -1
  143. package/lib/components/split-button/split-button.js.map +1 -1
  144. package/lib/components/tab/tab.d.ts +2 -0
  145. package/lib/components/tab/tab.d.ts.map +1 -1
  146. package/lib/components/tab/tab.js +2 -0
  147. package/lib/components/tab/tab.js.map +1 -1
  148. package/lib/components/table-object/table-object.d.ts +2 -0
  149. package/lib/components/table-object/table-object.d.ts.map +1 -1
  150. package/lib/components/table-object/table-object.js +2 -0
  151. package/lib/components/table-object/table-object.js.map +1 -1
  152. package/lib/components/table-row/table-row.d.ts +1 -0
  153. package/lib/components/table-row/table-row.d.ts.map +1 -1
  154. package/lib/components/table-row/table-row.js +1 -0
  155. package/lib/components/table-row/table-row.js.map +1 -1
  156. package/lib/components/tag/tag.d.ts +5 -0
  157. package/lib/components/tag/tag.d.ts.map +1 -1
  158. package/lib/components/tag/tag.js +2 -0
  159. package/lib/components/tag/tag.js.map +1 -1
  160. package/lib/components/tag-list/tag-list.d.ts +2 -0
  161. package/lib/components/tag-list/tag-list.d.ts.map +1 -1
  162. package/lib/components/tag-list/tag-list.js +2 -0
  163. package/lib/components/tag-list/tag-list.js.map +1 -1
  164. package/lib/components/text-link/text-link.d.ts +1 -0
  165. package/lib/components/text-link/text-link.d.ts.map +1 -1
  166. package/lib/components/text-link/text-link.js +1 -0
  167. package/lib/components/text-link/text-link.js.map +1 -1
  168. package/lib/components/tooltip/tooltip.d.ts +6 -0
  169. package/lib/components/tooltip/tooltip.d.ts.map +1 -1
  170. package/lib/components/tooltip/tooltip.js +3 -0
  171. package/lib/components/tooltip/tooltip.js.map +1 -1
  172. package/lib/design-tokens/brands/claude-terracotta/css/tokens_brand.css +85 -0
  173. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.css +1 -0
  174. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.d.ts +3 -0
  175. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.d.ts.map +1 -0
  176. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.js +90 -0
  177. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.js.map +1 -0
  178. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +1 -0
  179. package/lib/design-tokens/brands/cre8-teal/css/tokens_brand.css +87 -0
  180. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.css +1 -0
  181. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.d.ts +3 -0
  182. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.d.ts.map +1 -0
  183. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.js +90 -0
  184. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.js.map +1 -0
  185. package/lib/scripts/generate-react-manifest.d.ts +20 -0
  186. package/lib/scripts/generate-react-manifest.d.ts.map +1 -0
  187. package/lib/scripts/generate-react-manifest.js +154 -0
  188. package/lib/scripts/generate-react-manifest.js.map +1 -0
  189. package/mcp-manifest.json +203 -38
  190. package/package.json +10 -4
  191. package/react-manifest.json +3594 -0
  192. package/dist/leaf.png +0 -0
  193. package/dist/leafDS.png +0 -0
  194. package/dist/leafLogo.svg +0 -1
package/a2ui/catalog.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cre8.dev/a2ui/catalogs/cre8-wc/2.0.3",
3
+ "$id": "https://cre8.dev/a2ui/catalogs/cre8-wc/2.0.4",
4
4
  "title": "cre8-wc A2UI Catalog",
5
5
  "description": "cre8 Web Components is a library of presentational UI web components to be consumed by # web applications.",
6
6
  "x-a2ui": {
7
7
  "catalogId": "cre8-wc",
8
8
  "library": "@tmorrow/cre8-wc",
9
- "libraryVersion": "2.0.3",
9
+ "libraryVersion": "2.0.4",
10
10
  "tagPrefix": "cre8",
11
11
  "framework": "Lit 3.3.1"
12
12
  },
@@ -473,9 +473,34 @@
473
473
  "x-kind": "property"
474
474
  }
475
475
  }
476
+ },
477
+ "slots": {
478
+ "type": "object",
479
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
480
+ "additionalProperties": false,
481
+ "properties": {
482
+ "before": {
483
+ "type": "array",
484
+ "description": "Content rendered before the button text, such as an icon",
485
+ "items": {
486
+ "$ref": "#/$defs/Component"
487
+ }
488
+ },
489
+ "after": {
490
+ "type": "array",
491
+ "description": "Content rendered after the button text, such as an icon",
492
+ "items": {
493
+ "$ref": "#/$defs/Component"
494
+ }
495
+ }
496
+ }
476
497
  }
477
498
  },
478
- "additionalProperties": false
499
+ "additionalProperties": false,
500
+ "x-slot-descriptions": {
501
+ "before": "Content rendered before the button text, such as an icon",
502
+ "after": "Content rendered after the button text, such as an icon"
503
+ }
479
504
  },
480
505
  "cre8-button-group": {
481
506
  "type": "object",
@@ -499,6 +524,17 @@
499
524
  "type": "string",
500
525
  "const": "responsive-full-width",
501
526
  "x-kind": "attribute"
527
+ },
528
+ "gap": {
529
+ "description": "Gap between buttons\n- **sm** reduces gap to 8px (useful in compact contexts)",
530
+ "type": "string",
531
+ "const": "sm",
532
+ "x-kind": "attribute"
533
+ },
534
+ "fullWidth": {
535
+ "description": "Stretch button group to fill its container width",
536
+ "type": "boolean",
537
+ "x-kind": "property"
502
538
  }
503
539
  }
504
540
  },
@@ -706,6 +742,7 @@
706
742
  "additionalProperties": false,
707
743
  "properties": {
708
744
  "disabled": {
745
+ "description": "Disables both the main button and the dropdown toggle.",
709
746
  "type": "boolean",
710
747
  "x-kind": "attribute"
711
748
  },
@@ -846,23 +883,21 @@
846
883
  "x-kind": "attribute"
847
884
  },
848
885
  "data": {
886
+ "type": "object",
849
887
  "description": "The chart data including labels and datasets.\nThis should be an object with `labels` array and `datasets` array.",
850
- "type": "string",
851
- "x-tsType": "Cre8ChartData",
852
888
  "x-kind": "property"
853
889
  },
854
890
  "options": {
891
+ "type": "object",
855
892
  "description": "Chart.js configuration options.\nSee Chart.js documentation for all available options.",
856
- "type": "string",
857
- "x-tsType": "_DeepPartialObject<CoreChartOptions<keyof ChartTypeRegistry> & ElementChartOptions<keyof ChartTypeRegistry> & PluginChartOptions<...> & DatasetChartOptions<...> & ScaleChartOptions<...>>",
858
893
  "x-kind": "property"
859
894
  },
860
895
  "colors": {
861
- "description": "Default colors for datasets (uses cre8 design token colors).",
862
896
  "type": "array",
863
897
  "items": {
864
898
  "type": "string"
865
899
  },
900
+ "description": "Default colors for datasets (uses cre8 design token colors).",
866
901
  "x-kind": "property"
867
902
  }
868
903
  }
@@ -1220,15 +1255,41 @@
1220
1255
  "additionalProperties": false,
1221
1256
  "properties": {}
1222
1257
  },
1223
- "children": {
1224
- "type": "array",
1225
- "description": "The component content",
1226
- "items": {
1227
- "$ref": "#/$defs/Component"
1258
+ "slots": {
1259
+ "type": "object",
1260
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
1261
+ "additionalProperties": false,
1262
+ "properties": {
1263
+ "default": {
1264
+ "type": "array",
1265
+ "description": "The component content",
1266
+ "items": {
1267
+ "$ref": "#/$defs/Component"
1268
+ }
1269
+ },
1270
+ "header": {
1271
+ "type": "array",
1272
+ "description": "Content rendered in the table object header",
1273
+ "items": {
1274
+ "$ref": "#/$defs/Component"
1275
+ }
1276
+ },
1277
+ "footer": {
1278
+ "type": "array",
1279
+ "description": "Content rendered in the table object footer",
1280
+ "items": {
1281
+ "$ref": "#/$defs/Component"
1282
+ }
1283
+ }
1228
1284
  }
1229
1285
  }
1230
1286
  },
1231
- "additionalProperties": false
1287
+ "additionalProperties": false,
1288
+ "x-slot-descriptions": {
1289
+ "default": "The component content",
1290
+ "header": "Content rendered in the table object header",
1291
+ "footer": "Content rendered in the table object footer"
1292
+ }
1232
1293
  },
1233
1294
  "cre8-table-row": {
1234
1295
  "type": "object",
@@ -1277,15 +1338,33 @@
1277
1338
  }
1278
1339
  }
1279
1340
  },
1280
- "children": {
1281
- "type": "array",
1282
- "description": "The component content",
1283
- "items": {
1284
- "$ref": "#/$defs/Component"
1341
+ "slots": {
1342
+ "type": "object",
1343
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
1344
+ "additionalProperties": false,
1345
+ "properties": {
1346
+ "default": {
1347
+ "type": "array",
1348
+ "description": "The component content",
1349
+ "items": {
1350
+ "$ref": "#/$defs/Component"
1351
+ }
1352
+ },
1353
+ "expandableContent": {
1354
+ "type": "array",
1355
+ "description": "Content revealed when the row is expanded",
1356
+ "items": {
1357
+ "$ref": "#/$defs/Component"
1358
+ }
1359
+ }
1285
1360
  }
1286
1361
  }
1287
1362
  },
1288
- "additionalProperties": false
1363
+ "additionalProperties": false,
1364
+ "x-slot-descriptions": {
1365
+ "default": "The component content",
1366
+ "expandableContent": "Content revealed when the row is expanded"
1367
+ }
1289
1368
  },
1290
1369
  "cre8-tag": {
1291
1370
  "type": "object",
@@ -1305,6 +1384,7 @@
1305
1384
  "additionalProperties": false,
1306
1385
  "properties": {
1307
1386
  "text": {
1387
+ "description": "The text label displayed inside the tag.",
1308
1388
  "type": "string",
1309
1389
  "x-kind": "attribute"
1310
1390
  },
@@ -1421,6 +1501,13 @@
1421
1501
  "x-kind": "property"
1422
1502
  }
1423
1503
  }
1504
+ },
1505
+ "children": {
1506
+ "type": "array",
1507
+ "description": "The `cre8-tag` children of the list",
1508
+ "items": {
1509
+ "$ref": "#/$defs/Component"
1510
+ }
1424
1511
  }
1425
1512
  },
1426
1513
  "additionalProperties": false
@@ -1460,6 +1547,13 @@
1460
1547
  "x-kind": "property"
1461
1548
  }
1462
1549
  }
1550
+ },
1551
+ "children": {
1552
+ "type": "array",
1553
+ "description": "The `cre8-accordion-item` children to group",
1554
+ "items": {
1555
+ "$ref": "#/$defs/Component"
1556
+ }
1463
1557
  }
1464
1558
  },
1465
1559
  "additionalProperties": false
@@ -1538,15 +1632,33 @@
1538
1632
  }
1539
1633
  }
1540
1634
  },
1541
- "children": {
1542
- "type": "array",
1543
- "description": "The body of the accordion item will be any valid html\ninserted between the cre8-accordion-item opening and closing tags.",
1544
- "items": {
1545
- "$ref": "#/$defs/Component"
1635
+ "slots": {
1636
+ "type": "object",
1637
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
1638
+ "additionalProperties": false,
1639
+ "properties": {
1640
+ "default": {
1641
+ "type": "array",
1642
+ "description": "The body of the accordion item will be any valid html\ninserted between the cre8-accordion-item opening and closing tags.",
1643
+ "items": {
1644
+ "$ref": "#/$defs/Component"
1645
+ }
1646
+ },
1647
+ "heading": {
1648
+ "type": "array",
1649
+ "description": "Custom heading content, used when the `heading` property is not set.",
1650
+ "items": {
1651
+ "$ref": "#/$defs/Component"
1652
+ }
1653
+ }
1546
1654
  }
1547
1655
  }
1548
1656
  },
1549
- "additionalProperties": false
1657
+ "additionalProperties": false,
1658
+ "x-slot-descriptions": {
1659
+ "default": "The body of the accordion item will be any valid html\ninserted between the cre8-accordion-item opening and closing tags.",
1660
+ "heading": "Custom heading content, used when the `heading` property is not set."
1661
+ }
1550
1662
  },
1551
1663
  "cre8-dropdown": {
1552
1664
  "type": "object",
@@ -1591,6 +1703,13 @@
1591
1703
  "x-kind": "property"
1592
1704
  }
1593
1705
  }
1706
+ },
1707
+ "children": {
1708
+ "type": "array",
1709
+ "description": "The `cre8-dropdown-item` children of the menu",
1710
+ "items": {
1711
+ "$ref": "#/$defs/Component"
1712
+ }
1594
1713
  }
1595
1714
  },
1596
1715
  "additionalProperties": false
@@ -1613,10 +1732,18 @@
1613
1732
  "additionalProperties": false,
1614
1733
  "properties": {
1615
1734
  "ariaLabel": {
1735
+ "description": "The accessible label for the item. Falls back to the item's text content when unset.",
1616
1736
  "type": "string",
1617
1737
  "x-kind": "property"
1618
1738
  }
1619
1739
  }
1740
+ },
1741
+ "children": {
1742
+ "type": "array",
1743
+ "description": "The label content for the dropdown item.",
1744
+ "items": {
1745
+ "$ref": "#/$defs/Component"
1746
+ }
1620
1747
  }
1621
1748
  },
1622
1749
  "additionalProperties": false,
@@ -1695,15 +1822,46 @@
1695
1822
  }
1696
1823
  }
1697
1824
  },
1698
- "children": {
1699
- "type": "array",
1700
- "description": "The component content",
1701
- "items": {
1702
- "$ref": "#/$defs/Component"
1825
+ "slots": {
1826
+ "type": "object",
1827
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
1828
+ "additionalProperties": false,
1829
+ "properties": {
1830
+ "default": {
1831
+ "type": "array",
1832
+ "description": "The component content",
1833
+ "items": {
1834
+ "$ref": "#/$defs/Component"
1835
+ }
1836
+ },
1837
+ "header": {
1838
+ "type": "array",
1839
+ "description": "Custom header content for the modal",
1840
+ "items": {
1841
+ "$ref": "#/$defs/Component"
1842
+ }
1843
+ },
1844
+ "footer": {
1845
+ "type": "array",
1846
+ "description": "Custom footer content for the modal",
1847
+ "items": {
1848
+ "$ref": "#/$defs/Component"
1849
+ }
1850
+ }
1703
1851
  }
1704
1852
  }
1705
1853
  },
1706
- "additionalProperties": false
1854
+ "additionalProperties": false,
1855
+ "x-slot-descriptions": {
1856
+ "default": "The component content",
1857
+ "header": "Custom header content for the modal",
1858
+ "footer": "Custom footer content for the modal"
1859
+ },
1860
+ "x-events": {
1861
+ "close-modal": {
1862
+ "detail": {}
1863
+ }
1864
+ }
1707
1865
  },
1708
1866
  "cre8-popover": {
1709
1867
  "type": "object",
@@ -1777,15 +1935,49 @@
1777
1935
  }
1778
1936
  }
1779
1937
  },
1780
- "children": {
1781
- "type": "array",
1782
- "description": "The component content",
1783
- "items": {
1784
- "$ref": "#/$defs/Component"
1938
+ "slots": {
1939
+ "type": "object",
1940
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
1941
+ "additionalProperties": false,
1942
+ "properties": {
1943
+ "default": {
1944
+ "type": "array",
1945
+ "description": "The component content",
1946
+ "items": {
1947
+ "$ref": "#/$defs/Component"
1948
+ }
1949
+ },
1950
+ "trigger": {
1951
+ "type": "array",
1952
+ "description": "The element that toggles the popover open and closed",
1953
+ "items": {
1954
+ "$ref": "#/$defs/Component"
1955
+ }
1956
+ },
1957
+ "header": {
1958
+ "type": "array",
1959
+ "description": "Custom header content for the popover panel",
1960
+ "items": {
1961
+ "$ref": "#/$defs/Component"
1962
+ }
1963
+ },
1964
+ "footer": {
1965
+ "type": "array",
1966
+ "description": "Custom footer content for the popover panel",
1967
+ "items": {
1968
+ "$ref": "#/$defs/Component"
1969
+ }
1970
+ }
1785
1971
  }
1786
1972
  }
1787
1973
  },
1788
1974
  "additionalProperties": false,
1975
+ "x-slot-descriptions": {
1976
+ "default": "The component content",
1977
+ "trigger": "The element that toggles the popover open and closed",
1978
+ "header": "Custom header content for the popover panel",
1979
+ "footer": "Custom footer content for the popover panel"
1980
+ },
1789
1981
  "x-events": {
1790
1982
  "open": {
1791
1983
  "detail": {}
@@ -2017,6 +2209,7 @@
2017
2209
  "x-kind": "attribute"
2018
2210
  },
2019
2211
  "emphasis": {
2212
+ "description": "The alert emphasis. `strong` uses a filled background; pair contained buttons/links with their `inverted` prop.",
2020
2213
  "default": "subtle",
2021
2214
  "type": "string",
2022
2215
  "enum": [
@@ -2031,6 +2224,7 @@
2031
2224
  "x-kind": "attribute"
2032
2225
  },
2033
2226
  "iconAlert": {
2227
+ "description": "Overrides the default status icon. Accepts a cre8 icon name.",
2034
2228
  "default": "undefined",
2035
2229
  "type": "string",
2036
2230
  "x-kind": "property"
@@ -2041,11 +2235,13 @@
2041
2235
  "x-kind": "property"
2042
2236
  },
2043
2237
  "headerText": {
2238
+ "description": "The alert heading text.",
2044
2239
  "default": "undefined",
2045
2240
  "type": "string",
2046
2241
  "x-kind": "property"
2047
2242
  },
2048
2243
  "ctaBody": {
2244
+ "description": "Text content for the call-to-action area. Superseded by the `cta` slot when provided.",
2049
2245
  "default": "undefined",
2050
2246
  "type": "string",
2051
2247
  "x-kind": "property"
@@ -2056,9 +2252,34 @@
2056
2252
  "x-kind": "property"
2057
2253
  }
2058
2254
  }
2255
+ },
2256
+ "slots": {
2257
+ "type": "object",
2258
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
2259
+ "additionalProperties": false,
2260
+ "properties": {
2261
+ "default": {
2262
+ "type": "array",
2263
+ "description": "The alert body content",
2264
+ "items": {
2265
+ "$ref": "#/$defs/Component"
2266
+ }
2267
+ },
2268
+ "cta": {
2269
+ "type": "array",
2270
+ "description": "Container for a call-to-action button or link",
2271
+ "items": {
2272
+ "$ref": "#/$defs/Component"
2273
+ }
2274
+ }
2275
+ }
2059
2276
  }
2060
2277
  },
2061
- "additionalProperties": false
2278
+ "additionalProperties": false,
2279
+ "x-slot-descriptions": {
2280
+ "default": "The alert body content",
2281
+ "cta": "Container for a call-to-action button or link"
2282
+ }
2062
2283
  },
2063
2284
  "cre8-badge": {
2064
2285
  "type": "object",
@@ -2612,9 +2833,26 @@
2612
2833
  "x-kind": "property"
2613
2834
  }
2614
2835
  }
2836
+ },
2837
+ "slots": {
2838
+ "type": "object",
2839
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
2840
+ "additionalProperties": false,
2841
+ "properties": {
2842
+ "fieldNote": {
2843
+ "type": "array",
2844
+ "description": "Container for optional field note content",
2845
+ "items": {
2846
+ "$ref": "#/$defs/Component"
2847
+ }
2848
+ }
2849
+ }
2615
2850
  }
2616
2851
  },
2617
2852
  "additionalProperties": false,
2853
+ "x-slot-descriptions": {
2854
+ "fieldNote": "Container for optional field note content"
2855
+ },
2618
2856
  "x-events": {
2619
2857
  "change": {
2620
2858
  "detail": {}
@@ -2654,7 +2892,7 @@
2654
2892
  "x-kind": "attribute"
2655
2893
  },
2656
2894
  "label": {
2657
- "description": "The required label that appears above the input",
2895
+ "description": "The label text for the date picker field.",
2658
2896
  "default": "Label",
2659
2897
  "type": "string",
2660
2898
  "x-kind": "attribute"
@@ -2783,9 +3021,26 @@
2783
3021
  "x-kind": "property"
2784
3022
  }
2785
3023
  }
3024
+ },
3025
+ "slots": {
3026
+ "type": "object",
3027
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
3028
+ "additionalProperties": false,
3029
+ "properties": {
3030
+ "fieldNote": {
3031
+ "type": "array",
3032
+ "description": "Container for optional field note content",
3033
+ "items": {
3034
+ "$ref": "#/$defs/Component"
3035
+ }
3036
+ }
3037
+ }
2786
3038
  }
2787
3039
  },
2788
- "additionalProperties": false
3040
+ "additionalProperties": false,
3041
+ "x-slot-descriptions": {
3042
+ "fieldNote": "Container for optional field note content"
3043
+ }
2789
3044
  },
2790
3045
  "cre8-field": {
2791
3046
  "type": "object",
@@ -2940,9 +3195,26 @@
2940
3195
  "x-kind": "property"
2941
3196
  }
2942
3197
  }
3198
+ },
3199
+ "slots": {
3200
+ "type": "object",
3201
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
3202
+ "additionalProperties": false,
3203
+ "properties": {
3204
+ "fieldNote": {
3205
+ "type": "array",
3206
+ "description": "Container for optional field note content",
3207
+ "items": {
3208
+ "$ref": "#/$defs/Component"
3209
+ }
3210
+ }
3211
+ }
2943
3212
  }
2944
3213
  },
2945
- "additionalProperties": false
3214
+ "additionalProperties": false,
3215
+ "x-slot-descriptions": {
3216
+ "fieldNote": "Container for optional field note content"
3217
+ }
2946
3218
  },
2947
3219
  "cre8-field-note": {
2948
3220
  "type": "object",
@@ -3084,9 +3356,26 @@
3084
3356
  "x-kind": "property"
3085
3357
  }
3086
3358
  }
3359
+ },
3360
+ "slots": {
3361
+ "type": "object",
3362
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
3363
+ "additionalProperties": false,
3364
+ "properties": {
3365
+ "fieldNote": {
3366
+ "type": "array",
3367
+ "description": "Container for optional field note content",
3368
+ "items": {
3369
+ "$ref": "#/$defs/Component"
3370
+ }
3371
+ }
3372
+ }
3087
3373
  }
3088
3374
  },
3089
3375
  "additionalProperties": false,
3376
+ "x-slot-descriptions": {
3377
+ "fieldNote": "Container for optional field note content"
3378
+ },
3090
3379
  "x-events": {
3091
3380
  "selectedItemsChange": {
3092
3381
  "detail": {}
@@ -3763,6 +4052,7 @@
3763
4052
  "type": "string",
3764
4053
  "enum": [
3765
4054
  "bare",
4055
+ "compact",
3766
4056
  "horizontal",
3767
4057
  "horizontal-bare"
3768
4058
  ],
@@ -3981,6 +4271,11 @@
3981
4271
  "description": "Image alt text",
3982
4272
  "type": "string",
3983
4273
  "x-kind": "property"
4274
+ },
4275
+ "hasOverlay": {
4276
+ "description": "Renders a dark overlay between the background image and the content for legibility.",
4277
+ "type": "boolean",
4278
+ "x-kind": "property"
3984
4279
  }
3985
4280
  }
3986
4281
  },
@@ -4190,15 +4485,33 @@
4190
4485
  }
4191
4486
  }
4192
4487
  },
4193
- "children": {
4194
- "type": "array",
4195
- "description": "The content of the section should go here.\nIt could be a cre8-text-passage, a cre8-card or any other block level html.",
4196
- "items": {
4197
- "$ref": "#/$defs/Component"
4488
+ "slots": {
4489
+ "type": "object",
4490
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
4491
+ "additionalProperties": false,
4492
+ "properties": {
4493
+ "default": {
4494
+ "type": "array",
4495
+ "description": "The content of the section should go here.\nIt could be a cre8-text-passage, a cre8-card or any other block level html.",
4496
+ "items": {
4497
+ "$ref": "#/$defs/Component"
4498
+ }
4499
+ },
4500
+ "header": {
4501
+ "type": "array",
4502
+ "description": "Custom header content, rendered in place of the `headline` property",
4503
+ "items": {
4504
+ "$ref": "#/$defs/Component"
4505
+ }
4506
+ }
4198
4507
  }
4199
4508
  }
4200
4509
  },
4201
- "additionalProperties": false
4510
+ "additionalProperties": false,
4511
+ "x-slot-descriptions": {
4512
+ "default": "The content of the section should go here.\nIt could be a cre8-text-passage, a cre8-card or any other block level html.",
4513
+ "header": "Custom header content, rendered in place of the `headline` property"
4514
+ }
4202
4515
  },
4203
4516
  "cre8-feature": {
4204
4517
  "type": "object",
@@ -4231,6 +4544,11 @@
4231
4544
  "description": "Image alt text",
4232
4545
  "type": "string",
4233
4546
  "x-kind": "property"
4547
+ },
4548
+ "aspectRatio": {
4549
+ "description": "CSS aspect-ratio for the image (e.g. \"4/3\", \"16/9\", \"1\"). Defaults to natural image ratio.",
4550
+ "type": "string",
4551
+ "x-kind": "property"
4234
4552
  }
4235
4553
  }
4236
4554
  },
@@ -4269,15 +4587,33 @@
4269
4587
  }
4270
4588
  }
4271
4589
  },
4272
- "children": {
4273
- "type": "array",
4274
- "description": "The page header content",
4275
- "items": {
4276
- "$ref": "#/$defs/Component"
4590
+ "slots": {
4591
+ "type": "object",
4592
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
4593
+ "additionalProperties": false,
4594
+ "properties": {
4595
+ "default": {
4596
+ "type": "array",
4597
+ "description": "The page header content",
4598
+ "items": {
4599
+ "$ref": "#/$defs/Component"
4600
+ }
4601
+ },
4602
+ "titleAfter": {
4603
+ "type": "array",
4604
+ "description": "Content rendered after the heading text, inside the title element",
4605
+ "items": {
4606
+ "$ref": "#/$defs/Component"
4607
+ }
4608
+ }
4277
4609
  }
4278
4610
  }
4279
4611
  },
4280
- "additionalProperties": false
4612
+ "additionalProperties": false,
4613
+ "x-slot-descriptions": {
4614
+ "default": "The page header content",
4615
+ "titleAfter": "Content rendered after the heading text, inside the title element"
4616
+ }
4281
4617
  },
4282
4618
  "cre8-icon": {
4283
4619
  "type": "object",
@@ -4307,6 +4643,7 @@
4307
4643
  "x-kind": "attribute"
4308
4644
  },
4309
4645
  "svg": {
4646
+ "description": "Raw SVG markup to render. Preferred over `name`/sprite-path icons.",
4310
4647
  "type": "string",
4311
4648
  "x-kind": "attribute"
4312
4649
  },
@@ -4570,15 +4907,41 @@
4570
4907
  }
4571
4908
  }
4572
4909
  },
4573
- "children": {
4574
- "type": "array",
4575
- "description": "The label for the navigation item",
4576
- "items": {
4577
- "$ref": "#/$defs/Component"
4910
+ "slots": {
4911
+ "type": "object",
4912
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
4913
+ "additionalProperties": false,
4914
+ "properties": {
4915
+ "default": {
4916
+ "type": "array",
4917
+ "description": "The label for the navigation item",
4918
+ "items": {
4919
+ "$ref": "#/$defs/Component"
4920
+ }
4921
+ },
4922
+ "itemBefore": {
4923
+ "type": "array",
4924
+ "description": "Content rendered before the item label, such as an icon",
4925
+ "items": {
4926
+ "$ref": "#/$defs/Component"
4927
+ }
4928
+ },
4929
+ "itemAfter": {
4930
+ "type": "array",
4931
+ "description": "Content rendered after the item label, such as an icon",
4932
+ "items": {
4933
+ "$ref": "#/$defs/Component"
4934
+ }
4935
+ }
4578
4936
  }
4579
4937
  }
4580
4938
  },
4581
- "additionalProperties": false
4939
+ "additionalProperties": false,
4940
+ "x-slot-descriptions": {
4941
+ "default": "The label for the navigation item",
4942
+ "itemBefore": "Content rendered before the item label, such as an icon",
4943
+ "itemAfter": "Content rendered after the item label, such as an icon"
4944
+ }
4582
4945
  },
4583
4946
  "cre8-header": {
4584
4947
  "type": "object",
@@ -4604,15 +4967,41 @@
4604
4967
  }
4605
4968
  }
4606
4969
  },
4607
- "children": {
4608
- "type": "array",
4609
- "description": "The header content",
4610
- "items": {
4611
- "$ref": "#/$defs/Component"
4970
+ "slots": {
4971
+ "type": "object",
4972
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
4973
+ "additionalProperties": false,
4974
+ "properties": {
4975
+ "default": {
4976
+ "type": "array",
4977
+ "description": "The header content",
4978
+ "items": {
4979
+ "$ref": "#/$defs/Component"
4980
+ }
4981
+ },
4982
+ "top": {
4983
+ "type": "array",
4984
+ "description": "Content rendered above the main header row",
4985
+ "items": {
4986
+ "$ref": "#/$defs/Component"
4987
+ }
4988
+ },
4989
+ "bottom": {
4990
+ "type": "array",
4991
+ "description": "Content rendered below the main header row",
4992
+ "items": {
4993
+ "$ref": "#/$defs/Component"
4994
+ }
4995
+ }
4612
4996
  }
4613
4997
  }
4614
4998
  },
4615
- "additionalProperties": false
4999
+ "additionalProperties": false,
5000
+ "x-slot-descriptions": {
5001
+ "default": "The header content",
5002
+ "top": "Content rendered above the main header row",
5003
+ "bottom": "Content rendered below the main header row"
5004
+ }
4616
5005
  },
4617
5006
  "cre8-link": {
4618
5007
  "type": "object",
@@ -4714,9 +5103,34 @@
4714
5103
  "x-kind": "property"
4715
5104
  }
4716
5105
  }
5106
+ },
5107
+ "slots": {
5108
+ "type": "object",
5109
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
5110
+ "additionalProperties": false,
5111
+ "properties": {
5112
+ "default": {
5113
+ "type": "array",
5114
+ "description": "The link text content",
5115
+ "items": {
5116
+ "$ref": "#/$defs/Component"
5117
+ }
5118
+ },
5119
+ "badge": {
5120
+ "type": "array",
5121
+ "description": "Container for an optional badge displayed alongside the link",
5122
+ "items": {
5123
+ "$ref": "#/$defs/Component"
5124
+ }
5125
+ }
5126
+ }
4717
5127
  }
4718
5128
  },
4719
- "additionalProperties": false
5129
+ "additionalProperties": false,
5130
+ "x-slot-descriptions": {
5131
+ "default": "The link text content",
5132
+ "badge": "Container for an optional badge displayed alongside the link"
5133
+ }
4720
5134
  },
4721
5135
  "cre8-link-list": {
4722
5136
  "type": "object",
@@ -4816,15 +5230,41 @@
4816
5230
  }
4817
5231
  }
4818
5232
  },
4819
- "children": {
4820
- "type": "array",
4821
- "description": "The default slot to put badges or other Components",
4822
- "items": {
4823
- "$ref": "#/$defs/Component"
5233
+ "slots": {
5234
+ "type": "object",
5235
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
5236
+ "additionalProperties": false,
5237
+ "properties": {
5238
+ "default": {
5239
+ "type": "array",
5240
+ "description": "The default slot to put badges or other Components",
5241
+ "items": {
5242
+ "$ref": "#/$defs/Component"
5243
+ }
5244
+ },
5245
+ "itemBefore": {
5246
+ "type": "array",
5247
+ "description": "Content rendered before the link text, such as an icon",
5248
+ "items": {
5249
+ "$ref": "#/$defs/Component"
5250
+ }
5251
+ },
5252
+ "itemAfter": {
5253
+ "type": "array",
5254
+ "description": "Content rendered after the link text, such as an icon",
5255
+ "items": {
5256
+ "$ref": "#/$defs/Component"
5257
+ }
5258
+ }
4824
5259
  }
4825
5260
  }
4826
5261
  },
4827
- "additionalProperties": false
5262
+ "additionalProperties": false,
5263
+ "x-slot-descriptions": {
5264
+ "default": "The default slot to put badges or other Components",
5265
+ "itemBefore": "Content rendered before the link text, such as an icon",
5266
+ "itemAfter": "Content rendered after the link text, such as an icon"
5267
+ }
4828
5268
  },
4829
5269
  "cre8-nav-container": {
4830
5270
  "type": "object",
@@ -4902,6 +5342,7 @@
4902
5342
  "x-kind": "property"
4903
5343
  },
4904
5344
  "currentPage": {
5345
+ "description": "The currently active page (1-based). Setting it programmatically navigates the pagination.",
4905
5346
  "type": "number",
4906
5347
  "x-kind": "property"
4907
5348
  },
@@ -4924,6 +5365,13 @@
4924
5365
  "x-kind": "property"
4925
5366
  }
4926
5367
  }
5368
+ },
5369
+ "children": {
5370
+ "type": "array",
5371
+ "description": "Optional content rendered alongside the pagination controls",
5372
+ "items": {
5373
+ "$ref": "#/$defs/Component"
5374
+ }
4927
5375
  }
4928
5376
  },
4929
5377
  "additionalProperties": false,
@@ -5026,15 +5474,41 @@
5026
5474
  }
5027
5475
  }
5028
5476
  },
5029
- "children": {
5030
- "type": "array",
5031
- "description": "The label for the navigation item",
5032
- "items": {
5033
- "$ref": "#/$defs/Component"
5477
+ "slots": {
5478
+ "type": "object",
5479
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
5480
+ "additionalProperties": false,
5481
+ "properties": {
5482
+ "default": {
5483
+ "type": "array",
5484
+ "description": "The label for the navigation item",
5485
+ "items": {
5486
+ "$ref": "#/$defs/Component"
5487
+ }
5488
+ },
5489
+ "itemBefore": {
5490
+ "type": "array",
5491
+ "description": "Content rendered before the item label, such as an icon",
5492
+ "items": {
5493
+ "$ref": "#/$defs/Component"
5494
+ }
5495
+ },
5496
+ "itemAfter": {
5497
+ "type": "array",
5498
+ "description": "Content rendered after the item label, such as an icon",
5499
+ "items": {
5500
+ "$ref": "#/$defs/Component"
5501
+ }
5502
+ }
5034
5503
  }
5035
5504
  }
5036
5505
  },
5037
- "additionalProperties": false
5506
+ "additionalProperties": false,
5507
+ "x-slot-descriptions": {
5508
+ "default": "The label for the navigation item",
5509
+ "itemBefore": "Content rendered before the item label, such as an icon",
5510
+ "itemAfter": "Content rendered after the item label, such as an icon"
5511
+ }
5038
5512
  },
5039
5513
  "cre8-tab": {
5040
5514
  "type": "object",
@@ -5562,15 +6036,33 @@
5562
6036
  }
5563
6037
  }
5564
6038
  },
5565
- "children": {
5566
- "type": "array",
5567
- "description": "The component content",
5568
- "items": {
5569
- "$ref": "#/$defs/Component"
6039
+ "slots": {
6040
+ "type": "object",
6041
+ "description": "Named slot content. Each key is a slot name; value is an array of component instances rendered into that slot.",
6042
+ "additionalProperties": false,
6043
+ "properties": {
6044
+ "default": {
6045
+ "type": "array",
6046
+ "description": "The component content",
6047
+ "items": {
6048
+ "$ref": "#/$defs/Component"
6049
+ }
6050
+ },
6051
+ "linkAfter": {
6052
+ "type": "array",
6053
+ "description": "Content rendered after the link text, such as an icon",
6054
+ "items": {
6055
+ "$ref": "#/$defs/Component"
6056
+ }
6057
+ }
5570
6058
  }
5571
6059
  }
5572
6060
  },
5573
- "additionalProperties": false
6061
+ "additionalProperties": false,
6062
+ "x-slot-descriptions": {
6063
+ "default": "The component content",
6064
+ "linkAfter": "Content rendered after the link text, such as an icon"
6065
+ }
5574
6066
  },
5575
6067
  "cre8-text-passage": {
5576
6068
  "type": "object",