@thewhatmatters/wmds 0.3.0 → 0.4.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 (133) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/CONSUMING.md +2 -1
  3. package/dist/components/molecules/PromptBar/PromptBar.d.ts +11 -1
  4. package/dist/components/molecules/PromptBar/PromptBar.d.ts.map +1 -1
  5. package/dist/components/molecules/PromptBar/PromptBar.js +54 -43
  6. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts +15 -0
  7. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts.map +1 -1
  8. package/dist/components/molecules/PromptBar/promptBarStyles.js +5 -2
  9. package/dist/components/organisms/ChatDock/ChatDock.d.ts +93 -0
  10. package/dist/components/organisms/ChatDock/ChatDock.d.ts.map +1 -0
  11. package/dist/components/organisms/ChatDock/ChatDock.js +255 -0
  12. package/dist/components/organisms/ChatDock/chatDockStyles.d.ts +48 -0
  13. package/dist/components/organisms/ChatDock/chatDockStyles.d.ts.map +1 -0
  14. package/dist/components/organisms/ChatDock/chatDockStyles.js +15 -0
  15. package/dist/components/organisms/Dialog/AlertDialog.js +11 -11
  16. package/dist/components/organisms/Dialog/Dialog.js +44 -44
  17. package/dist/components/organisms/Sheet/Sheet.js +38 -38
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +30 -28
  21. package/dist/styles.css +1 -1
  22. package/docs/component-contracts.md +1 -1
  23. package/docs/components.md +3 -2
  24. package/docs/exports.json +14 -2
  25. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  26. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  27. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  28. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  29. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  30. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  31. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  32. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  33. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  34. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  35. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  36. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  37. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  38. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  39. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  40. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  41. package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
  42. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  43. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  44. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  45. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  46. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  47. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  48. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  49. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  50. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  51. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  52. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  53. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  54. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +68 -0
  55. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  56. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  57. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  58. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  59. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  60. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  61. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  62. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  63. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  64. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  65. package/docs/patterns/components-field--multi-control.tsx +1 -1
  66. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
  67. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
  68. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
  69. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
  70. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  71. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
  72. package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
  73. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
  74. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
  75. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
  76. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  77. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  78. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  79. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  80. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  81. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  82. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  83. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  84. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  85. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  86. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  87. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  88. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  89. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  90. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  91. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  92. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  93. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  94. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  95. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  96. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  97. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  98. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  99. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  100. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  101. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  102. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  103. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  104. package/docs/patterns/components-switch--default.tsx +1 -1
  105. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  106. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  107. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  108. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  109. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  110. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  111. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  112. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  113. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  114. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  115. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  116. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  117. package/docs/patterns/components-textsequence--default.tsx +1 -1
  118. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  119. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  120. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  121. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  122. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  123. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  124. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  125. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  126. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  127. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  128. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  129. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  130. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  131. package/docs/patterns/index.json +9 -9
  132. package/package.json +1 -1
  133. package/docs/patterns/components-promptbar--pattern-marketing-composer.tsx +0 -37
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — page header
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — page header
2
2
  // Storybook: Components/PageHeader → Pattern — page header (?path=/story/components-pageheader--page-section-header)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — toolbar header
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — toolbar header
2
2
  // Storybook: Components/PageHeader → Pattern — toolbar header (?path=/story/components-pageheader--toolbar-header)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — end detail rail
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — end detail rail
2
2
  // Storybook: Components/Panel → Pattern — end detail rail (?path=/story/components-panel--end-detail-rail)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — pill group
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — pill group
2
2
  // Storybook: Components/PillGroup → Pattern — pill group (?path=/story/components-pillgroup--pill-group-pattern)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — prompt bar
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — prompt bar
2
2
  // Storybook: Components/PromptBar → Pattern — prompt bar (?path=/story/components-promptbar--pattern-prompt-bar)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — vertical
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — vertical
2
2
  // Storybook: Components/Radio/RadioGroup → Pattern — vertical (?path=/story/components-radio-radiogroup--default)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — project gallery
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — project gallery
2
2
  // Storybook: Components/ScrollHorizontal → Pattern — project gallery (?path=/story/components-scrollhorizontal--project-gallery-pattern)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — gallery intro
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — gallery intro
2
2
  // Storybook: Components/ScrollHorizontal → Pattern — gallery intro (?path=/story/components-scrollhorizontal--with-intro)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — bottom sheet
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — bottom sheet
2
2
  // Storybook: Components/Sheet → Pattern — bottom sheet (?path=/story/components-sheet--bottom-sheet)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — end sheet
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — end sheet
2
2
  // Storybook: Components/Sheet → Pattern — end sheet (?path=/story/components-sheet--end-sheet)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — brand + CTA
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — brand + CTA
2
2
  // Storybook: Components/SiteNav → Pattern — brand + CTA (?path=/story/components-sitenav--brand-and-cta)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — centered links
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — centered links
2
2
  // Storybook: Components/SiteNav → Pattern — centered links (?path=/story/components-sitenav--centered-links)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — compact (scrolled)
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — compact (scrolled)
2
2
  // Storybook: Components/SiteNav → Pattern — compact (scrolled) (?path=/story/components-sitenav--compact)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — marketing header
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — marketing header
2
2
  // Storybook: Components/SiteNav → Pattern — marketing header (?path=/story/components-sitenav--marketing-header)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — mega menu
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — mega menu
2
2
  // Storybook: Components/SiteNav → Pattern — mega menu (?path=/story/components-sitenav--mega-menu)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — insights row
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — insights row
2
2
  // Storybook: Components/Stat → Pattern — insights row (?path=/story/components-stat--insights-row)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — step progress
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — step progress
2
2
  // Storybook: Components/StepProgress → Pattern — step progress (?path=/story/components-stepprogress--step-progress-pattern)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — default
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — default
2
2
  // Storybook: Components/Switch → Pattern — default (?path=/story/components-switch--default)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — settings row
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — settings row
2
2
  // Storybook: Components/Switch → Pattern — settings row (?path=/story/components-switch--settings-row)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — settings pages
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — settings pages
2
2
  // Storybook: Components/Tab → Pattern — settings pages (?path=/story/components-tab--settings-pages)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — action details
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — action details
2
2
  // Storybook: Components/TaskRows → Pattern — action details (?path=/story/components-taskrows--action-details)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — capsules
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — capsules
2
2
  // Storybook: Components/TaskRows → Pattern — capsules (?path=/story/components-taskrows--capsules)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — card + status rows
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — card + status rows
2
2
  // Storybook: Components/TaskRows → Pattern — card + status rows (?path=/story/components-taskrows--card-with-status-rows)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — controlled expand
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — controlled expand
2
2
  // Storybook: Components/TaskRows → Pattern — controlled expand (?path=/story/components-taskrows--controlled-expand)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — custom leading / trailing
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — custom leading / trailing
2
2
  // Storybook: Components/TaskRows → Pattern — custom leading / trailing (?path=/story/components-taskrows--custom-slots)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — status rows
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — status rows
2
2
  // Storybook: Components/TaskRows → Pattern — status rows (?path=/story/components-taskrows--status-list)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — tag chips
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — tag chips
2
2
  // Storybook: Components/TaskRows → Pattern — tag chips (?path=/story/components-taskrows--tag-chips)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — external destination
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — external destination
2
2
  // Storybook: Components/TextLink → Pattern — external destination (?path=/story/components-textlink--external-destination)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — inline prose link
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — inline prose link
2
2
  // Storybook: Components/TextLink → Pattern — inline prose link (?path=/story/components-textlink--inline-prose)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — supporting copy link
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — supporting copy link
2
2
  // Storybook: Components/TextLink → Pattern — supporting copy link (?path=/story/components-textlink--supporting-copy)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Default
1
+ // @thewhatmatters/wmds@0.4.0 · Default
2
2
  // Storybook: Components/TextSequence → Default (?path=/story/components-textsequence--default)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Reduced motion
1
+ // @thewhatmatters/wmds@0.4.0 · Reduced motion
2
2
  // Storybook: Components/TextSequence → Reduced motion (?path=/story/components-textsequence--reduced-motion)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Shapes
1
+ // @thewhatmatters/wmds@0.4.0 · Shapes
2
2
  // Storybook: Components/TextSequence → Shapes (?path=/story/components-textsequence--shapes)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — stacked notifications
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — stacked notifications
2
2
  // Storybook: Components/Toast → Pattern — stacked notifications (?path=/story/components-toast--stacked-notifications)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — controlled state
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — controlled state
2
2
  // Storybook: Components/Tooltip → Pattern — controlled state (?path=/story/components-tooltip--controlled)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — disabled control
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — disabled control
2
2
  // Storybook: Components/Tooltip → Pattern — disabled control (?path=/story/components-tooltip--disabled-control)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — icon-only action
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — icon-only action
2
2
  // Storybook: Components/Tooltip → Pattern — icon-only action (?path=/story/components-tooltip--icon-action)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — keyboard shortcut
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — keyboard shortcut
2
2
  // Storybook: Components/Tooltip → Pattern — keyboard shortcut (?path=/story/components-tooltip--keyboard-shortcut)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — placement
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — placement
2
2
  // Storybook: Components/Tooltip → Pattern — placement (?path=/story/components-tooltip--placement)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — horizontal rail
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — horizontal rail
2
2
  // Storybook: Foundations/Scroll fade → Pattern — horizontal rail (?path=/story/foundations-scroll-fade--horizontal-rail)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — overflowing list
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — overflowing list
2
2
  // Storybook: Foundations/Scroll fade → Pattern — overflowing list (?path=/story/foundations-scroll-fade--overflowing-list)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — chart comparison gallery
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — chart comparison gallery
2
2
  // Storybook: Guides/Chart explorations → Pattern — chart comparison gallery (?path=/story/guides-chart-explorations--comparison-gallery)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — notification preferences
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — notification preferences
2
2
  // Storybook: Guides/Overlay flows → Pattern — notification preferences (?path=/story/guides-overlay-flows--notification-preferences)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,4 +1,4 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — editorial profile
1
+ // @thewhatmatters/wmds@0.4.0 · Pattern — editorial profile
2
2
  // Storybook: Guides/Profile typography → Pattern — editorial profile (?path=/story/guides-profile-typography--editorial-profile)
3
3
  // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
4
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@thewhatmatters/wmds",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "patterns": [
5
5
  {
6
6
  "id": "components-avatar--dropdown-row",
@@ -234,6 +234,14 @@
234
234
  "storybook": "?path=/story/components-chart--unit-grid-composition",
235
235
  "source": "src/components/organisms/Chart/Chart.stories.tsx"
236
236
  },
237
+ {
238
+ "id": "components-chatdock--pattern-chat-dock",
239
+ "title": "Components/ChatDock",
240
+ "name": "Pattern — chat dock",
241
+ "file": "patterns/components-chatdock--pattern-chat-dock.tsx",
242
+ "storybook": "?path=/story/components-chatdock--pattern-chat-dock",
243
+ "source": "src/components/organisms/ChatDock/ChatDock.stories.tsx"
244
+ },
237
245
  {
238
246
  "id": "components-chatqa--pattern-qa-with-reply",
239
247
  "title": "Components/ChatQa",
@@ -522,14 +530,6 @@
522
530
  "storybook": "?path=/story/components-pillgroup--pill-group-pattern",
523
531
  "source": "src/components/molecules/PillGroup/PillGroup.stories.tsx"
524
532
  },
525
- {
526
- "id": "components-promptbar--pattern-marketing-composer",
527
- "title": "Components/PromptBar",
528
- "name": "Pattern — marketing composer",
529
- "file": "patterns/components-promptbar--pattern-marketing-composer.tsx",
530
- "storybook": "?path=/story/components-promptbar--pattern-marketing-composer",
531
- "source": "src/components/molecules/PromptBar/PromptBar.stories.tsx"
532
- },
533
533
  {
534
534
  "id": "components-promptbar--pattern-prompt-bar",
535
535
  "title": "Components/PromptBar",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thewhatmatters/wmds",
3
3
  "description": "WhatMatters Design System — React components, Tailwind v4 theme, and Storybook patterns",
4
- "version": "0.3.0",
4
+ "version": "0.4.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -1,37 +0,0 @@
1
- // @thewhatmatters/wmds@0.3.0 · Pattern — marketing composer
2
- // Storybook: Components/PromptBar → Pattern — marketing composer (?path=/story/components-promptbar--pattern-marketing-composer)
3
- // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
-
5
- import { useState } from "react";
6
- import { PromptBar } from "@thewhatmatters/wmds";
7
-
8
- /**
9
- * Marketing homepage composer, pinned to the bottom of the viewport on the page grid.
10
- * Sending hands off to the app's ask page: route to /ask?q=<prompt>, and the ask page
11
- * starts the conversation with `q` as its first prompt.
12
- * Next.js: onHandOff={(prompt) => router.push(`/ask?q=${encodeURIComponent(prompt)}`)}
13
- */
14
- export function MarketingComposer({ onHandOff }: { onHandOff: (prompt: string) => void }) {
15
- const [draft, setDraft] = useState("");
16
-
17
- return (
18
- <div className="pointer-events-none fixed inset-x-0 bottom-0 z-40 pb-[max(1rem,env(safe-area-inset-bottom))]">
19
- <div className="grid-page [--grid-max:40rem]">
20
- <div className="band">
21
- <div className="pointer-events-auto col-span-full">
22
- <PromptBar
23
- value={draft}
24
- onValueChange={setDraft}
25
- onSend={(value) => {
26
- const prompt = value.trim();
27
- if (prompt.length === 0) return;
28
- setDraft("");
29
- onHandOff(prompt);
30
- }}
31
- />
32
- </div>
33
- </div>
34
- </div>
35
- </div>
36
- );
37
- }