@planetaexo/design-system 0.37.5 → 0.37.6

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/index.d.cts CHANGED
@@ -450,6 +450,8 @@ interface BookingDetailsLabels {
450
450
  /** Botão "Add contact as traveller" / "Add contact". */
451
451
  addContactAsTraveller?: string;
452
452
  addContactAsTravellerShort?: string;
453
+ /** Tooltip (title nativo) exibido quando o botão está desabilitado por contato já adicionado. */
454
+ addContactAsTravellerDisabledTooltip?: string;
453
455
  /** Badge inline "Child". */
454
456
  childBadge?: string;
455
457
  /** Status do traveller (mostrado como badge). */
package/dist/index.d.ts CHANGED
@@ -450,6 +450,8 @@ interface BookingDetailsLabels {
450
450
  /** Botão "Add contact as traveller" / "Add contact". */
451
451
  addContactAsTraveller?: string;
452
452
  addContactAsTravellerShort?: string;
453
+ /** Tooltip (title nativo) exibido quando o botão está desabilitado por contato já adicionado. */
454
+ addContactAsTravellerDisabledTooltip?: string;
453
455
  /** Badge inline "Child". */
454
456
  childBadge?: string;
455
457
  /** Status do traveller (mostrado como badge). */
package/dist/index.js CHANGED
@@ -2783,6 +2783,7 @@ function AdventureSection({
2783
2783
  type: "button",
2784
2784
  onClick: () => onAddContactAsTraveller(adventure.id),
2785
2785
  disabled: adventure.addContactAsTravellerDisabled,
2786
+ title: adventure.addContactAsTravellerDisabled ? labels == null ? void 0 : labels.addContactAsTravellerDisabledTooltip : void 0,
2786
2787
  className: cn(
2787
2788
  "flex items-center gap-1.5 rounded-full border border-border px-3 py-1.5 text-xs font-ui text-muted-foreground transition-colors",
2788
2789
  "hover:border-primary hover:text-primary hover:bg-primary/5",