@eqtylab/equality 1.1.6 → 1.1.7
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 +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -329,21 +329,31 @@ var AlertDialogDescription = React15__namespace.forwardRef(({ className, ...prop
|
|
|
329
329
|
}
|
|
330
330
|
));
|
|
331
331
|
AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
|
|
332
|
-
var AlertDialogAction = React15__namespace.forwardRef(({ className, variant = "primary", size = "sm", ...props }, ref) => /* @__PURE__ */ jsxRuntime.
|
|
332
|
+
var AlertDialogAction = React15__namespace.forwardRef(({ className, variant = "primary", size = "sm", prefix, suffix, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
333
333
|
AlertDialogPrimitive__namespace.Action,
|
|
334
334
|
{
|
|
335
335
|
ref,
|
|
336
336
|
className: cn(buttonVariants({ variant, size }), className),
|
|
337
|
-
...props
|
|
337
|
+
...props,
|
|
338
|
+
children: [
|
|
339
|
+
prefix,
|
|
340
|
+
children,
|
|
341
|
+
suffix
|
|
342
|
+
]
|
|
338
343
|
}
|
|
339
344
|
));
|
|
340
345
|
AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
|
|
341
|
-
var AlertDialogCancel = React15__namespace.forwardRef(({ className, variant = "tertiary", size = "sm", ...props }, ref) => /* @__PURE__ */ jsxRuntime.
|
|
346
|
+
var AlertDialogCancel = React15__namespace.forwardRef(({ className, variant = "tertiary", size = "sm", prefix, suffix, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
342
347
|
AlertDialogPrimitive__namespace.Cancel,
|
|
343
348
|
{
|
|
344
349
|
ref,
|
|
345
350
|
className: cn(buttonVariants({ variant, size }), styles3__default.default["alert-dialog-cancel"], className),
|
|
346
|
-
...props
|
|
351
|
+
...props,
|
|
352
|
+
children: [
|
|
353
|
+
prefix,
|
|
354
|
+
children,
|
|
355
|
+
suffix
|
|
356
|
+
]
|
|
347
357
|
}
|
|
348
358
|
));
|
|
349
359
|
AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
|