@mistriwork/kit 1.0.0-rc.57 → 1.0.0-rc.59

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 (158) hide show
  1. package/dist/client/app.js +14 -2
  2. package/dist/client/audience.d.ts +1 -0
  3. package/dist/client/audience.js +10 -0
  4. package/dist/client/brandLook.css +49 -1
  5. package/dist/client/components/AppColumnMenuPopups.js +41 -11
  6. package/dist/client/components/AppList.d.ts +3 -1
  7. package/dist/client/components/AppList.js +77 -15
  8. package/dist/client/components/CardsList.js +14 -1
  9. package/dist/client/components/Chart.css +4 -0
  10. package/dist/client/components/Chart.d.ts +4 -4
  11. package/dist/client/components/Chart.js +30 -9
  12. package/dist/client/components/Content.js +3 -1
  13. package/dist/client/components/DateField.css +1 -1
  14. package/dist/client/components/DateField.js +1 -0
  15. package/dist/client/components/DefinedFields.js +2 -2
  16. package/dist/client/components/Diagram.css +82 -0
  17. package/dist/client/components/Diagram.d.ts +1 -0
  18. package/dist/client/components/Diagram.js +1 -0
  19. package/dist/client/components/Dressed.js +1 -1
  20. package/dist/client/components/Editable.js +7 -3
  21. package/dist/client/components/Export.js +1 -1
  22. package/dist/client/components/FilterBoxes.js +2 -2
  23. package/dist/client/components/FilterRail.css +1 -1
  24. package/dist/client/components/FilterRail.js +6 -4
  25. package/dist/client/components/Gallery.css +171 -0
  26. package/dist/client/components/Gallery.d.ts +1 -0
  27. package/dist/client/components/Gallery.js +1 -0
  28. package/dist/client/components/Grid.d.ts +2 -1
  29. package/dist/client/components/Grid.js +78 -24
  30. package/dist/client/components/GridCellEditor.js +4 -2
  31. package/dist/client/components/GridSelection.d.ts +4 -1
  32. package/dist/client/components/GridSelection.js +20 -3
  33. package/dist/client/components/LandingSurface.css +2 -2
  34. package/dist/client/components/LayoutBuilder.css +225 -0
  35. package/dist/client/components/LayoutBuilder.d.ts +1 -0
  36. package/dist/client/components/LayoutBuilder.js +1 -0
  37. package/dist/client/components/ListColumns.d.ts +12 -0
  38. package/dist/client/components/ListColumns.js +61 -0
  39. package/dist/client/components/ListFilterBar.css +39 -14
  40. package/dist/client/components/ListFilterBar.js +39 -23
  41. package/dist/client/components/MultiStepForm.css +22 -22
  42. package/dist/client/components/NewRecord.js +120 -104
  43. package/dist/client/components/Notes.css +9 -0
  44. package/dist/client/components/Notes.d.ts +6 -2
  45. package/dist/client/components/Notes.js +10 -6
  46. package/dist/client/components/OverflowMenu.js +16 -11
  47. package/dist/client/components/PageFields.js +19 -4
  48. package/dist/client/components/PageRelated.d.ts +8 -1
  49. package/dist/client/components/PageRelated.js +46 -33
  50. package/dist/client/components/PageSections.js +18 -5
  51. package/dist/client/components/Palette.js +1 -1
  52. package/dist/client/components/Prefs.d.ts +10 -0
  53. package/dist/client/components/Prefs.js +33 -23
  54. package/dist/client/components/PresentationSwitch.js +4 -0
  55. package/dist/client/components/Prompt.js +4 -4
  56. package/dist/client/components/RecordGone.js +4 -4
  57. package/dist/client/components/RecordPicker.js +24 -6
  58. package/dist/client/components/RecordSummaries.js +31 -5
  59. package/dist/client/components/RecordTrailNav.js +4 -0
  60. package/dist/client/components/RichTextEditor.css +2 -2
  61. package/dist/client/components/RichTextEditor.js +18 -19
  62. package/dist/client/components/Rooms.js +22 -4
  63. package/dist/client/components/SectionPeriod.css +1 -1
  64. package/dist/client/components/SetFieldDialog.js +1 -1
  65. package/dist/client/components/Sidebar.js +8 -5
  66. package/dist/client/components/SuggestBox.js +2 -2
  67. package/dist/client/components/TableRoom.d.ts +5 -1
  68. package/dist/client/components/TableRoom.js +29 -10
  69. package/dist/client/components/TableView.js +1 -1
  70. package/dist/client/components/ThMenu.js +26 -15
  71. package/dist/client/components/Tour.css +96 -0
  72. package/dist/client/components/Tour.d.ts +1 -0
  73. package/dist/client/components/Tour.js +1 -0
  74. package/dist/client/components/TreePicker.css +1 -1
  75. package/dist/client/components/TreePicker.js +27 -20
  76. package/dist/client/components/Value.js +4 -1
  77. package/dist/client/components/WorkflowStatus.js +8 -4
  78. package/dist/client/components/appListModel.d.ts +4 -0
  79. package/dist/client/components/appRooms.d.ts +2 -0
  80. package/dist/client/components/appRooms.js +2 -0
  81. package/dist/client/components/boardNew.d.ts +5 -0
  82. package/dist/client/components/boardNew.js +5 -0
  83. package/dist/client/components/conditionWords.d.ts +10 -0
  84. package/dist/client/components/conditionWords.js +20 -0
  85. package/dist/client/components/dashboardModel.d.ts +8 -0
  86. package/dist/client/components/dashboardModel.js +28 -1
  87. package/dist/client/components/editInteraction.d.ts +1 -1
  88. package/dist/client/components/editInteraction.js +1 -1
  89. package/dist/client/components/gridSizing.d.ts +14 -20
  90. package/dist/client/components/gridSizing.js +147 -108
  91. package/dist/client/components/pageContext.d.ts +3 -2
  92. package/dist/client/components/pageModel.d.ts +2 -0
  93. package/dist/client/components/pickerStaleness.d.ts +11 -1
  94. package/dist/client/components/pickerStaleness.js +12 -2
  95. package/dist/client/components/rowTitle.d.ts +2 -0
  96. package/dist/client/components/rowTitle.js +10 -0
  97. package/dist/client/components/textMeasure.js +72 -3
  98. package/dist/client/components/useConditionWords.d.ts +5 -0
  99. package/dist/client/components/useConditionWords.js +3 -1
  100. package/dist/client/components/useGridKeyboard.js +5 -0
  101. package/dist/client/components/valueModel.d.ts +1 -0
  102. package/dist/client/components/valueModel.js +39 -4
  103. package/dist/client/composer.css +2 -2
  104. package/dist/client/copy/es.js +3 -3
  105. package/dist/client/copy/filters/components/ListFilterBar.d.ts +1 -0
  106. package/dist/client/copy/filters/components/ListFilterBar.js +1 -0
  107. package/dist/client/copy/forms/components/DateField.d.ts +2 -0
  108. package/dist/client/copy/forms/components/DateField.js +2 -0
  109. package/dist/client/copy/forms/components/NewRecord.d.ts +8 -0
  110. package/dist/client/copy/forms/components/NewRecord.js +2 -0
  111. package/dist/client/copy/lists/components/AppList.d.ts +2 -0
  112. package/dist/client/copy/lists/components/AppList.js +2 -0
  113. package/dist/client/copy/lists/components/GridSelection.d.ts +1 -0
  114. package/dist/client/copy/lists/components/GridSelection.js +1 -0
  115. package/dist/client/copy/lists/components/ListColumns.d.ts +5 -0
  116. package/dist/client/copy/lists/components/ListColumns.js +7 -0
  117. package/dist/client/copy/lists/components/TableRoom.d.ts +3 -1
  118. package/dist/client/copy/lists/components/TableRoom.js +3 -1
  119. package/dist/client/copy/record/components/PageHistory.d.ts +2 -2
  120. package/dist/client/copy/record/components/PageHistory.js +4 -2
  121. package/dist/client/copy/record/components/WorkflowStatus.d.ts +1 -0
  122. package/dist/client/copy/record/components/WorkflowStatus.js +1 -0
  123. package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +1 -0
  124. package/dist/client/copy/shell/components/MobileNavDrawer.js +2 -0
  125. package/dist/client/customThemes.css +3 -3
  126. package/dist/client/dom.js +5 -5
  127. package/dist/client/features.css +216 -356
  128. package/dist/client/fonts/Manrope-OFL.txt +93 -0
  129. package/dist/client/fonts/faces.css +10 -1
  130. package/dist/client/fonts/manrope-latin.woff2 +0 -0
  131. package/dist/client/formControls.css +4 -4
  132. package/dist/client/help.css +2 -2
  133. package/dist/client/ledgerLook.css +28 -0
  134. package/dist/client/locale.d.ts +2 -10
  135. package/dist/client/locale.js +0 -0
  136. package/dist/client/lumenLook.css +295 -105
  137. package/dist/client/manropeFace.css +32 -0
  138. package/dist/client/messages.d.ts +3 -3
  139. package/dist/client/messages.js +3 -3
  140. package/dist/client/page.css +98 -354
  141. package/dist/client/palette.js +31 -6
  142. package/dist/client/partsLook.css +60 -60
  143. package/dist/client/sageLook.css +101 -32
  144. package/dist/client/shellHost.d.ts +2 -2
  145. package/dist/client/shellHost.js +2 -2
  146. package/dist/client/shellMode.d.ts +9 -0
  147. package/dist/client/shellMode.js +2 -0
  148. package/dist/client/structure.css +281 -201
  149. package/dist/client/style.css +75 -224
  150. package/dist/client/themeFamilies.css +471 -66
  151. package/dist/client/tilesLook.css +502 -0
  152. package/dist/client/visualTheme.js +5 -2
  153. package/dist/client/visualThemes.css +38 -34
  154. package/dist/client/workbenchLook.css +12 -12
  155. package/dist/client/workshopLook.css +3 -8
  156. package/dist/vite.d.ts +1 -20
  157. package/dist/vite.js +33 -3
  158. package/package.json +8 -7
@@ -0,0 +1,502 @@
1
+ /* The recipes that draw a thing as a tile of its own: the menu as a card (`nav: float`), tabs as keys in a track
2
+ (`tabs: lifted`), a dashboard's figures as tiles (`stat: bento`) and a list as one tile with its rows ruled apart
3
+ inside it (`table: rows`). Graphite wears the second and Bloom the other three; an App's own theme may pick any of
4
+ them. Fetched when a worn theme picks one rather than carried in every App's first stylesheet (visualTheme.ts,
5
+ LOOK_SHEETS; lumenLook.css says why). They stand in `look` as every look's rules do; the rules all the looks share
6
+ stay in themeFamilies.css. No colour is named here: a tile is the theme's surface on its ground, a tint is mixed
7
+ from its accent. */
8
+ @layer look {
9
+ /* A tile's lift: a faint ring in the accent's tint over the look's card shadow. One token, so the five tiles agree. */
10
+ :root:is([data-look-stat='bento'], [data-look-table='rows']) {
11
+ --tile-lift: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent), var(--shadow-card, 0 0 0 transparent);
12
+ }
13
+ /* ---------- nav: float ----------
14
+ The side menu is a card standing off the window's edge, as a panel stands off the page: the ground shows round
15
+ it, so a look whose ground and menu are one colour would draw a card nobody can see (Bloom's are the tinted
16
+ page and white). Its rows are pills with room between them and the current one sits on the accent's tint, as
17
+ `pill` draws them. */
18
+ :root[data-look-nav='float'] {
19
+ --current-ground: var(--accent-soft);
20
+ --current-ink: var(--nav-accent);
21
+ --nav-float-inset: var(--space-4);
22
+ }
23
+ /* Beside the page only. On a phone the menu is a drawer over the page, and a collapsed rail is a strip of icons:
24
+ neither has an edge to stand off. */
25
+ @media (min-width: 721px) {
26
+ :root[data-look-nav='float'] body.app-mode:not(.app-topnav, .sidebar-hidden) .layout {
27
+ background: var(--ground);
28
+ }
29
+ :root[data-look-nav='float'] body.app-mode:not(.app-topnav, .sidebar-hidden) .sidebar {
30
+ margin: var(--nav-float-inset) 0 var(--nav-float-inset) var(--nav-float-inset);
31
+ border: 1px solid var(--nav-line);
32
+ border-radius: var(--radius-lg);
33
+ box-shadow: var(--shadow-card);
34
+ /* The bar that heads the menu (sidebarShell.js) and the foot under it are cut to the card's corners. */
35
+ overflow: hidden;
36
+ }
37
+ /* The foot's rule would be a second edge a few pixels above the card's own. */
38
+ :root[data-look-nav='float'] body.app-mode:not(.app-topnav, .sidebar-hidden) .sidebar-footer {
39
+ border-top-color: transparent;
40
+ }
41
+ }
42
+ :root[data-look-nav='float'] #table-list {
43
+ padding-inline: var(--space-3);
44
+ }
45
+ :root[data-look-nav='float'] #table-list li {
46
+ margin-bottom: var(--space-1);
47
+ }
48
+ /* A room's row, not a section's fold: the fold keeps its heading's geometry (style.css). */
49
+ :root[data-look-nav='float'] #table-list button:not(.nav-group-fold) {
50
+ align-items: center;
51
+ min-height: 36px;
52
+ padding: var(--space-2h) var(--space-4);
53
+ gap: var(--space-4);
54
+ border-radius: var(--control-radius, var(--radius));
55
+ color: var(--nav-muted);
56
+ font: 500 var(--text-sm)/1.35 var(--sans);
57
+ }
58
+ :root[data-look-nav='float'] #table-list .nav-icon {
59
+ width: var(--icon-ui);
60
+ height: var(--icon-ui);
61
+ color: var(--nav-muted);
62
+ }
63
+ @media (hover: hover) {
64
+ :root[data-look-nav='float'] #table-list button:hover:not([aria-current='true'], .nav-group-fold) {
65
+ background: color-mix(in srgb, var(--nav-ink) 5%, transparent);
66
+ color: var(--nav-ink);
67
+ }
68
+ }
69
+ /* Twice, so the current row keeps its ground under the pointer over the base sheet's hover (style.css). */
70
+ :root[data-look-nav='float'] :is(#table-list, .mobile-nav-list) button[aria-current='true'][aria-current='true'] {
71
+ background: var(--current-ground);
72
+ color: var(--current-ink);
73
+ font-weight: 600;
74
+ }
75
+ :root[data-look-nav='float'] :is(#table-list, .mobile-nav-list) button[aria-current='true'] .nav-icon {
76
+ color: inherit;
77
+ }
78
+ /* A room's count is a quiet figure at the row's end, in the menu's quiet ink: a pill on every row made each room
79
+ shout its size. A count that says work is late takes the danger's ink (Sidebar.tsx, is-overdue). */
80
+ :root[data-look-nav='float'] #table-list .rows {
81
+ align-self: center;
82
+ min-width: 22px;
83
+ padding: 0;
84
+ box-sizing: border-box;
85
+ text-align: right;
86
+ background: none;
87
+ color: var(--nav-muted);
88
+ font: 500 var(--text-xs)/1.6 var(--sans);
89
+ font-variant-numeric: tabular-nums;
90
+ }
91
+ :root[data-look-nav='float'] #table-list .rows.is-overdue {
92
+ color: var(--status-critical);
93
+ font-weight: 600;
94
+ }
95
+ :root[data-look-nav='float'] #table-list li.nav-group {
96
+ padding: var(--space-5) var(--space-4) var(--space-2h) calc(12px + var(--nav-group-inset, 0px));
97
+ color: var(--nav-muted);
98
+ font: 600 var(--text-xs) var(--sans);
99
+ letter-spacing: var(--track-caps);
100
+ }
101
+ /* The menu drawn in the bar has no card to be: its items are the pills. */
102
+ :root[data-look-nav='float'] .app-mode .topbar :is(.tn-item, .tn-group-button) {
103
+ border-radius: var(--control-radius, var(--radius));
104
+ }
105
+ :root[data-look-nav='float'] .app-mode .topbar :is(.tn-group.active > .tn-group-button, .tn-item[aria-current='true']) {
106
+ background: var(--current-ground);
107
+ color: var(--current-ink);
108
+ box-shadow: none;
109
+ }
110
+ :root[data-look-nav='float'] .app-mode .topbar :is(.tn-group.active > .tn-group-button, .tn-item[aria-current='true']) .nav-icon {
111
+ color: var(--current-ink);
112
+ }
113
+
114
+ /* ---------- tabs: segment ----------
115
+ The tabs stand in a sunken track and the chosen one is a key lifted out of it: which is on is said by its
116
+ ground, so no rule runs across the page under them. The track is the tab list itself where the strip holds
117
+ more than tabs (a list's strip also holds its fold and its filter adder), and the strip where it is the list. */
118
+ :root[data-look-tabs='lifted'] {
119
+ --segment-corner: min(var(--control-radius, var(--radius)), 10px);
120
+ /* A list's strip draws its rule inside itself (structure.css): none under a track. */
121
+ --tabs-rule: none;
122
+ }
123
+ :root[data-look-tabs='lifted'] .tabs {
124
+ align-items: center;
125
+ padding-bottom: var(--space-3);
126
+ border-bottom-color: transparent;
127
+ }
128
+ :root[data-look-tabs='lifted'] .tabs > :is(.tabs-row, .tabs-list),
129
+ :root[data-look-tabs='lifted'] :where(body.app-mode) .page-tabstrip {
130
+ display: inline-flex;
131
+ flex: 0 1 auto;
132
+ gap: var(--space-1);
133
+ width: fit-content;
134
+ max-width: 100%;
135
+ padding: var(--space-1h);
136
+ border: 0;
137
+ border-radius: calc(var(--segment-corner) + 3px);
138
+ background: var(--raised);
139
+ box-shadow: inset 0 0 0 1px var(--line);
140
+ }
141
+ :root[data-look-tabs='lifted'] :where(body.app-mode) .page-tabstrip {
142
+ margin-bottom: var(--space-4);
143
+ }
144
+ :root[data-look-tabs='lifted'] :is(.tab, :where(body.app-mode) .page-tab) {
145
+ /* The track, not the key in it, is what stands beside a list's filters: the toolbar's height less the track's
146
+ own padding, so the two are level. */
147
+ min-height: calc(var(--control-h-sm) - 2 * var(--space-1h));
148
+ padding: var(--space-1h) var(--space-4);
149
+ border: 0;
150
+ border-radius: var(--segment-corner);
151
+ background: transparent;
152
+ color: var(--ink-muted);
153
+ font: 500 var(--text-sm) var(--sans);
154
+ letter-spacing: normal;
155
+ text-transform: none;
156
+ }
157
+ /* A key says what it opens, in the interface face and sentence case, whatever the look sets its labels in: the
158
+ label role reaches a tab (themeFamilies.css), and a track of tracked monospace capitals read as a row of column
159
+ heads, the count beside each as one more word. The attribute twice, to stand over the role's rules. */
160
+ html:root[data-look-tabs='lifted'][data-look-tabs] :is(.tab, :where(body.app-mode) .page-tab) {
161
+ font-family: var(--sans);
162
+ font-size: var(--text-sm);
163
+ letter-spacing: normal;
164
+ text-transform: none;
165
+ }
166
+ @media (hover: hover) {
167
+ :root[data-look-tabs='lifted'] :is(.tab, :where(body.app-mode) .page-tab):hover:not([aria-selected='true']) {
168
+ background: color-mix(in srgb, var(--ink) 5%, transparent);
169
+ color: var(--ink);
170
+ }
171
+ }
172
+ :root[data-look-tabs='lifted'] :is(.tab, :where(body.app-mode) .page-tab)[aria-selected='true'] {
173
+ background: var(--surface);
174
+ color: var(--ink);
175
+ font-weight: 600;
176
+ box-shadow:
177
+ 0 0 0 1px var(--line),
178
+ var(--shadow-control, 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent));
179
+ }
180
+ /* The ring stands inside the key, or the track's own edge would cut it. */
181
+ :root[data-look-tabs='lifted'] :is(.tab, :where(body.app-mode) .page-tab):focus-visible {
182
+ outline-offset: -2px;
183
+ }
184
+
185
+ /* ---------- a page of tiles ----------
186
+ Where the figures are tiles the page under them is not flat: the accent blooms faintly from the head of the
187
+ pane and is gone a third of the way down, so the hue is felt on every page and a palette changes the room, not
188
+ only its buttons. It is a wash on the ground, under everything and behind no words that are not already on the
189
+ ground's tint; a tile, a panel and the menu's card stand on it as they stand on the ground. */
190
+ :root[data-look-stat='bento'] body.app-mode .content {
191
+ background-image: radial-gradient(
192
+ ellipse 70rem 22rem at 18% -6rem,
193
+ color-mix(in srgb, var(--accent) 13%, transparent),
194
+ transparent 72%
195
+ );
196
+ background-repeat: no-repeat;
197
+ }
198
+ /* What opens over a page of tiles is as soft as they are: a popup takes a field's corner (a menu rounder than
199
+ 12px loses its first row's corner, and a field here is no rounder) and a dialog a panel's. A look whose
200
+ controls are pills has no one corner to give them, and they fell back to the house's 8px: the squarest boxes
201
+ on the page were the ones laid over it. */
202
+ :root[data-look-stat='bento'] body {
203
+ --radius-pop: min(var(--field-radius, var(--radius)), 12px);
204
+ }
205
+ :root[data-look-stat='bento'] :is([data-slot='popover-content'], .account-menu-popup) {
206
+ border-radius: var(--radius-pop);
207
+ }
208
+ :root[data-look-stat='bento'] [data-slot='dialog-content']:is([data-kind='modal'], [data-kind='sheet']) {
209
+ border-radius: var(--radius-dialog, var(--radius-lg));
210
+ }
211
+ /* A switch that is off is quiet on such a page: its thumb in the colour of a field's edge, not in the muted ink,
212
+ which beside soft pills was the darkest mark on a form. On, it is the accent, as everywhere. */
213
+ :root[data-look-stat='bento'] .app-mode .insert-switch input:not(:checked)::after {
214
+ background: var(--line-control);
215
+ }
216
+ /* A form on a page of its own is a tile like the rest: the panel's surface under the same faint ring and card
217
+ shadow, where a panel look draws it with a hairline alone. */
218
+ :root[data-look-stat='bento'] .app-mode .newrecord-page-host > .form-page {
219
+ border-color: transparent;
220
+ box-shadow: var(--tile-lift);
221
+ }
222
+ /* The windows keep a tile's gap over the first tiles, which start where their area does (below). */
223
+ :root[data-look-stat='bento'] .app-mode .dash-controls {
224
+ padding-bottom: var(--space-5);
225
+ }
226
+ /* A dashboard leads with its greeting, and the windows it is read through stand at the head's far end, level with
227
+ the title, where there is room for both: under the title they were a second line of furniture before the first
228
+ figure. Only the windows move (a dashboard that also has pickers keeps its row of controls), and only where the
229
+ browser can anchor one box to another: elsewhere they stay under the head, as every look draws them. */
230
+ @supports (anchor-name: --dash-title) {
231
+ @media (min-width: 1100px) {
232
+ :root[data-look-stat='bento'] .app-mode .dash-head {
233
+ anchor-name: --dash-head;
234
+ }
235
+ :root[data-look-stat='bento'] .app-mode .dash-head .applist-title {
236
+ anchor-name: --dash-title;
237
+ }
238
+ /* Level with the title, at the head's far end less the head's own inset: the title is as wide as its words. */
239
+ :root[data-look-stat='bento'] .app-mode .dash-head + div > .dash-controls:has(> .dash-windows:only-child) {
240
+ position: absolute;
241
+ top: anchor(--dash-title top);
242
+ right: calc(anchor(--dash-head right) + var(--space-4h));
243
+ left: auto;
244
+ width: max-content;
245
+ margin: 0;
246
+ padding: 0;
247
+ }
248
+ /* The head keeps room under it, where the controls' row was. */
249
+ :root[data-look-stat='bento'] .app-mode .dash-head:has(+ div > .dash-controls > .dash-windows:only-child) {
250
+ margin-bottom: var(--space-6);
251
+ }
252
+ }
253
+ }
254
+ /* A strip of tiles is not a section with a heading: it starts where its area does, so two strips one over the
255
+ other on a phone stand a tile's gap apart, as two tiles side by side do. */
256
+ :root[data-look-stat='bento'] .dash-body .dash-strip {
257
+ padding-top: 0;
258
+ }
259
+
260
+ /* ---------- stat: bento ----------
261
+ Each figure is a soft tile of its own: the surface on the page's ground under the look's card shadow, the
262
+ panel's corner, and the figure set large. Its one edge is a ring of the accent too faint to read as a line,
263
+ there so a tile still has a shape where a theme's ground is its surface and its cards cast no shadow. Tiles
264
+ stand a gap apart, never ruled apart. */
265
+ /* One gap between every tile on the page, whichever block holds it: two blocks of two figures stood a section's
266
+ seam apart and their tiles a control's gap apart, so a row of four read as two pairs. */
267
+ :root[data-look-stat='bento'] .dash-body {
268
+ --page-row-gap: var(--space-5);
269
+ --dash-column-gap: var(--space-5);
270
+ }
271
+ :root[data-look-stat='bento'] .dash-strip .home-cards {
272
+ gap: var(--space-5);
273
+ margin: 0;
274
+ }
275
+ /* A figure's tile is a well in the page's tint, not a white card lifted off it: on the pane, which is the surface
276
+ already, a white tile had only its shadow to stand on, and a row of four shadows was the heaviest thing there. */
277
+ :root[data-look-stat='bento'] .dash-strip .home-card:nth-child(n) {
278
+ padding: var(--space-5) var(--space-5h, 20px);
279
+ border: 0;
280
+ border-radius: var(--radius-lg);
281
+ background: var(--raised);
282
+ box-shadow: none;
283
+ }
284
+ @media (hover: hover) {
285
+ :root[data-look-stat='bento'] .dash-strip a.home-card:nth-child(n):hover {
286
+ background: color-mix(in srgb, var(--accent) 7%, var(--raised));
287
+ }
288
+ }
289
+
290
+ /* ---------- workflow: segments ----------
291
+ A record's states as one bar cut into segments, a word in each: those walked stand on the tint in the ink, the
292
+ current one on the accent's tint in the accent's ink and a weight up, those ahead muted on the faintest ground.
293
+ Three grounds, a tick on a step walked and a rule under the current one: how far the record has come. */
294
+ :root[data-look-workflow='segments'] .workflow-steps {
295
+ flex-wrap: nowrap;
296
+ gap: var(--space-1);
297
+ padding: var(--space-4h) 0;
298
+ }
299
+ :root[data-look-workflow='segments'] .workflow-steps li {
300
+ flex: 1 1 0;
301
+ min-width: 0;
302
+ flex-direction: row;
303
+ align-items: center;
304
+ min-height: var(--control-h-sm);
305
+ padding: var(--space-2) var(--space-4h);
306
+ background: color-mix(in srgb, var(--ink) 4%, var(--surface));
307
+ color: var(--ink-muted);
308
+ font: 500 var(--text-sm) var(--sans);
309
+ }
310
+ :root[data-look-workflow='segments'] .workflow-steps li:first-child {
311
+ border-start-start-radius: var(--control-radius, var(--radius));
312
+ border-end-start-radius: var(--control-radius, var(--radius));
313
+ }
314
+ :root[data-look-workflow='segments'] .workflow-steps li:last-child {
315
+ border-start-end-radius: var(--control-radius, var(--radius));
316
+ border-end-end-radius: var(--control-radius, var(--radius));
317
+ }
318
+ :root[data-look-workflow='segments'] .workflow-marker {
319
+ display: none;
320
+ }
321
+ :root[data-look-workflow='segments'] .workflow-steps li[data-passed] {
322
+ background: var(--raised);
323
+ color: var(--ink);
324
+ }
325
+ /* A step walked says so with a tick before its word, and the current one stands on a rule in the accent: under a
326
+ palette whose accent is nearly its ink (Bloom's Slate) the two grounds were both grey and only a weight told
327
+ them apart. */
328
+ :root[data-look-workflow='segments'] .workflow-steps li[data-passed]::before {
329
+ content: '';
330
+ flex: none;
331
+ width: var(--space-3);
332
+ height: var(--space-2);
333
+ margin-inline-end: var(--space-2);
334
+ border: solid currentColor;
335
+ border-width: 0 0 2px 2px;
336
+ transform: translateY(-1px) rotate(-45deg);
337
+ }
338
+ :root[data-look-workflow='segments'] .workflow-steps li[aria-current='step'] {
339
+ background: var(--accent-soft);
340
+ color: var(--accent-ink);
341
+ font-weight: 600;
342
+ box-shadow: inset 0 -2px 0 var(--accent);
343
+ }
344
+ :root[data-look-workflow='segments'] .workflow-steps li[data-reachable] {
345
+ color: var(--ink);
346
+ }
347
+ :root[data-look-stat='bento'] .dash-strip .home-card-label {
348
+ font: 500 var(--text-sm) var(--sans);
349
+ color: var(--ink-muted);
350
+ }
351
+ /* The figure's size, weight and face are the theme's to say (`type.roles.figure`, themeFamilies.css): a tile only
352
+ gives it a tighter line, so a large figure does not push its label away. */
353
+ :root[data-look-stat='bento'] .dash-strip .home-card-value {
354
+ line-height: 1.15;
355
+ /* A figure is never broken (docs/design.md, Truncation): two tiles across a phone left "$56,130.0" over "0". */
356
+ white-space: nowrap;
357
+ }
358
+ /* Where the tiles are too narrow for the figure at its size, the figure is set a step down, not cut. */
359
+ :root[data-look-stat='bento'] .dash-strip {
360
+ container: stat-strip / inline-size;
361
+ }
362
+ @container stat-strip (max-width: 24rem) {
363
+ :root[data-look-stat='bento'] .dash-strip .home-card-value {
364
+ font-size: min(var(--figure-size, calc(28px * var(--type-k, 1))), calc(22px * var(--type-k, 1)));
365
+ }
366
+ }
367
+
368
+ /* ---------- table: rows ----------
369
+ A list is one soft tile and its rows are ruled apart inside it by hairlines: the surface on the page's ground,
370
+ the panel's corner, the same faint ring and card shadow a figure's tile has, the head plain words at its top.
371
+ It was a card to every row, each with an edge of its own: fifty outlined boxes down a page were the heaviest
372
+ thing on it, beside a record whose lists are one panel each. A row is still marked as a whole under the pointer
373
+ and when chosen, by a tint from edge to edge. A row is as tall as the reader's density makes it (structure.css),
374
+ so the grid that draws only the rows in view is the same tile. A table inside a record or a dashboard is already
375
+ in a panel and keeps its lines. */
376
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap {
377
+ border-radius: var(--radius-lg);
378
+ background: var(--surface);
379
+ box-shadow: var(--tile-lift);
380
+ /* The tile's corner would cut the first and last rows' own corners square without it; the ring is inside. */
381
+ padding: 1px;
382
+ }
383
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap th {
384
+ border-bottom-color: var(--line);
385
+ background: var(--surface);
386
+ font: 500 var(--text-sm) var(--sans);
387
+ letter-spacing: normal;
388
+ text-transform: none;
389
+ color: var(--ink-muted);
390
+ }
391
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap thead tr:first-child th:first-child {
392
+ border-start-start-radius: var(--radius-lg);
393
+ }
394
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap thead tr:first-child th:last-child {
395
+ border-start-end-radius: var(--radius-lg);
396
+ }
397
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody td {
398
+ border-bottom-color: var(--line);
399
+ background: transparent;
400
+ font-size: var(--text-base);
401
+ }
402
+ /* The last row closes on the tile's own edge, not on a rule a hair above it. */
403
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:last-child td {
404
+ border-bottom-color: transparent;
405
+ }
406
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:last-child td:first-child {
407
+ border-end-start-radius: var(--radius-lg);
408
+ }
409
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:last-child td:last-child {
410
+ border-end-end-radius: var(--radius-lg);
411
+ }
412
+ /* Chosen, or the one whose record is open beside the list: the accent's faintest tint across the row. */
413
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:is(.selected, [aria-selected='true'], [aria-current='true']) td {
414
+ background: color-mix(in srgb, var(--accent) 7%, var(--surface));
415
+ }
416
+ @media (hover: hover) {
417
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:hover td {
418
+ background: color-mix(in srgb, var(--accent) 4%, var(--surface));
419
+ }
420
+ }
421
+ /* A group's heading and the totals are not records: they stand on the raised ground, edge to edge. */
422
+ :root[data-look-table='rows'] .app-mode .applist-room .result-table > .table-wrap tbody tr:is(.grid-group-head, .grid-totals) td {
423
+ background: var(--raised);
424
+ }
425
+
426
+ /* A list read as a queue (a row and its two lines, the record beside it) is the same tile: its rows were ruled
427
+ apart on the bare ground, the one list in the look not held. */
428
+ :root[data-look-table='rows'] .app-mode .applist-room :is(.queue-list, .record-summaries) {
429
+ overflow: hidden;
430
+ border-radius: var(--radius-lg);
431
+ background: var(--surface);
432
+ box-shadow: var(--tile-lift);
433
+ }
434
+ /* A list's records as summaries, which is how a phone reads a table: each keeps its rule, inside the tile. */
435
+ :root[data-look-table='rows'] .app-mode .applist-room .record-summaries {
436
+ padding-inline: var(--space-5);
437
+ }
438
+ :root[data-look-table='rows'] .app-mode .applist-room .record-summaries > .record-summary:first-child {
439
+ border-top-color: transparent;
440
+ }
441
+ /* On a phone the summaries reach the pane's edges (style.css); a tile stands in from them by the page's gutter. */
442
+ @media (max-width: 760px) {
443
+ :root[data-look-table='rows'] .app-mode .applist-room .record-summaries {
444
+ margin-inline: var(--space-4);
445
+ }
446
+ }
447
+ :root[data-look-table='rows'] .app-mode .applist-room .queue-list > .queue-row:last-child {
448
+ border-bottom-color: transparent;
449
+ }
450
+
451
+ /* ---------- a record's figures ----------
452
+ The few figures a record leads with (a summary's fields) are tiles too where a dashboard's are: bare words on
453
+ the tint beside a page of tiles were the one block of the record not held. The value is set as a figure, a step
454
+ under a dashboard's, since three stand in a record's column. */
455
+ :root[data-look-stat='bento'] .app-mode .page-field-summary {
456
+ gap: var(--space-5);
457
+ }
458
+ :root[data-look-stat='bento'] .app-mode .page-field-summary > .page-field {
459
+ padding: var(--space-4h) var(--space-5);
460
+ border-radius: var(--radius-lg);
461
+ /* A well in the tint, as a dashboard's figure is (above). */
462
+ background: var(--raised);
463
+ }
464
+ /* A record's own lists (a related tab, a section's table) are few rows, and each is a tile of its own under plain
465
+ head words: the room's list is one tile ruled apart because fifty edged rows were heavy, and five are not. */
466
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap table {
467
+ border-collapse: separate;
468
+ border-spacing: 0 var(--space-2h);
469
+ }
470
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap thead th {
471
+ border: 0;
472
+ background: transparent;
473
+ }
474
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap tbody td {
475
+ border-block: 1px solid var(--line);
476
+ background: var(--surface);
477
+ }
478
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap tbody td:first-child {
479
+ border-inline-start: 1px solid var(--line);
480
+ border-start-start-radius: var(--field-radius, var(--radius));
481
+ border-end-start-radius: var(--field-radius, var(--radius));
482
+ padding-inline-start: var(--space-4h);
483
+ }
484
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap tbody td:last-child {
485
+ border-inline-end: 1px solid var(--line);
486
+ border-start-end-radius: var(--field-radius, var(--radius));
487
+ border-end-end-radius: var(--field-radius, var(--radius));
488
+ }
489
+ :root[data-look-table='rows'] .app-mode .page-list-body .result-table > .table-wrap thead th:first-child {
490
+ padding-inline-start: var(--space-4h);
491
+ }
492
+ :root[data-look-stat='bento'] .app-mode .page-field-summary > .page-field > dd {
493
+ font-size: var(--text-xl);
494
+ font-weight: var(--type-figure-weight, 700);
495
+ letter-spacing: -0.02em;
496
+ line-height: 1.2;
497
+ }
498
+ :root[data-look-stat='bento'] .app-mode .page-field-summary > .page-field > dd :is(.num-value, .date-value, .tone) {
499
+ font: inherit;
500
+ letter-spacing: inherit;
501
+ }
502
+ }
@@ -2,7 +2,7 @@ import { FONT_TOKENS, PALETTE_TOKENS, ROUND, ROUND_BOX, shapeTokens } from '@mis
2
2
  import { partTokens } from '@mistriwork/engine/shared/themeParts.js';
3
3
  import { wearIconWeight } from './iconWeight.js';
4
4
  import { typeTokens } from '@mistriwork/engine/shared/themeType.js';
5
- import { effectiveThemeDefinition, headingWeight, inheritThemePreset, lookNavRole, themePreset, THEME_PRESETS, } from '@mistriwork/engine/shared/themePresets.js';
5
+ import { effectiveThemeDefinition, headingWeight, inheritThemePreset, themePreset, THEME_PRESETS, } from '@mistriwork/engine/shared/themePresets.js';
6
6
  import { lookAttribute, RECIPE_PARTS, recipeAttributes, TYPE_ATTRIBUTES } from '@mistriwork/engine/shared/themeRecipes.js';
7
7
  import { say } from './copy/shell/visualTheme.js';
8
8
  import { shellById, shellRoot } from './shellHost.js';
@@ -247,8 +247,11 @@ const LOOK_SHEETS = {
247
247
  /* The faces the kit ships, each apart from its look (themeRecipes.ts KIT_FACE_SHEETS). */
248
248
  inter: () => import('./interFace.css'),
249
249
  barlow: () => import('./barlowFace.css'),
250
+ manrope: () => import('./manropeFace.css'),
250
251
  sage: () => import('./sageLook.css'),
251
252
  ledger: () => import('./ledgerLook.css'),
253
+ /* The four treatments that draw a thing as a tile of its own; Graphite and Bloom wear them (tilesLook.css). */
254
+ tiles: () => import('./tilesLook.css'),
252
255
  brand: () => import('./brandLook.css'),
253
256
  /* What a theme says beyond the menu: its parts' own styles and its patterns (themeParts.ts). */
254
257
  parts: () => import('./partsLook.css'),
@@ -384,7 +387,7 @@ function apply() {
384
387
  /* The theme a derived one (a tenant's) started from, so a page can tell its look when the look's own id is `tenant`. */
385
388
  root.dataset.themePreset = definition.startedFrom ?? definition.id;
386
389
  root.dataset.themePalette = visualPaletteChoice();
387
- const { attributes, sheets } = recipeAttributes(definition, lookNavRole(definition));
390
+ const { attributes, sheets } = recipeAttributes(definition);
388
391
  /* A role the worn theme leaves to the look has no attribute, so one the last theme set goes. */
389
392
  for (const name of OPTIONAL_ATTRIBUTES)
390
393
  if (!(name in attributes))