@selectwin/kit 0.1.168 → 0.1.169

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.
@@ -0,0 +1,13 @@
1
+ /** O ISPB do banco com logo, pelo código COMPE ("341", "1" ou "001"); `null` quando não há logo. */
2
+ export declare function selectBankIspb(code: string | number | null | undefined): string | null;
3
+ export interface SelectBankIconProps {
4
+ /** O código COMPE do banco (`bankCode`). */
5
+ code?: string | number | null;
6
+ /** Lado do quadrado, em px. */
7
+ size?: number;
8
+ /** O nome do banco para leitor de tela; `null` esconde (quando o nome já está escrito ao lado). */
9
+ label?: string | null;
10
+ /** Onde o app serve os SVGs (`<ISPB>.svg`). */
11
+ baseUrl?: string;
12
+ }
13
+ export declare function SelectBankIcon({ code, size, label, baseUrl }: SelectBankIconProps): import("react").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -29,6 +29,8 @@ export { SelectActionMenu } from './SelectActionMenu';
29
29
  export { SelectPaymentBrand, SELECT_CARD_BRANDS, selectCardBrand, selectCardBrandLabel } from './SelectPaymentBrand';
30
30
  export type { SelectCardBrand } from './SelectPaymentBrand';
31
31
  export { SelectBrandIcon, SELECT_BRAND_NAMES } from './SelectBrandIcon';
32
+ export { SelectBankIcon, selectBankIspb } from './SelectBankIcon';
33
+ export type { SelectBankIconProps } from './SelectBankIcon';
32
34
  export type { SelectBrand, SelectBrandIconProps } from './SelectBrandIcon';
33
35
  export { SelectJsonViewer } from './SelectJsonViewer';
34
36
  export type { SelectJsonViewerProps } from './SelectJsonViewer';