@divayth/brick-ui 0.11.1 → 0.11.2

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 (82) hide show
  1. package/dist/index.js +44 -43
  2. package/dist/styles.css +1 -1
  3. package/dist/ui/Accordion/Accordion.d.ts.map +1 -1
  4. package/dist/ui/Accordion/Accordion.js +1 -0
  5. package/dist/ui/DropdownMenu/DropdownMenu.d.ts +8 -11
  6. package/dist/ui/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  7. package/dist/ui/DropdownMenu/DropdownMenu.js +6 -31
  8. package/dist/ui/DropdownMenu/components/DropdownMenuContent.d.ts +5 -0
  9. package/dist/ui/DropdownMenu/components/DropdownMenuContent.d.ts.map +1 -0
  10. package/dist/ui/DropdownMenu/components/DropdownMenuContent.js +24 -0
  11. package/dist/ui/DropdownMenu/components/DropdownMenuItem.d.ts +8 -0
  12. package/dist/ui/DropdownMenu/components/DropdownMenuItem.d.ts.map +1 -0
  13. package/dist/ui/DropdownMenu/components/DropdownMenuItem.js +11 -0
  14. package/dist/ui/DropdownMenu/components/DropdownMenuTrigger.d.ts +4 -0
  15. package/dist/ui/DropdownMenu/components/DropdownMenuTrigger.d.ts.map +1 -0
  16. package/dist/ui/DropdownMenu/components/DropdownMenuTrigger.js +13 -0
  17. package/dist/ui/Grid/GridItem.d.ts.map +1 -1
  18. package/dist/ui/Grid/GridItem.js +20 -23
  19. package/dist/ui/Modal/Modal.constants.d.ts +9 -0
  20. package/dist/ui/Modal/Modal.constants.d.ts.map +1 -0
  21. package/dist/ui/Modal/Modal.constants.js +10 -0
  22. package/dist/ui/Modal/Modal.d.ts +8 -33
  23. package/dist/ui/Modal/Modal.d.ts.map +1 -1
  24. package/dist/ui/Modal/Modal.js +8 -120
  25. package/dist/ui/Modal/ModalContext.d.ts +1 -0
  26. package/dist/ui/Modal/ModalContext.d.ts.map +1 -1
  27. package/dist/ui/Modal/components/ModalActions.d.ts +3 -0
  28. package/dist/ui/Modal/components/ModalActions.d.ts.map +1 -0
  29. package/dist/ui/Modal/components/ModalActions.js +6 -0
  30. package/dist/ui/Modal/components/ModalCancel.d.ts +3 -0
  31. package/dist/ui/Modal/components/ModalCancel.d.ts.map +1 -0
  32. package/dist/ui/Modal/components/ModalCancel.js +23 -0
  33. package/dist/ui/Modal/components/ModalConfirm.d.ts +3 -0
  34. package/dist/ui/Modal/components/ModalConfirm.d.ts.map +1 -0
  35. package/dist/ui/Modal/components/ModalConfirm.js +11 -0
  36. package/dist/ui/Modal/components/ModalContent.d.ts +3 -0
  37. package/dist/ui/Modal/components/ModalContent.d.ts.map +1 -0
  38. package/dist/ui/Modal/components/ModalContent.js +8 -0
  39. package/dist/ui/Modal/components/ModalHeader.d.ts +10 -0
  40. package/dist/ui/Modal/components/ModalHeader.d.ts.map +1 -0
  41. package/dist/ui/Modal/components/ModalHeader.js +40 -0
  42. package/dist/ui/Modal/components/ModalRoot.d.ts +13 -0
  43. package/dist/ui/Modal/components/ModalRoot.d.ts.map +1 -0
  44. package/dist/ui/Modal/components/ModalRoot.js +70 -0
  45. package/dist/ui/Popover/Popover.d.ts +6 -5
  46. package/dist/ui/Popover/Popover.d.ts.map +1 -1
  47. package/dist/ui/Popover/Popover.js +8 -24
  48. package/dist/ui/Popover/components/PopoverAnchor.d.ts +4 -0
  49. package/dist/ui/Popover/components/PopoverAnchor.d.ts.map +1 -0
  50. package/dist/ui/Popover/components/PopoverAnchor.js +6 -0
  51. package/dist/ui/Popover/components/PopoverContent.d.ts +6 -0
  52. package/dist/ui/Popover/components/PopoverContent.d.ts.map +1 -0
  53. package/dist/ui/Popover/components/PopoverContent.js +19 -0
  54. package/dist/ui/Popover/components/PopoverTrigger.d.ts +5 -0
  55. package/dist/ui/Popover/components/PopoverTrigger.d.ts.map +1 -0
  56. package/dist/ui/Popover/components/PopoverTrigger.js +6 -0
  57. package/dist/ui/Tabs/Tabs.d.ts.map +1 -1
  58. package/dist/ui/Tabs/Tabs.js +0 -1
  59. package/dist/ui/Tabs/TabsList.d.ts.map +1 -1
  60. package/dist/ui/Tabs/TabsList.js +0 -1
  61. package/dist/ui/Text/Text.d.ts +1 -1
  62. package/dist/ui/Text/Text.d.ts.map +1 -1
  63. package/dist/ui/Text/Text.js +32 -28
  64. package/dist/ui/Text/components/ResponsiveText.d.ts +8 -0
  65. package/dist/ui/Text/components/ResponsiveText.d.ts.map +1 -0
  66. package/dist/ui/Text/components/ResponsiveText.js +17 -0
  67. package/dist/ui/Tooltip/Tooltip.d.ts +6 -18
  68. package/dist/ui/Tooltip/Tooltip.d.ts.map +1 -1
  69. package/dist/ui/Tooltip/Tooltip.js +5 -82
  70. package/dist/ui/Tooltip/TooltipContext.d.ts +12 -0
  71. package/dist/ui/Tooltip/TooltipContext.d.ts.map +1 -0
  72. package/dist/ui/Tooltip/TooltipContext.js +7 -0
  73. package/dist/ui/Tooltip/components/TooltipContent.d.ts +8 -0
  74. package/dist/ui/Tooltip/components/TooltipContent.d.ts.map +1 -0
  75. package/dist/ui/Tooltip/components/TooltipContent.js +44 -0
  76. package/dist/ui/Tooltip/components/TooltipRoot.d.ts +9 -0
  77. package/dist/ui/Tooltip/components/TooltipRoot.d.ts.map +1 -0
  78. package/dist/ui/Tooltip/components/TooltipRoot.js +31 -0
  79. package/dist/ui/Tooltip/components/TooltipTrigger.d.ts +5 -0
  80. package/dist/ui/Tooltip/components/TooltipTrigger.d.ts.map +1 -0
  81. package/dist/ui/Tooltip/components/TooltipTrigger.js +28 -0
  82. package/package.json +1 -1
@@ -1,36 +1,11 @@
1
- import { type ReactElement, type ReactNode } from 'react';
2
- import { type ButtonProps } from '../Button/index.js';
3
- import { type FlexProps } from '../Flex/index.js';
4
- export declare const MODAL_SIZE: {
5
- readonly xs: "xs";
6
- readonly sm: "sm";
7
- readonly md: "md";
8
- readonly lg: "lg";
9
- readonly xl: "xl";
10
- };
11
- export type ModalSize = (typeof MODAL_SIZE)[keyof typeof MODAL_SIZE];
12
- export interface ModalRootProps {
13
- children: ReactNode;
14
- size?: ModalSize;
15
- className?: string;
16
- closeDisabled?: boolean;
17
- open?: boolean;
18
- onOpenChange?: (open: boolean) => void;
19
- 'aria-label'?: string;
20
- }
21
- interface HeaderProps extends FlexProps {
22
- text: string | ReactElement;
23
- closeLabel?: string;
24
- startIcon?: ReactNode;
25
- withCloseButton?: boolean;
26
- }
1
+ export type { ModalRootProps } from './components/ModalRoot.js';
2
+ export { MODAL_SIZE, type ModalSize } from './Modal.constants.js';
27
3
  export declare const Modal: {
28
- Root: ({ children, size, className, closeDisabled, open, onOpenChange, "aria-label": ariaLabel, }: ModalRootProps) => import("react").JSX.Element;
29
- Header: ({ text, children, startIcon, withCloseButton, closeLabel, ...props }: HeaderProps) => import("react").JSX.Element;
30
- Content: ({ className, ...props }: FlexProps) => import("react").JSX.Element;
31
- Actions: (props: FlexProps) => import("react").JSX.Element;
32
- Cancel: ({ children, onClick, disabled, ...props }: ButtonProps) => import("react").JSX.Element;
33
- Confirm: ({ children, type, ...props }: ButtonProps) => import("react").JSX.Element;
4
+ Root: ({ children, size, className, closeDisabled, open, onOpenChange, "aria-label": ariaLabel, }: import("./Modal.js").ModalRootProps) => import("react").JSX.Element;
5
+ Header: ({ text, children, startIcon, withCloseButton, closeLabel, ...props }: import("./components/ModalHeader.js").ModalHeaderProps) => import("react").JSX.Element;
6
+ Content: ({ className, ...props }: import("../index.js").FlexProps) => import("react").JSX.Element;
7
+ Actions: (props: import("../index.js").FlexProps) => import("react").JSX.Element;
8
+ Cancel: ({ children, onClick, disabled, ...props }: import("../index.js").ButtonProps) => import("react").JSX.Element;
9
+ Confirm: ({ children, type, ...props }: import("../index.js").ButtonProps) => import("react").JSX.Element;
34
10
  };
35
- export {};
36
11
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/ui/Modal/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAShD,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAWrE,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAmED,UAAU,WAAY,SAAQ,SAAS;IACrC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAwED,eAAO,MAAM,KAAK;uGAtIf,cAAc;mFAuEd,WAAW;uCA0B4B,SAAS;qBAI3B,SAAS;wDAI0B,WAAW;4CAoBZ,WAAW;CASG,CAAC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/ui/Modal/Modal.ts"],"names":[],"mappings":"AAOA,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,KAAK;;;;;;;CAAqI,CAAC"}
@@ -1,122 +1,10 @@
1
- "use client";
2
- import { jsx as o, jsxs as y } from "react/jsx-runtime";
3
- import { useContext as b, useRef as A, useCallback as E, useMemo as N, createContext as P } from "react";
4
- import { X as R } from "lucide-react";
5
- import { Dialog as d } from "radix-ui";
6
- import { useProvider as C } from "../../app/Provider.js";
7
- import { Button as g } from "../Button/Button.js";
8
- import { Flex as f } from "../Flex/Flex.js";
9
- import { IconButton as j } from "../IconButton/IconButton.js";
10
- import { Text as D } from "../Text/Text.js";
11
- import { cn as M } from "../../lib/cn.js";
12
- import { useModal as F } from "./ModalContext.js";
13
- import i from "./Modal.module.css.js";
14
- const I = {
15
- xs: "xs",
16
- sm: "sm",
17
- md: "md",
18
- lg: "lg",
19
- xl: "xl"
20
- }, x = P(
21
- {}
22
- ), k = ({
23
- children: e,
24
- size: r = I.md,
25
- className: s,
26
- closeDisabled: t = !1,
27
- open: m = !0,
28
- onOpenChange: n,
29
- "aria-label": a
30
- }) => {
31
- const { closeModal: l } = F(), u = A(null), p = E(() => {
32
- n ? n(!1) : l();
33
- }, [n, l]), h = N(() => ({ closeDisabled: t, closeModal: p }), [t, p]);
34
- return /* @__PURE__ */ o(x.Provider, { value: h, children: /* @__PURE__ */ o(
35
- d.Root,
36
- {
37
- open: m,
38
- onOpenChange: (c) => {
39
- !c && !t && p();
40
- },
41
- children: /* @__PURE__ */ y(d.Portal, { children: [
42
- /* @__PURE__ */ o(d.Overlay, { className: i.overlay }),
43
- /* @__PURE__ */ o(
44
- d.Content,
45
- {
46
- className: M(i.root, i[r], s),
47
- "aria-describedby": void 0,
48
- "aria-label": a,
49
- onEscapeKeyDown: (c) => {
50
- t && c.preventDefault();
51
- },
52
- onInteractOutside: (c) => {
53
- t && c.preventDefault();
54
- },
55
- onOpenAutoFocus: () => {
56
- u.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
57
- },
58
- onCloseAutoFocus: (c) => {
59
- if (!u.current?.isConnected) return;
60
- c.preventDefault();
61
- const v = u.current;
62
- v.setAttribute("data-tooltip-restore-focus", "");
63
- try {
64
- v.focus();
65
- } finally {
66
- v.removeAttribute("data-tooltip-restore-focus");
67
- }
68
- },
69
- ...a ? { "aria-labelledby": void 0 } : {},
70
- children: /* @__PURE__ */ o(f, { direction: "col", gap: "md", className: i.layout, children: e })
71
- }
72
- )
73
- ] })
74
- }
75
- ) });
76
- }, w = ({
77
- text: e,
78
- children: r,
79
- startIcon: s,
80
- withCloseButton: t = !0,
81
- closeLabel: m,
82
- ...n
83
- }) => {
84
- const { messages: a } = C(), { closeDisabled: l, closeModal: u } = b(x);
85
- return /* @__PURE__ */ y(f, { justifyContent: "between", alignItems: "start", ...n, children: [
86
- s,
87
- /* @__PURE__ */ o(d.Title, { asChild: !0, children: typeof e == "string" ? /* @__PURE__ */ o(D, { size: "xl", weight: "medium", children: e }) : e }),
88
- r,
89
- t && /* @__PURE__ */ o(
90
- j,
91
- {
92
- className: i.close,
93
- color: "secondary",
94
- "aria-label": m ?? a.close,
95
- disabled: l,
96
- onClick: u,
97
- children: /* @__PURE__ */ o(R, {})
98
- }
99
- )
100
- ] });
101
- }, O = ({ className: e, ...r }) => /* @__PURE__ */ o(f, { className: M(i.content, e), ...r }), T = (e) => /* @__PURE__ */ o(f, { justifyContent: "end", gap: "sm", ...e }), B = ({ children: e, onClick: r, disabled: s, ...t }) => {
102
- const { messages: m } = C(), { closeDisabled: n, closeModal: a } = b(x);
103
- return /* @__PURE__ */ o(
104
- g,
105
- {
106
- variant: "outlined",
107
- disabled: s || n,
108
- onClick: (l) => {
109
- n || (r?.(l), l.defaultPrevented || a());
110
- },
111
- ...t,
112
- children: e === void 0 ? m.cancel : e
113
- }
114
- );
115
- }, H = ({ children: e, type: r = "submit", ...s }) => {
116
- const { messages: t } = C();
117
- return /* @__PURE__ */ o(g, { type: r, ...s, children: e === void 0 ? t.confirm : e });
118
- }, U = { Root: k, Header: w, Content: O, Actions: T, Cancel: B, Confirm: H };
1
+ import { ModalActions as o } from "./components/ModalActions.js";
2
+ import { ModalCancel as r } from "./components/ModalCancel.js";
3
+ import { ModalConfirm as t } from "./components/ModalConfirm.js";
4
+ import { ModalContent as m } from "./components/ModalContent.js";
5
+ import { ModalHeader as a } from "./components/ModalHeader.js";
6
+ import { ModalRoot as n } from "./components/ModalRoot.js";
7
+ const M = { Root: n, Header: a, Content: m, Actions: o, Cancel: r, Confirm: t };
119
8
  export {
120
- I as MODAL_SIZE,
121
- U as Modal
9
+ M as Modal
122
10
  };
@@ -1,6 +1,7 @@
1
1
  import { type ReactElement } from 'react';
2
2
  export interface ModalActions {
3
3
  isOpen: boolean;
4
+ closeDisabled?: boolean;
4
5
  openModal: (modal: ReactElement) => void;
5
6
  closeModal: () => void;
6
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/ui/Modal/ModalContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,YAAY,EAAc,MAAM,OAAO,CAAC;AAErE,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,uCAAkD,CAAC;AAE5E,eAAO,MAAM,QAAQ,oBAAiC,CAAC"}
1
+ {"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/ui/Modal/ModalContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,YAAY,EAAc,MAAM,OAAO,CAAC;AAErE,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,uCAAkD,CAAC;AAE5E,eAAO,MAAM,QAAQ,oBAAiC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type FlexProps } from '../../Flex/index.js';
2
+ export declare const ModalActions: (props: FlexProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=ModalActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalActions.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,gCAE5C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { Flex as m } from "../../Flex/Flex.js";
3
+ const s = (o) => /* @__PURE__ */ t(m, { justifyContent: "end", gap: "sm", ...o });
4
+ export {
5
+ s as ModalActions
6
+ };
@@ -0,0 +1,3 @@
1
+ import { type ButtonProps } from '../../Button/index.js';
2
+ export declare const ModalCancel: ({ children, onClick, disabled, ...props }: ButtonProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=ModalCancel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalCancel.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalCancel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAItD,eAAO,MAAM,WAAW,GAAI,2CAA2C,WAAW,gCAkBjF,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ import { jsx as d } from "react/jsx-runtime";
3
+ import { useProvider as n } from "../../../app/Provider.js";
4
+ import { Button as c } from "../../Button/Button.js";
5
+ import { useModal as m } from "../ModalContext.js";
6
+ const M = ({ children: o, onClick: t, disabled: i, ...s }) => {
7
+ const { messages: l } = n(), { closeDisabled: e, closeModal: a } = m();
8
+ return /* @__PURE__ */ d(
9
+ c,
10
+ {
11
+ variant: "outlined",
12
+ disabled: i || e,
13
+ onClick: (r) => {
14
+ e || (t?.(r), r.defaultPrevented || a());
15
+ },
16
+ ...s,
17
+ children: o === void 0 ? l.cancel : o
18
+ }
19
+ );
20
+ };
21
+ export {
22
+ M as ModalCancel
23
+ };
@@ -0,0 +1,3 @@
1
+ import { type ButtonProps } from '../../Button/index.js';
2
+ export declare const ModalConfirm: ({ children, type, ...props }: ButtonProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=ModalConfirm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalConfirm.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalConfirm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,8BAAyC,WAAW,gCAOhF,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { useProvider as s } from "../../../app/Provider.js";
4
+ import { Button as e } from "../../Button/Button.js";
5
+ const u = ({ children: o, type: r = "submit", ...m }) => {
6
+ const { messages: t } = s();
7
+ return /* @__PURE__ */ i(e, { type: r, ...m, children: o === void 0 ? t.confirm : o });
8
+ };
9
+ export {
10
+ u as ModalConfirm
11
+ };
@@ -0,0 +1,3 @@
1
+ import { type FlexProps } from '../../Flex/index.js';
2
+ export declare const ModalContent: ({ className, ...props }: FlexProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=ModalContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAKhD,eAAO,MAAM,YAAY,GAAI,yBAAyB,SAAS,gCAE9D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { Flex as r } from "../../Flex/Flex.js";
3
+ import { cn as n } from "../../../lib/cn.js";
4
+ import c from "../Modal.module.css.js";
5
+ const i = ({ className: o, ...t }) => /* @__PURE__ */ m(r, { className: n(c.content, o), ...t });
6
+ export {
7
+ i as ModalContent
8
+ };
@@ -0,0 +1,10 @@
1
+ import { type ReactElement, type ReactNode } from 'react';
2
+ import { type FlexProps } from '../../Flex/index.js';
3
+ export interface ModalHeaderProps extends FlexProps {
4
+ text: string | ReactElement;
5
+ closeLabel?: string;
6
+ startIcon?: ReactNode;
7
+ withCloseButton?: boolean;
8
+ }
9
+ export declare const ModalHeader: ({ text, children, startIcon, withCloseButton, closeLabel, ...props }: ModalHeaderProps) => import("react").JSX.Element;
10
+ //# sourceMappingURL=ModalHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAM1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAQhD,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,GAAI,sEAOzB,gBAAgB,gCAwBlB,CAAC"}
@@ -0,0 +1,40 @@
1
+ "use client";
2
+ import { jsxs as n, jsx as o } from "react/jsx-runtime";
3
+ import "react";
4
+ import { X as d } from "lucide-react";
5
+ import { Dialog as p } from "radix-ui";
6
+ import { useProvider as f } from "../../../app/Provider.js";
7
+ import { Flex as u } from "../../Flex/Flex.js";
8
+ import { IconButton as h } from "../../IconButton/IconButton.js";
9
+ import { Text as g } from "../../Text/Text.js";
10
+ import { useModal as b } from "../ModalContext.js";
11
+ import x from "../Modal.module.css.js";
12
+ const z = ({
13
+ text: r,
14
+ children: e,
15
+ startIcon: i,
16
+ withCloseButton: s = !0,
17
+ closeLabel: t,
18
+ ...l
19
+ }) => {
20
+ const { messages: m } = f(), { closeDisabled: a, closeModal: c } = b();
21
+ return /* @__PURE__ */ n(u, { justifyContent: "between", alignItems: "start", ...l, children: [
22
+ i,
23
+ /* @__PURE__ */ o(p.Title, { asChild: !0, children: typeof r == "string" ? /* @__PURE__ */ o(g, { size: "xl", weight: "medium", children: r }) : r }),
24
+ e,
25
+ s && /* @__PURE__ */ o(
26
+ h,
27
+ {
28
+ className: x.close,
29
+ color: "secondary",
30
+ "aria-label": t ?? m.close,
31
+ disabled: a,
32
+ onClick: c,
33
+ children: /* @__PURE__ */ o(d, {})
34
+ }
35
+ )
36
+ ] });
37
+ };
38
+ export {
39
+ z as ModalHeader
40
+ };
@@ -0,0 +1,13 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type ModalSize } from '../Modal.constants.js';
3
+ export interface ModalRootProps {
4
+ children: ReactNode;
5
+ size?: ModalSize;
6
+ className?: string;
7
+ closeDisabled?: boolean;
8
+ open?: boolean;
9
+ onOpenChange?: (open: boolean) => void;
10
+ 'aria-label'?: string;
11
+ }
12
+ export declare const ModalRoot: ({ children, size, className, closeDisabled, open, onOpenChange, "aria-label": ariaLabel, }: ModalRootProps) => import("react").JSX.Element;
13
+ //# sourceMappingURL=ModalRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalRoot.d.ts","sourceRoot":"","sources":["../../../../src/ui/Modal/components/ModalRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AAOrE,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKnE,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,GAAI,4FAQvB,cAAc,gCA2DhB,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use client";
2
+ import { jsx as o, jsxs as y } from "react/jsx-runtime";
3
+ import { useRef as x, useCallback as A, useMemo as E } from "react";
4
+ import { Dialog as r } from "radix-ui";
5
+ import { Flex as b } from "../../Flex/Flex.js";
6
+ import { cn as C } from "../../../lib/cn.js";
7
+ import { MODAL_SIZE as F } from "../Modal.constants.js";
8
+ import { useModal as O, ModalContext as R } from "../ModalContext.js";
9
+ import l from "../Modal.module.css.js";
10
+ const w = ({
11
+ children: d,
12
+ size: p = F.md,
13
+ className: v,
14
+ closeDisabled: e = !1,
15
+ open: a = !0,
16
+ onOpenChange: n,
17
+ "aria-label": m
18
+ }) => {
19
+ const c = O(), { closeModal: f } = c, i = x(null), s = A(() => {
20
+ n ? n(!1) : f();
21
+ }, [n, f]), M = E(
22
+ () => ({ ...c, isOpen: a, closeDisabled: e, closeModal: s }),
23
+ [c, a, e, s]
24
+ );
25
+ return /* @__PURE__ */ o(R.Provider, { value: M, children: /* @__PURE__ */ o(
26
+ r.Root,
27
+ {
28
+ open: a,
29
+ onOpenChange: (t) => {
30
+ !t && !e && s();
31
+ },
32
+ children: /* @__PURE__ */ y(r.Portal, { children: [
33
+ /* @__PURE__ */ o(r.Overlay, { className: l.overlay }),
34
+ /* @__PURE__ */ o(
35
+ r.Content,
36
+ {
37
+ className: C(l.root, l[p], v),
38
+ "aria-describedby": void 0,
39
+ "aria-label": m,
40
+ onEscapeKeyDown: (t) => {
41
+ e && t.preventDefault();
42
+ },
43
+ onInteractOutside: (t) => {
44
+ e && t.preventDefault();
45
+ },
46
+ onOpenAutoFocus: () => {
47
+ i.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
48
+ },
49
+ onCloseAutoFocus: (t) => {
50
+ if (!i.current?.isConnected) return;
51
+ t.preventDefault();
52
+ const u = i.current;
53
+ u.setAttribute("data-tooltip-restore-focus", "");
54
+ try {
55
+ u.focus();
56
+ } finally {
57
+ u.removeAttribute("data-tooltip-restore-focus");
58
+ }
59
+ },
60
+ ...m ? { "aria-labelledby": void 0 } : {},
61
+ children: /* @__PURE__ */ o(b, { direction: "col", gap: "md", className: l.layout, children: d })
62
+ }
63
+ )
64
+ ] })
65
+ }
66
+ ) });
67
+ };
68
+ export {
69
+ w as ModalRoot
70
+ };
@@ -1,14 +1,15 @@
1
1
  import { Popover as Primitive } from 'radix-ui';
2
2
  import type { ComponentProps } from 'react';
3
- import { type PortalProps } from '../Portal/Portal.js';
3
+ export type { PopoverContentProps } from './components/PopoverContent.js';
4
+ export type { PopoverTriggerProps } from './components/PopoverTrigger.js';
4
5
  export type PopoverRootProps = ComponentProps<typeof Primitive.Root>;
5
- export type PopoverTriggerProps = ComponentProps<typeof Primitive.Trigger>;
6
- export type PopoverContentProps = ComponentProps<typeof Primitive.Content> & Pick<PortalProps, 'container'>;
6
+ export declare const PopoverRoot: import("react").FC<Primitive.PopoverProps>;
7
+ export declare const PopoverClose: import("react").ForwardRefExoticComponent<Primitive.PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
8
  export declare const Popover: {
8
9
  Root: import("react").FC<Primitive.PopoverProps>;
9
10
  Anchor: (props: ComponentProps<typeof Primitive.Anchor>) => import("react").JSX.Element;
10
- Trigger: (props: PopoverTriggerProps) => import("react").JSX.Element;
11
- Content: ({ container, sideOffset, collisionPadding, ...props }: PopoverContentProps) => import("react").JSX.Element;
11
+ Trigger: (props: import("./Popover.js").PopoverTriggerProps) => import("react").JSX.Element;
12
+ Content: ({ container, sideOffset, collisionPadding, ...props }: import("./Popover.js").PopoverContentProps) => import("react").JSX.Element;
12
13
  Close: import("react").ForwardRefExoticComponent<Primitive.PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
13
14
  };
14
15
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/ui/Popover/Popover.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,OAAO,CAAC,GACtE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAwBnC,eAAO,MAAM,OAAO;;oBAnBG,cAAc,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC;qBAHtC,mBAAmB;qEAYxC,mBAAmB;;CAgBrB,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/ui/Popover/Popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AAErE,eAAO,MAAM,WAAW,4CAAiB,CAAC;AAC1C,eAAO,MAAM,YAAY,2HAAkB,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;CAAsH,CAAC"}
@@ -1,26 +1,10 @@
1
- "use client";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { Popover as r } from "radix-ui";
4
- import { Portal as i } from "../Portal/Portal.js";
5
- const c = (o) => /* @__PURE__ */ t(r.Trigger, { asChild: !0, ...o }), p = (o) => /* @__PURE__ */ t(r.Anchor, { asChild: !0, ...o }), l = ({
6
- container: o,
7
- sideOffset: e = 8,
8
- collisionPadding: n = 8,
9
- ...s
10
- }) => /* @__PURE__ */ t(i, { container: o, children: /* @__PURE__ */ t(
11
- r.Content,
12
- {
13
- sideOffset: e,
14
- collisionPadding: n,
15
- ...s
16
- }
17
- ) }), a = {
18
- Root: r.Root,
19
- Anchor: p,
20
- Trigger: c,
21
- Content: l,
22
- Close: r.Close
23
- };
1
+ import { Popover as o } from "radix-ui";
2
+ import { PopoverAnchor as r } from "./components/PopoverAnchor.js";
3
+ import { PopoverContent as e } from "./components/PopoverContent.js";
4
+ import { PopoverTrigger as t } from "./components/PopoverTrigger.js";
5
+ const p = o.Root, n = o.Close, i = { Root: p, Anchor: r, Trigger: t, Content: e, Close: n };
24
6
  export {
25
- a as Popover
7
+ i as Popover,
8
+ n as PopoverClose,
9
+ p as PopoverRoot
26
10
  };
@@ -0,0 +1,4 @@
1
+ import { Popover as Primitive } from 'radix-ui';
2
+ import type { ComponentProps } from 'react';
3
+ export declare const PopoverAnchor: (props: ComponentProps<typeof Primitive.Anchor>) => import("react").JSX.Element;
4
+ //# sourceMappingURL=PopoverAnchor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverAnchor.d.ts","sourceRoot":"","sources":["../../../../src/ui/Popover/components/PopoverAnchor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,eAAO,MAAM,aAAa,GAAI,OAAO,cAAc,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC,gCAE3E,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Popover as p } from "radix-ui";
3
+ const m = (o) => /* @__PURE__ */ r(p.Anchor, { asChild: !0, ...o });
4
+ export {
5
+ m as PopoverAnchor
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Popover as Primitive } from 'radix-ui';
2
+ import type { ComponentProps } from 'react';
3
+ import { type PortalProps } from '../../Portal/Portal.js';
4
+ export type PopoverContentProps = ComponentProps<typeof Primitive.Content> & Pick<PortalProps, 'container'>;
5
+ export declare const PopoverContent: ({ container, sideOffset, collisionPadding, ...props }: PopoverContentProps) => import("react").JSX.Element;
6
+ //# sourceMappingURL=PopoverContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverContent.d.ts","sourceRoot":"","sources":["../../../../src/ui/Popover/components/PopoverContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,OAAO,CAAC,GACtE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,cAAc,GAAI,uDAK5B,mBAAmB,gCAQrB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Popover as n } from "radix-ui";
3
+ import { Portal as p } from "../../Portal/Portal.js";
4
+ const c = ({
5
+ container: r,
6
+ sideOffset: t = 8,
7
+ collisionPadding: e = 8,
8
+ ...m
9
+ }) => /* @__PURE__ */ o(p, { container: r, children: /* @__PURE__ */ o(
10
+ n.Content,
11
+ {
12
+ sideOffset: t,
13
+ collisionPadding: e,
14
+ ...m
15
+ }
16
+ ) });
17
+ export {
18
+ c as PopoverContent
19
+ };
@@ -0,0 +1,5 @@
1
+ import { Popover as Primitive } from 'radix-ui';
2
+ import type { ComponentProps } from 'react';
3
+ export type PopoverTriggerProps = ComponentProps<typeof Primitive.Trigger>;
4
+ export declare const PopoverTrigger: (props: PopoverTriggerProps) => import("react").JSX.Element;
5
+ //# sourceMappingURL=PopoverTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverTrigger.d.ts","sourceRoot":"","sources":["../../../../src/ui/Popover/components/PopoverTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC;AAE3E,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gCAExD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { Popover as e } from "radix-ui";
3
+ const t = (r) => /* @__PURE__ */ o(e.Trigger, { asChild: !0, ...r });
4
+ export {
5
+ t as PopoverTrigger
6
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/ui/Tabs/Tabs.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,aAAa,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,eAAO,MAAM,IAAI;;;;;CAA4D,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/ui/Tabs/Tabs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,aAAa,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,eAAO,MAAM,IAAI;;;;;CAA4D,CAAC"}
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { TabsRoot as o } from "./context.js";
3
2
  import { useTabs as f } from "./context.js";
4
3
  import { Tab as r } from "./Tab.js";
@@ -1 +1 @@
1
- {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/ui/Tabs/TabsList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,QAAQ,GAAI,oDAMtB,aAAa,gCAiBf,CAAC"}
1
+ {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/ui/Tabs/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAKhD,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,QAAQ,GAAI,oDAMtB,aAAa,gCAiBf,CAAC"}
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { jsx as i } from "react/jsx-runtime";
3
2
  import { Flex as s } from "../Flex/Flex.js";
4
3
  import { cn as e } from "../../lib/cn.js";
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps } from 'react';
2
- import { type ResponsiveSize } from '../../lib/getResponsiveSize.js';
2
+ import type { ResponsiveSize } from '../../lib/getResponsiveSize.js';
3
3
  declare const WEIGHTS_MAP: {
4
4
  readonly thin: "font-thin";
5
5
  readonly extralight: "font-extralight";
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/ui/Text/Text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAEnC,QAAA,MAAM,WAAW;;;;;;;;;;CAUP,CAAC;AAEX,QAAA,MAAM,UAAU;;;;;;;;;;CAUN,CAAC;AAEX,KAAK,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAExC,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,MAAM,CAAC;IACvD,IAAI,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;CACnC;AAED,eAAO,MAAM,IAAI,GAAI,iDAMlB,SAAS,gCAgBX,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/ui/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,WAAW;;;;;;;;;;CAUP,CAAC;AAEX,QAAA,MAAM,UAAU;;;;;;;;;;CAUN,CAAC;AAEX,KAAK,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAExC,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,MAAM,CAAC;IACvD,IAAI,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;CACnC;AAED,eAAO,MAAM,IAAI,GAAI,iDAMlB,SAAS,gCA0BX,CAAC"}