@adia-ai/web-components 0.8.34 → 0.8.35

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 (89) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/components/agent-questions/agent-questions.class.js +0 -1
  3. package/components/badge/badge.css +27 -3
  4. package/components/badge/badge.examples.md +4 -4
  5. package/components/card/card.css +44 -1
  6. package/components/check/check.a2ui.json +25 -11
  7. package/components/check/check.class.js +5 -0
  8. package/components/check/check.css +21 -0
  9. package/components/check/check.d.ts +2 -0
  10. package/components/check/check.examples.md +4 -4
  11. package/components/check/check.yaml +26 -7
  12. package/components/demo-toggle/demo-toggle.css +4 -0
  13. package/components/demo-toggle/demo-toggle.examples.md +4 -4
  14. package/components/feed/feed-item.a2ui.json +3 -2
  15. package/components/feed/feed-item.yaml +7 -1
  16. package/components/feed/feed.css +28 -5
  17. package/components/field/field.examples.md +4 -4
  18. package/components/image/image.class.js +8 -0
  19. package/components/nav-group/nav-group.css +12 -1
  20. package/components/option-card/option-card.a2ui.json +10 -10
  21. package/components/option-card/option-card.css +32 -16
  22. package/components/option-card/option-card.yaml +19 -15
  23. package/components/radio/radio.examples.md +4 -4
  24. package/components/range/range.css +8 -4
  25. package/components/slider/slider.a2ui.json +6 -3
  26. package/components/slider/slider.css +28 -12
  27. package/components/slider/slider.yaml +11 -3
  28. package/components/stat/stat.examples.md +4 -4
  29. package/components/swatch/swatch.css +14 -6
  30. package/components/switch/switch.examples.md +4 -4
  31. package/components/table-toolbar/table-toolbar.css +10 -1
  32. package/components/tabs/tabs.css +10 -4
  33. package/components/tag/tag.class.js +14 -1
  34. package/components/tag/tag.css +63 -5
  35. package/components/text/text.examples.md +4 -4
  36. package/components/timeline/timeline-item.a2ui.json +2 -2
  37. package/components/timeline/timeline-item.yaml +2 -2
  38. package/components/timeline/timeline.css +33 -5
  39. package/components/timeline/timeline.d.ts +2 -2
  40. package/components/toast/toast.css +28 -5
  41. package/custom-elements.json +469 -46
  42. package/dist/theme-provider.min.js +1 -1
  43. package/dist/web-components.min.css +1 -1
  44. package/dist/web-components.min.js +4 -4
  45. package/dist/web-components.sheet.js +1 -1
  46. package/package.json +1 -1
  47. package/patterns/access-requests/access-requests.examples.html +3 -3
  48. package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +3 -3
  49. package/patterns/admin-shell/admin-shell.examples.html +3 -4
  50. package/patterns/agent-cost/agent-cost.examples.html +3 -3
  51. package/patterns/agent-memory/agent-memory.examples.html +3 -3
  52. package/patterns/agent-prompt-library/agent-prompt-library.examples.html +3 -3
  53. package/patterns/agent-tool-call/agent-tool-call.examples.html +3 -3
  54. package/patterns/alert-dialog/alert-dialog.examples.html +3 -3
  55. package/patterns/app-nav/app-nav.examples.html +4 -4
  56. package/patterns/approvals/approvals.examples.html +3 -3
  57. package/patterns/audit-log/audit-log.examples.html +3 -3
  58. package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +19 -9
  59. package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.js +2 -2
  60. package/patterns/changelog-feed/changelog-feed.examples.html +3 -3
  61. package/patterns/chart-in-card/chart-in-card.examples.html +37 -3
  62. package/patterns/chart-in-card/chart-in-card.examples.js +12 -0
  63. package/patterns/chart-in-card/chart-in-card.html +6 -0
  64. package/patterns/chat-shell/chat-shell.examples.html +3 -4
  65. package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +3 -3
  66. package/patterns/conversion-funnel/conversion-funnel.examples.html +3 -3
  67. package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +3 -3
  68. package/patterns/diff-review/diff-review.examples.html +3 -3
  69. package/patterns/editor-shell/editor-shell.examples.html +3 -4
  70. package/patterns/export-flow/export-flow.examples.html +3 -3
  71. package/patterns/filter-bar/filter-bar.examples.html +3 -3
  72. package/patterns/form-drawer/form-drawer.examples.html +3 -3
  73. package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.examples.html +3 -3
  74. package/patterns/inline-dialog/inline-dialog.examples.html +3 -3
  75. package/patterns/kanban-board/kanban-board.examples.html +3 -3
  76. package/patterns/layout/layout.examples.html +4 -7
  77. package/patterns/marketing-engagement/marketing-engagement.examples.html +3 -3
  78. package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +3 -3
  79. package/patterns/permissions-matrix/permissions-matrix.examples.html +3 -3
  80. package/patterns/permissions-role-picker/permissions-role-picker.examples.html +3 -3
  81. package/patterns/permissions-sharing/permissions-sharing.examples.html +3 -3
  82. package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +3 -3
  83. package/patterns/record-detail-drawer/record-detail-drawer.examples.html +3 -3
  84. package/patterns/responsive-shell-sidebar/responsive-shell-sidebar.examples.html +3 -3
  85. package/patterns/retention-cohort/retention-cohort.examples.html +3 -3
  86. package/patterns/search-discovery/search-discovery.examples.html +3 -3
  87. package/patterns/system-banners/system-banners.examples.html +3 -3
  88. package/patterns/timezone-selector/timezone-selector.examples.html +3 -3
  89. package/patterns/wizard-drawer/wizard-drawer.examples.html +3 -3
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Marketing &amp; engagement</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">button-ui</tag-ui> <tag-ui size="sm">tag-ui</tag-ui> <tag-ui size="sm">stat-ui</tag-ui> <tag-ui size="sm">field-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>button-ui</code> <code>tag-ui</code> <code>stat-ui</code> <code>field-ui</code>
7
7
  </div>
8
8
  <p>Three adjacent marketing-side surfaces: hero/CTA blocks (14c) for landing pages, referral and invite flows (14f) for word-of-mouth growth, and achievement/milestone moments (14g) for ongoing engagement. All compose existing primitives — heroes are layout-heavy card-ui, referrals are field-ui + tag-ui status, achievements are tag-ui + stat-ui + progress-ui.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Bell menu &amp; digest preview</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">empty-state-ui</tag-ui> <tag-ui size="sm">avatar-ui</tag-ui> <tag-ui size="sm">tag-ui</tag-ui> <tag-ui size="sm">row-ui</tag-ui> <tag-ui size="sm">col-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>empty-state-ui</code> <code>avatar-ui</code> <code>tag-ui</code> <code>row-ui</code> <code>col-ui</code>
7
7
  </div>
8
8
  <p>Two adjacent notification surfaces: the bell-icon popover that opens from the app shell (15d) and the email-digest preview that shows a user what their daily/weekly summary will contain (15e). Both compose existing primitives — `menu-ui` + per-row `list-item-ui` shapes.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Permissions Matrix</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">table-ui</tag-ui> <tag-ui size="sm">check-ui</tag-ui> <tag-ui size="sm">description-list-ui</tag-ui> <tag-ui size="sm">tag-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>table-ui</code> <code>check-ui</code> <code>description-list-ui</code> <code>tag-ui</code>
7
7
  </div>
8
8
  <p>The full RBAC grid — capabilities (rows) × roles (columns), check-mark cells indicating which role grants which capability. Two shapes: an editable grid for custom roles (admin authoring), and a read-only summary card showing one role's permissions in plain language.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Permissions Role Picker</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">option-card-ui</tag-ui> <tag-ui size="sm">radio-ui</tag-ui> <tag-ui size="sm">select-ui</tag-ui> <tag-ui size="sm">field-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>option-card-ui</code> <code>radio-ui</code> <code>select-ui</code> <code>field-ui</code>
7
7
  </div>
8
8
  <p>Surface for assigning a role — at invite time, when promoting an existing member, or when editing a row in a members table. Two shapes: a rich radio group with role descriptions (settings-page or invite flow), and a compact select for inline edits inside a member row.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Permissions Sharing</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">option-card-ui</tag-ui> <tag-ui size="sm">search-ui</tag-ui> <tag-ui size="sm">select-ui</tag-ui> <tag-ui size="sm">description-list-ui</tag-ui> <tag-ui size="sm">button-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>option-card-ui</code> <code>search-ui</code> <code>select-ui</code> <code>description-list-ui</code> <code>button-ui</code>
7
7
  </div>
8
8
  <p>Surfaces for sharing a resource (doc, dashboard, project) with people outside its default audience. Three shapes — visibility scope picker (private / link / org / public), generated share link with expiry, and add-people autocomplete with per-person role.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Public profile &amp; identity verification</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">avatar-ui</tag-ui> <tag-ui size="sm">stat-ui</tag-ui> <tag-ui size="sm">upload-ui</tag-ui> <tag-ui size="sm">stepper-ui</tag-ui> <tag-ui size="sm">tag-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>avatar-ui</code> <code>stat-ui</code> <code>upload-ui</code> <code>stepper-ui</code> <code>tag-ui</code>
7
7
  </div>
8
8
  <p>Two adjacent profile surfaces: the externally-shareable public page (16d) and the KYC/identity-verification flow (16e). Both compose card-ui shells around primitives — no new components needed.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Record Detail Drawer</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">drawer-ui</tag-ui> <tag-ui size="sm">tabs-ui</tag-ui> <tag-ui size="sm">description-list-ui</tag-ui> <tag-ui size="sm">timeline-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>drawer-ui</code> <code>tabs-ui</code> <code>description-list-ui</code> <code>timeline-ui</code>
7
7
  </div>
8
8
  <p>Side drawer that shows the details of a selected row without navigating away from the list. Header carries the subject (avatar + name + status); body uses tabs to switch between Properties, Activity, and Comments.</p>
9
9
  </header>
@@ -36,9 +36,9 @@
36
36
  <header>
37
37
  <div>
38
38
  <h1>Responsive Shell Sidebar</h1>
39
- <div data-actions>
40
- <tag-ui size="sm">drawer-ui</tag-ui> <tag-ui size="sm">pane-ui</tag-ui> <tag-ui size="sm">list-ui</tag-ui> <tag-ui size="sm">button-ui</tag-ui>
41
- </div>
39
+ </div>
40
+ <div data-tags>
41
+ <code>drawer-ui</code> <code>pane-ui</code> <code>list-ui</code> <code>button-ui</code>
42
42
  </div>
43
43
  <p>Editor-shell with leading + trailing sidebars that collapse to drawers below a 900px viewport breakpoint. Dual-mount: the same content renders inline on wide viewports and inside <code>&lt;drawer-ui&gt;</code> twins on narrow; state is shared via a single signal source consumed by both mount points.</p>
44
44
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Retention Cohort</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">table-ui</tag-ui> <tag-ui size="sm">badge-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>table-ui</code> <code>badge-ui</code>
7
7
  </div>
8
8
  <p>Composition pattern: render a retention cohort "heatmap" using a regular <code>table-ui</code> with a badge-based cell renderer. Each cell is a <code>badge-ui</code> variant tinted by the retention bucket, so the table still sorts, paginates, and copies to clipboard like any other data table.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Search &amp; Discovery</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">card-ui</tag-ui> <tag-ui size="sm">search-ui</tag-ui> <tag-ui size="sm">tag-ui</tag-ui> <tag-ui size="sm">avatar-ui</tag-ui> <tag-ui size="sm">row-ui</tag-ui> <tag-ui size="sm">col-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>card-ui</code> <code>search-ui</code> <code>tag-ui</code> <code>avatar-ui</code> <code>row-ui</code> <code>col-ui</code>
7
7
  </div>
8
8
  <p>The surfaces that surround a search input — what shows up below it. Result lists (flat and grouped), recent-searches menu, and saved-views list. Compose around <code>search-ui</code>; the input itself lives in its component demo.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>System &amp; App Banners</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">alert-ui</tag-ui> <tag-ui size="sm">button-ui</tag-ui> <tag-ui size="sm">text-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>alert-ui</code> <code>button-ui</code> <code>text-ui</code>
7
7
  </div>
8
8
  <p>Persistent strip-shaped surfaces above the app shell. System banners (offline, maintenance, update available), live-update banners ("new since you opened this"), and announcement banners (beta callouts, promos). All three are <code>alert-ui</code> compositions; the variant + dismiss + CTA pattern is what differs. Content uses alert-ui's sectioned anatomy (gh#507) — semantic <code>header</code> / <code>section</code> / <code>footer</code> children inside <code>slot="content"</code>; the component owns the gaps, so banner spacing balances without per-banner layout improvisation.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Time-zone selector</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">select-ui</tag-ui> <tag-ui size="sm">field-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>select-ui</code> <code>field-ui</code>
7
7
  </div>
8
8
  <p>IANA timezone picker — searchable select-ui populated from <code>Intl.supportedValuesOf('timeZone')</code> (browser-native, ~400 zones, zero-deps). Each option renders as <code>America/Los_Angeles · UTC-8</code> so users can scan by offset or search by city / region.</p>
9
9
  </header>
@@ -1,9 +1,9 @@
1
1
  <header>
2
2
  <div>
3
3
  <h1>Wizard Drawer</h1>
4
- <div data-actions>
5
- <tag-ui size="sm">drawer-ui</tag-ui> <tag-ui size="sm">stepper-ui</tag-ui> <tag-ui size="sm">button-ui</tag-ui>
6
- </div>
4
+ </div>
5
+ <div data-tags>
6
+ <code>drawer-ui</code> <code>stepper-ui</code> <code>button-ui</code>
7
7
  </div>
8
8
  <p>Multi-step form in a drawer. Stepper in the header tracks progress; body swaps content per step; footer pins Back / Next, with a primary finish on the last step. The canonical onboarding-inside-an-app shape.</p>
9
9
  </header>