@sikka/hawa 0.38.6-next → 0.38.9-next
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/combobox/index.js +20 -2
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +20 -2
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +20 -2
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +20 -2
- package/dist/command/index.mjs.map +1 -1
- package/dist/dialog/index.d.mts +6 -0
- package/dist/dialog/index.d.ts +6 -0
- package/dist/dialog/index.js +20 -2
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +20 -2
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +6 -0
- package/dist/elements/index.d.ts +6 -0
- package/dist/elements/index.js +20 -2
- package/dist/elements/index.mjs +20 -2
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +20 -2
- package/dist/index.mjs +20 -2
- package/package.json +1 -1
package/dist/elements/index.mjs
CHANGED
@@ -393,7 +393,23 @@ var DialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
393
393
|
}
|
394
394
|
));
|
395
395
|
var DialogContent = React6.forwardRef(
|
396
|
-
({
|
396
|
+
({
|
397
|
+
ids,
|
398
|
+
className,
|
399
|
+
classNames,
|
400
|
+
children,
|
401
|
+
persist,
|
402
|
+
hideCloseButton,
|
403
|
+
overlayProps,
|
404
|
+
...props
|
405
|
+
}, ref) => /* @__PURE__ */ React6.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React6.createElement(
|
406
|
+
DialogOverlay,
|
407
|
+
{
|
408
|
+
className: classNames == null ? void 0 : classNames.overlay,
|
409
|
+
id: ids == null ? void 0 : ids.overlay,
|
410
|
+
...overlayProps
|
411
|
+
}
|
412
|
+
), /* @__PURE__ */ React6.createElement(
|
397
413
|
DialogPrimitive.Content,
|
398
414
|
{
|
399
415
|
onPointerDownOutside: (e) => {
|
@@ -416,11 +432,13 @@ var DialogContent = React6.forwardRef(
|
|
416
432
|
"hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
|
417
433
|
props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
|
418
434
|
classNames == null ? void 0 : classNames.closeButton
|
419
|
-
)
|
435
|
+
),
|
436
|
+
id: ids == null ? void 0 : ids.closeButton
|
420
437
|
},
|
421
438
|
/* @__PURE__ */ React6.createElement(
|
422
439
|
"svg",
|
423
440
|
{
|
441
|
+
id: ids == null ? void 0 : ids.closeIcon,
|
424
442
|
"aria-label": "Close Icon",
|
425
443
|
"aria-hidden": "true",
|
426
444
|
className: "hawa-h-5 hawa-w-5",
|
package/dist/index.d.mts
CHANGED
@@ -359,11 +359,17 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimiti
|
|
359
359
|
persist?: boolean | undefined;
|
360
360
|
hideCloseButton?: boolean | undefined;
|
361
361
|
container?: HTMLElement | undefined;
|
362
|
+
overlayProps?: Omit<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> | undefined;
|
362
363
|
classNames?: {
|
363
364
|
content?: string | undefined;
|
364
365
|
overlay?: string | undefined;
|
365
366
|
closeButton?: string | undefined;
|
366
367
|
} | undefined;
|
368
|
+
ids?: {
|
369
|
+
overlay?: string | undefined;
|
370
|
+
closeButton?: string | undefined;
|
371
|
+
closeIcon?: string | undefined;
|
372
|
+
} | undefined;
|
367
373
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
368
374
|
declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
369
375
|
hideCloseButton?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -359,11 +359,17 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimiti
|
|
359
359
|
persist?: boolean | undefined;
|
360
360
|
hideCloseButton?: boolean | undefined;
|
361
361
|
container?: HTMLElement | undefined;
|
362
|
+
overlayProps?: Omit<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> | undefined;
|
362
363
|
classNames?: {
|
363
364
|
content?: string | undefined;
|
364
365
|
overlay?: string | undefined;
|
365
366
|
closeButton?: string | undefined;
|
366
367
|
} | undefined;
|
368
|
+
ids?: {
|
369
|
+
overlay?: string | undefined;
|
370
|
+
closeButton?: string | undefined;
|
371
|
+
closeIcon?: string | undefined;
|
372
|
+
} | undefined;
|
367
373
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
368
374
|
declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
369
375
|
hideCloseButton?: boolean | undefined;
|
package/dist/index.js
CHANGED
@@ -1977,7 +1977,23 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
1977
1977
|
}
|
1978
1978
|
));
|
1979
1979
|
var DialogContent = React14.forwardRef(
|
1980
|
-
({
|
1980
|
+
({
|
1981
|
+
ids,
|
1982
|
+
className,
|
1983
|
+
classNames,
|
1984
|
+
children,
|
1985
|
+
persist,
|
1986
|
+
hideCloseButton,
|
1987
|
+
overlayProps,
|
1988
|
+
...props
|
1989
|
+
}, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(
|
1990
|
+
DialogOverlay,
|
1991
|
+
{
|
1992
|
+
className: classNames == null ? void 0 : classNames.overlay,
|
1993
|
+
id: ids == null ? void 0 : ids.overlay,
|
1994
|
+
...overlayProps
|
1995
|
+
}
|
1996
|
+
), /* @__PURE__ */ React14.createElement(
|
1981
1997
|
DialogPrimitive.Content,
|
1982
1998
|
{
|
1983
1999
|
onPointerDownOutside: (e) => {
|
@@ -2000,11 +2016,13 @@ var DialogContent = React14.forwardRef(
|
|
2000
2016
|
"hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
|
2001
2017
|
props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
|
2002
2018
|
classNames == null ? void 0 : classNames.closeButton
|
2003
|
-
)
|
2019
|
+
),
|
2020
|
+
id: ids == null ? void 0 : ids.closeButton
|
2004
2021
|
},
|
2005
2022
|
/* @__PURE__ */ React14.createElement(
|
2006
2023
|
"svg",
|
2007
2024
|
{
|
2025
|
+
id: ids == null ? void 0 : ids.closeIcon,
|
2008
2026
|
"aria-label": "Close Icon",
|
2009
2027
|
"aria-hidden": "true",
|
2010
2028
|
className: "hawa-h-5 hawa-w-5",
|
package/dist/index.mjs
CHANGED
@@ -1728,7 +1728,23 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
1728
1728
|
}
|
1729
1729
|
));
|
1730
1730
|
var DialogContent = React14.forwardRef(
|
1731
|
-
({
|
1731
|
+
({
|
1732
|
+
ids,
|
1733
|
+
className,
|
1734
|
+
classNames,
|
1735
|
+
children,
|
1736
|
+
persist,
|
1737
|
+
hideCloseButton,
|
1738
|
+
overlayProps,
|
1739
|
+
...props
|
1740
|
+
}, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(
|
1741
|
+
DialogOverlay,
|
1742
|
+
{
|
1743
|
+
className: classNames == null ? void 0 : classNames.overlay,
|
1744
|
+
id: ids == null ? void 0 : ids.overlay,
|
1745
|
+
...overlayProps
|
1746
|
+
}
|
1747
|
+
), /* @__PURE__ */ React14.createElement(
|
1732
1748
|
DialogPrimitive.Content,
|
1733
1749
|
{
|
1734
1750
|
onPointerDownOutside: (e) => {
|
@@ -1751,11 +1767,13 @@ var DialogContent = React14.forwardRef(
|
|
1751
1767
|
"hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
|
1752
1768
|
props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
|
1753
1769
|
classNames == null ? void 0 : classNames.closeButton
|
1754
|
-
)
|
1770
|
+
),
|
1771
|
+
id: ids == null ? void 0 : ids.closeButton
|
1755
1772
|
},
|
1756
1773
|
/* @__PURE__ */ React14.createElement(
|
1757
1774
|
"svg",
|
1758
1775
|
{
|
1776
|
+
id: ids == null ? void 0 : ids.closeIcon,
|
1759
1777
|
"aria-label": "Close Icon",
|
1760
1778
|
"aria-hidden": "true",
|
1761
1779
|
className: "hawa-h-5 hawa-w-5",
|