@helpscout/ui-kit-react 0.1.12 → 0.1.14
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/lib/components/modal/modal.d.ts +20 -0
- package/dist/lib/components/modal/modal.d.ts.map +1 -0
- package/dist/lib/components/modal/modal.test.d.ts +1 -0
- package/dist/lib/components/modal/modal.test.d.ts.map +1 -0
- package/dist/lib/ui-kit-react.d.ts +1 -0
- package/dist/lib/ui-kit-react.d.ts.map +1 -1
- package/dist/prop-types.json +335 -0
- package/dist/ui-kit-react.css +1 -1
- package/dist/ui-kit-react.js +12302 -11999
- package/dist/ui-kit-react.umd.cjs +57 -57
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DialogProps as DialogPropsRAC, ModalOverlayProps, DialogTrigger as ModalTrigger } from "react-aria-components";
|
|
3
|
+
interface ModalProps extends Omit<ModalOverlayProps, "children"> {
|
|
4
|
+
/** The role of the dialog. */
|
|
5
|
+
role?: DialogPropsRAC["role"];
|
|
6
|
+
/** The children to render in the dialog. */
|
|
7
|
+
children: React.ReactNode | (({ close }: {
|
|
8
|
+
close: () => void;
|
|
9
|
+
}) => React.ReactNode);
|
|
10
|
+
}
|
|
11
|
+
interface ModalContentProps {
|
|
12
|
+
title?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
footer?: React.ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function Modal({ children, role, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function ModalContent({ title, description, footer, className, }: ModalContentProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export { Modal, ModalContent, ModalTrigger, type ModalProps };
|
|
20
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../lib/components/modal/modal.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,IAAI,cAAc,EAG7B,iBAAiB,EAEjB,aAAa,IAAI,YAAY,EAC9B,MAAM,uBAAuB,CAAC;AAM/B,UAAU,UAAW,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC;IAC9D,8BAA8B;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAE9B,4CAA4C;IAC5C,QAAQ,EACJ,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC7D;AAED,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAe,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAkBjE;AAED,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,GACV,EAAE,iBAAiB,2CAYnB;AAED,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=modal.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.test.d.ts","sourceRoot":"","sources":["../../../../lib/components/modal/modal.test.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -8,6 +8,7 @@ export { Label, LabelDescription, LabelGroup, type LabelProps, type LabelVariant
|
|
|
8
8
|
export { Link, type LinkProps, type LinkVariantProps, } from "./components/link/link";
|
|
9
9
|
export { List, ListItem, type ListProps, type ListVariantProps, } from "./components/list/list";
|
|
10
10
|
export { Menu, MenuItem, MenuTrigger, type MenuProps, } from "./components/menu/menu";
|
|
11
|
+
export { Modal, ModalContent, type ModalProps, ModalTrigger, } from "./components/modal/modal";
|
|
11
12
|
export { NumberField, type NumberFieldProps, } from "./components/number-field/number-field";
|
|
12
13
|
export { Select, SelectItem, type SelectProps, type ListBoxRenderProps, } from "./components/select/select";
|
|
13
14
|
export { Text, type TextProps, type TextVariantProps, } from "./components/text/text";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-kit-react.d.ts","sourceRoot":"","sources":["../../lib/ui-kit-react.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,UAAU,EACV,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,KAAK,SAAS,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,MAAM,EACN,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC,MAAM,gDAAgD,CAAC"}
|
|
1
|
+
{"version":3,"file":"ui-kit-react.d.ts","sourceRoot":"","sources":["../../lib/ui-kit-react.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,UAAU,EACV,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,KAAK,SAAS,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,EACL,YAAY,EACZ,KAAK,UAAU,EACf,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,MAAM,EACN,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC,MAAM,gDAAgD,CAAC"}
|
package/dist/prop-types.json
CHANGED
|
@@ -2304,6 +2304,341 @@
|
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
2306
|
},
|
|
2307
|
+
"Modal": {
|
|
2308
|
+
"role": {
|
|
2309
|
+
"defaultValue": {
|
|
2310
|
+
"value": "dialog"
|
|
2311
|
+
},
|
|
2312
|
+
"description": "The role of the dialog.",
|
|
2313
|
+
"name": "role",
|
|
2314
|
+
"parent": {
|
|
2315
|
+
"fileName": "ui-kit-react/lib/components/modal/modal.tsx",
|
|
2316
|
+
"name": "ModalProps"
|
|
2317
|
+
},
|
|
2318
|
+
"declarations": [
|
|
2319
|
+
{
|
|
2320
|
+
"fileName": "ui-kit-react/lib/components/modal/modal.tsx",
|
|
2321
|
+
"name": "ModalProps"
|
|
2322
|
+
}
|
|
2323
|
+
],
|
|
2324
|
+
"required": false,
|
|
2325
|
+
"type": {
|
|
2326
|
+
"name": "\"dialog\" | \"alertdialog\""
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
"children": {
|
|
2330
|
+
"defaultValue": null,
|
|
2331
|
+
"description": "The children to render in the dialog.",
|
|
2332
|
+
"name": "children",
|
|
2333
|
+
"parent": {
|
|
2334
|
+
"fileName": "ui-kit-react/lib/components/modal/modal.tsx",
|
|
2335
|
+
"name": "ModalProps"
|
|
2336
|
+
},
|
|
2337
|
+
"declarations": [
|
|
2338
|
+
{
|
|
2339
|
+
"fileName": "ui-kit-react/lib/components/modal/modal.tsx",
|
|
2340
|
+
"name": "ModalProps"
|
|
2341
|
+
}
|
|
2342
|
+
],
|
|
2343
|
+
"required": true,
|
|
2344
|
+
"type": {
|
|
2345
|
+
"name": "({ close }: { close: () => void; }) => ReactNode"
|
|
2346
|
+
}
|
|
2347
|
+
},
|
|
2348
|
+
"shouldCloseOnInteractOutside": {
|
|
2349
|
+
"defaultValue": null,
|
|
2350
|
+
"description": "When user interacts with the argument element outside of the overlay ref,\nreturn true if onClose should be called. This gives you a chance to filter\nout interaction with elements that should not dismiss the overlay.\nBy default, onClose will always be called on interaction outside the overlay ref.",
|
|
2351
|
+
"name": "shouldCloseOnInteractOutside",
|
|
2352
|
+
"parent": {
|
|
2353
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2354
|
+
"name": "AriaOverlayProps"
|
|
2355
|
+
},
|
|
2356
|
+
"declarations": [
|
|
2357
|
+
{
|
|
2358
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2359
|
+
"name": "AriaOverlayProps"
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
"required": false,
|
|
2363
|
+
"type": {
|
|
2364
|
+
"name": "(element: Element) => boolean"
|
|
2365
|
+
}
|
|
2366
|
+
},
|
|
2367
|
+
"isEntering": {
|
|
2368
|
+
"defaultValue": null,
|
|
2369
|
+
"description": "Whether the modal is currently performing an entry animation.",
|
|
2370
|
+
"name": "isEntering",
|
|
2371
|
+
"parent": {
|
|
2372
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2373
|
+
"name": "ModalOverlayProps"
|
|
2374
|
+
},
|
|
2375
|
+
"declarations": [
|
|
2376
|
+
{
|
|
2377
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2378
|
+
"name": "ModalOverlayProps"
|
|
2379
|
+
}
|
|
2380
|
+
],
|
|
2381
|
+
"required": false,
|
|
2382
|
+
"type": {
|
|
2383
|
+
"name": "boolean"
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
"isExiting": {
|
|
2387
|
+
"defaultValue": null,
|
|
2388
|
+
"description": "Whether the modal is currently performing an exit animation.",
|
|
2389
|
+
"name": "isExiting",
|
|
2390
|
+
"parent": {
|
|
2391
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2392
|
+
"name": "ModalOverlayProps"
|
|
2393
|
+
},
|
|
2394
|
+
"declarations": [
|
|
2395
|
+
{
|
|
2396
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2397
|
+
"name": "ModalOverlayProps"
|
|
2398
|
+
}
|
|
2399
|
+
],
|
|
2400
|
+
"required": false,
|
|
2401
|
+
"type": {
|
|
2402
|
+
"name": "boolean"
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
"UNSTABLE_portalContainer": {
|
|
2406
|
+
"defaultValue": {
|
|
2407
|
+
"value": "document.body"
|
|
2408
|
+
},
|
|
2409
|
+
"description": "The container element in which the overlay portal will be placed. This may have unknown behavior depending on where it is portalled to.",
|
|
2410
|
+
"name": "UNSTABLE_portalContainer",
|
|
2411
|
+
"parent": {
|
|
2412
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2413
|
+
"name": "ModalOverlayProps"
|
|
2414
|
+
},
|
|
2415
|
+
"declarations": [
|
|
2416
|
+
{
|
|
2417
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2418
|
+
"name": "ModalOverlayProps"
|
|
2419
|
+
}
|
|
2420
|
+
],
|
|
2421
|
+
"required": false,
|
|
2422
|
+
"type": {
|
|
2423
|
+
"name": "Element"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
"isDismissable": {
|
|
2427
|
+
"defaultValue": {
|
|
2428
|
+
"value": "false"
|
|
2429
|
+
},
|
|
2430
|
+
"description": "Whether to close the modal when the user interacts outside it.",
|
|
2431
|
+
"name": "isDismissable",
|
|
2432
|
+
"parent": {
|
|
2433
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2434
|
+
"name": "AriaModalOverlayProps"
|
|
2435
|
+
},
|
|
2436
|
+
"declarations": [
|
|
2437
|
+
{
|
|
2438
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2439
|
+
"name": "AriaModalOverlayProps"
|
|
2440
|
+
}
|
|
2441
|
+
],
|
|
2442
|
+
"required": false,
|
|
2443
|
+
"type": {
|
|
2444
|
+
"name": "boolean"
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
"isKeyboardDismissDisabled": {
|
|
2448
|
+
"defaultValue": {
|
|
2449
|
+
"value": "false"
|
|
2450
|
+
},
|
|
2451
|
+
"description": "Whether pressing the escape key to close the modal should be disabled.",
|
|
2452
|
+
"name": "isKeyboardDismissDisabled",
|
|
2453
|
+
"parent": {
|
|
2454
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2455
|
+
"name": "AriaModalOverlayProps"
|
|
2456
|
+
},
|
|
2457
|
+
"declarations": [
|
|
2458
|
+
{
|
|
2459
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-aria+overlays@3.22.1_react-dom@18.2.0_react@18.2.0/node_modules/@react-aria/overlays/dist/types.d.ts",
|
|
2460
|
+
"name": "AriaModalOverlayProps"
|
|
2461
|
+
}
|
|
2462
|
+
],
|
|
2463
|
+
"required": false,
|
|
2464
|
+
"type": {
|
|
2465
|
+
"name": "boolean"
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
"isOpen": {
|
|
2469
|
+
"defaultValue": null,
|
|
2470
|
+
"description": "Whether the overlay is open by default (controlled).",
|
|
2471
|
+
"name": "isOpen",
|
|
2472
|
+
"parent": {
|
|
2473
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2474
|
+
"name": "OverlayTriggerProps"
|
|
2475
|
+
},
|
|
2476
|
+
"declarations": [
|
|
2477
|
+
{
|
|
2478
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2479
|
+
"name": "OverlayTriggerProps"
|
|
2480
|
+
}
|
|
2481
|
+
],
|
|
2482
|
+
"required": false,
|
|
2483
|
+
"type": {
|
|
2484
|
+
"name": "boolean"
|
|
2485
|
+
}
|
|
2486
|
+
},
|
|
2487
|
+
"defaultOpen": {
|
|
2488
|
+
"defaultValue": null,
|
|
2489
|
+
"description": "Whether the overlay is open by default (uncontrolled).",
|
|
2490
|
+
"name": "defaultOpen",
|
|
2491
|
+
"parent": {
|
|
2492
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2493
|
+
"name": "OverlayTriggerProps"
|
|
2494
|
+
},
|
|
2495
|
+
"declarations": [
|
|
2496
|
+
{
|
|
2497
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2498
|
+
"name": "OverlayTriggerProps"
|
|
2499
|
+
}
|
|
2500
|
+
],
|
|
2501
|
+
"required": false,
|
|
2502
|
+
"type": {
|
|
2503
|
+
"name": "boolean"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"onOpenChange": {
|
|
2507
|
+
"defaultValue": null,
|
|
2508
|
+
"description": "Handler that is called when the overlay's open state changes.",
|
|
2509
|
+
"name": "onOpenChange",
|
|
2510
|
+
"parent": {
|
|
2511
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2512
|
+
"name": "OverlayTriggerProps"
|
|
2513
|
+
},
|
|
2514
|
+
"declarations": [
|
|
2515
|
+
{
|
|
2516
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2517
|
+
"name": "OverlayTriggerProps"
|
|
2518
|
+
}
|
|
2519
|
+
],
|
|
2520
|
+
"required": false,
|
|
2521
|
+
"type": {
|
|
2522
|
+
"name": "(isOpen: boolean) => void"
|
|
2523
|
+
}
|
|
2524
|
+
},
|
|
2525
|
+
"className": {
|
|
2526
|
+
"defaultValue": null,
|
|
2527
|
+
"description": "The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.",
|
|
2528
|
+
"name": "className",
|
|
2529
|
+
"parent": {
|
|
2530
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2531
|
+
"name": "StyleRenderProps"
|
|
2532
|
+
},
|
|
2533
|
+
"declarations": [
|
|
2534
|
+
{
|
|
2535
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2536
|
+
"name": "StyleRenderProps"
|
|
2537
|
+
}
|
|
2538
|
+
],
|
|
2539
|
+
"required": false,
|
|
2540
|
+
"type": {
|
|
2541
|
+
"name": "(values: ModalRenderProps & { defaultClassName: string; }) => string"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
"style": {
|
|
2545
|
+
"defaultValue": null,
|
|
2546
|
+
"description": "The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.",
|
|
2547
|
+
"name": "style",
|
|
2548
|
+
"parent": {
|
|
2549
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2550
|
+
"name": "StyleRenderProps"
|
|
2551
|
+
},
|
|
2552
|
+
"declarations": [
|
|
2553
|
+
{
|
|
2554
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2555
|
+
"name": "StyleRenderProps"
|
|
2556
|
+
}
|
|
2557
|
+
],
|
|
2558
|
+
"required": false,
|
|
2559
|
+
"type": {
|
|
2560
|
+
"name": "(values: ModalRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
"slot": {
|
|
2564
|
+
"defaultValue": null,
|
|
2565
|
+
"description": "A slot name for the component. Slots allow the component to receive props from a parent component.\nAn explicit `null` value indicates that the local props completely override all props received from a parent.",
|
|
2566
|
+
"name": "slot",
|
|
2567
|
+
"parent": {
|
|
2568
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2569
|
+
"name": "SlotProps"
|
|
2570
|
+
},
|
|
2571
|
+
"declarations": [
|
|
2572
|
+
{
|
|
2573
|
+
"fileName": "apps-platform/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.2.0_react@18.2.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
2574
|
+
"name": "SlotProps"
|
|
2575
|
+
}
|
|
2576
|
+
],
|
|
2577
|
+
"required": false,
|
|
2578
|
+
"type": {
|
|
2579
|
+
"name": "string | null"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"DialogTrigger": {
|
|
2584
|
+
"isOpen": {
|
|
2585
|
+
"defaultValue": null,
|
|
2586
|
+
"description": "Whether the overlay is open by default (controlled).",
|
|
2587
|
+
"name": "isOpen",
|
|
2588
|
+
"parent": {
|
|
2589
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2590
|
+
"name": "OverlayTriggerProps"
|
|
2591
|
+
},
|
|
2592
|
+
"declarations": [
|
|
2593
|
+
{
|
|
2594
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2595
|
+
"name": "OverlayTriggerProps"
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"required": false,
|
|
2599
|
+
"type": {
|
|
2600
|
+
"name": "boolean"
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
"defaultOpen": {
|
|
2604
|
+
"defaultValue": null,
|
|
2605
|
+
"description": "Whether the overlay is open by default (uncontrolled).",
|
|
2606
|
+
"name": "defaultOpen",
|
|
2607
|
+
"parent": {
|
|
2608
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2609
|
+
"name": "OverlayTriggerProps"
|
|
2610
|
+
},
|
|
2611
|
+
"declarations": [
|
|
2612
|
+
{
|
|
2613
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2614
|
+
"name": "OverlayTriggerProps"
|
|
2615
|
+
}
|
|
2616
|
+
],
|
|
2617
|
+
"required": false,
|
|
2618
|
+
"type": {
|
|
2619
|
+
"name": "boolean"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"onOpenChange": {
|
|
2623
|
+
"defaultValue": null,
|
|
2624
|
+
"description": "Handler that is called when the overlay's open state changes.",
|
|
2625
|
+
"name": "onOpenChange",
|
|
2626
|
+
"parent": {
|
|
2627
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2628
|
+
"name": "OverlayTriggerProps"
|
|
2629
|
+
},
|
|
2630
|
+
"declarations": [
|
|
2631
|
+
{
|
|
2632
|
+
"fileName": "apps-platform/node_modules/.pnpm/@react-types+overlays@3.8.7_react@18.2.0/node_modules/@react-types/overlays/src/index.d.ts",
|
|
2633
|
+
"name": "OverlayTriggerProps"
|
|
2634
|
+
}
|
|
2635
|
+
],
|
|
2636
|
+
"required": false,
|
|
2637
|
+
"type": {
|
|
2638
|
+
"name": "(isOpen: boolean) => void"
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2307
2642
|
"NumberField": {
|
|
2308
2643
|
"decrementAriaLabel": {
|
|
2309
2644
|
"defaultValue": null,
|