@mhmo91/schmancy 0.9.23 → 0.9.25

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 (48) hide show
  1. package/custom-elements.json +52 -15
  2. package/dist/agent/schmancy.agent.js +318 -72
  3. package/dist/agent/schmancy.agent.js.map +1 -1
  4. package/dist/agent/schmancy.manifest.json +172 -3
  5. package/dist/area-CFLFXu0Z.cjs.map +1 -1
  6. package/dist/area-CfozaCAZ.js.map +1 -1
  7. package/dist/card-CTUaARLm.js.map +1 -1
  8. package/dist/card-DtN6p1Jq.cjs.map +1 -1
  9. package/dist/chips-B-27tj7O.cjs.map +1 -1
  10. package/dist/chips-DhAWrSgi.js.map +1 -1
  11. package/dist/handover/agent-runtime-followups.md +1 -1
  12. package/dist/handover/agent-runtime-v1.md +3 -3
  13. package/dist/handover/agent-runtime-v2-loopback.md +5 -5
  14. package/dist/lightbox-Cb5-XPWV.js.map +1 -1
  15. package/dist/lightbox-Dk2ICCBB.cjs.map +1 -1
  16. package/dist/radio-group-DYvIgv3P.cjs.map +1 -1
  17. package/dist/radio-group-DchZApJl.js.map +1 -1
  18. package/dist/table-B8H-zioX.js.map +1 -1
  19. package/dist/table-ChHS4xby.cjs.map +1 -1
  20. package/dist/tree.cjs.map +1 -1
  21. package/dist/tree.js.map +1 -1
  22. package/dist/typewriter.cjs.map +1 -1
  23. package/dist/typewriter.js.map +1 -1
  24. package/dist/typography.cjs +3 -3
  25. package/dist/typography.cjs.map +1 -1
  26. package/dist/typography.js +107 -10
  27. package/dist/typography.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/area/area.component.ts +14 -0
  30. package/src/card/card.ts +1 -0
  31. package/src/chips/assist-chip.ts +11 -2
  32. package/src/chips/suggestion-chip.ts +9 -6
  33. package/src/lightbox/lightbox.ts +11 -0
  34. package/src/radio-group/radio-button.ts +1 -0
  35. package/src/table/table.ts +8 -2
  36. package/src/tree/tree.ts +1 -0
  37. package/src/typewriter/typewriter.ts +12 -0
  38. package/src/typography/typography.ts +95 -1
  39. package/types/src/area/area.component.d.ts +14 -0
  40. package/types/src/card/card.d.ts +1 -0
  41. package/types/src/chips/assist-chip.d.ts +11 -2
  42. package/types/src/chips/suggestion-chip.d.ts +9 -6
  43. package/types/src/lightbox/lightbox.d.ts +11 -0
  44. package/types/src/radio-group/radio-button.d.ts +1 -0
  45. package/types/src/table/table.d.ts +8 -2
  46. package/types/src/tree/tree.d.ts +1 -0
  47. package/types/src/typewriter/typewriter.d.ts +12 -0
  48. package/types/src/typography/typography.d.ts +33 -0
@@ -46,6 +46,7 @@
46
46
  {
47
47
  "name": "schmancy-area",
48
48
  "path": "./src/area/area.component.ts",
49
+ "description": "Router outlet — renders the active route's component for the named area. Drives the schmancy router via the `area` service.",
49
50
  "attributes": [
50
51
  {
51
52
  "name": "name",
@@ -72,7 +73,8 @@
72
73
  ],
73
74
  "events": [
74
75
  {
75
- "name": "redirect"
76
+ "name": "redirect",
77
+ "description": "When the area resolves a route to a different destination (programmatic redirect). `detail.from` and `detail.to` are the route names."
76
78
  }
77
79
  ]
78
80
  },
@@ -1274,7 +1276,8 @@
1274
1276
  ],
1275
1277
  "events": [
1276
1278
  {
1277
- "name": "schmancy-click"
1279
+ "name": "schmancy-click",
1280
+ "description": "When an interactive card is clicked or activated via keyboard. `detail.value` echoes the card's `type`. Only fires when `interactive` is set."
1278
1281
  }
1279
1282
  ]
1280
1283
  },
@@ -1751,7 +1754,7 @@
1751
1754
  {
1752
1755
  "name": "schmancy-assist-chip",
1753
1756
  "path": "./src/chips/assist-chip.ts",
1754
- "description": "Assist chip component - prompts user actions like opening calendar events or sharing content\nPure Schmancy implementation with Tailwind CSS and RxJS state management",
1757
+ "description": "Assist chip single-tap trigger for a contextual action (open calendar event, share content, jump to related view). Distinct from filter and input chips: assist chips have no selected state; clicking fires `action`.",
1755
1758
  "attributes": [
1756
1759
  {
1757
1760
  "name": "value",
@@ -1836,7 +1839,8 @@
1836
1839
  ],
1837
1840
  "events": [
1838
1841
  {
1839
- "name": "action"
1842
+ "name": "action",
1843
+ "description": "When the chip is clicked or activated via keyboard. `detail.value` echoes the chip's `value` attribute."
1840
1844
  },
1841
1845
  {
1842
1846
  "name": "click"
@@ -2227,7 +2231,7 @@
2227
2231
  {
2228
2232
  "name": "schmancy-suggestion-chip",
2229
2233
  "path": "./src/chips/suggestion-chip.ts",
2230
- "description": "Suggestion chip component - provides contextual recommendations to users\n\nIMPORTANT: Suggestion chips do NOT have a selected state. They are designed to\nprovide suggestions and recommendations that trigger actions when clicked.\nUnlike filter chips, they cannot be toggled on/off.\n\nPure Schmancy implementation with Tailwind CSS and RxJS state management",
2234
+ "description": "Suggestion chip single-tap insertion of a recommended value. Distinct from filter chips (no selected state) and assist chips (assist triggers an action; suggestion offers a value the user can pick).",
2231
2235
  "attributes": [
2232
2236
  {
2233
2237
  "name": "value",
@@ -2312,7 +2316,8 @@
2312
2316
  ],
2313
2317
  "events": [
2314
2318
  {
2315
- "name": "action"
2319
+ "name": "action",
2320
+ "description": "When the chip is clicked or activated via keyboard. `detail.value` echoes the chip's `value` attribute."
2316
2321
  },
2317
2322
  {
2318
2323
  "name": "click"
@@ -6587,6 +6592,7 @@
6587
6592
  {
6588
6593
  "name": "schmancy-lightbox",
6589
6594
  "path": "./src/lightbox/lightbox.ts",
6595
+ "description": "Image lightbox — thumbnail grid that opens to a full-screen viewer on click, with keyboard navigation between images.",
6590
6596
  "attributes": [
6591
6597
  {
6592
6598
  "name": "src",
@@ -6637,10 +6643,12 @@
6637
6643
  ],
6638
6644
  "events": [
6639
6645
  {
6640
- "name": "close"
6646
+ "name": "change",
6647
+ "description": "When the active image index changes (next/prev). `detail.index` is the new active image's position in the array."
6641
6648
  },
6642
6649
  {
6643
- "name": "change"
6650
+ "name": "close",
6651
+ "description": "When the viewer is dismissed (ESC, backdrop click, close button)."
6644
6652
  }
6645
6653
  ]
6646
6654
  },
@@ -8892,7 +8900,8 @@
8892
8900
  ],
8893
8901
  "events": [
8894
8902
  {
8895
- "name": "radio-button-click"
8903
+ "name": "radio-button-click",
8904
+ "description": "Internal event consumed by the parent schmancy-radio-group; `detail.value` is the clicked button's value. Listen on schmancy-radio-group for the public `change` event instead of subscribing here."
8896
8905
  },
8897
8906
  {
8898
8907
  "name": "change"
@@ -9909,7 +9918,7 @@
9909
9918
  {
9910
9919
  "name": "schmancy-table",
9911
9920
  "path": "./src/table/table.ts",
9912
- "description": "SchmancyDataTable is a generic data table component.\nIt supports sorting, filtering, and custom rendering of rows.",
9921
+ "description": "Generic data table typed columns, optional sort, custom renderers per column. Pass `data` (array) and `columns` (TableColumn descriptors).",
9913
9922
  "attributes": [
9914
9923
  {
9915
9924
  "name": "keyField",
@@ -9959,10 +9968,12 @@
9959
9968
  ],
9960
9969
  "events": [
9961
9970
  {
9962
- "name": "sort-change"
9971
+ "name": "click",
9972
+ "description": "When a data row is activated. `detail.item` is the row's source object, `detail.index` is the position in the data array."
9963
9973
  },
9964
9974
  {
9965
- "name": "click"
9975
+ "name": "sort-change",
9976
+ "description": "When the user toggles a column sort. `detail.column` is the column key, `detail.direction` is `'asc' | 'desc' | null`."
9966
9977
  }
9967
9978
  ]
9968
9979
  },
@@ -10727,7 +10738,8 @@
10727
10738
  ],
10728
10739
  "events": [
10729
10740
  {
10730
- "name": "toggle"
10741
+ "name": "toggle",
10742
+ "description": "When the root toggler or chevron is clicked. Fires before the open state flips; the host's `open` property reflects the new state on the next animation frame."
10731
10743
  }
10732
10744
  ],
10733
10745
  "slots": [
@@ -10744,6 +10756,7 @@
10744
10756
  {
10745
10757
  "name": "schmancy-typewriter",
10746
10758
  "path": "./src/typewriter/typewriter.ts",
10759
+ "description": "Typewriter effect — animates text typing/deletion with a cursor. Wraps the TypeIt library, lazy-loaded on first render.",
10747
10760
  "attributes": [
10748
10761
  {
10749
10762
  "name": "speed",
@@ -10854,7 +10867,8 @@
10854
10867
  ],
10855
10868
  "events": [
10856
10869
  {
10857
- "name": "typeit-complete"
10870
+ "name": "typeit-complete",
10871
+ "description": "When the animation finishes typing all content. Fires after the final `afterComplete` callback in the underlying TypeIt instance."
10858
10872
  }
10859
10873
  ]
10860
10874
  },
@@ -10867,6 +10881,16 @@
10867
10881
  "type": "'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label'",
10868
10882
  "default": "\"'body'\""
10869
10883
  },
10884
+ {
10885
+ "name": "preset",
10886
+ "description": "Shorthand for picking a (type, token) pair in one go. When set, derives\n`type` and `token` automatically — saves the two-decisions-per-text-node\nfatigue that hits when a single page has 50+ typography nodes.",
10887
+ "type": "TypographyPreset"
10888
+ },
10889
+ {
10890
+ "name": "as",
10891
+ "description": "Render the slot wrapped in the requested semantic HTML element so screen\nreaders expose the right role / heading level. Without `as`, the slot\nsits directly in the shadow root and the host is a generic element.",
10892
+ "type": "TypographyTag"
10893
+ },
10870
10894
  {
10871
10895
  "name": "token",
10872
10896
  "type": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | ''",
@@ -10923,6 +10947,18 @@
10923
10947
  "type": "'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label'",
10924
10948
  "default": "\"'body'\""
10925
10949
  },
10950
+ {
10951
+ "name": "preset",
10952
+ "attribute": "preset",
10953
+ "description": "Shorthand for picking a (type, token) pair in one go. When set, derives\n`type` and `token` automatically — saves the two-decisions-per-text-node\nfatigue that hits when a single page has 50+ typography nodes.",
10954
+ "type": "TypographyPreset"
10955
+ },
10956
+ {
10957
+ "name": "as",
10958
+ "attribute": "as",
10959
+ "description": "Render the slot wrapped in the requested semantic HTML element so screen\nreaders expose the right role / heading level. Without `as`, the slot\nsits directly in the shadow root and the host is a generic element.",
10960
+ "type": "TypographyTag"
10961
+ },
10926
10962
  {
10927
10963
  "name": "token",
10928
10964
  "attribute": "token",
@@ -10977,7 +11013,8 @@
10977
11013
  ],
10978
11014
  "events": [
10979
11015
  {
10980
- "name": "change"
11016
+ "name": "change",
11017
+ "description": "When `editable` is true, fires on blur or Enter with `detail.value` set to the new text content. Not fired when `editable` is unset (the default)."
10981
11018
  }
10982
11019
  ],
10983
11020
  "slots": [