@selectwin/kit 0.1.86 → 0.1.87
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/SelectBuilderWorkspace.d.ts +8 -1
- package/dist/index.js +1362 -1361
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -34,10 +34,17 @@ export interface SelectBuilderWorkspaceProps {
|
|
|
34
34
|
searchable?: boolean;
|
|
35
35
|
/** O palco: normalmente um `<SelectPreviewFrame fill />`. */
|
|
36
36
|
preview?: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Como o palco acomoda o `preview`. `fill` (padrão) estica o filho até as bordas — é o que
|
|
39
|
+
* uma pré-visualização em iframe quer. `document` é para um palco de LEITURA (o resumo do
|
|
40
|
+
* builder de pixels: não há página para mostrar, há o que acontece numa venda): a coluna rola
|
|
41
|
+
* sozinha e o conteúdo fica numa largura de leitura, centrado, em vez de esticar por 60rem.
|
|
42
|
+
*/
|
|
43
|
+
previewLayout?: 'fill' | 'document';
|
|
37
44
|
/** Controles extras no centro da barra (ex.: alternador de dispositivo). */
|
|
38
45
|
toolbar?: ReactNode;
|
|
39
46
|
/** Selo de "alterações não salvas" na barra. */
|
|
40
47
|
dirty?: boolean;
|
|
41
48
|
dirtyLabel?: string;
|
|
42
49
|
}
|
|
43
|
-
export declare function SelectBuilderWorkspace({ title, subtitle, backTo, onSave, saving, saveLabel, saveDisabled, cancelTo, error, sections, activeId, onActiveChange, searchable, preview, toolbar, dirty, dirtyLabel, }: SelectBuilderWorkspaceProps): import("react").JSX.Element;
|
|
50
|
+
export declare function SelectBuilderWorkspace({ title, subtitle, backTo, onSave, saving, saveLabel, saveDisabled, cancelTo, error, sections, activeId, onActiveChange, searchable, preview, previewLayout, toolbar, dirty, dirtyLabel, }: SelectBuilderWorkspaceProps): import("react").JSX.Element;
|