@kadoui/react 2.1.6 → 2.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.
Files changed (64) hide show
  1. package/dist/react-components/Accordion/AccordionBody.d.ts +1 -1
  2. package/dist/react-components/Accordion/AccordionBody.d.ts.map +1 -1
  3. package/dist/react-components/Accordion/AccordionBody.js +2 -2
  4. package/dist/react-components/Accordion/AccordionToggle.d.ts +1 -1
  5. package/dist/react-components/Accordion/AccordionToggle.d.ts.map +1 -1
  6. package/dist/react-components/Accordion/AccordionToggle.js +3 -3
  7. package/dist/react-components/Accordion/accordionTypes.d.ts +1 -1
  8. package/dist/react-components/Accordion/accordionTypes.d.ts.map +1 -1
  9. package/dist/react-components/Carousel/CarouselNextBtn.d.ts +1 -1
  10. package/dist/react-components/Carousel/CarouselNextBtn.d.ts.map +1 -1
  11. package/dist/react-components/Carousel/CarouselNextBtn.js +2 -2
  12. package/dist/react-components/Carousel/CarouselPrevBtn.d.ts +1 -1
  13. package/dist/react-components/Carousel/CarouselPrevBtn.d.ts.map +1 -1
  14. package/dist/react-components/Carousel/CarouselPrevBtn.js +2 -2
  15. package/dist/react-components/Choice/ChoiceToggle.d.ts.map +1 -1
  16. package/dist/react-components/Choice/ChoiceToggle.js +1 -1
  17. package/dist/react-components/Choice/choiceTypes.d.ts +1 -1
  18. package/dist/react-components/Choice/choiceTypes.d.ts.map +1 -1
  19. package/dist/react-components/Clipboard/Clipboard.d.ts +1 -1
  20. package/dist/react-components/Clipboard/Clipboard.d.ts.map +1 -1
  21. package/dist/react-components/Clipboard/Clipboard.js +2 -2
  22. package/dist/react-components/Drawer/DrawerToggle.d.ts +1 -1
  23. package/dist/react-components/Drawer/DrawerToggle.d.ts.map +1 -1
  24. package/dist/react-components/Drawer/DrawerToggle.js +3 -3
  25. package/dist/react-components/Drawer/drawerTypes.d.ts +1 -1
  26. package/dist/react-components/Drawer/drawerTypes.d.ts.map +1 -1
  27. package/dist/react-components/Modal/ModalToggle.d.ts +1 -1
  28. package/dist/react-components/Modal/ModalToggle.d.ts.map +1 -1
  29. package/dist/react-components/Modal/ModalToggle.js +3 -3
  30. package/dist/react-components/Modal/modalTypes.d.ts +1 -1
  31. package/dist/react-components/Modal/modalTypes.d.ts.map +1 -1
  32. package/dist/react-components/Otp/OtpInputs.d.ts +1 -1
  33. package/dist/react-components/Otp/OtpInputs.d.ts.map +1 -1
  34. package/dist/react-components/Otp/OtpInputs.js +2 -2
  35. package/dist/react-components/PasswordInput/PasswordInputField.d.ts +1 -1
  36. package/dist/react-components/PasswordInput/PasswordInputField.d.ts.map +1 -1
  37. package/dist/react-components/PasswordInput/PasswordInputField.js +2 -2
  38. package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts +1 -1
  39. package/dist/react-components/PasswordInput/PasswordInputRoot.d.ts.map +1 -1
  40. package/dist/react-components/PasswordInput/PasswordInputRoot.js +2 -2
  41. package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts +1 -1
  42. package/dist/react-components/PasswordInput/PasswordInputToggle.d.ts.map +1 -1
  43. package/dist/react-components/PasswordInput/PasswordInputToggle.js +2 -2
  44. package/dist/react-components/PasswordInput/passwordInputTypes.d.ts +1 -1
  45. package/dist/react-components/PasswordInput/passwordInputTypes.d.ts.map +1 -1
  46. package/dist/react-components/Popover/PopoverToggle.d.ts +1 -1
  47. package/dist/react-components/Popover/PopoverToggle.d.ts.map +1 -1
  48. package/dist/react-components/Popover/PopoverToggle.js +3 -3
  49. package/dist/react-components/Popover/popoverTypes.d.ts +1 -1
  50. package/dist/react-components/Popover/popoverTypes.d.ts.map +1 -1
  51. package/dist/react-components/Sheet/SheetToggle.d.ts +1 -1
  52. package/dist/react-components/Sheet/SheetToggle.d.ts.map +1 -1
  53. package/dist/react-components/Sheet/SheetToggle.js +3 -3
  54. package/dist/react-components/Sheet/sheetTypes.d.ts +1 -1
  55. package/dist/react-components/Sheet/sheetTypes.d.ts.map +1 -1
  56. package/dist/react-components/ShowMore/ShowMoreContent.d.ts +1 -1
  57. package/dist/react-components/ShowMore/ShowMoreContent.d.ts.map +1 -1
  58. package/dist/react-components/ShowMore/ShowMoreContent.js +2 -2
  59. package/dist/react-components/ShowMore/ShowMoreToggle.d.ts.map +1 -1
  60. package/dist/react-components/ShowMore/ShowMoreToggle.js +1 -1
  61. package/dist/react-components/ShowMore/showMoreTypes.d.ts +1 -1
  62. package/dist/react-components/ShowMore/showMoreTypes.d.ts.map +1 -1
  63. package/dist/tsconfig.tsbuildinfo +1 -1
  64. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  import type { AccordionBodyPropsT } from "./accordionTypes";
2
- export declare function AccordionBody({ children, ...props }: AccordionBodyPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AccordionBody({ children, ...p }: AccordionBodyPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=AccordionBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/AccordionBody.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAiBxE"}
1
+ {"version":3,"file":"AccordionBody.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/AccordionBody.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,mBAAmB,2CAiBpE"}
@@ -3,9 +3,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { AnimatePresence, motion } from "framer-motion";
5
5
  import { AccordionContext } from "./AccordionContext";
6
- export function AccordionBody({ children, ...props }) {
6
+ export function AccordionBody({ children, ...p }) {
7
7
  const { isOpen } = use(AccordionContext);
8
8
  return (_jsx(AnimatePresence, { children: isOpen ?
9
- _jsx(motion.div, { initial: { height: 0, opacity: 0 }, animate: { height: "auto", opacity: 1 }, exit: { height: 0, opacity: 0 }, ...props, children: children })
9
+ _jsx(motion.div, { initial: { height: 0, opacity: 0 }, animate: { height: "auto", opacity: 1 }, exit: { height: 0, opacity: 0 }, ...p, children: children })
10
10
  : null }));
11
11
  }
@@ -1,3 +1,3 @@
1
1
  import type { AccordionTogglePropsT } from "./accordionTypes";
2
- export declare function AccordionToggle({ onClick, ...props }: AccordionTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AccordionToggle({ onClick, ...p }: AccordionTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=AccordionToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/AccordionToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAa3E"}
1
+ {"version":3,"file":"AccordionToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/AccordionToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CAcvE"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { AccordionContext } from "./AccordionContext";
5
- export function AccordionToggle({ onClick, ...props }) {
5
+ export function AccordionToggle({ onClick, ...p }) {
6
6
  const { isOpen, setOpen } = use(AccordionContext);
7
- return (_jsx("button", { "data-state": isOpen, onClick: (ev) => {
7
+ return (_jsx("button", { type: "button", "data-state": isOpen, onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  setOpen((prev) => !prev);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -6,7 +6,7 @@ export type AccordionContextT = {
6
6
  };
7
7
  export type AccordionRootPropsT = PropsWithChildren;
8
8
  export type AccordionBodyPropsT = HTMLMotionProps<"div">;
9
- export type AccordionTogglePropsT = ComponentProps<"button"> & {
9
+ export type AccordionTogglePropsT = Omit<ComponentProps<"button">, "type"> & {
10
10
  icon?: ReactNode;
11
11
  };
12
12
  //# sourceMappingURL=accordionTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordionTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/accordionTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEpG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC7D,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"accordionTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Accordion/accordionTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEpG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { CarouselNextBtnPropsT } from "./carouselTypes";
2
- export declare function CarouselNextBtn({ onClick, ...props }: CarouselNextBtnPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function CarouselNextBtn({ onClick, ...p }: CarouselNextBtnPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=CarouselNextBtn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselNextBtn.d.ts","sourceRoot":"","sources":["../../../src/react-components/Carousel/CarouselNextBtn.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAY3E"}
1
+ {"version":3,"file":"CarouselNextBtn.d.ts","sourceRoot":"","sources":["../../../src/react-components/Carousel/CarouselNextBtn.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CAYvE"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { CarouselContext } from "./CarouselContext";
5
- export function CarouselNextBtn({ onClick, ...props }) {
5
+ export function CarouselNextBtn({ onClick, ...p }) {
6
6
  const { scrollRef, childrenWidth } = use(CarouselContext);
7
7
  return (_jsx("button", { onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  scrollRef.current?.scrollTo(scrollRef.current.scrollLeft + childrenWidth, 0);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -1,3 +1,3 @@
1
1
  import type { CarouselPrevBtnPropsT } from "./carouselTypes";
2
- export declare function CarouselPrevBtn({ onClick, ...props }: CarouselPrevBtnPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function CarouselPrevBtn({ onClick, ...p }: CarouselPrevBtnPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=CarouselPrevBtn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselPrevBtn.d.ts","sourceRoot":"","sources":["../../../src/react-components/Carousel/CarouselPrevBtn.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAY3E"}
1
+ {"version":3,"file":"CarouselPrevBtn.d.ts","sourceRoot":"","sources":["../../../src/react-components/Carousel/CarouselPrevBtn.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CAYvE"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { CarouselContext } from "./CarouselContext";
5
- export function CarouselPrevBtn({ onClick, ...props }) {
5
+ export function CarouselPrevBtn({ onClick, ...p }) {
6
6
  const { scrollRef, childrenWidth } = use(CarouselContext);
7
7
  return (_jsx("button", { onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  scrollRef.current?.scrollTo(scrollRef.current.scrollLeft - childrenWidth, 0);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChoiceToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Choice/ChoiceToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,OAAO,EACP,GAAG,CAAC,EACL,EAAE,kBAAkB,2CAiCpB"}
1
+ {"version":3,"file":"ChoiceToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Choice/ChoiceToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,OAAO,EACP,GAAG,CAAC,EACL,EAAE,kBAAkB,2CAkCpB"}
@@ -7,7 +7,7 @@ export function ChoiceToggle({ choiceName, onClick, ...p }) {
7
7
  const isActive = multiple
8
8
  ? activeChoice.includes(choiceName)
9
9
  : activeChoice === choiceName;
10
- return (_jsx("button", { "data-state": isActive, onClick: (ev) => {
10
+ return (_jsx("button", { type: "button", "data-state": isActive, onClick: (ev) => {
11
11
  onClick?.(ev);
12
12
  if (isActive) {
13
13
  if (multiple) {
@@ -15,7 +15,7 @@ export type ChoiceContextT = MergedModeT & {
15
15
  requiredOne?: boolean;
16
16
  };
17
17
  export type ChoiceRootPropsT = ComponentProps<"div"> & ChoiceContextT;
18
- export type ChoiceTogglePropsT = ComponentProps<"button"> & {
18
+ export type ChoiceTogglePropsT = Omit<ComponentProps<"button">, "type"> & {
19
19
  choiceName: string;
20
20
  };
21
21
  export type ChoiceNavigationPropsT = AccessNavigationPropsT;
@@ -1 +1 @@
1
- {"version":3,"file":"choiceTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Choice/choiceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,IAAI,CAAC;IACf,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACrD,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5C,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC1D,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"choiceTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Choice/choiceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,IAAI,CAAC;IACf,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACrD,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5C,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACxE,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ClipboardPropsT } from "./clipboardTypes";
2
- export declare function Clipboard({ copiedChildren, onClick, children, text, title, "aria-label": ariaLabel, timeout, ...props }: ClipboardPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Clipboard({ copiedChildren, onClick, children, text, title, "aria-label": ariaLabel, timeout, ...p }: ClipboardPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=Clipboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Clipboard.d.ts","sourceRoot":"","sources":["../../../src/react-components/Clipboard/Clipboard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,wBAAgB,SAAS,CAAC,EACxB,cAAc,EACd,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,eAAe,2CAiBjB"}
1
+ {"version":3,"file":"Clipboard.d.ts","sourceRoot":"","sources":["../../../src/react-components/Clipboard/Clipboard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,wBAAgB,SAAS,CAAC,EACxB,cAAc,EACd,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,OAAe,EACf,GAAG,CAAC,EACL,EAAE,eAAe,2CAiBjB"}
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { useClipboard } from "@mantine/hooks";
4
- export function Clipboard({ copiedChildren, onClick, children, text, title, "aria-label": ariaLabel, timeout = 3_000, ...props }) {
4
+ export function Clipboard({ copiedChildren, onClick, children, text, title, "aria-label": ariaLabel, timeout = 3_000, ...p }) {
5
5
  const { copy, copied } = useClipboard({ timeout });
6
6
  const handleClick = (ev) => {
7
7
  onClick?.(ev);
8
8
  copy(text.trim());
9
9
  };
10
- return (_jsx("button", { "aria-label": ariaLabel || text, title: title || text, onClick: handleClick, ...props, children: copiedChildren && copied ? copiedChildren : children }));
10
+ return (_jsx("button", { "aria-label": ariaLabel || text, title: title || text, onClick: handleClick, ...p, children: copiedChildren && copied ? copiedChildren : children }));
11
11
  }
@@ -1,3 +1,3 @@
1
1
  import type { DrawerTogglePropsT } from "./drawerTypes";
2
- export declare function DrawerToggle({ onClick, ...props }: DrawerTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DrawerToggle({ onClick, ...p }: DrawerTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=DrawerToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAYrE"}
1
+ {"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/DrawerToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,kBAAkB,2CAajE"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { DrawerContext } from "./DrawerContext";
5
- export function DrawerToggle({ onClick, ...props }) {
5
+ export function DrawerToggle({ onClick, ...p }) {
6
6
  const { setOpen } = use(DrawerContext);
7
- return (_jsx("button", { onClick: (ev) => {
7
+ return (_jsx("button", { type: "button", onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  setOpen(prev => !prev);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -8,6 +8,6 @@ export type DrawerRootPropsT = PropsWithChildren;
8
8
  export type DrawerBodyPropsT = HTMLMotionProps<"div"> & {
9
9
  position?: "top" | "right" | "bottom" | "left";
10
10
  };
11
- export type DrawerTogglePropsT = ComponentProps<"button">;
11
+ export type DrawerTogglePropsT = Omit<ComponentProps<"button">, "type">;
12
12
  export type DrawerPortalPropsT = HTMLMotionProps<"div">;
13
13
  //# sourceMappingURL=drawerTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawerTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/drawerTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"drawerTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Drawer/drawerTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ModalTogglePropsT } from "./modalTypes";
2
- export declare function ModalToggle({ onClick, ...props }: ModalTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ModalToggle({ onClick, ...p }: ModalTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=ModalToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAYnE"}
1
+ {"version":3,"file":"ModalToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/ModalToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,2CAa/D"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { ModalContext } from "./ModalContext";
5
- export function ModalToggle({ onClick, ...props }) {
5
+ export function ModalToggle({ onClick, ...p }) {
6
6
  const { setOpen } = use(ModalContext);
7
- return (_jsx("button", { onClick: (ev) => {
7
+ return (_jsx("button", { type: "button", onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  setOpen((prev) => !prev);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -9,7 +9,7 @@ export type ModalRootPropsT = PropsWithChildren & {
9
9
  };
10
10
  export type ModalContentPropsT = ComponentProps<"div">;
11
11
  export type ModalHeaderPropsT = ComponentProps<"div">;
12
- export type ModalTogglePropsT = ComponentProps<"button">;
12
+ export type ModalTogglePropsT = Omit<ComponentProps<"button">, "type">;
13
13
  export type ModalBodyPropsT = HTMLMotionProps<"div">;
14
14
  export type ModalPortalPropsT = HTMLMotionProps<"div">;
15
15
  //# sourceMappingURL=modalTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modalTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/modalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"modalTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Modal/modalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { OtpInputsPropsT } from "./otpTypes";
2
- export declare function OtpInputs({ name, length, onLastChange, ...props }: OtpInputsPropsT): import("react/jsx-runtime").JSX.Element[];
2
+ export declare function OtpInputs({ name, length, onLastChange, ...p }: OtpInputsPropsT): import("react/jsx-runtime").JSX.Element[];
3
3
  //# sourceMappingURL=OtpInputs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpInputs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,6CAwElF"}
1
+ {"version":3,"file":"OtpInputs.d.ts","sourceRoot":"","sources":["../../../src/react-components/Otp/OtpInputs.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,CAAC,EAAE,EAAE,eAAe,6CAwE9E"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { OtpContext } from "./OtpContext";
5
- export function OtpInputs({ name, length, onLastChange, ...props }) {
5
+ export function OtpInputs({ name, length, onLastChange, ...p }) {
6
6
  const { inputs, getInputsValue } = use(OtpContext);
7
7
  const handlePaste = (ev, startIndex) => {
8
8
  ev.preventDefault();
@@ -51,5 +51,5 @@ export function OtpInputs({ name, length, onLastChange, ...props }) {
51
51
  if (inputs) {
52
52
  inputs.current[index] = el;
53
53
  }
54
- }, ...props }, index)));
54
+ }, ...p }, index)));
55
55
  }
@@ -1,3 +1,3 @@
1
1
  import type { PasswordInputFieldPropsT } from "./passwordInputTypes";
2
- export declare function PasswordInputField(props: PasswordInputFieldPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PasswordInputField(p: PasswordInputFieldPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=PasswordInputField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInputField.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,2CAMjE"}
1
+ {"version":3,"file":"PasswordInputField.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,wBAAwB,2CAM7D"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { PasswordInputContext } from "./PasswordInputContext";
5
- export function PasswordInputField(props) {
5
+ export function PasswordInputField(p) {
6
6
  const { isVisible } = use(PasswordInputContext);
7
- return (_jsx("input", { type: isVisible ? "text" : "password", ...props }));
7
+ return (_jsx("input", { type: isVisible ? "text" : "password", ...p }));
8
8
  }
@@ -1,3 +1,3 @@
1
1
  import type { PasswordInputRootPropsT } from "./passwordInputTypes";
2
- export declare function PasswordInputRoot(props: PasswordInputRootPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PasswordInputRoot(p: PasswordInputRootPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=PasswordInputRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInputRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputRoot.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,2CAQ/D"}
1
+ {"version":3,"file":"PasswordInputRoot.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputRoot.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,uBAAuB,2CAQ3D"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import { PasswordInputContext } from "./PasswordInputContext";
5
- export function PasswordInputRoot(props) {
5
+ export function PasswordInputRoot(p) {
6
6
  const [isVisible, setIsVisible] = useState(false);
7
- return (_jsx(PasswordInputContext, { value: { isVisible, setIsVisible }, children: _jsx("label", { ...props }) }));
7
+ return (_jsx(PasswordInputContext, { value: { isVisible, setIsVisible }, children: _jsx("label", { ...p }) }));
8
8
  }
@@ -1,3 +1,3 @@
1
1
  import type { PasswordInputTogglePropsT } from "./passwordInputTypes";
2
- export declare function PasswordInputToggle({ visibleChildren, onClick, children, ...props }: PasswordInputTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PasswordInputToggle({ visibleChildren, onClick, children, ...p }: PasswordInputTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=PasswordInputToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInputToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,wBAAgB,mBAAmB,CAAC,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAe9G"}
1
+ {"version":3,"file":"PasswordInputToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/PasswordInputToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,wBAAgB,mBAAmB,CAAC,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,yBAAyB,2CAe1G"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { PasswordInputContext } from "./PasswordInputContext";
5
- export function PasswordInputToggle({ visibleChildren, onClick, children, ...props }) {
5
+ export function PasswordInputToggle({ visibleChildren, onClick, children, ...p }) {
6
6
  const { isVisible, setIsVisible } = use(PasswordInputContext);
7
7
  return (_jsx("button", { type: "button", onClick: ev => {
8
8
  setIsVisible(prev => !prev);
9
9
  onClick?.(ev);
10
- }, ...props, children: isVisible ? visibleChildren : children }));
10
+ }, ...p, children: isVisible ? visibleChildren : children }));
11
11
  }
@@ -5,7 +5,7 @@ export type PasswordInputContextT = {
5
5
  };
6
6
  export type PasswordInputRootPropsT = ComponentProps<"label">;
7
7
  export type PasswordInputFieldPropsT = ComponentProps<"input">;
8
- export type PasswordInputTogglePropsT = ComponentProps<"button"> & {
8
+ export type PasswordInputTogglePropsT = Omit<ComponentProps<"button">, "type"> & {
9
9
  visibleChildren: ReactNode;
10
10
  };
11
11
  //# sourceMappingURL=passwordInputTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"passwordInputTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/passwordInputTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACjE,eAAe,EAAE,SAAS,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"passwordInputTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/PasswordInput/passwordInputTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE9D,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IAC/E,eAAe,EAAE,SAAS,CAAC;CAC5B,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { PopoverTogglePropsT } from "./popoverTypes";
2
- export declare function PopoverToggle({ onClick, ...props }: PopoverTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function PopoverToggle({ onClick, ...p }: PopoverTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=PopoverToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Popover/PopoverToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAiBvE"}
1
+ {"version":3,"file":"PopoverToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Popover/PopoverToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,mBAAmB,2CAkBnE"}
@@ -2,13 +2,13 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { PopoverContext } from "./PopoverContext";
5
- export function PopoverToggle({ onClick, ...props }) {
5
+ export function PopoverToggle({ onClick, ...p }) {
6
6
  const { mode, toggleRef, isOpen, setOpen } = use(PopoverContext);
7
- return (_jsx("button", { ref: toggleRef, "data-state": isOpen, onClick: (ev) => {
7
+ return (_jsx("button", { type: "button", ref: toggleRef, "data-state": isOpen, onClick: (ev) => {
8
8
  onClick?.(ev);
9
9
  ev.stopPropagation();
10
10
  if (["click", "both"].includes(mode)) {
11
11
  setOpen((prev) => !prev);
12
12
  }
13
- }, ...props }));
13
+ }, ...p }));
14
14
  }
@@ -13,6 +13,6 @@ export type PopoverRootPropsT = ComponentProps<"div"> & {
13
13
  export type PopoverBodyPropsT = ComponentProps<"div"> & {
14
14
  preventClose?: boolean;
15
15
  };
16
- export type PopoverTogglePropsT = ComponentProps<"button">;
16
+ export type PopoverTogglePropsT = Omit<ComponentProps<"button">, "type">;
17
17
  export type PopoverNavigationPropsT = AccessNavigationPropsT;
18
18
  //# sourceMappingURL=popoverTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popoverTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Popover/popoverTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAC/C,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE3D,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC"}
1
+ {"version":3,"file":"popoverTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Popover/popoverTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAC/C,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { SheetTogglePropsT } from "./sheetTypes";
2
- export declare function SheetToggle({ onClick, ...props }: SheetTogglePropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function SheetToggle({ onClick, ...p }: SheetTogglePropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=SheetToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SheetToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Sheet/SheetToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAYnE"}
1
+ {"version":3,"file":"SheetToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/Sheet/SheetToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,iBAAiB,2CAa/D"}
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { SheetContext } from "./SheetContext";
5
- export function SheetToggle({ onClick, ...props }) {
5
+ export function SheetToggle({ onClick, ...p }) {
6
6
  const { setOpen } = use(SheetContext);
7
- return (_jsx("button", { onClick: ev => {
7
+ return (_jsx("button", { type: "button", onClick: ev => {
8
8
  onClick?.(ev);
9
9
  setOpen(prev => !prev);
10
- }, ...props }));
10
+ }, ...p }));
11
11
  }
@@ -12,6 +12,6 @@ export type SheetBodyPropsT = HTMLMotionProps<"div">;
12
12
  export type SheetContentPropsT = ComponentProps<"div">;
13
13
  export type SheetHeaderPropsT = ComponentProps<"div">;
14
14
  export type SheetHandlebarPropsT = ComponentProps<"div">;
15
- export type SheetTogglePropsT = ComponentProps<"button">;
15
+ export type SheetTogglePropsT = Omit<ComponentProps<"button">, "type">;
16
16
  export type SheetPortalPropsT = HTMLMotionProps<"div">;
17
17
  //# sourceMappingURL=sheetTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheetTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Sheet/sheetTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"sheetTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/Sheet/sheetTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ShowMoreContentPropsT } from "./showMoreTypes";
2
- export declare function ShowMoreContent({ children, style, ...props }: ShowMoreContentPropsT): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ShowMoreContent({ children, style, ...p }: ShowMoreContentPropsT): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=ShowMoreContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShowMoreContent.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/ShowMoreContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAuBnF"}
1
+ {"version":3,"file":"ShowMoreContent.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/ShowMoreContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,qBAAqB,2CAuB/E"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { ShowMoreContext } from "./ShowMoreContext";
5
- export function ShowMoreContent({ children, style, ...props }) {
5
+ export function ShowMoreContent({ children, style, ...p }) {
6
6
  const { contentRef, shouldShowMore, isShowMore, maxHeight } = use(ShowMoreContext);
7
7
  return (_jsx("div", { ref: contentRef, style: {
8
8
  overflow: "hidden",
@@ -15,5 +15,5 @@ export function ShowMoreContent({ children, style, ...props }) {
15
15
  : maxHeight
16
16
  : "auto",
17
17
  ...style
18
- }, ...props, children: children }));
18
+ }, ...p, children: children }));
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ShowMoreToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/ShowMoreToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,oBAAoB,2CAgB5E"}
1
+ {"version":3,"file":"ShowMoreToggle.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/ShowMoreToggle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,oBAAoB,2CAiB5E"}
@@ -4,7 +4,7 @@ import { use } from "react";
4
4
  import { ShowMoreContext } from "./ShowMoreContext";
5
5
  export function ShowMoreToggle({ onClick, style, ...p }) {
6
6
  const { setIsShowMore } = use(ShowMoreContext);
7
- return (_jsx("button", { style: {
7
+ return (_jsx("button", { type: "button", style: {
8
8
  position: "relative",
9
9
  ...style
10
10
  }, onClick: ev => {
@@ -12,5 +12,5 @@ export type ShowMoreRootPropsT = ComponentProps<"div"> & {
12
12
  };
13
13
  export type ShowMoreContentPropsT = ComponentProps<"div">;
14
14
  export type ShowMoreFadePropsT = ComponentProps<"div">;
15
- export type ShowMoreTogglePropsT = ComponentProps<"button">;
15
+ export type ShowMoreTogglePropsT = Omit<ComponentProps<"button">, "type">;
16
16
  //# sourceMappingURL=showMoreTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"showMoreTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/showMoreTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"showMoreTypes.d.ts","sourceRoot":"","sources":["../../../src/react-components/ShowMore/showMoreTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC"}