@selectwin/kit 0.1.100 → 0.1.102
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/SelectRetryStatus.d.ts +7 -2
- package/dist/SelectSearchMenu.d.ts +20 -0
- package/dist/SelectTable.d.ts +22 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +640 -523
- package/dist/internal/listChrome.d.ts +8 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,13 @@ export interface SelectListChromeProps {
|
|
|
13
13
|
/** Faixa 2, à direita: controles da VISTA (colunas, "Personalizar"). Sem `filters` não
|
|
14
14
|
* existe faixa 2 e eles voltam para o lado do `action`. */
|
|
15
15
|
tools?: ReactNode;
|
|
16
|
+
/** Faixa 1 vira o botão que abre/fecha o conteúdo (SelectTable `collapsible`). O `help`
|
|
17
|
+
* é ignorado aqui: o "!" é um botão, e botão dentro de botão é DOM inválido. */
|
|
18
|
+
toggle?: {
|
|
19
|
+
open: boolean;
|
|
20
|
+
onToggle: () => void;
|
|
21
|
+
controls?: string;
|
|
22
|
+
};
|
|
16
23
|
}
|
|
17
24
|
/** Quais faixas existem — de que a casca precisa para decidir bordas e colapso. */
|
|
18
25
|
export declare function listChromeShape({ title, description, action, filters, tools }: SelectListChromeProps): {
|
|
@@ -22,7 +29,7 @@ export declare function listChromeShape({ title, description, action, filters, t
|
|
|
22
29
|
hasTitleRow: boolean;
|
|
23
30
|
};
|
|
24
31
|
/** As faixas 1 e 2 — a faixa 3 (o conteúdo) é de quem chama. */
|
|
25
|
-
export declare function SelectListChrome({ title, help, description, action, filters, tools }: SelectListChromeProps): import("react").JSX.Element;
|
|
32
|
+
export declare function SelectListChrome({ title, help, description, action, filters, tools, toggle }: SelectListChromeProps): import("react").JSX.Element;
|
|
26
33
|
/**
|
|
27
34
|
* Rodapé da lista. Os campos de cursor (hasPrevious/onPrevious/hasNext/onNext) já dão o
|
|
28
35
|
* prev/next centrado; `total` + `pageSize` + `page` acrescentam o rótulo de contagem, e
|