@selectwin/kit 0.1.85 → 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/SelectCopyRow.d.ts +2 -0
- package/dist/icons.d.ts +6 -0
- package/dist/index.js +1773 -1751
- 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;
|
package/dist/SelectCopyRow.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ type SelectCopyRowOwnProps = {
|
|
|
4
4
|
value: string;
|
|
5
5
|
/** When set, shows an "open" action linking here. */
|
|
6
6
|
href?: string;
|
|
7
|
+
/** Aviso ao consumidor DEPOIS da cópia (um toast, por exemplo) — a cópia em si é do
|
|
8
|
+
* componente; o handler não precisa (nem deve) escrever no clipboard. */
|
|
7
9
|
onCopy?: (value: string) => void;
|
|
8
10
|
};
|
|
9
11
|
export type SelectCopyRowProps = SelectCopyRowOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectCopyRowOwnProps>;
|
package/dist/icons.d.ts
CHANGED
|
@@ -107,6 +107,12 @@ export declare function BroadcastIcon(): import("react").JSX.Element;
|
|
|
107
107
|
* entrega e a de ofertas abrem com o mesmo símbolo. Baú + cabine + duas rodas.
|
|
108
108
|
*/
|
|
109
109
|
export declare function TruckIcon(): import("react").JSX.Element;
|
|
110
|
+
/**
|
|
111
|
+
* Elo de corrente — o glifo do LINK DE PAGAMENTO. `ExternalLinkIcon` (a seta saindo da
|
|
112
|
+
* caixa) é a AÇÃO "abrir em nova aba", e usá-la como símbolo do recurso faz o card
|
|
113
|
+
* parecer um botão. Aqui o link é a coisa, não a ação.
|
|
114
|
+
*/
|
|
115
|
+
export declare function LinkIcon(): import("react").JSX.Element;
|
|
110
116
|
export declare function ChartLineIcon(): import("react").JSX.Element;
|
|
111
117
|
export declare function StoreIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
112
118
|
export declare function AppsIcon(): import("react").JSX.Element;
|