@manhphi1309/dialog 0.3.5 → 0.3.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 CHANGED
@@ -229,7 +229,7 @@ function DialogFooter({ className, showCloseButton = false, children, ...props }
229
229
  function DialogTitle({ className, ...props }) {
230
230
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Dialog.Title, {
231
231
  "data-slot": "dialog-title",
232
- className: (0, _manhphi1309_utils.cn)("cn-font-heading text-base leading-none font-medium", className),
232
+ className: (0, _manhphi1309_utils.cn)("cn-font-heading text-base leading-none font-medium line-clamp-2", className),
233
233
  ...props
234
234
  });
235
235
  }
@@ -247,7 +247,7 @@ function DialogTitle({ className, ...props }) {
247
247
  function DialogDescription({ className, ...props }) {
248
248
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(radix_ui.Dialog.Description, {
249
249
  "data-slot": "dialog-description",
250
- className: (0, _manhphi1309_utils.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
250
+ className: (0, _manhphi1309_utils.cn)("text-sm text-muted-foreground line-clamp-2 *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
251
251
  ...props
252
252
  });
253
253
  }
package/dist/index.mjs CHANGED
@@ -205,7 +205,7 @@ function DialogFooter({ className, showCloseButton = false, children, ...props }
205
205
  function DialogTitle({ className, ...props }) {
206
206
  return /* @__PURE__ */ jsx(Dialog$1.Title, {
207
207
  "data-slot": "dialog-title",
208
- className: cn("cn-font-heading text-base leading-none font-medium", className),
208
+ className: cn("cn-font-heading text-base leading-none font-medium line-clamp-2", className),
209
209
  ...props
210
210
  });
211
211
  }
@@ -223,7 +223,7 @@ function DialogTitle({ className, ...props }) {
223
223
  function DialogDescription({ className, ...props }) {
224
224
  return /* @__PURE__ */ jsx(Dialog$1.Description, {
225
225
  "data-slot": "dialog-description",
226
- className: cn("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
226
+ className: cn("text-sm text-muted-foreground line-clamp-2 *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", className),
227
227
  ...props
228
228
  });
229
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manhphi1309/dialog",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "sideEffects": false,
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",