@syntrologie/adapt-nav 2.16.0 → 2.17.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 (211) hide show
  1. package/dist/NavWidgetLit.d.ts.map +1 -1
  2. package/dist/chunk-HMLY7DHA.js +16 -0
  3. package/dist/chunk-HMLY7DHA.js.map +7 -0
  4. package/dist/chunk-ZYHZ6JAD.js +447 -0
  5. package/dist/chunk-ZYHZ6JAD.js.map +7 -0
  6. package/dist/editor.d.ts +42 -21
  7. package/dist/editor.d.ts.map +1 -1
  8. package/dist/editor.js +310 -313
  9. package/dist/editor.js.map +7 -0
  10. package/dist/resolveNavTarget.d.ts +61 -0
  11. package/dist/resolveNavTarget.d.ts.map +1 -0
  12. package/dist/resolveNavTarget.test.d.ts +2 -0
  13. package/dist/resolveNavTarget.test.d.ts.map +1 -0
  14. package/dist/runtime.d.ts +3 -4
  15. package/dist/runtime.d.ts.map +1 -1
  16. package/dist/runtime.js +612 -221
  17. package/dist/runtime.js.map +7 -0
  18. package/dist/schema.d.ts +182 -72
  19. package/dist/schema.d.ts.map +1 -1
  20. package/dist/schema.js +155 -125
  21. package/dist/schema.js.map +7 -0
  22. package/package.json +9 -24
  23. package/dist/NavWidget.d.ts +0 -31
  24. package/dist/NavWidget.d.ts.map +0 -1
  25. package/dist/NavWidget.js +0 -476
  26. package/dist/NavWidgetLit.js +0 -495
  27. package/dist/NavWidgetLit.test.js +0 -199
  28. package/dist/cdn.d.ts +0 -62
  29. package/dist/cdn.d.ts.map +0 -1
  30. package/dist/cdn.js +0 -48
  31. package/dist/editor-lit.d.ts +0 -49
  32. package/dist/editor-lit.d.ts.map +0 -1
  33. package/dist/editor-lit.js +0 -319
  34. package/dist/runtime-lit.d.ts +0 -108
  35. package/dist/runtime-lit.d.ts.map +0 -1
  36. package/dist/runtime-lit.js +0 -241
  37. package/dist/summarize.js +0 -51
  38. package/dist/types.js +0 -18
  39. package/node_modules/@syntro/design-system/README.md +0 -335
  40. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logo.svg +0 -21
  41. package/node_modules/@syntro/design-system/dist/assets/syntrologie-logomark.svg +0 -10
  42. package/node_modules/@syntro/design-system/dist/index.d.ts +0 -8
  43. package/node_modules/@syntro/design-system/dist/index.d.ts.map +0 -1
  44. package/node_modules/@syntro/design-system/dist/index.js +0 -7
  45. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts +0 -19
  46. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts.map +0 -1
  47. package/node_modules/@syntro/design-system/dist/tailwind-preset.js +0 -455
  48. package/node_modules/@syntro/design-system/dist/tokens/colors.css +0 -464
  49. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts +0 -874
  50. package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts.map +0 -1
  51. package/node_modules/@syntro/design-system/dist/tokens/colors.js +0 -564
  52. package/node_modules/@syntro/design-system/dist/tokens/effects.css +0 -43
  53. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts +0 -139
  54. package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts.map +0 -1
  55. package/node_modules/@syntro/design-system/dist/tokens/effects.js +0 -121
  56. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts +0 -12
  57. package/node_modules/@syntro/design-system/dist/tokens/index.d.ts.map +0 -1
  58. package/node_modules/@syntro/design-system/dist/tokens/index.js +0 -11
  59. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts +0 -93
  60. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts.map +0 -1
  61. package/node_modules/@syntro/design-system/dist/tokens/panel-shell.js +0 -72
  62. package/node_modules/@syntro/design-system/package.json +0 -55
  63. package/node_modules/@syntro/design-system/src/assets/syntrologie-logo.svg +0 -21
  64. package/node_modules/@syntro/design-system/src/assets/syntrologie-logomark.svg +0 -10
  65. package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +0 -129
  66. package/node_modules/@syntrologie/sdk-contracts/dist/index.js +0 -17
  67. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +0 -2296
  68. package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +0 -361
  69. package/node_modules/@syntrologie/sdk-contracts/package.json +0 -33
  70. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts +0 -2
  71. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts.map +0 -1
  72. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.js +0 -3
  73. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +0 -34
  74. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +0 -1
  75. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +0 -161
  76. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts +0 -84
  77. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts.map +0 -1
  78. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.js +0 -323
  79. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts +0 -7
  80. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +0 -1
  81. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +0 -9
  82. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts +0 -25
  83. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts.map +0 -1
  84. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.js +0 -55
  85. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts +0 -23
  86. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts.map +0 -1
  87. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +0 -40
  88. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts +0 -33
  89. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts.map +0 -1
  90. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.js +0 -118
  91. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts +0 -7
  92. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts.map +0 -1
  93. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.js +0 -22
  94. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts +0 -32
  95. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts.map +0 -1
  96. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.js +0 -68
  97. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts +0 -8
  98. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts.map +0 -1
  99. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +0 -9
  100. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts +0 -34
  101. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts.map +0 -1
  102. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.js +0 -57
  103. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts +0 -7
  104. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +0 -1
  105. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +0 -4
  106. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts +0 -13
  107. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts.map +0 -1
  108. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.js +0 -31
  109. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts +0 -7
  110. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts.map +0 -1
  111. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.js +0 -4
  112. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts +0 -7
  113. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts.map +0 -1
  114. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.js +0 -15
  115. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts +0 -13
  116. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +0 -1
  117. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +0 -15
  118. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts +0 -36
  119. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts.map +0 -1
  120. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.js +0 -102
  121. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts +0 -7
  122. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +0 -1
  123. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +0 -4
  124. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts +0 -20
  125. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts.map +0 -1
  126. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.js +0 -48
  127. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts +0 -9
  128. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts.map +0 -1
  129. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.js +0 -4
  130. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts +0 -16
  131. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts.map +0 -1
  132. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.js +0 -25
  133. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +0 -8
  134. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +0 -1
  135. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +0 -8
  136. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts +0 -66
  137. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts.map +0 -1
  138. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.js +0 -87
  139. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts +0 -7
  140. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts.map +0 -1
  141. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.js +0 -4
  142. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts +0 -7
  143. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts.map +0 -1
  144. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.js +0 -15
  145. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts +0 -25
  146. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +0 -1
  147. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +0 -390
  148. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts +0 -66
  149. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts.map +0 -1
  150. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.js +0 -528
  151. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +0 -8
  152. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +0 -1
  153. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +0 -8
  154. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts +0 -41
  155. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts.map +0 -1
  156. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.js +0 -63
  157. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +0 -8
  158. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +0 -1
  159. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +0 -17
  160. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts +0 -55
  161. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts.map +0 -1
  162. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.js +0 -92
  163. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts +0 -32
  164. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +0 -1
  165. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +0 -85
  166. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts +0 -90
  167. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts.map +0 -1
  168. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.js +0 -242
  169. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts +0 -6
  170. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts.map +0 -1
  171. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.js +0 -4
  172. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts +0 -12
  173. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts.map +0 -1
  174. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.js +0 -21
  175. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts +0 -8
  176. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts.map +0 -1
  177. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.js +0 -5
  178. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts +0 -21
  179. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts.map +0 -1
  180. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.js +0 -33
  181. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts +0 -12
  182. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +0 -1
  183. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +0 -40
  184. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts +0 -28
  185. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts.map +0 -1
  186. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.js +0 -121
  187. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts +0 -110
  188. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts.map +0 -1
  189. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.js +0 -481
  190. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts +0 -26
  191. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +0 -1
  192. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +0 -202
  193. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts +0 -8
  194. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts.map +0 -1
  195. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.js +0 -46
  196. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts +0 -24
  197. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts.map +0 -1
  198. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.js +0 -86
  199. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +0 -36
  200. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +0 -1
  201. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +0 -26
  202. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts +0 -15
  203. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts.map +0 -1
  204. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.js +0 -14
  205. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -33
  206. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +0 -1
  207. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +0 -68
  208. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts +0 -22
  209. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts.map +0 -1
  210. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.js +0 -143
  211. package/node_modules/@syntrologie/shared-editor-ui/package.json +0 -55
@@ -1,102 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- /**
3
- * EditorCardLit — card wrapper for editor item lists.
4
- *
5
- * Uses shadow DOM so <slot> projects children into the styled wrapper div.
6
- * Dispatches card-mouseenter, card-mouseleave, card-click custom events
7
- * with composed: true so they cross the shadow boundary.
8
- */
9
- export class EditorCardLit extends LitElement {
10
- constructor() {
11
- super(...arguments);
12
- this.itemKey = '';
13
- this.validated = false;
14
- this.clickable = false;
15
- this._handleClick = () => {
16
- if (!this.clickable)
17
- return;
18
- this.dispatchEvent(new CustomEvent('card-click', {
19
- detail: { itemKey: this.itemKey },
20
- bubbles: true,
21
- composed: true,
22
- }));
23
- };
24
- this._handleKeyDown = (e) => {
25
- if (!this.clickable)
26
- return;
27
- if (e.key === 'Enter' || e.key === ' ') {
28
- e.preventDefault();
29
- this._handleClick();
30
- }
31
- };
32
- this._handleMouseEnter = () => {
33
- this.dispatchEvent(new CustomEvent('card-mouseenter', {
34
- detail: { itemKey: this.itemKey },
35
- bubbles: true,
36
- composed: true,
37
- }));
38
- };
39
- this._handleMouseLeave = () => {
40
- this.dispatchEvent(new CustomEvent('card-mouseleave', {
41
- detail: { itemKey: this.itemKey },
42
- bubbles: true,
43
- composed: true,
44
- }));
45
- };
46
- }
47
- render() {
48
- const base = 'py-2 px-2.5 rounded-lg border shadow-sm mb-1 text-sm';
49
- const borderCls = this.validated ? 'border-green-500/50' : 'border-white/10';
50
- const bgCls = 'bg-white/[0.02]';
51
- const colorCls = 'text-slate-200';
52
- const interactiveCls = this.clickable
53
- ? 'cursor-pointer hover:border-white/20 hover:bg-white/[0.04] transition-colors'
54
- : '';
55
- return html `
56
- <style>
57
- :host { display: block; }
58
- .card {
59
- padding: 8px 10px;
60
- border-radius: 8px;
61
- border: 1px solid rgba(255,255,255,0.1);
62
- background: rgba(255,255,255,0.02);
63
- box-shadow: 0 1px 2px rgba(0,0,0,0.1);
64
- margin-bottom: 4px;
65
- font-size: 14px;
66
- color: #e2e8f0;
67
- }
68
- .card.validated {
69
- border-color: rgba(34,197,94,0.5);
70
- box-shadow: 0 0 8px rgba(34,197,94,0.15);
71
- }
72
- .card.clickable {
73
- cursor: pointer;
74
- transition: border-color 0.15s, background 0.15s;
75
- }
76
- .card.clickable:hover {
77
- border-color: rgba(255,255,255,0.2);
78
- background: rgba(255,255,255,0.04);
79
- }
80
- </style>
81
- <div
82
- class="card ${this.validated ? 'validated' : ''} ${this.clickable ? 'clickable' : ''}"
83
- data-item-key=${this.itemKey}
84
- role=${this.clickable ? 'button' : ''}
85
- tabindex=${this.clickable ? '0' : ''}
86
- @click=${this._handleClick}
87
- @keydown=${this._handleKeyDown}
88
- @mouseenter=${this._handleMouseEnter}
89
- @mouseleave=${this._handleMouseLeave}
90
- >
91
- <slot></slot>
92
- </div>
93
- `;
94
- }
95
- }
96
- EditorCardLit.properties = {
97
- itemKey: { type: String, attribute: 'item-key' },
98
- cardClass: { type: String, attribute: 'card-class' },
99
- validated: { type: Boolean },
100
- clickable: { type: Boolean },
101
- };
102
- customElements.define('se-editor-card', EditorCardLit);
@@ -1,7 +0,0 @@
1
- interface EditorFooterProps {
2
- onSave: () => void;
3
- onPublish: () => void;
4
- }
5
- export declare function EditorFooter({ onSave, onPublish }: EditorFooterProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=EditorFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorFooter.d.ts","sourceRoot":"","sources":["../../src/components/EditorFooter.tsx"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CAmBpE"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export function EditorFooter({ onSave, onPublish }) {
3
- return (_jsxs("div", { className: "se-py-3 se-px-4 se-border-t se-border-border-primary se-flex se-gap-2", children: [_jsx("button", { type: "button", onClick: onSave, className: "se-flex-1 se-h-10 se-px-4 se-py-2 se-rounded-md se-bg-btn-neutral se-text-btn-neutral-text se-border se-border-btn-neutral-border hover:se-text-btn-neutral-text-hover se-text-sm se-font-medium se-cursor-pointer se-inline-flex se-items-center se-justify-center focus-visible:se-shadow-focus-primary focus-visible:se-outline-none", children: "Save Draft" }), _jsx("button", { type: "button", onClick: onPublish, className: "se-flex-1 se-h-10 se-px-4 se-py-2 se-rounded-md se-border-none se-bg-btn-primary se-text-btn-primary-text hover:se-bg-btn-primary-hover se-text-sm se-font-medium se-cursor-pointer se-inline-flex se-items-center se-justify-center focus-visible:se-shadow-focus-primary focus-visible:se-outline-none", children: "Publish" })] }));
4
- }
@@ -1,20 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class EditorFooterLit extends LitElement {
3
- static properties: {
4
- saveLabel: {
5
- type: StringConstructor;
6
- attribute: string;
7
- };
8
- publishLabel: {
9
- type: StringConstructor;
10
- attribute: string;
11
- };
12
- };
13
- saveLabel: string;
14
- publishLabel: string;
15
- createRenderRoot(): this;
16
- private _handleSave;
17
- private _handlePublish;
18
- render(): import("lit-html").TemplateResult<1>;
19
- }
20
- //# sourceMappingURL=EditorFooterLit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorFooterLit.d.ts","sourceRoot":"","sources":["../../src/components/EditorFooterLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,UAAU;;;;;;;;;MAGxB;IAEF,SAAS,SAAgB;IACzB,YAAY,SAAa;IAEhB,gBAAgB;IAIzB,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,cAAc;IASb,MAAM;CAoBhB"}
@@ -1,48 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- export class EditorFooterLit extends LitElement {
3
- constructor() {
4
- super(...arguments);
5
- this.saveLabel = 'Save Draft';
6
- this.publishLabel = 'Publish';
7
- }
8
- createRenderRoot() {
9
- return this;
10
- }
11
- _handleSave() {
12
- this.dispatchEvent(new CustomEvent('save', {
13
- bubbles: true,
14
- composed: true,
15
- }));
16
- }
17
- _handlePublish() {
18
- this.dispatchEvent(new CustomEvent('publish', {
19
- bubbles: true,
20
- composed: true,
21
- }));
22
- }
23
- render() {
24
- return html `
25
- <div class="se-py-3 se-px-4 se-border-t se-border-border-primary se-flex se-gap-2">
26
- <button
27
- type="button"
28
- class="se-flex-1 se-h-10 se-px-4 se-py-2 se-rounded-md se-bg-btn-neutral se-text-btn-neutral-text se-border se-border-btn-neutral-border hover:se-text-btn-neutral-text-hover se-text-sm se-font-medium se-cursor-pointer se-inline-flex se-items-center se-justify-center focus-visible:se-shadow-focus-primary focus-visible:se-outline-none"
29
- @click=${this._handleSave}
30
- >
31
- ${this.saveLabel}
32
- </button>
33
- <button
34
- type="button"
35
- class="se-flex-1 se-h-10 se-px-4 se-py-2 se-rounded-md se-border-none se-bg-btn-primary se-text-btn-primary-text hover:se-bg-btn-primary-hover se-text-sm se-font-medium se-cursor-pointer se-inline-flex se-items-center se-justify-center focus-visible:se-shadow-focus-primary focus-visible:se-outline-none"
36
- @click=${this._handlePublish}
37
- >
38
- ${this.publishLabel}
39
- </button>
40
- </div>
41
- `;
42
- }
43
- }
44
- EditorFooterLit.properties = {
45
- saveLabel: { type: String, attribute: 'save-label' },
46
- publishLabel: { type: String, attribute: 'publish-label' },
47
- };
48
- customElements.define('se-editor-footer', EditorFooterLit);
@@ -1,9 +0,0 @@
1
- interface EditorHeaderProps {
2
- title: string;
3
- subtitle?: string;
4
- /** @deprecated Back navigation is now handled at the panel level. */
5
- onBack?: () => void;
6
- }
7
- export declare function EditorHeader({ title, subtitle }: EditorHeaderProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=EditorHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorHeader.d.ts","sourceRoot":"","sources":["../../src/components/EditorHeader.tsx"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CASlE"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export function EditorHeader({ title, subtitle }) {
3
- return (_jsxs("div", { className: "se-px-4 se-pt-3 se-pb-2", children: [_jsx("h2", { className: "se-m-0 se-text-base se-font-semibold se-text-text-primary", children: title }), subtitle && (_jsx("p", { className: "se-mt-0.5 se-mb-0 se-text-xs se-text-text-secondary", children: subtitle }))] }));
4
- }
@@ -1,16 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class EditorHeaderLit extends LitElement {
3
- static properties: {
4
- title: {
5
- type: StringConstructor;
6
- };
7
- subtitle: {
8
- type: StringConstructor;
9
- };
10
- };
11
- title: string;
12
- subtitle: string | undefined;
13
- createRenderRoot(): this;
14
- render(): import("lit-html").TemplateResult<1>;
15
- }
16
- //# sourceMappingURL=EditorHeaderLit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorHeaderLit.d.ts","sourceRoot":"","sources":["../../src/components/EditorHeaderLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,UAAU;;;;;;;MAGxB;IAEF,KAAK,SAAM;IACX,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAEpB,gBAAgB;IAIhB,MAAM;CAYhB"}
@@ -1,25 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- export class EditorHeaderLit extends LitElement {
3
- constructor() {
4
- super(...arguments);
5
- this.title = '';
6
- }
7
- createRenderRoot() {
8
- return this;
9
- }
10
- render() {
11
- return html `
12
- <div class="se-px-4 se-pt-3 se-pb-2">
13
- <h2 class="se-m-0 se-text-base se-font-semibold se-text-text-primary">${this.title}</h2>
14
- ${this.subtitle
15
- ? html `<p class="se-mt-0.5 se-mb-0 se-text-xs se-text-text-secondary">${this.subtitle}</p>`
16
- : ''}
17
- </div>
18
- `;
19
- }
20
- }
21
- EditorHeaderLit.properties = {
22
- title: { type: String },
23
- subtitle: { type: String },
24
- };
25
- customElements.define('se-editor-header', EditorHeaderLit);
@@ -1,8 +0,0 @@
1
- import type React from 'react';
2
- interface EditorInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- label?: string;
4
- className?: string;
5
- }
6
- export declare function EditorInput({ label, className, id, ...props }: EditorInputProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=EditorInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorInput.d.ts","sourceRoot":"","sources":["../../src/components/EditorInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,gBAAiB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CA0B/E"}
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useId } from 'react';
3
- import { cn } from '../cn';
4
- export function EditorInput({ label, className, id, ...props }) {
5
- const generatedId = useId();
6
- const inputId = id || generatedId;
7
- return (_jsxs("div", { children: [label && (_jsx("label", { htmlFor: inputId, className: "se-text-sm se-font-medium se-text-input-field-text-label se-mb-1 se-block", children: label })), _jsx("input", { id: inputId, ...props, className: cn('se-w-full se-py-2 se-px-3 se-rounded-lg se-border se-border-input-field-border se-bg-slate-grey-3 se-text-text-primary se-text-sm se-font-[inherit] se-mb-2 se-box-border', 'placeholder:se-text-input-field-text-placeholder', 'focus:se-border-input-field-border-selected focus:se-outline-none focus:se-shadow-focus-primary', 'disabled:se-bg-input-field-bg-disabled disabled:se-cursor-not-allowed disabled:se-opacity-50', className) })] }));
8
- }
@@ -1,66 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class EditorInputLit extends LitElement {
3
- static properties: {
4
- label: {
5
- type: StringConstructor;
6
- };
7
- inputClass: {
8
- type: StringConstructor;
9
- attribute: string;
10
- };
11
- inputId: {
12
- type: StringConstructor;
13
- attribute: string;
14
- };
15
- name: {
16
- type: StringConstructor;
17
- };
18
- type: {
19
- type: StringConstructor;
20
- };
21
- value: {
22
- type: StringConstructor;
23
- };
24
- placeholder: {
25
- type: StringConstructor;
26
- };
27
- disabled: {
28
- type: BooleanConstructor;
29
- };
30
- required: {
31
- type: BooleanConstructor;
32
- };
33
- readonly: {
34
- type: BooleanConstructor;
35
- };
36
- min: {
37
- type: StringConstructor;
38
- };
39
- max: {
40
- type: StringConstructor;
41
- };
42
- step: {
43
- type: StringConstructor;
44
- };
45
- };
46
- label: string | undefined;
47
- inputClass: string | undefined;
48
- inputId: string | undefined;
49
- name: string | undefined;
50
- type: string;
51
- value: string | undefined;
52
- placeholder: string | undefined;
53
- disabled: boolean;
54
- required: boolean;
55
- readonly: boolean;
56
- min: string | undefined;
57
- max: string | undefined;
58
- step: string | undefined;
59
- private _generatedId;
60
- constructor();
61
- createRenderRoot(): this;
62
- private _handleChange;
63
- private _handleInput;
64
- render(): import("lit-html").TemplateResult<1>;
65
- }
66
- //# sourceMappingURL=EditorInputLit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorInputLit.d.ts","sourceRoot":"","sources":["../../src/components/EditorInputLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,qBAAa,cAAe,SAAQ,UAAU;IAC5C,OAAgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcxB;IAEF,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,SAAU;IACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzB,OAAO,CAAC,YAAY,CAAS;;IAOpB,gBAAgB;IAIzB,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,YAAY;IAYX,MAAM;CAyChB"}
@@ -1,87 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- let _inputIdCounter = 0;
3
- export class EditorInputLit extends LitElement {
4
- constructor() {
5
- super();
6
- this.type = 'text';
7
- this.disabled = false;
8
- this.required = false;
9
- this.readonly = false;
10
- this._generatedId = `se-input-${++_inputIdCounter}`;
11
- }
12
- createRenderRoot() {
13
- return this;
14
- }
15
- _handleChange(e) {
16
- const target = e.target;
17
- this.value = target.value;
18
- this.dispatchEvent(new CustomEvent('change', {
19
- detail: { value: target.value },
20
- bubbles: true,
21
- composed: true,
22
- }));
23
- }
24
- _handleInput(e) {
25
- const target = e.target;
26
- this.value = target.value;
27
- this.dispatchEvent(new CustomEvent('input', {
28
- detail: { value: target.value },
29
- bubbles: true,
30
- composed: true,
31
- }));
32
- }
33
- render() {
34
- const id = this.inputId || this._generatedId;
35
- const classes = [
36
- 'se-w-full se-py-2 se-px-3 se-rounded-lg se-border se-border-input-field-border se-bg-slate-grey-3 se-text-text-primary se-text-sm se-font-[inherit] se-mb-2 se-box-border',
37
- 'placeholder:se-text-input-field-text-placeholder',
38
- 'focus:se-border-input-field-border-selected focus:se-outline-none focus:se-shadow-focus-primary',
39
- 'disabled:se-bg-input-field-bg-disabled disabled:se-cursor-not-allowed disabled:se-opacity-50',
40
- this.inputClass || '',
41
- ]
42
- .filter(Boolean)
43
- .join(' ');
44
- return html `
45
- <div>
46
- ${this.label
47
- ? html `<label
48
- for=${id}
49
- class="se-text-sm se-font-medium se-text-input-field-text-label se-mb-1 se-block"
50
- >${this.label}</label>`
51
- : ''}
52
- <input
53
- id=${id}
54
- class=${classes}
55
- type=${this.type}
56
- name=${this.name ?? ''}
57
- .value=${this.value ?? ''}
58
- placeholder=${this.placeholder ?? ''}
59
- ?disabled=${this.disabled}
60
- ?required=${this.required}
61
- ?readonly=${this.readonly}
62
- min=${this.min ?? ''}
63
- max=${this.max ?? ''}
64
- step=${this.step ?? ''}
65
- @change=${this._handleChange}
66
- @input=${this._handleInput}
67
- />
68
- </div>
69
- `;
70
- }
71
- }
72
- EditorInputLit.properties = {
73
- label: { type: String },
74
- inputClass: { type: String, attribute: 'input-class' },
75
- inputId: { type: String, attribute: 'input-id' },
76
- name: { type: String },
77
- type: { type: String },
78
- value: { type: String },
79
- placeholder: { type: String },
80
- disabled: { type: Boolean },
81
- required: { type: Boolean },
82
- readonly: { type: Boolean },
83
- min: { type: String },
84
- max: { type: String },
85
- step: { type: String },
86
- };
87
- customElements.define('se-editor-input', EditorInputLit);
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- interface EditorLayoutProps {
3
- children: React.ReactNode;
4
- }
5
- export declare function EditorLayout({ children }: EditorLayoutProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=EditorLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorLayout.d.ts","sourceRoot":"","sources":["../../src/components/EditorLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,iBAAiB;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAE3D"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function EditorLayout({ children }) {
3
- return _jsx("div", { className: "se-flex se-flex-col se-h-full se-font-sans", children: children });
4
- }
@@ -1,7 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class EditorLayoutLit extends LitElement {
3
- static properties: {};
4
- createRenderRoot(): this;
5
- render(): import("lit-html").TemplateResult<1>;
6
- }
7
- //# sourceMappingURL=EditorLayoutLit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorLayoutLit.d.ts","sourceRoot":"","sources":["../../src/components/EditorLayoutLit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,UAAU,KAAM;IAEvB,gBAAgB;IAIhB,MAAM;CAOhB"}
@@ -1,15 +0,0 @@
1
- import { html, LitElement } from 'lit';
2
- export class EditorLayoutLit extends LitElement {
3
- createRenderRoot() {
4
- return this;
5
- }
6
- render() {
7
- return html `
8
- <div class="se-flex se-flex-col se-h-full se-font-sans">
9
- <slot></slot>
10
- </div>
11
- `;
12
- }
13
- }
14
- EditorLayoutLit.properties = {};
15
- customElements.define('se-editor-layout', EditorLayoutLit);
@@ -1,25 +0,0 @@
1
- /**
2
- * EditorPanelShell — moveable, resizable wrapper for editor sidebars.
3
- *
4
- * Renders:
5
- * 1. A fixed FAB button (Syntrologie logo) at the panel's bottom-left corner.
6
- * Click toggles open/minimized. Drag moves the entire panel.
7
- * 2. A resizable panel container with semi-transparent background and backdrop blur.
8
- * Supports docked (left/right edge, full height) and free-floating modes.
9
- * Position, size, and dock state persist in localStorage.
10
- */
11
- import type React from 'react';
12
- export interface EditorPanelShellProps {
13
- isOpen: boolean;
14
- onToggle: () => void;
15
- /** @deprecated Panel manages its own position. Kept for backwards compat. */
16
- position?: 'left' | 'right';
17
- panelId?: string;
18
- /** Panel z-index (default 2147483647). ModularEditorPanel passes 2147483647. */
19
- zIndex?: number;
20
- /** @deprecated FAB no longer portals separately. Kept for backwards compat. */
21
- portalTarget?: HTMLElement;
22
- children: React.ReactNode;
23
- }
24
- export declare function EditorPanelShell({ isOpen, onToggle, panelId, zIndex, children, }: EditorPanelShellProps): import("react/jsx-runtime").JSX.Element;
25
- //# sourceMappingURL=EditorPanelShell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorPanelShell.d.ts","sourceRoot":"","sources":["../../src/components/EditorPanelShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AA8MD,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAmB,EACnB,QAAQ,GACT,EAAE,qBAAqB,2CAwSvB"}