@orbitcommerce/constellation-docs 1.3.0 → 1.6.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 (24) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/pages/{_overlays-specimens-bawR331Z.js → _overlays-specimens-Dyq80YsZ.js} +1 -0
  3. package/dist/pages/{caret-suggestions-oHI6QvqW.js → caret-suggestions-SG5QItaj.js} +2 -2
  4. package/dist/pages/{chat-composer-CwzUJYIa.js → chat-composer-Cs8bqdKw.js} +134 -35
  5. package/dist/pages/{combobox-DvK2j5tI.js → combobox-D7T7_HJG.js} +10 -6
  6. package/dist/pages/{command-palette-CJ7uBA04.js → command-palette-LOcRn3b0.js} +3 -2
  7. package/dist/pages/{composer-D4B0NgpA.js → composer-Bbs91N6X.js} +14 -3
  8. package/dist/pages/{date-picker-GdBciR99.js → date-picker-siKHQhfk.js} +1 -1
  9. package/dist/pages/{dialog-CRpkRC98.js → dialog-0r2bo9O8.js} +1 -1
  10. package/dist/pages/{facet-filters-McbBeY9e.js → facet-filters-P57IT6JT.js} +1 -1
  11. package/dist/pages/{filter-pill-DzqNOsD4.js → filter-pill-vtyxSXiK.js} +1 -1
  12. package/dist/pages/{installation-BMhneI9u.js → installation-Dpywhl_Q.js} +1 -1
  13. package/dist/pages/{logo-pmHCkArD.js → logo-C7sCj-lB.js} +1 -1
  14. package/dist/pages/{menu-NrLYKqKp.js → menu-D-4ssxKd.js} +1 -1
  15. package/dist/pages/{message-thread-Bo4zbxqu.js → message-thread-Dp87HJE9.js} +18 -0
  16. package/dist/pages/{overview-CT0A0qFa.js → overview-DdZk6rI3.js} +1 -1
  17. package/dist/pages/{popover-C3Oar9D5.js → popover-BjRdZrGM.js} +1 -1
  18. package/dist/pages/{registry-BraP_Jwt.js → registry-CGg0CBVG.js} +18 -18
  19. package/dist/pages/{release-CBaMurIe.js → release-DyoIRDMj.js} +1 -1
  20. package/dist/pages/{select-DZ43NpOm.js → select-DqQNbaoD.js} +1 -1
  21. package/dist/pages/{toast-zXLRiMRT.js → toast-CuoDQua9.js} +1 -1
  22. package/dist/pages/{tooltip-LHtCUkF-.js → tooltip-CrZjoSce.js} +7 -1
  23. package/manifest.json +5 -5
  24. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { a as useDocsHost, i as docsHref, n as DocsHostProvider, o as useDocumentTheme, t as DocLink } from "./pages/host-B6znjEgQ.js";
3
- import { t as CONSTELLATION_VERSION } from "./pages/release-CBaMurIe.js";
4
- import { a as pageAt, i as navSections, n as GROUPS, r as PAGES } from "./pages/registry-BraP_Jwt.js";
3
+ import { t as CONSTELLATION_VERSION } from "./pages/release-DyoIRDMj.js";
4
+ import { a as pageAt, i as navSections, n as GROUPS, r as PAGES } from "./pages/registry-CGg0CBVG.js";
5
5
  import "@orbitcommerce/constellation/fonts.css";
6
6
  import "@orbitcommerce/constellation/styles.css";
7
7
  import "./docs.css";
@@ -208,6 +208,7 @@ function PaletteStill({ query, placeholder = "Search orders, products, customers
208
208
  zIndex: "auto",
209
209
  width: "100%",
210
210
  maxWidth: 640,
211
+ maxHeight: "none",
211
212
  ...style
212
213
  },
213
214
  children: [/* @__PURE__ */ jsx("span", { className: "o-command__shadow" }), /* @__PURE__ */ jsx("div", {
@@ -408,8 +408,8 @@ function Page() {
408
408
  },
409
409
  {
410
410
  name: "onOpenChange",
411
- type: "(open: boolean) => void",
412
- description: "Told as it opens and closes."
411
+ type: "(open: boolean, trigger?: string) => void",
412
+ description: "Told as it opens and closes, with the trigger of the source it shows, and again as an open list moves to another source."
413
413
  },
414
414
  {
415
415
  name: "labels",
@@ -42,6 +42,33 @@ var SAVED = {
42
42
  empty: "No saved replies yet.",
43
43
  noMatch: "No saved reply matches."
44
44
  };
45
+ var TEAM = [
46
+ {
47
+ id: "priya",
48
+ label: "Priya Shah",
49
+ description: "Support"
50
+ },
51
+ {
52
+ id: "tom",
53
+ label: "Tom Reed",
54
+ description: "Warehouse"
55
+ },
56
+ {
57
+ id: "grace",
58
+ label: "Grace Liu",
59
+ description: "Accounts"
60
+ }
61
+ ];
62
+ /** An "@" that mentions a teammate, offered only in a note: each pick goes in as "@Name" and adds a chip. */
63
+ var MENTION = {
64
+ trigger: "@",
65
+ label: "Mention a teammate",
66
+ mode: "note",
67
+ chip: true,
68
+ search: (query) => matchSuggestions(TEAM, query),
69
+ onSelect: (person) => `@${person.label} `,
70
+ noMatch: "No one on the team matches."
71
+ };
45
72
  var colours = [
46
73
  "#3f8f85",
47
74
  "#4a6fa5",
@@ -242,10 +269,17 @@ function Page() {
242
269
  /* @__PURE__ */ jsx("strong", { children: "Typing:" }),
243
270
  " ",
244
271
  /* @__PURE__ */ jsx("code", { children: "onTypingChange(true)" }),
245
- " on the first keystroke with words, then",
246
- " ",
272
+ " on the first keystroke with words and again every 3s while the keystrokes go on, so a receiver that clears \"is typing\" after a few quiet seconds keeps it up through a long reply; then ",
247
273
  /* @__PURE__ */ jsx("code", { children: "false" }),
248
- " 2.5s after the last, on a send, on switching to a note and when it goes. A note never types."
274
+ " 2.5s after the last keystroke, on a send, as the box becomes a note (by its switch or by the page's ",
275
+ /* @__PURE__ */ jsx("code", { children: "mode" }),
276
+ ") and when it goes. A note never types."
277
+ ] }),
278
+ /* @__PURE__ */ jsxs("li", { children: [
279
+ /* @__PURE__ */ jsx("strong", { children: "Enter:" }),
280
+ " sends, and Shift and Enter adds a line. On a phone, whose keyboard has no Shift and Enter, Enter adds a line and Send (or Ctrl or Cmd and Enter) sends, so a reply can run to paragraphs and steps (",
281
+ /* @__PURE__ */ jsx("code", { children: "enterSends" }),
282
+ ")."
249
283
  ] }),
250
284
  /* @__PURE__ */ jsxs("li", { children: [
251
285
  /* @__PURE__ */ jsx("strong", { children: "Saved replies:" }),
@@ -254,6 +288,22 @@ function Page() {
254
288
  /* @__PURE__ */ jsx("code", { children: "onSelect" }),
255
289
  "), and takes the token's place, or goes in at the caret from the button."
256
290
  ] }),
291
+ /* @__PURE__ */ jsxs("li", { children: [
292
+ /* @__PURE__ */ jsx("strong", { children: "Sources of your own:" }),
293
+ " ",
294
+ /* @__PURE__ */ jsx("code", { children: "suggestions" }),
295
+ " adds caret sources after the saved replies, each opened by its trigger while writing the kind of message its ",
296
+ /* @__PURE__ */ jsx("code", { children: "mode" }),
297
+ " names: an \"@\" that mentions a teammate belongs to notes. With ",
298
+ /* @__PURE__ */ jsx("code", { children: "chip" }),
299
+ " a pick also adds a chip over the field, handed to ",
300
+ /* @__PURE__ */ jsx("code", { children: "onSend" }),
301
+ " as its third argument; the page can keep the chips with the draft (",
302
+ /* @__PURE__ */ jsx("code", { children: "mentions" }),
303
+ ", ",
304
+ /* @__PURE__ */ jsx("code", { children: "onMentionsChange" }),
305
+ ")."
306
+ ] }),
257
307
  /* @__PURE__ */ jsxs("li", { children: [
258
308
  /* @__PURE__ */ jsx("strong", { children: "Assist:" }),
259
309
  " your ",
@@ -274,38 +324,70 @@ function Page() {
274
324
  /* @__PURE__ */ jsxs(Section$1, {
275
325
  id: "states",
276
326
  title: "States",
277
- children: [/* @__PURE__ */ jsx(SubSection, {
278
- title: "An internal note",
279
- description: /* @__PURE__ */ jsx("p", { children: "The card takes the warning wash and an amber hairline, and the send says Add note." }),
280
- children: /* @__PURE__ */ jsx(Example, {
281
- align: "fill",
282
- code: `<ChatComposer defaultMode="note" onSend={send} />`,
283
- children: /* @__PURE__ */ jsx("div", {
284
- className: "chat-specimen",
285
- children: /* @__PURE__ */ jsx(ChatComposer, {
286
- defaultMode: "note",
287
- defaultValue: "Second scratch this week from the same batch.",
288
- onSend: () => {}
327
+ children: [
328
+ /* @__PURE__ */ jsx(SubSection, {
329
+ title: "An internal note",
330
+ description: /* @__PURE__ */ jsx("p", { children: "The card takes the warning wash and an amber hairline, and the send says Add note." }),
331
+ children: /* @__PURE__ */ jsx(Example, {
332
+ align: "fill",
333
+ code: `<ChatComposer defaultMode="note" onSend={send} />`,
334
+ children: /* @__PURE__ */ jsx("div", {
335
+ className: "chat-specimen",
336
+ children: /* @__PURE__ */ jsx(ChatComposer, {
337
+ defaultMode: "note",
338
+ defaultValue: "Second scratch this week from the same batch.",
339
+ onSend: () => {}
340
+ })
289
341
  })
290
342
  })
291
- })
292
- }), /* @__PURE__ */ jsx(SubSection, {
293
- title: "Without access",
294
- description: /* @__PURE__ */ jsx("p", { children: "Off, focusable, the send and saved replies saying why." }),
295
- children: /* @__PURE__ */ jsx(Example, {
296
- align: "fill",
297
- code: `<ChatComposer disabled disabledReason="Live chat is not on this plan." onSend={send} />`,
298
- children: /* @__PURE__ */ jsx("div", {
299
- className: "chat-specimen",
300
- children: /* @__PURE__ */ jsx(ChatComposer, {
301
- disabled: true,
302
- disabledReason: "Live chat is not on this plan. Upgrade to reply.",
303
- savedReplies: SAVED,
304
- onSend: () => {}
343
+ }),
344
+ /* @__PURE__ */ jsx(SubSection, {
345
+ title: "Mentions in a note",
346
+ description: /* @__PURE__ */ jsxs("p", { children: [
347
+ "A source of your own with ",
348
+ /* @__PURE__ */ jsx("code", { children: "mode: 'note'" }),
349
+ " and ",
350
+ /* @__PURE__ */ jsx("code", { children: "chip" }),
351
+ ": type \"@\" in a note to mention a teammate. Each pick goes in as \"@Name\", adds a chip over the field and is handed to ",
352
+ /* @__PURE__ */ jsx("code", { children: "onSend" }),
353
+ " with the words. A reply never offers it, and switching to a reply takes its chips away. The \"@Name\" words stay in the draft, so a page that mentions in notes only takes them out, or asks, before such a draft goes as a reply."
354
+ ] }),
355
+ children: /* @__PURE__ */ jsx(Example, {
356
+ align: "fill",
357
+ code: `<ChatComposer
358
+ defaultMode="note"
359
+ suggestions={[{ trigger: '@', label: 'Mention a teammate', mode: 'note', chip: true, search: findTeammates, onSelect: (person) => \`@\${person.label} \` }]}
360
+ onSend={(text, mode, mentions) => addNote.mutateAsync({ text, mentionedAgentIds: mentions.map((m) => m.id) })}
361
+ />`,
362
+ children: /* @__PURE__ */ jsx("div", {
363
+ className: "chat-specimen",
364
+ children: /* @__PURE__ */ jsx(ChatComposer, {
365
+ defaultMode: "note",
366
+ defaultValue: "Can you check the courier's photos, ",
367
+ suggestions: [MENTION],
368
+ onSend: () => {}
369
+ })
370
+ })
371
+ })
372
+ }),
373
+ /* @__PURE__ */ jsx(SubSection, {
374
+ title: "Without access",
375
+ description: /* @__PURE__ */ jsx("p", { children: "Off, focusable, the send and saved replies saying why." }),
376
+ children: /* @__PURE__ */ jsx(Example, {
377
+ align: "fill",
378
+ code: `<ChatComposer disabled disabledReason="Live chat is not on this plan." onSend={send} />`,
379
+ children: /* @__PURE__ */ jsx("div", {
380
+ className: "chat-specimen",
381
+ children: /* @__PURE__ */ jsx(ChatComposer, {
382
+ disabled: true,
383
+ disabledReason: "Live chat is not on this plan. Upgrade to reply.",
384
+ savedReplies: SAVED,
385
+ onSend: () => {}
386
+ })
305
387
  })
306
388
  })
307
389
  })
308
- })]
390
+ ]
309
391
  }),
310
392
  /* @__PURE__ */ jsx(Section$1, {
311
393
  id: "both-themes",
@@ -339,7 +421,7 @@ function Page() {
339
421
  children: /* @__PURE__ */ jsx(Guidelines, { items: [
340
422
  "The Reply and Internal note switch is a radio group named \"Message type\".",
341
423
  "The tools are one toolbar named \"Message tools\": one stop in the tab order, the arrow keys moving between them (the other way round in a right-to-left page), each a named button with its name as a tip. The send is a stop of its own.",
342
- "The saved replies button is pressed while its list is open, and focus stays in the field while it is.",
424
+ "The saved replies button is pressed while its own list is open (not another source’s), and focus stays in the field while it is.",
343
425
  "An assist that rewrites the draft says so politely, each time, and its Undo is the next control.",
344
426
  "A send that fails puts the draft back and says so in the composer’s status line."
345
427
  ] })
@@ -350,9 +432,9 @@ function Page() {
350
432
  children: /* @__PURE__ */ jsx(PropsTable, { rows: [
351
433
  {
352
434
  name: "onSend",
353
- type: "(text, mode) => void | Promise",
435
+ type: "(text, mode, mentions) => void | Promise",
354
436
  required: true,
355
- description: "Called with the words and the mode. A rejected promise puts the draft back."
437
+ description: "Called with the words, the mode and the chips the picks added. A rejected promise puts the draft and its chips back."
356
438
  },
357
439
  {
358
440
  name: "mode, defaultMode, onModeChange",
@@ -368,7 +450,7 @@ function Page() {
368
450
  {
369
451
  name: "onTypingChange",
370
452
  type: "(typing: boolean) => void",
371
- description: "Typing starts and stops (2.5s idle)."
453
+ description: "Typing starts, goes on (every 3s while the keystrokes do) and stops (2.5s idle)."
372
454
  },
373
455
  {
374
456
  name: "resolved",
@@ -381,6 +463,17 @@ function Page() {
381
463
  type: "CaretSuggestionSource",
382
464
  description: "Opened by a leading \"/\" and the Saved replies button."
383
465
  },
466
+ {
467
+ name: "suggestions",
468
+ type: "ChatComposerSuggestionSource[]",
469
+ description: "Caret sources of your own after the saved replies: mode keeps one to replies or notes, chip turns each pick into a chip."
470
+ },
471
+ {
472
+ name: "mentions, onMentionsChange, maxMentions",
473
+ type: "CaretSuggestion[], (mentions) => void, number",
474
+ default: "kept by the box, none, 5",
475
+ description: "The chips the picks added, kept by the page with the draft if it likes."
476
+ },
384
477
  {
385
478
  name: "onAttach, accept, maxFiles, maxSize, attachments, onRemoveAttachment",
386
479
  type: "as Composer",
@@ -405,7 +498,13 @@ function Page() {
405
498
  name: "busy",
406
499
  type: "boolean",
407
500
  default: "false",
408
- description: "The send spins: Sending… or Adding note…."
501
+ description: "The send spins, named Sending… or Adding note…, and keeps its width."
502
+ },
503
+ {
504
+ name: "enterSends",
505
+ type: "boolean",
506
+ default: "on; off on a touch screen",
507
+ description: "Whether Enter sends. On a phone Enter adds a line and Send sends."
409
508
  },
410
509
  {
411
510
  name: "disabled, disabledReason",
@@ -854,12 +854,16 @@ const products = items.map((item) => ({
854
854
  /* @__PURE__ */ jsx(Section$1, {
855
855
  id: "presentation",
856
856
  title: "Where the results hang",
857
- description: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("p", { children: [
858
- /* @__PURE__ */ jsx("code", { children: "attached" }),
859
- " (the default) makes the field the top of the list: the field squares its lower corners and the list unfolds from its edge at its width, with a hairline between. ",
860
- /* @__PURE__ */ jsx("code", { children: "popover" }),
861
- " always floats a sheet 6px below the field instead."
862
- ] }), /* @__PURE__ */ jsx("p", { children: "A field under 280px wide cannot lend the list its width, so it floats a sheet either way. The sheet is at least 280px wide. Here the field is 180px. A field in the right of its card lines the sheet up with its own right edge, so the sheet stays over the card instead of hanging off its side." })] }),
857
+ description: /* @__PURE__ */ jsxs(Fragment$1, { children: [
858
+ /* @__PURE__ */ jsxs("p", { children: [
859
+ /* @__PURE__ */ jsx("code", { children: "attached" }),
860
+ " (the default) makes the field the top of the list: the field squares its lower corners and the list unfolds from its edge at its width, with a hairline between. ",
861
+ /* @__PURE__ */ jsx("code", { children: "popover" }),
862
+ " always floats a sheet 6px below the field instead."
863
+ ] }),
864
+ /* @__PURE__ */ jsx("p", { children: "A field under 280px wide cannot lend the list its width, so it floats a sheet either way. The sheet is at least 280px wide. Here the field is 180px. A field in the right of its card lines the sheet up with its own right edge, so the sheet stays over the card instead of hanging off its side." }),
865
+ /* @__PURE__ */ jsx("p", { children: "With too little room below the field, at the foot of a page or on a phone on its side, the list floats too, and opens above the field if it does not fit below. In a window under 480px tall it opens on the side with more room, and turning a phone with the list open reads that again." })
866
+ ] }),
863
867
  children: /* @__PURE__ */ jsx(Example, {
864
868
  align: "start",
865
869
  minHeight: 570,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, o as Example, p as SubSection, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
3
- import { c as SpecimenFrame, o as PaletteStill } from "./_overlays-specimens-bawR331Z.js";
3
+ import { c as SpecimenFrame, o as PaletteStill } from "./_overlays-specimens-Dyq80YsZ.js";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Avatar, Button, CommandEmpty, CommandGroup, CommandHints, CommandItem, CommandKey, CommandLoading, CommandPalette, CommandSeparator, IconButton, SearchTrigger } from "@orbitcommerce/constellation";
@@ -1072,7 +1072,8 @@ const { results, loading } = useSearch(query) // your server search
1072
1072
  /* @__PURE__ */ jsx("code", { children: "cancelLabel" }),
1073
1073
  " (\"Cancel\") on a pill a thumb can take, and is named \"Cancel (Close search)\"."
1074
1074
  ] }),
1075
- "With reduced motion there is no morph: the palette crossfades, the loading comet parks and breathes, and the selection mark jumps instead of sliding."
1075
+ "With reduced motion there is no morph: the palette crossfades, the loading comet parks and breathes, and the selection mark jumps instead of sliding.",
1076
+ "On a short window, such as a phone on its side, the list gives up what the window cannot spare, so every row and the footer stay in reach. The field and the footer keep their height."
1076
1077
  ] })
1077
1078
  }),
1078
1079
  /* @__PURE__ */ jsxs(Section$1, {
@@ -254,7 +254,10 @@ function Page() {
254
254
  description: /* @__PURE__ */ jsxs("p", { children: [
255
255
  "The field grows with its text to 168px, then scrolls; ",
256
256
  /* @__PURE__ */ jsx("code", { children: "expandable" }),
257
- " adds a toggle for a tall field. Enter sends and Shift and Enter adds a line. Under the field sit the ",
257
+ " adds a toggle for a tall field. Enter sends and Shift and Enter adds a line; on a touch screen, whose keyboard has no Shift and Enter, Enter adds a line and the send (or Ctrl or Cmd and Enter) sends (",
258
+ /* @__PURE__ */ jsx("code", { children: "enterSends" }),
259
+ "). Under the field sit the",
260
+ " ",
258
261
  /* @__PURE__ */ jsx("code", { children: "lead" }),
259
262
  " (the assistant's face), attach, your ",
260
263
  /* @__PURE__ */ jsx("code", { children: "tools" }),
@@ -526,6 +529,8 @@ function Page() {
526
529
  "The field is named by labels.field (\"Message\"); the hints are a placeholder, never its name.",
527
530
  "The send, attach and Stop are named icon buttons. Off, they stay focusable (aria-disabled) and say why on hover and focus; a busy send is aria-busy.",
528
531
  "A failed send puts the draft back and says so in the status line, a polite status in the page from the start.",
532
+ "On a touch screen Enter adds a line, and the keyboard’s Enter key says so (enterkeyhint \"enter\", \"send\" where Enter sends).",
533
+ "On a touch screen the field’s text is 16px, so Safari on an iPhone does not zoom the page into it; the page’s own zoom is never locked.",
529
534
  "Focus stays in the field through a send, a pick and an expand; a control that goes while it has focus (a pill’s remove, the Stop as a run ends) hands focus to the field.",
530
535
  "With toolbarLabel the tools are one toolbar: a single tab stop, the arrow keys moving between them, each with its name as a tip; the send is a stop of its own.",
531
536
  "In forced colours the card keeps a real border, and focus a real outline."
@@ -565,6 +570,12 @@ function Page() {
565
570
  type: "() => void",
566
571
  description: "While busy the send becomes Stop."
567
572
  },
573
+ {
574
+ name: "enterSends",
575
+ type: "boolean",
576
+ default: "on; off on a touch screen",
577
+ description: "Whether Enter sends. Off, Enter adds a line and the send, or Ctrl or Cmd and Enter, sends. The pill always sends on Enter."
578
+ },
568
579
  {
569
580
  name: "disabled, disabledReason",
570
581
  type: "boolean, ReactNode",
@@ -662,7 +673,7 @@ function Page() {
662
673
  name: "sendAppearance",
663
674
  type: "'round' | 'text'",
664
675
  default: "'round'",
665
- description: "The round arrow, or a pill with the send’s words for a reply box."
676
+ description: "The round arrow, or a pill with the send’s words for a reply box, which keeps its width while it sends (labels.sending names it)."
666
677
  },
667
678
  {
668
679
  name: "toolbarLabel",
@@ -677,7 +688,7 @@ function Page() {
677
688
  {
678
689
  name: "labels",
679
690
  type: "Partial<ComposerLabels>",
680
- description: "field, send, stop, attach, attachFull(max), expand, waitForUploads, sendFailed, attachments, mentions, removeMention(label), prompts, and the file refusals."
691
+ description: "field, send, sending (a send in words, while it sends), stop, attach, attachFull(max), expand, waitForUploads, sendFailed, attachments, mentions, removeMention(label), prompts, and the file refusals."
681
692
  }
682
693
  ]
683
694
  })
@@ -2,7 +2,7 @@
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
3
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
4
4
  import { t as Playground } from "./Playground-Mk1yIWXb.js";
5
- import { c as SpecimenFrame, s as PopoverSheet } from "./_overlays-specimens-bawR331Z.js";
5
+ import { c as SpecimenFrame, s as PopoverSheet } from "./_overlays-specimens-Dyq80YsZ.js";
6
6
  import { useMemo, useRef, useState } from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
  import { Button, Calendar, DatePicker, DateRangePicker, Field, Input, dateFormatter, dateRangePresets, fromISODate, toISODate } from "@orbitcommerce/constellation";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, n as CodeBlock$1, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
3
- import { c as SpecimenFrame, t as DialogSheet } from "./_overlays-specimens-bawR331Z.js";
3
+ import { c as SpecimenFrame, t as DialogSheet } from "./_overlays-specimens-Dyq80YsZ.js";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Avatar, Badge, Button, Checkbox, ConfirmDialog, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogFrame, DialogHeader, DialogTitle, DialogTrigger, Field, IconButton, Input, Menu, MenuContent, MenuItem, MenuTrigger, Popover, PopoverContent, PopoverTrigger, SegmentedControl, Select, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Switch } from "@orbitcommerce/constellation";
@@ -283,7 +283,7 @@ const change = (id, value) => setPicked((all) => ({ ...all, [id]: value }))
283
283
  name: "align",
284
284
  type: "'start' | 'center' | 'end'",
285
285
  default: "'end'",
286
- description: "Which edge of the button the panel lines up with."
286
+ description: "Which edge of the button the panel lines up with. On a window with little height, such as a phone on its side, the panel opens beside the button instead, centred on it, to have the window’s height to list in."
287
287
  },
288
288
  {
289
289
  name: "open / onOpenChange",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
3
- import { a as MenuSheet, c as SpecimenFrame, r as MenuRow } from "./_overlays-specimens-bawR331Z.js";
3
+ import { a as MenuSheet, c as SpecimenFrame, r as MenuRow } from "./_overlays-specimens-Dyq80YsZ.js";
4
4
  import { useRef, useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { AddFilter, Button, Dialog, DialogBody, DialogContent, DialogHeader, DialogTitle, DialogTrigger, FilterDateEditor, FilterOptionList, FilterPill, FilterRangeEditor, FilterTextEditor, SearchField, dateFormatter } from "@orbitcommerce/constellation";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
- import { n as REACT_RANGE, t as CONSTELLATION_VERSION } from "./release-CBaMurIe.js";
3
+ import { n as REACT_RANGE, t as CONSTELLATION_VERSION } from "./release-DyoIRDMj.js";
4
4
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, n as CodeBlock$1, o as Example, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Button, IconButton, Menu, MenuContent, MenuItem, MenuTrigger, ThemeScope, Tooltip, useThemeScope } from "@orbitcommerce/constellation";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { r as ForAudience } from "./host-B6znjEgQ.js";
3
- import { t as CONSTELLATION_VERSION } from "./release-CBaMurIe.js";
3
+ import { t as CONSTELLATION_VERSION } from "./release-DyoIRDMj.js";
4
4
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, n as CodeBlock$1, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Button, OrbitLogo, ShellBrand, Sidebar, SidebarFooter, SidebarHeader } from "@orbitcommerce/constellation";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
3
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, n as CodeBlock$1, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
4
- import { a as MenuSheet, c as SpecimenFrame, i as MenuRule, n as MenuHeading, r as MenuRow } from "./_overlays-specimens-bawR331Z.js";
4
+ import { a as MenuSheet, c as SpecimenFrame, i as MenuRule, n as MenuHeading, r as MenuRow } from "./_overlays-specimens-Dyq80YsZ.js";
5
5
  import { useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Avatar, Badge, Button, ConfirmDialog, IconButton, Menu, MenuCheckboxItem, MenuChipTrigger, MenuContent, MenuGroup, MenuHeader, MenuInlineSub, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from "@orbitcommerce/constellation";
@@ -487,6 +487,24 @@ function Page() {
487
487
  })] })
488
488
  })
489
489
  }),
490
+ /* @__PURE__ */ jsx(SubSection, {
491
+ title: "Right to left",
492
+ description: /* @__PURE__ */ jsx("p", { children: "Each paragraph takes its direction from its own first letters: an Arabic, Hebrew or Urdu message reads from the right, with its order number and full stop where the writer put them, in a page that runs left to right. The composer's field does the same as it is typed in." }),
493
+ children: /* @__PURE__ */ jsx(Example, {
494
+ align: "fill",
495
+ code: `<MessageBubble kind="incoming">وصل طلبي رقم 1042 مكسورًا.</MessageBubble>`,
496
+ children: /* @__PURE__ */ jsxs(Specimen, { children: [/* @__PURE__ */ jsx(MessageBubble, {
497
+ kind: "incoming",
498
+ time: "09:20",
499
+ children: "وصل طلبي رقم 1042 مكسورًا. هل يمكنكم إرسال بديل؟"
500
+ }), /* @__PURE__ */ jsx(MessageBubble, {
501
+ kind: "outgoing",
502
+ name: "Grace Liu",
503
+ time: "09:22",
504
+ children: "Sorry to hear that. A replacement for order 1042 goes out today."
505
+ })] })
506
+ })
507
+ }),
490
508
  /* @__PURE__ */ jsx(SubSection, {
491
509
  title: "A reply that failed",
492
510
  children: /* @__PURE__ */ jsx(Example, {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
- import { o as pagesIn, t as CATEGORIES } from "./registry-BraP_Jwt.js";
3
+ import { o as pagesIn, t as CATEGORIES } from "./registry-CGg0CBVG.js";
4
4
  import { c as ImportLine, i as DocPage } from "./docs-lM2UBSir.js";
5
5
  import { useEffect, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
3
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
4
- import { c as SpecimenFrame, s as PopoverSheet } from "./_overlays-specimens-bawR331Z.js";
4
+ import { c as SpecimenFrame, s as PopoverSheet } from "./_overlays-specimens-Dyq80YsZ.js";
5
5
  import { useId, useRef, useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Avatar, Button, Field, IconButton, Input, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, SearchField, SegmentedControl } from "@orbitcommerce/constellation";
@@ -352,9 +352,9 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
352
352
  "../pages/components/calendar.tsx": () => import("./calendar-Ds7KsgSI.js"),
353
353
  "../pages/components/canvas-stage.tsx": () => import("./canvas-stage-1KiPspkX.js"),
354
354
  "../pages/components/card.tsx": () => import("./card-CXZ3V1d4.js"),
355
- "../pages/components/caret-suggestions.tsx": () => import("./caret-suggestions-oHI6QvqW.js"),
355
+ "../pages/components/caret-suggestions.tsx": () => import("./caret-suggestions-SG5QItaj.js"),
356
356
  "../pages/components/chart-legend.tsx": () => import("./chart-legend-B20AbakD.js"),
357
- "../pages/components/chat-composer.tsx": () => import("./chat-composer-CwzUJYIa.js"),
357
+ "../pages/components/chat-composer.tsx": () => import("./chat-composer-Cs8bqdKw.js"),
358
358
  "../pages/components/checkbox.tsx": () => import("./checkbox-BG9Zkb6j.js"),
359
359
  "../pages/components/checklist-card.tsx": () => import("./checklist-card-DEyykVFS.js"),
360
360
  "../pages/components/chip-list.tsx": () => import("./chip-list-k1LxXuCi.js"),
@@ -365,10 +365,10 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
365
365
  "../pages/components/collab-field.tsx": () => import("./collab-field-CfqqK7d2.js"),
366
366
  "../pages/components/color-field.tsx": () => import("./color-field-CZpfcA-A.js"),
367
367
  "../pages/components/column-mapper.tsx": () => import("./column-mapper-TsTG39cl.js"),
368
- "../pages/components/combobox.tsx": () => import("./combobox-DvK2j5tI.js"),
369
- "../pages/components/command-palette.tsx": () => import("./command-palette-CJ7uBA04.js"),
368
+ "../pages/components/combobox.tsx": () => import("./combobox-D7T7_HJG.js"),
369
+ "../pages/components/command-palette.tsx": () => import("./command-palette-LOcRn3b0.js"),
370
370
  "../pages/components/comment-box.tsx": () => import("./comment-box-CDSGYhr5.js"),
371
- "../pages/components/composer.tsx": () => import("./composer-D4B0NgpA.js"),
371
+ "../pages/components/composer.tsx": () => import("./composer-Bbs91N6X.js"),
372
372
  "../pages/components/condition-builder.tsx": () => import("./condition-builder-BZy2ZGXe.js"),
373
373
  "../pages/components/conflict-chooser.tsx": () => import("./conflict-chooser-C--_9UIS.js"),
374
374
  "../pages/components/context-menu.tsx": () => import("./context-menu-F9DV30ia.js"),
@@ -376,12 +376,12 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
376
376
  "../pages/components/copy-field.tsx": () => import("./copy-field-D3Xt3Jq6.js"),
377
377
  "../pages/components/danger-zone.tsx": () => import("./danger-zone-Db_UUeiP.js"),
378
378
  "../pages/components/date-input.tsx": () => import("./date-input-GOW067EB.js"),
379
- "../pages/components/date-picker.tsx": () => import("./date-picker-GdBciR99.js"),
379
+ "../pages/components/date-picker.tsx": () => import("./date-picker-siKHQhfk.js"),
380
380
  "../pages/components/date-time.tsx": () => import("./date-time-BLKCXtVZ.js"),
381
381
  "../pages/components/delta.tsx": () => import("./delta-CNAGv8JY.js"),
382
382
  "../pages/components/description-list.tsx": () => import("./description-list-BPeXn1eW.js"),
383
383
  "../pages/components/device-switcher.tsx": () => import("./device-switcher-BCaN99c1.js"),
384
- "../pages/components/dialog.tsx": () => import("./dialog-CRpkRC98.js"),
384
+ "../pages/components/dialog.tsx": () => import("./dialog-0r2bo9O8.js"),
385
385
  "../pages/components/doodle.tsx": () => import("./doodle-nzkqi2UI.js"),
386
386
  "../pages/components/drag-ghost.tsx": () => import("./drag-ghost-B6kpzC3O.js"),
387
387
  "../pages/components/drill-menu.tsx": () => import("./drill-menu-cskH5mol.js"),
@@ -389,12 +389,12 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
389
389
  "../pages/components/element-toolbar.tsx": () => import("./element-toolbar-DZIhXlCJ.js"),
390
390
  "../pages/components/emoji-picker.tsx": () => import("./emoji-picker-CqaWaffD.js"),
391
391
  "../pages/components/empty-state.tsx": () => import("./empty-state-4U2txFpI.js"),
392
- "../pages/components/facet-filters.tsx": () => import("./facet-filters-McbBeY9e.js"),
392
+ "../pages/components/facet-filters.tsx": () => import("./facet-filters-P57IT6JT.js"),
393
393
  "../pages/components/figure-strip.tsx": () => import("./figure-strip-hg7txTc3.js"),
394
394
  "../pages/components/figure-tabs.tsx": () => import("./figure-tabs-QOeQMY6N.js"),
395
395
  "../pages/components/figure.tsx": () => import("./figure-D-HF5vCj.js"),
396
396
  "../pages/components/file-chip.tsx": () => import("./file-chip-DMDjtlqQ.js"),
397
- "../pages/components/filter-pill.tsx": () => import("./filter-pill-DzqNOsD4.js"),
397
+ "../pages/components/filter-pill.tsx": () => import("./filter-pill-vtyxSXiK.js"),
398
398
  "../pages/components/font-picker.tsx": () => import("./font-picker-Bqhu0QMh.js"),
399
399
  "../pages/components/form-grid.tsx": () => import("./form-grid-BfWCVlie.js"),
400
400
  "../pages/components/gallery.tsx": () => import("./gallery-BBk2EOri.js"),
@@ -429,8 +429,8 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
429
429
  "../pages/components/markdown-field.tsx": () => import("./markdown-field-BfnIEKZH.js"),
430
430
  "../pages/components/markdown.tsx": () => import("./markdown-Ied72vMT.js"),
431
431
  "../pages/components/media-banner.tsx": () => import("./media-banner-DkStCia0.js"),
432
- "../pages/components/menu.tsx": () => import("./menu-NrLYKqKp.js"),
433
- "../pages/components/message-thread.tsx": () => import("./message-thread-Bo4zbxqu.js"),
432
+ "../pages/components/menu.tsx": () => import("./menu-D-4ssxKd.js"),
433
+ "../pages/components/message-thread.tsx": () => import("./message-thread-Dp87HJE9.js"),
434
434
  "../pages/components/meta-line.tsx": () => import("./meta-line-D5p2TycR.js"),
435
435
  "../pages/components/model-viewer.tsx": () => import("./model-viewer-C8PFO8wk.js"),
436
436
  "../pages/components/month-calendar.tsx": () => import("./month-calendar-T1vw9Rup.js"),
@@ -448,7 +448,7 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
448
448
  "../pages/components/plan-comparison.tsx": () => import("./plan-comparison-BVIGTtbd.js"),
449
449
  "../pages/components/plan-grid.tsx": () => import("./plan-grid-BCPvtP8J.js"),
450
450
  "../pages/components/point-list.tsx": () => import("./point-list-BbPmZjsm.js"),
451
- "../pages/components/popover.tsx": () => import("./popover-C3Oar9D5.js"),
451
+ "../pages/components/popover.tsx": () => import("./popover-BjRdZrGM.js"),
452
452
  "../pages/components/presence-avatars.tsx": () => import("./presence-avatars-CRZIk8n9.js"),
453
453
  "../pages/components/preview-frame.tsx": () => import("./preview-frame-Bcwk0y_Q.js"),
454
454
  "../pages/components/price.tsx": () => import("./price-CRBLoa9h.js"),
@@ -478,7 +478,7 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
478
478
  "../pages/components/section-rail.tsx": () => import("./section-rail-BtTCETS5.js"),
479
479
  "../pages/components/section.tsx": () => import("./section-v2Pubup9.js"),
480
480
  "../pages/components/segmented-control.tsx": () => import("./segmented-control-D-FB1K1T.js"),
481
- "../pages/components/select.tsx": () => import("./select-DZ43NpOm.js"),
481
+ "../pages/components/select.tsx": () => import("./select-DqQNbaoD.js"),
482
482
  "../pages/components/selection-chrome.tsx": () => import("./selection-chrome-Czcs6RN6.js"),
483
483
  "../pages/components/separator.tsx": () => import("./separator-CFwqRvfO.js"),
484
484
  "../pages/components/serp-preview.tsx": () => import("./serp-preview-BGwORjmo.js"),
@@ -513,10 +513,10 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
513
513
  "../pages/components/time-input.tsx": () => import("./time-input-CA9-uZAa.js"),
514
514
  "../pages/components/time-zone-select.tsx": () => import("./time-zone-select-CEtMXVYO.js"),
515
515
  "../pages/components/timeline.tsx": () => import("./timeline-BsMUTlpR.js"),
516
- "../pages/components/toast.tsx": () => import("./toast-zXLRiMRT.js"),
516
+ "../pages/components/toast.tsx": () => import("./toast-CuoDQua9.js"),
517
517
  "../pages/components/tool-rail.tsx": () => import("./tool-rail-B1AbTMCP.js"),
518
518
  "../pages/components/toolbar.tsx": () => import("./toolbar-B9l_fHKy.js"),
519
- "../pages/components/tooltip.tsx": () => import("./tooltip-LHtCUkF-.js"),
519
+ "../pages/components/tooltip.tsx": () => import("./tooltip-CrZjoSce.js"),
520
520
  "../pages/components/translation-field.tsx": () => import("./translation-field-CTRXiF2N.js"),
521
521
  "../pages/components/tree-checklist.tsx": () => import("./tree-checklist-CJj3OcLg.js"),
522
522
  "../pages/components/tree-select.tsx": () => import("./tree-select-DU1qXHy_.js"),
@@ -530,14 +530,14 @@ var PAGES = Object.entries(/* @__PURE__ */ Object.assign({
530
530
  "../pages/components/working-status.tsx": () => import("./working-status-CENemSsw.js"),
531
531
  "../pages/foundations/colour.tsx": () => import("./colour-Blv4aPli.js"),
532
532
  "../pages/foundations/icons.tsx": () => import("./icons-CJ9Aar3d.js"),
533
- "../pages/foundations/logo.tsx": () => import("./logo-pmHCkArD.js"),
533
+ "../pages/foundations/logo.tsx": () => import("./logo-C7sCj-lB.js"),
534
534
  "../pages/foundations/motion.tsx": () => import("./motion-CrXtiBvA.js"),
535
535
  "../pages/foundations/shape.tsx": () => import("./shape-DzniHAVT.js"),
536
536
  "../pages/foundations/typography.tsx": () => import("./typography-BSijtiRl.js"),
537
537
  "../pages/patterns/app-shell.tsx": () => import("./app-shell-D4hdlHps.js"),
538
538
  "../pages/patterns/home-dashboard.tsx": () => import("./home-dashboard-CxPmvduE.js"),
539
- "../pages/start/installation.tsx": () => import("./installation-BMhneI9u.js"),
540
- "../pages/start/overview.tsx": () => import("./overview-CT0A0qFa.js"),
539
+ "../pages/start/installation.tsx": () => import("./installation-Dpywhl_Q.js"),
540
+ "../pages/start/overview.tsx": () => import("./overview-DdZk6rI3.js"),
541
541
  "../pages/start/principles.tsx": () => import("./principles-pnDyfHpK.js")
542
542
  })).map(([file, load]) => {
543
543
  const [, group, name] = file.match(/\.\.\/pages\/([^/]+)\/([^/]+)\.tsx$/) ?? [];
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region ../../packages/constellation/package.json
3
- var version = "1.3.0";
3
+ var version = "1.6.0";
4
4
  var peerDependencies = {
5
5
  "@google/model-viewer": "^4.3.1",
6
6
  "@tiptap/core": "^3.31.3",
@@ -2,7 +2,7 @@
2
2
  import { t as DocLink } from "./host-B6znjEgQ.js";
3
3
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
4
4
  import { t as Playground } from "./Playground-Mk1yIWXb.js";
5
- import { c as SpecimenFrame } from "./_overlays-specimens-bawR331Z.js";
5
+ import { c as SpecimenFrame } from "./_overlays-specimens-Dyq80YsZ.js";
6
6
  import { useState } from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
  import { Button, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Field, Input, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "@orbitcommerce/constellation";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as DocTable, d as Section$1, i as DocPage, l as Note, m as ThemePair, n as CodeBlock$1, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
3
- import { c as SpecimenFrame } from "./_overlays-specimens-bawR331Z.js";
3
+ import { c as SpecimenFrame } from "./_overlays-specimens-Dyq80YsZ.js";
4
4
  import { useEffect, useId, useRef, useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Button, IconButton, Input, OrbitSpinner, SegmentedControl, Switch, ToastPositionScope, Toaster, createToastBatch, cx, isChimeEnabled, playChime, setChimeEnabled, toast, useThemeScope } from "@orbitcommerce/constellation";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as DocTable, d as Section$1, i as DocPage, m as ThemePair, o as Example, p as SubSection, r as DoDont, s as Guidelines, u as PropsTable } from "./docs-lM2UBSir.js";
3
- import { c as SpecimenFrame, l as TooltipPill } from "./_overlays-specimens-bawR331Z.js";
3
+ import { c as SpecimenFrame, l as TooltipPill } from "./_overlays-specimens-Dyq80YsZ.js";
4
4
  import { useState } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Button, IconButton, Menu, MenuContent, MenuItem, MenuSeparator, MenuTrigger, Tooltip, TooltipProvider } from "@orbitcommerce/constellation";
@@ -787,6 +787,12 @@ const [open, setOpen] = useState(false)
787
787
  name: "width",
788
788
  type: "number",
789
789
  description: "A width of its own for the tip, in px."
790
+ },
791
+ {
792
+ name: "container",
793
+ type: "HTMLElement | null",
794
+ default: "the overlay’s layer, else the body",
795
+ description: "Where the tip portals to. Inside a Dialog, a Sheet or another overlay that publishes a layer it opens in that layer, above the overlay, as menus and popovers do, except while the overlay is still moving in (its open animation), when it opens in the page’s body, placed against the window and following its trigger; null means the page’s body."
790
796
  }
791
797
  ]
792
798
  }), /* @__PURE__ */ jsx(PropsTable, {
package/manifest.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@orbitcommerce/constellation-docs",
3
- "version": "1.3.0",
3
+ "version": "1.6.0",
4
4
  "constellation": {
5
5
  "name": "@orbitcommerce/constellation",
6
- "version": "1.3.0"
6
+ "version": "1.6.0"
7
7
  },
8
8
  "groups": [
9
9
  {
@@ -2160,7 +2160,7 @@
2160
2160
  {
2161
2161
  "id": "presentation",
2162
2162
  "title": "Where the results hang",
2163
- "text": "attached (the default) makes the field the top of the list: the field squares its lower corners and the list unfolds from its edge at its width, with a hairline between. popover always floats a sheet 6px below the field instead. A field under 280px wide cannot lend the list its width, so it floats a sheet either way. The sheet is at least 280px wide. Here the field is 180px. A field in the right of its card lines the sheet up with its own right edge, so the sheet stays over the card instead of hanging off its side."
2163
+ "text": "attached (the default) makes the field the top of the list: the field squares its lower corners and the list unfolds from its edge at its width, with a hairline between. popover always floats a sheet 6px below the field instead. A field under 280px wide cannot lend the list its width, so it floats a sheet either way. The sheet is at least 280px wide. Here the field is 180px. A field in the right of its card lines the sheet up with its own right edge, so the sheet stays over the card instead of hanging off its side. With too little room below the field, at the foot of a page or on a phone on its side, the list floats too, and opens above the field if it does not fit below. In a window under 480px tall it opens on the side with more room, and turning a phone with the list open reads that again."
2164
2164
  },
2165
2165
  {
2166
2166
  "id": "states",
@@ -5495,7 +5495,7 @@
5495
5495
  {
5496
5496
  "id": "card",
5497
5497
  "title": "The composer card",
5498
- "text": "The field grows with its text to 168px, then scrolls; expandable adds a toggle for a tall field. Enter sends and Shift and Enter adds a line. Under the field sit the lead (the assistant's face), attach, your tools (a model or effort picker, a MenuChipTrigger) and the round send, which is off while there is nothing to send or an upload runs, spins while a reply is under way (busy) and turns to Stop given onStop. A press anywhere on the card's empty parts goes to the field, and the card takes the focus ring. While it is empty the placeholder types out its hints in turn. Try attaching a picture, typing \"/\" or \"@ar\", and sending."
5498
+ "text": "The field grows with its text to 168px, then scrolls; expandable adds a toggle for a tall field. Enter sends and Shift and Enter adds a line; on a touch screen, whose keyboard has no Shift and Enter, Enter adds a line and the send (or Ctrl or Cmd and Enter) sends (enterSends). Under the field sit the lead (the assistant's face), attach, your tools (a model or effort picker, a MenuChipTrigger) and the round send, which is off while there is nothing to send or an upload runs, spins while a reply is under way (busy) and turns to Stop given onStop. A press anywhere on the card's empty parts goes to the field, and the card takes the focus ring. While it is empty the placeholder types out its hints in turn. Try attaching a picture, typing \"/\" or \"@ar\", and sending."
5499
5499
  },
5500
5500
  {
5501
5501
  "id": "attachments",
@@ -5559,7 +5559,7 @@
5559
5559
  {
5560
5560
  "id": "behaviour",
5561
5561
  "title": "What it does",
5562
- "text": "Typing: onTypingChange(true) on the first keystroke with words, then false 2.5s after the last, on a send, on switching to a note and when it goes. A note never types. Saved replies: a leading \"/\" opens them on the shortcut being typed, and the Saved replies button on the whole draft, pressed while the list is open. A pick can be rendered first (an async onSelect), and takes the token's place, or goes in at the caret from the button. Assist: your assist is given the draft and replace, which swaps the whole draft, keeps what it was for one Undo, says politely that assistant text was added, and puts focus back in the field. Sending, another swap or switching to a note drops the Undo. Assist shows only while writing a reply, and is one of the toolbar's tools: draw it as a ToolbarMenu or a ToolbarButton. A failed send (a rejected promise) puts the draft back, unless something new was typed, and says so under the card."
5562
+ "text": "Typing: onTypingChange(true) on the first keystroke with words and again every 3s while the keystrokes go on, so a receiver that clears \"is typing\" after a few quiet seconds keeps it up through a long reply; then false 2.5s after the last keystroke, on a send, as the box becomes a note (by its switch or by the page's mode) and when it goes. A note never types. Enter: sends, and Shift and Enter adds a line. On a phone, whose keyboard has no Shift and Enter, Enter adds a line and Send (or Ctrl or Cmd and Enter) sends, so a reply can run to paragraphs and steps (enterSends). Saved replies: a leading \"/\" opens them on the shortcut being typed, and the Saved replies button on the whole draft, pressed while the list is open. A pick can be rendered first (an async onSelect), and takes the token's place, or goes in at the caret from the button. Sources of your own: suggestions adds caret sources after the saved replies, each opened by its trigger while writing the kind of message its mode names: an \"@\" that mentions a teammate belongs to notes. With chip a pick also adds a chip over the field, handed to onSend as its third argument; the page can keep the chips with the draft (mentions, onMentionsChange). Assist: your assist is given the draft and replace, which swaps the whole draft, keeps what it was for one Undo, says politely that assistant text was added, and puts focus back in the field. Sending, another swap or switching to a note drops the Undo. Assist shows only while writing a reply, and is one of the toolbar's tools: draw it as a ToolbarMenu or a ToolbarButton. A failed send (a rejected promise) puts the draft back, unless something new was typed, and says so under the card."
5563
5563
  },
5564
5564
  {
5565
5565
  "id": "states",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbitcommerce/constellation-docs",
3
- "version": "1.3.0",
3
+ "version": "1.6.0",
4
4
  "description": "The Constellation by Orbit Commerce documentation pages, packaged for developers.orbitcommerce.net. Not for use in apps: install @orbitcommerce/constellation.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Orbit Commerce",
@@ -22,7 +22,7 @@
22
22
  "manifest.json"
23
23
  ],
24
24
  "dependencies": {
25
- "@orbitcommerce/constellation": "1.3.0",
25
+ "@orbitcommerce/constellation": "1.6.0",
26
26
  "motion": "^14.2.0",
27
27
  "shiki": "^4.4.3"
28
28
  },