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.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -341,6 +341,7 @@ var DialogTitle = React27__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
341
341
|
ref,
|
|
342
342
|
className: cn(
|
|
343
343
|
"text-lg font-semibold leading-none tracking-tight",
|
|
344
|
+
"break-words [overflow-wrap:anywhere]",
|
|
344
345
|
className
|
|
345
346
|
),
|
|
346
347
|
...props
|
|
@@ -6393,7 +6394,7 @@ function HazoUiDialog({
|
|
|
6393
6394
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6394
6395
|
"div",
|
|
6395
6396
|
{
|
|
6396
|
-
className: "cls_dialog_header_title px-6 pt-6 pb-3",
|
|
6397
|
+
className: cn("cls_dialog_header_title px-6 pt-6 pb-3", showCloseButton && "pr-10"),
|
|
6397
6398
|
style: {
|
|
6398
6399
|
...finalHeaderBackgroundColor && { backgroundColor: finalHeaderBackgroundColor },
|
|
6399
6400
|
...finalHeaderTextColor && { color: finalHeaderTextColor }
|
|
@@ -6424,6 +6425,7 @@ function HazoUiDialog({
|
|
|
6424
6425
|
"cls_dialog_header shrink-0",
|
|
6425
6426
|
!headerBar && "p-6 pb-4",
|
|
6426
6427
|
has_merged_variant_header && "pb-3",
|
|
6428
|
+
showCloseButton && "pr-10",
|
|
6427
6429
|
headerClassName
|
|
6428
6430
|
),
|
|
6429
6431
|
style: headerStyles,
|