@thebes/cadmea 1.6.0 → 1.7.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.
@@ -96,6 +96,8 @@ interface DraftActions {
96
96
  autosave?: boolean;
97
97
  /** Debounce window for autosave, in ms. Default 1500. */
98
98
  autosaveMs?: number;
99
+ /** Ask for confirmation (a dialog) before publishing. */
100
+ confirmPublish?: boolean;
99
101
  }
100
102
  interface CollectionEditProps {
101
103
  config: CollectionConfig;
@@ -179,8 +181,13 @@ interface CollectionListProps {
179
181
  selectable?: boolean;
180
182
  selectedIds?: ReadonlySet<number>;
181
183
  onSelectionChange?: (selectedIds: Set<number>) => void;
184
+ /**
185
+ * Friendly empty state shown when there are no rows — pass one with a "New"
186
+ * CTA (the list factory does this). Falls back to a simple default.
187
+ */
188
+ emptyState?: JSX.Element;
182
189
  }
183
- declare function CollectionList(props: CollectionListProps): import("solid-js").JSX.Element;
190
+ declare function CollectionList(props: CollectionListProps): JSX.Element;
184
191
  //#endregion
185
192
  //#region src/SearchPalette.d.ts
186
193
  interface SearchPaletteResult {