@mhmo91/schmancy 0.9.22 → 0.9.24

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 (41) hide show
  1. package/custom-elements.json +116 -0
  2. package/dist/agent/schmancy.agent.js +582 -262
  3. package/dist/agent/schmancy.agent.js.map +1 -1
  4. package/dist/agent/schmancy.manifest.json +139 -0
  5. package/dist/badge.cjs +1 -1
  6. package/dist/badge.js +1 -1
  7. package/dist/content-drawer.cjs +1 -1
  8. package/dist/content-drawer.js +1 -1
  9. package/dist/handover/agent-runtime-followups.md +1 -1
  10. package/dist/handover/agent-runtime-v1.md +3 -3
  11. package/dist/handover/agent-runtime-v2-loopback.md +5 -5
  12. package/dist/handover/claude-design-brief.md +54 -19
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.js +27 -26
  15. package/dist/metric.cjs +69 -0
  16. package/dist/metric.cjs.map +1 -0
  17. package/dist/metric.js +93 -0
  18. package/dist/metric.js.map +1 -0
  19. package/dist/nav-drawer.cjs +1 -1
  20. package/dist/nav-drawer.js +1 -1
  21. package/dist/navigation-bar.cjs +1 -1
  22. package/dist/navigation-bar.js +1 -1
  23. package/dist/{src-C9DpHCWF.cjs → src-Ci10_Iwf.cjs} +1 -1
  24. package/dist/{src-C9DpHCWF.cjs.map → src-Ci10_Iwf.cjs.map} +1 -1
  25. package/dist/{src-B0jLOpqn.js → src-DNuhxDig.js} +1 -0
  26. package/dist/{src-B0jLOpqn.js.map → src-DNuhxDig.js.map} +1 -1
  27. package/dist/teleport.cjs +1 -1
  28. package/dist/teleport.js +1 -1
  29. package/dist/typography.cjs +3 -3
  30. package/dist/typography.cjs.map +1 -1
  31. package/dist/typography.js +107 -10
  32. package/dist/typography.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/index.ts +1 -0
  35. package/src/metric/index.ts +1 -0
  36. package/src/metric/metric.ts +127 -0
  37. package/src/typography/typography.ts +94 -1
  38. package/types/src/index.d.ts +1 -0
  39. package/types/src/metric/index.d.ts +1 -0
  40. package/types/src/metric/metric.d.ts +39 -0
  41. package/types/src/typography/typography.d.ts +32 -0
@@ -7446,6 +7446,100 @@
7446
7446
  }
7447
7447
  ]
7448
7448
  },
7449
+ {
7450
+ "name": "schmancy-metric",
7451
+ "path": "./src/metric/metric.ts",
7452
+ "description": "KPI metric — a label + value pair for dashboards, with optional trend + delta indicators.",
7453
+ "attributes": [
7454
+ {
7455
+ "name": "label",
7456
+ "description": "Upper-case caption shown above the value.",
7457
+ "type": "string",
7458
+ "default": "\"\""
7459
+ },
7460
+ {
7461
+ "name": "value",
7462
+ "description": "Primary metric value, rendered large. Pre-format numbers/currency yourself.",
7463
+ "type": "string",
7464
+ "default": "\"\""
7465
+ },
7466
+ {
7467
+ "name": "trend",
7468
+ "description": "Optional trend direction. Controls the color + arrow on the delta pill.",
7469
+ "type": "MetricTrend | undefined"
7470
+ },
7471
+ {
7472
+ "name": "delta",
7473
+ "description": "Optional delta copy displayed in a pill next to the value (e.g. `+12%`).",
7474
+ "type": "string | undefined"
7475
+ },
7476
+ {
7477
+ "name": "size",
7478
+ "description": "Size scale affecting label + value typography.",
7479
+ "type": "MetricSize",
7480
+ "default": "\"md\""
7481
+ }
7482
+ ],
7483
+ "properties": [
7484
+ {
7485
+ "name": "label",
7486
+ "attribute": "label",
7487
+ "description": "Upper-case caption shown above the value.",
7488
+ "type": "string",
7489
+ "default": "\"\""
7490
+ },
7491
+ {
7492
+ "name": "value",
7493
+ "attribute": "value",
7494
+ "description": "Primary metric value, rendered large. Pre-format numbers/currency yourself.",
7495
+ "type": "string",
7496
+ "default": "\"\""
7497
+ },
7498
+ {
7499
+ "name": "trend",
7500
+ "attribute": "trend",
7501
+ "description": "Optional trend direction. Controls the color + arrow on the delta pill.",
7502
+ "type": "MetricTrend | undefined"
7503
+ },
7504
+ {
7505
+ "name": "delta",
7506
+ "attribute": "delta",
7507
+ "description": "Optional delta copy displayed in a pill next to the value (e.g. `+12%`).",
7508
+ "type": "string | undefined"
7509
+ },
7510
+ {
7511
+ "name": "size",
7512
+ "attribute": "size",
7513
+ "description": "Size scale affecting label + value typography.",
7514
+ "type": "MetricSize",
7515
+ "default": "\"md\""
7516
+ }
7517
+ ],
7518
+ "slots": [
7519
+ {
7520
+ "name": "",
7521
+ "description": "Optional custom value rendering (overrides the `value` attribute if present)."
7522
+ },
7523
+ {
7524
+ "name": "label",
7525
+ "description": "Optional custom label rendering (overrides the `label` attribute if present)."
7526
+ }
7527
+ ],
7528
+ "cssParts": [
7529
+ {
7530
+ "name": "label",
7531
+ "description": "The label line."
7532
+ },
7533
+ {
7534
+ "name": "value",
7535
+ "description": "The value line."
7536
+ },
7537
+ {
7538
+ "name": "delta",
7539
+ "description": "The delta pill (only when `delta` is set)."
7540
+ }
7541
+ ]
7542
+ },
7449
7543
  {
7450
7544
  "name": "schmancy-nav-drawer-appbar",
7451
7545
  "path": "./src/nav-drawer/appbar.ts",
@@ -10773,6 +10867,16 @@
10773
10867
  "type": "'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label'",
10774
10868
  "default": "\"'body'\""
10775
10869
  },
10870
+ {
10871
+ "name": "preset",
10872
+ "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.",
10873
+ "type": "TypographyPreset"
10874
+ },
10875
+ {
10876
+ "name": "as",
10877
+ "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.",
10878
+ "type": "TypographyTag"
10879
+ },
10776
10880
  {
10777
10881
  "name": "token",
10778
10882
  "type": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | ''",
@@ -10829,6 +10933,18 @@
10829
10933
  "type": "'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label'",
10830
10934
  "default": "\"'body'\""
10831
10935
  },
10936
+ {
10937
+ "name": "preset",
10938
+ "attribute": "preset",
10939
+ "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.",
10940
+ "type": "TypographyPreset"
10941
+ },
10942
+ {
10943
+ "name": "as",
10944
+ "attribute": "as",
10945
+ "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.",
10946
+ "type": "TypographyTag"
10947
+ },
10832
10948
  {
10833
10949
  "name": "token",
10834
10950
  "attribute": "token",