@selectwin/kit 0.1.84 → 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.
@@ -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
@@ -101,6 +101,12 @@ export declare function DiscountIcon(): import("react").JSX.Element;
101
101
  * evento, os provedores recebem.
102
102
  */
103
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;
104
110
  export declare function ChartLineIcon(): import("react").JSX.Element;
105
111
  export declare function StoreIcon({ duotone }?: IconVariantProps): import("react").JSX.Element;
106
112
  export declare function AppsIcon(): import("react").JSX.Element;