@nxgt/material 2.18.0 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/README.md +1 -0
  3. package/dist/{_Uint8Array-C7apDrb7.js → _Uint8Array-B6RHzY7k.js} +1 -1
  4. package/dist/{_overRest-CCAbV-eT.js → _overRest-Cs3RIAVd.js} +1 -1
  5. package/dist/{async-slice-Cuekts5f.js → async-slice-CgbRYTRY.js} +3 -3
  6. package/dist/{blockDiagram-BEXU5L5S-B63zbmDg.js → blockDiagram-BEXU5L5S-D5ptXmBP.js} +2 -2
  7. package/dist/{chunk-3FUC2YCW-CE9T5wr6.js → chunk-3FUC2YCW-al8CepY8.js} +2 -2
  8. package/dist/{chunk-7M6MHVWA-BjaezAbj.js → chunk-7M6MHVWA-BERAnmfo.js} +1 -1
  9. package/dist/{chunk-GNY47TPC-DjnciAsL.js → chunk-GNY47TPC-DMMDhC9T.js} +4 -4
  10. package/dist/{chunk-NETBCI7D-CxQxB74H.js → chunk-NETBCI7D-CsMBdu5o.js} +1 -1
  11. package/dist/{chunk-Z7XXMR3K-BBrCUBwp.js → chunk-Z7XXMR3K-CLYmaWUD.js} +1 -1
  12. package/dist/{classDiagram-v2-NBCMYWYE-FeyVcYCs.js → classDiagram-v2-NBCMYWYE-C-6ddqhF.js} +2 -2
  13. package/dist/components/base.css +3 -1
  14. package/dist/{components-CsPEBzNF.js → components-C5y9FL-6.js} +23667 -23283
  15. package/dist/components.js +6 -6
  16. package/dist/{dagre-6A5THRUB-BjO_Ytfq.js → dagre-6A5THRUB-Ck8np52h.js} +11 -11
  17. package/dist/{diagram-22UHCM2B-BBKawlhX.js → diagram-22UHCM2B-oIfSvE0L.js} +2 -2
  18. package/dist/{diagram-3UASUU5V-CKj_37_k.js → diagram-3UASUU5V-CAG93Qkg.js} +1 -1
  19. package/dist/dnd.js +1 -1
  20. package/dist/{elk-276RUBZZ-DmkPwZLS.js → elk-276RUBZZ-BfEvNh_f.js} +3 -3
  21. package/dist/{erDiagram-OPXOYQCR-Dja943M3.js → erDiagram-OPXOYQCR-B966QSkJ.js} +2 -2
  22. package/dist/{field-blur-DNHXOY0J.js → field-blur-B6VqkpE6.js} +35 -23
  23. package/dist/{flowDiagram-KWPJA3E3-jmbjSQZS.js → flowDiagram-KWPJA3E3-CzUHW7vw.js} +3 -3
  24. package/dist/{ganttDiagram-FUAMR5RP-BONNpqJt.js → ganttDiagram-FUAMR5RP-B4JstFXN.js} +1 -1
  25. package/dist/{graphlib-DxjKaXeR.js → graphlib-CORKO6lR.js} +6 -6
  26. package/dist/hooks.js +2 -2
  27. package/dist/{i18n-provider-Dv9ZSmgO.js → i18n-provider-BC7MMAID.js} +1 -1
  28. package/dist/i18n.js +6 -6
  29. package/dist/{isArrayLikeObject-H8k6W51O.js → isArrayLikeObject-gzSxxbGJ.js} +3 -3
  30. package/dist/{isEmpty-B0Bavg-e.js → isEmpty-SD8ldTK-.js} +3 -3
  31. package/dist/{journeyDiagram-ZHPQQLJL-C_omtnEz.js → journeyDiagram-ZHPQQLJL-DcgTl4Bw.js} +1 -1
  32. package/dist/lib/components/ui/fields/index.d.ts +1 -0
  33. package/dist/lib/components/ui/fields/repeatable-group/index.d.ts +2 -0
  34. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-footer.d.ts +14 -0
  35. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-row.d.ts +19 -0
  36. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-rows.d.ts +21 -0
  37. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-status.d.ts +11 -0
  38. package/dist/lib/components/ui/fields/repeatable-group/repeatable-group-classes.d.ts +33 -0
  39. package/dist/lib/components/ui/fields/repeatable-group/repeatable-group-form-field.d.ts +28 -0
  40. package/dist/lib/components/ui/fields/repeatable-group/repeatable-group-names.d.ts +16 -0
  41. package/dist/lib/components/ui/fields/repeatable-group/repeatable-group.d.ts +12 -0
  42. package/dist/lib/components/ui/fields/repeatable-group/types.d.ts +45 -0
  43. package/dist/lib/components/ui/fields/repeatable-group/use-repeatable-group.d.ts +32 -0
  44. package/dist/lib/components/ui/fields/search-field/search-field.d.ts +7 -1
  45. package/dist/lib/components/ui/overlays/command/command-item.d.ts +10 -0
  46. package/dist/lib/components/ui/overlays/command/command.d.ts +5 -2
  47. package/dist/lib/components/ui/primitives/typography/typography.d.ts +2 -1
  48. package/dist/lib/components/ui/selection/autocomplete/types.d.ts +1 -1
  49. package/dist/lib/components/ui/selection/autocomplete/use-query-report.d.ts +8 -0
  50. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -0
  51. package/dist/lib/components/ui/selection/option-count/option-count.d.ts +18 -0
  52. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +2 -0
  53. package/dist/lib/components/ui/selection/select-chip-field/next-selection.d.ts +10 -0
  54. package/dist/lib/components/ui/selection/select-chip-field/select-chip-field.d.ts +8 -1
  55. package/dist/lib/components/ui/selection/select-chip-field/select-chip-header.d.ts +15 -0
  56. package/dist/lib/components/ui/selection/select-chip-field/select-chip-option.d.ts +13 -0
  57. package/dist/lib/i18n/resources/en/en.d.ts +14 -0
  58. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -0
  59. package/dist/lib/i18n/resources/fr/fr.d.ts +14 -0
  60. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -0
  61. package/dist/lib/i18n/resources/resources.d.ts +28 -0
  62. package/dist/lib/i18n/translator.d.ts +1 -1
  63. package/dist/lib.js +2 -2
  64. package/dist/main.js +16 -16
  65. package/dist/map.js +2 -2
  66. package/dist/material.css +1 -1
  67. package/dist/{merge-Js8537dg.js → merge-Cek5eQP5.js} +4 -4
  68. package/dist/{mermaid.core-9dpDfc6Y.js → mermaid.core-DZMjEtsT.js} +21 -21
  69. package/dist/{mindmap-definition-NLK3R4M7-CjYayluH.js → mindmap-definition-NLK3R4M7-BWaJFjFb.js} +2 -2
  70. package/dist/{pieDiagram-5QR66LMP-BfFcf84S.js → pieDiagram-5QR66LMP-C8iomTeg.js} +1 -1
  71. package/dist/print.js +2 -2
  72. package/dist/{quadrantDiagram-O4NWA36T-DdvYjvR0.js → quadrantDiagram-O4NWA36T-D529X2yn.js} +1 -1
  73. package/dist/{requirementDiagram-PLB6GJNP-CGG6Y3SN.js → requirementDiagram-PLB6GJNP-Cs5ieS_S.js} +2 -2
  74. package/dist/{sankeyDiagram-IPEJSGJF-DJufZkAf.js → sankeyDiagram-IPEJSGJF-BOIAba-k.js} +1 -1
  75. package/dist/{sortable-provider-CUT5Wfdl.js → sortable-provider-DNmv3XmW.js} +1 -1
  76. package/dist/{stateDiagram-v2-GCMORJYK-vRvpKK9I.js → stateDiagram-v2-GCMORJYK-CT46B5KK.js} +2 -2
  77. package/dist/{stored-language-BKoohv2_.js → stored-language-FHwsTPoM.js} +24 -0
  78. package/dist/{swimlanes-2SLR337P-Czy9f6gp.js → swimlanes-2SLR337P-C8TrgNLm.js} +3 -3
  79. package/dist/{swimlanesDiagram-TC7HE7FX-C6RYBQ-A.js → swimlanesDiagram-TC7HE7FX-Dii9S4bC.js} +3 -3
  80. package/dist/{timeline-definition-EJHVYXUP-CS9RiAiW.js → timeline-definition-EJHVYXUP-K00somtn.js} +1 -1
  81. package/dist/{translate-material-CCJg3yfc.js → translate-material-cZ6VSQ98.js} +2 -2
  82. package/dist/{translator-DEde7BKz.js → translator-DX_ArUA5.js} +1 -1
  83. package/dist/{use-heading-spy-XkSExwoT.js → use-heading-spy-DR1jat6E.js} +2 -2
  84. package/dist/{use-material-translation-Cndoq_iK.js → use-material-translation-W6jOKCbO.js} +2 -2
  85. package/dist/{usecaseDiagram-POWQR4AR-CW-8YHgN.js → usecaseDiagram-POWQR4AR-liF9q6mE.js} +2 -2
  86. package/dist/{xychartDiagram-PMCCYNJV-G4PopeeF.js → xychartDiagram-PMCCYNJV-B9Qx3wAO.js} +1 -1
  87. package/docs/components/README.md +1 -1
  88. package/docs/components/form-fields.md +146 -0
  89. package/docs/components/overlays-and-menus.md +2 -0
  90. package/docs/components/primitives.md +3 -1
  91. package/docs/components/selection-and-choice.md +22 -6
  92. package/docs/guides/forms.md +35 -0
  93. package/docs/previews/form-fields-repeatablegroup.webp +0 -0
  94. package/docs/roadmap.md +7 -0
  95. package/docs/troubleshooting.md +57 -0
  96. package/lib/components/base.css +3 -1
  97. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,93 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 2.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#569](https://github.com/softistx/nxgt-material/pull/569) [`37d5114`](https://github.com/softistx/nxgt-material/commit/37d5114cc1bad14c352e0770a511bb842bc71ea5) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Options of `CheckboxGroup`, `RadioGroup` and `SelectChipField` take a `count`: muted `tabular-nums` text after the label, and part of the accessible name ("CE1 24 results", from the new `material.option-count.label` ICU plural, in en and fr). `SelectChipField` in `@nxgt/material-vue` gains `icon` on its options, as in React, and both libraries gain `deselectable` (default `true`): `false` keeps the chosen chip chosen when it is pressed again in single mode.
8
+
9
+ - [#574](https://github.com/softistx/nxgt-material/pull/574) [`c00f8c3`](https://github.com/softistx/nxgt-material/commit/c00f8c366e35b7769560bb86b964ae0705bcc60f) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Add `RepeatableGroup` and `RepeatableGroupFormField` (Storybook
10
+ `Form fields/RepeatableGroup`): rows of fields a user adds, removes and, with
11
+ `reorderable`, moves up and down. `RepeatableGroupFormField` wraps the form
12
+ library's `useFieldArray` (react-hook-form in React, vee-validate in Vue) and
13
+ renders each row from `renderRow` (React) or the `row` slot (Vue), whose
14
+ `path` names the row's fields. The rows are a list (`ul` / `li`) in a group
15
+ named by `label`; each row's buttons are named after it ("Remove period 2",
16
+ "Move period 2 up"), from the new `material.repeatable-group.*` keys in
17
+ English and French. An added row's first field takes the focus, a removed row
18
+ hands it to its neighbour or to Add, and a moved row keeps it on its move
19
+ button; each change is announced politely. `max` makes Add `aria-disabled`,
20
+ described by "Maximum reached (n)"; `min` disables Remove; `emptyTitle` /
21
+ `emptyDescription` show an `EmptyState` with no row. The array's own error
22
+ shows under the rows and describes the group; each row's fields show their
23
+ own. One column on a phone, a responsive grid wider up, no inline style.
24
+
25
+ `@nxgt/material-core` gains `/repeatable-group`: the focus rules
26
+ (`focusAfterRemove`, `focusAfterMove`, `focusRowTarget`), the limits
27
+ (`canAddRow`, `canRemoveRow`, `rowMoveTarget`) and the `RowAnnouncement`
28
+ descriptor both libraries use.
29
+
30
+ ```tsx
31
+ <RepeatableGroupFormField
32
+ control={control}
33
+ name="periods"
34
+ label="Periods"
35
+ rowLabel="period"
36
+ max={6}
37
+ reorderable
38
+ newRow={() => ({ name: '' })}
39
+ renderRow={({ index }) => (
40
+ <TextFormField control={control} name={`periods.${index}.name`} label="Name" />
41
+ )}
42
+ />
43
+ ```
44
+
45
+ ```vue
46
+ <RepeatableGroupFormField
47
+ name="periods"
48
+ label="Periods"
49
+ row-label="period"
50
+ :max="6"
51
+ reorderable
52
+ :new-row="() => ({ name: '' })"
53
+ >
54
+ <template #row="{ path }">
55
+ <TextFormField :name="`${path}.name`" label="Name" />
56
+ </template>
57
+ </RepeatableGroupFormField>
58
+ ```
59
+
60
+ Fixes [#516](https://github.com/softistx/nxgt-material/issues/516).
61
+
62
+ Migration: an app with a local field-array list marked temporary for this
63
+ request ([#516](https://github.com/softistx/nxgt-material/issues/516)) — a `useFieldArray` whose rows are mapped by hand, with its own
64
+ Add and per-row Remove buttons — can delete it and render
65
+ `RepeatableGroupFormField` instead: the array's `name`, `newRow` for what Add
66
+ appends, and the row's fields moved into `renderRow` / the `row` slot. Pass no
67
+ `shouldFocus` to `append`: the group moves the focus itself.
68
+
69
+ - [#568](https://github.com/softistx/nxgt-material/pull/568) [`d694897`](https://github.com/softistx/nxgt-material/commit/d694897134f52b5d39f775d3ddc1bbaf24d26360) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `SearchField` takes `shortcut` (for example `"/"`): a `Kbd` hint at the end while the field is empty (also hidden while it is `loading` or `disabled`), hidden from assistive tech, and `aria-keyshortcuts` on the input. It is a hint only and binds no key; the page owns the listener. In Vue the component also exposes `focus()`.
70
+
71
+ `CommandItem` takes `checked`, which sets `aria-checked` and shows a checkbox indicator, and `CommandList` takes `multiselectable`, which sets `aria-multiselectable`. `aria-selected` keeps its meaning in each library (React: the highlighted item; Vue: the selected value, `multiple` is not used).
72
+
73
+ - [#567](https://github.com/softistx/nxgt-material/pull/567) [`8f8530a`](https://github.com/softistx/nxgt-material/commit/8f8530a1fec64f45407d526769890f656eb395b4) Thanks [@SteveGT96](https://github.com/SteveGT96)! - feat: `Typography` takes a `tone` (`default`, `muted`, `primary`, `error`), so secondary text is `tone="muted"` instead of a hand-written `text-muted-foreground`. Fix: `Typography` no longer adds `overflow-auto`, which made every block a scroll region (axe `scrollable-region-focusable` in Firefox). Behaviour change: a `Typography` that relied on scrolling its text now overflows; wrap it in an element with `overflow-auto`, `tabIndex={0}` and an accessible name (see the troubleshooting entry "Long text in Typography no longer scrolls"). A block `Typography` is also no longer a block formatting context, so its margins can collapse. An unbreakable string can overflow its box: add `wrap-anywhere`. Block text in a flex or grid row needs `min-w-0` to shrink, as the library's own flex rows now have. Components that put a `Typography` inside a `<button>` (stepper, inline edit, chat conversation item, list tile, event chip) render it as a `span`.
74
+
75
+ ### Patch Changes
76
+
77
+ - [#572](https://github.com/softistx/nxgt-material/pull/572) [`0a4b707`](https://github.com/softistx/nxgt-material/commit/0a4b7078eaf2d8e9c3bf15556ecff7f13e03d11d) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Sidebar: a link entry (`SidebarMenuItem` with `href`, so every `AppSidebar` and `ActivityLayout` entry) now looks exactly like a button entry. The global link style (underline, info tint on hover and focus) no longer reaches it, so in the collapsed rail hover tints only the icon pill again, not the whole entry ([#566](https://github.com/softistx/nxgt-material/issues/566)).
78
+
79
+ The selected entry no longer looks disabled ([#571](https://github.com/softistx/nxgt-material/issues/571)): its icon and label are in primary on the translucent pill, where the icon used to be white, and its label is semibold. In the dark theme, where primary itself reads at 2.5:1, they take a saturated lavender of primary's hue (`oklch(from primary 0.72 0.15 h)`), at 6.3:1 on a denser pill (`bg-primary/30`). In light the contrast is 5.8:1. Both layers of a duotone icon follow it. An unselected entry's icon takes its label's colour instead of the link blue. This covers the collapsed rail, the expanded sidebar and the phone sheet, for link and button entries alike.
80
+ - Updated dependencies [[`c00f8c3`](https://github.com/softistx/nxgt-material/commit/c00f8c366e35b7769560bb86b964ae0705bcc60f)]:
81
+ - @nxgt/material-core@0.11.0
82
+
83
+ ## 2.18.1
84
+
85
+ ### Patch Changes
86
+
87
+ - [#562](https://github.com/softistx/nxgt-material/pull/562) [`b41a427`](https://github.com/softistx/nxgt-material/commit/b41a42792e0bd249990fb2e30b013741e16527b2) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fix a click lost right after an Autocomplete pick ([#557](https://github.com/softistx/nxgt-material/issues/557)). A pick empties the query, and `onQueryChange` (`@query-change` in Vue) reported that `''` only after `debounceMs`; whatever the page hid on it (a line, a count) then shrank a centred dialog under the next click, so an option of the Select below was pressed and released on two different rows and nothing was chosen (seen in Firefox). A query that changes from a non-empty value to `''` is now reported at once, never on mount; typing still waits for the pause, and no second `''` follows it. Also: the closing Combobox and Popover lists take no pointer events while they animate out. The Select is left as it was: Radix and reka-ui set an inline `pointer-events: auto` on its content, which no class can override. Adds the `Autocomplete/Query cleared` play and a `useQueryReport` unit test (React), a `queryChange` unit test (Vue) and a `NextControlClickableWhileClosing` play to both libraries.
88
+
89
+ Migration: none. A consumer test that waited for the list to close after a pick (`expect(page.getByRole('listbox')).toHaveCount(0)`) can drop that wait.
90
+
3
91
  ## 2.18.0
4
92
 
5
93
  ### Minor Changes
package/README.md CHANGED
@@ -332,6 +332,7 @@ React-only today: `Combobox` (not planned in Vue) and `StepperIndicator`.
332
332
  | --- | --- | --- | --- |
333
333
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-field.webp" width="120" alt="Field"> | [`Field`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#field) · `FormField` | Renders the field matching a config `type` (text, select, date, upload, otp…). | `Field` |
334
334
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-formsection.webp" width="120" alt="FormSection"> | [`FormSection`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#formsection) | A titled section of a form (an `h2` by default) with an optional description and actions, its fields in the form grid's columns, one column on a phone. | `FormSection` |
335
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-repeatablegroup.webp" width="120" alt="RepeatableGroup"> | [`RepeatableGroup`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#repeatablegroup) · `RepeatableGroupFormField` | Rows of fields a user adds, removes and reorders (`useFieldArray`), a list for assistive tech, focus that follows each change, one column on a phone. | `RepeatableGroup`, `RepeatableGroupFormField` |
335
336
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-textfield.webp" width="120" alt="TextField"> | [`TextField`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#textfield) · `TextFormField` | Labelled input with leading / trailing adornments and helper text. | `TextField`, `TextFormField` |
336
337
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-textareafield.webp" width="120" alt="TextareaField"> | [`TextareaField`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#textareafield) · `TextareaFormField` | Labelled textarea with row sizing and a `maxLength` counter. | `TextareaField`, `TextareaFormField` |
337
338
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/form-fields-emailfield.webp" width="120" alt="EmailField"> | [`EmailField`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/form-fields.md#emailfield) · `EmailFormField` | Validates on blur; shows a `mailto:` button once the address is valid. | `EmailField`, `EmailFormField` |
@@ -1,4 +1,4 @@
1
- import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-DEde7BKz.js";
1
+ import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-DX_ArUA5.js";
2
2
  //#region ../../node_modules/lodash-es/_isIndex.js
3
3
  var l = 9007199254740991, u = /^(?:0|[1-9]\d*)$/;
4
4
  function d(e, t) {
@@ -1,4 +1,4 @@
1
- import { m as e, p as t } from "./translator-DEde7BKz.js";
1
+ import { m as e, p as t } from "./translator-DX_ArUA5.js";
2
2
  //#region ../../node_modules/lodash-es/identity.js
3
3
  function n(e) {
4
4
  return e;
@@ -1,6 +1,6 @@
1
- import { a as e, i as t, t as n } from "./stored-language-BKoohv2_.js";
2
- import { C as r, S as i, h as a, l as o, m as s, p as c, r as l, u, v as d, w as f, x as p } from "./translator-DEde7BKz.js";
3
- import { a as m, c as h, d as g, i as _, n as v, r as y, t as b, u as ee } from "./_Uint8Array-C7apDrb7.js";
1
+ import { a as e, i as t, t as n } from "./stored-language-FHwsTPoM.js";
2
+ import { C as r, S as i, h as a, l as o, m as s, p as c, r as l, u, v as d, w as f, x as p } from "./translator-DX_ArUA5.js";
3
+ import { a as m, c as h, d as g, i as _, n as v, r as y, t as b, u as ee } from "./_Uint8Array-B6RHzY7k.js";
4
4
  import { L as te } from "./number.utils-BiBN2hWJ.js";
5
5
  import { Suspense as ne, createContext as re, createElement as x, useContext as ie, useEffect as ae, useMemo as S, useReducer as oe, useState as se, useSyncExternalStore as ce } from "react";
6
6
  import { asyncThunkCreator as le, buildCreateSlice as ue } from "@reduxjs/toolkit";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./graphlib-DxjKaXeR.js";
1
+ import { t as e } from "./graphlib-CORKO6lR.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, L as f, M as p, N as m, O as h, P as g, R as _, T as v, U as ee, V as y, W as b, b as x, j as S, k as C, l as w, v as T, w as E, z as D } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as O } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -12,7 +12,7 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
12
12
  import { i as se, n as ce, o as le, r as ue, s as de } from "./chunk-J5ZVWO5B-DmRRmhon.js";
13
13
  import "./chunk-7INBJB4K-k-I67NSP.js";
14
14
  import { i as fe, r as pe } from "./chunk-5DYCD2WN-Cd1zazNp.js";
15
- import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-BBrCUBwp.js";
15
+ import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-CLYmaWUD.js";
16
16
  //#region ../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
17
17
  function ve(e) {
18
18
  return Array.isArray(e);
@@ -1,11 +1,11 @@
1
- import { t as e } from "./graphlib-DxjKaXeR.js";
1
+ import { t as e } from "./graphlib-CORKO6lR.js";
2
2
  import { n as t } from "./src-CsLQInsN.js";
3
3
  import { g as n } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
5
  import { b as i, x as a } from "./chunk-O7XYJQB3-BChweQ_V.js";
6
6
  import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
7
7
  import { i as s, n as c, r as l, t as u } from "./chunk-5DYCD2WN-Cd1zazNp.js";
8
- import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-BBrCUBwp.js";
8
+ import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-CLYmaWUD.js";
9
9
  import { r as v, t as y } from "./chunk-UA2S7LBM-ChuksCDg.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3FUC2YCW.mjs
11
11
  function b(e, { edgePathsClass: t = "edges edgePaths" } = {}) {
@@ -9,7 +9,7 @@ import { a as b } from "./chunk-7INBJB4K-k-I67NSP.js";
9
9
  import { t as x } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
10
10
  import { t as S } from "./chunk-XXDRQBXY-dKXxu_aj.js";
11
11
  import { t as C } from "./chunk-WEXAMYUT-CbFOhEve.js";
12
- import { r as w, t as T } from "./chunk-GNY47TPC-DjnciAsL.js";
12
+ import { r as w, t as T } from "./chunk-GNY47TPC-DMMDhC9T.js";
13
13
  import { n as E, t as D } from "./chunk-LNGE3PJU-DJjGTS7O.js";
14
14
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-7M6MHVWA.mjs
15
15
  var ie = "flowchart-", ae = class {
@@ -5,7 +5,7 @@ import { b as r, s as i } from "./chunk-O7XYJQB3-BChweQ_V.js";
5
5
  import { t as a } from "./chunk-DUW6YSOI-9R-v-IIp.js";
6
6
  import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
7
7
  import { r as s } from "./chunk-5DYCD2WN-Cd1zazNp.js";
8
- import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-BBrCUBwp.js";
8
+ import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-CLYmaWUD.js";
9
9
  import { r as f } from "./chunk-UA2S7LBM-ChuksCDg.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-GNY47TPC.mjs
11
11
  var p = {
@@ -30,7 +30,7 @@ var p = {
30
30
  ], h = /* @__PURE__ */ Object.create(null), g = /* @__PURE__ */ n((e) => {
31
31
  for (let t of e) h[t.name] = t;
32
32
  }, "registerLayoutLoaders"), _ = /* @__PURE__ */ n(() => {
33
- let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-DmkPwZLS.js"), "loader");
33
+ let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-BfEvNh_f.js"), "loader");
34
34
  return [{
35
35
  name: "elk",
36
36
  loader: e,
@@ -45,11 +45,11 @@ var p = {
45
45
  g([
46
46
  {
47
47
  name: "dagre",
48
- loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-BjO_Ytfq.js"), "loader")
48
+ loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-Ck8np52h.js"), "loader")
49
49
  },
50
50
  {
51
51
  name: "swimlane",
52
- loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-Czy9f6gp.js"), "loader")
52
+ loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-C8TrgNLm.js"), "loader")
53
53
  },
54
54
  {
55
55
  name: "cose-bilkent",
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
2
- import { o as t } from "./chunk-Z7XXMR3K-BBrCUBwp.js";
2
+ import { o as t } from "./chunk-Z7XXMR3K-CLYmaWUD.js";
3
3
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NETBCI7D.mjs
4
4
  var n = 5, r = 1e-5, i = 2, a = .6, o = 1e-6;
5
5
  function s(e) {
@@ -1,4 +1,4 @@
1
- import { st as e } from "./components-CsPEBzNF.js";
1
+ import { st as e } from "./components-C5y9FL-6.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { _ as r, a as i, i as a, n as o, o as s, p as c, r as l, t as u, u as d, v as f } from "./step-Dt43c9X4.js";
4
4
  import { K as p, g as m, q as h, u as g } from "./chunk-ZIGJFQKS-9VXArDKF.js";
@@ -9,12 +9,12 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
9
9
  import { i as v, n as y, o as b, r as x } from "./chunk-J5ZVWO5B-DmRRmhon.js";
10
10
  import "./chunk-7INBJB4K-k-I67NSP.js";
11
11
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
12
- import "./chunk-Z7XXMR3K-BBrCUBwp.js";
12
+ import "./chunk-Z7XXMR3K-CLYmaWUD.js";
13
13
  import { t as S } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
14
14
  import { t as C } from "./chunk-XXDRQBXY-dKXxu_aj.js";
15
15
  import { t as w } from "./chunk-WEXAMYUT-CbFOhEve.js";
16
16
  import "./chunk-UA2S7LBM-ChuksCDg.js";
17
- import { r as T, t as E } from "./chunk-GNY47TPC-DjnciAsL.js";
17
+ import { r as T, t as E } from "./chunk-GNY47TPC-DMMDhC9T.js";
18
18
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-NBCMYWYE.mjs
19
19
  var D = (function() {
20
20
  var e = /* @__PURE__ */ i(function(e, t, n, r) {
@@ -55,7 +55,9 @@
55
55
  font-size: var(--text-xs);
56
56
  font-weight: var(--font-weight-medium);
57
57
  }
58
- a:not(:has(> button)) {
58
+ /* A sidebar entry is a link styled as a menu entry: the prose link style
59
+ (underline, info tint on hover and focus) must not reach it (#566). */
60
+ a:not(:has(> button)):not([data-slot="sidebar-menu-item"]) {
59
61
  @apply focus:underline underline-offset-4 hover:underline cursor-pointer;
60
62
  @apply text-info [&_svg]:data-[slot=icon]:text-info hover:bg-info/10 active:bg-info/5 focus:bg-info/15;
61
63
  }