@mistriwork/kit 1.0.0-rc.14 → 1.0.0-rc.16

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 (79) hide show
  1. package/dist/client/app.js +2 -1
  2. package/dist/client/components/AppList.js +12 -1
  3. package/dist/client/components/ChartFigure.d.ts +3 -2
  4. package/dist/client/components/ChartFigure.js +7 -5
  5. package/dist/client/components/Dressed.js +3 -0
  6. package/dist/client/components/Editable.js +3 -2
  7. package/dist/client/components/ErrorBoundary.js +1 -1
  8. package/dist/client/components/Grid.d.ts +15 -1
  9. package/dist/client/components/Grid.js +44 -7
  10. package/dist/client/components/JsonView.d.ts +2 -1
  11. package/dist/client/components/JsonView.js +2 -2
  12. package/dist/client/components/NewRecord.d.ts +3 -1
  13. package/dist/client/components/NewRecord.js +16 -5
  14. package/dist/client/components/PageCurrent.d.ts +10 -1
  15. package/dist/client/components/PageCurrent.js +10 -6
  16. package/dist/client/components/PageFields.js +14 -3
  17. package/dist/client/components/PageFlowDiagram.css +1 -1
  18. package/dist/client/components/PageHead.js +10 -9
  19. package/dist/client/components/PageHeadline.d.ts +3 -1
  20. package/dist/client/components/PageHeadline.js +3 -2
  21. package/dist/client/components/PageMetrics.js +13 -4
  22. package/dist/client/components/PageRelated.js +17 -2
  23. package/dist/client/components/PageSectionBox.js +6 -3
  24. package/dist/client/components/PageSections.js +1 -1
  25. package/dist/client/components/PageTimeline.js +44 -17
  26. package/dist/client/components/RecordSummaries.d.ts +5 -3
  27. package/dist/client/components/RecordSummaries.js +11 -2
  28. package/dist/client/components/TableRoom.d.ts +4 -1
  29. package/dist/client/components/TableRoom.js +10 -5
  30. package/dist/client/components/TableView.d.ts +4 -2
  31. package/dist/client/components/TableView.js +3 -3
  32. package/dist/client/components/TimelineReactions.css +49 -0
  33. package/dist/client/components/TimelineReactions.d.ts +18 -0
  34. package/dist/client/components/TimelineReactions.js +58 -0
  35. package/dist/client/components/TreePicker.css +25 -0
  36. package/dist/client/components/TreePicker.d.ts +59 -0
  37. package/dist/client/components/TreePicker.js +407 -0
  38. package/dist/client/components/Value.d.ts +2 -0
  39. package/dist/client/components/Value.js +67 -7
  40. package/dist/client/components/appListModel.d.ts +2 -0
  41. package/dist/client/components/chromeIcons.d.ts +1 -0
  42. package/dist/client/components/chromeIcons.js +1 -0
  43. package/dist/client/components/dashboardModel.d.ts +2 -2
  44. package/dist/client/components/inputRenderers.d.ts +7 -1
  45. package/dist/client/components/inputRenderers.js +2 -0
  46. package/dist/client/components/jsonModel.d.ts +3 -0
  47. package/dist/client/components/jsonModel.js +8 -0
  48. package/dist/client/components/pageContext.js +2 -1
  49. package/dist/client/components/pageModel.d.ts +14 -5
  50. package/dist/client/components/reactionTally.d.ts +20 -0
  51. package/dist/client/components/reactionTally.js +46 -0
  52. package/dist/client/components/useGridGroups.d.ts +11 -0
  53. package/dist/client/components/useGridGroups.js +70 -0
  54. package/dist/client/components/useGridKeyboard.d.ts +2 -0
  55. package/dist/client/components/useGridKeyboard.js +18 -1
  56. package/dist/client/components/valueModel.d.ts +10 -3
  57. package/dist/client/components/valueModel.js +21 -1
  58. package/dist/client/copy/forms/components/TreePicker.d.ts +9 -0
  59. package/dist/client/copy/forms/components/TreePicker.js +11 -0
  60. package/dist/client/copy/lists/components/Grid.d.ts +1 -1
  61. package/dist/client/copy/lists/components/Grid.js +1 -1
  62. package/dist/client/copy/lists/components/useGridGroups.d.ts +3 -0
  63. package/dist/client/copy/lists/components/useGridGroups.js +5 -0
  64. package/dist/client/copy/record/components/PageTimeline.d.ts +1 -0
  65. package/dist/client/copy/record/components/PageTimeline.js +1 -0
  66. package/dist/client/copy/record/components/TimelineReactions.d.ts +7 -0
  67. package/dist/client/copy/record/components/TimelineReactions.js +6 -0
  68. package/dist/client/copy/record/components/Value.d.ts +3 -0
  69. package/dist/client/copy/record/components/Value.js +3 -0
  70. package/dist/client/copy/shell/components/ErrorBoundary.d.ts +1 -1
  71. package/dist/client/copy/shell/components/ErrorBoundary.js +1 -1
  72. package/dist/client/features.css +37 -1
  73. package/dist/client/index.html +1 -1
  74. package/dist/client/page.css +33 -4
  75. package/dist/client/shellHost.d.ts +1 -1
  76. package/dist/client/shellHost.js +1 -1
  77. package/dist/client/structure.css +18 -3
  78. package/dist/client/style.css +11 -2
  79. package/package.json +4 -4
@@ -0,0 +1,3 @@
1
+ export declare const say: import("../../../messages.js").RoomMessage<{
2
+ readonly noGroupValue: "No {caption}";
3
+ }>;
@@ -0,0 +1,5 @@
1
+ /** What a grouped grid's heads say (useGridGroups.ts), in the lists and grid room (packages/kit/src/client/messages.ts says how the catalog is split). */
2
+ import { defineMessages } from '../../../messages.js';
3
+ export const say = defineMessages({
4
+ noGroupValue: 'No {caption}',
5
+ });
@@ -2,6 +2,7 @@ export declare const say: import("../../../messages.js").RoomMessage<{
2
2
  readonly thisActivityStreamHasNoView: "This activity stream has no view definition.";
3
3
  readonly thisActivityStreamCould: "This activity stream could not be read.";
4
4
  readonly nothingDatedYetForThisRecord: "Nothing dated yet for this record.";
5
+ readonly showMore: "Show more";
5
6
  readonly updates: {
6
7
  readonly one: "{count} update";
7
8
  readonly other: "{count} updates";
@@ -4,5 +4,6 @@ export const say = defineMessages({
4
4
  thisActivityStreamHasNoView: 'This activity stream has no view definition.',
5
5
  thisActivityStreamCould: 'This activity stream could not be read.',
6
6
  nothingDatedYetForThisRecord: 'Nothing dated yet for this record.',
7
+ showMore: 'Show more',
7
8
  updates: { one: '{count} update', other: '{count} updates' },
8
9
  });
@@ -0,0 +1,7 @@
1
+ export declare const say: import("../../../messages.js").RoomMessage<{
2
+ readonly reactions: "Reactions";
3
+ readonly reactionCount: {
4
+ readonly one: "{kind}, {count} reaction";
5
+ readonly other: "{kind}, {count} reactions";
6
+ };
7
+ }>;
@@ -0,0 +1,6 @@
1
+ /** What TimelineReactions says, in the record page room (packages/kit/src/client/messages.ts says how the catalog is split). */
2
+ import { defineMessages } from '../../../messages.js';
3
+ export const say = defineMessages({
4
+ reactions: 'Reactions',
5
+ reactionCount: { one: '{kind}, {count} reaction', other: '{kind}, {count} reactions' },
6
+ });
@@ -1,4 +1,7 @@
1
1
  export declare const say: import("../../../messages.js").RoomMessage<{
2
2
  readonly openReference: "Open {label} ({table} {key})";
3
3
  readonly openTableKey: "Open {table} {key}";
4
+ readonly copyValue: "Copy {label}";
5
+ readonly copiedValue: "Copied {label}.";
6
+ readonly findOnAMap: "Find on a map";
4
7
  }>;
@@ -3,4 +3,7 @@ import { defineMessages } from '../../../messages.js';
3
3
  export const say = defineMessages({
4
4
  openReference: 'Open {label} ({table} {key})',
5
5
  openTableKey: 'Open {table} {key}',
6
+ copyValue: 'Copy {label}',
7
+ copiedValue: 'Copied {label}.',
8
+ findOnAMap: 'Find on a map',
6
9
  });
@@ -1,4 +1,4 @@
1
1
  export declare const say: import("../../../messages.js").RoomMessage<{
2
- readonly tablewalkASectionCould: "a section could not be drawn.";
2
+ readonly aSectionCouldNotBeDrawn: "a section could not be drawn.";
3
3
  readonly unknownError: "Unknown error";
4
4
  }>;
@@ -1,6 +1,6 @@
1
1
  /** What ErrorBoundary says, in the shell room (packages/kit/src/client/messages.ts says how the catalog is split). */
2
2
  import { defineMessages } from '../../../messages.js';
3
3
  export const say = defineMessages({
4
- tablewalkASectionCould: 'a section could not be drawn.',
4
+ aSectionCouldNotBeDrawn: 'a section could not be drawn.',
5
5
  unknownError: 'Unknown error',
6
6
  });
@@ -1000,6 +1000,8 @@ button.ghost.dash-open:hover { color: var(--ink); background: none; }
1000
1000
  /* The main line is cut as the second is, with an ellipsis: a link clipped mid-letter read as a typo. */
1001
1001
  .cell-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1002
1002
  .cell-sub { font: 400 var(--text-sm)/1.35 var(--sans); color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1003
+ .value-subtitled { display: inline-flex; flex-direction: column; min-width: 0; max-width: 100%; }
1004
+ .value-sub { font: 400 var(--text-sm)/1.35 var(--sans); color: var(--ink-muted); overflow-wrap: anywhere; }
1003
1005
  td.dressed { white-space: nowrap; }
1004
1006
  /* The columns an App's list could not hold, folded under the row's name (Grid.tsx `foldedOf`): each head and its value
1005
1007
  kept together, the line wrapping between them rather than the table scrolling sideways. Said a size down, the
@@ -1138,7 +1140,7 @@ body.app-mobile-nav .sidebar-reveal { display: none; }
1138
1140
  body.app-mobile-nav .topnav { display: flex; flex: none; align-self: center; margin: 0; min-width: auto; }
1139
1141
  .tn-mobile-menu { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 36px; padding: 0 var(--space-3); border: 0; background: transparent; color: var(--ink-muted); font: var(--type-ui) var(--sans); }
1140
1142
  .tn-mobile-menu:hover { color: var(--ink); background: var(--raised); }
1141
- .tn-mobile-menu .tw-icon { width: 17px; height: 17px; }
1143
+ .tn-mobile-menu .mistri-icon { width: 17px; height: 17px; }
1142
1144
  .modal.mobile-nav-drawer { position: fixed; inset: 0 auto 0 0; width: min(20rem, calc(100% - 44px)); height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; transform: none; background: var(--surface); box-shadow: var(--shadow-modal); }
1143
1145
  body.app-mobile-nav .topnav { order: -1; }
1144
1146
  body.app-mobile-nav .brand { flex: 1; min-width: 0; }
@@ -1853,6 +1855,27 @@ body.session-locked > :not(#session-lock) { display: none !important; }
1853
1855
  .inline-edit-button:hover { border-color: var(--line); color: var(--accent-ink); }
1854
1856
  .inline-edit-value:focus-visible, .inline-edit-button:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
1855
1857
  .inline-field-open .cell-edit, .inline-field-open .cell-edit-control { min-width: 0; width: 100%; }
1858
+
1859
+ /* A postal address (`format: 'address'`) on its lines, as an envelope has it. A field's value box clips what falls
1860
+ outside it, and a link's underline sits below its last line's box: the room under it keeps that one underlined. */
1861
+ .value-address { display: inline-grid; padding-block-end: var(--space-1); }
1862
+ .value-address-line { display: block; }
1863
+
1864
+ /* A value with a copy button (`display: { <column>: { copy: true } }`): the button sits after the value at its first
1865
+ line (an address has several), its focus ring clear of the value, the size of a line's mark, and like the pencil waits for a pointer or keyboard focus at a desk and stays on
1866
+ touch. The copy is said by the toast, so the button itself never changes. */
1867
+ .value-copyable { display: inline-flex; align-items: flex-start; gap: var(--space-3); max-width: 100%; min-width: 0; }
1868
+ .value-copyable > :first-child { min-width: 0; overflow-wrap: anywhere; }
1869
+ .value-copy { flex: 0 0 24px; display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: var(--field-radius, 2px); background: transparent; color: var(--ink-muted); }
1870
+ .value-copy:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
1871
+ @media (hover: hover) and (pointer: fine) {
1872
+ .value-copy { opacity: 0; }
1873
+ .value-copyable:hover .value-copy, .value-copyable:focus-within .value-copy, .inline-field:hover .value-copy, .inline-field:focus-within .value-copy { opacity: 1; }
1874
+ .value-copy:hover { border-color: var(--line); color: var(--accent-ink); }
1875
+ }
1876
+ @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
1877
+ .value-copy { transition: opacity var(--t-hover) var(--ease-out); }
1878
+ }
1856
1879
  /* The input takes the box the value's button stood in (32px: its 4px pad inside a 1px edge), not the control's own
1857
1880
  padding on top of that floor, which made it 4px taller and moved every row below it on opening and again on closing. */
1858
1881
  .inline-field-open input.cell-edit { padding-block: 0; }
@@ -1893,6 +1916,19 @@ body.session-locked > :not(#session-lock) { display: none !important; }
1893
1916
  .grid-totals-label { font-weight: 500; color: var(--ink-muted); }
1894
1917
  .grid-totals-pending { color: var(--ink-subtle); }
1895
1918
 
1919
+ /* A grouped grid's heads (a list view's `group`): a hairline row over each run of one value, not a box and not a
1920
+ tint — the value, its count in the quiet figure face, and each subtotal under the column it sums. The value is the
1921
+ button that folds the group. */
1922
+ .grid-group-head td { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
1923
+ .grid-group-toggle {
1924
+ display: inline-flex; align-items: baseline; gap: var(--space-2); min-height: 0; max-width: 100%; padding: 0; border: 0;
1925
+ background: none; font: inherit; font-weight: 600; color: var(--ink); text-align: start; cursor: pointer;
1926
+ }
1927
+ .grid-group-caret { align-self: center; flex: none; color: var(--ink-subtle); }
1928
+ .grid-group-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1929
+ .grid-group-count { flex: none; font: var(--text-xs) var(--mono); color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
1930
+ .grid-group-sum { font-weight: 600; }
1931
+
1896
1932
  /* A compact list's rows: structure.css, so no look's row padding outranks them. */
1897
1933
 
1898
1934
  /* A row's own menu: the trailing cell, hidden until the row is hovered or
@@ -195,7 +195,7 @@
195
195
  <!-- In an App the button is the search box (app.js adds .tn-search):
196
196
  a mark, a word and the key. A bare "⌘K" was a shortcut with no
197
197
  door; the Workbench keeps its key alone. -->
198
- <svg class="tw-icon tn-search-icon" aria-hidden="true" focusable="false" width="1em" height="1em" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/></svg>
198
+ <svg class="mistri-icon tn-search-icon" aria-hidden="true" focusable="false" width="1em" height="1em" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/></svg>
199
199
  <span class="tn-search-hint" aria-hidden="true">Search…</span>
200
200
  <span class="tn-search-key" aria-hidden="true">⌘K</span>
201
201
  </button>
@@ -813,6 +813,24 @@
813
813
  .page-head-facts > .page-fact::before {
814
814
  content: none;
815
815
  }
816
+ /* Facts past the line wait in a disclosure of the head's own, under the line and in its column. Closed, it is one
817
+ row of the same height whoever opens it, and its summary is the quiet caption a fact's is; opened, the rest
818
+ wrap as the line does, never sideways. */
819
+ .page-head.has-record > .page-head-more {
820
+ grid-column: 1;
821
+ min-width: 0;
822
+ margin-top: var(--space-2);
823
+ font-size: var(--text-md);
824
+ }
825
+ .page-head-more > summary {
826
+ display: inline-block;
827
+ cursor: pointer;
828
+ font: 500 var(--text-sm)/1.4 var(--sans);
829
+ color: var(--ink-muted);
830
+ }
831
+ .page-head-more > .page-head-facts {
832
+ margin-top: var(--space-3);
833
+ }
816
834
  .page-head-facts > .page-fact:has(> .page-fact-caption) {
817
835
  flex-direction: column;
818
836
  align-items: flex-start;
@@ -841,7 +859,7 @@
841
859
  flex-basis: 100%;
842
860
  margin-inline-start: 0;
843
861
  }
844
- .page-head.has-record > .page-head-facts {
862
+ .page-head.has-record > :is(.page-head-facts, .page-head-more) {
845
863
  grid-column: 1 / -1;
846
864
  order: -1;
847
865
  }
@@ -873,7 +891,7 @@
873
891
  flex-basis: 100%;
874
892
  margin-inline-start: 0;
875
893
  }
876
- .page-head.has-record > .page-head-facts {
894
+ .page-head.has-record > :is(.page-head-facts, .page-head-more) {
877
895
  grid-column: 1 / -1;
878
896
  order: -1;
879
897
  }
@@ -1915,6 +1933,10 @@
1915
1933
  .timeline-fold-toggle[aria-expanded='true'] svg {
1916
1934
  transform: rotate(90deg);
1917
1935
  }
1936
+ .timeline-more {
1937
+ padding-block: var(--space-2) 0;
1938
+ min-height: 32px;
1939
+ }
1918
1940
  .page-related-create.timeline-compose {
1919
1941
  padding-block: 0 var(--space-2h);
1920
1942
  }
@@ -3321,6 +3343,12 @@
3321
3343
  font: 500 calc(15px * var(--type-k)) var(--sans);
3322
3344
  font-variant-numeric: tabular-nums;
3323
3345
  }
3346
+ .page-headline-subtitle {
3347
+ display: block;
3348
+ margin-top: var(--space-1);
3349
+ color: var(--ink-muted);
3350
+ font: 500 var(--text-md)/1.4 var(--sans);
3351
+ }
3324
3352
  .page-headline-sub .num-value {
3325
3353
  font: inherit;
3326
3354
  color: var(--ink);
@@ -3675,10 +3703,11 @@
3675
3703
  }
3676
3704
  /* An address is read whole or cut with an ellipsis (its title says the rest), never broken mid-word across two lines
3677
3705
  in a column of 8rem: an email takes the card's row. */
3678
- .page-card-fact:has(> dd > a.value-link:is([href^='mailto:'], [href^='http'])) {
3706
+ .page-card-fact:has(> dd > a.value-link:is([href^='mailto:'], [href^='http']):not(.value-address)) {
3679
3707
  grid-column: 1 / -1;
3680
3708
  }
3681
- .page-card-fact > dd > a.value-link:is([href^='mailto:'], [href^='http']) {
3709
+ /* A postal address is not cut: it stands on its own lines (Value.tsx). */
3710
+ .page-card-fact > dd > a.value-link:is([href^='mailto:'], [href^='http']):not(.value-address) {
3682
3711
  display: block;
3683
3712
  overflow: hidden;
3684
3713
  text-overflow: ellipsis;
@@ -8,7 +8,7 @@
8
8
  * Served, the page is the shell's own, and each of these is exactly the
9
9
  * global it names. They are gathered here so that the shell can one day run
10
10
  * inside a page that is not its own — a React host's route, with the host's
11
- * router owning the history, the host's `<title>`, a `.tw-root` element in
11
+ * router owning the history, the host's `<title>`, a `.mistri-root` element in
12
12
  * place of `<html>` — by changing this module rather than four hundred call
13
13
  * sites. test/check-client-host.mjs keeps it the only place: a new
14
14
  * `window.history`, `document.title`, `document.documentElement`, `document.body`,
@@ -8,7 +8,7 @@
8
8
  * Served, the page is the shell's own, and each of these is exactly the
9
9
  * global it names. They are gathered here so that the shell can one day run
10
10
  * inside a page that is not its own — a React host's route, with the host's
11
- * router owning the history, the host's `<title>`, a `.tw-root` element in
11
+ * router owning the history, the host's `<title>`, a `.mistri-root` element in
12
12
  * place of `<html>` — by changing this module rather than four hundred call
13
13
  * sites. test/check-client-host.mjs keeps it the only place: a new
14
14
  * `window.history`, `document.title`, `document.documentElement`, `document.body`,
@@ -485,6 +485,12 @@
485
485
  height: 20px;
486
486
  font-size: var(--text-xs);
487
487
  }
488
+ /* A group's head (Grid.tsx GroupHeadRow) is a hairline, not a row a reader opens: no look's row fill or hover tint
489
+ lands on it, here where it outranks them all. */
490
+ .table-wrap tbody tr.grid-group-head,
491
+ .table-wrap tbody tr.grid-group-head > td {
492
+ background: transparent;
493
+ }
488
494
 
489
495
  /* The folded and drill-in menus are used by thumb: their rows keep a 44px target in every look. */
490
496
  .topnav .tn-pop.tn-folded-pop .tn-popitem {
@@ -862,8 +868,8 @@
862
868
  figure 37px and a plain banner's action 33px: a field report's grade found them on every page. A date's calendar
863
869
  button is 30×40 inside its field and a New sheet's Close 23×25: the same grade found them on every form. A record's
864
870
  value link (a phone number, an address) is 18px, and the 32px pencil beside a link or a reference that edits it,
865
- which the same grade found on every lead: their hit areas are cut at their field's row, below, so a tall one
866
- never reaches into the next field's. */
871
+ which the same grade found on every lead, and a value's 24px copy button: their hit areas are cut at their
872
+ field's row, below, so a tall one never reaches into the next field's. */
867
873
  :where(
868
874
  .brand,
869
875
  .icon-button,
@@ -892,6 +898,7 @@
892
898
  .dashboard-note-action,
893
899
  .peekpanel-close,
894
900
  .inline-edit-button,
901
+ .value-copy,
895
902
  :is(.page-field, .page-card-fact) a.value-link
896
903
  ) {
897
904
  position: relative;
@@ -927,6 +934,7 @@
927
934
  .date-field-trigger,
928
935
  .peekpanel-close,
929
936
  .inline-edit-button,
937
+ .value-copy,
930
938
  :is(.page-field, .page-card-fact) a.value-link
931
939
  )::before {
932
940
  content: '';
@@ -937,7 +945,7 @@
937
945
  height: max(100%, 44px);
938
946
  transform: translate(-50%, -50%);
939
947
  }
940
- :is(.page-field, .page-card-fact):has(a.value-link, .inline-edit-button) {
948
+ :is(.page-field, .page-card-fact):has(a.value-link, .inline-edit-button, .value-copy) {
941
949
  clip-path: inset(0 -100vmax);
942
950
  }
943
951
  /* A folding section's heading draws its chevron on ::before, so its hit area is the ::after. A gantt bar is
@@ -1283,6 +1291,13 @@
1283
1291
  .page-section-bar > .page-section-head {
1284
1292
  flex: 1 1 auto;
1285
1293
  }
1294
+ /* A section's mark leads its heading, in the heading's quieter ink (a dashboard section's is the same, Chart.css). */
1295
+ .page-section-head .dash-section-icon {
1296
+ flex: none;
1297
+ margin-right: var(--space-3);
1298
+ vertical-align: -2px;
1299
+ color: var(--ink-muted);
1300
+ }
1286
1301
  .page-section-bar > .page-related-create {
1287
1302
  flex-wrap: wrap;
1288
1303
  justify-content: flex-start;
@@ -1214,8 +1214,8 @@ td .ref { color: var(--link); text-decoration: underline; text-decoration-style:
1214
1214
  font: inherit; line-height: 1.4;
1215
1215
  }
1216
1216
  .step-control > :not(:first-child) { border-inline-start: 1px solid var(--line); }
1217
- .step-control .tw-icon, .crumb-back .tw-icon { flex: none; }
1218
- .step-control:dir(rtl) .tw-icon, .crumb-back:dir(rtl) .tw-icon { transform: scaleX(-1); }
1217
+ .step-control .mistri-icon, .crumb-back .mistri-icon { flex: none; }
1218
+ .step-control:dir(rtl) .mistri-icon, .crumb-back:dir(rtl) .mistri-icon { transform: scaleX(-1); }
1219
1219
  .step-label { min-inline-size: 0; overflow-wrap: anywhere; }
1220
1220
  .step-position {
1221
1221
  display: flex; align-items: center; justify-content: center;
@@ -1633,6 +1633,15 @@ button.danger { background: var(--status-critical); color: var(--surface); borde
1633
1633
  a phone's screen. */
1634
1634
  .record-summary { padding: var(--space-3h) 0 var(--space-4); border-top: 1px solid var(--line); }
1635
1635
  .record-summary:last-child { border-bottom: 1px solid var(--line); }
1636
+ /* A grouped list's head on a phone (RecordSummaries.tsx): the value, its count and subtotals on one wrapping line,
1637
+ over a stronger rule than a summary's — a hairline row as the grid's head is, not a box. */
1638
+ .record-summary-group {
1639
+ display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3);
1640
+ padding: var(--space-3) 0 var(--space-2); border-top: 1px solid var(--line-strong);
1641
+ }
1642
+ .record-summary-group-name { font: 600 var(--text-md)/1.45 var(--sans); color: var(--ink); }
1643
+ .record-summary-group-count { font: var(--text-xs) var(--mono); color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
1644
+ .record-summary-group-sum { font: var(--text-sm)/1.45 var(--sans); color: var(--ink-muted); }
1636
1645
  .record-summary.is-navigable { cursor: pointer; }
1637
1646
  .record-summary.is-navigable:active { background: var(--raised); }
1638
1647
  .record-summary-title { display: block; width: 100%; min-height: 32px; padding: var(--space-1h) 0; border: 0; border-radius: 0; background: none; text-align: left; font: 600 calc(15px * var(--type-k))/1.45 var(--sans); letter-spacing: 0; color: var(--ink); overflow-wrap: anywhere; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mistriwork/kit",
3
- "version": "1.0.0-rc.14",
3
+ "version": "1.0.0-rc.16",
4
4
  "description": "The shared React client both shells are drawn with: the walk and the address, Grid, Value, the record page, lists, filters and charts.",
5
5
  "homepage": "https://mistriwork.dev",
6
6
  "bugs": {
@@ -82,8 +82,8 @@
82
82
  "./package.json": "./package.json"
83
83
  },
84
84
  "dependencies": {
85
- "@mistriwork/engine": "1.0.0-rc.14",
86
- "@mistriwork/ui": "1.0.0-rc.14",
85
+ "@mistriwork/engine": "1.0.0-rc.16",
86
+ "@mistriwork/ui": "1.0.0-rc.16",
87
87
  "intl-messageformat": "12.1.2",
88
88
  "qrcode-generator": "^2.0.4"
89
89
  },
@@ -172,6 +172,6 @@
172
172
  }
173
173
  },
174
174
  "engines": {
175
- "node": ">=24.22.1"
175
+ "node": ">=24"
176
176
  }
177
177
  }