@korsolutions/ui 0.0.37 → 0.0.38
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/module/components/alert-dialog/alert-dialog.js +41 -0
- package/dist/module/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/module/components/alert-dialog/async-alert-dialog.js +117 -0
- package/dist/module/components/alert-dialog/async-alert-dialog.js.map +1 -0
- package/dist/module/components/alert-dialog/index.js +6 -0
- package/dist/module/components/alert-dialog/index.js.map +1 -0
- package/dist/module/components/alert-dialog/variants/default.js +93 -0
- package/dist/module/components/alert-dialog/variants/default.js.map +1 -0
- package/dist/module/components/alert-dialog/variants/index.js +7 -0
- package/dist/module/components/alert-dialog/variants/index.js.map +1 -0
- package/dist/module/components/index.js +1 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/index.js +2 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/primitives/alert-dialog/alert-dialog-action.js +34 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-action.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-cancel.js +34 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-cancel.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-content.js +23 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-content.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-description.js +23 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-description.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-footer.js +23 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-footer.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-overlay.js +26 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-overlay.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-portal.js +20 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-portal.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-root.js +22 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-root.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-title.js +23 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-title.js.map +1 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-trigger.js +28 -0
- package/dist/module/primitives/alert-dialog/alert-dialog-trigger.js.map +1 -0
- package/dist/module/primitives/alert-dialog/context.js +12 -0
- package/dist/module/primitives/alert-dialog/context.js.map +1 -0
- package/dist/module/primitives/alert-dialog/index.js +26 -0
- package/dist/module/primitives/alert-dialog/index.js.map +1 -0
- package/dist/module/primitives/alert-dialog/types.js +4 -0
- package/dist/module/primitives/alert-dialog/types.js.map +1 -0
- package/dist/module/primitives/index.js +1 -0
- package/dist/module/primitives/index.js.map +1 -1
- package/dist/module/primitives/popover/popover-portal.js +1 -1
- package/dist/module/primitives/popover/popover-portal.js.map +1 -1
- package/dist/typescript/src/components/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/typescript/src/components/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/typescript/src/components/alert-dialog/async-alert-dialog.d.ts +19 -0
- package/dist/typescript/src/components/alert-dialog/async-alert-dialog.d.ts.map +1 -0
- package/dist/typescript/src/components/alert-dialog/index.d.ts +4 -0
- package/dist/typescript/src/components/alert-dialog/index.d.ts.map +1 -0
- package/dist/typescript/src/components/alert-dialog/variants/default.d.ts +3 -0
- package/dist/typescript/src/components/alert-dialog/variants/default.d.ts.map +1 -0
- package/dist/typescript/src/components/alert-dialog/variants/index.d.ts +4 -0
- package/dist/typescript/src/components/alert-dialog/variants/index.d.ts.map +1 -0
- package/dist/typescript/src/components/index.d.ts +1 -0
- package/dist/typescript/src/components/index.d.ts.map +1 -1
- package/dist/typescript/src/index.d.ts.map +1 -1
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-action.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-action.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-cancel.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-cancel.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-content.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-content.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-description.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-description.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-footer.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-footer.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-overlay.d.ts +7 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-overlay.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-portal.d.ts +7 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-portal.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-root.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-root.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-title.d.ts +8 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-title.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-trigger.d.ts +154 -0
- package/dist/typescript/src/primitives/alert-dialog/alert-dialog-trigger.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/context.d.ts +10 -0
- package/dist/typescript/src/primitives/alert-dialog/context.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/index.d.ts +33 -0
- package/dist/typescript/src/primitives/alert-dialog/index.d.ts.map +1 -0
- package/dist/typescript/src/primitives/alert-dialog/types.d.ts +13 -0
- package/dist/typescript/src/primitives/alert-dialog/types.d.ts.map +1 -0
- package/dist/typescript/src/primitives/index.d.ts +1 -0
- package/dist/typescript/src/primitives/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/alert-dialog/alert-dialog.tsx +38 -0
- package/src/components/alert-dialog/async-alert-dialog.tsx +121 -0
- package/src/components/alert-dialog/index.ts +3 -0
- package/src/components/alert-dialog/variants/default.tsx +82 -0
- package/src/components/alert-dialog/variants/index.ts +5 -0
- package/src/components/index.ts +1 -0
- package/src/index.tsx +2 -0
- package/src/primitives/alert-dialog/alert-dialog-action.tsx +27 -0
- package/src/primitives/alert-dialog/alert-dialog-cancel.tsx +27 -0
- package/src/primitives/alert-dialog/alert-dialog-content.tsx +21 -0
- package/src/primitives/alert-dialog/alert-dialog-description.tsx +21 -0
- package/src/primitives/alert-dialog/alert-dialog-footer.tsx +21 -0
- package/src/primitives/alert-dialog/alert-dialog-overlay.tsx +25 -0
- package/src/primitives/alert-dialog/alert-dialog-portal.tsx +20 -0
- package/src/primitives/alert-dialog/alert-dialog-root.tsx +25 -0
- package/src/primitives/alert-dialog/alert-dialog-title.tsx +21 -0
- package/src/primitives/alert-dialog/alert-dialog-trigger.tsx +27 -0
- package/src/primitives/alert-dialog/context.ts +18 -0
- package/src/primitives/alert-dialog/index.ts +34 -0
- package/src/primitives/alert-dialog/types.ts +13 -0
- package/src/primitives/index.ts +1 -0
- package/src/primitives/popover/popover-portal.tsx +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useAlertDialog","AlertDialogTrigger","props","onPress","isOpen","setIsOpen","handlePress","event","cloneElement","children","role","accessible","accessibilityRole","accessibilityState","expanded"],"sourceRoot":"../../../../src","sources":["primitives/alert-dialog/alert-dialog-trigger.tsx"],"mappings":";;AACA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,cAAc;AAMvB,OAAO,SAASC,kBAAkBA,CAACC,KAAuC,EAAE;EAC1E,MAAM;IAAEC;EAAQ,CAAC,GAAGD,KAAK;EACzB,MAAM;IAAEE,MAAM;IAAEC;EAAU,CAAC,GAAGL,cAAc,CAAC,CAAC;EAE9C,MAAMM,WAAsC,GAAIC,KAAK,IAAK;IACxDJ,OAAO,GAAGI,KAAK,CAAC;IAChBF,SAAS,CAAC,IAAI,CAAC;EACjB,CAAC;EAED,oBAAON,KAAK,CAACS,YAAY,CAACN,KAAK,CAACO,QAAQ,EAAE;IACxCN,OAAO,EAAEG,WAAW;IACpBI,IAAI,EAAE,QAAQ;IACdC,UAAU,EAAE,IAAI;IAChBC,iBAAiB,EAAE,QAAQ;IAC3BC,kBAAkB,EAAE;MAAEC,QAAQ,EAAEV;IAAO,CAAC;IACxC,GAAGF,KAAK,CAACO,QAAQ,CAACP;EACpB,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
export const AlertDialogPrimitiveContext = /*#__PURE__*/createContext(null);
|
|
5
|
+
export const useAlertDialog = () => {
|
|
6
|
+
const context = useContext(AlertDialogPrimitiveContext);
|
|
7
|
+
if (!context) {
|
|
8
|
+
throw new Error("AlertDialog compound components must be used within AlertDialogPrimitive.Root");
|
|
9
|
+
}
|
|
10
|
+
return context;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createContext","useContext","AlertDialogPrimitiveContext","useAlertDialog","context","Error"],"sourceRoot":"../../../../src","sources":["primitives/alert-dialog/context.ts"],"mappings":";;AAAA,SAAgBA,aAAa,EAAEC,UAAU,QAAuB,OAAO;AASvE,OAAO,MAAMC,2BAA2B,gBAAGF,aAAa,CAA0C,IAAI,CAAC;AAEvG,OAAO,MAAMG,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMC,OAAO,GAAGH,UAAU,CAACC,2BAA2B,CAAC;EACvD,IAAI,CAACE,OAAO,EAAE;IACZ,MAAM,IAAIC,KAAK,CAAC,+EAA+E,CAAC;EAClG;EACA,OAAOD,OAAO;AAChB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { AlertDialogAction } from "./alert-dialog-action.js";
|
|
4
|
+
import { AlertDialogCancel } from "./alert-dialog-cancel.js";
|
|
5
|
+
import { AlertDialogContent } from "./alert-dialog-content.js";
|
|
6
|
+
import { AlertDialogDescription } from "./alert-dialog-description.js";
|
|
7
|
+
import { AlertDialogFooter } from "./alert-dialog-footer.js";
|
|
8
|
+
import { AlertDialogOverlay } from "./alert-dialog-overlay.js";
|
|
9
|
+
import { AlertDialogPortal } from "./alert-dialog-portal.js";
|
|
10
|
+
import { AlertDialogRoot } from "./alert-dialog-root.js";
|
|
11
|
+
import { AlertDialogTitle } from "./alert-dialog-title.js";
|
|
12
|
+
import { AlertDialogTrigger } from "./alert-dialog-trigger.js";
|
|
13
|
+
export const AlertDialogPrimitive = {
|
|
14
|
+
Root: AlertDialogRoot,
|
|
15
|
+
Trigger: AlertDialogTrigger,
|
|
16
|
+
Portal: AlertDialogPortal,
|
|
17
|
+
Overlay: AlertDialogOverlay,
|
|
18
|
+
Content: AlertDialogContent,
|
|
19
|
+
Title: AlertDialogTitle,
|
|
20
|
+
Description: AlertDialogDescription,
|
|
21
|
+
Footer: AlertDialogFooter,
|
|
22
|
+
Action: AlertDialogAction,
|
|
23
|
+
Cancel: AlertDialogCancel
|
|
24
|
+
};
|
|
25
|
+
export * from "./types.js";
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AlertDialogAction","AlertDialogCancel","AlertDialogContent","AlertDialogDescription","AlertDialogFooter","AlertDialogOverlay","AlertDialogPortal","AlertDialogRoot","AlertDialogTitle","AlertDialogTrigger","AlertDialogPrimitive","Root","Trigger","Portal","Overlay","Content","Title","Description","Footer","Action","Cancel"],"sourceRoot":"../../../../src","sources":["primitives/alert-dialog/index.ts"],"mappings":";;AAAA,SAASA,iBAAiB;AAC1B,SAASC,iBAAiB;AAC1B,SAASC,kBAAkB;AAC3B,SAASC,sBAAsB;AAC/B,SAASC,iBAAiB;AAC1B,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,eAAe;AACxB,SAASC,gBAAgB;AACzB,SAASC,kBAAkB;AAE3B,OAAO,MAAMC,oBAAoB,GAAG;EAClCC,IAAI,EAAEJ,eAAe;EACrBK,OAAO,EAAEH,kBAAkB;EAC3BI,MAAM,EAAEP,iBAAiB;EACzBQ,OAAO,EAAET,kBAAkB;EAC3BU,OAAO,EAAEb,kBAAkB;EAC3Bc,KAAK,EAAER,gBAAgB;EACvBS,WAAW,EAAEd,sBAAsB;EACnCe,MAAM,EAAEd,iBAAiB;EACzBe,MAAM,EAAEnB,iBAAiB;EACzBoB,MAAM,EAAEnB;AACV,CAAC;AAWD","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["primitives/alert-dialog/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["primitives/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["primitives/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Portal } from "../portal/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PopoverContext, usePopover } from "./context.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export function PopoverPortal(props) {
|
|
8
8
|
const popover = usePopover();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Portal","
|
|
1
|
+
{"version":3,"names":["React","Portal","PopoverContext","usePopover","jsx","_jsx","PopoverPortal","props","popover","isOpen","name","children","Provider","value"],"sourceRoot":"../../../../src","sources":["primitives/popover/popover-portal.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM;AACf,SAASC,cAAc,EAAEC,UAAU;AAAoB,SAAAC,GAAA,IAAAC,IAAA;AAMvD,OAAO,SAASC,aAAaA,CAACC,KAAyB,EAAE;EACvD,MAAMC,OAAO,GAAGL,UAAU,CAAC,CAAC;EAE5B,IAAI,CAACK,OAAO,CAACC,MAAM,EAAE;IACnB,OAAO,IAAI;EACb;EAEA,oBACEJ,IAAA,CAACJ,MAAM;IAACS,IAAI,EAAC,gBAAgB;IAAAC,QAAA,eAC3BN,IAAA,CAACH,cAAc,CAACU,QAAQ;MAACC,KAAK,EAAEL,OAAQ;MAAAG,QAAA,EAAEJ,KAAK,CAACI;IAAQ,CAA0B;EAAC,CAC7E,CAAC;AAEb","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PressableProps } from "react-native";
|
|
2
|
+
import { AlertDialogVariants } from "./variants";
|
|
3
|
+
interface AlertDialogProps {
|
|
4
|
+
trigger: React.ReactElement<PressableProps>;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
onAction?: () => void;
|
|
10
|
+
onCancel?: () => void;
|
|
11
|
+
variant?: keyof typeof AlertDialogVariants;
|
|
12
|
+
}
|
|
13
|
+
export declare function AlertDialog(props: AlertDialogProps): import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/alert-dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,gBAAgB;IACxB,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,OAAO,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAsBlD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AlertDialogVariants } from "./variants";
|
|
3
|
+
interface AsyncAlertDialogProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
actionLabel?: string;
|
|
7
|
+
cancelLabel?: string;
|
|
8
|
+
variant?: keyof typeof AlertDialogVariants;
|
|
9
|
+
}
|
|
10
|
+
interface AsyncAlertDialogResult {
|
|
11
|
+
confirmed: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function AsyncAlertDialogManager(): React.JSX.Element | null;
|
|
14
|
+
declare function show(props: AsyncAlertDialogProps): Promise<AsyncAlertDialogResult>;
|
|
15
|
+
export declare const AsyncAlertDialog: {
|
|
16
|
+
show: typeof show;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=async-alert-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-alert-dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/async-alert-dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,OAAO,mBAAmB,CAAC;CAC5C;AAED,UAAU,sBAAsB;IAC9B,SAAS,EAAE,OAAO,CAAC;CACpB;AA2ED,wBAAgB,uBAAuB,6BAatC;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAW3E;AAED,eAAO,MAAM,gBAAgB;;CAE5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../src/components/alert-dialog/variants/default.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,eAAO,MAAM,4BAA4B,QAAO,iBA8E/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/alert-dialog/variants/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,eAAe,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CAChD;AAED,eAAO,MAAM,mBAAmB,GAAI,+BAA+B,aAAa,gCAS/E,CAAC;AAEF,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveActionProps extends PressableProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogAction(props: AlertDialogPrimitiveActionProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-action.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-action.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpG,MAAM,WAAW,+BAAgC,SAAQ,cAAc;IACrE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,+BAA+B,qBAiBvE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveCancelProps extends PressableProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogCancel(props: AlertDialogPrimitiveCancelProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-cancel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-cancel.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-cancel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpG,MAAM,WAAW,+BAAgC,SAAQ,cAAc;IACrE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,+BAA+B,qBAiBvE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewProps, type ViewStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveContentProps extends ViewProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogContent(props: AlertDialogPrimitiveContentProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-content.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpF,MAAM,WAAW,gCAAiC,SAAQ,SAAS;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gCAAgC,qBAWzE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextProps, type TextStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveDescriptionProps extends TextProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<TextStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogDescription(props: AlertDialogPrimitiveDescriptionProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-description.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-description.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpF,MAAM,WAAW,oCAAqC,SAAQ,SAAS;IACrE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,qBAWjF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type ViewProps, type ViewStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveFooterProps extends ViewProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogFooter(props: AlertDialogPrimitiveFooterProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-footer.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpF,MAAM,WAAW,+BAAgC,SAAQ,SAAS;IAChE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,+BAA+B,qBAWvE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type PressableProps, type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveOverlayProps extends PressableProps {
|
|
4
|
+
style?: StyleProp<ViewStyle>;
|
|
5
|
+
}
|
|
6
|
+
export declare function AlertDialogOverlay(props: AlertDialogPrimitiveOverlayProps): React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=alert-dialog-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-overlay.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9F,MAAM,WAAW,gCAAiC,SAAQ,cAAc;IACtE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gCAAgC,qBAgBzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-portal.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-portal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,4BAW9D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { AlertDialogStyles } from "./types";
|
|
3
|
+
export interface AlertDialogPrimitiveRootProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
styles?: AlertDialogStyles;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogRoot(props: AlertDialogPrimitiveRootProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-root.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,6BAA6B,qBAcnE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type StyleProp, type TextProps, type TextStyle } from "react-native";
|
|
3
|
+
export interface AlertDialogPrimitiveTitleProps extends TextProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
style?: StyleProp<TextStyle>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogTitle(props: AlertDialogPrimitiveTitleProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=alert-dialog-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-title.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpF,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,8BAA8B,qBAWrE"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { ViewRef } from "../../types/element.types";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { type PressableProps } from "react-native";
|
|
4
|
+
export interface AlertDialogPrimitiveTriggerProps extends PressableProps {
|
|
5
|
+
children: React.ReactElement<React.RefAttributes<ViewRef> & PressableProps>;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertDialogTrigger(props: AlertDialogPrimitiveTriggerProps): React.ReactElement<React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods> & Readonly<Omit<Omit<Readonly<Omit<Readonly<{
|
|
8
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
9
|
+
onAccessibilityTap?: (() => unknown) | undefined;
|
|
10
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
11
|
+
onMagicTap?: (() => unknown) | undefined;
|
|
12
|
+
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
13
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "onResponderGrant" | "onResponderMove" | "onResponderRelease" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMoveShouldSetResponderCapture" | "onResponderReject" | "onResponderStart" | "onResponderEnd" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
14
|
+
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
15
|
+
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
16
|
+
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
17
|
+
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
18
|
+
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
19
|
+
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
20
|
+
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
21
|
+
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
22
|
+
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
23
|
+
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
24
|
+
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
25
|
+
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
26
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onMouseEnter" | "onMouseLeave" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
27
|
+
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
28
|
+
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
29
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onClick" | "onClickCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
30
|
+
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
31
|
+
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
32
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
33
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
34
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
+
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
+
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
+
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
+
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
+
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
+
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
+
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
+
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
+
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
+
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
+
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
49
|
+
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
50
|
+
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
51
|
+
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
52
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
53
|
+
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
54
|
+
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
55
|
+
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
56
|
+
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
57
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
58
|
+
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
59
|
+
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
60
|
+
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
61
|
+
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
62
|
+
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
+
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
64
|
+
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
65
|
+
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
66
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
67
|
+
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
68
|
+
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
69
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
70
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
71
|
+
nextFocusDown?: number | undefined;
|
|
72
|
+
nextFocusForward?: number | undefined;
|
|
73
|
+
nextFocusLeft?: number | undefined;
|
|
74
|
+
nextFocusRight?: number | undefined;
|
|
75
|
+
nextFocusUp?: number | undefined;
|
|
76
|
+
focusable?: boolean | undefined;
|
|
77
|
+
tabIndex?: 0 | -1;
|
|
78
|
+
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
79
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "shouldRasterizeIOS" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
80
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
81
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "role" | "testID" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
82
|
+
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
83
|
+
"aria-labelledby"?: string | undefined;
|
|
84
|
+
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
85
|
+
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
86
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
87
|
+
screenReaderFocusable?: boolean;
|
|
88
|
+
}>, "role" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
89
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
90
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
91
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
92
|
+
accessibilityLargeContentTitle?: string | undefined;
|
|
93
|
+
"aria-modal"?: boolean | undefined;
|
|
94
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
95
|
+
accessibilityLanguage?: string | undefined;
|
|
96
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
97
|
+
}>, "role" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
98
|
+
accessible?: boolean | undefined;
|
|
99
|
+
accessibilityLabel?: string | undefined;
|
|
100
|
+
accessibilityHint?: string | undefined;
|
|
101
|
+
"aria-label"?: string | undefined;
|
|
102
|
+
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
103
|
+
role?: import("react-native").Role | undefined;
|
|
104
|
+
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
105
|
+
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
106
|
+
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
107
|
+
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
108
|
+
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
109
|
+
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
110
|
+
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
111
|
+
"aria-busy"?: boolean | undefined;
|
|
112
|
+
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
113
|
+
"aria-disabled"?: boolean | undefined;
|
|
114
|
+
"aria-expanded"?: boolean | undefined;
|
|
115
|
+
"aria-selected"?: boolean | undefined;
|
|
116
|
+
"aria-hidden"?: boolean | undefined;
|
|
117
|
+
}>, "style" | "children" | "pointerEvents" | "id" | "nativeID" | "testID" | "collapsable" | "collapsableChildren" | "needsOffscreenAlphaCompositing" | "hitSlop" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
118
|
+
children?: React.ReactNode;
|
|
119
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
120
|
+
collapsable?: boolean | undefined;
|
|
121
|
+
collapsableChildren?: boolean | undefined;
|
|
122
|
+
id?: string;
|
|
123
|
+
testID?: string | undefined;
|
|
124
|
+
nativeID?: string | undefined;
|
|
125
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
126
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
127
|
+
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
128
|
+
removeClippedSubviews?: boolean | undefined;
|
|
129
|
+
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
130
|
+
}>, never>>, "onMouseEnter" | "onMouseLeave">, "style" | "children" | "disabled" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "testID" | "hitSlop" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "onHoverIn" | "onHoverOut" | "onPressMove" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay"> & Omit<Readonly<{
|
|
131
|
+
cancelable?: boolean | undefined;
|
|
132
|
+
children?: React.ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode);
|
|
133
|
+
delayHoverIn?: number | undefined;
|
|
134
|
+
delayHoverOut?: number | undefined;
|
|
135
|
+
delayLongPress?: number | undefined;
|
|
136
|
+
disabled?: boolean | undefined;
|
|
137
|
+
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
138
|
+
pressRetentionOffset?: import("react-native/types_generated/Libraries/StyleSheet/Rect").RectOrSize | undefined;
|
|
139
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
140
|
+
onHoverIn?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
141
|
+
onHoverOut?: ((event: import("react-native").MouseEvent) => unknown) | undefined;
|
|
142
|
+
onLongPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
143
|
+
onPress?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
144
|
+
onPressIn?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
145
|
+
onPressMove?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
146
|
+
onPressOut?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
147
|
+
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ViewStyleProp_Internal | ((state: import("react-native").PressableStateCallbackType) => import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp) | undefined;
|
|
148
|
+
testID?: string | undefined;
|
|
149
|
+
android_disableSound?: boolean | undefined;
|
|
150
|
+
android_ripple?: import("react-native").PressableAndroidRippleConfig | undefined;
|
|
151
|
+
testOnly_pressed?: boolean | undefined;
|
|
152
|
+
unstable_pressDelay?: number | undefined;
|
|
153
|
+
}>, never>>, string | React.JSXElementConstructor<any>>;
|
|
154
|
+
//# sourceMappingURL=alert-dialog-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog-trigger.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/alert-dialog-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,gCAAiC,SAAQ,cAAc;IACtE,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,CAAC;CAC7E;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAiBzE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { type Dispatch } from "react";
|
|
2
|
+
import type { AlertDialogStyles } from "./types";
|
|
3
|
+
export interface AlertDialogPrimitiveContextValue {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
setIsOpen: Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
styles?: AlertDialogStyles;
|
|
7
|
+
}
|
|
8
|
+
export declare const AlertDialogPrimitiveContext: React.Context<AlertDialogPrimitiveContextValue | null>;
|
|
9
|
+
export declare const useAlertDialog: () => AlertDialogPrimitiveContextValue;
|
|
10
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,eAAO,MAAM,2BAA2B,wDAA+D,CAAC;AAExG,eAAO,MAAM,cAAc,wCAM1B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AlertDialogAction } from "./alert-dialog-action";
|
|
2
|
+
import { AlertDialogCancel } from "./alert-dialog-cancel";
|
|
3
|
+
import { AlertDialogContent } from "./alert-dialog-content";
|
|
4
|
+
import { AlertDialogDescription } from "./alert-dialog-description";
|
|
5
|
+
import { AlertDialogFooter } from "./alert-dialog-footer";
|
|
6
|
+
import { AlertDialogOverlay } from "./alert-dialog-overlay";
|
|
7
|
+
import { AlertDialogPortal } from "./alert-dialog-portal";
|
|
8
|
+
import { AlertDialogRoot } from "./alert-dialog-root";
|
|
9
|
+
import { AlertDialogTitle } from "./alert-dialog-title";
|
|
10
|
+
import { AlertDialogTrigger } from "./alert-dialog-trigger";
|
|
11
|
+
export declare const AlertDialogPrimitive: {
|
|
12
|
+
Root: typeof AlertDialogRoot;
|
|
13
|
+
Trigger: typeof AlertDialogTrigger;
|
|
14
|
+
Portal: typeof AlertDialogPortal;
|
|
15
|
+
Overlay: typeof AlertDialogOverlay;
|
|
16
|
+
Content: typeof AlertDialogContent;
|
|
17
|
+
Title: typeof AlertDialogTitle;
|
|
18
|
+
Description: typeof AlertDialogDescription;
|
|
19
|
+
Footer: typeof AlertDialogFooter;
|
|
20
|
+
Action: typeof AlertDialogAction;
|
|
21
|
+
Cancel: typeof AlertDialogCancel;
|
|
22
|
+
};
|
|
23
|
+
export type { AlertDialogPrimitiveActionProps } from "./alert-dialog-action";
|
|
24
|
+
export type { AlertDialogPrimitiveCancelProps } from "./alert-dialog-cancel";
|
|
25
|
+
export type { AlertDialogPrimitiveContentProps } from "./alert-dialog-content";
|
|
26
|
+
export type { AlertDialogPrimitiveDescriptionProps } from "./alert-dialog-description";
|
|
27
|
+
export type { AlertDialogPrimitiveFooterProps } from "./alert-dialog-footer";
|
|
28
|
+
export type { AlertDialogPrimitiveOverlayProps } from "./alert-dialog-overlay";
|
|
29
|
+
export type { AlertDialogPrimitiveRootProps } from "./alert-dialog-root";
|
|
30
|
+
export type { AlertDialogPrimitiveTitleProps } from "./alert-dialog-title";
|
|
31
|
+
export type { AlertDialogPrimitiveTriggerProps } from "./alert-dialog-trigger";
|
|
32
|
+
export * from "./types";
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAWhC,CAAC;AAEF,YAAY,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAC7E,YAAY,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAC7E,YAAY,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,YAAY,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAC;AACvF,YAAY,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAC7E,YAAY,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,YAAY,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACzE,YAAY,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAC3E,YAAY,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
2
|
+
export interface AlertDialogStyles {
|
|
3
|
+
overlay?: StyleProp<ViewStyle>;
|
|
4
|
+
content?: StyleProp<ViewStyle>;
|
|
5
|
+
title?: StyleProp<TextStyle>;
|
|
6
|
+
description?: StyleProp<TextStyle>;
|
|
7
|
+
footer?: StyleProp<ViewStyle>;
|
|
8
|
+
action?: StyleProp<ViewStyle>;
|
|
9
|
+
actionText?: StyleProp<TextStyle>;
|
|
10
|
+
cancel?: StyleProp<ViewStyle>;
|
|
11
|
+
cancelText?: StyleProp<TextStyle>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/alert-dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACnC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACnC"}
|