@syntrologie/adapt-content 2.15.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 (171) hide show
  1. package/dist/runtime.js +425 -366
  2. package/dist/runtime.js.map +7 -0
  3. package/dist/schema.d.ts +55 -16
  4. package/dist/schema.d.ts.map +1 -1
  5. package/dist/schema.js +316 -62
  6. package/dist/schema.js.map +7 -0
  7. package/package.json +2 -20
  8. package/dist/cdn.d.ts +0 -35
  9. package/dist/cdn.d.ts.map +0 -1
  10. package/dist/cdn.js +0 -39
  11. package/dist/components/AnchorPicker.d.ts +0 -8
  12. package/dist/components/AnchorPicker.d.ts.map +0 -1
  13. package/dist/components/AnchorPicker.js +0 -6
  14. package/dist/content-editor-state.d.ts +0 -45
  15. package/dist/content-editor-state.d.ts.map +0 -1
  16. package/dist/content-editor-state.js +0 -123
  17. package/dist/content-editor-ui.d.ts +0 -26
  18. package/dist/content-editor-ui.d.ts.map +0 -1
  19. package/dist/content-editor-ui.js +0 -291
  20. package/dist/editor.d.ts +0 -9
  21. package/dist/editor.d.ts.map +0 -1
  22. package/dist/editor.js +0 -8
  23. package/dist/reconciliation-guard.js +0 -80
  24. package/dist/sanitizer.js +0 -95
  25. package/dist/summarize.js +0 -88
  26. package/dist/types.js +0 -7
  27. package/dist/utils/selectorGenerator.d.ts +0 -6
  28. package/dist/utils/selectorGenerator.d.ts.map +0 -1
  29. package/dist/utils/selectorGenerator.js +0 -4
  30. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts +0 -2
  31. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts.map +0 -1
  32. package/node_modules/@syntrologie/shared-editor-ui/dist/cn.js +0 -3
  33. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +0 -34
  34. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +0 -1
  35. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +0 -161
  36. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts +0 -84
  37. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts.map +0 -1
  38. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.js +0 -323
  39. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts +0 -7
  40. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +0 -1
  41. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +0 -9
  42. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts +0 -25
  43. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts.map +0 -1
  44. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.js +0 -55
  45. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts +0 -23
  46. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts.map +0 -1
  47. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +0 -40
  48. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts +0 -33
  49. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts.map +0 -1
  50. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.js +0 -118
  51. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts +0 -7
  52. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts.map +0 -1
  53. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.js +0 -22
  54. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts +0 -32
  55. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts.map +0 -1
  56. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.js +0 -68
  57. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts +0 -8
  58. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts.map +0 -1
  59. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +0 -9
  60. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts +0 -34
  61. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts.map +0 -1
  62. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.js +0 -57
  63. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts +0 -7
  64. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +0 -1
  65. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +0 -4
  66. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts +0 -13
  67. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts.map +0 -1
  68. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.js +0 -31
  69. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts +0 -7
  70. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts.map +0 -1
  71. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.js +0 -4
  72. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts +0 -7
  73. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts.map +0 -1
  74. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.js +0 -15
  75. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts +0 -13
  76. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +0 -1
  77. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +0 -15
  78. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts +0 -36
  79. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts.map +0 -1
  80. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.js +0 -102
  81. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts +0 -7
  82. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +0 -1
  83. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +0 -4
  84. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts +0 -20
  85. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts.map +0 -1
  86. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.js +0 -48
  87. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts +0 -9
  88. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts.map +0 -1
  89. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.js +0 -4
  90. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts +0 -16
  91. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts.map +0 -1
  92. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.js +0 -25
  93. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +0 -8
  94. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +0 -1
  95. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +0 -8
  96. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts +0 -66
  97. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts.map +0 -1
  98. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.js +0 -87
  99. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts +0 -7
  100. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts.map +0 -1
  101. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.js +0 -4
  102. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts +0 -7
  103. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts.map +0 -1
  104. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.js +0 -15
  105. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts +0 -25
  106. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +0 -1
  107. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +0 -390
  108. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts +0 -66
  109. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts.map +0 -1
  110. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.js +0 -528
  111. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +0 -8
  112. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +0 -1
  113. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +0 -8
  114. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts +0 -41
  115. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts.map +0 -1
  116. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.js +0 -63
  117. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +0 -8
  118. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +0 -1
  119. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +0 -17
  120. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts +0 -55
  121. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts.map +0 -1
  122. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.js +0 -92
  123. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts +0 -32
  124. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +0 -1
  125. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +0 -85
  126. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts +0 -90
  127. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts.map +0 -1
  128. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.js +0 -242
  129. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts +0 -6
  130. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts.map +0 -1
  131. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.js +0 -4
  132. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts +0 -12
  133. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts.map +0 -1
  134. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.js +0 -21
  135. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts +0 -8
  136. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts.map +0 -1
  137. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.js +0 -5
  138. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts +0 -21
  139. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts.map +0 -1
  140. package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.js +0 -33
  141. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts +0 -12
  142. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +0 -1
  143. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +0 -40
  144. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts +0 -28
  145. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts.map +0 -1
  146. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.js +0 -121
  147. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts +0 -110
  148. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts.map +0 -1
  149. package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.js +0 -476
  150. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts +0 -26
  151. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +0 -1
  152. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +0 -202
  153. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts +0 -8
  154. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts.map +0 -1
  155. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.js +0 -46
  156. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts +0 -24
  157. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts.map +0 -1
  158. package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.js +0 -86
  159. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +0 -36
  160. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +0 -1
  161. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +0 -26
  162. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts +0 -15
  163. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts.map +0 -1
  164. package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.js +0 -14
  165. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -33
  166. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +0 -1
  167. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +0 -68
  168. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts +0 -22
  169. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts.map +0 -1
  170. package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.js +0 -143
  171. package/node_modules/@syntrologie/shared-editor-ui/package.json +0 -55
@@ -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"}