@estiva-app/ui 0.121.0 → 0.123.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.
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityLine.d.ts","sourceRoot":"","sources":["../src/ActivityLine.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOlD,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;IACzD,wGAAwG;IACxG,GAAG,EAAE,MAAM,CAAA;IACX,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAA;IACZ,mGAAmG;IACnG,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2GAA2G;IAC3G,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,4GAA4G;IAC5G,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAClD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kFAAkF;IAClF,CAAC,IAAI,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;CACvD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAY,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB,+BAmCzI"}
1
+ {"version":3,"file":"ActivityLine.d.ts","sourceRoot":"","sources":["../src/ActivityLine.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOlD,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;IACzD,wGAAwG;IACxG,GAAG,EAAE,MAAM,CAAA;IACX,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAA;IACZ,mGAAmG;IACnG,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2GAA2G;IAC3G,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,4GAA4G;IAC5G,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAClD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kFAAkF;IAClF,CAAC,IAAI,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;CACvD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAY,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB,+BAwCzI"}
@@ -59,8 +59,10 @@ export interface ListTableRowProps {
59
59
  * A list of things on a page, under column headings: each row leads to its thing, with its name and what it is about,
60
60
  * then a few short facts in columns, then an action at its end. The columns give way to the name by the list's own
61
61
  * width, not the window's — `low` ones first, then `high` ones — so a list beside a sidebar keeps its names. The name
62
- * is at most 384px and the facts sit beside it; the room left goes before the end, which keeps the list's right edge.
63
- * The list takes the whole width it is given, as every page's body does (Katerina, 16 November).
62
+ * and what it is about take the room on the left, the facts sit together on the right before the end, 24px apart
63
+ * (Katerina, 17 November: "everything is crammed together on the left … the names/desc at the left and the rest on the
64
+ * right was a more correct way"; from 16 November the name was capped at 384px with the facts beside it). The list
65
+ * takes the whole width it is given, as every page's body does (16 November).
64
66
  *
65
67
  * Peek's Explore topics, Ship's Topics and Leaf's Explore topics each drew this by hand, class for class, and their
66
68
  * columns hid only at the phone's width: in a narrow window the names were cut to two letters (Katerina, 16 November).
@@ -1 +1 @@
1
- {"version":3,"file":"ListTable.d.ts","sourceRoot":"","sources":["../src/ListTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6E,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAIlI,kHAAkH;AAClH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE/D,mGAAmG;AACnG,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,KAAK,CAAA;AAEhD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,8GAA8G;IAC9G,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAA;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAA;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mHAAmH;IACnH,OAAO,EAAE,eAAe,EAAE,CAAA;IAC1B,+GAA+G;IAC/G,GAA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AS,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,SAAkB,EAAE,OAAO,EAAE,GAAW,EAAE,QAAe,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,cAAc,+BA8ChJ;AAED,iGAAiG;AACjG,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB,+BAkC/G"}
@@ -6,6 +6,12 @@ export interface MembersPillProps {
6
6
  count?: number;
7
7
  /** Opens the list — usually a `MembersDialog`. Without it the pill is disabled. */
8
8
  onClick?: () => void;
9
+ /**
10
+ * Says who is in it and is nothing to press: the pill's own look, not greyed as a disabled one — in a list's row,
11
+ * which opens its thing (Katerina, 17 November: "clicking on the pill should not show the members list. And we need to
12
+ * use the estiva ui component"). `onClick` is not taken with it.
13
+ */
14
+ readOnly?: boolean;
9
15
  /** The button's accessible name, when the list it opens is not "members" — "Who follows <name>: 4". Defaults to "4 members". */
10
16
  label?: string;
11
17
  className?: string;
@@ -20,5 +26,5 @@ export interface MembersPillProps {
20
26
  * pick of 15 September). `disabled` rather than another element when there is
21
27
  * nothing to press, so one element keeps one set of pixels.
22
28
  */
23
- export declare function MembersPill({ members, count, onClick, label, className }: MembersPillProps): import("react").JSX.Element | null;
29
+ export declare function MembersPill({ members, count, onClick, readOnly, label, className }: MembersPillProps): import("react").JSX.Element | null;
24
30
  //# sourceMappingURL=MembersPill.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MembersPill.d.ts","sourceRoot":"","sources":["../src/MembersPill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAKnE,MAAM,WAAW,gBAAgB;IAC/B,2DAA2D;IAC3D,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,sCAS1F"}
1
+ {"version":3,"file":"MembersPill.d.ts","sourceRoot":"","sources":["../src/MembersPill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAKnE,MAAM,WAAW,gBAAgB;IAC/B,2DAA2D;IAC3D,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAgB,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,sCAmB5G"}
package/dist/Select.d.ts CHANGED
@@ -32,6 +32,8 @@ export interface SelectOption {
32
32
  label: string;
33
33
  /** Drawn before the label, 16px — an Avatar, an icon. */
34
34
  leading?: ReactNode;
35
+ /** Shown, greyed, and not pickable: a current value the select cannot offer (a status no listing names). */
36
+ disabled?: boolean;
35
37
  }
36
38
  export interface SelectProps {
37
39
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,SA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,CAAC,EAAE,SAAS,CAAA;IACnB,4GAA4G;IAC5G,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0EAA0E;IAC1E,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAOD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAgB,EAAE,IAAc,EAAE,SAAS,EAAE,WAAuB,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,+BA4JnL"}
package/dist/index.js CHANGED
@@ -1202,10 +1202,20 @@ function Button({
1202
1202
 
1203
1203
  // src/MembersPill.tsx
1204
1204
  import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
1205
- function MembersPill({ members, count, onClick, label, className }) {
1205
+ function MembersPill({ members, count, onClick, readOnly = false, label, className }) {
1206
1206
  const total = count ?? members.length;
1207
1207
  if (total === 0) return null;
1208
- return /* @__PURE__ */ jsxs10(Button, { variant: "outlined", "aria-label": label ?? `${total} ${total === 1 ? "member" : "members"}`, disabled: !onClick, onClick, className: cn("gap-2 pl-[3px] pr-2", className), children: [
1208
+ const name = label ?? `${total} ${total === 1 ? "member" : "members"}`;
1209
+ if (readOnly)
1210
+ return (
1211
+ // The outlined Button's own pixels — its height, corners, line and words — with nothing to press: one picture, read as one.
1212
+ // @estiva-escape(no-copied-look): the read-only pill IS the outlined Button's look, drawn without a button
1213
+ /* @__PURE__ */ jsxs10("span", { role: "img", "aria-label": name, className: cn("inline-flex h-8 min-h-8 shrink-0 items-center gap-2 rounded-md border border-border-default pl-[3px] pr-2 font-sans font-medium text-btn-default text-text-primary", className), children: [
1214
+ /* @__PURE__ */ jsx16(AvatarGroup, { members }),
1215
+ /* @__PURE__ */ jsx16("span", { className: cn(MONO_CAPTION_CLASSES, "signal:tabular-nums"), children: total })
1216
+ ] })
1217
+ );
1218
+ return /* @__PURE__ */ jsxs10(Button, { variant: "outlined", "aria-label": name, disabled: !onClick, onClick, className: cn("gap-2 pl-[3px] pr-2", className), children: [
1209
1219
  /* @__PURE__ */ jsx16(AvatarGroup, { members }),
1210
1220
  /* @__PURE__ */ jsx16("span", { className: cn(MONO_CAPTION_CLASSES, "signal:tabular-nums"), children: total })
1211
1221
  ] });
@@ -1988,11 +1998,12 @@ function Select({ value, onChange, options, size = "default", fill = "field", ar
1988
1998
  BaseSelect.Item,
1989
1999
  {
1990
2000
  value: option.value,
1991
- className: cn(menuItemClassName({ size: "default" }), "justify-between data-[selected]:font-medium"),
2001
+ disabled: option.disabled,
2002
+ className: cn(menuItemClassName({ size: "default", shut: option.disabled }), "justify-between data-[selected]:font-medium"),
1992
2003
  children: [
1993
2004
  /* @__PURE__ */ jsxs19("span", { className: "flex min-w-0 items-center gap-2", children: [
1994
2005
  option.leading && /* @__PURE__ */ jsx27("span", { className: "flex shrink-0 items-center", children: option.leading }),
1995
- /* @__PURE__ */ jsx27(BaseSelect.ItemText, { className: "truncate text-body-2 text-text-primary", children: option.label })
2006
+ /* @__PURE__ */ jsx27(BaseSelect.ItemText, { className: cn("truncate text-body-2", option.disabled ? "text-text-disabled" : "text-text-primary"), children: option.label })
1996
2007
  ] }),
1997
2008
  /* @__PURE__ */ jsx27(
1998
2009
  BaseSelect.ItemIndicator,
@@ -5273,6 +5284,7 @@ function childrenOf(object, options) {
5273
5284
  });
5274
5285
  }
5275
5286
  function doneOf(object) {
5287
+ if (object.progress) return object.progress;
5276
5288
  const children = object.children;
5277
5289
  if (!children?.length || children.some((child) => !child.slots.status)) return void 0;
5278
5290
  return { done: children.filter((child) => child.slots.status?.colour === "green").length, total: children.length };
@@ -5281,9 +5293,11 @@ function statusOf(object, onAct) {
5281
5293
  const { slots } = object;
5282
5294
  const action = object.actions.find((one) => one.control === "select" && one.field && one.field === slots.status?.field);
5283
5295
  if (action) {
5296
+ const offered = (action.options ?? []).map((option) => ({ value: option.value, label: option.label, colour: colourOf(option.colour) }));
5297
+ const unlisted = action.current && !offered.some((option) => option.value === action.current) ? [{ value: action.current, label: action.current, colour: "neutral", disabled: true }] : [];
5284
5298
  return {
5285
5299
  value: action.current,
5286
- options: (action.options ?? []).map((option) => ({ value: option.value, label: option.label, colour: colourOf(option.colour) })),
5300
+ options: [...unlisted, ...offered],
5287
5301
  ...onAct ? { onChange: (value) => onAct(action.id, value) } : {}
5288
5302
  };
5289
5303
  }
@@ -5503,7 +5517,7 @@ function LinkPickers({ status, owner, ownerLabel = "Owner", readOnly = false, di
5503
5517
  onChange: (value) => status.onChange?.(value),
5504
5518
  ariaLabel: "Status",
5505
5519
  disabledReason,
5506
- options: status.options.map((option) => ({ value: option.value, label: option.label, leading: option.colour && /* @__PURE__ */ jsx65(StatusIcon, { colour: option.colour }) }))
5520
+ options: status.options.map((option) => ({ value: option.value, label: option.label, leading: option.colour && /* @__PURE__ */ jsx65(StatusIcon, { colour: option.colour }), ...option.disabled ? { disabled: true } : {} }))
5507
5521
  }
5508
5522
  )),
5509
5523
  owner && (ownerWords ? /* @__PURE__ */ jsxs47("span", { className: "inline-flex min-w-0 items-center gap-1", children: [
@@ -6049,7 +6063,7 @@ function ActivityLine({ person, did, time, mark, where, words, seen = false, hre
6049
6063
  words
6050
6064
  ] })
6051
6065
  ] }) });
6052
- const row = menuItemClassName({ size: "default", className });
6066
+ const row = menuItemClassName({ size: "default", className: cn(!seen && "bg-accent-wash", className) });
6053
6067
  if (href) {
6054
6068
  return /* @__PURE__ */ jsx78(Link, { href, variant: "plain", className: row, ...onClick ? { onClick } : {}, ...rest, children: body });
6055
6069
  }
@@ -7635,7 +7649,7 @@ var NAME_LEAST_PX = 200;
7635
7649
  var DEFAULT_WIDTH = "medium";
7636
7650
  var sizeOf = (column) => column.width ?? DEFAULT_WIDTH;
7637
7651
  var ROW_FRAME_PX = 24 + 16 + 12;
7638
- var GAP_PX = 12;
7652
+ var GAP_PX = 24;
7639
7653
  var END_PX = 64;
7640
7654
  var ListTableContext = createContext14(null);
7641
7655
  var showsColumn = (column, shown2) => shown2 === "all" || shown2 === "high" && (column.keep ?? "high") === "high";
@@ -7659,8 +7673,8 @@ function ListTable({ "aria-label": label, nameLabel = "Name", columns, end = fal
7659
7673
  }, [measure]);
7660
7674
  return /* @__PURE__ */ jsx101(ListTableContext.Provider, { value: { columns, shown: shown2, end }, children: /* @__PURE__ */ jsxs78("div", { ref: box, role: "table", "aria-label": label, className: cn("flex w-full flex-col gap-2", className), children: [
7661
7675
  columns.length > 0 && // Hidden, it is out of the flow too: the rows start where the list does, with no gap for it.
7662
- /* @__PURE__ */ jsxs78("div", { role: "row", className: cn("flex items-center gap-3 px-3 text-caption text-text-muted", !headings && "sr-only"), children: [
7663
- /* @__PURE__ */ jsx101("span", { role: "columnheader", className: "min-w-0 max-w-sm flex-1 pl-7", children: nameLabel }),
7676
+ /* @__PURE__ */ jsxs78("div", { role: "row", className: cn("flex items-center gap-6 px-3 text-caption text-text-muted", !headings && "sr-only"), children: [
7677
+ /* @__PURE__ */ jsx101("span", { role: "columnheader", className: "min-w-0 flex-1 pl-7", children: nameLabel }),
7664
7678
  columns.map(
7665
7679
  (column) => showsColumn(column, shown2) ? /* @__PURE__ */ jsx101("span", { role: "columnheader", className: cn("shrink-0 truncate", WIDTH_CLASSES[sizeOf(column)]), children: column.label }, column.label) : null
7666
7680
  ),
@@ -7674,8 +7688,9 @@ function ListTableRow({ href, label, description, icon, cells, end, onClick, ...
7674
7688
  if (!table) throw new Error("ListTableRow is a row of a ListTable: put it inside one.");
7675
7689
  return (
7676
7690
  // A row's look in every list: 8px corners, the fill under the pointer and no edge.
7677
- /* @__PURE__ */ jsxs78("div", { role: "row", className: "relative flex min-w-0 items-center gap-3 rounded-lg px-3 py-2 hover:bg-bg-hover", ...rest, children: [
7678
- /* @__PURE__ */ jsxs78("span", { role: "cell", className: "flex min-w-0 max-w-sm flex-1 items-center gap-3", children: [
7691
+ // 24px between the name and each fact, and before the end (Katerina, 17 November): they touched at 12.
7692
+ /* @__PURE__ */ jsxs78("div", { role: "row", className: "relative flex min-w-0 items-center gap-6 rounded-lg px-3 py-2 hover:bg-bg-hover", ...rest, children: [
7693
+ /* @__PURE__ */ jsxs78("span", { role: "cell", className: "flex min-w-0 flex-1 items-center gap-3", children: [
7679
7694
  icon != null && /* @__PURE__ */ jsx101("span", { className: "flex shrink-0 items-center text-text-secondary", children: icon }),
7680
7695
  /* @__PURE__ */ jsxs78(Link, { href, variant: "plain", cover: true, className: "flex min-w-0 flex-1 flex-col gap-0.5", ...onClick ? { onClick } : {}, children: [
7681
7696
  /* @__PURE__ */ jsx101("span", { className: "truncate text-body-2 font-medium text-text-primary", children: label }),