@makoai/app-sdk 2.30.1 → 2.30.2
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.
- package/index.js +1 -1
- package/package.json +1 -1
- package/ui.css +27 -27
package/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
* in a page (or this export) says which SDK a deployed app actually runs.
|
|
39
39
|
* Kept in step with package.json by snapshot.test.mjs.
|
|
40
40
|
*/
|
|
41
|
-
export const SDK_VERSION = "2.30.
|
|
41
|
+
export const SDK_VERSION = "2.30.2";
|
|
42
42
|
if (typeof window !== "undefined") {
|
|
43
43
|
try {
|
|
44
44
|
window.__MAKO_APP_SDK__ = SDK_VERSION;
|
package/package.json
CHANGED
package/ui.css
CHANGED
|
@@ -215,19 +215,19 @@ button, input, select, textarea { font-family: inherit; }
|
|
|
215
215
|
* resize a column. The table fills the card; its inline min-width (the sum of
|
|
216
216
|
* the columns) makes it scroll sideways in a narrower card. */
|
|
217
217
|
.mk-dt-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13px; }
|
|
218
|
-
.mk-dt-table th, .mk-dt-table td {
|
|
218
|
+
.mk-dt-table th:where(.mk-dt-table > * > tr > *), .mk-dt-table td:where(.mk-dt-table > * > tr > *) {
|
|
219
219
|
padding: 7px 10px; text-align: left; white-space: nowrap; vertical-align: middle; overflow: hidden;
|
|
220
220
|
border-bottom: 1px solid var(--mk-row-line); background: var(--card);
|
|
221
221
|
}
|
|
222
222
|
/* A row tint (rowClassName) sets --mk-dt-row-bg on the <tr>. Every body cell,
|
|
223
223
|
* the pinned one included, paints it, so the tint survives the solid pin. */
|
|
224
|
-
.mk-dt-table tbody td { background: var(--mk-dt-row-bg, var(--card)); }
|
|
225
|
-
.mk-dt-table thead th {
|
|
224
|
+
.mk-dt-table tbody td:where(.mk-dt-table > * > tr > *) { background: var(--mk-dt-row-bg, var(--card)); }
|
|
225
|
+
.mk-dt-table thead th:where(.mk-dt-table > * > tr > *) {
|
|
226
226
|
position: sticky; top: 0; z-index: 2; padding: 0; border-bottom: 0;
|
|
227
227
|
font-size: 12px; font-weight: 500; color: var(--muted-foreground);
|
|
228
228
|
box-shadow: inset 0 -1px 0 var(--border);
|
|
229
229
|
}
|
|
230
|
-
.mk-dt-table thead th.mk-dt-sorted { color: var(--foreground); }
|
|
230
|
+
.mk-dt-table thead th.mk-dt-sorted:where(.mk-dt-table > * > tr > *) { color: var(--foreground); }
|
|
231
231
|
.mk-dt-label { display: flex; padding: 8px 10px; }
|
|
232
232
|
.mk-dt-sort {
|
|
233
233
|
appearance: none; display: flex; align-items: center; gap: 4px; width: 100%; min-width: 0; padding: 8px 10px;
|
|
@@ -240,28 +240,28 @@ button, input, select, textarea { font-family: inherit; }
|
|
|
240
240
|
.mk-dt-sort svg { flex: none; }
|
|
241
241
|
.mk-dt-faint { opacity: .35; }
|
|
242
242
|
.mk-dt-table .mk-dt-num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
243
|
-
.mk-dt-table th.mk-dt-num :is(.mk-dt-sort, .mk-dt-label) { justify-content: flex-end; }
|
|
243
|
+
.mk-dt-table th.mk-dt-num:where(.mk-dt-table > * > tr > *) :is(.mk-dt-sort, .mk-dt-label) { justify-content: flex-end; }
|
|
244
244
|
.mk-dt-table .mk-dt-center { text-align: center; }
|
|
245
|
-
.mk-dt-table th.mk-dt-center :is(.mk-dt-sort, .mk-dt-label) { justify-content: center; }
|
|
245
|
+
.mk-dt-table th.mk-dt-center:where(.mk-dt-table > * > tr > *) :is(.mk-dt-sort, .mk-dt-label) { justify-content: center; }
|
|
246
246
|
/* The pinned column: solid background and a hairline on its right edge. */
|
|
247
247
|
.mk-dt-table .mk-dt-pin { position: sticky; left: 0; z-index: 1; box-shadow: inset -1px 0 0 var(--border); }
|
|
248
248
|
/* The corner cell is pinned both ways and keeps BOTH borders: one box-shadow
|
|
249
249
|
* would otherwise override the other and drop the header's bottom rule. */
|
|
250
|
-
.mk-dt-table thead th.mk-dt-pin { z-index: 3; box-shadow: inset -1px 0 0 var(--border), inset 0 -1px 0 var(--border); }
|
|
250
|
+
.mk-dt-table thead th.mk-dt-pin:where(.mk-dt-table > * > tr > *) { z-index: 3; box-shadow: inset -1px 0 0 var(--border), inset 0 -1px 0 var(--border); }
|
|
251
251
|
/* Column groups: a 2-row header. The whole <thead> sticks (two rows of
|
|
252
252
|
* sticky cells would stack at top: 0) and the pinned corner still sticks
|
|
253
253
|
* left. A group label spans its columns, centred, uppercase, with no rule
|
|
254
254
|
* under it. A line runs down the left of each section, head to foot. */
|
|
255
255
|
.mk-dt-table--grouped thead { position: sticky; top: 0; z-index: 2; }
|
|
256
|
-
.mk-dt-table--grouped thead th { position: static; }
|
|
257
|
-
.mk-dt-table--grouped thead th.mk-dt-pin { position: sticky; top: auto; left: 0; }
|
|
258
|
-
.mk-dt-table thead th.mk-dt-group {
|
|
256
|
+
.mk-dt-table--grouped thead th:where(.mk-dt-table > * > tr > *) { position: static; }
|
|
257
|
+
.mk-dt-table--grouped thead th.mk-dt-pin:where(.mk-dt-table > * > tr > *) { position: sticky; top: auto; left: 0; }
|
|
258
|
+
.mk-dt-table thead th.mk-dt-group:where(.mk-dt-table > * > tr > *) {
|
|
259
259
|
height: 26px; padding: 0 10px; text-align: center; box-shadow: none;
|
|
260
260
|
font-size: 11px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase;
|
|
261
261
|
}
|
|
262
262
|
.mk-dt-table .mk-dt-section { border-left: 1px solid var(--border); }
|
|
263
|
-
.mk-dt-table tbody tr:hover > td { background: color-mix(in srgb, var(--muted) 50%, var(--mk-dt-row-bg, var(--card))); }
|
|
264
|
-
.mk-dt-table tbody tr:last-child > td { border-bottom: 0; }
|
|
263
|
+
.mk-dt-table tbody tr:hover > td:where(.mk-dt-table > * > tr > *) { background: color-mix(in srgb, var(--muted) 50%, var(--mk-dt-row-bg, var(--card))); }
|
|
264
|
+
.mk-dt-table tbody tr:last-child > td:where(.mk-dt-table > * > tr > *) { border-bottom: 0; }
|
|
265
265
|
.mk-dt-click { cursor: pointer; }
|
|
266
266
|
.mk-dt-click:focus-visible { outline: none; }
|
|
267
267
|
.mk-dt-click:focus-visible > td { background: color-mix(in srgb, var(--muted) 70%, var(--mk-dt-row-bg, var(--card))); }
|
|
@@ -270,7 +270,7 @@ button, input, select, textarea { font-family: inherit; }
|
|
|
270
270
|
.mk-dt-cell :where(div, p) { overflow: hidden; text-overflow: ellipsis; }
|
|
271
271
|
/* `truncate: false`: the text wraps inside the column; the width still holds. */
|
|
272
272
|
.mk-dt-wrap { white-space: normal; overflow-wrap: anywhere; }
|
|
273
|
-
.mk-dt-table td.mk-dt-empty { text-align: center; color: var(--muted-foreground); padding: 48px 10px; white-space: normal; }
|
|
273
|
+
.mk-dt-table td.mk-dt-empty:where(.mk-dt-table > * > tr > *) { text-align: center; color: var(--muted-foreground); padding: 48px 10px; white-space: normal; }
|
|
274
274
|
/* `wrapHeaders`: a header label takes up to 2 lines instead of one ellipsized
|
|
275
275
|
* line, so a client reads every word. The sort icon keeps its place beside it. */
|
|
276
276
|
.mk-dt--wrap-heads .mk-dt-sort, .mk-dt--wrap-heads .mk-dt-label { white-space: normal; }
|
|
@@ -309,23 +309,23 @@ button, input, select, textarea { font-family: inherit; }
|
|
|
309
309
|
.mk-dt-expander:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
|
|
310
310
|
.mk-dt-expander svg { transform: rotate(-90deg); transition: transform .14s var(--mk-ease); }
|
|
311
311
|
.mk-dt-expander[aria-expanded="true"] svg { transform: none; }
|
|
312
|
-
.mk-dt-table tbody tr.mk-dt-open > td { border-bottom-color: transparent; }
|
|
313
|
-
.mk-dt-table tbody tr.mk-dt-detail > td,
|
|
314
|
-
.mk-dt-table tbody tr.mk-dt-detail:hover > td { padding: 0; white-space: normal; background: color-mix(in srgb, var(--muted) 40%, var(--card)); }
|
|
312
|
+
.mk-dt-table tbody tr.mk-dt-open > td:where(.mk-dt-table > * > tr > *) { border-bottom-color: transparent; }
|
|
313
|
+
.mk-dt-table tbody tr.mk-dt-detail > td:where(.mk-dt-table > * > tr > *),
|
|
314
|
+
.mk-dt-table tbody tr.mk-dt-detail:hover > td:where(.mk-dt-table > * > tr > *) { padding: 0; white-space: normal; background: color-mix(in srgb, var(--muted) 40%, var(--card)); }
|
|
315
315
|
.mk-dt-detail-body { position: sticky; left: 0; padding: 10px 16px 14px 34px; overflow-wrap: anywhere; }
|
|
316
316
|
/* `totalRow`: a <tfoot> pinned to the bottom of the scroll box, bold, with a
|
|
317
317
|
* rule on top. Its first cell stays pinned left with the column. */
|
|
318
|
-
.mk-dt-table tfoot td {
|
|
318
|
+
.mk-dt-table tfoot td:where(.mk-dt-table > * > tr > *) {
|
|
319
319
|
position: sticky; bottom: 0; z-index: 2; border-bottom: 0; font-weight: 600;
|
|
320
320
|
background: var(--card); box-shadow: inset 0 1px 0 var(--border);
|
|
321
321
|
}
|
|
322
|
-
.mk-dt-table tfoot td.mk-dt-pin { z-index: 3; box-shadow: inset -1px 0 0 var(--border), inset 0 1px 0 var(--border); }
|
|
323
|
-
.mk-dt-table tfoot tr.mk-dt-total.mk-dt-click:hover > td,
|
|
324
|
-
.mk-dt-table tfoot tr.mk-dt-total.mk-dt-click:focus-visible > td { background: color-mix(in srgb, var(--muted) 50%, var(--card)); }
|
|
322
|
+
.mk-dt-table tfoot td.mk-dt-pin:where(.mk-dt-table > * > tr > *) { z-index: 3; box-shadow: inset -1px 0 0 var(--border), inset 0 1px 0 var(--border); }
|
|
323
|
+
.mk-dt-table tfoot tr.mk-dt-total.mk-dt-click:hover > td:where(.mk-dt-table > * > tr > *),
|
|
324
|
+
.mk-dt-table tfoot tr.mk-dt-total.mk-dt-click:focus-visible > td:where(.mk-dt-table > * > tr > *) { background: color-mix(in srgb, var(--muted) 50%, var(--card)); }
|
|
325
325
|
/* Section rows (2.30): one cell across the columns, a small muted heading
|
|
326
326
|
* on a tinted band (agent-acquisition-funnel's "Inbound" / "Outbound"). */
|
|
327
|
-
.mk-dt-table tbody tr.mk-dt-section-row > td,
|
|
328
|
-
.mk-dt-table tbody tr.mk-dt-section-row:hover > td {
|
|
327
|
+
.mk-dt-table tbody tr.mk-dt-section-row > td:where(.mk-dt-table > * > tr > *),
|
|
328
|
+
.mk-dt-table tbody tr.mk-dt-section-row:hover > td:where(.mk-dt-table > * > tr > *) {
|
|
329
329
|
padding: 0; background: color-mix(in srgb, var(--muted) 40%, var(--card));
|
|
330
330
|
}
|
|
331
331
|
.mk-dt-section-label {
|
|
@@ -337,20 +337,20 @@ button, input, select, textarea { font-family: inherit; }
|
|
|
337
337
|
.mk-dt-skeleton { display: block; height: 14px; border-radius: calc(var(--radius, .625rem) - 2px); background: var(--accent); animation: mk-skeleton-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
|
|
338
338
|
.mk-dt-table .mk-dt-num .mk-dt-skeleton { margin-left: auto; }
|
|
339
339
|
.mk-dt-table .mk-dt-center .mk-dt-skeleton { margin-inline: auto; }
|
|
340
|
-
.mk-dt-table tbody tr.mk-dt-skeleton-row:hover > td { background: var(--card); }
|
|
340
|
+
.mk-dt-table tbody tr.mk-dt-skeleton-row:hover > td:where(.mk-dt-table > * > tr > *) { background: var(--card); }
|
|
341
341
|
@keyframes mk-skeleton-pulse { 50% { opacity: .5; } }
|
|
342
342
|
.mk-dt-busy { opacity: .5; transition: opacity .15s; }
|
|
343
343
|
/* Column resizing (2.30): a drag handle on each header's right edge, after
|
|
344
344
|
* idx-portal's: a 2px line shows on hover, in brand while dragging. */
|
|
345
|
-
.mk-dt-table--grouped thead th.mk-dt-resizable:not(.mk-dt-pin) { position: relative; }
|
|
345
|
+
.mk-dt-table--grouped thead th.mk-dt-resizable:not(.mk-dt-pin):where(.mk-dt-table > * > tr > *) { position: relative; }
|
|
346
346
|
.mk-dt-resizer { position: absolute; top: 0; right: 0; bottom: 0; z-index: 4; width: 8px; cursor: col-resize; touch-action: none; user-select: none; }
|
|
347
347
|
.mk-dt-resizer::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: 0; width: 2px; border-radius: 1px; background: transparent; }
|
|
348
|
-
.mk-dt-table th:hover > .mk-dt-resizer::after { background: var(--border); }
|
|
349
|
-
.mk-dt-table th > .mk-dt-resizer:hover::after, .mk-dt-resizer--active::after { background: var(--brand); }
|
|
348
|
+
.mk-dt-table th:hover:where(.mk-dt-table > * > tr > *) > .mk-dt-resizer::after { background: var(--border); }
|
|
349
|
+
.mk-dt-table th:where(.mk-dt-table > * > tr > *) > .mk-dt-resizer:hover::after, .mk-dt-resizer--active::after { background: var(--brand); }
|
|
350
350
|
body.mk-dt-col-resizing { cursor: col-resize; user-select: none; }
|
|
351
351
|
/* "onEnd": the handle travels past its header while dragging, so that header
|
|
352
352
|
* stops clipping and paints above its neighbours until release. */
|
|
353
|
-
.mk-dt-table thead th:has(> .mk-dt-resizer--active) { overflow: visible; z-index: 5; }
|
|
353
|
+
.mk-dt-table thead th:has(> .mk-dt-resizer--active):where(.mk-dt-table > * > tr > *) { overflow: visible; z-index: 5; }
|
|
354
354
|
.mk-dt-foot {
|
|
355
355
|
flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
|
|
356
356
|
padding: 8px 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground);
|