@syntrologie/adapt-nav 2.8.0-canary.28 → 2.8.0-canary.280

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 (146) hide show
  1. package/dist/NavWidgetLit.d.ts +56 -0
  2. package/dist/NavWidgetLit.d.ts.map +1 -0
  3. package/dist/NavWidgetLit.editable.d.ts +151 -0
  4. package/dist/NavWidgetLit.editable.d.ts.map +1 -0
  5. package/dist/NavWidgetLit.test.d.ts +8 -0
  6. package/dist/NavWidgetLit.test.d.ts.map +1 -0
  7. package/dist/chunk-7DTOSQNC.js +43 -0
  8. package/dist/chunk-7DTOSQNC.js.map +7 -0
  9. package/dist/chunk-DDX6VH2W.js +460 -0
  10. package/dist/chunk-DDX6VH2W.js.map +7 -0
  11. package/dist/editor.d.ts +66 -21
  12. package/dist/editor.d.ts.map +1 -1
  13. package/dist/editor.js +5617 -311
  14. package/dist/editor.js.map +7 -0
  15. package/dist/nav-item-editor.d.ts +43 -0
  16. package/dist/nav-item-editor.d.ts.map +1 -0
  17. package/dist/resolveNavTarget.d.ts +61 -0
  18. package/dist/resolveNavTarget.d.ts.map +1 -0
  19. package/dist/resolveNavTarget.test.d.ts +2 -0
  20. package/dist/resolveNavTarget.test.d.ts.map +1 -0
  21. package/dist/runtime.d.ts +22 -6
  22. package/dist/runtime.d.ts.map +1 -1
  23. package/dist/runtime.js +629 -142
  24. package/dist/runtime.js.map +7 -0
  25. package/dist/schema.d.ts +316 -174
  26. package/dist/schema.d.ts.map +1 -1
  27. package/dist/schema.js +156 -125
  28. package/dist/schema.js.map +7 -0
  29. package/dist/types.d.ts +7 -0
  30. package/dist/types.d.ts.map +1 -1
  31. package/package.json +12 -16
  32. package/dist/NavWidget.d.ts +0 -31
  33. package/dist/NavWidget.d.ts.map +0 -1
  34. package/dist/NavWidget.js +0 -491
  35. package/dist/cdn.d.ts +0 -62
  36. package/dist/cdn.d.ts.map +0 -1
  37. package/dist/cdn.js +0 -48
  38. package/dist/summarize.js +0 -51
  39. package/dist/types.js +0 -18
  40. package/node_modules/@syntro/design-system/README.md +0 -335
  41. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logo.svg +0 -21
  42. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logomark.svg +0 -10
  43. package/node_modules/@syntro/design-system/dist/index.d.ts +0 -8
  44. package/node_modules/@syntro/design-system/dist/index.d.ts.map +0 -1
  45. package/node_modules/@syntro/design-system/dist/index.js +0 -7
  46. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts +0 -19
  47. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts.map +0 -1
  48. package/node_modules/@syntro/design-system/dist/tailwind-preset.js +0 -453
  49. package/node_modules/@syntro/design-system/dist/tokens/colors.css +0 -464
  50. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts +0 -874
  51. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts.map +0 -1
  52. package/node_modules/@syntro/design-system/dist/tokens/colors.js +0 -564
  53. package/node_modules/@syntro/design-system/dist/tokens/effects.css +0 -43
  54. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts +0 -85
  55. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts.map +0 -1
  56. package/node_modules/@syntro/design-system/dist/tokens/effects.js +0 -77
  57. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts +0 -10
  58. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts.map +0 -1
  59. package/node_modules/@syntro/design-system/dist/tokens/index.js +0 -9
  60. package/node_modules/@syntro/design-system/package.json +0 -55
  61. package/node_modules/@syntro/design-system/src/assets/syntrologie-logo.svg +0 -21
  62. package/node_modules/@syntro/design-system/src/assets/syntrologie-logomark.svg +0 -10
  63. package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +0 -129
  64. package/node_modules/@syntrologie/sdk-contracts/dist/index.js +0 -15
  65. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +0 -2225
  66. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +0 -162
  67. package/node_modules/@syntrologie/sdk-contracts/package.json +0 -33
  68. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts +0 -2
  69. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts.map +0 -1
  70. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.js +0 -3
  71. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +0 -34
  72. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +0 -1
  73. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +0 -160
  74. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts +0 -7
  75. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +0 -1
  76. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +0 -9
  77. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts +0 -23
  78. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts.map +0 -1
  79. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +0 -40
  80. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts +0 -7
  81. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts.map +0 -1
  82. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.js +0 -22
  83. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts +0 -8
  84. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts.map +0 -1
  85. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +0 -9
  86. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts +0 -7
  87. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +0 -1
  88. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +0 -4
  89. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts +0 -7
  90. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts.map +0 -1
  91. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.js +0 -4
  92. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts +0 -13
  93. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +0 -1
  94. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +0 -15
  95. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts +0 -7
  96. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +0 -1
  97. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +0 -4
  98. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts +0 -9
  99. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts.map +0 -1
  100. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.js +0 -4
  101. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +0 -8
  102. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +0 -1
  103. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +0 -8
  104. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts +0 -7
  105. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts.map +0 -1
  106. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.js +0 -4
  107. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts +0 -25
  108. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +0 -1
  109. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +0 -379
  110. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +0 -8
  111. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +0 -1
  112. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +0 -8
  113. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +0 -8
  114. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +0 -1
  115. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +0 -17
  116. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts +0 -32
  117. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +0 -1
  118. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +0 -87
  119. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts +0 -6
  120. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts.map +0 -1
  121. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.js +0 -4
  122. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts +0 -8
  123. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts.map +0 -1
  124. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.js +0 -5
  125. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts +0 -12
  126. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +0 -1
  127. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +0 -40
  128. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts +0 -26
  129. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +0 -1
  130. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +0 -202
  131. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts +0 -8
  132. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts.map +0 -1
  133. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.js +0 -46
  134. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts +0 -24
  135. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts.map +0 -1
  136. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.js +0 -86
  137. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +0 -34
  138. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +0 -1
  139. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +0 -25
  140. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -37
  141. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +0 -1
  142. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +0 -52
  143. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts +0 -22
  144. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts.map +0 -1
  145. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.js +0 -143
  146. package/node_modules/@syntrologie/shared-editor-ui/package.json +0 -45
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Adaptive Nav - NavWidgetLit Web Component
3
+ *
4
+ * Lit web component equivalent of NavWidget.tsx. Renders a collapsible
5
+ * navigation tips accordion with per-item conditional visibility, framework-aware
6
+ * navigation, and CSS variable theming.
7
+ *
8
+ * Decorator-free: uses `static override properties` (tsconfig has no
9
+ * experimentalDecorators).
10
+ *
11
+ * Uses light DOM (createRenderRoot returns this) so host-page CSS variables
12
+ * (--sc-*) are inherited without crossing a shadow boundary.
13
+ */
14
+ import { LitElement } from 'lit';
15
+ import type { NavConfig, NavWidgetRuntime } from './types';
16
+ export declare class NavWidgetLit extends LitElement {
17
+ #private;
18
+ createRenderRoot(): this;
19
+ static properties: {
20
+ config: {
21
+ attribute: boolean;
22
+ };
23
+ runtime: {
24
+ attribute: boolean;
25
+ };
26
+ instanceId: {
27
+ type: StringConstructor;
28
+ };
29
+ _expandedIds: {
30
+ state: boolean;
31
+ };
32
+ _renderTick: {
33
+ state: boolean;
34
+ };
35
+ _hoveredId: {
36
+ state: boolean;
37
+ };
38
+ };
39
+ config: NavConfig;
40
+ runtime: NavWidgetRuntime | undefined;
41
+ instanceId: string;
42
+ /** @internal */ _expandedIds: Set<string>;
43
+ /** @internal */ _renderTick: number;
44
+ /** @internal */ _hoveredId: string | null;
45
+ connectedCallback(): void;
46
+ disconnectedCallback(): void;
47
+ updated(changed: Map<string, unknown>): void;
48
+ render(): import("lit-html").TemplateResult<1>;
49
+ }
50
+ export declare function registerNavWidgetLit(): void;
51
+ declare global {
52
+ interface HTMLElementTagNameMap {
53
+ 'syntro-nav-tips': NavWidgetLit;
54
+ }
55
+ }
56
+ //# sourceMappingURL=NavWidgetLit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavWidgetLit.d.ts","sourceRoot":"","sources":["../src/NavWidgetLit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAMhD,OAAO,KAAK,EAAE,SAAS,EAAgB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA0FzE,qBAAa,YAAa,SAAQ,UAAU;;IAGjC,gBAAgB;IAMzB,OAAgB,UAAU;;;;;;;;;;;;;;;;;;;MAUxB;IAIF,MAAM,EAAE,SAAS,CAA4D;IAC7E,OAAO,EAAE,gBAAgB,GAAG,SAAS,CAAa;IAClD,UAAU,EAAE,MAAM,CAAgB;IAIlC,gBAAgB,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IACvD,gBAAgB,CAAC,WAAW,SAAK;IACjC,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IASzC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAO5B,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA0U5C,MAAM;CAuFhB;AAQD,wBAAgB,oBAAoB,IAAI,IAAI,CAK3C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,YAAY,CAAC;KACjC;CACF"}
@@ -0,0 +1,151 @@
1
+ /**
2
+ * Adaptive Nav - NavWidgetLit.editable
3
+ *
4
+ * Editable variant of the Nav tips accordion for the canvas editor surface.
5
+ * Renders the same tip rows as <syntro-nav-tips> but adds:
6
+ * - Pencil button per row (shows on hover, calls controller.editItem on click)
7
+ * - Pencil click calls controller.editItem to open the modal editor
8
+ * - Read-only fallback when controller is null
9
+ * - Normal clicks pass through — only pencil and drag handle trigger edit actions
10
+ *
11
+ * Tag name: <syntro-nav-tips-editable>
12
+ *
13
+ * Decorator-free: uses `static override properties` (matches codebase pattern).
14
+ * Light DOM: inherits host-page CSS variables (same as <syntro-nav-tips>).
15
+ *
16
+ * Cross-package import safety:
17
+ * The controller is typed as a structural `ControllerLike` interface defined
18
+ * locally — NOT imported from @syntrologie/editor-sdk. This prevents a
19
+ * dependency cycle. The real EditModeController satisfies ControllerLike
20
+ * structurally.
21
+ *
22
+ * Similarly, `makeSortable` is passed in as a `SortableFn` option rather than
23
+ * imported directly — matching the FAQ editable widget pattern (Alternative C
24
+ * from the architecture decision log). The sortable is wired via _attachSortable()
25
+ * in the updated() lifecycle hook, exactly mirroring FAQAccordionEditableElement.
26
+ *
27
+ * Click strategy:
28
+ * Row clicks pass through normally — the editable variant does NOT intercept
29
+ * them. Only the pencil button (opens modal editor) and drag handle (reorder)
30
+ * trigger edit-mode actions. This lets the underlying widget behavior (e.g.
31
+ * navigation, scrolling) work as expected in the editor preview.
32
+ */
33
+ import { LitElement } from 'lit';
34
+ import type { NavConfig } from './types';
35
+ /**
36
+ * Structural interface — describes only the methods the editable widget needs.
37
+ * The real EditModeController satisfies this by structural subtyping.
38
+ *
39
+ * `tileId` (the host tile's id, threaded in via `instanceId` at mount) scopes
40
+ * controller calls to the active tile when a canvas has multiple Nav tiles.
41
+ * It is optional so single-tile and v2 actions-shape canvases continue to work.
42
+ */
43
+ export interface ControllerLike {
44
+ editItem(adaptive: string, itemId: string, tileId?: string): void;
45
+ editContainer(adaptive: string, tileId?: string): void;
46
+ isModalOpen(): boolean;
47
+ reorderItems(adaptive: string, newOrder: string[], tileId?: string): void;
48
+ }
49
+ /** Return value from makeSortable. */
50
+ export interface SortableHandle {
51
+ destroy(): void;
52
+ }
53
+ /** Options subset that NavTipsEditableElement passes into the sortable. */
54
+ export interface SortableOptions {
55
+ itemSelector: string;
56
+ handleSelector: string;
57
+ getItems: () => string[];
58
+ onReorder: (newOrder: string[]) => void;
59
+ liveRegion: HTMLElement;
60
+ }
61
+ /**
62
+ * Structural type matching `makeSortable` from editor-sdk's sortable.ts.
63
+ * Injected at mount time by NavWidgetLitEditableMountable.
64
+ * Phase 3.3 will actually wire this; it is accepted here for forward compat.
65
+ */
66
+ export type SortableFn = (host: HTMLElement, opts: SortableOptions) => SortableHandle;
67
+ /**
68
+ * <syntro-nav-tips-editable> — light-DOM Lit element.
69
+ *
70
+ * Set properties imperatively (no attribute serialisation for objects):
71
+ * el.navConfig = { ... };
72
+ * el.controller = editModeControllerInstance; // null → read-only
73
+ */
74
+ export declare class NavTipsEditableElement extends LitElement {
75
+ static properties: {
76
+ navConfig: {
77
+ attribute: boolean;
78
+ };
79
+ controller: {
80
+ attribute: boolean;
81
+ };
82
+ tileId: {
83
+ attribute: boolean;
84
+ };
85
+ _hoveredId: {
86
+ state: boolean;
87
+ };
88
+ _containerHovered: {
89
+ state: boolean;
90
+ };
91
+ };
92
+ navConfig: NavConfig;
93
+ /** Null when loaded without an editor context — renders read-only list. */
94
+ controller: ControllerLike | null;
95
+ /**
96
+ * Host tile id, threaded in via the mountable's `instanceId`. Scopes every
97
+ * controller call so the right tile is targeted when the canvas has more
98
+ * than one Nav tile (per-route navs). Empty string when unknown.
99
+ */
100
+ tileId: string;
101
+ /**
102
+ * The `makeSortable` factory to use. Injected by NavWidgetLitEditableMountable
103
+ * from the editor-sdk bootstrap so there is no direct import from editor-sdk
104
+ * into this package (which would create a circular dependency).
105
+ *
106
+ * Null when running without the editor context (read-only mode).
107
+ */
108
+ sortable: SortableFn | null;
109
+ /**
110
+ * Shared aria-live region from the modal host, threaded in via mount config.
111
+ * Falls back to a detached element when running outside the editor context.
112
+ */
113
+ liveRegion: HTMLElement | null;
114
+ _hoveredId: string | null;
115
+ _containerHovered: boolean;
116
+ private _sortableHandle;
117
+ createRenderRoot(): this;
118
+ connectedCallback(): void;
119
+ /**
120
+ * Wire (or re-wire) the sortable whenever the properties it depends on change.
121
+ * `updated()` fires after every render, including the first, so we don't need
122
+ * a separate `firstUpdated()` call — using `updated()` alone avoids a double
123
+ * attach on mount (firstUpdated + updated both fire on first render).
124
+ */
125
+ protected updated(changed: Map<string, unknown>): void;
126
+ disconnectedCallback(): void;
127
+ private _attachSortable;
128
+ private _handleEdit;
129
+ private _handlePencilClick;
130
+ private _handleContainerEdit;
131
+ private _renderRow;
132
+ render(): import("lit-html").TemplateResult<1>;
133
+ }
134
+ /**
135
+ * Mountable for <syntro-nav-tips-editable>.
136
+ *
137
+ * Follows the same mount pattern as NavWidgetLitMountable in runtime.ts.
138
+ * Accepts a `controller` in addition to `navConfig` so the editor can
139
+ * wire up the EditModeController at mount time.
140
+ */
141
+ export declare const NavWidgetLitEditableMountable: {
142
+ mount(container: HTMLElement, config?: NavConfig & {
143
+ instanceId?: string;
144
+ controller?: ControllerLike | null;
145
+ /** makeSortable factory injected by editor-sdk bootstrap. Phase 3.3 wires this. */
146
+ sortable?: SortableFn | null;
147
+ /** Shared aria-live region from the modal host for sortable announcements. */
148
+ liveRegion?: HTMLElement | null;
149
+ }): () => void;
150
+ };
151
+ //# sourceMappingURL=NavWidgetLit.editable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavWidgetLit.editable.d.ts","sourceRoot":"","sources":["../src/NavWidgetLit.editable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAEhD,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,SAAS,CAAC;AAMvD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClE,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvD,WAAW,IAAI,OAAO,CAAC;IACvB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3E;AAMD,sCAAsC;AACtC,MAAM,WAAW,cAAc;IAC7B,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,WAAW,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,KAAK,cAAc,CAAC;AA6JtF;;;;;;GAMG;AACH,qBAAa,sBAAuB,SAAQ,UAAU;IAKpD,OAAgB,UAAU;;;;;;;;;;;;;;;;MAQxB;IAMF,SAAS,EAAE,SAAS,CAIlB;IAEF,2EAA2E;IAC3E,UAAU,EAAE,cAAc,GAAG,IAAI,CAAQ;IAEzC;;;;OAIG;IACH,MAAM,SAAM;IAEZ;;;;;;OAMG;IACH,QAAQ,EAAE,UAAU,GAAG,IAAI,CAAQ;IAEnC;;;OAGG;IACH,UAAU,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEtC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjC,iBAAiB,UAAS;IAM1B,OAAO,CAAC,eAAe,CAA+B;IAM7C,gBAAgB;IAIhB,iBAAiB,IAAI,IAAI;IASlC;;;;;OAKG;cACgB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAQtD,oBAAoB,IAAI,IAAI;IAMrC,OAAO,CAAC,eAAe;IAsBvB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,UAAU;IAqDT,MAAM;CA8EhB;AAcD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;qBAE3B,WAAW,WACb,SAAS,GAAG;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;QACnC,mFAAmF;QACnF,QAAQ,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;QAC7B,8EAA8E;QAC9E,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;KACjC;CAiCJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NavWidgetLit — Vitest + @open-wc/testing-helpers unit tests
3
+ *
4
+ * Tests cover: rendering, expand/collapse, nav-tip-clicked event, XSS rejection,
5
+ * empty state, category grouping, and visibility filtering (triggerWhen).
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=NavWidgetLit.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavWidgetLit.test.d.ts","sourceRoot":"","sources":["../src/NavWidgetLit.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
@@ -0,0 +1,43 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __typeError = (msg) => {
8
+ throw TypeError(msg);
9
+ };
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
30
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
31
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
32
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
33
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
34
+
35
+ export {
36
+ __commonJS,
37
+ __toESM,
38
+ __privateGet,
39
+ __privateAdd,
40
+ __privateSet,
41
+ __privateMethod
42
+ };
43
+ //# sourceMappingURL=chunk-7DTOSQNC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }