@tulipfarm/sprout 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 (349) hide show
  1. package/README.md +45 -40
  2. package/dist/components/accordion.d.ts +2 -2
  3. package/dist/components/accordion.js +9 -9
  4. package/dist/components/agent-fanout.d.ts +2 -2
  5. package/dist/components/agent-fanout.js +65 -87
  6. package/dist/components/alert-dialog.d.ts +6 -6
  7. package/dist/components/alert-dialog.js +20 -20
  8. package/dist/components/alert.d.ts +6 -6
  9. package/dist/components/alert.js +13 -13
  10. package/dist/components/aspect-ratio.d.ts +2 -2
  11. package/dist/components/aspect-ratio.js +2 -2
  12. package/dist/components/attachment.d.ts +17 -17
  13. package/dist/components/attachment.js +82 -115
  14. package/dist/components/avatar.d.ts +10 -10
  15. package/dist/components/avatar.js +14 -14
  16. package/dist/components/badge.d.ts +4 -4
  17. package/dist/components/badge.js +18 -18
  18. package/dist/components/board.d.ts +107 -0
  19. package/dist/components/board.js +640 -0
  20. package/dist/components/brand-icon.d.ts +6 -6
  21. package/dist/components/brand-icon.js +55 -63
  22. package/dist/components/breadcrumb.d.ts +11 -11
  23. package/dist/components/breadcrumb.js +16 -18
  24. package/dist/components/button-group.d.ts +6 -6
  25. package/dist/components/button-group.js +14 -14
  26. package/dist/components/button.d.ts +11 -11
  27. package/dist/components/button.js +46 -56
  28. package/dist/components/calendar.d.ts +5 -5
  29. package/dist/components/calendar.js +44 -53
  30. package/dist/components/canvas.d.ts +4 -4
  31. package/dist/components/canvas.js +39 -46
  32. package/dist/components/card.d.ts +6 -6
  33. package/dist/components/card.js +17 -17
  34. package/dist/components/carousel.d.ts +7 -7
  35. package/dist/components/carousel.js +57 -75
  36. package/dist/components/chart.d.ts +5 -112
  37. package/dist/components/chart.js +5 -172
  38. package/dist/components/chat-confirmation.d.ts +13 -11
  39. package/dist/components/chat-confirmation.js +32 -38
  40. package/dist/components/chat-input.d.ts +4 -4
  41. package/dist/components/chat-input.js +74 -81
  42. package/dist/components/chat-plan.d.ts +2 -2
  43. package/dist/components/chat-plan.js +15 -20
  44. package/dist/components/chat-sources.d.ts +8 -8
  45. package/dist/components/chat-sources.js +18 -27
  46. package/dist/components/checkbox.d.ts +1 -1
  47. package/dist/components/checkbox.js +9 -9
  48. package/dist/components/choice-list.d.ts +2 -2
  49. package/dist/components/choice-list.js +16 -18
  50. package/dist/components/code-block.d.ts +5 -5
  51. package/dist/components/code-block.js +26 -26
  52. package/dist/components/collapsible.d.ts +1 -1
  53. package/dist/components/collapsible.js +7 -11
  54. package/dist/components/combobox.d.ts +3 -3
  55. package/dist/components/combobox.js +24 -24
  56. package/dist/components/command.d.ts +13 -13
  57. package/dist/components/command.js +61 -73
  58. package/dist/components/context-menu.d.ts +5 -5
  59. package/dist/components/context-menu.js +22 -22
  60. package/dist/components/dialog.d.ts +6 -6
  61. package/dist/components/dialog.js +23 -28
  62. package/dist/components/direction.d.ts +1 -1
  63. package/dist/components/direction.js +1 -1
  64. package/dist/components/dropdown-menu.d.ts +5 -5
  65. package/dist/components/dropdown-menu.js +20 -20
  66. package/dist/components/field.d.ts +11 -11
  67. package/dist/components/field.js +41 -61
  68. package/dist/components/file-explorer.d.ts +2 -2
  69. package/dist/components/file-explorer.js +89 -105
  70. package/dist/components/file-viewer.d.ts +10 -10
  71. package/dist/components/file-viewer.js +112 -140
  72. package/dist/components/form.d.ts +7 -7
  73. package/dist/components/form.js +24 -28
  74. package/dist/components/glass-banner.d.ts +3 -3
  75. package/dist/components/glass-banner.js +21 -24
  76. package/dist/components/gradient-banner.d.ts +5 -5
  77. package/dist/components/gradient-banner.js +13 -22
  78. package/dist/components/hover-card.d.ts +4 -4
  79. package/dist/components/hover-card.js +6 -6
  80. package/dist/components/input-group.d.ts +11 -11
  81. package/dist/components/input-group.js +22 -36
  82. package/dist/components/input-otp.d.ts +10 -10
  83. package/dist/components/input-otp.js +13 -15
  84. package/dist/components/input.d.ts +1 -1
  85. package/dist/components/input.js +7 -7
  86. package/dist/components/kbd.d.ts +3 -3
  87. package/dist/components/kbd.js +5 -5
  88. package/dist/components/label.d.ts +2 -2
  89. package/dist/components/label.js +2 -2
  90. package/dist/components/mention-list.d.ts +3 -3
  91. package/dist/components/mention-list.js +10 -10
  92. package/dist/components/menubar.d.ts +6 -6
  93. package/dist/components/menubar.js +22 -22
  94. package/dist/components/message-actions.d.ts +2 -2
  95. package/dist/components/message-actions.js +29 -31
  96. package/dist/components/message-response.d.ts +3 -3
  97. package/dist/components/message-response.js +18 -18
  98. package/dist/components/message-scroller.d.ts +12 -12
  99. package/dist/components/message-scroller.js +44 -56
  100. package/dist/components/message.d.ts +11 -11
  101. package/dist/components/message.js +25 -25
  102. package/dist/components/navigation-menu.d.ts +2 -2
  103. package/dist/components/navigation-menu.js +15 -15
  104. package/dist/components/notice-banner.d.ts +2 -2
  105. package/dist/components/notice-banner.js +2 -2
  106. package/dist/components/page-content.d.ts +2 -2
  107. package/dist/components/page-content.js +2 -2
  108. package/dist/components/page-header.d.ts +1 -1
  109. package/dist/components/page-header.js +16 -16
  110. package/dist/components/pagination.d.ts +9 -9
  111. package/dist/components/pagination.js +17 -17
  112. package/dist/components/plan-outline.d.ts +2 -2
  113. package/dist/components/plan-outline.js +43 -60
  114. package/dist/components/popover.d.ts +6 -6
  115. package/dist/components/popover.js +15 -15
  116. package/dist/components/presence-cursor.d.ts +2 -2
  117. package/dist/components/presence-cursor.js +3 -3
  118. package/dist/components/progress.d.ts +1 -1
  119. package/dist/components/progress.js +8 -8
  120. package/dist/components/prompt-list.d.ts +3 -3
  121. package/dist/components/prompt-list.js +6 -6
  122. package/dist/components/questionnaire.d.ts +19 -19
  123. package/dist/components/questionnaire.js +183 -242
  124. package/dist/components/radio-group.d.ts +2 -2
  125. package/dist/components/radio-group.js +6 -6
  126. package/dist/components/reasoning-effort.d.ts +3 -3
  127. package/dist/components/reasoning-effort.js +9 -12
  128. package/dist/components/record-list.d.ts +66 -0
  129. package/dist/components/record-list.js +151 -0
  130. package/dist/components/resizable.d.ts +5 -5
  131. package/dist/components/resizable.js +76 -102
  132. package/dist/components/result-card.d.ts +10 -5
  133. package/dist/components/result-card.js +42 -53
  134. package/dist/components/result-notice.d.ts +18 -0
  135. package/dist/components/result-notice.js +29 -0
  136. package/dist/components/review-card.d.ts +6 -6
  137. package/dist/components/review-card.js +18 -18
  138. package/dist/components/rich-text-editor.d.ts +2 -2
  139. package/dist/components/rich-text-editor.js +56 -72
  140. package/dist/components/schema-diagram.d.ts +3 -3
  141. package/dist/components/schema-diagram.js +39 -53
  142. package/dist/components/scroll-area.d.ts +1 -1
  143. package/dist/components/scroll-area.js +10 -14
  144. package/dist/components/search-dialog.d.ts +6 -6
  145. package/dist/components/search-dialog.js +16 -16
  146. package/dist/components/search-field.d.ts +1 -1
  147. package/dist/components/search-field.js +11 -11
  148. package/dist/components/select.d.ts +3 -3
  149. package/dist/components/select.js +20 -20
  150. package/dist/components/selection-slot.d.ts +2 -2
  151. package/dist/components/selection-slot.js +6 -9
  152. package/dist/components/separator.d.ts +15 -15
  153. package/dist/components/separator.js +22 -27
  154. package/dist/components/settings-list.d.ts +3 -3
  155. package/dist/components/settings-list.js +5 -5
  156. package/dist/components/sheet.d.ts +6 -6
  157. package/dist/components/sheet.js +27 -27
  158. package/dist/components/sidebar.d.ts +22 -22
  159. package/dist/components/sidebar.js +57 -58
  160. package/dist/components/skeleton.d.ts +5 -5
  161. package/dist/components/skeleton.js +14 -21
  162. package/dist/components/slider.d.ts +2 -2
  163. package/dist/components/slider.js +6 -6
  164. package/dist/components/spinner.d.ts +5 -5
  165. package/dist/components/spinner.js +22 -26
  166. package/dist/components/sql-viewer.d.ts +14 -14
  167. package/dist/components/sql-viewer.js +99 -128
  168. package/dist/components/state-panel-samples.d.ts +2 -2
  169. package/dist/components/state-panel-samples.js +209 -245
  170. package/dist/components/state-panel.d.ts +2 -35
  171. package/dist/components/state-panel.js +2 -29
  172. package/dist/components/state-sample.d.ts +7 -7
  173. package/dist/components/state-sample.js +18 -31
  174. package/dist/components/switch.d.ts +1 -1
  175. package/dist/components/switch.js +7 -7
  176. package/dist/components/table-nuqs.d.ts +2 -2
  177. package/dist/components/table-nuqs.js +11 -12
  178. package/dist/components/table.d.ts +4 -4
  179. package/dist/components/table.js +166 -235
  180. package/dist/components/tabs.d.ts +2 -2
  181. package/dist/components/tabs.js +12 -12
  182. package/dist/components/textarea.d.ts +2 -2
  183. package/dist/components/textarea.js +6 -8
  184. package/dist/components/timeline.d.ts +3 -0
  185. package/dist/components/timeline.js +3 -0
  186. package/dist/components/toast.d.ts +2 -2
  187. package/dist/components/toast.js +19 -25
  188. package/dist/components/toggle-group.d.ts +2 -2
  189. package/dist/components/toggle-group.js +18 -20
  190. package/dist/components/toggle.d.ts +2 -2
  191. package/dist/components/toggle.js +8 -8
  192. package/dist/components/tool-activity.d.ts +1 -1
  193. package/dist/components/tool-activity.js +83 -110
  194. package/dist/components/toolbar-status.d.ts +2 -2
  195. package/dist/components/toolbar-status.js +7 -7
  196. package/dist/components/tooltip.d.ts +5 -5
  197. package/dist/components/tooltip.js +12 -11
  198. package/dist/components/typed-text.d.ts +2 -2
  199. package/dist/components/typed-text.js +10 -12
  200. package/dist/components/view-switcher.d.ts +51 -0
  201. package/dist/components/view-switcher.js +114 -0
  202. package/dist/index.d.ts +98 -93
  203. package/dist/index.js +98 -93
  204. package/dist/internal/chart-kit.d.ts +142 -0
  205. package/dist/internal/chart-kit.js +200 -0
  206. package/dist/internal/charts/bars.d.ts +61 -0
  207. package/dist/internal/charts/bars.js +86 -0
  208. package/dist/internal/charts/lines.d.ts +67 -0
  209. package/dist/internal/charts/lines.js +70 -0
  210. package/dist/internal/charts/more.d.ts +77 -0
  211. package/dist/internal/charts/more.js +68 -0
  212. package/dist/internal/charts/parts.d.ts +54 -0
  213. package/dist/internal/charts/parts.js +82 -0
  214. package/dist/internal/charts/timeline-dates.d.ts +38 -0
  215. package/dist/internal/charts/timeline-dates.js +113 -0
  216. package/dist/internal/charts/timeline-window.d.ts +31 -0
  217. package/dist/internal/charts/timeline-window.js +26 -0
  218. package/dist/internal/charts/timeline.d.ts +72 -0
  219. package/dist/internal/charts/timeline.js +287 -0
  220. package/dist/internal/classes.d.ts +1 -1
  221. package/dist/internal/classes.js +7 -9
  222. package/dist/internal/code-tokens.d.ts +2 -2
  223. package/dist/internal/code-tokens.js +12 -12
  224. package/dist/internal/fieldset.d.ts +1 -1
  225. package/dist/internal/fieldset.js +6 -6
  226. package/dist/internal/file-kind.d.ts +1 -1
  227. package/dist/internal/file-kind.js +43 -51
  228. package/dist/internal/flow.d.ts +4 -4
  229. package/dist/internal/flow.js +20 -23
  230. package/dist/internal/languages.js +999 -999
  231. package/dist/internal/message-scroller.d.ts +3 -3
  232. package/dist/internal/message-scroller.js +64 -112
  233. package/dist/internal/pressable.d.ts +1 -1
  234. package/dist/internal/pressable.js +7 -7
  235. package/dist/internal/state-panel.d.ts +35 -0
  236. package/dist/internal/state-panel.js +22 -0
  237. package/dist/internal/syntax.d.ts +2 -2
  238. package/dist/internal/syntax.js +36 -47
  239. package/dist/styles/accordion.css +3 -5
  240. package/dist/styles/agent-fanout.css +64 -60
  241. package/dist/styles/alert-dialog.css +12 -26
  242. package/dist/styles/alert.css +10 -15
  243. package/dist/styles/attachment.css +51 -93
  244. package/dist/styles/avatar.css +17 -24
  245. package/dist/styles/badge.css +11 -36
  246. package/dist/styles/board.css +571 -0
  247. package/dist/styles/brand-icon.css +7 -8
  248. package/dist/styles/breadcrumb.css +4 -7
  249. package/dist/styles/button-group.css +8 -14
  250. package/dist/styles/button.css +22 -27
  251. package/dist/styles/calendar.css +24 -36
  252. package/dist/styles/canvas.css +2 -3
  253. package/dist/styles/card.css +7 -23
  254. package/dist/styles/carousel.css +11 -12
  255. package/dist/styles/chart.css +215 -31
  256. package/dist/styles/chat-input.css +15 -39
  257. package/dist/styles/chat-plan.css +3 -4
  258. package/dist/styles/chat-sources.css +3 -6
  259. package/dist/styles/checkbox.css +11 -25
  260. package/dist/styles/choice-list.css +17 -31
  261. package/dist/styles/code-block.css +11 -25
  262. package/dist/styles/collapsible.css +10 -15
  263. package/dist/styles/combobox.css +11 -15
  264. package/dist/styles/command.css +5 -8
  265. package/dist/styles/context-menu.css +2 -2
  266. package/dist/styles/dialog.css +5 -16
  267. package/dist/styles/dropdown-menu.css +2 -2
  268. package/dist/styles/field.css +15 -21
  269. package/dist/styles/file-explorer.css +19 -33
  270. package/dist/styles/file-viewer.css +13 -17
  271. package/dist/styles/form.css +3 -3
  272. package/dist/styles/glass-banner.css +12 -47
  273. package/dist/styles/gradient-banner.css +17 -35
  274. package/dist/styles/hover-card.css +9 -15
  275. package/dist/styles/index.css +116 -108
  276. package/dist/styles/input-group.css +25 -41
  277. package/dist/styles/input-otp.css +5 -6
  278. package/dist/styles/input.css +5 -5
  279. package/dist/styles/kbd.css +1 -1
  280. package/dist/styles/label.css +9 -30
  281. package/dist/styles/mention-list.css +6 -8
  282. package/dist/styles/menubar.css +5 -6
  283. package/dist/styles/message-actions.css +1 -1
  284. package/dist/styles/message-response.css +3 -5
  285. package/dist/styles/message-scroller.css +14 -21
  286. package/dist/styles/message.css +23 -60
  287. package/dist/styles/navigation-menu.css +14 -29
  288. package/dist/styles/notice-banner.css +1 -2
  289. package/dist/styles/page-header.css +7 -10
  290. package/dist/styles/pagination.css +1 -4
  291. package/dist/styles/plan-outline.css +20 -37
  292. package/dist/styles/popover.css +10 -19
  293. package/dist/styles/presence-cursor.css +1 -2
  294. package/dist/styles/progress.css +2 -4
  295. package/dist/styles/prompt-list.css +6 -17
  296. package/dist/styles/questionnaire.css +16 -40
  297. package/dist/styles/radio-group.css +12 -23
  298. package/dist/styles/reasoning-effort.css +8 -15
  299. package/dist/styles/record-list.css +243 -0
  300. package/dist/styles/resizable.css +10 -11
  301. package/dist/styles/result-card.css +17 -3
  302. package/dist/styles/result-notice.css +80 -0
  303. package/dist/styles/review-card.css +2 -3
  304. package/dist/styles/rich-text-editor.css +1 -2
  305. package/dist/styles/schema-diagram.css +12 -17
  306. package/dist/styles/scroll-area.css +8 -10
  307. package/dist/styles/search-dialog.css +1 -5
  308. package/dist/styles/search-field.css +1 -2
  309. package/dist/styles/select.css +7 -7
  310. package/dist/styles/selection-slot.css +1 -2
  311. package/dist/styles/separator.css +7 -8
  312. package/dist/styles/settings-list.css +1 -2
  313. package/dist/styles/sheet.css +40 -73
  314. package/dist/styles/sidebar.css +17 -21
  315. package/dist/styles/skeleton.css +9 -11
  316. package/dist/styles/slider.css +11 -21
  317. package/dist/styles/spinner.css +2 -2
  318. package/dist/styles/sql-viewer.css +29 -29
  319. package/dist/styles/state-panel.css +8 -9
  320. package/dist/styles/state-sample.css +20 -33
  321. package/dist/styles/switch.css +11 -18
  322. package/dist/styles/table.css +51 -77
  323. package/dist/styles/tabs.css +12 -16
  324. package/dist/styles/textarea.css +3 -3
  325. package/dist/styles/themes/chatgpt.css +11 -23
  326. package/dist/styles/themes/claude.css +12 -24
  327. package/dist/styles/themes/cloudflare.css +11 -23
  328. package/dist/styles/themes/discord.css +11 -23
  329. package/dist/styles/themes/github.css +11 -23
  330. package/dist/styles/themes/grok.css +11 -23
  331. package/dist/styles/themes/linear.css +12 -25
  332. package/dist/styles/themes/neutral.css +11 -23
  333. package/dist/styles/themes/notion.css +11 -23
  334. package/dist/styles/themes/perplexity.css +11 -23
  335. package/dist/styles/themes/raycast.css +11 -23
  336. package/dist/styles/themes/spotify.css +11 -23
  337. package/dist/styles/themes/stripe.css +11 -23
  338. package/dist/styles/themes/supabase.css +11 -23
  339. package/dist/styles/themes/tulipfarm.css +9 -10
  340. package/dist/styles/themes/vercel.css +12 -25
  341. package/dist/styles/timeline.css +276 -0
  342. package/dist/styles/toast.css +13 -20
  343. package/dist/styles/toggle-group.css +17 -23
  344. package/dist/styles/toggle.css +8 -8
  345. package/dist/styles/tool-activity.css +7 -13
  346. package/dist/styles/toolbar-status.css +2 -7
  347. package/dist/styles/tooltip.css +15 -21
  348. package/dist/styles/view-switcher.css +279 -0
  349. package/package.json +21 -1
@@ -1,252 +1,236 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BookOpen } from "reicon-react/icons/BookOpen";
3
- import { BranchDown } from "reicon-react/icons/BranchDown";
4
- import { ChatRound } from "reicon-react/icons/ChatRound";
5
- import { Checklist } from "reicon-react/icons/Checklist";
6
- import { Cpu } from "reicon-react/icons/Cpu";
7
- import { Database } from "reicon-react/icons/Database";
8
- import { Envelope } from "reicon-react/icons/Envelope";
9
- import { Files } from "reicon-react/icons/Files";
10
- import { Folder } from "reicon-react/icons/Folder";
11
- import { People } from "reicon-react/icons/People";
12
- import { Plug } from "reicon-react/icons/Plug";
13
- import { ShieldUser } from "reicon-react/icons/ShieldUser";
14
- import { User } from "reicon-react/icons/User";
15
- import { Users } from "reicon-react/icons/Users";
16
- import { FileTypeIcon } from "./attachment.js";
17
- import { AgentAvatar } from "./avatar.js";
18
- import { Badge } from "./badge.js";
19
- import { BrandIcon } from "./brand-icon.js";
20
- import { SampleBar, SampleIconTile, SampleList, SampleMark, SampleTable, SampleText, SampleWindow, } from "./state-sample.js";
2
+ import { BookOpen } from 'reicon-react/icons/BookOpen';
3
+ import { BranchDown } from 'reicon-react/icons/BranchDown';
4
+ import { ChatRound } from 'reicon-react/icons/ChatRound';
5
+ import { Checklist } from 'reicon-react/icons/Checklist';
6
+ import { Cpu } from 'reicon-react/icons/Cpu';
7
+ import { Database } from 'reicon-react/icons/Database';
8
+ import { Envelope } from 'reicon-react/icons/Envelope';
9
+ import { Files } from 'reicon-react/icons/Files';
10
+ import { Folder } from 'reicon-react/icons/Folder';
11
+ import { People } from 'reicon-react/icons/People';
12
+ import { Plug } from 'reicon-react/icons/Plug';
13
+ import { ShieldUser } from 'reicon-react/icons/ShieldUser';
14
+ import { User } from 'reicon-react/icons/User';
15
+ import { Users } from 'reicon-react/icons/Users';
16
+ import { FileTypeIcon } from './attachment.js';
17
+ import { AgentAvatar } from './avatar.js';
18
+ import { Badge } from './badge.js';
19
+ import { BrandIcon } from './brand-icon.js';
20
+ import { SampleBar, SampleIconTile, SampleList, SampleMark, SampleTable, SampleText, SampleWindow, } from './state-sample.js';
21
21
  const muted = (text) => _jsx(SampleText, { tone: "muted", children: text });
22
22
  const strong = (text) => _jsx(SampleText, { tone: "strong", children: text });
23
23
  const named = (tone, text) => (_jsxs(_Fragment, { children: [_jsx(SampleMark, { tone: tone }), strong(text)] }));
24
- const agent = (id, name) => (_jsx(AgentAvatar, { agentId: id, name: name, size: "sm" }));
25
- const badge = (variant, text) => _jsx(Badge, { variant: variant, children: text });
24
+ const agent = (id, name) => _jsx(AgentAvatar, { agentId: id, name: name, size: "sm" });
25
+ const badge = (variant, text) => (_jsx(Badge, { variant: variant, children: text }));
26
26
  export function ChatsSample(props) {
27
27
  const chat = _jsx(SampleIconTile, { icon: ChatRound });
28
- return (_jsx(SampleWindow, { ...props, icon: ChatRound, trail: ["Chats"], tabs: ["Active", "Archived"], children: _jsx(SampleList, { items: [
28
+ return (_jsx(SampleWindow, { ...props, icon: ChatRound, trail: ['Chats'], tabs: ['Active', 'Archived'], children: _jsx(SampleList, { items: [
29
29
  {
30
30
  leading: chat,
31
- title: "Which invoices are overdue this week?",
32
- detail: "Found 7 invoices across 4 customers",
33
- trailing: muted("2m ago"),
31
+ title: 'Which invoices are overdue this week?',
32
+ detail: 'Found 7 invoices across 4 customers',
33
+ trailing: muted('2m ago'),
34
34
  },
35
35
  {
36
36
  leading: chat,
37
- title: "Draft a follow-up for Northwind",
38
- detail: "Draft ready for your review",
39
- trailing: muted("1h ago"),
37
+ title: 'Draft a follow-up for Northwind',
38
+ detail: 'Draft ready for your review',
39
+ trailing: muted('1h ago'),
40
40
  },
41
41
  {
42
42
  leading: chat,
43
- title: "Add a Suppliers table",
44
- detail: "Name, contact, payment terms, region",
45
- trailing: muted("Yesterday"),
43
+ title: 'Add a Suppliers table',
44
+ detail: 'Name, contact, payment terms, region',
45
+ trailing: muted('Yesterday'),
46
46
  },
47
47
  {
48
48
  leading: chat,
49
- title: "Summarize last month’s orders",
50
- detail: "312 orders, up 18% on September",
51
- trailing: muted("Sep 30"),
49
+ title: 'Summarize last month’s orders',
50
+ detail: '312 orders, up 18% on September',
51
+ trailing: muted('Sep 30'),
52
52
  },
53
53
  {
54
54
  leading: chat,
55
- title: "Who owns the Acme renewal?",
56
- detail: "Assigned to the Sales team",
57
- trailing: muted("Sep 28"),
55
+ title: 'Who owns the Acme renewal?',
56
+ detail: 'Assigned to the Sales team',
57
+ trailing: muted('Sep 28'),
58
58
  },
59
59
  ] }) }));
60
60
  }
61
- const file = (name, mediaType) => (_jsx(FileTypeIcon, { name: name, mediaType: mediaType }));
61
+ const file = (name, mediaType) => _jsx(FileTypeIcon, { name: name, mediaType: mediaType });
62
62
  export function FilesSample(props) {
63
63
  const folder = _jsx(SampleIconTile, { icon: Folder });
64
- return (_jsx(SampleWindow, { ...props, icon: Files, trail: ["Files", "My files"], children: _jsx(SampleList, { items: [
64
+ return (_jsx(SampleWindow, { ...props, icon: Files, trail: ['Files', 'My files'], children: _jsx(SampleList, { items: [
65
65
  {
66
66
  leading: folder,
67
- title: "Supplier contracts",
68
- detail: "Folder · Shared with Purchasing",
69
- trailing: muted("You"),
67
+ title: 'Supplier contracts',
68
+ detail: 'Folder · Shared with Purchasing',
69
+ trailing: muted('You'),
70
70
  },
71
71
  {
72
72
  leading: folder,
73
- title: "Month-end close",
74
- detail: "Folder",
75
- trailing: muted("You"),
73
+ title: 'Month-end close',
74
+ detail: 'Folder',
75
+ trailing: muted('You'),
76
76
  },
77
77
  {
78
- leading: file("Price list 2026.xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),
79
- title: "Price list 2026.xlsx",
80
- detail: "Spreadsheet · 48 KB",
81
- trailing: muted("You"),
78
+ leading: file('Price list 2026.xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'),
79
+ title: 'Price list 2026.xlsx',
80
+ detail: 'Spreadsheet · 48 KB',
81
+ trailing: muted('You'),
82
82
  },
83
83
  {
84
- leading: file("Returns policy.pdf", "application/pdf"),
85
- title: "Returns policy.pdf",
86
- detail: "PDF · 212 KB",
87
- trailing: muted("You"),
84
+ leading: file('Returns policy.pdf', 'application/pdf'),
85
+ title: 'Returns policy.pdf',
86
+ detail: 'PDF · 212 KB',
87
+ trailing: muted('You'),
88
88
  },
89
89
  {
90
- leading: file("Onboarding checklist.docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"),
91
- title: "Onboarding checklist.docx",
92
- detail: "Document · 31 KB",
93
- trailing: muted("You"),
90
+ leading: file('Onboarding checklist.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'),
91
+ title: 'Onboarding checklist.docx',
92
+ detail: 'Document · 31 KB',
93
+ trailing: muted('You'),
94
94
  },
95
95
  ] }) }));
96
96
  }
97
97
  export function AgentsSample(props) {
98
- return (_jsx(SampleWindow, { ...props, icon: Users, trail: ["Agents"], children: _jsx(SampleList, { items: [
98
+ return (_jsx(SampleWindow, { ...props, icon: Users, trail: ['Agents'], children: _jsx(SampleList, { items: [
99
99
  {
100
- leading: agent("sample-collections", "Collections assistant"),
101
- title: "Collections assistant",
102
- detail: "Follows up on overdue invoices",
103
- trailing: badge("success", "Active"),
100
+ leading: agent('sample-collections', 'Collections assistant'),
101
+ title: 'Collections assistant',
102
+ detail: 'Follows up on overdue invoices',
103
+ trailing: badge('success', 'Active'),
104
104
  },
105
105
  {
106
- leading: agent("sample-onboarding", "Onboarding guide"),
107
- title: "Onboarding guide",
108
- detail: "Welcomes new customers and books kickoffs",
109
- trailing: badge("success", "Active"),
106
+ leading: agent('sample-onboarding', 'Onboarding guide'),
107
+ title: 'Onboarding guide',
108
+ detail: 'Welcomes new customers and books kickoffs',
109
+ trailing: badge('success', 'Active'),
110
110
  },
111
111
  {
112
- leading: agent("sample-inventory", "Inventory watcher"),
113
- title: "Inventory watcher",
114
- detail: "Flags products below reorder level",
115
- trailing: badge("secondary", "Draft"),
112
+ leading: agent('sample-inventory', 'Inventory watcher'),
113
+ title: 'Inventory watcher',
114
+ detail: 'Flags products below reorder level',
115
+ trailing: badge('secondary', 'Draft'),
116
116
  },
117
117
  {
118
- leading: agent("sample-support", "Support triage"),
119
- title: "Support triage",
120
- detail: "Routes new tickets to the right team",
121
- trailing: badge("success", "Active"),
118
+ leading: agent('sample-support', 'Support triage'),
119
+ title: 'Support triage',
120
+ detail: 'Routes new tickets to the right team',
121
+ trailing: badge('success', 'Active'),
122
122
  },
123
123
  {
124
- leading: agent("sample-reports", "Weekly reporter"),
125
- title: "Weekly reporter",
126
- detail: "Posts pipeline numbers every Monday",
127
- trailing: badge("secondary", "Draft"),
124
+ leading: agent('sample-reports', 'Weekly reporter'),
125
+ title: 'Weekly reporter',
126
+ detail: 'Posts pipeline numbers every Monday',
127
+ trailing: badge('secondary', 'Draft'),
128
128
  },
129
129
  ] }) }));
130
130
  }
131
131
  export function ProjectsSample(props) {
132
- return (_jsxs(SampleWindow, { ...props, icon: Folder, trail: ["Projects"], children: [_jsx("p", { className: "sprout-state-panel-samples-group", children: "Active projects" }), _jsx(SampleList, { items: [
132
+ return (_jsxs(SampleWindow, { ...props, icon: Folder, trail: ['Projects'], children: [_jsx("p", { className: "sprout-state-panel-samples-group", children: "Active projects" }), _jsx(SampleList, { items: [
133
133
  {
134
- title: "Spring launch",
135
- detail: "Use the launch brief for dates and messaging.",
134
+ title: 'Spring launch',
135
+ detail: 'Use the launch brief for dates and messaging.',
136
136
  },
137
137
  {
138
- title: "Customer onboarding",
139
- detail: "Keep kickoff notes and customer setup guides here.",
138
+ title: 'Customer onboarding',
139
+ detail: 'Keep kickoff notes and customer setup guides here.',
140
140
  },
141
141
  {
142
- title: "Supplier review",
143
- detail: "Compare quotes against our purchasing guidelines.",
142
+ title: 'Supplier review',
143
+ detail: 'Compare quotes against our purchasing guidelines.',
144
144
  },
145
145
  ] }), _jsx("p", { className: "sprout-state-panel-samples-group", children: "Archived projects" }), _jsx(SampleList, { items: [
146
146
  {
147
- title: "Summer catalogue",
148
- detail: "Use the approved product descriptions.",
149
- trailing: badge("secondary", "Archived"),
147
+ title: 'Summer catalogue',
148
+ detail: 'Use the approved product descriptions.',
149
+ trailing: badge('secondary', 'Archived'),
150
150
  },
151
151
  ] })] }));
152
152
  }
153
153
  export function AgentTasksSample(props) {
154
- return (_jsx(SampleWindow, { ...props, icon: Checklist, trail: ["My agent tasks"], children: _jsx(SampleList, { items: [
154
+ return (_jsx(SampleWindow, { ...props, icon: Checklist, trail: ['My agent tasks'], children: _jsx(SampleList, { items: [
155
155
  {
156
- leading: agent("sample-collections", "Collections assistant"),
157
- title: "Send reminders for invoices past 30 days",
158
- detail: "Collections assistant · Started 4m ago",
159
- trailing: badge("warning", "Needs review"),
156
+ leading: agent('sample-collections', 'Collections assistant'),
157
+ title: 'Send reminders for invoices past 30 days',
158
+ detail: 'Collections assistant · Started 4m ago',
159
+ trailing: badge('warning', 'Needs review'),
160
160
  },
161
161
  {
162
- leading: agent("sample-onboarding", "Onboarding guide"),
163
- title: "Book a kickoff with Contoso",
164
- detail: "Onboarding guide · Started 1h ago",
165
- trailing: badge("success", "Completed"),
162
+ leading: agent('sample-onboarding', 'Onboarding guide'),
163
+ title: 'Book a kickoff with Contoso',
164
+ detail: 'Onboarding guide · Started 1h ago',
165
+ trailing: badge('success', 'Completed'),
166
166
  },
167
167
  {
168
- leading: agent("sample-inventory", "Inventory watcher"),
169
- title: "List products below reorder level",
170
- detail: "Inventory watcher · Started today",
171
- trailing: badge("success", "Completed"),
168
+ leading: agent('sample-inventory', 'Inventory watcher'),
169
+ title: 'List products below reorder level',
170
+ detail: 'Inventory watcher · Started today',
171
+ trailing: badge('success', 'Completed'),
172
172
  },
173
173
  {
174
- leading: agent("sample-support", "Support triage"),
175
- title: "Tag this week’s billing tickets",
176
- detail: "Support triage · Started yesterday",
177
- trailing: badge("secondary", "Pending"),
174
+ leading: agent('sample-support', 'Support triage'),
175
+ title: 'Tag this week’s billing tickets',
176
+ detail: 'Support triage · Started yesterday',
177
+ trailing: badge('secondary', 'Pending'),
178
178
  },
179
179
  ] }) }));
180
180
  }
181
181
  export function SkillsSample(props) {
182
182
  const skill = _jsx(SampleIconTile, { icon: BookOpen });
183
- return (_jsx(SampleWindow, { ...props, icon: BookOpen, trail: ["Skills"], tabs: ["Workspace", "Built-in"], children: _jsx(SampleList, { items: [
183
+ return (_jsx(SampleWindow, { ...props, icon: BookOpen, trail: ['Skills'], tabs: ['Workspace', 'Built-in'], children: _jsx(SampleList, { items: [
184
184
  {
185
185
  leading: skill,
186
- title: "Qualify an inbound lead",
187
- detail: "Check budget, timeline, and decision maker",
188
- trailing: badge("success", "Approved"),
186
+ title: 'Qualify an inbound lead',
187
+ detail: 'Check budget, timeline, and decision maker',
188
+ trailing: badge('success', 'Approved'),
189
189
  },
190
190
  {
191
191
  leading: skill,
192
- title: "Prepare a quarterly review",
193
- detail: "Pull revenue, churn, and open risks",
194
- trailing: badge("success", "Approved"),
192
+ title: 'Prepare a quarterly review',
193
+ detail: 'Pull revenue, churn, and open risks',
194
+ trailing: badge('success', 'Approved'),
195
195
  },
196
196
  {
197
197
  leading: skill,
198
- title: "Handle a refund request",
199
- detail: "Verify the order, then propose a refund",
200
- trailing: badge("warning", "In review"),
198
+ title: 'Handle a refund request',
199
+ detail: 'Verify the order, then propose a refund',
200
+ trailing: badge('warning', 'In review'),
201
201
  },
202
202
  {
203
203
  leading: skill,
204
- title: "Write a supplier follow-up",
205
- detail: "Friendly tone, confirm delivery dates",
206
- trailing: badge("secondary", "Draft"),
204
+ title: 'Write a supplier follow-up',
205
+ detail: 'Friendly tone, confirm delivery dates',
206
+ trailing: badge('secondary', 'Draft'),
207
207
  },
208
208
  ] }) }));
209
209
  }
210
210
  export function WorkflowsSample(props) {
211
- const active = badge("success", "Active");
212
- const draft = badge("secondary", "Draft");
213
- return (_jsx(SampleWindow, { ...props, icon: BranchDown, trail: ["Workflows"], children: _jsx(SampleTable, { columns: [
214
- { label: "Workflow", size: "wide" },
215
- { label: "Trigger" },
216
- { label: "Status", size: "narrow" },
217
- ], rows: [
218
- [
219
- named("green", "Approve large discounts"),
220
- muted("New quote"),
221
- active,
222
- ],
223
- [named("blue", "Onboard a new customer"), muted("Deal won"), active],
224
- [named("orange", "Reorder low stock"), muted("Daily, 8:00"), draft],
225
- [
226
- named("violet", "Escalate urgent tickets"),
227
- muted("New ticket"),
228
- active,
229
- ],
230
- [
231
- named("red", "Chase unsigned contracts"),
232
- muted("Weekly, Mon"),
233
- draft,
234
- ],
211
+ const active = badge('success', 'Active');
212
+ const draft = badge('secondary', 'Draft');
213
+ return (_jsx(SampleWindow, { ...props, icon: BranchDown, trail: ['Workflows'], children: _jsx(SampleTable, { columns: [{ label: 'Workflow', size: 'wide' }, { label: 'Trigger' }, { label: 'Status', size: 'narrow' }], rows: [
214
+ [named('green', 'Approve large discounts'), muted('New quote'), active],
215
+ [named('blue', 'Onboard a new customer'), muted('Deal won'), active],
216
+ [named('orange', 'Reorder low stock'), muted('Daily, 8:00'), draft],
217
+ [named('violet', 'Escalate urgent tickets'), muted('New ticket'), active],
218
+ [named('red', 'Chase unsigned contracts'), muted('Weekly, Mon'), draft],
235
219
  ] }) }));
236
220
  }
237
221
  export function TablesSample(props) {
238
222
  const rows = [
239
- ["blue", "Customers", "12", "1,248"],
240
- ["green", "Invoices", "9", "3,902"],
241
- ["orange", "Orders", "14", "8,417"],
242
- ["violet", "Products", "8", "326"],
243
- ["red", "Suppliers", "7", "58"],
244
- ["teal", "Support tickets", "10", "2,031"],
223
+ ['blue', 'Customers', '12', '1,248'],
224
+ ['green', 'Invoices', '9', '3,902'],
225
+ ['orange', 'Orders', '14', '8,417'],
226
+ ['violet', 'Products', '8', '326'],
227
+ ['red', 'Suppliers', '7', '58'],
228
+ ['teal', 'Support tickets', '10', '2,031'],
245
229
  ];
246
- return (_jsx(SampleWindow, { ...props, icon: Database, trail: ["Tables"], children: _jsx(SampleTable, { columns: [
247
- { label: "Table", size: "wide" },
248
- { label: "Fields", size: "narrow" },
249
- { label: "Rows", size: "narrow" },
230
+ return (_jsx(SampleWindow, { ...props, icon: Database, trail: ['Tables'], children: _jsx(SampleTable, { columns: [
231
+ { label: 'Table', size: 'wide' },
232
+ { label: 'Fields', size: 'narrow' },
233
+ { label: 'Rows', size: 'narrow' },
250
234
  ], rows: rows.map(([tone, name, fields, count]) => [
251
235
  named(tone, name),
252
236
  _jsx(SampleText, { children: fields }),
@@ -254,170 +238,150 @@ export function TablesSample(props) {
254
238
  ]) }) }));
255
239
  }
256
240
  const recordRows = [
257
- ["blue", "lg", "md"],
258
- ["green", "md", "sm"],
259
- ["orange", "sm", "lg"],
260
- ["violet", "md", "md"],
261
- ["red", "lg", "sm"],
262
- ["teal", "sm", "md"],
241
+ ['blue', 'lg', 'md'],
242
+ ['green', 'md', 'sm'],
243
+ ['orange', 'sm', 'lg'],
244
+ ['violet', 'md', 'md'],
245
+ ['red', 'lg', 'sm'],
246
+ ['teal', 'sm', 'md'],
263
247
  ];
264
248
  export function RecordsSample({ table, fields, ...props }) {
265
249
  const shown = fields.slice(0, 3);
266
250
  const columns = shown.length
267
251
  ? shown.map((label, index) => ({
268
252
  label,
269
- size: index === 0 ? "wide" : "default",
253
+ size: index === 0 ? 'wide' : 'default',
270
254
  }))
271
- : [{ label: "Row", size: "wide" }];
272
- return (_jsx(SampleWindow, { ...props, icon: Database, trail: ["Tables", table], children: _jsx(SampleTable, { columns: columns, rows: recordRows.map(([tone, first, rest]) => columns.map((_, column) => column === 0 ? (_jsxs(_Fragment, { children: [_jsx(SampleMark, { tone: tone }), _jsx(SampleBar, { width: first })] })) : (_jsx(SampleBar, { width: column % 2 ? rest : first })))) }) }));
255
+ : [{ label: 'Row', size: 'wide' }];
256
+ return (_jsx(SampleWindow, { ...props, icon: Database, trail: ['Tables', table], children: _jsx(SampleTable, { columns: columns, rows: recordRows.map(([tone, first, rest]) => columns.map((_, column) => column === 0 ? (_jsxs(_Fragment, { children: [_jsx(SampleMark, { tone: tone }), _jsx(SampleBar, { width: first })] })) : (_jsx(SampleBar, { width: column % 2 ? rest : first })))) }) }));
273
257
  }
274
258
  export function CreateInChatSample(props) {
275
- return (_jsx(SampleWindow, { ...props, icon: ChatRound, trail: ["New chat"], children: _jsxs("div", { className: "sprout-state-panel-samples-chat", children: [_jsx("p", { className: "sprout-state-panel-samples-bubble", children: "Track our suppliers with a name, contact email, payment terms, and region." }), _jsxs("p", { className: "sprout-state-panel-samples-reply", children: ["I\u2019ll create a ", _jsx("strong", { children: "Suppliers" }), " table with these fields. Review the schema before approving."] }), _jsx("div", { className: "sprout-state-panel-samples-schema", children: _jsx(SampleTable, { columns: [{ label: "Field", size: "wide" }, { label: "Type" }], rows: [
276
- [strong("Name"), muted("Text")],
277
- [strong("Contact email"), muted("Email")],
278
- [strong("Payment terms"), muted("Choice")],
279
- [strong("Region"), muted("Choice")],
259
+ return (_jsx(SampleWindow, { ...props, icon: ChatRound, trail: ['New chat'], children: _jsxs("div", { className: "sprout-state-panel-samples-chat", children: [_jsx("p", { className: "sprout-state-panel-samples-bubble", children: "Track our suppliers with a name, contact email, payment terms, and region." }), _jsxs("p", { className: "sprout-state-panel-samples-reply", children: ["I\u2019ll create a ", _jsx("strong", { children: "Suppliers" }), " table with these fields. Review the schema before approving."] }), _jsx("div", { className: "sprout-state-panel-samples-schema", children: _jsx(SampleTable, { columns: [{ label: 'Field', size: 'wide' }, { label: 'Type' }], rows: [
260
+ [strong('Name'), muted('Text')],
261
+ [strong('Contact email'), muted('Email')],
262
+ [strong('Payment terms'), muted('Choice')],
263
+ [strong('Region'), muted('Choice')],
280
264
  ] }) })] }) }));
281
265
  }
282
266
  export function IntegrationsSample(props) {
283
- const connected = badge("success", "Connected");
284
- return (_jsx(SampleWindow, { ...props, icon: Plug, trail: ["Integrations"], tabs: ["Connected", "All"], children: _jsx(SampleList, { items: [
267
+ const connected = badge('success', 'Connected');
268
+ return (_jsx(SampleWindow, { ...props, icon: Plug, trail: ['Integrations'], tabs: ['Connected', 'All'], children: _jsx(SampleList, { items: [
285
269
  {
286
270
  leading: _jsx(BrandIcon, { brand: "slack", size: "sm" }),
287
- title: "Slack",
288
- detail: "Agents reply in #sales and #support",
271
+ title: 'Slack',
272
+ detail: 'Agents reply in #sales and #support',
289
273
  trailing: connected,
290
274
  },
291
275
  {
292
276
  leading: _jsx(BrandIcon, { brand: "gmail", size: "sm" }),
293
- title: "Gmail",
294
- detail: "Reads new mail for heartbeat answers",
277
+ title: 'Gmail',
278
+ detail: 'Reads new mail for heartbeat answers',
295
279
  trailing: connected,
296
280
  },
297
281
  {
298
282
  leading: _jsx(BrandIcon, { brand: "google-calendar", size: "sm" }),
299
- title: "Google Calendar",
300
- detail: "Books meetings after your approval",
283
+ title: 'Google Calendar',
284
+ detail: 'Books meetings after your approval',
301
285
  trailing: connected,
302
286
  },
303
287
  {
304
288
  leading: _jsx(BrandIcon, { brand: "github", size: "sm" }),
305
- title: "GitHub",
306
- detail: "Files issues for the product team",
289
+ title: 'GitHub',
290
+ detail: 'Files issues for the product team',
307
291
  trailing: connected,
308
292
  },
309
293
  {
310
294
  leading: _jsx(BrandIcon, { brand: "jira", size: "sm" }),
311
- title: "Jira",
312
- detail: "Searches the Support board",
313
- trailing: badge("warning", "Needs attention"),
295
+ title: 'Jira',
296
+ detail: 'Searches the Support board',
297
+ trailing: badge('warning', 'Needs attention'),
314
298
  },
315
299
  ] }) }));
316
300
  }
317
301
  export function ModelsSample(props) {
318
- return (_jsx(SampleWindow, { ...props, icon: Cpu, trail: ["Settings", "Models"], children: _jsx(SampleList, { items: [
302
+ return (_jsx(SampleWindow, { ...props, icon: Cpu, trail: ['Settings', 'Models'], children: _jsx(SampleList, { items: [
319
303
  {
320
304
  leading: _jsx(BrandIcon, { brand: "claude", size: "sm" }),
321
- title: "Claude",
322
- detail: "Default for chat and agents",
323
- trailing: badge("success", "Enabled"),
305
+ title: 'Claude',
306
+ detail: 'Default for chat and agents',
307
+ trailing: badge('success', 'Enabled'),
324
308
  },
325
309
  {
326
310
  leading: _jsx(BrandIcon, { brand: "openai", size: "sm" }),
327
- title: "GPT",
328
- detail: "Available to the Analytics team",
329
- trailing: badge("success", "Enabled"),
311
+ title: 'GPT',
312
+ detail: 'Available to the Analytics team',
313
+ trailing: badge('success', 'Enabled'),
330
314
  },
331
315
  {
332
316
  leading: _jsx(BrandIcon, { brand: "deepseek", size: "sm" }),
333
- title: "DeepSeek",
334
- detail: "Not available to any team",
335
- trailing: badge("secondary", "Off"),
317
+ title: 'DeepSeek',
318
+ detail: 'Not available to any team',
319
+ trailing: badge('secondary', 'Off'),
336
320
  },
337
321
  {
338
322
  leading: _jsx(BrandIcon, { brand: "kimi", size: "sm" }),
339
- title: "Kimi",
340
- detail: "Not available to any team",
341
- trailing: badge("secondary", "Off"),
323
+ title: 'Kimi',
324
+ detail: 'Not available to any team',
325
+ trailing: badge('secondary', 'Off'),
342
326
  },
343
327
  ] }) }));
344
328
  }
345
329
  export function MembersSample(props) {
346
- const admin = badge("info", "Admin");
347
- const member = badge("secondary", "Member");
348
- return (_jsx(SampleWindow, { ...props, icon: User, trail: ["Settings", "Members"], children: _jsx(SampleTable, { columns: [
349
- { label: "Member", size: "wide" },
350
- { label: "Role", size: "narrow" },
351
- { label: "Teams" },
352
- ], rows: [
353
- [named("violet", "Maya Chen"), admin, muted("Operations")],
354
- [named("orange", "Leo Martins"), member, muted("Sales, Support")],
355
- [named("green", "Priya Nair"), member, muted("Finance")],
356
- [named("blue", "Sam Okafor"), member, muted("Support")],
357
- [named("red", "Ines Duarte"), admin, muted("Operations")],
330
+ const admin = badge('info', 'Admin');
331
+ const member = badge('secondary', 'Member');
332
+ return (_jsx(SampleWindow, { ...props, icon: User, trail: ['Settings', 'Members'], children: _jsx(SampleTable, { columns: [{ label: 'Member', size: 'wide' }, { label: 'Role', size: 'narrow' }, { label: 'Teams' }], rows: [
333
+ [named('violet', 'Maya Chen'), admin, muted('Operations')],
334
+ [named('orange', 'Leo Martins'), member, muted('Sales, Support')],
335
+ [named('green', 'Priya Nair'), member, muted('Finance')],
336
+ [named('blue', 'Sam Okafor'), member, muted('Support')],
337
+ [named('red', 'Ines Duarte'), admin, muted('Operations')],
358
338
  ] }) }));
359
339
  }
360
340
  export function TeamsSample(props) {
361
- return (_jsx(SampleWindow, { ...props, icon: People, trail: ["Settings", "Teams"], children: _jsx(SampleList, { items: [
341
+ return (_jsx(SampleWindow, { ...props, icon: People, trail: ['Settings', 'Teams'], children: _jsx(SampleList, { items: [
362
342
  {
363
343
  leading: _jsx(SampleMark, { tone: "blue", size: "md" }),
364
- title: "Sales",
365
- detail: "Pipeline, quotes, and renewals · 8 members",
344
+ title: 'Sales',
345
+ detail: 'Pipeline, quotes, and renewals · 8 members',
366
346
  },
367
347
  {
368
348
  leading: _jsx(SampleMark, { tone: "green", size: "md" }),
369
- title: "Finance",
370
- detail: "Invoices and collections · 3 members",
349
+ title: 'Finance',
350
+ detail: 'Invoices and collections · 3 members',
371
351
  },
372
352
  {
373
353
  leading: _jsx(SampleMark, { tone: "orange", size: "md" }),
374
- title: "Support",
375
- detail: "Tickets and refunds · 6 members",
354
+ title: 'Support',
355
+ detail: 'Tickets and refunds · 6 members',
376
356
  },
377
357
  {
378
358
  leading: _jsx(SampleMark, { tone: "violet", size: "md" }),
379
- title: "Operations",
380
- detail: "Inventory and suppliers · 4 members",
359
+ title: 'Operations',
360
+ detail: 'Inventory and suppliers · 4 members',
381
361
  },
382
362
  ] }) }));
383
363
  }
384
364
  export function InvitationsSample(props) {
385
365
  const link = (email) => _jsx(SampleText, { tone: "link", children: email });
386
- return (_jsx(SampleWindow, { ...props, icon: Envelope, trail: ["Settings", "Members", "Invitations"], children: _jsx(SampleTable, { columns: [
387
- { label: "Email", size: "wide" },
388
- { label: "Status", size: "narrow" },
389
- { label: "Email delivery" },
390
- ], rows: [
391
- [
392
- link("maya@northwind.co"),
393
- badge("info", "active"),
394
- muted("Delivered"),
395
- ],
396
- [
397
- link("leo@northwind.co"),
398
- badge("secondary", "Accepted"),
399
- muted("Delivered"),
400
- ],
401
- [link("priya@northwind.co"), badge("info", "active"), muted("Sent")],
402
- [
403
- link("sam@northwind.co"),
404
- badge("secondary", "expired"),
405
- muted("Delivered"),
406
- ],
366
+ return (_jsx(SampleWindow, { ...props, icon: Envelope, trail: ['Settings', 'Members', 'Invitations'], children: _jsx(SampleTable, { columns: [{ label: 'Email', size: 'wide' }, { label: 'Status', size: 'narrow' }, { label: 'Email delivery' }], rows: [
367
+ [link('maya@northwind.co'), badge('info', 'active'), muted('Delivered')],
368
+ [link('leo@northwind.co'), badge('secondary', 'Accepted'), muted('Delivered')],
369
+ [link('priya@northwind.co'), badge('info', 'active'), muted('Sent')],
370
+ [link('sam@northwind.co'), badge('secondary', 'expired'), muted('Delivered')],
407
371
  ] }) }));
408
372
  }
409
373
  export function GrantsSample(props) {
410
- const granted = badge("success", "Granted");
411
- const none = muted("None");
412
- return (_jsx(SampleWindow, { ...props, icon: ShieldUser, trail: ["Settings", "Table access"], tabs: ["Sales", "Finance", "Support"], children: _jsx(SampleTable, { columns: [
413
- { label: "Table", size: "wide" },
414
- { label: "Read", size: "narrow" },
415
- { label: "Edit", size: "narrow" },
374
+ const granted = badge('success', 'Granted');
375
+ const none = muted('None');
376
+ return (_jsx(SampleWindow, { ...props, icon: ShieldUser, trail: ['Settings', 'Table access'], tabs: ['Sales', 'Finance', 'Support'], children: _jsx(SampleTable, { columns: [
377
+ { label: 'Table', size: 'wide' },
378
+ { label: 'Read', size: 'narrow' },
379
+ { label: 'Edit', size: 'narrow' },
416
380
  ], rows: [
417
- [named("blue", "Customers"), granted, granted],
418
- [named("green", "Invoices"), granted, none],
419
- [named("orange", "Orders"), granted, granted],
420
- [named("violet", "Products"), granted, none],
421
- [named("red", "Suppliers"), none, none],
381
+ [named('blue', 'Customers'), granted, granted],
382
+ [named('green', 'Invoices'), granted, none],
383
+ [named('orange', 'Orders'), granted, granted],
384
+ [named('violet', 'Products'), granted, none],
385
+ [named('red', 'Suppliers'), none, none],
422
386
  ] }) }));
423
387
  }