@selectwin/kit 0.1.83 → 0.1.85
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/SelectOfferPrice.d.ts +6 -1
- package/dist/icons.d.ts +14 -0
- package/dist/index.js +1044 -1022
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
type SelectOfferPriceOwnProps = {
|
|
3
3
|
/** O que o comprador paga, em CENTAVOS. Ausente = o bloco não é renderizado. */
|
|
4
4
|
price?: number | null;
|
|
@@ -6,6 +6,11 @@ type SelectOfferPriceOwnProps = {
|
|
|
6
6
|
was?: number | null;
|
|
7
7
|
/** Esconde o selo de desconto (o card já diz isso de outro jeito). */
|
|
8
8
|
hideDiscount?: boolean;
|
|
9
|
+
/** O que mostrar quando o preço é ZERO — "Grátis" num frete diz mais que "R$ 0,00".
|
|
10
|
+
* Sem ele, zero é formatado como dinheiro (é o certo para uma oferta de fato zerada). */
|
|
11
|
+
zeroLabel?: ReactNode;
|
|
12
|
+
/** Nota discreta ao lado do preço (o prazo de entrega, por exemplo). */
|
|
13
|
+
note?: ReactNode;
|
|
9
14
|
};
|
|
10
15
|
export type SelectOfferPriceProps = SelectOfferPriceOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectOfferPriceOwnProps>;
|
|
11
16
|
export declare const SelectOfferPrice: import('react').ForwardRefExoticComponent<SelectOfferPriceOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectOfferPriceOwnProps> & import('react').RefAttributes<HTMLDivElement>>;
|
package/dist/icons.d.ts
CHANGED
|
@@ -93,6 +93,20 @@ export declare function ExportIcon(): import("react").JSX.Element;
|
|
|
93
93
|
export declare function ClipboardIcon(): import("react").JSX.Element;
|
|
94
94
|
export declare function NoteIcon(): import("react").JSX.Element;
|
|
95
95
|
export declare function DiscountIcon(): import("react").JSX.Element;
|
|
96
|
+
/**
|
|
97
|
+
* Sinal saindo de um ponto — o glifo do RASTREIO (pixels do checkout). Não reaproveitar
|
|
98
|
+
* `ChartLineIcon` aqui: aquele é o glifo do **Analytics** (item do menu lateral e empty
|
|
99
|
+
* dos boards), e o mesmo desenho em dois recursos diferentes faz a tela mentir sobre onde
|
|
100
|
+
* você está. Arcos concêntricos em r=5 e r=9 com o ponto no centro: a página EMITE o
|
|
101
|
+
* evento, os provedores recebem.
|
|
102
|
+
*/
|
|
103
|
+
export declare function BroadcastIcon(): import("react").JSX.Element;
|
|
104
|
+
/**
|
|
105
|
+
* Caminhão de entrega — o glifo do MEIO DE ENTREGA. `CubeIcon` (caixa) já é o order bump
|
|
106
|
+
* e o placeholder do SelectThumbnail; frete precisa do próprio desenho, senão a aba de
|
|
107
|
+
* entrega e a de ofertas abrem com o mesmo símbolo. Baú + cabine + duas rodas.
|
|
108
|
+
*/
|
|
109
|
+
export declare function TruckIcon(): import("react").JSX.Element;
|
|
96
110
|
export declare function ChartLineIcon(): import("react").JSX.Element;
|
|
97
111
|
export declare function StoreIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
|
|
98
112
|
export declare function AppsIcon(): import("react").JSX.Element;
|