@enyxs/wikex-components 0.11.18 → 0.11.19

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.
package/dist/index.d.mts CHANGED
@@ -115,7 +115,7 @@ type CmsTextLayout = {
115
115
  };
116
116
  declare const CMS_TEXT_LAYOUT_SUFFIX = "TextLayout";
117
117
  declare function parseCmsTextLayout(value: unknown): CmsTextLayout;
118
- declare function cmsTextLayoutStyle(value: unknown): CSSProperties;
118
+ declare function cmsTextLayoutStyle(value: unknown, templateBlock?: boolean): CSSProperties;
119
119
  declare function applyCmsTextLayout(element: HTMLElement, value: unknown): () => void;
120
120
  declare function readCmsEditableText(element: HTMLElement): string;
121
121
  declare function rebaseCmsTextLayouts<T extends Record<string, unknown>>(content: T, depth?: number): T;
@@ -143,6 +143,7 @@ type CmsElementState = {
143
143
  }>;
144
144
  lists: Record<string, {
145
145
  order: string[];
146
+ fields?: Record<string, string[]>;
146
147
  type?: "ul" | "ol";
147
148
  marker?: string;
148
149
  added: Record<string, {
package/dist/index.d.ts CHANGED
@@ -115,7 +115,7 @@ type CmsTextLayout = {
115
115
  };
116
116
  declare const CMS_TEXT_LAYOUT_SUFFIX = "TextLayout";
117
117
  declare function parseCmsTextLayout(value: unknown): CmsTextLayout;
118
- declare function cmsTextLayoutStyle(value: unknown): CSSProperties;
118
+ declare function cmsTextLayoutStyle(value: unknown, templateBlock?: boolean): CSSProperties;
119
119
  declare function applyCmsTextLayout(element: HTMLElement, value: unknown): () => void;
120
120
  declare function readCmsEditableText(element: HTMLElement): string;
121
121
  declare function rebaseCmsTextLayouts<T extends Record<string, unknown>>(content: T, depth?: number): T;
@@ -143,6 +143,7 @@ type CmsElementState = {
143
143
  }>;
144
144
  lists: Record<string, {
145
145
  order: string[];
146
+ fields?: Record<string, string[]>;
146
147
  type?: "ul" | "ol";
147
148
  marker?: string;
148
149
  added: Record<string, {