@thewhatmatters/wmds 0.4.0 → 0.4.2

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 (250) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/CONSUMING.md +9 -4
  3. package/dist/collapse.css +9 -1
  4. package/dist/colors.css +7 -0
  5. package/dist/components/atoms/Badge/Badge.d.ts +16 -4
  6. package/dist/components/atoms/Badge/Badge.d.ts.map +1 -1
  7. package/dist/components/atoms/Badge/Badge.js +54 -42
  8. package/dist/components/atoms/Badge/badgeStyles.d.ts +12 -2
  9. package/dist/components/atoms/Badge/badgeStyles.d.ts.map +1 -1
  10. package/dist/components/atoms/Badge/badgeStyles.js +24 -13
  11. package/dist/components/atoms/Button/Button.d.ts +11 -3
  12. package/dist/components/atoms/Button/Button.d.ts.map +1 -1
  13. package/dist/components/atoms/Button/Button.js +118 -98
  14. package/dist/components/atoms/Button/ButtonStatusButton.d.ts +3 -1
  15. package/dist/components/atoms/Button/ButtonStatusButton.d.ts.map +1 -1
  16. package/dist/components/atoms/Button/ButtonStatusButton.js +19 -18
  17. package/dist/components/atoms/Button/ButtonStatusContent.d.ts +7 -1
  18. package/dist/components/atoms/Button/ButtonStatusContent.d.ts.map +1 -1
  19. package/dist/components/atoms/Button/ButtonStatusContent.js +9 -6
  20. package/dist/components/atoms/Button/buttonStatusStyles.d.ts +5 -0
  21. package/dist/components/atoms/Button/buttonStatusStyles.d.ts.map +1 -1
  22. package/dist/components/atoms/Button/buttonStatusStyles.js +10 -10
  23. package/dist/components/atoms/Button/buttonStyles.d.ts +2 -0
  24. package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -1
  25. package/dist/components/atoms/Button/buttonStyles.js +12 -12
  26. package/dist/components/atoms/Checkbox/Checkbox.d.ts +7 -0
  27. package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -1
  28. package/dist/components/atoms/Checkbox/Checkbox.js +86 -69
  29. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts +6 -0
  30. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts.map +1 -1
  31. package/dist/components/atoms/Checkbox/checkboxStyles.js +11 -11
  32. package/dist/components/atoms/IconButton/IconButton.d.ts +5 -0
  33. package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -1
  34. package/dist/components/atoms/IconButton/IconButton.js +73 -68
  35. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts +5 -0
  36. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts.map +1 -1
  37. package/dist/components/atoms/IconButton/iconButtonStyles.js +4 -4
  38. package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts +13 -4
  39. package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts.map +1 -1
  40. package/dist/components/atoms/Kbd/useKbdChoiceKeys.js +32 -13
  41. package/dist/components/atoms/Prose/Prose.d.ts +23 -0
  42. package/dist/components/atoms/Prose/Prose.d.ts.map +1 -0
  43. package/dist/components/atoms/Prose/Prose.js +15 -0
  44. package/dist/components/atoms/Prose/proseStyles.d.ts +17 -0
  45. package/dist/components/atoms/Prose/proseStyles.d.ts.map +1 -0
  46. package/dist/components/atoms/Prose/proseStyles.js +16 -0
  47. package/dist/components/atoms/SectionCaption/SectionCaption.d.ts +26 -0
  48. package/dist/components/atoms/SectionCaption/SectionCaption.d.ts.map +1 -0
  49. package/dist/components/atoms/SectionCaption/SectionCaption.js +25 -0
  50. package/dist/components/atoms/SectionCaption/sectionCaptionStyles.d.ts +11 -0
  51. package/dist/components/atoms/SectionCaption/sectionCaptionStyles.d.ts.map +1 -0
  52. package/dist/components/atoms/SectionCaption/sectionCaptionStyles.js +12 -0
  53. package/dist/components/atoms/TextLink/TextLink.d.ts +10 -2
  54. package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -1
  55. package/dist/components/atoms/TextLink/TextLink.js +15 -15
  56. package/dist/components/atoms/TextLink/textLinkStyles.d.ts +13 -0
  57. package/dist/components/atoms/TextLink/textLinkStyles.d.ts.map +1 -1
  58. package/dist/components/atoms/TextLink/textLinkStyles.js +7 -3
  59. package/dist/components/molecules/Accordion/Accordion.d.ts +6 -1
  60. package/dist/components/molecules/Accordion/Accordion.d.ts.map +1 -1
  61. package/dist/components/molecules/Accordion/Accordion.js +57 -50
  62. package/dist/components/molecules/Accordion/accordionStyles.d.ts +9 -0
  63. package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -1
  64. package/dist/components/molecules/Accordion/accordionStyles.js +2 -2
  65. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +59 -0
  66. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  67. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +188 -0
  68. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.d.ts +21 -0
  69. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.d.ts.map +1 -0
  70. package/dist/components/molecules/Breadcrumb/breadcrumbStyles.js +11 -0
  71. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts +5 -1
  72. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts.map +1 -1
  73. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.js +12 -10
  74. package/dist/components/molecules/DescriptionList/DescriptionList.d.ts +37 -0
  75. package/dist/components/molecules/DescriptionList/DescriptionList.d.ts.map +1 -0
  76. package/dist/components/molecules/DescriptionList/DescriptionList.js +50 -0
  77. package/dist/components/molecules/DescriptionList/descriptionListStyles.d.ts +21 -0
  78. package/dist/components/molecules/DescriptionList/descriptionListStyles.d.ts.map +1 -0
  79. package/dist/components/molecules/DescriptionList/descriptionListStyles.js +27 -0
  80. package/dist/components/molecules/Dropdown/DropdownItem.d.ts +7 -2
  81. package/dist/components/molecules/Dropdown/DropdownItem.d.ts.map +1 -1
  82. package/dist/components/molecules/Dropdown/DropdownItem.js +40 -24
  83. package/dist/components/molecules/IndexList/IndexList.d.ts +58 -0
  84. package/dist/components/molecules/IndexList/IndexList.d.ts.map +1 -0
  85. package/dist/components/molecules/IndexList/IndexList.js +96 -0
  86. package/dist/components/molecules/IndexList/indexListStyles.d.ts +29 -0
  87. package/dist/components/molecules/IndexList/indexListStyles.d.ts.map +1 -0
  88. package/dist/components/molecules/IndexList/indexListStyles.js +24 -0
  89. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts +3 -2
  90. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts.map +1 -1
  91. package/dist/components/molecules/PromptBar/promptBarStyles.js +1 -1
  92. package/dist/components/organisms/ChatDock/ChatDock.d.ts +120 -10
  93. package/dist/components/organisms/ChatDock/ChatDock.d.ts.map +1 -1
  94. package/dist/components/organisms/ChatDock/ChatDock.js +654 -212
  95. package/dist/components/organisms/ChatDock/ChatDockGate.d.ts +52 -0
  96. package/dist/components/organisms/ChatDock/ChatDockGate.d.ts.map +1 -0
  97. package/dist/components/organisms/ChatDock/ChatDockGate.js +161 -0
  98. package/dist/components/organisms/ChatDock/chatDockGateStyles.d.ts +16 -0
  99. package/dist/components/organisms/ChatDock/chatDockGateStyles.d.ts.map +1 -0
  100. package/dist/components/organisms/ChatDock/chatDockGateStyles.js +8 -0
  101. package/dist/components/organisms/ChatDock/chatDockStyles.d.ts +60 -10
  102. package/dist/components/organisms/ChatDock/chatDockStyles.d.ts.map +1 -1
  103. package/dist/components/organisms/ChatDock/chatDockStyles.js +15 -9
  104. package/dist/components/organisms/ChatDock/chatDockViewport.d.ts +21 -0
  105. package/dist/components/organisms/ChatDock/chatDockViewport.d.ts.map +1 -0
  106. package/dist/components/organisms/ChatDock/chatDockViewport.js +46 -0
  107. package/dist/components/organisms/SiteNav/SiteNav.js +86 -86
  108. package/dist/components/organisms/Toast/Toast.js +5 -5
  109. package/dist/index.d.ts +8 -3
  110. package/dist/index.d.ts.map +1 -1
  111. package/dist/index.js +124 -112
  112. package/dist/lib/compositionAudit.d.ts.map +1 -1
  113. package/dist/lib/typography.d.ts +2 -2
  114. package/dist/lib/typography.d.ts.map +1 -1
  115. package/dist/lib/typography.js +27 -1
  116. package/dist/styles.css +1 -1
  117. package/dist/theme.css +1 -0
  118. package/dist/typography.css +34 -0
  119. package/docs/README.md +1 -1
  120. package/docs/component-contracts.md +15 -0
  121. package/docs/components.md +17 -12
  122. package/docs/exports.json +85 -4
  123. package/docs/patterns/components-accordion--flush.tsx +29 -0
  124. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  125. package/docs/patterns/components-badge--outline-tags.tsx +25 -0
  126. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  127. package/docs/patterns/components-breadcrumb--editorial.tsx +9 -0
  128. package/docs/patterns/components-breadcrumb--long-path.tsx +9 -0
  129. package/docs/patterns/components-breadcrumb--path.tsx +9 -0
  130. package/docs/patterns/components-breadcrumb--router-links.tsx +10 -0
  131. package/docs/patterns/components-button-button--copy-button.tsx +39 -0
  132. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  133. package/docs/patterns/components-button-button--external-link.tsx +30 -0
  134. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  135. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  136. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  137. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  138. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  139. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  140. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  141. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  142. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  143. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  144. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  145. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  146. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  147. package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
  148. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  149. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  150. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  151. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  152. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  153. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  154. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  155. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  156. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  157. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  158. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  159. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  160. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +101 -11
  161. package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +180 -0
  162. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  163. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  164. package/docs/patterns/components-checkbox-checkbox--with-count.tsx +19 -0
  165. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  166. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  167. package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +17 -0
  168. package/docs/patterns/components-descriptionlist--details.tsx +21 -0
  169. package/docs/patterns/components-descriptionlist--post-metadata.tsx +52 -0
  170. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  171. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  172. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  173. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  174. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  175. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  176. package/docs/patterns/components-field--multi-control.tsx +1 -1
  177. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
  178. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
  179. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
  180. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
  181. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  182. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
  183. package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
  184. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
  185. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
  186. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
  187. package/docs/patterns/components-indexlist--post-index.tsx +36 -0
  188. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  189. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  190. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  191. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  192. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  193. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  194. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  195. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  196. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  197. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  198. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  199. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  200. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  201. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  202. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  203. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  204. package/docs/patterns/components-prose--article-body.tsx +11 -0
  205. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  206. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  207. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  208. package/docs/patterns/components-sectioncaption--column-caption.tsx +16 -0
  209. package/docs/patterns/components-sectioncaption--with-action.tsx +19 -0
  210. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  211. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  212. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  213. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  214. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  215. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  216. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  217. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  218. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  219. package/docs/patterns/components-switch--default.tsx +1 -1
  220. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  221. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  222. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  223. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  224. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  225. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  226. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  227. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  228. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  229. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  230. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  231. package/docs/patterns/components-textlink--quiet-title.tsx +15 -0
  232. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  233. package/docs/patterns/components-textsequence--default.tsx +1 -1
  234. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  235. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  236. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  237. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  238. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  239. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  240. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  241. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  242. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  243. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  244. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  245. package/docs/patterns/guides-filter-panel--filtered-index.tsx +174 -0
  246. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  247. package/docs/patterns/guides-post-page--post-page.tsx +148 -0
  248. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  249. package/docs/patterns/index.json +161 -1
  250. package/package.json +1 -1
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ import { cn as e } from "../../../lib/cn.js";
3
+ import { IconButton as t } from "../../atoms/IconButton/IconButton.js";
4
+ import { TextLink as n } from "../../atoms/TextLink/TextLink.js";
5
+ import { indexListCaptionsClasses as r, indexListChevronClasses as i, indexListEmptyClasses as a, indexListItemClasses as o, indexListListClasses as s, indexListMetaClasses as c, indexListPanelClasses as l, indexListPanelContentClasses as u, indexListPanelInnerClasses as d, indexListRootClasses as f, indexListSizes as p, indexListTitleCellClasses as m, indexListTitleClasses as h, indexListTitleElements as g, indexListTitleSizeClasses as _, indexListToggleAlignClasses as v } from "./indexListStyles.js";
6
+ import { Children as y, createContext as b, useContext as x, useId as S, useMemo as C, useState as w } from "react";
7
+ import { ChevronDown as T } from "lucide-react";
8
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
9
+ //#region src/components/molecules/IndexList/IndexList.tsx
10
+ var O = b({
11
+ size: "lg",
12
+ titleAs: "h2"
13
+ });
14
+ function k({ captions: t, size: n = "lg", titleAs: i = "h2", empty: o, "aria-label": c, "aria-labelledby": l, children: u, className: d }) {
15
+ let p = y.toArray(u).length > 0, m = C(() => ({
16
+ size: n,
17
+ titleAs: i
18
+ }), [n, i]);
19
+ return /* @__PURE__ */ E(O.Provider, {
20
+ value: m,
21
+ children: /* @__PURE__ */ D("div", {
22
+ className: e(f, d),
23
+ "data-size": n,
24
+ children: [p && t != null ? /* @__PURE__ */ D("div", {
25
+ className: r,
26
+ "aria-hidden": "true",
27
+ "data-index-list-captions": "",
28
+ children: [/* @__PURE__ */ D("span", { children: ["/ ", t.meta] }), /* @__PURE__ */ D("span", {
29
+ className: "@lg:col-start-2",
30
+ children: ["/ ", t.title]
31
+ })]
32
+ }) : null, p ? /* @__PURE__ */ E("ul", {
33
+ role: "list",
34
+ "aria-label": c,
35
+ "aria-labelledby": l,
36
+ className: e(s, t != null && "@lg:border-t-0"),
37
+ children: u
38
+ }) : o == null ? null : /* @__PURE__ */ E("div", {
39
+ className: a,
40
+ "data-index-list-empty": "",
41
+ children: o
42
+ })]
43
+ })
44
+ });
45
+ }
46
+ function A({ title: r, href: a, meta: s, preview: f, defaultOpen: p = !1, open: g, onOpenChange: y, previewLabel: b, className: C }) {
47
+ let { size: k, titleAs: A } = x(O), j = S(), [M, N] = w(p), P = g !== void 0, F = P ? g : M, I = f != null;
48
+ function L() {
49
+ let e = !F;
50
+ P || N(e), y?.(e);
51
+ }
52
+ return /* @__PURE__ */ D("li", {
53
+ className: e(o, C),
54
+ children: [
55
+ s == null ? null : /* @__PURE__ */ E("div", {
56
+ className: c,
57
+ children: s
58
+ }),
59
+ /* @__PURE__ */ D("div", {
60
+ className: m,
61
+ children: [/* @__PURE__ */ E(A, {
62
+ className: e(h, _[k]),
63
+ children: /* @__PURE__ */ E(n, {
64
+ variant: "quiet",
65
+ href: a,
66
+ children: r
67
+ })
68
+ }), I ? /* @__PURE__ */ E(t, {
69
+ size: "md",
70
+ className: v[k],
71
+ icon: /* @__PURE__ */ E(T, { className: e(i, F && "rotate-180") }),
72
+ "aria-label": b ?? `Preview: ${r}`,
73
+ title: "",
74
+ "aria-expanded": F,
75
+ "aria-controls": j,
76
+ onClick: L
77
+ }) : null]
78
+ }),
79
+ I ? /* @__PURE__ */ E("div", {
80
+ className: e("motion-collapse", l),
81
+ "data-visible": F ? "true" : "false",
82
+ children: /* @__PURE__ */ E("div", {
83
+ id: j,
84
+ className: d,
85
+ children: /* @__PURE__ */ E("div", {
86
+ className: u,
87
+ children: f
88
+ })
89
+ })
90
+ }) : null
91
+ ]
92
+ });
93
+ }
94
+ var j = Object.assign(k, { Item: A });
95
+ //#endregion
96
+ export { j as IndexList, p as indexListSizes, g as indexListTitleElements };
@@ -0,0 +1,29 @@
1
+ export declare const indexListSizes: readonly ["lg", "md", "sm"];
2
+ /** Title scale — `lg` type-display-3, `md` type-heading-1, `sm` type-heading-3. */
3
+ export type IndexListSize = (typeof indexListSizes)[number];
4
+ export declare const indexListTitleElements: readonly ["h2", "h3", "h4"];
5
+ export type IndexListTitleElement = (typeof indexListTitleElements)[number];
6
+ export declare const indexListRootClasses = "@container flex w-full min-w-0 flex-col";
7
+ /** Column captions — hidden below 32rem, where the rows are one column. */
8
+ export declare const indexListCaptionsClasses: string;
9
+ export declare const indexListListClasses = "m-0 list-none p-0 border-t border-border";
10
+ /** With captions, their rule is the list's top rule — until they hide in one column. */
11
+ export declare const indexListListCaptionedClasses = "@lg:border-t-0";
12
+ /** One row: meta over the title in one column; meta beside it on two tracks, on the title's first baseline. */
13
+ export declare const indexListItemClasses: string;
14
+ export declare const indexListMetaClasses: string;
15
+ /** Title cell — the linked title, then the preview control at the row's end. */
16
+ export declare const indexListTitleCellClasses = "flex min-w-0 items-start gap-3 @lg:col-start-2";
17
+ export declare const indexListTitleSizeClasses: Record<IndexListSize, string>;
18
+ export declare const indexListTitleClasses = "min-w-0 flex-1 text-pretty text-fg";
19
+ /** Centers the 44px preview control on the title's first line, at each size. */
20
+ export declare const indexListToggleAlignClasses: Record<IndexListSize, string>;
21
+ export declare const indexListChevronClasses: string;
22
+ export declare const indexListChevronOpenClasses = "rotate-180";
23
+ /** The preview panel sits under the title, in the title column. */
24
+ export declare const indexListPanelClasses = "@lg:col-start-2";
25
+ export declare const indexListPanelInnerClasses = "overflow-hidden";
26
+ export declare const indexListPanelContentClasses: string;
27
+ /** Empty state — between the same rules as the rows. */
28
+ export declare const indexListEmptyClasses = "border-y border-border py-8";
29
+ //# sourceMappingURL=indexListStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexListStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/IndexList/indexListStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,6BAA8B,CAAC;AAE1D,mFAAmF;AACnF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D,eAAO,MAAM,sBAAsB,6BAA8B,CAAC;AAElE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAU5E,eAAO,MAAM,oBAAoB,4CAA4C,CAAC;AAE9E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,QAIpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,6CAA6C,CAAC;AAE/E,wFAAwF;AACxF,eAAO,MAAM,6BAA6B,mBAAmB,CAAC;AAE9D,+GAA+G;AAC/G,eAAO,MAAM,oBAAoB,QAGhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAA+D,CAAC;AAEjG,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,mDAAmD,CAAC;AAE1F,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAInE,CAAC;AAEF,eAAO,MAAM,qBAAqB,uCAAuC,CAAC;AAE1E,gFAAgF;AAChF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAIrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAyD,CAAC;AAE9F,eAAO,MAAM,2BAA2B,eAAe,CAAC;AAExD,mEAAmE;AACnE,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AAEvD,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAE5D,eAAO,MAAM,4BAA4B,QAA4D,CAAC;AAEtG,wDAAwD;AACxD,eAAO,MAAM,qBAAqB,gCAAgC,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { cn as e } from "../../../lib/cn.js";
3
+ import { typographyClass as t } from "../../../lib/typography.js";
4
+ import { motionTransition as n } from "../../../lib/motion.js";
5
+ //#region src/components/molecules/IndexList/indexListStyles.ts
6
+ var r = [
7
+ "lg",
8
+ "md",
9
+ "sm"
10
+ ], i = [
11
+ "h2",
12
+ "h3",
13
+ "h4"
14
+ ], a = "@lg:grid @lg:grid-cols-[7.5rem_minmax(0,1fr)] @lg:gap-x-[var(--grid-column-gap,1.5rem)]", o = "@container flex w-full min-w-0 flex-col", s = e("@max-lg:hidden border-b border-border-emphasized pb-3 text-muted", a, t("eyebrow")), c = "m-0 list-none p-0 border-t border-border", l = "@lg:border-t-0", u = e("flex flex-col border-b border-border py-4 @lg:items-baseline", a), d = e(t("caption"), "mb-1 tabular-nums @lg:mb-0"), f = "flex min-w-0 items-start gap-3 @lg:col-start-2", p = {
15
+ lg: "type-display-3",
16
+ md: "type-heading-1",
17
+ sm: "type-heading-3"
18
+ }, m = "min-w-0 flex-1 text-pretty text-fg", h = {
19
+ lg: "mt-[calc((var(--text-display-3-size)*var(--text-display-3-leading)-2.75rem)/2)]",
20
+ md: "mt-[calc((var(--text-heading-1-size)*var(--text-heading-1-leading)-2.75rem)/2)]",
21
+ sm: "mt-[calc((var(--text-heading-3-size)*var(--text-heading-3-leading)-2.75rem)/2)]"
22
+ }, g = e("transition-transform", n("medium")), _ = "rotate-180", v = "@lg:col-start-2", y = "overflow-hidden", b = e(t("body"), "text-muted pt-2 pb-1 pr-14"), x = "border-y border-border py-8";
23
+ //#endregion
24
+ export { s as indexListCaptionsClasses, g as indexListChevronClasses, _ as indexListChevronOpenClasses, x as indexListEmptyClasses, u as indexListItemClasses, l as indexListListCaptionedClasses, c as indexListListClasses, d as indexListMetaClasses, v as indexListPanelClasses, b as indexListPanelContentClasses, y as indexListPanelInnerClasses, o as indexListRootClasses, r as indexListSizes, f as indexListTitleCellClasses, m as indexListTitleClasses, i as indexListTitleElements, p as indexListTitleSizeClasses, h as indexListToggleAlignClasses };
@@ -15,9 +15,10 @@ export declare const promptBarShellStartPadClasses: {
15
15
  };
16
16
  /**
17
17
  * Leading slot — a brand mark or avatar at the send circle's size (2.25rem), pinned to the
18
- * last line like the send control.
18
+ * last line like the send control. Its width is the content's, so a caller can fold the mark
19
+ * away: at zero width the field starts 1.25rem in, the same as without a slot.
19
20
  */
20
- export declare const promptBarStartSlotClasses = "mr-1 flex size-9 shrink-0 items-center justify-center";
21
+ export declare const promptBarStartSlotClasses = "mr-1 flex h-9 shrink-0 items-center justify-center";
21
22
  /** Trailing slot — extra inset controls (for example a mic **IconButton** `sm`) before send. */
22
23
  export declare const promptBarEndSlotClasses = "flex shrink-0 items-end gap-2";
23
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"promptBarStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/PromptBar/promptBarStyles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QAGN,CAAC;AAE7B;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,yBAAyB,0DAA0D,CAAC;AAEjG,gGAAgG;AAChG,eAAO,MAAM,uBAAuB,kCAAkC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAEf,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,oBAAoB,kFACgD,CAAC;AAElF,0DAA0D;AAC1D,eAAO,MAAM,yBAAyB,8DAA8D,CAAC;AAErG;;;GAGG;AACH,eAAO,MAAM,yBAAyB,qDAAqD,CAAC"}
1
+ {"version":3,"file":"promptBarStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/PromptBar/promptBarStyles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QAGN,CAAC;AAE7B;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uDAAuD,CAAC;AAE9F,gGAAgG;AAChG,eAAO,MAAM,uBAAuB,kCAAkC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAEf,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,oBAAoB,kFACgD,CAAC;AAElF,0DAA0D;AAC1D,eAAO,MAAM,yBAAyB,8DAA8D,CAAC;AAErG;;;GAGG;AACH,eAAO,MAAM,yBAAyB,qDAAqD,CAAC"}
@@ -4,6 +4,6 @@ import { focusRingTransitionClasses as e } from "../../../lib/motion.js";
4
4
  var t = "flex w-full items-end gap-2 rounded-[1.625rem] border border-border-control bg-surface p-2 focus-within:outline-none focus-within:ring-2 focus-within:ring-inset focus-within:ring-focus-ring " + e, n = {
5
5
  field: "pl-5",
6
6
  slot: "pl-2"
7
- }, r = "mr-1 flex size-9 shrink-0 items-center justify-center", i = "flex shrink-0 items-end gap-2", a = "min-h-9 min-w-0 flex-1 overflow-y-auto py-2 type-body [field-sizing:content] max-h-[4.75rem]", o = "focus-visible:!ring-0 focus-visible:!ring-offset-0 focus-visible:!shadow-none", s = "!bg-brand !text-on-brand hover:!bg-brand active:!bg-brand", c = "!bg-neutral !text-disabled disabled:!opacity-100";
7
+ }, r = "mr-1 flex h-9 shrink-0 items-center justify-center", i = "flex shrink-0 items-end gap-2", a = "min-h-9 min-w-0 flex-1 overflow-y-auto py-2 type-body [field-sizing:content] max-h-[4.75rem]", o = "focus-visible:!ring-0 focus-visible:!ring-offset-0 focus-visible:!shadow-none", s = "!bg-brand !text-on-brand hover:!bg-brand active:!bg-brand", c = "!bg-neutral !text-disabled disabled:!opacity-100";
8
8
  //#endregion
9
9
  export { i as promptBarEndSlotClasses, a as promptBarFieldClasses, o as promptBarSendClasses, c as promptBarSendMutedClasses, s as promptBarSendReadyClasses, t as promptBarShellClasses, n as promptBarShellStartPadClasses, r as promptBarStartSlotClasses };
@@ -1,6 +1,7 @@
1
1
  import { type ReactElement, type ReactNode } from "react";
2
2
  import { type ChatDockPlacement } from "./chatDockStyles";
3
3
  export { chatDockPlacements, type ChatDockPlacement } from "./chatDockStyles";
4
+ export { ChatDockGate, chatDockGateDefaultLabels, type ChatDockGateLabels, type ChatDockGateProps, } from "./ChatDockGate";
4
5
  /** Layout-only — margin and placement. Not for colors or type. */
5
6
  export type ChatDockLayoutClassName = string;
6
7
  export interface ChatDockSuggestion {
@@ -15,11 +16,30 @@ export interface ChatDockSuggestion {
15
16
  */
16
17
  prompt?: string;
17
18
  }
19
+ /** The visitor's vote on a reply. `null` is no vote. */
20
+ export type ChatDockFeedback = "up" | "down" | null;
21
+ /** A short note under a reply — for example how sure the assistant was of its match. */
22
+ export interface ChatDockMessageMeta {
23
+ /** The note itself, short — for example "Match 99%". */
24
+ label: string;
25
+ /** What the note means, for screen readers — for example "How sure the assistant is that it matched your question." */
26
+ description?: string;
27
+ }
18
28
  export interface ChatDockMessage {
19
29
  id: string;
20
30
  role: "user" | "assistant";
21
31
  /** Text, or Markdown the app has already rendered. ChatDock does not parse Markdown. */
22
32
  content: ReactNode;
33
+ /** Replies only: the text **Copy** writes to the clipboard. Shows Copy under the reply. */
34
+ copyText?: string;
35
+ /** Replies only: a short muted note under the reply, such as the match score. */
36
+ meta?: ChatDockMessageMeta;
37
+ /**
38
+ * Replies only: the visitor's vote — `null` until they vote. The thumbs show on replies that carry
39
+ * it, when `onMessageFeedback` is passed. Leave it out on replies that take no vote, such as a
40
+ * summary of a form.
41
+ */
42
+ feedback?: ChatDockFeedback;
23
43
  }
24
44
  export interface ChatDockLabels {
25
45
  /** Close control. Default: "Close chat". */
@@ -30,12 +50,28 @@ export interface ChatDockLabels {
30
50
  conversation: string;
31
51
  /** Accessible name for the suggestion groups. Default: "Suggested questions". */
32
52
  suggestions: string;
53
+ /** Accessible name for the follow-ups under the latest reply. Default: "Suggested follow-ups". */
54
+ followUps: string;
33
55
  /** Accessible name for the field. Default: "Ask anything". */
34
56
  field: string;
35
57
  /** Send control. Default: "Send". */
36
58
  send: string;
59
+ /** Copy under a reply. Default: "Copy reply". */
60
+ copy: string;
61
+ /** Copy, once the reply is on the clipboard; also announced. Default: "Copied". */
62
+ copied: string;
63
+ /** Thumbs up under a reply. Default: "Mark this reply helpful". */
64
+ helpful: string;
65
+ /** Thumbs down under a reply. Default: "Mark this reply not helpful". */
66
+ notHelpful: string;
37
67
  }
38
68
  export declare const chatDockDefaultLabels: ChatDockLabels;
69
+ export declare const chatDockFollowUpsPlacements: readonly ["inline", "composer"];
70
+ /**
71
+ * `inline` — rows in the conversation, directly under the reply they belong to.
72
+ * `composer` — pills pinned between the conversation and the composer.
73
+ */
74
+ export type ChatDockFollowUpsPlacement = (typeof chatDockFollowUpsPlacements)[number];
39
75
  export interface ChatDockProps {
40
76
  /** Window title — usually the product or brand name. */
41
77
  title: string;
@@ -56,8 +92,32 @@ export interface ChatDockProps {
56
92
  suggestions?: ChatDockSuggestion[];
57
93
  /** Receives the visitor's message — typed, or a suggestion's `prompt`. */
58
94
  onSend: (prompt: string) => void;
59
- /** Every suggestion choice, including actions without a `prompt`. */
95
+ /** Every suggestion and follow-up choice, including actions without a `prompt`. */
60
96
  onSuggestionSelect?: (suggestion: ChatDockSuggestion) => void;
97
+ /**
98
+ * Follow-ups for the latest reply — one to three short items, the same shape and handlers as
99
+ * `suggestions`. Their `icon` is not shown: inline rows all lead with a corner-down-right arrow,
100
+ * and pills above the composer are text only. They show while the last message is an assistant
101
+ * reply and `thinking` is off, and disappear the moment the visitor sends. The app decides which
102
+ * replies get follow-ups and replaces or clears them with each reply.
103
+ */
104
+ followUps?: ChatDockSuggestion[];
105
+ /** Where follow-ups sit. Default: `inline`. */
106
+ followUpsPlacement?: ChatDockFollowUpsPlacement;
107
+ /**
108
+ * The visitor voted on a reply, or cleared their vote (`null`). Pass it to show thumbs up and down
109
+ * under finished replies that carry `feedback`; the app stores the vote and passes it back there.
110
+ */
111
+ onMessageFeedback?: (message: ChatDockMessage, value: ChatDockFeedback) => void;
112
+ /**
113
+ * A form in the composer's place — usually **ChatDock.Gate** with the steps of Start a project.
114
+ * While it is set and the window is open, it replaces the composer, and the suggestion rows,
115
+ * follow-ups, and disclaimer step aside; the conversation stays above it. Setting it opens the
116
+ * window and moves focus into it; clearing it brings the composer back with focus. Escape belongs
117
+ * to the gate (**ChatDock.Gate** closes on Escape); the window's close still folds the window, and
118
+ * the gate is there again when it reopens.
119
+ */
120
+ gate?: ReactNode;
61
121
  /** Controlled open state. */
62
122
  open?: boolean;
63
123
  defaultOpen?: boolean;
@@ -76,18 +136,68 @@ export declare function chatDockPillSuggestions(suggestions: readonly ChatDockSu
76
136
  /** Suggestion rows show until the conversation starts. */
77
137
  export declare function chatDockShowsSuggestionRows(suggestions: readonly ChatDockSuggestion[], messages: readonly ChatDockMessage[]): boolean;
78
138
  /**
79
- * Window reveal. Closed, the clip is the resting composer's strip at the bottom of the window
80
- * (full width, 3.25rem tall, pill radius); open, it is the whole card at the shell radius. Both
81
- * strings share one shape so Motion can interpolate them. The clip is cleared once open so the
82
- * card's shadow is not cut off.
139
+ * Follow-ups belong to the latest reply: it is the last message, no reply is pending, and the
140
+ * visitor has not sent anything since it arrived (`sentAfterId` is the last message id at send).
141
+ */
142
+ export declare function chatDockShowsFollowUps({ followUps, messages, thinking, sentAfterId, }: {
143
+ followUps: readonly ChatDockSuggestion[];
144
+ messages: readonly ChatDockMessage[];
145
+ thinking: boolean;
146
+ sentAfterId: string | null;
147
+ }): boolean;
148
+ /** What shows under a reply. `ready` is false while the reply is still arriving. */
149
+ export interface ChatDockReplyRow {
150
+ copy: boolean;
151
+ vote: boolean;
152
+ meta: boolean;
153
+ ready: boolean;
154
+ }
155
+ /**
156
+ * The row under a reply: Copy with `copyText`, the score with `meta`, and the thumbs when the app
157
+ * takes votes and the reply carries `feedback`. `null` for the visitor's turns and for replies with none of these. The latest reply
158
+ * is still arriving while `thinking` is on, so its row keeps its place but shows nothing yet.
159
+ */
160
+ export declare function chatDockReplyRow({ message, isLatest, thinking, takesVotes, }: {
161
+ message: ChatDockMessage;
162
+ isLatest: boolean;
163
+ thinking: boolean;
164
+ takesVotes: boolean;
165
+ }): ChatDockReplyRow | null;
166
+ /**
167
+ * Height of the open window where it grows out of the composer, in px: 40rem, or the viewport less
168
+ * 7rem when that is shorter. Inline specimens are 32rem.
169
+ */
170
+ export declare function chatDockOpenHeight(placement: ChatDockPlacement, viewportHeight: number, remPx: number): number;
171
+ /**
172
+ * The tallest a gate may be, in px: the window less its top padding, the header, the conversation
173
+ * kept in view above the gate (7rem), the gaps between them, and the space under the gate. Never
174
+ * below 12rem, so a gate stays usable when a phone keyboard leaves little room.
175
+ */
176
+ export declare function chatDockGateMaxHeight({ windowHeight, headerHeight, bottomInset, remPx, }: {
177
+ windowHeight: number;
178
+ headerHeight: number;
179
+ bottomInset: number;
180
+ remPx: number;
181
+ }): number;
182
+ /**
183
+ * How the window moves. `grow` (from `md`, and inline): it sits on the composer's bottom edge and
184
+ * grows up and out of it. `rise`: on phones it fills the screen and rises from the bottom edge.
185
+ */
186
+ export type ChatDockWindowMotion = "grow" | "rise";
187
+ /**
188
+ * Pinned prompt that opens into a chat window. At rest it is a **PromptBar** with the brand
189
+ * mark; hovering shows suggestion pills above it. Focusing or typing opens a non-modal window
190
+ * around the same composer — header, conversation, suggestion rows, and an optional disclaimer.
191
+ * Escape or Close folds it back into the bar. The page behind stays usable.
83
192
  */
84
- export declare const chatDockClosedClip = "inset(calc(100% - 3.25rem) 0rem 0rem 0rem round 1.625rem)";
85
- export declare const chatDockOpenClip = "inset(calc(0% - 0rem) 0rem 0rem 0rem round 1rem)";
193
+ declare function ChatDockRoot({ title, subtitle, mark, greeting, messages, thinking, suggestions, onSend, onSuggestionSelect, followUps, followUpsPlacement, onMessageFeedback, gate, open: openProp, defaultOpen, onOpenChange, placeholder, disclaimer, labels: labelsProp, placement, className, }: ChatDockProps): import("react").JSX.Element;
86
194
  /**
87
195
  * Pinned prompt that opens into a chat window. At rest it is a **PromptBar** with the brand
88
196
  * mark; hovering shows suggestion pills above it. Focusing or typing opens a non-modal window
89
- * in its place — header, conversation, suggestion rows, composer, and an optional disclaimer.
90
- * Escape or Close returns to the resting bar. The page behind stays usable.
197
+ * around the same composer. **ChatDock.Gate** is the multi-step form a `gate` puts in the
198
+ * composer's place.
91
199
  */
92
- export declare function ChatDock({ title, subtitle, mark, greeting, messages, thinking, suggestions, onSend, onSuggestionSelect, open: openProp, defaultOpen, onOpenChange, placeholder, disclaimer, labels: labelsProp, placement, className, }: ChatDockProps): import("react").JSX.Element;
200
+ export declare const ChatDock: typeof ChatDockRoot & {
201
+ Gate: import("react").ForwardRefExoticComponent<import("./ChatDockGate").ChatDockGateProps & import("react").RefAttributes<HTMLDivElement>>;
202
+ };
93
203
  //# sourceMappingURL=ChatDock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDock.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatDock/ChatDock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AASf,OAAO,EAgBL,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE9E,kEAAkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE7C,MAAM,WAAW,kBA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7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACjC,gGAAgG;IAChG,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC;AAED,wEAAwE;AACxE,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,SAAS,kBAAkB,EAAE,GAAG,kBAAkB,EAAE,CAExG;AAED,0DAA0D;AAC1D,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,SAAS,kBAAkB,EAAE,EAC1C,QAAQ,EAAE,SAAS,eAAe,EAAE,GACnC,OAAO,CAET;AAKD;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,8DAA8D,CAAC;AAC9F,eAAO,MAAM,gBAAgB,qDAAqD,CAAC;AAEnF;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAa,EACb,QAAgB,EAChB,WAAgB,EAChB,MAAM,EACN,kBAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,WAAmB,EACnB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,MAAM,EAAE,UAAU,EAClB,SAAmB,EACnB,SAAS,GACV,EAAE,aAAa,+BA0Qf"}
1
+ {"version":3,"file":"ChatDock.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatDock/ChatDock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAyBf,OAAO,EA+BL,KAAK,iBAAiB,EACvB,MAA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