hazo_ui 2.6.5 → 2.6.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.js CHANGED
@@ -282,6 +282,7 @@ var DialogTitle = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
282
282
  ref,
283
283
  className: cn(
284
284
  "text-lg font-semibold leading-none tracking-tight",
285
+ "break-words [overflow-wrap:anywhere]",
285
286
  className
286
287
  ),
287
288
  ...props
@@ -6334,7 +6335,7 @@ function HazoUiDialog({
6334
6335
  /* @__PURE__ */ jsx(
6335
6336
  "div",
6336
6337
  {
6337
- className: "cls_dialog_header_title px-6 pt-6 pb-3",
6338
+ className: cn("cls_dialog_header_title px-6 pt-6 pb-3", showCloseButton && "pr-10"),
6338
6339
  style: {
6339
6340
  ...finalHeaderBackgroundColor && { backgroundColor: finalHeaderBackgroundColor },
6340
6341
  ...finalHeaderTextColor && { color: finalHeaderTextColor }
@@ -6365,6 +6366,7 @@ function HazoUiDialog({
6365
6366
  "cls_dialog_header shrink-0",
6366
6367
  !headerBar && "p-6 pb-4",
6367
6368
  has_merged_variant_header && "pb-3",
6369
+ showCloseButton && "pr-10",
6368
6370
  headerClassName
6369
6371
  ),
6370
6372
  style: headerStyles,