@sikka/hawa 0.38.6-next → 0.38.7-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/index.d.ts CHANGED
@@ -364,6 +364,11 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimiti
364
364
  overlay?: string | undefined;
365
365
  closeButton?: string | undefined;
366
366
  } | undefined;
367
+ ids?: {
368
+ overlay?: string | undefined;
369
+ closeButton?: string | undefined;
370
+ closeIcon?: string | undefined;
371
+ } | undefined;
367
372
  } & React$1.RefAttributes<HTMLDivElement>>;
368
373
  declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
369
374
  hideCloseButton?: boolean | undefined;
package/dist/index.js CHANGED
@@ -1977,7 +1977,15 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1977
1977
  }
1978
1978
  ));
1979
1979
  var DialogContent = React14.forwardRef(
1980
- ({ className, classNames, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay }), /* @__PURE__ */ React14.createElement(
1980
+ ({
1981
+ ids,
1982
+ className,
1983
+ classNames,
1984
+ children,
1985
+ persist,
1986
+ hideCloseButton,
1987
+ ...props
1988
+ }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay, id: ids == null ? void 0 : ids.overlay }), /* @__PURE__ */ React14.createElement(
1981
1989
  DialogPrimitive.Content,
1982
1990
  {
1983
1991
  onPointerDownOutside: (e) => {
@@ -2000,11 +2008,13 @@ var DialogContent = React14.forwardRef(
2000
2008
  "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
2009
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
2002
2010
  classNames == null ? void 0 : classNames.closeButton
2003
- )
2011
+ ),
2012
+ id: ids == null ? void 0 : ids.closeButton
2004
2013
  },
2005
2014
  /* @__PURE__ */ React14.createElement(
2006
2015
  "svg",
2007
2016
  {
2017
+ id: ids == null ? void 0 : ids.closeIcon,
2008
2018
  "aria-label": "Close Icon",
2009
2019
  "aria-hidden": "true",
2010
2020
  className: "hawa-h-5 hawa-w-5",
package/dist/index.mjs CHANGED
@@ -1728,7 +1728,15 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1728
1728
  }
1729
1729
  ));
1730
1730
  var DialogContent = React14.forwardRef(
1731
- ({ className, classNames, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay }), /* @__PURE__ */ React14.createElement(
1731
+ ({
1732
+ ids,
1733
+ className,
1734
+ classNames,
1735
+ children,
1736
+ persist,
1737
+ hideCloseButton,
1738
+ ...props
1739
+ }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay, id: ids == null ? void 0 : ids.overlay }), /* @__PURE__ */ React14.createElement(
1732
1740
  DialogPrimitive.Content,
1733
1741
  {
1734
1742
  onPointerDownOutside: (e) => {
@@ -1751,11 +1759,13 @@ var DialogContent = React14.forwardRef(
1751
1759
  "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
1760
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
1753
1761
  classNames == null ? void 0 : classNames.closeButton
1754
- )
1762
+ ),
1763
+ id: ids == null ? void 0 : ids.closeButton
1755
1764
  },
1756
1765
  /* @__PURE__ */ React14.createElement(
1757
1766
  "svg",
1758
1767
  {
1768
+ id: ids == null ? void 0 : ids.closeIcon,
1759
1769
  "aria-label": "Close Icon",
1760
1770
  "aria-hidden": "true",
1761
1771
  className: "hawa-h-5 hawa-w-5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.38.6-next",
3
+ "version": "0.38.7-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",