@nxgt/material 2.18.0 → 2.18.1

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 (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{blockDiagram-BEXU5L5S-B63zbmDg.js → blockDiagram-BEXU5L5S-iNiTd2F6.js} +1 -1
  3. package/dist/{chunk-3FUC2YCW-CE9T5wr6.js → chunk-3FUC2YCW-C3_88DyD.js} +1 -1
  4. package/dist/{chunk-7M6MHVWA-BjaezAbj.js → chunk-7M6MHVWA-DSA5AJyK.js} +1 -1
  5. package/dist/{chunk-GNY47TPC-DjnciAsL.js → chunk-GNY47TPC-AFxr6Xhs.js} +4 -4
  6. package/dist/{chunk-NETBCI7D-CxQxB74H.js → chunk-NETBCI7D-DUZYHta0.js} +1 -1
  7. package/dist/{chunk-Z7XXMR3K-BBrCUBwp.js → chunk-Z7XXMR3K-DDFBvLN4.js} +1 -1
  8. package/dist/{classDiagram-v2-NBCMYWYE-FeyVcYCs.js → classDiagram-v2-NBCMYWYE-Cx1q9jwX.js} +2 -2
  9. package/dist/{components-CsPEBzNF.js → components-CEXxj5QP.js} +21386 -21375
  10. package/dist/components.js +1 -1
  11. package/dist/{dagre-6A5THRUB-BjO_Ytfq.js → dagre-6A5THRUB-B3FAoh2m.js} +3 -3
  12. package/dist/{diagram-22UHCM2B-BBKawlhX.js → diagram-22UHCM2B-B1mxqDwI.js} +2 -2
  13. package/dist/{diagram-3UASUU5V-CKj_37_k.js → diagram-3UASUU5V-DKbBxWI5.js} +1 -1
  14. package/dist/{elk-276RUBZZ-DmkPwZLS.js → elk-276RUBZZ-CeiRDj87.js} +3 -3
  15. package/dist/{erDiagram-OPXOYQCR-Dja943M3.js → erDiagram-OPXOYQCR-nyCpuYg6.js} +2 -2
  16. package/dist/{flowDiagram-KWPJA3E3-jmbjSQZS.js → flowDiagram-KWPJA3E3-CAt7iv16.js} +3 -3
  17. package/dist/{ganttDiagram-FUAMR5RP-BONNpqJt.js → ganttDiagram-FUAMR5RP-g4YEKVC-.js} +1 -1
  18. package/dist/{journeyDiagram-ZHPQQLJL-C_omtnEz.js → journeyDiagram-ZHPQQLJL-v7NsJ_vl.js} +1 -1
  19. package/dist/lib/components/ui/selection/autocomplete/types.d.ts +1 -1
  20. package/dist/lib/components/ui/selection/autocomplete/use-query-report.d.ts +8 -0
  21. package/dist/main.js +1 -1
  22. package/dist/material.css +1 -1
  23. package/dist/{mermaid.core-9dpDfc6Y.js → mermaid.core-BHmjz3IJ.js} +21 -21
  24. package/dist/{mindmap-definition-NLK3R4M7-CjYayluH.js → mindmap-definition-NLK3R4M7-xOeGZSSo.js} +2 -2
  25. package/dist/{pieDiagram-5QR66LMP-BfFcf84S.js → pieDiagram-5QR66LMP-5nOKLXqH.js} +1 -1
  26. package/dist/{quadrantDiagram-O4NWA36T-DdvYjvR0.js → quadrantDiagram-O4NWA36T-B0RNQlBB.js} +1 -1
  27. package/dist/{requirementDiagram-PLB6GJNP-CGG6Y3SN.js → requirementDiagram-PLB6GJNP-Cw85zSzP.js} +2 -2
  28. package/dist/{sankeyDiagram-IPEJSGJF-DJufZkAf.js → sankeyDiagram-IPEJSGJF-APZoNvA9.js} +1 -1
  29. package/dist/{stateDiagram-v2-GCMORJYK-vRvpKK9I.js → stateDiagram-v2-GCMORJYK-CfSjJkc3.js} +2 -2
  30. package/dist/{swimlanes-2SLR337P-Czy9f6gp.js → swimlanes-2SLR337P-Bv2VKn_d.js} +3 -3
  31. package/dist/{swimlanesDiagram-TC7HE7FX-C6RYBQ-A.js → swimlanesDiagram-TC7HE7FX-Jk8do14f.js} +3 -3
  32. package/dist/{timeline-definition-EJHVYXUP-CS9RiAiW.js → timeline-definition-EJHVYXUP-Bc40K9sk.js} +1 -1
  33. package/dist/{usecaseDiagram-POWQR4AR-CW-8YHgN.js → usecaseDiagram-POWQR4AR-CKd5UWWw.js} +2 -2
  34. package/dist/{xychartDiagram-PMCCYNJV-G4PopeeF.js → xychartDiagram-PMCCYNJV-CQJbSV7N.js} +1 -1
  35. package/docs/components/selection-and-choice.md +2 -2
  36. package/docs/troubleshooting.md +15 -0
  37. package/package.json +1 -1
@@ -8,9 +8,9 @@ import { a as he } from "./chunk-MBY4JIJT-BFIqOe-8.js";
8
8
  import "./chunk-7PRAP22T-0C6_H8Li.js";
9
9
  import "./chunk-7INBJB4K-k-I67NSP.js";
10
10
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
11
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
11
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
12
12
  import "./chunk-UA2S7LBM-ChuksCDg.js";
13
- import { n as ge } from "./chunk-GNY47TPC-DjnciAsL.js";
13
+ import { n as ge } from "./chunk-GNY47TPC-AFxr6Xhs.js";
14
14
  import { n as _e, t as ve } from "./chunk-LNGE3PJU-DJjGTS7O.js";
15
15
  //#region ../../node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs
16
16
  function ye(e) {
@@ -302,7 +302,7 @@ var qe = "c4", Je = {
302
302
  id: Ye,
303
303
  detector: /* @__PURE__ */ p((e) => /^\s*(graph|flowchart)/.test(e), "detector"),
304
304
  loader: /* @__PURE__ */ p(async () => {
305
- let { diagram: e } = await import("./flowDiagram-KWPJA3E3-jmbjSQZS.js");
305
+ let { diagram: e } = await import("./flowDiagram-KWPJA3E3-CAt7iv16.js");
306
306
  return {
307
307
  id: Ye,
308
308
  diagram: e
@@ -312,7 +312,7 @@ var qe = "c4", Je = {
312
312
  id: Ze,
313
313
  detector: /* @__PURE__ */ p((e) => /^\s*agentflow-beta\b/.test(e), "detector"),
314
314
  loader: /* @__PURE__ */ p(async () => {
315
- let { diagram: e } = await import("./diagram-22UHCM2B-BBKawlhX.js");
315
+ let { diagram: e } = await import("./diagram-22UHCM2B-B1mxqDwI.js");
316
316
  return {
317
317
  id: Ze,
318
318
  diagram: e
@@ -322,7 +322,7 @@ var qe = "c4", Je = {
322
322
  id: $e,
323
323
  detector: /* @__PURE__ */ p((e) => /^\s*swimlane-beta\b/.test(e), "detector"),
324
324
  loader: /* @__PURE__ */ p(async () => {
325
- let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-C6RYBQ-A.js");
325
+ let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-Jk8do14f.js");
326
326
  return {
327
327
  id: $e,
328
328
  diagram: e
@@ -332,7 +332,7 @@ var qe = "c4", Je = {
332
332
  id: tt,
333
333
  detector: /* @__PURE__ */ p((e) => /^\s*erDiagram/.test(e), "detector"),
334
334
  loader: /* @__PURE__ */ p(async () => {
335
- let { diagram: e } = await import("./erDiagram-OPXOYQCR-Dja943M3.js");
335
+ let { diagram: e } = await import("./erDiagram-OPXOYQCR-nyCpuYg6.js");
336
336
  return {
337
337
  id: tt,
338
338
  diagram: e
@@ -352,7 +352,7 @@ var qe = "c4", Je = {
352
352
  id: at,
353
353
  detector: /* @__PURE__ */ p((e) => /^\s*gantt/.test(e), "detector"),
354
354
  loader: /* @__PURE__ */ p(async () => {
355
- let { diagram: e } = await import("./ganttDiagram-FUAMR5RP-BONNpqJt.js");
355
+ let { diagram: e } = await import("./ganttDiagram-FUAMR5RP-g4YEKVC-.js");
356
356
  return {
357
357
  id: at,
358
358
  diagram: e
@@ -372,7 +372,7 @@ var qe = "c4", Je = {
372
372
  id: lt,
373
373
  detector: /* @__PURE__ */ p((e) => /^\s*pie/.test(e), "detector"),
374
374
  loader: /* @__PURE__ */ p(async () => {
375
- let { diagram: e } = await import("./pieDiagram-5QR66LMP-BfFcf84S.js");
375
+ let { diagram: e } = await import("./pieDiagram-5QR66LMP-5nOKLXqH.js");
376
376
  return {
377
377
  id: lt,
378
378
  diagram: e
@@ -382,7 +382,7 @@ var qe = "c4", Je = {
382
382
  id: dt,
383
383
  detector: /* @__PURE__ */ p((e) => /^\s*quadrantChart/.test(e), "detector"),
384
384
  loader: /* @__PURE__ */ p(async () => {
385
- let { diagram: e } = await import("./quadrantDiagram-O4NWA36T-DdvYjvR0.js");
385
+ let { diagram: e } = await import("./quadrantDiagram-O4NWA36T-B0RNQlBB.js");
386
386
  return {
387
387
  id: dt,
388
388
  diagram: e
@@ -392,7 +392,7 @@ var qe = "c4", Je = {
392
392
  id: pt,
393
393
  detector: /* @__PURE__ */ p((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
394
394
  loader: /* @__PURE__ */ p(async () => {
395
- let { diagram: e } = await import("./xychartDiagram-PMCCYNJV-G4PopeeF.js");
395
+ let { diagram: e } = await import("./xychartDiagram-PMCCYNJV-CQJbSV7N.js");
396
396
  return {
397
397
  id: pt,
398
398
  diagram: e
@@ -402,7 +402,7 @@ var qe = "c4", Je = {
402
402
  id: ht,
403
403
  detector: /* @__PURE__ */ p((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
404
404
  loader: /* @__PURE__ */ p(async () => {
405
- let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-CGG6Y3SN.js");
405
+ let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-Cw85zSzP.js");
406
406
  return {
407
407
  id: ht,
408
408
  diagram: e
@@ -422,7 +422,7 @@ var qe = "c4", Je = {
422
422
  id: yt,
423
423
  detector: /* @__PURE__ */ p((e) => /^\s*classDiagram/.test(e), "detector"),
424
424
  loader: /* @__PURE__ */ p(async () => {
425
- let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-FeyVcYCs.js");
425
+ let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-Cx1q9jwX.js");
426
426
  return {
427
427
  id: yt,
428
428
  diagram: e
@@ -432,7 +432,7 @@ var qe = "c4", Je = {
432
432
  id: xt,
433
433
  detector: /* @__PURE__ */ p((e) => /^\s*stateDiagram/.test(e), "detector"),
434
434
  loader: /* @__PURE__ */ p(async () => {
435
- let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-vRvpKK9I.js");
435
+ let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-CfSjJkc3.js");
436
436
  return {
437
437
  id: xt,
438
438
  diagram: e
@@ -442,7 +442,7 @@ var qe = "c4", Je = {
442
442
  id: Ct,
443
443
  detector: /* @__PURE__ */ p((e) => /^\s*journey/.test(e), "detector"),
444
444
  loader: /* @__PURE__ */ p(async () => {
445
- let { diagram: e } = await import("./journeyDiagram-ZHPQQLJL-C_omtnEz.js");
445
+ let { diagram: e } = await import("./journeyDiagram-ZHPQQLJL-v7NsJ_vl.js");
446
446
  return {
447
447
  id: Ct,
448
448
  diagram: e
@@ -460,7 +460,7 @@ var qe = "c4", Je = {
460
460
  id: Ot,
461
461
  detector: /* @__PURE__ */ p((e, t = {}) => /^\s*flowchart-elk/.test(e) ? (t.layout = "elk", !0) : !1, "detector"),
462
462
  loader: /* @__PURE__ */ p(async () => {
463
- let { diagram: e } = await import("./flowDiagram-KWPJA3E3-jmbjSQZS.js");
463
+ let { diagram: e } = await import("./flowDiagram-KWPJA3E3-CAt7iv16.js");
464
464
  return {
465
465
  id: Ot,
466
466
  diagram: e
@@ -470,7 +470,7 @@ var qe = "c4", Je = {
470
470
  id: At,
471
471
  detector: /* @__PURE__ */ p((e) => /^\s*timeline/.test(e), "detector"),
472
472
  loader: /* @__PURE__ */ p(async () => {
473
- let { diagram: e } = await import("./timeline-definition-EJHVYXUP-CS9RiAiW.js");
473
+ let { diagram: e } = await import("./timeline-definition-EJHVYXUP-Bc40K9sk.js");
474
474
  return {
475
475
  id: At,
476
476
  diagram: e
@@ -480,7 +480,7 @@ var qe = "c4", Je = {
480
480
  id: Mt,
481
481
  detector: /* @__PURE__ */ p((e) => /^\s*mindmap/.test(e), "detector"),
482
482
  loader: /* @__PURE__ */ p(async () => {
483
- let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-CjYayluH.js");
483
+ let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-xOeGZSSo.js");
484
484
  return {
485
485
  id: Mt,
486
486
  diagram: e
@@ -500,7 +500,7 @@ var qe = "c4", Je = {
500
500
  id: It,
501
501
  detector: /* @__PURE__ */ p((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
502
502
  loader: /* @__PURE__ */ p(async () => {
503
- let { diagram: e } = await import("./sankeyDiagram-IPEJSGJF-DJufZkAf.js");
503
+ let { diagram: e } = await import("./sankeyDiagram-IPEJSGJF-APZoNvA9.js");
504
504
  return {
505
505
  id: It,
506
506
  diagram: e
@@ -530,7 +530,7 @@ var qe = "c4", Je = {
530
530
  id: Ht,
531
531
  detector: /* @__PURE__ */ p((e) => /^\s*block(-beta)?/.test(e), "detector"),
532
532
  loader: /* @__PURE__ */ p(async () => {
533
- let { diagram: e } = await import("./blockDiagram-BEXU5L5S-B63zbmDg.js");
533
+ let { diagram: e } = await import("./blockDiagram-BEXU5L5S-iNiTd2F6.js");
534
534
  return {
535
535
  id: Ht,
536
536
  diagram: e
@@ -590,7 +590,7 @@ var qe = "c4", Je = {
590
590
  id: en,
591
591
  detector: /* @__PURE__ */ p((e) => /^\s*treemap/.test(e), "detector"),
592
592
  loader: /* @__PURE__ */ p(async () => {
593
- let { diagram: e } = await import("./diagram-3UASUU5V-CKj_37_k.js");
593
+ let { diagram: e } = await import("./diagram-3UASUU5V-DKbBxWI5.js");
594
594
  return {
595
595
  id: en,
596
596
  diagram: e
@@ -600,7 +600,7 @@ var qe = "c4", Je = {
600
600
  id: nn,
601
601
  detector: /* @__PURE__ */ p((e) => /^\s*usecase-beta(?:\s|$)/.test(e), "detector"),
602
602
  loader: /* @__PURE__ */ p(async () => {
603
- let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-CW-8YHgN.js");
603
+ let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-CKd5UWWw.js");
604
604
  return {
605
605
  id: nn,
606
606
  diagram: e
@@ -7,11 +7,11 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
7
7
  import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import "./chunk-7INBJB4K-k-I67NSP.js";
9
9
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
10
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
10
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
11
11
  import { t as u } from "./chunk-XXDRQBXY-dKXxu_aj.js";
12
12
  import { t as d } from "./chunk-WEXAMYUT-CbFOhEve.js";
13
13
  import "./chunk-UA2S7LBM-ChuksCDg.js";
14
- import { r as f, t as p } from "./chunk-GNY47TPC-DjnciAsL.js";
14
+ import { r as f, t as p } from "./chunk-GNY47TPC-AFxr6Xhs.js";
15
15
  //#region ../../node_modules/uuid/dist/stringify.js
16
16
  var m = [];
17
17
  for (let e = 0; e < 256; ++e) m.push((e + 256).toString(16).slice(1));
@@ -1,4 +1,4 @@
1
- import { ct as e, ot as t } from "./components-CsPEBzNF.js";
1
+ import { ct as e, ot as t } from "./components-CEXxj5QP.js";
2
2
  import { n } from "./src-CsLQInsN.js";
3
3
  import { i as r, p as i } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { t as a } from "./ordinal-DwxdXP1t.js";
@@ -1,4 +1,4 @@
1
- import { rt as e } from "./components-CsPEBzNF.js";
1
+ import { rt as e } from "./components-CEXxj5QP.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
4
4
  import { D as i, H as a, U as o, a as s, c, f as l, q as u, v as d, w as f, x as p, y as m, z as h } from "./chunk-O7XYJQB3-BChweQ_V.js";
@@ -8,11 +8,11 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import { a as p, i as m, o as h, r as g } from "./chunk-J5ZVWO5B-DmRRmhon.js";
9
9
  import "./chunk-7INBJB4K-k-I67NSP.js";
10
10
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
11
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
11
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
12
12
  import { t as _ } from "./chunk-XXDRQBXY-dKXxu_aj.js";
13
13
  import { t as v } from "./chunk-WEXAMYUT-CbFOhEve.js";
14
14
  import "./chunk-UA2S7LBM-ChuksCDg.js";
15
- import { r as y, t as b } from "./chunk-GNY47TPC-DjnciAsL.js";
15
+ import { r as y, t as b } from "./chunk-GNY47TPC-AFxr6Xhs.js";
16
16
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-PLB6GJNP.mjs
17
17
  var x = (function() {
18
18
  var e = /* @__PURE__ */ n(function(e, t, n, r) {
@@ -1,4 +1,4 @@
1
- import { V as e } from "./components-CsPEBzNF.js";
1
+ import { V as e } from "./components-CEXxj5QP.js";
2
2
  import { t } from "./src-CsLQInsN.js";
3
3
  import { t as n } from "./ordinal-DwxdXP1t.js";
4
4
  import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -8,12 +8,12 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import { a as h, i as g, o as _, r as v } from "./chunk-J5ZVWO5B-DmRRmhon.js";
9
9
  import "./chunk-7INBJB4K-k-I67NSP.js";
10
10
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
11
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
11
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
12
12
  import { t as y } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
13
13
  import { t as b } from "./chunk-XXDRQBXY-dKXxu_aj.js";
14
14
  import { t as x } from "./chunk-WEXAMYUT-CbFOhEve.js";
15
15
  import "./chunk-UA2S7LBM-ChuksCDg.js";
16
- import { r as S, t as C } from "./chunk-GNY47TPC-DjnciAsL.js";
16
+ import { r as S, t as C } from "./chunk-GNY47TPC-AFxr6Xhs.js";
17
17
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-GCMORJYK.mjs
18
18
  var w = (function() {
19
19
  var e = /* @__PURE__ */ i(function(e, t, n, r) {
@@ -7,10 +7,10 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
7
7
  import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import "./chunk-7INBJB4K-k-I67NSP.js";
9
9
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
10
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
10
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
11
11
  import "./chunk-UA2S7LBM-ChuksCDg.js";
12
- import { r as n } from "./chunk-3FUC2YCW-CE9T5wr6.js";
13
- import { t as r } from "./chunk-NETBCI7D-CxQxB74H.js";
12
+ import { r as n } from "./chunk-3FUC2YCW-C3_88DyD.js";
13
+ import { t as r } from "./chunk-NETBCI7D-DUZYHta0.js";
14
14
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanes-2SLR337P.mjs
15
15
  function i(e, { measure: t }) {
16
16
  let n = e.config?.swimlane?.lineHops;
@@ -7,14 +7,14 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
7
7
  import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import "./chunk-7INBJB4K-k-I67NSP.js";
9
9
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
10
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
10
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
11
11
  import "./chunk-GWA4HPMP-B8jXI0Tl.js";
12
12
  import "./chunk-XXDRQBXY-dKXxu_aj.js";
13
13
  import "./chunk-WEXAMYUT-CbFOhEve.js";
14
14
  import "./chunk-UA2S7LBM-ChuksCDg.js";
15
- import "./chunk-GNY47TPC-DjnciAsL.js";
15
+ import "./chunk-GNY47TPC-AFxr6Xhs.js";
16
16
  import "./chunk-LNGE3PJU-DJjGTS7O.js";
17
- import { r as t, t as n } from "./chunk-7M6MHVWA-BjaezAbj.js";
17
+ import { r as t, t as n } from "./chunk-7M6MHVWA-DSA5AJyK.js";
18
18
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-TC7HE7FX.mjs
19
19
  var r = n({ styles: /* @__PURE__ */ e((e) => `${t(e)}
20
20
  .swimlane.cluster:not([data-color-id]) rect {
@@ -1,4 +1,4 @@
1
- import { ct as e } from "./components-CsPEBzNF.js";
1
+ import { ct as e } from "./components-CEXxj5QP.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { p as r } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as i, t as a } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -8,11 +8,11 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
8
8
  import { a as g, i as _, o as v, r as y } from "./chunk-J5ZVWO5B-DmRRmhon.js";
9
9
  import "./chunk-7INBJB4K-k-I67NSP.js";
10
10
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
11
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
11
+ import "./chunk-Z7XXMR3K-DDFBvLN4.js";
12
12
  import { t as ee } from "./chunk-XXDRQBXY-dKXxu_aj.js";
13
13
  import { t as te } from "./chunk-WEXAMYUT-CbFOhEve.js";
14
14
  import "./chunk-UA2S7LBM-ChuksCDg.js";
15
- import { r as ne, t as re } from "./chunk-GNY47TPC-DjnciAsL.js";
15
+ import { r as ne, t as re } from "./chunk-GNY47TPC-AFxr6Xhs.js";
16
16
  //#region ../../node_modules/chevrotain/node_modules/lodash-es/_freeGlobal.js
17
17
  var ie = typeof global == "object" && global && global.Object === Object && global, ae = typeof self == "object" && self && self.Object === Object && self, b = ie || ae || Function("return this")(), oe = b.Symbol, se = Object.prototype, ce = se.hasOwnProperty, le = se.toString, ue = oe ? oe.toStringTag : void 0;
18
18
  function de(e) {
@@ -1,4 +1,4 @@
1
- import { at as e, rt as t, st as n } from "./components-CsPEBzNF.js";
1
+ import { at as e, rt as t, st as n } from "./components-CEXxj5QP.js";
2
2
  import { n as r } from "./src-CsLQInsN.js";
3
3
  import { i } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -294,8 +294,8 @@ Parts: `Autocomplete`, `AutocompleteChips` (the chips row it uses in
294
294
  | `onSearch` | `(query: string, { signal }: { signal: AbortSignal }) => Promise<T[]>` | — | server search: called once typing pauses; its results become the list. Each search aborts the previous one, and a response that lands after a newer one is dropped |
295
295
  | `onSearchError` | `(error: unknown) => void` | — | `onSearch` rejected (an abort is not a rejection) |
296
296
  | `minQueryLength` | `number` | `1` | `onSearch` waits for this many characters; below it the list says "Type at least N characters to search." |
297
- | `debounceMs` | `number` | `250` | the pause before `onSearch` and `onQueryChange` run |
298
- | `onQueryChange` | `(query: string) => void` | — | the query once typing pauses — fetch `options` yourself here |
297
+ | `debounceMs` | `number` | `250` | the pause before `onSearch` and `onQueryChange` run on typed text; an emptied query is reported to `onQueryChange` at once, and `onSearch` never runs on it unless `minQueryLength` is `0` (then it follows the pause) |
298
+ | `onQueryChange` | `(query: string) => void` | — | the query once typing pauses, and `''` at once when it empties (a pick, a clear) — fetch `options` yourself here |
299
299
  | `loading` | `boolean` | — | with `onQueryChange`: "Loading…" in the list, `aria-busy` on the listbox, announced |
300
300
  | `searchError` | `ReactNode` | — | shown and announced in place of the options; with `onSearch` it replaces the generic "The search failed. Try again." |
301
301
  | `empty` | `ReactNode` | "No option found." | text when nothing matches |
@@ -151,6 +151,7 @@ words in your error.
151
151
  - [A test no longer finds `aria-invalid` on a `Switch` row or an `Autocomplete`'s chips](#a-test-no-longer-finds-aria-invalid-on-a-switch-row-or-an-autocompletes-chips)
152
152
  - [An `Autocomplete` lists more options than before, or "ecole" finds "École"](#an-autocomplete-lists-more-options-than-before-or-ecole-finds-école)
153
153
  - [`onQueryChange` runs more often after upgrading](#onquerychange-runs-more-often-after-upgrading)
154
+ - [A click on the next field right after an `Autocomplete` pick is lost](#a-click-on-the-next-field-right-after-an-autocomplete-pick-is-lost)
154
155
  - [An older search's results replace the newer ones in an `Autocomplete`](#an-older-searchs-results-replace-the-newer-ones-in-an-autocomplete)
155
156
  - [An `Autocomplete` option does nothing on click or Enter](#an-autocomplete-option-does-nothing-on-click-or-enter)
156
157
  - ["The search failed. Try again." no longer shows in an `Autocomplete`](#the-search-failed-try-again-no-longer-shows-in-an-autocomplete)
@@ -2911,6 +2912,20 @@ was a fixed 1 s.
2911
2912
  **Fix:** set the pause you had, `debounceMs={1000}`, or move the fetch to `onSearch`, which
2912
2913
  also aborts the previous request and drops a stale response.
2913
2914
 
2915
+ ### A click on the next field right after an `Autocomplete` pick is lost
2916
+
2917
+ **When:** before 2.18.1, in a dialog, a `Select` (or any field) right below an
2918
+ `Autocomplete` whose `onQueryChange` shows or hides something (a line naming
2919
+ who is already linked, a result count): a click on that field's option just
2920
+ after a pick does nothing, now and then (more often in Firefox and on a slow
2921
+ machine; an end-to-end test flakes).
2922
+ **Why:** a pick empties the query, and `onQueryChange('')` came only after
2923
+ `debounceMs`. The line it removed then shrank the centred dialog, which moved
2924
+ the open list by half that height between the pointer's press and its release:
2925
+ the release landed on another option, and nothing was chosen.
2926
+ **Fix:** upgrade: an emptied query is reported at once, with the pick, before
2927
+ the next click. Waiting in a test until no `listbox` is left only hid it.
2928
+
2914
2929
  ### An older search's results replace the newer ones in an `Autocomplete`
2915
2930
 
2916
2931
  **When:** you fetch `options` yourself from `onQueryChange`, and a slow response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "2.18.0",
3
+ "version": "2.18.1",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"